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]="a2fe0a22-dcd7-b25c-f5f5-16877fd0ee52")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,458776,e=>{"use strict";var t=e.i(843476),r=e.i(618566),n=e.i(223721),i=e.i(271645),o=e.i(488661),a=e.i(3303),s=e.i(46121),u=e.i(846696);e.i(623854);var l=e.i(128769),c=e.i(927867),d=e.i(974854),f=e.i(597515),h=e.i(340388),p=e.i(861745),v=e.i(272481),g=e.i(804424);function m(){var e=(0,r.useSearchParams)(),t=(0,s.default)().isLoggedIn,n=(0,g.useScopedTranslation)("auth").t,o=null==e?void 0:e.get("redirect");return(0,i.useEffect)(function(){if(t){var e=window.location.search?new URLSearchParams(window.location.search).get("redirect"):null,r=o||e,i=r?decodeURIComponent(r):"/";(0,u.toast)(n("toast.welcome_back.title"),{description:n("toast.welcome_back.description")}),window.location.href=i}},[o,t,n]),null}let _=function(e){var r=e.children,n=(0,s.default)(),u=(n.isLoggedIn,n.didCheckAuthStatus),g=(0,p.useLocale)(),_=(0,p.useMessages)(),y=(0,i.useMemo)(function(){return(0,v.pickNamespacesFromMessages)(_,["auth","common"])},[_]);return(0,t.jsxs)(h.NextIntlClientProvider,{locale:g,messages:y,children:[(0,t.jsx)(a.default,{src:"//connect.facebook.net/en_US/sdk.js"}),(0,t.jsx)(a.default,{src:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js"}),(0,t.jsx)(m,{}),(0,t.jsxs)("div",{className:"text-foreground relative min-h-screen flex-col items-center justify-center sm:flex sm:py-8",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none fixed inset-0 z-0 overflow-hidden bg-slate-200 dark:bg-slate-950",children:(0,t.jsx)(d.default,{})}),(0,t.jsxs)(f.default,{className:"relative z-10 container mx-auto max-w-lg sm:rounded-lg",innerClassName:"sm:rounded-[calc(var(--radius-lg)-1px)]",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(o.default,{className:"py-8",height:40})}),(0,t.jsx)("div",{className:(0,l.cn)(!u&&"pointer-events-none"),"aria-busy":!u||void 0,children:r})]}),(0,t.jsx)("div",{className:"relative z-10 flex w-full justify-center py-4",children:(0,t.jsx)(c.default,{position:"top"})})]})]})};var y=e.i(500075),b=e.i(387644),w=e.i(770703),S=e.i(120786),T=e.i(92808),k=e.i(233027),P=e.i(363178),x={type:"application/json"};function R(e){var r=e.children,n=e.scriptProps,i=(0,k._)(e,["children","scriptProps"]);return(0,t.jsx)(P.ThemeProvider,(0,T._)((0,S._)({},i),{scriptProps:(0,S._)({},n,x),children:r}))}var E=e.i(589792),A=e.i(651682),j=e.i(902500),M=e.i(109773),I=0;function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;I=e}function L(){(0,M.t)(19),j.t.abortAll(),j.n.abort().forEach(function(e){return j.t.queuedQuerySync.emit(e)})}var O="__nuqs__";function C(){D(0),L()}function z(){var e=(0,r.usePathname)(),t=(0,i.useRef)(e);return t.current!==e&&(t.current=e,j.n.reset()),(0,i.useEffect)(function(){return!function(){if(e="next/app",!("u"<typeof history)&&((null==(t=history.nuqs)?void 0:t.version)&&"2.9.0"!==history.nuqs.version?(console.error((0,E.s)(409),history.nuqs.version,"2.9.0",e),!1):null==(n=history.nuqs)||null==(r=n.adapters)||!r.includes(e))){var e,t,r,n,i,o=history.replaceState,a=history.pushState;history.replaceState=function(e,t,r){return o.call(history,e,t===O?"":t,r)},history.pushState=function(e,t,r){return t!==O&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;(I=Math.max(0,I-1))>0||e()}(function(){queueMicrotask(L)}),a.call(history,e,t===O?"":t,r)},history.nuqs=null!=(i=history.nuqs)?i:{version:"2.9.0",adapters:[]},history.nuqs.adapters.push("next/app")}}(),window.addEventListener("popstate",C),function(){return window.removeEventListener("popstate",C)}},[]),null}var N=(0,E.n)(function(){var e,t=(0,r.useRouter)(),n=(0,r.usePathname)(),o=(0,A._)((0,i.useOptimistic)(null!=(e=(0,r.useSearchParams)())?e:new URLSearchParams),2),a=o[0],s=o[1];return{searchParams:a,pathname:n,updateUrl:(0,i.useCallback)(function(e,r){(0,i.startTransition)(function(){r.shallow||s(e);var n,i,o,a,u=(n=e,i=location.origin,o=location.pathname,a=location.hash,i+o+(0,E.o)(n)+a);(0,M.t)(20,"next/app",u);var l="push"===r.history?history.pushState:history.replaceState;D(0),l.call(history,null,O,u),r.scroll&&window.scrollTo(0,0),r.shallow||t.replace(u,{scroll:!1})})},[]),rateLimitFactor:3,autoResetQueueOnUpdate:!1}});function q(e){var t=e.children,r=(0,k._)(e,["children"]);return(0,i.createElement)(N,(0,T._)((0,S._)({},r),{children:[(0,i.createElement)(i.Suspense,{key:"nuqs-adapter-suspense-navspy",children:(0,i.createElement)(z)}),t]}))}var F=e.i(35249),U=e.i(361308),W=e.i(682336),G=e.i(516424),B=e.i(991686),H=e.i(654040),Z=e.i(437902),Q=e.i(134439);Q.AVAILABLE_SCOPE_VARIABLES;let $=function(){var e=(0,i.useContext)(W.ScopeContext);if(!e)return null;
2var r=(0,Q.getScopeStyleSheet)(e.theme,e.customCss,e.key);return r.trim()?(0,t.jsx)(Z.default,{id:r.__hash,children:r}):null};var J=e.i(35546),Y=e.i(782615),V=e.i(958825),K=e.i(890533),X=e.i(250804),ee=e.i(501061),et=e.i(26729),er=e.i(117595),en=function(){var e=er.default.get("cookieConsent");if(!e)return!1;if("all"===e)return!0;try{return!!JSON.parse(e).analytics}catch(e){return!1}},ei=function(){var e=en();X.getClient()||(e?(ee.init({dsn:"https://[email protected]/6552657",tracesSampleRate:.1,debug:!1,enabled:!0,replaysOnErrorSampleRate:1,replaysSessionSampleRate:.1,beforeSend:function(e){if(e.exception){if((null==(t=e.exception.values)?void 0:t[0].type)==="NotSupportedError")return null;var t,r,n=(null==(r=e.exception.values)?void 0:r[0].value)||"";if([/Minified React error #(419|421)/,/This Suspense boundary/,/wp-login\.php/,/AbortError/,/NotSupportedError/].some(function(e){return e.test(n)}))return null}return e},integrations:[et.replayIntegration({maskAllText:!0,blockAllMedia:!0,block:["iframe"]})]}),console.log("Sentry client initialized with consent.")):console.log("Sentry client NOT initialized due to lack of consent."))},eo=e.i(991865),ea=e.i(513935),es=(0,w.default)(function(){return e.A(161779)},{loadableGenerated:{modules:[876897]},ssr:!1}),eu=["/features","/blog"];function el(o){var a,u,l,c=o.children,d=(0,r.usePathname)()||"",f=(0,s.default)().isLoggedIn,h=(u=(a=(0,A._)((0,i.useState)(!1),2))[0],l=a[1],(0,i.useEffect)(function(){var t,r=!1;return(0,eo._)(function(){var n,i,o,a,s,u,c;return(0,ea._)(this,function(d){switch(d.label){case 0:return[4,Promise.all([e.A(128515),e.A(225919),e.A(256491)])];case 1:if(i=(n=A._.apply(void 0,[d.sent(),3]))[0],o=n[1],a=n[2],r)return[2];return s=i.getApps().length?i.getApp():i.initializeApp(a.default),o.forceWebSockets(),u=o.getDatabase(s),c=o.ref(u,"Entry/status"),o.onValue(c,function(e){r||l("maintenance"===e.val())},function(e){console.error("Entry/status",e)}),t=function(){return o.off(c)},[2]}})})(),function(){r=!0,null==t||t()}},[]),u),p=function(e){var t,r=e.split("/").filter(Boolean),n=r.indexOf("scoped");if(n>=0&&r.length>n+1){var i=r.slice(n+2);return 0===i.length?"/":"/".concat(i.join("/"))}if(r.length>0&&(0,B.isLocale)(null!=(t=r[0])?t:"")){var o=r.slice(1).join("/");return o?"/".concat(o):"/"}return e||"/"}(d),v="/"===p,g=eu.some(function(e){return p===e||p.startsWith("".concat(e,"/"))});return!h||g||/\/scoped\/[^/]+\/p\//.test(d)||v&&!f?c:(0,t.jsx)(n.default,{children:(0,t.jsx)(es,{})})}var ec=e.i(438847),ed=(0,w.default)(function(){return e.A(511960).then(function(e){return e.AdminToolInModal})},{loadableGenerated:{modules:[944814]},ssr:!1});let ef=function(){var e=(0,s.default)().isSporfieAdmin,r=(0,A._)((0,ec.useQueryStates)({modal:ec.parseAsString,key:ec.parseAsString,payment:ec.parseAsString,id:ec.parseAsString,tool:ec.parseAsString,userToImpersonateEmail:ec.parseAsString,userToImpersonateUserId:ec.parseAsString},{history:"replace",shallow:!0,scroll:!1}),2),n=r[0],i=r[1],o="admin-tool"===n.modal&&!!n.tool;return e&&o?(0,t.jsx)(ed,{isOpen:o,onClose:function(){i({modal:null,key:null,payment:null,id:null,tool:null,userToImpersonateEmail:null,userToImpersonateUserId:null})},toolKey:n.tool||void 0}):null};var eh=e.i(318768),ep=e.i(94202);function ev(){return(0,ep.initCuelume)(),null}var eg=(0,w.default)(function(){return e.A(608841)},{loadableGenerated:{modules:[5396]},ssr:!1}),em=(0,w.default)(function(){return e.A(753520)},{loadableGenerated:{modules:[139097]},ssr:!1});function e_(e){var n=e.effectiveKey,o=e.children,a=(0,r.usePathname)(),l=(0,G.useInIframe)(),c=(0,s.default)().isSporfieAdmin,d=(0,K.default)(),f=d.consent,h=d.hasConsent;(0,i.useEffect)(function(){ei()},[f,h]),(0,i.useEffect)(function(){(0,b.sendGTMEvent)({event:"page_view",pagePath:a})},[a]);var p="all"===f||(void 0===f?"undefined":(0,y._)(f))==="object"&&null!==f&&f.anal
2ytics;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ev,{}),(0,t.jsxs)("div",{className:"scope--".concat(n),children:[(0,t.jsx)($,{}),!l&&(0,t.jsx)(J.default,{}),!l&&(0,t.jsx)(ef,{}),c&&!l&&(0,t.jsx)(eh.default,{children:(0,t.jsx)(em,{})}),(0,t.jsx)(u.Toaster,{position:"top-right",richColors:!0,className:"pointer-events-auto"}),!l&&(0,t.jsx)(V.default,{}),(0,t.jsx)(eh.default,{children:(0,t.jsx)(eg,{})}),(0,t.jsx)(el,{children:o})]}),p&&(0,t.jsx)(b.GoogleTagManager,{gtmId:"GTM-TGQCVJC"}),null]})}function ey(e){var r=e.baseScope,n=e.defaultTheme,o=e.forcedTheme,a=e.children,s=(0,i.useContext)(W.ScopeContext),u=(null==s?void 0:s.key)||(null==r?void 0:r.key)||"default",l=null!=s?s:r,c=o||(0,Y.getForcedScopeTheme)(l),d=(0,Y.getDefaultScopeTheme)(l);return(0,t.jsx)(R,{attribute:"class",defaultTheme:d||n,forcedTheme:c,children:(0,t.jsx)(H.default,{children:(0,t.jsx)(F.AuthContextProvider,{children:(0,t.jsx)(q,{children:(0,t.jsx)(U.AnalyticsContextProvider,{children:(0,t.jsx)(e_,{effectiveKey:u,children:a})})})})})})}function eb(e){var r=e.locale,n=e.messages,i=e.baseScope,o=e.defaultTheme,a=e.forcedTheme,s=e.children;return(0,t.jsx)(h.NextIntlClientProvider,{locale:r,messages:n,timeZone:B.DEFAULT_TIME_ZONE,onError:function(e){"MISSING_MESSAGE"!==e.code&&console.error(e)},getMessageFallback:function(e){return e.key},children:(0,t.jsx)(W.ScopeWithContextOverride,{baseScope:i,children:(0,t.jsx)(ey,{baseScope:i,defaultTheme:o,forcedTheme:a,children:s})})})}e.i(688176);var ew=e.i(387345),ew=ew,eS=e.i(409094),eT=new Set(["admin","auth","authorize","beta","blog","company","design","dev","developers","error","global-error-test","event","events","fundraising","guest","legal","league","page","place","production","settings","vsn"]);e.s(["default",0,function(e){var i=e.locale,o=e.messages,a=e.baseScope,s=e.defaultTheme,u=e.children,l=(0,r.usePathname)(),c=(l||"").split("/").filter(Boolean),d=(0,B.isLocale)(c[0]||"")?c.slice(1):c,f="scoped"===d[0]&&d.length>1?d.slice(2):d,h=f[0]||"",p="auth"===h,v="authorize"===h,g="settings"===h,m=0===d.length,y="scoped"===d[0]&&"default"===d[1]&&2===d.length||m&&"default"===a.key,b="fundraising"===h,w="league"===h,S="guest"===h,T="admin"===h,k="marketing"===h,P="developers"===h,x="fryptv"===a.key&&0===f.length,R=0===f.length&&"default"!==a.key&&"wacinternational"!==a.key,E="blog"===h&&"new-player"===f[1]&&"default"===a.key,A=x||E,j=R||E,M="company"===h||h.length>0&&!eT.has(h),I=/(^|\/)place\/[^/]+\/(live|var)(\/|$)/.test(l||"")||/(^|\/)(scoped\/[^/]+\/)?company\/[^/]+\/self-serve\/[^/]+(\/|$)/.test(l||"")||/(^|\/)(scoped\/[^/]+\/)?tv\/[^/]+(\/|$)/.test(l||"")||/(^|\/)production\/[^/]+\/[^/]+(\/|$)/.test(l||"")||/(^|\/)(v[23]\/)?embed\/[^/]+(\/|$)/.test(l||"")||/(^|\/)event\/[^/]+\/((review|debug|embed)|v[23]\/embed)(\/|$)/.test(l||"");return(0,t.jsx)(eb,{locale:i,messages:o,baseScope:a,defaultTheme:s,children:(0,t.jsxs)(eS.MiniPlayerProvider,{children:[p?(0,t.jsx)(_,{children:u}):y||g||b||w||S||T||k||P||I?u:(0,t.jsx)(n.default,{hideNav:v,forceDarkMode:A,overlayHero:j,hideTopFade:M,children:u}),(0,t.jsx)(ew.default,{})]})})}],458776)},241618,(e,t,r)=>{var n=e.r(507655),i=e.r(995075),o=e.r(127873),a=e.r(887502),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",a=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return i._(this,t),e=n._(this,t,[r]),o._(e,"url",void 0),o._(e,"response",void 0),e.url=a,e.response=s,e}return a._(t,e),t}(e.r(302623)._(Error)),u=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(s),l=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(s),c=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(l),d=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(s),f=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(s),h=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(u),p=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(u),v=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(u);r.ForbiddenError=u,r.InvalidDataError=f,r.NotFoundError=l,r.ParsingError=d,r.PreviewTokenExpiredError=v,r.PrismicError=s,r.RefExpiredError=h,r.RefNotFoundError=p,r.RepositoryNotFoundError=c},809362,(e,t,r)=>{r.isRepositoryName=function(e){return/^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(e)}},217593,(e,t,r)=>{var n=e.r(241618),i=e.r(809362);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)}},759794,(e,t,r)=>{var n=e.r(241618);r.getRepositoryName=function(e){try{var t=new URL(e).hostname;if(t.endsWith("prismic.io")||t.endsWith("wroom.io")||t.endsWith("dev-tools-wroom.com")||t.endsWith("marketing-tools-wroom.com")||t.endsWith("platform-wroom.com")||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)}},289883,(e,t,r)=>{r.LinkType={Any:"Any",Document:"Document",Media:"Media",Web:"Web"}},778402,(e,t,r)=>{var n=e.r(344086),i=e.r(289883);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}:{})}},136131,(e,t,r)=>{var n=e.r(344086),i=e.r(891470),o=e.r(289883),a=e.r(778402);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 l="link_type"in e?e:a.documentToLinkField(e),c=i._(s,1)[0];switch(t="function"==typeof c||null==c?{linkResolver:c}:n._({},c),l.link_type){case o.LinkType.Media:case o.LinkType.Web:return"url"in l?l.url:null;case o.LinkType.Document:if("id"in l&&t.linkResolver){var d=t.linkResolver(l);if(null!=d)return d}if("url"in l&&l.url)return l.url;return null;case o.LinkType.Any:default:return null}}},808897,(e,t,r)=>{r.isRepositoryEndpoint=function(e){try{return new URL(e),!0}catch(e){return!1}}},266286,(e,t,r)=>{var n=Object.defineProperty;r.__exportAll=function(e,t){var r={};for(var i in e)n(r,i,{get:e[i],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:"Module"}),r}},593855,(e,t,r)=>{var n=e.r(266286).__exportAll({preview:function(){return i}}),i="io.prismic.preview";Object.defineProperty(r,"cookie_exports",{enumerable:!0,get:function(){return n}}),r.preview=i},525994,(e,t,r)=>{"use strict";r._=function(e,t){return t.get?t.get.call(e):t.value}},454780,(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)}},558424,(e,t,r)=>{"use strict";var n=e.r(525994),i=e.r(454780);r._=function(e,t){var r=i._(e,t,"get");return n._(e,r)}},580329,(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")}},466173,(e,t,r)=>{"use strict";var n=e.r(580329);r._=function(e,t,r){n._(e,t),t.set(e,r)}},930747,(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}}},574646,(e,t,r)=>{"use strict";var n=e.r(930747),i=e.r(454780);r._=function(e,t,r){var o=i._(e,t,"set");return n._(e,o,r),r}},393510,(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}},163340,(e,t,r)=>{"use strict";var n=e.r(580329);r._=function(e,t){n._(e,t),t.add(e)}},581583,(e,t,r)=>{var n,i=e.r(115240),o=e.r(621991),a=function(e){return Array.isArray(e)?"[".concat(e.map(a).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 o=n.map(a).join(", ");return"[".concat(e,"(").concat(t).concat(t&&n.length?", ":"").concat(o,")]")}},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(o._(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")}},228074,(e,t,r)=>{var n=e.r(175342),i=e.r(699748);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}},827347,(e,t,r)=>{var n=e.r(344086),i=e.r(204571),o=e.r(95692),a=e.r(621991),s=e.r(175342),u=e.r(699748),l=[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,c=void 0===r?l:r,d=o._(t,["widths"]),f=e.url,h=e.dimensions,p=Object.values((e.id,e.alt,e.copyright,e.edit,o._(e,["url","dimensions","id","alt","copyright","edit"])));return"thumbnails"===c&&p.length<1&&(c=l),{src:(0,u.buildURL)(f,d),srcset:"thumbnails"===c?[(0,u.buildWidthSrcSet)(f,i._(n._({},d),{widths:[h.width]}))].concat(a._(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:c}))}}},150532,(e,t,r)=>{var n=e.r(344086),i=e.r(204571),o=e.r(95692),a=e.r(175342),s=e.r(699748),u=[1,2,3];r.asImagePixelDensitySrcSet=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e&&a.imageThumbnail(e)))return null;var r=t.pixelDensities,l=o._(t,["pixelDensities"]);return{src:(0,s.buildURL)(e.url,l),srcset:(0,s.buildPixelDensitySrcSet)(e.url,i._(n._({},l),{pixelDensities:void 0===r?u:r}))}}},870127,(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:"Slice
2s",StructuredText:"StructuredText",Table:"Table",Text:"Text",Timestamp:"Timestamp",UID:"UID",IntegrationFields:"IntegrationFields",Range:"Range",Separator:"Separator",LegacySlices:"Choice"}},260097,(e,t,r)=>{r.CustomTypeModelLinkSelectType={Document:"document",Media:"media",Web:"web"}},325748,(e,t,r)=>{r.CustomTypeModelSliceType={Slice:"Slice",SharedSlice:"SharedSlice"}},83807,(e,t,r)=>{r.CustomTypeModelSliceDisplay={List:"list",Grid:"grid"}},854263,(e,t,r)=>{r.WebhookType={APIUpdate:"api-update",TestTrigger:"test-trigger"}},374454,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(581583),i=e.r(792471),o=e.r(440107),a=e.r(319422),s=e.r(241618),u=e.r(809362),l=e.r(217593),c=e.r(759794),d=e.r(289883),f=e.r(778402),h=e.r(136131),p=e.r(808897),v=e.r(593855),g=e.r(88007),m=e.r(276570),_=e.r(175342),y=e.r(164574),b=e.r(466069),w=e.r(759484),S=e.r(886578),T=e.r(49663),k=e.r(733732),P=e.r(18523),x=e.r(682288),R=e.r(384104),E=e.r(266404),A=e.r(96209),j=e.r(996958),M=e.r(228074),I=e.r(827347),D=e.r(150532),L=e.r(870127),O=e.r(64357),C=e.r(260097),z=e.r(325748),N=e.r(83807),q=e.r(854263),F=n.filter,U=i.mapSliceZone,W=o.RichTextNodeType;r.Client=g.Client,r.CustomTypeModelFieldType=O.CustomTypeModelFieldType,r.CustomTypeModelLinkSelectType=C.CustomTypeModelLinkSelectType,r.CustomTypeModelSliceDisplay=N.CustomTypeModelSliceDisplay,r.CustomTypeModelSliceType=z.CustomTypeModelSliceType,r.Element=W,r.ForbiddenError=s.ForbiddenError,r.InvalidDataError=s.InvalidDataError,r.LinkType=d.LinkType,r.Migration=T.Migration,r.NotFoundError=s.NotFoundError,r.OEmbedType=L.OEmbedType,r.ParsingError=s.ParsingError,r.PreviewTokenExpiredError=s.PreviewTokenExpiredError,r.PrismicError=s.PrismicError,r.PrismicMigrationAsset=y.PrismicMigrationAsset,r.PrismicMigrationDocument=b.PrismicMigrationDocument,r.RefExpiredError=s.RefExpiredError,r.RefNotFoundError=s.RefNotFoundError,r.RepositoryNotFoundError=s.RepositoryNotFoundError,r.RichTextNodeType=o.RichTextNodeType,r.WebhookType=q.WebhookType,r.WriteClient=w.WriteClient,r.asDate=R.asDate,r.asHTML=j.asHTML,r.asImagePixelDensitySrcSet=D.asImagePixelDensitySrcSet,r.asImageSrc=M.asImageSrc,r.asImageWidthSrcSet=I.asImageWidthSrcSet,r.asLink=h.asLink,r.asLinkAttrs=E.asLinkAttrs,r.asText=A.asText,r.buildQueryURL=a.buildQueryURL,Object.defineProperty(r,"cookie",{enumerable:!0,get:function(){return v.cookie_exports}}),r.createClient=m.createClient,r.createMigration=k.createMigration,r.createWriteClient=S.createWriteClient,r.documentToLinkField=f.documentToLinkField,r.filter=n.filter,r.getGraphQLEndpoint=P.getGraphQLEndpoint,r.getRepositoryEndpoint=l.getRepositoryEndpoint,r.getRepositoryName=c.getRepositoryName,r.getToolbarSrc=x.getToolbarSrc,Object.defineProperty(r,"isFilled",{enumerable:!0,get:function(){return _.isFilled_exports}}),r.isRepositoryEndpoint=p.isRepositoryEndpoint,r.isRepositoryName=u.isRepositoryName,r.mapSliceZone=i.mapSliceZone,r.predicate=F,r.unstable_mapSliceZone=U},792471,(e,t,r)=>{var n=e.r(986172),i=e.r(344086),o=e.r(368996),a=e.r(221280);r.mapSliceZone=function(e,t,r){return Promise.all(e.map(function(e,s,u){return n._(function(){var n,l,c,d,f;return a._(this,function(a){switch(a.label){case 0:if(!(c=t[l=(n="slice_type"in e)?e.slice_type:e.type]))return[2,e];return[4,c(d={slice:e,slices:u,index:s,context:r})];case 1:if(f=a.sent(),!(c.length<1&&("function"==typeof f||(void 0===f?"undefined":o._(f))==="object"&&"default"in f)))return[3,3];return[4,(f="default"in f?f.default:f)(d)];case 2:f=a.sent(),a.label=3;case 3:if(n)return[2,i._({__mapped:!0,id:e.id,slice_type:l},f)];return[2,i._({__mapped:!0,type:l},f)]}})})()}))}},440107,(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"}},515252,(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}},504312,(e,t,r)=>{var n=e.r(368996),i=e.r(440107),o=e.r(289883),a=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===o.LinkType.Document&&"id"in e&&"type"in e&&"tags"in e&&"lang"in e||!1},r.filledImage=function(e){return!!a(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===o.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!!a(e)&&"type"in e&&e.type===i.RichTextNodeType.image}},814365,(e,t,r)=>{var n=e.r(115240),i=e.r(368996),o=e.r(440107),a=e.r(289883),s=e.r(164574),u=e.r(466069),l=e.r(504312),c=function(e){return n._(e,u.PrismicMigrationDocument)||l.prismicDocument(e)||(void 0===e?"undefined":i._(e))==="object"&&null!==e&&"link_type"in e&&e.link_type===a.LinkType.Document&&"id"in e&&(c(e.id)||"function"==typeof e.id)};r.contentRelationship=c,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===a.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===o.RichTextNodeType.image}},884268,(e,t,r)=>{var n=e.r(986172),i=e.r(115240),o=e.r(344086),a=e.r(204571),s=e.r(95692),u=e.r(891470),l=e.r(368996),c=e.r(221280),d=e.r(440107),f=e.r(289883),h=e.r(175342),p=e.r(164574),v=e.r(466069),g=e.r(515252),m=e.r(814365);function _(e){return n._(function(){var t,r;return c._(this,function(n){switch(n.label){case 0:if("function"!=typeof e)return[3,2];return[4,e()];case 1:return[2,_.apply(void 0,[n.sent()])];case 2:if(i._(e,v.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?g.getOptionalLinkProperties(e):void 0,!e)return[3,5];if(!(m.contentRelationship(e.id)||"string"!=typeof e.id))return[3,4];return r=[{},t],[4,_(e.id)];case 3:return[2,o._.apply(void 0,r.concat([n.sent()]))];case 4:return[2,a._(o._({},t),{link_type:f.LinkType.Document,id:e.id})];case 5:return[2,a._(o._({},t),{link_type:f.LinkType.Any})]}})})()}var y=function(e,t,r){var n=i._(e,p.PrismicMigrationAsset)?{id:e}:e,a=n.id,l=s._(n,["id"]),c=null==(T=t._assets.get(a.config.id))?void 0:T.asset,d=a.originalField;
2if(c){var f=((null==d?void 0:d.url)||c.url).split("?")[1],h="".concat(c.url.split("?")[0]).concat(f?"?".concat(f):""),v={width:c.width,height:c.height},g=d&&"edit"in d?null==d?void 0:d.edit:{x:0,y:0,zoom:1,background:"transparent"},m=a.config.alt||c.alt||null,_={},b=!0,w=!1,S=void 0;if(r)try{for(var T,k,P=Object.entries(l)[Symbol.iterator]();!(b=(k=P.next()).done);b=!0){var x=u._(k.value,2),R=x[0],E=x[1],A=y(E,t);A&&(_[R]=A)}}catch(e){w=!0,S=e}finally{try{b||null==P.return||P.return()}finally{if(w)throw S}}return o._({id:c.id,url:h,dimensions:v,edit:g,alt:m,copyright:c.credits||null},_)}},b=function(e,t){var r,n=null==(r=t._assets.get(e.id.config.id))?void 0:r.asset,i=g.getOptionalLinkProperties(e);return n?a._(o._({},i),{id:n.id,link_type:f.LinkType.Media}):a._(o._({},i),{link_type:f.LinkType.Any})};r.resolveMigrationContentRelationship=_,r.resolveMigrationDocumentData=function e(t,r){return n._(function(){var i,s,u,f,p,v,g,w,S,T,k,P,x,R,E;return c._(this,function(A){switch(A.label){case 0:if(m.contentRelationship(t))return[2,_(t)];if(m.image(t))return[2,y(t,r,!0)];if(m.linkToMedia(t))return[2,b(t,r)];if(m.rtImageNode(t))return[2,n._(function(){var n,i;return c._(this,function(s){switch(s.label){case 0:if(!(n=y(t.id,r)))return[3,2];return[4,e(t.linkTo,r)];case 1:return i=s.sent(),[2,a._(o._({},n),{type:d.RichTextNodeType.image,linkTo:h.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,[A.sent(),r])];case 2:return[2,A.sent()];case 3:if(!Array.isArray(t))return[3,12];i=[],s=!0,u=!1,f=void 0,A.label=4;case 4:A.trys.push([4,9,10,11]),p=t[Symbol.iterator](),A.label=5;case 5:if(s=(v=p.next()).done)return[3,8];return g=v.value,w=i.push,[4,e(g,r)];case 6:w.apply(i,[A.sent()]),A.label=7;case 7:return s=!0,[3,5];case 8:return[3,11];case 9:return S=A.sent(),u=!0,f=S,[3,11];case 10:try{s||null==p.return||p.return()}finally{if(u)throw f}return[7];case 11:return[2,i.filter(Boolean)];case 12:if(!(t&&(void 0===t?"undefined":l._(t))==="object"))return[3,17];for(x in T={},P=[],k=t)P.push(x);R=0,A.label=13;case 13:if(!(R<P.length))return[3,16];if(!((x=P[R])in k))return[3,15];return[4,e(t[E=x],r)];case 14:T[E]=A.sent(),A.label=15;case 15:return R++,[3,13];case 16:return[2,T];case 17:return[2,t]}})})()}},759484,(e,t,r)=>{var n,i,o,a=e.r(986172),s=e.r(507655),u=e.r(995075),l=e.r(393510),c=e.r(163340),d=e.r(882372),f=e.r(127873),h=e.r(887502),p=e.r(115240),v=e.r(344086),g=e.r(204571),m=e.r(95692),_=e.r(891470),y=e.r(998544),b=e.r(221280),w=e.r(52380),S=e.r(709462),T=e.r(241618),k=e.r(115946),P=e.r(576949),x=e.r(88007),R=e.r(884268),E="".concat(w.name.replace("@","").replace("/","-"),"/").concat(w.version);function A(e,t,r){return a._(function(){var n,i,o,a;return b._(this,function(s){switch(s.label){case 0:return[4,P.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==(o=t.fetchOptions)?void 0:o.signal)||(null==t?void 0:t.signal)||(null==(a=this.fetchOptions)?void 0:a.signal)}),this.fetchFn)];case 1:return[2,s.sent()]}})}).call(this)}function j(e){return a._(function(){var t;return b._(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 T.ForbiddenError(t.error,e.url,t);case 404:throw new T.NotFoundError(t.error,e.url,t);case 400:throw new T.InvalidDataError(t.error,e.url,t);default:throw new T.PrismicError(t.error,e.url,t)}}})})()}function M(e){return a._(function(){var t,r;return b._(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 T.InvalidDataError(r,e.url,t);case 401:throw new T.ForbiddenError(r,e.url,t);case 403:throw new T.ForbiddenError(null!=r?r:t.Message,e.url,t);case 404:throw new T.NotFoundError(r,e.url,t);default:throw new T.PrismicError(r,e.url,t)}}})})()}n=new WeakSet,i=new WeakSet,o=new WeakSet,r.WriteClient=function(e){"use strict";function t(e,r){var a;return u._(this,t),a=s._(this,t,[e,r]),c._(a,n),c._(a,i),c._(a,o),f._(a,"writeToken",void 0),f._(a,"assetAPIEndpoint","https://asset-
2api.prismic.io/"),f._(a,"migrationAPIEndpoint","https://migration.prismic.io/"),f._(a,"_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(S.devMsg("avoid-write-client-in-browser"))),a.writeToken=r.writeToken,r.assetAPIEndpoint&&(a.assetAPIEndpoint="".concat(r.assetAPIEndpoint,"/")),r.migrationAPIEndpoint&&(a.migrationAPIEndpoint="".concat(r.migrationAPIEndpoint,"/")),a}return h._(t,e),d._(t,[{key:"migrate",value:function(e){return a._(function(e){var t,r,n,i=arguments;return b._(this,function(o){switch(o.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 o.sent(),[4,this.migrateCreateDocuments(e,t)];case 2:return o.sent(),[4,this.migrateUpdateDocuments(e,t)];case 3:return o.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 a._(function(e){var t,r,n,i,o,a,s,u,l,c,d,f,h,g,y,w,S,T,k,P,x,R,E,A=arguments;return b._(this,function(b){switch(b.label){case 0:t=[A.length>1&&void 0!==A[1]?A[1]:void 0],i=(n=void 0===(r=_._(t,1)[0])?{}:r).reporter,o=m._(n,["reporter"]),a=0,s=!0,u=!1,l=void 0,b.label=1;case 1:b.trys.push([1,13,14,15]),c=e._assets[Symbol.iterator](),b.label=2;case 2:if(s=(d=c.next()).done)return[3,12];if((f=_._(d.value,2))[0],h=f[1],null==i||i({type:"assets:creating",data:{current:++a,remaining:e._assets.size-a,total:e._assets.size,asset:h}}),y=(g=h.config).file,w=g.filename,S=g.notes,T=g.credits,k=g.alt,P=g.tags,x=void 0,"string"!=typeof y)return[3,6];R=void 0;try{R=new URL(y)}catch(e){}if(!R)return[3,4];return[4,this.fetchForeignAsset(R.toString(),o)];case 3:return x=b.sent(),[3,5];case 4:x=y,b.label=5;case 5:return[3,9];case 6:if(!p._(y,URL))return[3,8];return[4,this.fetchForeignAsset(y.toString(),o)];case 7:return x=b.sent(),[3,9];case 8:x=y,b.label=9;case 9:return[4,this.createAsset(x,w,v._({notes:S,credits:T,alt:k,tags:P},o))];case 10:h.asset=b.sent(),b.label=11;case 11:return s=!0,[3,2];case 12:return[3,15];case 13:return E=b.sent(),u=!0,l=E,[3,15];case 14:try{s||null==c.return||c.return()}finally{if(u)throw l}return[7];case 15:return null==i||i({type:"assets:created",data:{created:a}}),[2]}})}).apply(this,arguments)}},{key:"migrateCreateDocuments",value:function(e){return a._(function(e){var t,r,n,i,o,a,s,u,l,c,d,f,h,p,y,w,S,T,k,P,x,E,A,j,M,I,D,L=arguments;return b._(this,function(b){switch(b.label){case 0:return t=[L.length>1&&void 0!==L[1]?L[1]:void 0],i=(n=void 0===(r=_._(t,1)[0])?{}:r).reporter,o=m._(n,["reporter"]),[4,this.getRepository(o)];case 1:a=b.sent().languages[0].id,null==i||i({type:"documents:masterLocale",data:{masterLocale:a}}),s=[],u=!0,l=!1,c=void 0;try{for(d=e._documents[Symbol.iterator]();!(u=(f=d.next()).done);u=!0)(h=f.value).document.id||(h.document.lang===a?s.unshift(h):s.push(h))}catch(e){l=!0,c=e}finally{try{u||null==d.return||d.return()}finally{if(l)throw c}}p=0,y=!0,w=!1,S=void 0,b.label=2;case 2:b.trys.push([2,10,11,12]),T=s[Symbol.iterator](),b.label=3;case 3:if(y=(k=T.next()).done)return[3,9];if(P=k.value,null==i||i({type:"documents:creating",data:{current:++p,remaining:s.length-p,total:s.length,document:P}}),x=void 0,!P.masterLanguageDocument)return[3,5];return[4,R.resolveMigrationContentRelationship(P.masterLanguageDocument)];case 4:return x="id"in(E=b.sent())?E.id:void 0,[3,6];case 5:P.originalPrismicDocument&&(M=null==(A=P.originalPrismicDocument.alternate_languages.find(function(e){return e.lang===a}))?void 0:A.id)&&(x=null==(j=e._getByOriginalID(M))?void 0:j.document.id),b.label=6;case 6:return[4,this.createDocument(g._(v._({},P.document),{data:{}}),P.title,v._({masterLanguageDocumentID:x},o))];case 7:I=b.sent().id,P.document.id=I,b.label=8;case 8:return y=!0,[3,3];case 9:return[3,12];case 10:return D=b.sent(),w=!0,S=D,[3,12];case 11:try{y||null==T.return||T.return()}finally{if(w)throw S}
2return[7];case 12:return null==i||i({type:"documents:created",data:{created:p}}),[2]}})}).apply(this,arguments)}},{key:"migrateUpdateDocuments",value:function(e){return a._(function(e){var t,r,n,i,o,a,s,u,l,c,d,f,h,p,y,w,S,T,k=arguments;return b._(this,function(b){switch(b.label){case 0:t=[k.length>1&&void 0!==k[1]?k[1]:void 0],i=(n=void 0===(r=_._(t,1)[0])?{}:r).reporter,o=m._(n,["reporter"]),a=0,s=!0,u=!1,l=void 0,b.label=1;case 1:b.trys.push([1,7,8,9]),c=e._documents[Symbol.iterator](),b.label=2;case 2:if(s=(d=c.next()).done)return[3,6];return f=d.value,null==i||i({type:"documents:updating",data:{current:++a,remaining:e._documents.length-a,total:e._documents.length,document:f}}),p=(h=this).updateDocument,y=[f.document.id],w=[v._({},f.document)],S={documentTitle:f.title},[4,R.resolveMigrationDocumentData(f.document.data,e)];case 3:return[4,p.apply(h,y.concat([g._.apply(void 0,w.concat([(S.data=b.sent(),S)])),o]))];case 4:b.sent(),b.label=5;case 5:return s=!0,[3,2];case 6:return[3,9];case 7:return T=b.sent(),u=!0,l=T,[3,9];case 8:try{s||null==c.return||c.return()}finally{if(u)throw l}return[7];case 9:return null==i||i({type:"documents:updated",data:{updated:e._documents.length}}),[2]}})}).apply(this,arguments)}},{key:"createAsset",value:function(e,t){return a._(function(e,t){var r,o,a,s,u,c,d,f,h,v,g,y,w=arguments;return b._(this,function(b){switch(b.label){case 0:return r=[w.length>2&&void 0!==w[2]?w[2]:void 0],s=(a=void 0===(o=_._(r,1)[0])?{}:o).notes,u=a.credits,c=a.alt,d=a.tags,f=m._(a,["notes","credits","alt","tags"]),h=new URL("assets",this.assetAPIEndpoint),(v=new FormData).append("file",new File([e],t,{type:p._(e,File)?e.type:void 0})),s&&v.append("notes",s),u&&v.append("credits",u),c&&v.append("alt",c),[4,l._(this,n,A).call(this,h,f,{method:"POST",body:v})];case 1:if(200===(g=b.sent()).status)return[3,2];return[3,4];case 2:return[4,g.json()];case 3:if(y=b.sent(),d&&d.length)return[2,this.updateAsset(y.id,{tags:d})];return[2,y];case 4:return[4,l._(this,i,j).call(this,g)];case 5:return[2,b.sent()];case 6:return[2]}})}).apply(this,arguments)}},{key:"updateAsset",value:function(e){return a._(function(e){var t,r,o,a,s,u,c,d,f,h,p,g=arguments;return b._(this,function(y){switch(y.label){case 0:if(t=[g.length>1&&void 0!==g[1]?g[1]:void 0],a=(o=void 0===(r=_._(t,1)[0])?{}:r).notes,s=o.credits,u=o.alt,c=o.filename,d=o.tags,f=m._(o,["notes","credits","alt","filename","tags"]),h=new URL("assets/".concat(e),this.assetAPIEndpoint),!(d&&d.length))return[3,2];return[4,this.resolveAssetTagIDs(d,v._({createTags:!0},f))];case 1:d=y.sent(),y.label=2;case 2:return[4,l._(this,n,A).call(this,h,f,{method:"PATCH",body:JSON.stringify({notes:a,credits:s,alt:u,filename:c,tags:d}),headers:{"content-type":"application/json"}})];case 3:if(200===(p=y.sent()).status)return[3,4];return[3,6];case 4:return[4,p.json()];case 5:case 7:return[2,y.sent()];case 6:return[4,l._(this,i,j).call(this,p)];case 8:return[2]}})}).apply(this,arguments)}},{key:"fetchForeignAsset",value:function(e){return a._(function(e){var t,r,i=arguments;return b._(this,function(o){switch(o.label){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:{},[4,l._(this,n,A).call(this,new URL(e),t)];case 1:if(!(r=o.sent()).ok)throw new T.PrismicError("Could not fetch foreign asset",e,void 0);return[4,r.arrayBuffer()];case 2:return[2,new File([o.sent()],"",{type:r.headers.get("content-type")||void 0})]}})}).apply(this,arguments)}},{key:"resolveAssetTagIDs",value:function(){return a._(function(){var e,t,r,n,i,o,s,u,l,c,d=arguments;return b._(this,function(f){return e=this,t=[d.length>0&&void 0!==d[0]?d[0]:void 0,d.length>1&&void 0!==d[1]?d[1]:void 0],i=void 0===(n=(r=y._(t))[0])?[]:n,o=r.slice(1),l=(u=void 0===(s=_._(o,1)[0])?{}:s).createTags,c=m._(u,["createTags"]),[2,this._resolveAssetTagIDsLimit(function(){return a._(function(){var e,t,r,n,o,a,s,u,d,f,h,p,v,g,m,_;return b._(this,function(y){switch(y.label){case 0:return[4,this.getAssetTags(c)];case 1:e=y.sent(),t={},r=!0,n=!1,o=void 0;try{for(a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)t[(u=s.value).name]=u}catch(e){n=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(n)throw o}}d=[],f=!0,h=!1,p=void 0,y.label=2;case 2:y.trys.push([2,8,9,10]),v=i[Symbol.iterator](),y.label=3;case 3:if(f=(g=v.next()).done)return[3,7];if(!(!t[m=g.value]&&l))return[3,5];return[4,this.createAssetTag(m,c)];case 4:t[m]=y.sent(),y.label=5;case 5:t[m]&&d.push(t[m].id),y.label=6;case 6:return f=!0,[3,3];case 7:return[3,10];case 8:return _=y.sent(),h=!0,p=_,[3,10];case 9:try{f||null==v.return||v.return()}finally{if(h)throw p}
2return[7];case 10:return[2,d]}})}).call(e)})]})}).apply(this,arguments)}},{key:"createAssetTag",value:function(e,t){return a._(function(){var r,o;return b._(this,function(a){switch(a.label){case 0:return r=new URL("tags",this.assetAPIEndpoint),[4,l._(this,n,A).call(this,r,t,{method:"POST",body:JSON.stringify({name:e}),headers:{"content-type":"application/json"}})];case 1:if(201===(o=a.sent()).status)return[3,2];return[3,4];case 2:return[4,o.json()];case 3:case 5:return[2,a.sent()];case 4:return[4,l._(this,i,j).call(this,o)];case 6:return[2]}})}).call(this)}},{key:"getAssetTags",value:function(e){return a._(function(){var t,r;return b._(this,function(o){switch(o.label){case 0:return t=new URL("tags",this.assetAPIEndpoint),[4,l._(this,n,A).call(this,t,e)];case 1:if(200===(r=o.sent()).status)return[3,2];return[3,4];case 2:return[4,r.json()];case 3:return[2,o.sent().items];case 4:return[4,l._(this,i,j).call(this,r)];case 5:return[2,o.sent()];case 6:return[2]}})}).call(this)}},{key:"createDocument",value:function(e,t){return a._(function(e,t){var r,i,a,s,u,c,d,f,h=arguments;return b._(this,function(p){switch(p.label){case 0:return r=[h.length>2&&void 0!==h[2]?h[2]:void 0],s=(a=void 0===(i=_._(r,1)[0])?{}:i).masterLanguageDocumentID,u=m._(a,["masterLanguageDocumentID"]),c=new URL("documents",this.migrationAPIEndpoint),[4,l._(this,n,A).call(this,c,u,{method:"POST",body:JSON.stringify({title:t,type:e.type,uid:e.uid||void 0,lang:e.lang,alternate_language_id:s,tags:e.tags,data:e.data}),headers:{"content-type":"application/json","x-client":E}})];case 1:if(201===(d=p.sent()).status)return[3,2];return[3,4];case 2:return f={},[4,d.json()];case 3:return[2,(f.id=p.sent().id,f)];case 4:return[4,l._(this,o,M).call(this,d)];case 5:return[2,p.sent()];case 6:return[2]}})}).apply(this,arguments)}},{key:"updateDocument",value:function(e,t,r){return a._(function(){var i,a;return b._(this,function(s){switch(s.label){case 0:return i=new URL("documents/".concat(e),this.migrationAPIEndpoint),[4,l._(this,n,A).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":E}})];case 1:if(200===(a=s.sent()).status)return[3,2];return[3,3];case 2:return[2];case 3:return[4,l._(this,o,M).call(this,a)];case 4:s.sent(),s.label=5;case 5:return[2]}})}).call(this)}}]),t}(x.Client)},886578,(e,t,r)=>{var n=e.r(759484);r.createWriteClient=function(e,t){return new n.WriteClient(e,t)}},288614,(e,t,r)=>{var n=e.r(241618);r.validateAssetMetadata=function(e){var t=e.notes,r=e.credits,i=e.alt,o=e.tags,a=[];if(t&&t.length>500&&a.push("`notes` must be at most ".concat(500," characters")),r&&r.length>500&&a.push("`credits` must be at most ".concat(500," characters")),i&&i.length>500&&a.push("`alt` must be at most ".concat(500," characters")),o&&o.length&&o.some(function(e){return e.length<3||e.length>20})&&a.push("tags must be at least 3 characters long and 20 characters at most"),a.length)throw new n.PrismicError("Errors validating asset metadata: ".concat(a.join(", ")),void 0,{notes:t,credits:r,alt:i,tags:o})}},49663,(e,t,r)=>{var n,i=e.r(995075),o=e.r(393510),a=e.r(163340),s=e.r(882372),u=e.r(127873),l=e.r(344086),c=e.r(204571),d=e.r(95692),f=e.r(621991),h=e.r(368996),p=e.r(440107),v=e.r(289883),g=e.r(164574),m=e.r(466069),_=e.r(515252),y=e.r(504312),b=e.r(288614);function w(e){var t=this;if(y.filledContentRelationship(e)){var r=_.getOptionalLinkProperties(e);return e.isBroken?c._(l._({},r),{link_type:v.LinkType.Document,id:"_____broken_____",isBroken:!0}):c._(l._({},r),{link_type:v.LinkType.Document,id:function(){return t._getByOriginalID(e.id)}})}if(y.filledLinkToMedia(e))return c._(l._({},_.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=o._(this,n,w).call(this,e.linkTo)),i}if(y.filledImage(e)){var a={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])&&(a[u]=this.createAsset(s[u]));return a}if(Array.isArray(e))return e.map(function(e){return o._(t,n,w).call(t,e)});if(e&&(void 0===e?"undefined":h._(e))==="object"){var f={};for(var g in e)f[g]=o._(this,n,w).call(this,e[g]);return f}return e}n=new WeakSet,r.Migration=function(){"use strict";function e(){i._(this,e),a._(this,n),u._(this,"_assets",new Map),u._(this,"_documents",[])}return s._(e,[{key:"createAsset",value:function(e,t){var r,n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.notes,s=o.credits,u=o.alt,l=o.tags;if((void 0===e?"undefined":h._(e))==="object"&&"url"in e)if("dimensions"in e||"link_type"in e){var c=e.url.split("?")[0],d="name"in e?e.name:c.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&&(i=e),n={id:e.id,file:c,filename:d,notes:void 0,credits:p,alt:v,tags:void 0}}else n={id:e.id,file:e.url,filename:e.filename,notes:e.notes,credits:e.credits,alt:e.alt,tags:null==(r=e.tags)?void 0:r.map(function(e){return e.name})};else n={id:e,file:e,filename:t,notes:a,credits:s,alt:u,tags:l};b.validateAssetMetadata(n);var m=new g.PrismicMigrationAsset(n,i),_=this._assets.get(n.id);return _?(_.config.notes=_.config.notes||n.notes,_.config.credits=_.config.credits||n.credits,_.config.alt=_.config.alt||n.alt,_.config.tags=Array.from(new Set(f._(_.config.tags||[]).concat(f._(n.tags||[]))))):this._assets.set(n.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(o._(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}()},733732,(e,t,r)=>{var n=e.r(49663);r.createMigration=function(){return new n.Migration}},18523,(e,t,r)=>{var n=e.r(241618),i=e.r(809362);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)}},682288,(e,t,r)=>{var n=e.r(241618),i=e.r(809362);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)}},384104,(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}},695262,(e,t,r)=>{r.isInternalURL=function(e){var t=/^(\/(?!\/)|#)/.test(e),r=!t&&!/^https?:\/\//.test(e);return t&&!r}},266404,(e,t,r)=>{var n=e.r(136131),i=e.r(175342),o=e.r(695262);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,a=n.asLink(e,t.linkResolver),s=null==a?void 0:a,u="string"==typeof s&&!o.isInternalURL(s),l=t.rel?t.rel({href:s,isExternal:u,target:r}):u?"noreferrer":void 0;return{href:s,target:r,rel:null==l?void 0:l}}return{}}},825199,(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(344086),i=e.r(891470),o=e.r(825199);r.asText=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];if(!e)return null;var s,u=i._(r,1)[0];return s="string"==typeof u?{separator:u}:n._({},u),o.asText(e,s.separator)}},405338,(e,t,r)=>{var n=/["'&<>]/;r.escapeHTML=function(e){var t,r=""+e,i=n.exec(r);if(!i)return r;var o="",a=0,s=0;for(a=i.index;a<r.length;a++){switch(r.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==a&&(o+=r.substring(s,a)),s=a+1,o+=t}return s!==a?o+r.substring(s,a):o}},261766,(e,t,r)=>{var n=e.r(127873),i=e.r(344086),o=e.r(204571),a=e.r(289883),s=e.r(136131),u=e.r(405338),l=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 o in r){var a=r[o];a&&("boolean"==typeof a?n.push(o):n.push("".concat(o,'="').concat(u.escapeHTML(a),'"')))}return n.length&&n.unshift(""),n.join(" ")},c=function(e){return e&&"function"!=typeof e?e:{}},d=function(e,t){var r=c(t);return function(t){var n=t.node,o=t.children,u=i._({},r);return n.data.link_type===a.LinkType.Web?(u.href=n.data.url,u.target=n.data.target,u.rel="noopener noreferrer"):n.data.link_type===a.LinkType.Document?u.href=s.asLink(n.data,{linkResolver:e}):n.data.link_type===a.LinkType.Media&&(u.href=n.data.url),"<a".concat(l(n,u),">").concat(o,"</a>")}};r.serializeEmbed=function(e){var t=c(e);return function(e){var r,a=e.node;return"<div".concat(l(a,o._(i._({}
2,t),(r={},n._(r,"data-oembed",a.oembed.embed_url),n._(r,"data-oembed-type",a.oembed.type),n._(r,"data-oembed-provider",a.oembed.provider_name),r))),">").concat(a.oembed.html,"</div>")}},r.serializeHyperlink=d,r.serializeImage=function(e,t){var r=c(t);return function(t){var n=t.node,a="<img".concat(l(n,o._(i._({},r),{src:n.url,alt:n.alt,copyright:n.copyright}))," />");return n.linkTo&&(a=d(e)({type:"hyperlink",node:{type:"hyperlink",data:n.linkTo,start:0,end:0},text:"",children:a,key:""})),'<p class="block-img">'.concat(a,"</p>")}},r.serializePreFormatted=function(e){var t=c(e);return function(e){var r=e.node;return"<pre".concat(l(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=c(t);return function(t){var n=t.node,i=t.children;return"<".concat(e).concat(l(n,r),">").concat(i,"</").concat(e,">")}}},894572,(e,t,r)=>{var n=e.r(344086),i=e.r(204571),o=e.r(440107),a=function(){return(++a.i).toString()};a.i=0;var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{key:a(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}},u=function(e){return s({type:o.RichTextNodeType.span,text:e,spans:[]})},l=function(e){for(var t=e.slice(0),r=0;r<t.length;r++){var n=t[r];if(n.type===o.RichTextNodeType.listItem||n.type===o.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===o.RichTextNodeType.listItem?t[r]={type:o.RichTextNodeType.list,items:i}:t[r]={type:o.RichTextNodeType.oList,items:i}}}return t},c=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(c(e.items[r]));return s(e,t)}return s(e)},d=function(e,t,r){if(!e.length)return[u(t.text)];var o=e.slice(0);o.sort(function(e,t){return e.start-t.start||t.end-e.end});for(var a=[],l=0;l<o.length;l++){for(var c=o[l],f=r&&r.start||0,h=c.start-f,p=c.end-f,v=t.text.slice(h,p),g=[],m=l;m<o.length;m++){var _=o[m];_!==c&&(_.start>=c.start&&_.end<=c.end?(g.push(_),o.splice(m,1),m--):_.start<c.end&&_.end>c.start&&(g.push(i._(n._({},_),{end:c.end})),o[m]=i._(n._({},_),{start:c.end})))}0===l&&h>0&&a.push(u(t.text.slice(0,h)));var y=i._(n._({},c),{text:v});a.push(s(y,d(g,i._(n._({},t),{text:v}),c))),p<t.text.length&&a.push(u(t.text.slice(p,o[l+1]?o[l+1].start-f:void 0)))}return a};r.asTree=function(e){for(var t=l(e),r=[],n=0;n<t.length;n++)r.push(c(t[n]));return{key:a(),children:r}}},856546,(e,t,r)=>{var n=e.r(894572),i=function(e,t){for(var r=[],n=0;n<e.length;n++){var o=e[n],a=t(o.type,o.node,o.text,i(o.children,t),o.key);null!=a&&r.push(a)}return r};r.serialize=function(e,t){return i(n.asTree(e).children,t)}},657823,(e,t,r)=>{var n,i=e.r(127873),o=e.r(440107);n={},i._(n,o.RichTextNodeType.listItem,"listItem"),i._(n,o.RichTextNodeType.oListItem,"oListItem"),i._(n,o.RichTextNodeType.list,"list"),i._(n,o.RichTextNodeType.oList,"oList"),r.RichTextReversedNodeType=n},204197,(e,t,r)=>{var n=e.r(657823);r.wrapMapSerializer=function(e){return function(t,r,i,o,a){var s=e[n.RichTextReversedNodeType[t]||t];if(s)return s({type:t,node:r,text:i,children:o,key:a})}}},201482,(e,t,r)=>{var n=e.r(621991);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 o=0;o<t.length;o++){var a=t[o];if(a){var s=a.apply(void 0,n._(r));if(null!=s)return s}}}}},996958,(e,t,r)=>{var n=e.r(344086),i=e.r(204571),o=e.r(891470),a=e.r(261766),s=e.r(856546),u=e.r(204197),l=e.r(201482),c=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,a.serializeStandardTag("h1",null==t?void 0:t.heading1)),heading2:r(null==t?void 0:t.heading2,a.serializeStandardTag("h2",null==t?void 0:t.heading2)),heading3:r(null==t?void 0:t.heading3,a.serializeStandardTag("h3",null==t?void 0:t.heading3)),heading4:r(null==t?void 0:t.heading4,a.serializeStandardTag("h4",null==t?void 0:t.heading4)),heading5:r(null==t?void 0:t.heading5,a.seri
2alizeStandardTag("h5",null==t?void 0:t.heading5)),heading6:r(null==t?void 0:t.heading6,a.serializeStandardTag("h6",null==t?void 0:t.heading6)),paragraph:r(null==t?void 0:t.paragraph,a.serializeStandardTag("p",null==t?void 0:t.paragraph)),preformatted:r(null==t?void 0:t.preformatted,a.serializePreFormatted(null==t?void 0:t.preformatted)),strong:r(null==t?void 0:t.strong,a.serializeStandardTag("strong",null==t?void 0:t.strong)),em:r(null==t?void 0:t.em,a.serializeStandardTag("em",null==t?void 0:t.em)),listItem:r(null==t?void 0:t.listItem,a.serializeStandardTag("li",null==t?void 0:t.listItem)),oListItem:r(null==t?void 0:t.oListItem,a.serializeStandardTag("li",null==t?void 0:t.oListItem)),list:r(null==t?void 0:t.list,a.serializeStandardTag("ul",null==t?void 0:t.list)),oList:r(null==t?void 0:t.oList,a.serializeStandardTag("ol",null==t?void 0:t.oList)),image:r(null==t?void 0:t.image,a.serializeImage(e,null==t?void 0:t.image)),embed:r(null==t?void 0:t.embed,a.serializeEmbed(null==t?void 0:t.embed)),hyperlink:r(null==t?void 0:t.hyperlink,a.serializeHyperlink(e,null==t?void 0:t.hyperlink)),label:r(null==t?void 0:t.label,a.serializeStandardTag("span",null==t?void 0:t.label)),span:r(null==t?void 0:t.span,a.serializeSpan())})},d=function(e){var t={};for(var r in e)!function(r){var o=e[r];o&&(t[r]=function(e){return o(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 a,u,d=o._(r,2),f=d[0],h=d[1];return u=(a="function"==typeof f||null==f?{linkResolver:f,serializer:h}:n._({},f)).serializer?"function"==typeof a.serializer?l.composeSerializers(function(e,t,r,n,i){return a.serializer(e,t,r,n.join(""),i)},c(a.linkResolver)):c(a.linkResolver,a.serializer):c(a.linkResolver),s.serialize(e,u).join("")}},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.8"}})},709462,(e,t,r)=>{var n=e.r(52380);r.devMsg=function(e){return"https://prismic.dev/msg/client/v".concat(n.version,"/").concat(e)}},319422,(e,t,r)=>{var n=e.r(95692);e.r(891470);var i=e.r(368996),o=e.r(52380);e.r(709462);var a={accessToken:"access_token"};function s(e){return Array.isArray(e)?e:[e]}r.buildQueryURL=function(e,t){var r=t.filters,u=t.predicates,l=n._(t,["filters","predicates"]);e.endsWith("/")||(e+="/");var c=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;c.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,_=!1,y=void 0;if(u)try{for(var b,w=s(u)[Symbol.iterator]();!(m=(b=w.next()).done);m=!0){var S=b.value;c.searchParams.append("q","[".concat(S,"]"))}}catch(e){_=!0,y=e}finally{try{m||null==w.return||w.return()}finally{if(_)throw y}}for(var T in l){var k=a[T]||T,P=l[T];if("orderings"===k){var x=l[k];null!=x&&(P="[".concat(s(x).map(function(e){return"string"==typeof e?e:"desc"===e.direction?"".concat(e.field," desc"):e.field}).join(","),"]"))}else"routes"===k&&"object"===i._(l[k])&&(P=JSON.stringify(s(l[k])));null!=P&&c.searchParams.set(k,s(P).join(","))}return c.searchParams.set("x-c","js-".concat(o.version)),c.toString()}},897267,(e,t,r)=>{e.r(369211);var n=e.r(374454),i=e.r(618566),o=e.r(271645);r.PrismicPreviewClient=function(e){var t=e.repositoryName,r=e.isDraftMode,a=e.updatePreviewURL,s=void 0===a?"/api/preview":a,u=e.exitPreviewURL,l=void 0===u?"/api/exit-preview":u,c=(0,i.useRouter)().refresh;return(0,o.useEffect)(function(){var e=new AbortController;window.addEventListener("prismicPreviewUpdate",function(e){e.preventDefault(),c()},{signal:e.signal}),window.addEventListener("prismicPreviewEnd",function(t){t.preventDefault(),globalThis.fetch(l,{signal:e.signal}).then(function(e){e.ok?c():console.error('[<PrismicPreview>] Failed to exit Preview Mode using the "'.concat(l,'" API endpoint. Does it exist?'))}).catch(function(){})},{signal:e.signal});var i=function(e){function t(e){return e.replace(/%3B/g,";")}var r=e.split("; "),i=!0,o=!1,a=void 0;try{for(var s,u,l=r[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var c=u.value.split("=");if(t(c[0]).replace(/%3D/g,"=")===n.cookie.preview){s=t(c.slice(1).join("="));continue}}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return s}(window.document.cookie);return(i?(decodeURIComponent(i).match(/"([^"]+)\.prismic\.io"/)||[])[1]:void 0)!==t||r||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?')):c()}).catch(function(){}),function(){return e.abort()}},[t,r,s,l,c]),null}},418149,(e,t,r)=>{var n=e.r(891470);e.r(369211);var i=e.r(272602),o=e.r(241464),a=e.r(618566),s=e.r(271645),u=e.r(843476),l=e.r(588495),c=e.r(99707),d="state",f=new l.SimulatorManager;r.SliceSimulator=function(e){var t=e.children,r=e.background,h=e.zIndex,p=e.className,v=n._((0,s.use
2State)(function(){return(0,l.getDefaultMessage)()}),2),g=v[0],m=v[1],_=(0,a.useRouter)(),y=i.getSlices("u">typeof window?new URL(window.location.href).searchParams.get(d):void 0).length>0;return(0,s.useEffect)(function(){return f.state.on(l.StateEventType.Slices,function(e){var t=new URL(window.location.href);t.searchParams.set(d,(0,c.compressToEncodedURIComponent)(JSON.stringify(e))),window.history.replaceState(null,"",t),setTimeout(function(){return _.refresh()},0)},"simulator-slices"),f.state.on(l.StateEventType.Message,function(e){return m(e)},"simulator-message"),f.init(),function(){f.state.off(l.StateEventType.Slices,"simulator-slices"),f.state.off(l.StateEventType.Message,"simulator-message")}},[_]),(0,u.jsx)(o.SliceSimulatorWrapper,{message:g,hasSlices:y,background:r,zIndex:h,className:p,children:t})}},241464,(e,t,r)=>{e.r(369211);var n=e.r(843476),i=e.r(588495);r.SliceSimulatorWrapper=function(e){var t=e.className,r=e.children,o=e.zIndex,a=e.background,s=e.message,u=e.hasSlices,l=(0,i.getDefaultProps)();return(0,n.jsx)("div",{className:[i.simulatorClass,t].filter(Boolean).join(" "),style:{zIndex:void 0===o?l.zIndex:null!=o?o:void 0,position:"fixed",top:0,left:0,width:"100%",height:"100vh",overflow:"auto",background:void 0===a?l.background:null!=a?a:void 0},children:s?(0,n.jsx)("article",{dangerouslySetInnerHTML:{__html:s}}):u?(0,n.jsx)("div",{id:"root",className:i.simulatorRootClass,onClickCapture:i.onClickHandler,onSubmitCapture:i.disableEventHandler,children:r}):null})}},369211,(e,t,r)=>{var n=e.r(368996),i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=function(e,t,r,i){if(t&&(void 0===t?"undefined":n._(t))==="object"||"function"==typeof t)for(var u,c=s(t),d=0,f=c.length;d<f;d++)u=c[d],l.call(e,u)||u===r||o(e,u,{get:(function(e){return t[e]}).bind(null,u),enumerable:!(i=a(t,u))||i.enumerable});return e};r.__toESM=function(e,t,r){return r=null!=e?i(u(e)):{},c(!t&&e&&e.__esModule?r:o(r,"default",{value:e,enumerable:!0}),e)}},967971,(e,t,r)=>{e.r(369211);var n=e.r(699748);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),(0,n.buildURL)(e.src,t)}},972281,(e,t,r)=>{Object.defineProperty(r,"version",{enumerable:!0,get:function(){return"2.3.0"}})},25523,(e,t,r)=>{var n=e.r(972281);r.devMsg=function(e){return"https://prismic.dev/msg/next/v".concat(n.version,"/").concat(e)}},649539,(e,t,r)=>{r.resolveDefaultExport=function(e){return"default"in e?e.default:e}},200806,(e,t,r)=>{var n=e.r(507655),i=e.r(995075),o=e.r(127873),a=e.r(887502),s=e.r(302623),u=function(e){"use strict";function t(e){var r;return i._(this,t),r=n._(this,t,[e.msg]),o._(r,"response",void 0),r.response=e,r}return a._(t,e),t}(s._(Error)),l=function(e){"use strict";function t(){return i._(this,t),n._(this,t,["Connection timed out"])}return a._(t,e),t}(s._(Error)),c=function(e){"use strict";function t(e){var r;return i._(this,t),r=n._(this,t,["Too many concurrent requests"]),o._(r,"request",void 0),r.request=e,r}return a._(t,e),t}(s._(Error)),d=function(e){"use strict";function t(e){var r;return i._(this,t),r=n._(this,t,["Request `".concat(e.requestID,"` timed out")]),o._(r,"request",void 0),r.request=e,r}return a._(t,e),t}(s._(Error)),f=function(e){"use strict";function t(){return i._(this,t),n._(this,t,arguments)}return a._(t,e),t}(s._(Error)),h=function(e){"use strict";function t(){return i._(this,t),n._(this,t,["Port is not set"])}return a._(t,e),t}(s._(Error));r.ChannelNotSetError=function(e){"use strict";function t(){return i._(this,t),n._(this,t,["Channel is not set"])}return a._(t,e),t}(s._(Error)),r.ConnectionTimeoutError=l,r.NotReadyError=f,r.PortNotSetError=h,r.RequestTimeoutError=d,r.ResponseError=u,r.TooManyConcurrentRequestsError=c},482850,(e,t,r)=>{var n,i,o=((n={}).SetActiveSlice="setActiveSlice",n.SetSliceZoneSize="setSliceZoneSize",n),a=((i={}).Ping="ping",i.SetSliceZone="setSliceZone",i.ScrollToSlice="scrollToSlice",i);r.APIRequestType=o,r.ClientRequestType=a},176544,(e,t,r)=>{var n=e.r(368996),i={200:"ok",201:"created",400:"bad request",500:"internal server error",501:"not implemented"},o=0,a=function(e){return!("type"in e)};r.createErrorResponseMessage=function(e,t){var r,n=arguments.length>
22&&void 0!==arguments[2]?arguments[2]:400;if(n<400)throw TypeError("Invalid error status code, expected status to be within `[400;600[`, got `".concat(n,"`"));return{requestID:e,status:n,msg:null!=(r=i[n])?r:"",error:t}},r.createRequestMessage=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{requestID:"".concat(r).concat(o++),type:e,data:t}},r.createSuccessResponseMessage=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;if(n>=400)throw TypeError("Invalid success status code, expected status to be within `[100;400[`, got `".concat(n,"`"));return{requestID:e,status:n,msg:null!=(r=i[n])?r:"",data:t}},r.isErrorResponseMessage=function(e){return a(e)&&!("data"in e)},r.isRequestMessage=function(e){return"type"in e},r.isResponseMessage=a,r.isSuccessResponseMessage=function(e){return a(e)&&!("error"in e)},r.validateMessage=function(e){if((void 0===e?"undefined":n._(e))!=="object"||null===e)throw TypeError("Invalid message received, expected message to be of type `object`, got `".concat(void 0===e?"undefined":n._(e),"`"));if(Object.keys(e).every(function(e){return["requestID","type","data","status","msg","error"].includes(e)})){if("string"!=typeof e.requestID)throw TypeError("Invalid message received, expected `message.requestID` to be of type `string`, got `".concat(n._(e.id),"`"))}else throw TypeError("Invalid message received: ".concat(JSON.stringify(e)));return e}},968999,(e,t,r)=>{var n=e.r(986172),i=e.r(995075),o=e.r(882372),a=e.r(127873),s=e.r(115240),u=e.r(344086),l=e.r(221280),c=e.r(200806),d=e.r(176544),f={debug:!1,maximumRequestConcurrency:20,defaultTimeout:5e3,requestIDPrefix:"channel-"};r.ChannelNetwork=function(){"use strict";function e(t,r){i._(this,e),a._(this,"requestHandlers",void 0),a._(this,"options",void 0),a._(this,"_port",null),a._(this,"_pendingRequests",new Map),this.requestHandlers=t,this.options=u._({},f,r)}return o._(e,[{key:"port",get:function(){if(!this._port)throw new c.PortNotSetError;return this._port},set:function(e){this._port&&(this._port.onmessage=null),this._port=e,this._port&&(this._port.onmessage=this.onMessage.bind(this))}},{key:"createRequestMessage",value:function(e,t){return d.createRequestMessage(e,t,this.options.requestIDPrefix)}},{key:"onMessage",value:function(e){return n._(function(){var t,r,n,i;return l._(this,function(o){switch(o.label){case 0:this.options.debug&&console.debug(e.data),o.label=1;case 1:if(o.trys.push([1,8,,9]),t=d.validateMessage(e.data),!d.isRequestMessage(t))return[3,6];if(this.requestHandlers[t.type])return[3,2];return this.postResponse(d.createErrorResponseMessage(t.requestID,void 0,501)),[3,5];case 2:return o.trys.push([2,4,,5]),[4,this.requestHandlers[t.type](t,{success:d.createSuccessResponseMessage.bind(this,t.requestID),error:d.createErrorResponseMessage.bind(this,t.requestID)})];case 3:return r=o.sent(),this.postResponse(r),[3,5];case 4:return n=o.sent(),this.postResponse(d.createErrorResponseMessage(t.requestID,n,500)),[3,5];case 5:return[3,7];case 6:this._pendingRequests.has(t.requestID)?(this._pendingRequests.get(t.requestID)(t),this._pendingRequests.delete(t.requestID)):console.error("Unknown request ID received in response: ".concat(JSON.stringify(t))),o.label=7;case 7:return[3,9];case 8:if(i=o.sent(),s._(i,TypeError))console.warn(i.message);else throw i;return[3,9];case 9:return[2]}})}).call(this)}},{key:"postRequest",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return t.port.postMessage(e)},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.options.debug&&console.debug(e),this._pendingRequests.size>=this.options.maximumRequestConcurrency)throw new c.TooManyConcurrentRequestsError(e);return new Promise(function(i,o){var a=setTimeout(function(){t._pendingRequests.has(e.requestID)&&t._pendingRequests.delete(e.requestID),o(new c.RequestTimeoutError(e))},n.timeout||t.options.defaultTimeout);t._pendingRequests.set(e.requestID,function(e){clearTimeout(a),d.isSuccessResponseMessage(e)?i(e):o(new c.ResponseError(e))}),r(e)})}},{key:"postResponse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return t.port.postMessage(e)};return this.options.debug&&console.debug(e),r(e),e}}]),e}()},773216,(e,t,r)=>{var n,i,o=((n={}).Connect="connect",n),a=((i={}).Ready="ready",i);
2r.InternalEmitterRequestType=o,r.InternalReceiverRequestType=a},789472,(e,t,r)=>{var n=e.r(986172),i=e.r(507655),o=e.r(995075),a=e.r(882372),s=e.r(127873),u=e.r(887502),l=e.r(115240),c=e.r(344086),d=e.r(204571),f=e.r(221280),h=e.r(200806),p=e.r(176544),v=e.r(968999),g=e.r(773216),m={readyTimeout:2e4,requestIDPrefix:"receiver-"};r.ChannelReceiver=function(e){"use strict";function t(e,r){var n;return o._(this,t),n=i._(this,t,[e,c._({},m,r)]),s._(n,"_ready",!1),window.addEventListener("message",function(e){n._onPublicMessage(e)}),n}return u._(t,e),a._(t,[{key:"ready",value:function(){return n._(function(){var e,t;return f._(this,function(r){switch(r.label){case 0:if(window.parent===window)throw Error("Receiver is currently not embedded as an iframe");return this._ready=!1,e=this.createRequestMessage(g.InternalReceiverRequestType.Ready,void 0),[4,this.postRequest(e,function(e){window.parent.postMessage(e,"*")},{timeout:this.options.readyTimeout})];case 1:return t=r.sent(),this._ready=!0,[2,t]}})}).call(this)}},{key:"_onPublicMessage",value:function(e){if(e.origin.startsWith("https://")&&(e.origin.endsWith(".prismic.io")||e.origin.endsWith(".wroom.io")||e.origin.endsWith(".marketing-tools-wroom.com")||e.origin.endsWith(".dev-tools-wroom.com")||e.origin.endsWith(".platform-wroom.com")))try{var t=p.validateMessage(e.data);if(p.isRequestMessage(t))if(this.options.debug&&console.debug(e.data),t.type===g.InternalEmitterRequestType.Connect){this.port=e.ports[0];var r=t.data;this.options=d._(c._({},this.options,r),{debug:this.options.debug,requestIDPrefix:this.options.requestIDPrefix,readyTimeout:this.options.readyTimeout});var n=p.createSuccessResponseMessage(t.requestID,void 0);this.postResponse(n)}else this.postResponse(p.createErrorResponseMessage(t.requestID,void 0),function(t){e.source.postMessage(t,e.origin)});else this._ready||this.onMessage(e)}catch(e){if(l._(e,TypeError));else throw e}}},{key:"postFormattedRequest",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this._ready)throw new h.NotReadyError("Receiver is not ready, use `ChannelReceiver.ready()` first");return this.postRequest(this.createRequestMessage(e,t),void 0,r)}}]),t}(v.ChannelNetwork)},861866,(e,t,r)=>{var n,i,o=e.r(986172),a=e.r(507655),s=e.r(995075),u=e.r(127873),l=e.r(887502),c=e.r(344086),d=e.r(204571),f=e.r(221280),h=e.r(789472),p=e.r(482850),v={requestIDPrefix:"api-",activeSliceAPI:!1,sliceZoneSizeAPI:!1};n=p.APIRequestType.SetActiveSlice,i=p.APIRequestType.SetSliceZoneSize,r.SimulatorAPI=function(e){"use strict";function t(e,r){s._(this,t);var l,h,g,m,_=(null==r?void 0:r.debug)||/[?&]debug=true/i.test(decodeURIComponent(window.location.search));return l=a._(this,t,[c._(u._({},p.ClientRequestType.Ping,function(e,t){return t.success("pong")}),e),d._(c._({},v,r),{debug:_})]),u._(l,n,function(e){return o._(function(){return f._(this,function(t){switch(t.label){case 0:return[4,l.postFormattedRequest(p.APIRequestType.SetActiveSlice,e)];case 1:return[2,t.sent()]}})})()}),u._(l,i,function(e){return o._(function(){return f._(this,function(t){switch(t.label){case 0:return[4,l.postFormattedRequest(p.APIRequestType.SetSliceZoneSize,e)];case 1:return[2,t.sent()]}})})()}),_&&((h=window).prismic||(h.prismic={}),(g=window.prismic).sliceSimulator||(g.sliceSimulator={}),(m=window.prismic.sliceSimulator).api||(m.api=[]),window.prismic.sliceSimulator.api.push(l)),l}return l._(t,e),t}(h.ChannelReceiver),r.simulatorAPIDefaultOptions=v},498319,(e,t,r)=>{var n=e.r(986172),i=e.r(995075),o=e.r(882372),a=e.r(127873),s=e.r(115240),u=e.r(891470),l=e.r(221280),c=e.r(200806),d=e.r(482850),f=e.r(861866),h=e.r(540110),p=e.r(844987),v=e.r(424523),g=e.r(964712),m=e.r(952212);r.SimulatorManager=function(){"use strict";function e(t){i._(this,e),a._(this,"state",void 0),a._(this,"_api",void 0),a._(this,"_initialized",void 0),this.state=new m.State(t),this._api=null,this._initialized=!1}return o._(e,[{key:"init",value:function(){return n._(function(){return l._(this,function(e){switch(e.label){case 0:if(this._initialized)return[2];
2return this._initialized=!0,[4,this.state.init()];case 1:if(e.sent(),window.parent===window)return this.state.message=v.sliceSimulatorAccessedDirectly,[2];e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this._initAPI()];case 3:return e.sent(),[3,5];case 4:return console.error(e.sent()),[2];case 5:return this._initListeners(),[2]}})}).call(this)}},{key:"_initAPI",value:function(){return n._(function(){var e,t;return l._(this,function(r){switch(r.label){case 0:return e=this,this._api=new f.SimulatorAPI((t={},a._(t,d.ClientRequestType.SetSliceZone,function(t,r){return e.state.setSliceZone(t.data),r.success()}),a._(t,d.ClientRequestType.ScrollToSlice,function(t,r){if(t.data.sliceIndex<0)return r.error("`sliceIndex` must be > 0",400);if(t.data.sliceIndex>=e.state.slices.length)return r.error("`sliceIndex` must be < ".concat(e.state.slices.length," (`<SliceZone />` current length)"),400);var n,i=p.getSliceZoneDOM(e.state.slices.length);if(!i)return r.error("Failed to find `<SliceZone />`",500);e.state.activeSlice=null;var o=i.children[t.data.sliceIndex];return o?(o.scrollIntoView({behavior:t.data.behavior,block:t.data.block,inline:t.data.inline}),(null==(n=e._api)?void 0:n.options.activeSliceAPI)&&setTimeout(e.state.setActiveSlice,750),r.success()):r.error("Failed fo find slice at index $`{req.data.sliceIndex}` in `<SliceZone />`",500)}),t)),[4,this._api.ready()];case 1:return r.sent(),[2]}})}).call(this)}},{key:"_initListeners",value:function(){var e,t,r=this;if((null==(e=this._api)?void 0:e.options.activeSliceAPI)&&(window.addEventListener("mousemove",function(){r.state.setActiveSlice()}),window.addEventListener("resize",function(){r.state.setActiveSlice()}),window.addEventListener("mousewheel",function(){setTimeout(r.state.setActiveSlice,200)}),this.state.on(g.StateEventType.Slices,function(){r.state.setActiveSlice()}),this.state.on(g.StateEventType.ActiveSlice,function(e){return n._(function(){var t;return l._(this,function(r){switch(r.label){case 0:if(!this._api)return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._api.setActiveSlice(e)];case 2:return r.sent(),[3,4];case 3:if(t=r.sent(),s._(t,c.ResponseError)&&400===t.response.status)console.error(t.response);else throw t;return[3,4];case 4:return[2]}})}).call(r)})),null==(t=this._api)?void 0:t.options.sliceZoneSizeAPI){var i=new ResizeObserver(h.throttle(function(e){return n._(function(){var t,r;return l._(this,function(n){switch(n.label){case 0:if(t=u._(e,1)[0],!(this._api&&t))return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._api.setSliceZoneSize({rect:t.contentRect})];case 2:return n.sent(),[3,4];case 3:if(r=n.sent(),s._(r,c.ResponseError)&&400===r.response.status)console.error(r.response);else throw r;return[3,4];case 4:return[2]}})}).call(r)},16));new MutationObserver(function(){var e=p.getSimulatorRootDOM();i.disconnect(),e&&i.observe(e)}).observe(p.getSimulatorDOM(),{subtree:!1,childList:!0})}}}]),e}()},310873,(e,t,r)=>{var n=e.r(115240);r.disableEventHandler=function(e){e.preventDefault(),e.stopPropagation()},r.onClickHandler=function(e){e.path&&e.path.slice(0,5).some(function(e){return n._(e,HTMLAnchorElement)})&&(e.preventDefault(),e.stopPropagation())}},588495,(e,t,r)=>{Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(844987),i=e.r(424523),o=e.r(246787),a=e.r(964712),s=e.r(952212),u=e.r(498319),l=e.r(310873);r.SimulatorManager=u.SimulatorManager,r.State=s.State,r.StateEventType=a.StateEventType,r.disableEventHandler=l.disableEventHandler,r.getActiveSliceDOM=n.getActiveSliceDOM,r.getDefaultMessage=o.getDefaultMessage,r.getDefaultProps=o.getDefaultProps,r.getDefaultSlices=o.getDefaultSlices,r.getSliceZoneDOM=n.getSliceZoneDOM,r.onClickHandler=l.onClickHandler,r.simulatorClass=n.simulatorClass,r.simulatorRootClass=n.simulatorRootClass,r.sliceSimulatorAccessedDirectly=i.sliceSimulatorAccessedDirectly},99707,(e,t,r)=>{var n=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function i(e,t){if(!n[e]){n[e]={};for(var r=0;r<e.length;r++)n[e][e.charAt(r)]=r}return n[e][t]}var o={compressToBase64:function(e){if(null==e)return"";var r=o._compress(e,6,function(e){return t.charAt(e)});switch(r.length%4){default:case 0:return r;case 1:return r+"===";case 2:return r+"==";case 3:return r+"="}},decompressFromBase64:function(e){return null==e?"":""==e?null:o._decompress(e.length,32,function(r){return i(t,e.charAt(r))})},compressToUTF16:function(t){return null==t?"":o._compress(t,15,function(t){return e(t+32)})+" "},decompressFromUTF16:function(e){return null==e?"":""==e?null:o._decompress(e.length,16384,function(t){return e.charCodeAt(t)-32})},compressToUint8Array:function(e){for(var t=o.compress(e),r=new Uint8Array(2*t.length),n=0,i=t.length;n<i;n++){var a=t.charCodeAt(n);r[2*n]=a>>>8,r[2*n+1]=a%256}return r},decompressFromUint8Array:function(t){if(null==t)return o.decompress(t);for(var r=Array(t.length/2),n=0,i=r.length;n<i;n++)r[n]=256*t[2*n]+t[2*n+1];var a=[];return r.forEach(function(t){a.push(e(t))}),o.decompress(a.join(""))},compressToEncodedURIComponent:function(e){return null==e?"":o._compress(e,6,function(e){return r.charAt(e)})},decompressFromEncodedURIComponent:function(e){return null==e?"":""==e?null:(e=e.replace(/ /g,"+"),o._decompress(e.length,32,function(t){return i(r,e.charAt(t))}))},compress:function(t){return o._compress(t,16,function(t){return e(t)})},_compress:function(e,t,r){if(null==e)return"";var n,i,o,a={},s={},u="",l="",c="",d=2,f=3,h=2,p=[],v=0,g=0;for(o=0;o<e.length;o+=1)if(u=e.charAt(o),Object.prototype.hasOwnProperty.call(a,u)||(a[u]=f++,s[u]=!0),l=c+u,Object.prototype.hasOwnProperty.call(a,l))c=l;else{if(Object.prototype.hasOwnProperty.call(s,c)){if(256>c.charCodeAt(0)){for(n=0;n<h;n++)v<<=1,g==t-1?(g=0,p.push(r(v)),v=0):g++;for(i=c.charCodeAt(0),n=0;n<8;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1}else{for(n=0,i=1;n<h;n++)v=v<<1|i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i=0;for(i=c.charCodeAt(0),n=0;n<16;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1}0==--d&&(d=Math.pow(2,h),h++),delete s[c]}else for(i=a[c],n=0;n<h;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1;0==--d&&(d=Math.pow(2,h),h++),a[l]=f++,c=String(u)}if(""!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(256>c.charCodeAt(0)){for(n=0;n<h;n++)v<<=1,g==t-1?(g=0,p.push(r(v)),v=0):g++;for(i=c.charCodeAt(0),n=0;n<8;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1}else{for(n=0,i=1;n<h;n++)v=v<<1|i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i=0;for(i=c.charCodeAt(0),n=0;n<16;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1}0==--d&&(d=Math.pow(2,h),h++),delete s[c]}else for(i=a[c],n=0;n<h;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1;0==--d&&(d=Math.pow(2,h),h++)}for(n=0,i=2;n<h;n++)v=v<<1|1&i,g==t-1?(g=0,p.push(r(v)),v=0):g++,i>>=1;for(;;){if(v<<=1,g==t-1){p.push(r(v));break}g++}return p.join("")},decompress:function(e){return null==e?"":""==e?null:o._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,r,n){var i,o,a,s,u,l,c,d=[],f=4,h=4,p=3,v="",g=[],m={val:n(0),position:r,index:1};for(i=0;i<3;i+=1)d[i]=i;for(a=0,u=4,l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;switch(a){case 0:for(a=0,u=256,l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;c=e(a);break;case 1:for(a=0,u=65536,l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;c=e(a);break;case 2:return""}for(d[3]=c,o=c,g.push(c);;){if(m.index>t)return"";for(a=0,u=Math.pow(2,p),l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;switch(c=a){case 0:for(a=0,u=256,l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;d[h++]=e(a),c=h-1,f--;break;case 1:for(a=0,u=65536,l=1;l!=u;)s=m.val&m.position,m.position>>=1,0==m.position&&(m.position=r,m.val=n(m.index++)),a|=(s>0)*l,l<<=1;d[h++]=e(a),c=h-1,f--;break;case 2:return g.join("")}if(0==f&&(f=Math.pow(2,p),p++),d[c])v=d[c];else{if(c!==h)return null;v=o+o.charAt(0)}g.push(v),d[h++]=o+v.charAt(0),f--,o=v,0==f&&(f=Math.pow(2,p),p++)}}};return o}();if("function"==typeof define&&define.amd)e.r,void 0!==n&&e.v(n);else null!=t?t.exports=n:"u">typeof angular&&null!=angular&&angular.module("LZString",[]).factory("LZString",function(){return n})},272602,(e,t,r)=>{e.r(369211);var n=e.r(588495),i=e.r(99707);r.getSlices=function(e){return e?JSON.parse((0,i.decompressFromEncodedURIComponent)(e)):(0,n.getDefaultSlices)()}},844987,(e,t,r)=>{var n="slice-simulator",i="slice-simulator--root";r.getActiveSliceDOM=function(e,t){var r=document.elementsFromPoint(t.x,t.y).reverse(),n=r.indexOf(e);if(-1===n)return null;var i=r[n+1];return i||null},r.getSimulatorDOM=function(){return document.querySelector(".".concat(n))},r.getSimulatorRootDOM=function(){return document.querySelector(".".concat(i))},r.getSliceZoneDOM=function(e){var t=document.querySelector(".".concat(n," [data-slice-zone]"));if(t)return t.children.length!==e&&console.warn("Flagged SliceZone has an unexpected number of children, found ".concat(t.children.length," but expected ").concat(e,". This might lead to unexpected behaviors. Are you sure you tagged the right element?")),t;if(!(t=document.querySelector(".".concat(n," .").concat(i))))return null;for(var r=0;r<5;r++)if(t.children.length===e)return t;else if(t.children.length)t=t.children[0];else break;return null},r.simulatorClass=n,r.simulatorRootClass=i},588709,(e,t,r)=>{Object.defineProperty(r,"version",{enumerable:!0,get:function(){return"0.2.3"}})},424523,(e,t,r)=>{var n,i=e.r(588709),o=function(e,t){return'<a href="'.concat(e,'" style="text-decoration: underline;">').concat(t||e,"<a>")};n="".concat(" _____ ___ _____ _ __ __ \n / ___// (_)_______ / ___/(_)___ ___ __ __/ /___ _/ /_____ _____\n \\__ \\/ / / ___/ _ \\\\__ \\/ / __ `__ \\/ / / / / __ `/ __/ __ \\/ ___/\n ___/ / / / /__/ __/__/ / / / / / / / /_/ / / /_/ / /_/ /_/ / / \n/____/_/_/\\___/\\___/____/_/_/ /_/ /_/\\__,_/_/\\__,_/\\__/\\____/_/ \n / /_ __ __ / __ \\_____(_)________ ___ (_)____\n / __ \\/ / / / / /_/ / ___/ / ___/ __ `__ \\/ / ___/\n / /_/ / /_/ / / ____/ / / (__ ) / / / / / / /__ \n /_.___/\\__, / /_/ /_/ /_/____/_/ /_/ /_/_/\\___/ \n /____/ v".concat(i.version,"\n\n"),"\n\n\n\nYou're seeing this page because you're accessing Slice simulator\ndirectly, e.g:\n\n - ").concat(o("http://localhost:3000/slice-simulator"),"\n\n\n\nThe Slice simulator can only be accessed through Slice Machine or\nyour repository.\n\n\n\nIf you believe this is an error, please reach out to us:\n\n - ").concat(o("https://github.com/prismicio/slice-simulator/issues/new/choose"),"\n\n\n\n\n\n\n\n - The Prismic team"),r.sliceSimulatorAcce
2ssedDirectly='<div style="word-spacing: initial; white-space: pre; line-height: initial; font-family: monospace; color: #ffffff; mix-blend-mode: difference; padding: 1rem; font-size: 1rem;">'.concat(n,"</div>")},246787,(e,t,r)=>{r.getDefaultMessage=function(){return""},r.getDefaultProps=function(){return{zIndex:100,background:"#ffffff"}},r.getDefaultSlices=function(){return[]}},964712,(e,t,r)=>{var n;(n={}).Slices="slices",n.ActiveSlice="activeSlice",n.Message="message",r.StateEventType=n},474234,(e,t,r)=>{var n=e.r(995075),i=e.r(882372),o=e.r(127873),a=e.r(891470),s=e.r(621991);r.EventEmitter=function(){"use strict";function e(){n._(this,e),o._(this,"_listeners",{})}return i._(e,[{key:"on",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._listeners[e]=s._(null!=(r=this._listeners[e])?r:[]).concat([[t,n]])}},{key:"off",value:function(e,t){var r;this._listeners[e]=(null!=(r=this._listeners[e])?r:[]).filter(function(e){var r=a._(e,2),n=r[0],i=r[1];return"function"==typeof t?n!==t:i!==t})}},{key:"emit",value:function(e,t){var r;(null!=(r=this._listeners[e])?r:[]).forEach(function(e){return e[0](t)})}}]),e}()},952212,(e,t,r)=>{var n=e.r(986172),i=e.r(507655),o=e.r(995075),a=e.r(882372),s=e.r(127873),u=e.r(887502),l=e.r(221280),c=e.r(540110),d=e.r(844987),f=e.r(474234),h=e.r(246787),p=e.r(964712);r.State=function(e){"use strict";function t(e){var r;return o._(this,t),r=i._(this,t),s._(r,"_slices",void 0),s._(r,"_activeSlice",void 0),s._(r,"_message",void 0),s._(r,"_mouse",void 0),s._(r,"_setActiveSlice",function(){if(0===r.slices.length){r.activeSlice=null;return}var e=d.getSliceZoneDOM(r.slices.length);if(!e){r.activeSlice=null;return}var t=d.getActiveSliceDOM(e,r._mouse);if(!t){r.activeSlice=null;return}var n=Array.prototype.indexOf.call(e.children,t);r.activeSlice={rect:t.getBoundingClientRect(),sliceID:r.slices[n].slice_type,variationID:r.slices[n].variation,index:n}}),s._(r,"setActiveSlice",c.throttle(r._setActiveSlice,16)),r._slices=(null==e?void 0:e.slices)||h.getDefaultSlices(),r._activeSlice=null,r._message="",r._mouse={x:0,y:0},r}return u._(t,e),a._(t,[{key:"slices",get:function(){return window.parent!==window?this._slices:[]},set:function(e){this._slices=e,this.message="",this.emit(p.StateEventType.Slices,this.slices)}},{key:"activeSlice",get:function(){return this._activeSlice},set:function(e){this._activeSlice=e,this.emit(p.StateEventType.ActiveSlice,this.activeSlice)}},{key:"message",get:function(){return this._message},set:function(e){this._message=e,this.emit(p.StateEventType.Message,this.message)}},{key:"init",value:function(){return n._(function(){var e;return l._(this,function(t){return e=this,window.addEventListener("mousemove",function(t){e._mouse={x:t.clientX,y:t.clientY}}),[2]})}).call(this)}},{key:"setSliceZone",value:function(e){this.slices=e}}]),t}(f.EventEmitter)},540110,(e,t,r)=>{r.throttle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,r=0,n=null;return function(){for(var i=this,o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];var u=Date.now(),l=u-r;l>=t?(e.apply(this,a),r=u):(n&&clearTimeout(n),n=setTimeout(function(){e.apply(i,a),r=Date.now()},t-l))}}},680821,(e,t,r)=>{"use strict";var n=e.r(368996),i=e.r(887502),o=e.r(911804);function a(e,t,s){r._=a=function(e,t,r){return new f(e,void 0,t,r)};var u=RegExp.prototype,l=new WeakMap,c=new WeakMap,d=Object.getOwnPropertyDescriptor(u,"source").get;function f(e,t,r,n){var i=new RegExp(e,t);return l.set(i,r||l.get(e)),c.set(i,void 0!==n?n:c.get(e)),o._(i,f.prototype)}function h(e,t){var r=l.get(t);return Object.keys(r).reduce(function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var o=0;void 0===e[i[o]]&&o+1<i.length;)o++;t[n]=e[i[o]]}return t},Object.create(null))}return i._(f,RegExp),Object.defineProperty(f.prototype,"source",{configurable:!0,get:function(){var e=c.get(this);if(void 0!==e)try{return new RegExp(e,this.flags),e}catch(e){}return d.call(this)}}),f.prototype.exec=function(e){var t=u.exec.call(this,e);if(t){t.groups=h(t,this);var r=t.indices;r&&(r.groups=h(r,this))}return t},f.prototype[Symbol.replace]=function(e,t){if("string"==typeof t){var r=l.get(this);return u[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,function(e,t){var n=r?r[t]:void 0;return void 0===n?"":"$"+(Array.isArray(n)?n.join("$"):n)}))}if("function"==typeof t){var i=this;return u[Symbol.replace].call(this,e,function(){var e=arguments;return"object"!==n._(e[e.length-1])&&(e=[].slice.call(e)).push(h(e,i)),t.apply(this,e)})}return u[Symbol.replace].call(this,e,t)},a.apply(this,arguments)}r._=a},528429,(e,t,r)=>{e.r(593855);var n=function(e){return e.replace(/%3B/g,";")};
2r.getPreviewCookie=function(e){var t=e.split("; "),r=!0,i=!1,o=void 0;try{for(var a,s,u=t[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=s.value.split("=");if("io.prismic.preview"===n(l[0]).replace(/%3D/g,"=")){a=n(l.slice(1).join("="));break}}}catch(e){i=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return a}},115946,(e,t,r)=>{var n=e.r(986172),i=e.r(621991),o=e.r(221280);r.pLimit=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).interval,t=[],r=!1,a=0,s=function(){if(!r&&t.length>0){var e;null==(e=t.shift())||e(),r=!0}},u=function(){r=!1,s()},l=function(t,r,s){return n._(function(){var l,c;return o._(this,function(d){switch(d.label){case 0:var f;if(l=Date.now()-a,!(e&&l<e))return[3,2];return[4,(f=e-l,new Promise(function(e){return setTimeout(e,f)}))];case 1:d.sent(),d.label=2;case 2:r(c=n._(function(){return o._(this,function(e){return[2,t.apply(void 0,i._(s))]})})()),d.label=3;case 3:return d.trys.push([3,5,,6]),[4,c];case 4:case 5:return d.sent(),[3,6];case 6:return a=Date.now(),u(),[2]}})})()},c=function(e,i,a){new Promise(function(e){t.push(e)}).then(l.bind(void 0,e,i,a)),n._(function(){return o._(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){c(e,t,r)})}}},576949,(e,t,r)=>{var n=e.r(986172),i=e.r(221280),o=e.r(115946),a={},s={};function u(e){return n._(function(){var t,r;return i._(this,function(o){switch(o.label){case 0:return[4,e.arrayBuffer()];case 1:return t=o.sent(),[2,r={ok:e.ok,status:e.status,headers:e.headers,url:e.url,text:function(){return n._(function(){return i._(this,function(e){return[2,new TextDecoder().decode(t)]})})()},json:function(){return n._(function(){return i._(this,function(e){return[2,JSON.parse(new TextDecoder().decode(t))]})})()},arrayBuffer:function(){return n._(function(){return i._(this,function(e){return[2,t]})})()},blob:function(){return n._(function(){return i._(this,function(e){return[2,new Blob([t])]})})()},clone:function(){return r}}]}})})()}r.request=function e(t,r,l){return n._(function(){var n,c,d,f,h,p,v,g,m,_,y;return i._(this,function(i){switch(i.label){case 0:return d=t.toString(),(null==r?void 0:r.body)?f=((n=a)[c=t.hostname]||(n[c]=o.pLimit({interval:1500})))(function(){return l(d,r)}):(p=null==(h=s[d])?void 0:h.get(null==r?void 0:r.signal))?f=p:(f=l(d,r).then(u).finally(function(){var e,t;null==(e=s[d])||e.delete(null==r?void 0:r.signal),(null==(t=s[d])?void 0:t.size)===0&&delete s[d]}),((v=s)[g=d]||(v[g]=new Map)).set(null==r?void 0:r.signal,f)),[4,f];case 1:if(429!==(m=i.sent()).status)return[3,3];return y=Number.isNaN(_=Number(m.headers.get("retry-after")))?1500:1e3*_,[4,new Promise(function(e){return setTimeout(e,y)})];case 2:return i.sent(),[2,e(t,r,l)];case 3:return[2,m]}})})()}},800905,(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,o,a,s,u,l,c,d,f,h=e.r(986172),p=e.r(995075),v=e.r(558424),g=e.r(466173),m=e.r(574646),_=e.r(393510),y=e.r(163340),b=e.r(882372),w=e.r(127873),S=e.r(115240),T=e.r(344086),k=e.r(204571),P=e.r(95692),x=e.r(891470),R=e.r(621991),E=e.r(368996),A=e.r(680821),j=e.r(221280),M=e.r(581583),I=e.r(709462),D=e.r(319422),L=e.r(241618),O=e.r(217593),C=e.r(759794),z=e.r(136131),N=e.r(808897),q=e.r(528429),F=e.r(576949),U=e.r(800905);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 k._(T._({},t),{filters:R._(null!=(e=t.filters)?e:[]).concat(R._(n))})}function G(e){return h._(function(){var t,r,n,s,u,l,c;return j._(this,function(d){switch(d.label){case 0:if(v._(this,o)&&(l=q.getPreviewCookie(null!=(n=(null==(s=v._(this,a))?void 0:s.headers)?"get"in v._(this,a).headers?v._(this,a).headers.get("cookie"):v._(this,a).headers.cookie:null==(u=globalThis.document)?void 0:u.cookie)?n:"")))return[2,l];return[4,null==(t=v._(r=this,i))?void 0:t.call(r,e)];case 1:if(c=d.sent())return[2,c];return[4,this.getMasterRef(e)];case 2:return[2,d.sent().ref]}})}).call(this)}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return h._(function(){var r,n,i,o,a,u;return j._(this,function(l){switch(l.label){case 0:return[4,this.buildQueryURL(e)];case 1:return r=l.sent(),[4,_._(this,f,Z).call(this,new URL(r),e)];case 2:if((n=l.sent()).ok)return[2,n];l.label=3;case 3:return l.trys.push([3,5,,8]),[4,_._(this,d,H).call(this,n,r)];case 4:case 6:return[2,l.sent()];case 5:if(i=l.sent(),!((S._(i,L.RefNotFoundError)||S._(i,L.RefExpiredError))&&t<3))return[3,7];if((null==e?void 0:e.ref)||m._(this,s,void 0),!(u=null==(a=i.message.match(A._(/master ref is: (.*)$/i,{ref:1},"master ref is: (?<ref>.*)$")))||null==(o=a.groups)?void 0:o.ref))throw i;return U.throttledWarn("[@prismicio/client] The ref (".concat(new
2URL(r).searchParams.get("ref"),") was ").concat(S._(i,L.RefNotFoundError)?"invalid":"expired",". Now retrying with the latest master ref (").concat(u,"). If you were previewing content, the response will not include draft content.")),[4,_._(this,c,B).call(this,k._(T._({},e),{ref:u}),t+1)];case 7:throw i;case 8:return[2]}})}).call(this)}function H(e,t){return h._(function(){var r,n,i,o,a,s,u;return j._(this,function(l){switch(l.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=l.sent(),new L.ParsingError(r.message,t,r);case 4:throw n=l.sent(),new L.ForbiddenError(n.message,t,n);case 6:switch((i=l.sent()).type){case"api_notfound_error":throw new L.RefNotFoundError(i.message,t,i);case"api_security_error":if(/preview token.*expired/i.test(i.message))throw new L.PreviewTokenExpiredError(i.message,t,i);default:throw new L.NotFoundError(i.message,t,i)}l.label=7;case 7:return[4,e.clone().json()];case 8:throw o=l.sent(),new L.RefExpiredError(o.message,t,o);case 9:return s=(a=L.PrismicError).bind,u=[void 0,void 0,t],[4,e.text()];case 10:throw new(s.apply(a,u.concat([l.sent()])));case 11:return[2]}})})()}function Z(e,t){return h._(function(){var r,n,i,o;return j._(this,function(a){switch(a.label){case 0:return[4,F.request(e,k._(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==(o=this.fetchOptions)?void 0:o.signal)}),this.fetchFn)];case 1:return[2,a.sent()]}})}).call(this)}n=new WeakMap,i=new WeakMap,o=new WeakMap,a=new WeakMap,s=new WeakMap,u=new WeakMap,l=new WeakSet,c=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),y._(this,l),y._(this,c),y._(this,d),y._(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,o,{writable:!0,value:!0}),g._(this,a,{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,_=h.ref,b=h.routes,S=h.brokenRoute,T=h.defaultParams,k=h.fetchOptions,P=h.fetch,x=void 0===P?null==(r=globalThis.fetch)?void 0:r.bind(globalThis):P;if(N.isRepositoryEndpoint(t)){try{this.repositoryName=C.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(I.devMsg("prefer-repository-name")))}this.documentAPIEndpoint=v||t}else this.repositoryName=t,this.documentAPIEndpoint=v||O.getRepositoryEndpoint(t);if(!x)throw new L.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 x)throw new L.PrismicError("fetch must be a function, but received: ".concat(void 0===x?"undefined":E._(x)),void 0,void 0);if(!N.isRepositoryEndpoint(this.documentAPIEndpoint))throw new L.PrismicError("documentAPIEndpoint is not a valid URL: ".concat(v),void 0,void 0);N.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(I.devMsg("prefer-repository-name"))),this.accessToken=m,this.routes=b,this.brokenRoute=S,this.defaultParams=T,this.fetchOptions=void 0===k?{}:k,this.fetchFn=x,this.graphQLFetch=this.graphQLFetch.bind(this),_&&this.queryContentFromRef(_)}return b._(e,[{key:"repositoryName",get:function(){if(!v._(this,n))throw new L.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(I.devMsg("prefer-repository-name")),void 0,void 0);return v._(this,n)}
2,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,o,!0)}},{key:"enableAutoPreviewsFromReq",value:function(e){this.enableAutoPreviews(),m._(this,a,e)}},{key:"disableAutoPreviews",value:function(){m._(this,o,!1),m._(this,a,void 0)}},{key:"get",value:function(e){return h._(function(){return j._(this,function(t){switch(t.label){case 0:return[4,_._(this,c,B).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 j._(this,function(i){switch(i.label){case 0:return t=(null==e?void 0:e.page)||(null==e?void 0:e.pageSize)?e:k._(T._({},e),{pageSize:1}),[4,_._(this,c,B).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 L.NotFoundError("No documents were returned",r.url,void 0)}})}).call(this)}},{key:"dangerouslyGetAll",value:function(){return h._(function(){var e,t,r,n,i,o,a,s,u,l,c=arguments;return j._(this,function(d){switch(d.label){case 0:n=void 0===(r=(e=c.length>0&&void 0!==c[0]?c[0]:{}).limit)?1/0:r,i=P._(e,["limit"]),o=k._(T._({},i),{pageSize:Math.min(n,i.pageSize||(null==(t=this.defaultParams)?void 0:t.pageSize)||100)}),a=[],d.label=1;case 1:if(!((!s||s.next_page)&&a.length<n))return[3,5];return l=s?s.page+1:void 0,[4,this.get(k._(T._({},o),{page:l}))];case 2:if(s=d.sent(),(u=a).push.apply(u,R._(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,a.slice(0,n)]}})}).apply(this,arguments)}},{key:"getByID",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.getFirst(W(t,M.filter.at("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByIDs",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,M.filter.in("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByIDs",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,M.filter.in("document.id",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByUID",value:function(e,t,r){return h._(function(){return j._(this,function(n){switch(n.label){case 0:return[4,this.getFirst(W(r,M.filter.at("document.type",e),M.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 j._(this,function(n){switch(n.label){case 0:return[4,this.get(W(r,M.filter.at("document.type",e),M.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 j._(this,function(n){switch(n.label){case 0:return[4,this.dangerouslyGetAll(W(r,M.filter.at("document.type",e),M.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 j._(this,function(r){switch(r.label){case 0:return[4,this.getFirst(W(t,M.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByType",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,M.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByType",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,M.filter.at("document.type",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByTag",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,M.filter.any("document.tags",[e])))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByTag",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,M.filter.any("document.tags",[e])))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getByEveryTag",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,M.filter.at("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllByEveryTag",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,M.filter.at("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getBySomeTags",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.get(W(t,M.filter.any("document.tags",e)))];case 1:return[2,r.sent()]}})}).call(this)}},{key:"getAllBySomeTags",value:function(e,t){return h._(function(){return j._(this,function(r){switch(r.label){case 0:return[4,this.dangerouslyGetAll(W(t,M.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 j._(this,function(o){switch(o.label){case 0:if(v._(this,s)&&v._(this,u)>Date.now())return[2,v._(this,s)];
2return t=new URL(this.documentAPIEndpoint),(r=(null==e?void 0:e.accessToken)||this.accessToken)&&t.searchParams.set("access_token",r),[4,_._(this,f,Z).call(this,t,e)];case 1:if(!(n=o.sent()).ok)return[3,3];return i=[this,s],[4,n.json()];case 2:return m._.apply(void 0,i.concat([o.sent()])),m._(this,u,Date.now()+5e3),[2,v._(this,s)];case 3:if(404===n.status)throw new L.RepositoryNotFoundError('Prismic repository not found. Check that "'.concat(this.documentAPIEndpoint,'" is pointing to the correct repository.'),t.toString(),void 0);return[4,_._(this,d,H).call(this,n,t.toString())];case 4:return[2,o.sent()]}})}).call(this)}},{key:"getRefs",value:function(e){return h._(function(){return j._(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 j._(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 L.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 j._(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 L.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 j._(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 L.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 j._(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 j._(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 L.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 j._(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 L.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 j._(this,function(o){switch(o.label){case 0:return[4,this.getRepository(e)];case 1:if(!(r=(t=o.sent()).forms.tags))return[3,4];return n=new URL(r.action),this.accessToken&&n.searchParams.set("access_token",this.accessToken),[4,_._(this,f,Z).call(this,n,e)];case 2:if(!(i=o.sent()).ok)return[3,4];return[4,i.json()];case 3:return[2,o.sent()];case 4:return[2,t.tags]}})}).call(this)}},{key:"buildQueryURL",value:function(){return h._(function(){var e,t,r,n,i,o,a,s,u,c,d=arguments;return j._(this,function(f){switch(f.label){case 0:if(e=[d.length>0&&void 0!==d[0]?d[0]:void 0],n=(r=void 0===(t=x._(e,1)[0])?{}:t).signal,i=r.fetchOptions,s=(o=P._(r,["signal","fetchOptions"])).ref)return[3,2];return[4,_._(this,l,G).call(this,{accessToken:o.accessToken,signal:n,fetchOptions:i})];case 1:s=f.sent(),f.label=2;case 2:if(a=s,c=o.integrationFieldsRef)return[3,4];return[4,this.getRepository({accessToken:o.accessToken,signal:n,fetchOptions:i})];case 3:c=f.sent().integrationFieldsRef,f.label=4;case 4:return u=c||void 0,[2,D.buildQueryURL(this.documentAPIEndpoint,k._(T._({},this.defaultParams,o),{ref:a,integrationFieldsRef:u,routes:o.routes||this.routes,brokenRoute:o.brokenRoute||this.brokenRoute,accessToken:o.accessToken||this.accessToken}))]}})}).apply(this,arguments)}},{key:"resolvePreviewURL",value:function(e){return h._(function(){var t,r,n,i,o,s,u,l;return j._(this,function(c){switch(c.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,a)&&("query"in v._(this,a)?(t=t||(null==(i=v._(this,a).query)?void 0:i.documentId),r=r||(null==(o=v._(this,a).query)?void 0:o.token)):"url"in v._(this,a)&&v._(this,a).url&&(s=new URL(v._(this,a).url,"missing-host://").searchParams,t=t||s.get("documentId"),r=r||s.get("token"))),null==t||null==r)return[3,2];return l=z.asLink,[4,this.getByID(t,{ref:r,lang:"*",signal:e.signal,fetchOptions:e.fetchOptions})];case 1:if("string"==typeof(u=l.apply(z,[c.sent(),{linkResolver:e.linkResolver}])))return[2,u];c.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 j._(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 j._(this,function(t){switch(t.label){case 0:return[4,this.getReleaseByLabel(e,r)];case 1:return[2,t.sent().ref]}})}).call(t)})}}
2,{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,o,a,s,u,c,d,f,h,p,v,g,m,y;return j._(this,function(b){switch(b.label){case 0:return i={accessToken:this.accessToken,fetchOptions:this.fetchOptions},[4,this.getRepository(i)];case 1:return o=b.sent(),[4,_._(this,l,G).call(this,i)];case 2:a=b.sent(),(s={})["prismic-ref"]=a,this.accessToken&&(s.authorization="Token ".concat(this.accessToken)),o.integrationFieldsRef&&(s["prismic-integration-field-ref"]=o.integrationFieldsRef),u=!0,c=!1,d=void 0;try{for(f=Object.entries(null!=(r=null==t?void 0:t.headers)?r:{})[Symbol.iterator]();!(u=(h=f.next()).done);u=!0)v=(p=x._(h.value,2))[0],g=p[1],s[v.toLowerCase()]=g}catch(e){c=!0,d=e}finally{try{u||null==f.return||f.return()}finally{if(c)throw d}}return y=(null!=(n=(m=new URL("string"==typeof e?e:e.url)).searchParams.get("query"))?n:"").replace(/(\n| )*( |{|})(\n| )*/gm,function(e,t,r){return r}),m.searchParams.set("query",y),m.searchParams.set("ref",a),[4,this.fetchFn(m.toString(),k._(T._({},t),{headers:s}))];case 3:return[2,b.sent()]}})}).call(this)}}]),e}()},276570,(e,t,r)=>{var n=e.r(88007);r.createClient=function(e,t){return new n.Client(e,t)}},175342,(e,t,r)=>{var n=e.r(266286).__exportAll({color:function(){return v},contentRelationship:function(){return f},date:function(){return h},embed:function(){return y},geoPoint:function(){return b},group:function(){return x},image:function(){return l},imageThumbnail:function(){return u},integration:function(){return S},integrationField:function(){return T},integrationFields:function(){return k},keyText:function(){return m},link:function(){return c},linkToMedia:function(){return d},number:function(){return g},repeatable:function(){return P},richText:function(){return a},select:function(){return _},sliceZone:function(){return R},table:function(){return w},timestamp:function(){return p},title:function(){return s}}),i=function(e){return null!=e},o=function(e){return!!e.length},a=function(e){return!!i(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length)},s=a,u=function(e){return i(e)&&!!e.url},l=u,c=function(e){return i(e)&&("id"in e||"url"in e)},d=c,f=c,h=i,p=i,v=i,g=i,m=function(e){return!!e},_=i,y=function(e){return i(e)&&!!e.embed_url},b=function(e){return i(e)&&"longitude"in e},w=i,S=i,T=S,k=S,P=function(e){return i(e)&&o(e)},x=function(e){return i(e)&&o(e)},R=function(e){return i(e)&&o(e)};r.imageThumbnail=u,Object.defineProperty(r,"isFilled_exports",{enumerable:!0,get:function(){return n}}),r.link=c},164574,(e,t,r)=>{var n=e.r(995075),i=e.r(127873);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}},466069,(e,t,r)=>{var n=e.r(995075),i=e.r(127873);r.PrismicMigrationDocument=function e(t,r,o){"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==o?void 0:o.masterLanguageDocument,this.originalPrismicDocument=null==o?void 0:o.originalPrismicDocument}},357047,(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())}),o=t[n];void 0===o?r.searchParams.delete(i):Array.isArray(o)?r.searchParams.set(i,o.join(",")):r.searchParams.set(i,"".concat(o))}var a=r.searchParams.get("s");return a&&(r.searchParams.delete("s"),r.searchParams.append("s",a)),r.toString()}},581294,(e,t,r)=>{"use strict";var n=e.r(344086),i=e.r(204571),o=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var a=e.r(357047);r.buildPixelDensitySrcSet=function(e,t){var r=t.pixelDensities,s=o._(t,["pixelDensities"]);return r.map(function(t){return"".concat(a.buildURL(e,i._(n._({},s),{dpr:t}))," ").concat(t,"x")}).join(", ")}},978485,(e,t,r)=>{"use strict";var n=e.r(344086),i=e.r(204571),o=e.r(95692);Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var a=e.r(357047);r.buildWidthSrcSet=function(e,t){var r=t.widths,s=o._(t,["widths"]);return r.map(function(t){return"".concat(a.buildURL(e,i._(n._({},s),{w:void 0,h:void 0,height:void 0,width:t}))," ").concat(t,"w")}).join(", ")}},341547,(e,t,r)=>{"use strict";var n=e.r(995075),i=e.r(882372),o=e.r(368996),a=Object.defineProperty,s=function(e,t,r){var n;return n=(void 0===t?"undefined":o._(t))!=="symbol"?t+"":t,n in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r};Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var u=e.r(581294),l=e.r(357047),c=e.r(978485);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]:{};
2return l.buildURL("".concat(new URL(e,this.baseURL)),t)}},{key:"buildWidthSrcSetForPath",value:function(e,t){return c.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}()},699748,(e,t,r)=>{"use strict";Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});var n=e.r(341547),i=e.r(357047),o=e.r(978485),a=e.r(581294);r.Client=n.Client,r.buildURL=i.buildURL,r.buildWidthSrcSet=o.buildWidthSrcSet,r.buildPixelDensitySrcSet=a.buildPixelDensitySrcSet},605500,(e,t,r)=>{"use strict";var n=e.r(344086),i=e.r(204571),o=e.r(95692),a=e.r(891470),s=e.r(998544),u=e.r(621991),l=e.r(368996);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return E}});var c=e.r(555682),d=e.r(190809),f=e.r(843476),h=d._(e.r(271645)),p=c._(e.r(174080)),v=c._(e.r(325633)),g=e.r(908927),m=e.r(987690),_=e.r(918556),y=e.r(65856),b=c._(e.r(1948)),w=e.r(818581),S={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function T(e,t,r,o,a,s,u){var l=null==e?void 0:e.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),null==r?void 0:r.current){var s=new Event("load");Object.defineProperty(s,"target",{writable:!1,value:e});var u=!1,l=!1;r.current(i._(n._({},s),{nativeEvent:s,currentTarget:e,target:e,isDefaultPrevented:function(){return u},isPropagationStopped:function(){return l},persist:function(){},preventDefault:function(){u=!0,s.preventDefault()},stopPropagation:function(){l=!0,s.stopPropagation()}}))}(null==o?void 0:o.current)&&o.current(e)}}))}function k(e){return h.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);var P="u"<typeof window?h.useEffect:h.useLayoutEffect,x=(0,h.forwardRef)(function(e,t){var r=s._([e,t]),u=r[0],l=r.slice(1),c=u.src,d=u.srcSet,p=u.sizes,v=u.height,g=u.width,m=u.decoding,_=u.className,y=u.style,b=u.fetchPriority,S=u.placeholder,x=u.loading,R=u.unoptimized,E=u.fill,A=u.onLoadRef,j=u.onLoadingCompleteRef,M=u.setBlurComplete,I=u.setShowAltText,D=u.sizesInput,L=(u.onLoad,u.onError),O=o._(u,["src","srcSet","sizes","height","width","decoding","className","style","fetchPriority","placeholder","loading","unoptimized","fill","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","sizesInput","onLoad","onError"]),C=a._(l,1)[0],z=(0,h.useRef)(!1),N=(0,h.useRef)(null);P(function(){var e=z.current,t=N.current;e||null===t||(L&&(t.src=t.src),t.complete&&T(t,S,A,j,M,R,D),z.current=!0)},[c,S,A,j,L,R,D]);var q=(0,w.useMergedRef)(C,N);return(0,f.jsx)("img",i._(n._({},O,k(b)),{loading:x,width:g,height:v,decoding:m,"data-nimg":E?"fill":"1",className:_,style:y,sizes:p,srcSet:d,src:c,ref:q,onLoad:function(e){T(e.currentTarget,S,A,j,M,R,D)},onError:function(e){I(!0),"empty"!==S&&M(!0),L&&L(e)}}))});function R(e){var t=e.isAppRouter,r=e.imgAttributes,i=n._({as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy},k(r.fetchPriority));return t&&p.default.preload?(p.default.preload(r.src,i),null):(0,f.jsx)(v.default,{children:(0,f.jsx)("link",n._({rel:"preload",href:r.srcSet?void 0:r.src},i),"__nimg-"+r.src+r.srcSet+r.sizes)})}var E=(0,h.forwardRef)(function(e,t){var r=(0,h.useContext)(y.RouterContext),o=(0,h.useContext)(_.ImageConfigContext),s=(0,h.useMemo)(function(){var e,t=S||o||m.imageConfigDefault,r=u._(t.deviceSizes).concat(u._(t.imageSizes)).sort(function(e,t){return e-t}),a=t.deviceSizes.sort(function(e,t){return e-t}),s=null==(e=t.qualities)?void 0:e.sort(function(e,t){return e-t});return i._(n._({},t),{allSizes:r,deviceSizes:a,qualities:s,localPatterns:"u"<typeof window?null==o?void 0:o.localPatterns:t.localPatterns})},[o]),l=e.onLoad,c=e.onLoadingComplete,d=(0,h.useRef)(l);(0,h.useEffect)(function(){d.current=l},[l]);var p=(0,h.useRef)(c);(0,h.useEffect)(function(){p.current=c},[c]);var v=a._((0,h.useState)(!1),2),w=v[0],T=v[1],k=a._((0,h.useState)(!1),2),P=k[0],E=k[1],A=(0,g.getImgProps)(e,{defaultLoader:b.default,imgConf:s,blurComplete:w,showAltText:P}),j=A.props,M=A.meta;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(x,i._(n._({},j),{unoptimized:M.unoptimized,placeholder:M.placeholder,fill:M.fill,onLoadRef:d,onLoadingCompleteRef:p,setBlurComplete:T,setShowAltText:E,sizesInput:e.sizes,ref:t})),M.preload?(0,f.jsx)(R,{isAppRouter:!r,imgAttributes:j}
2):null]})});("function"==typeof r.default||"object"===l._(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)},794909,(e,t,r)=>{"use strict";var n=e.r(891470);Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return d},getImageProps:function(){return c}};for(var o in i)Object.defineProperty(r,o,{enumerable:!0,get:i[o]});var a=e.r(555682),s=e.r(908927),u=e.r(605500),l=a._(e.r(1948));function c(e){var t=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}}).props,r=!0,i=!1,o=void 0;try{for(var a,u=Object.entries(t)[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var c=n._(a.value,2),d=c[0],f=c[1];void 0===f&&delete t[d]}}catch(e){i=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return{props:t}}var d=u.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},11459,(e,t,r)=>{var n=e.r(344086),i=e.r(95692),o=e.r(891470),a=e.r(998544),s=e.r(369211),u=e.r(649539),l=e.r(967971);e.r(25523);var c=e.r(374454),d=e.r(271645),f=e.r(843476),h=e.r(699748),p=e.r(657688);p=s.__toESM(p);var v=function(e){if("number"==typeof e||void 0===e)return e;var t=Number.parseInt(e);if(!Number.isNaN(t))return t};r.PrismicNextImage=(0,d.forwardRef)(function(e,t){var r=a._([e,t]),s=r[0],d=r.slice(1),g=s.field,m=s.imgixParams,_=void 0===m?{}:m,y=s.alt,b=s.fallbackAlt,w=s.fill,S=s.width,T=s.height,k=s.fallback,P=s.loader,x=void 0===P?l.imgixLoader:P,R=i._(s,["field","imgixParams","alt","fallbackAlt","fill","width","height","fallback","loader"]),E=o._(d,1)[0];if(!c.isFilled.imageThumbnail(g))return(0,f.jsx)(f.Fragment,{children:void 0===k?null:k});for(var A in _)null===_[A]&&(_[A]=void 0);var j=(0,h.buildURL)(g.url,_),M=g.dimensions.width/g.dimensions.height,I=v(S),D=v(T),L=null!=I?I:g.dimensions.width,O=null!=D?D:g.dimensions.height;null!=I&&null==D?O=I/M:null==I&&null!=D&&(L=D*M);var C=null!=y?y:g.alt||b;return(0,f.jsx)(u.resolveDefaultExport(p.default),n._({ref:E,src:j,width:w?void 0:L,height:w?void 0:O,alt:C,fill:w,loader:null===x?void 0:x},R))})},670965,(e,t,r)=>{"use strict";function n(e,t){var r,n=e||75;return(null==t||null==(r=t.qualities)?void 0:r.length)?t.qualities.reduce(function(e,t){return Math.abs(t-n)<Math.abs(e-n)?t:e},t.qualities[0]):n}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});var n=e.r(670965),i=e.r(543369);function o(e){var t,r=e.config,o=e.src,a=e.width,s=e.quality,u=(0,i.getDeploymentId)();if(o.startsWith("/")&&!o.startsWith("//"))if(o.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())u=void 0;else{var l=o.indexOf("?");if(-1!==l){var c=new URLSearchParams(o.slice(l+1)),d=c.get("dpl");if(d){u=d,c.delete("dpl");var f=c.toString();o=o.slice(0,l)+(f?"?"+f:"")}}}if(o.startsWith("/")&&o.includes("?")&&(null==(t=r.localPatterns)?void 0:t.length)===1&&"**"===r.localPatterns[0].pathname&&""===r.localPatterns[0].search)throw Object.defineProperty(Error('Image with src "'.concat(o,'" is using a query string which is not configured in images.localPatterns.')+"\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});var h=(0,n.findClosestQuality)(s,r);return"".concat(r.path,"?url=").concat(encodeURIComponent(o),"&w=").concat(a,"&q=").concat(h).concat(o.startsWith("/")&&u?"&dpl=".concat(u):"")}o.__next_img_default=!0;var a=o},488143,(e,t,r)=>{"use strict";function n(e){var t=e.widthInt,r=e.heightInt,n=e.blurWidth,i=e.blurHeight,o=e.blurDataURL,a=e.objectFit,s=n?40*n:t,u=i?40*i:r,l=s&&u?"viewBox='0 0 ".concat(s," ").concat(u,"'"):"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' ".concat(l,"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3
2E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='").concat(l?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none","' style='filter: url(%23b);' href='").concat(o,"'/%3E%3C/svg%3E")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},987690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return a}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});var o=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},908927,(e,t,r)=>{"use strict";var n=e.r(344086),i=e.r(204571),o=e.r(95692),a=e.r(891470),s=e.r(998544),u=e.r(621991),l=e.r(368996);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return g}});var c=e.r(543369),d=e.r(488143),f=e.r(987690),h=["-moz-initial","fill","none","scale-down",void 0];function p(e){return void 0!==e.default}function v(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function g(e,t){var r,g,m,_=s._([e,t]),y=_[0],b=_.slice(1),w=y.src,S=y.sizes,T=y.unoptimized,k=void 0!==T&&T,P=y.priority,x=void 0!==P&&P,R=y.preload,E=void 0!==R&&R,A=y.loading,j=y.className,M=y.quality,I=y.width,D=y.height,L=y.fill,O=void 0!==L&&L,C=y.style,z=y.overrideSrc,N=(y.onLoad,y.onLoadingComplete,y.placeholder),q=void 0===N?"empty":N,F=y.blurDataURL,U=y.fetchPriority,W=y.decoding,G=y.layout,B=y.objectFit,H=y.objectPosition,Z=(y.lazyBoundary,y.lazyRoot,o._(y,["src","sizes","unoptimized","priority","preload","loading","className","quality","width","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","decoding","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"])),Q=a._(b,1)[0],$=Q.imgConf,J=Q.showAltText,Y=Q.blurComplete,V=Q.defaultLoader,K=$||f.imageConfigDefault;if("allSizes"in K)X=K;else{var X,ee,et=u._(K.deviceSizes).concat(u._(K.imageSizes)).sort(function(e,t){return e-t}),er=K.deviceSizes.sort(function(e,t){return e-t}),en=null==(ee=K.qualities)?void 0:ee.sort(function(e,t){return e-t});X=i._(n._({},K),{allSizes:et,deviceSizes:er,qualities:en})}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});var ei=Z.loader||V;delete Z.loader,delete Z.srcSet;var eo="__next_img_default"in ei;if(eo){if("custom"===X.loader)throw Object.defineProperty(Error('Image with src "'.concat(w,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader"),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{var ea=ei;ei=function(e){return e.config,ea(o._(e,["config"]))}}if(G){"fill"===G&&(O=!0);var es={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[G];es&&(C=n._({},C,es));var eu={responsive:"100vw",fill:"100vw"}[G];eu&&!S&&(S=eu)}var el="",ec=v(I),ed=v(D);if((r=w)&&(void 0===r?"undefined":l._(r))==="object"&&(p(r)||void 0!==r.src)){var ef=p(w)?w.default:w;if(!ef.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(ef))),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,
2configurable:!0});if(!ef.height||!ef.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(ef))),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(g=ef.blurWidth,m=ef.blurHeight,F=F||ef.blurDataURL,el=ef.src,!O)if(ec||ed){if(ec&&!ed){var eh=ec/ef.width;ed=Math.round(ef.height*eh)}else if(!ec&&ed){var ep=ed/ef.height;ec=Math.round(ef.width*ep)}}else ec=ef.width,ed=ef.height}var ev=!x&&!E&&("lazy"===A||void 0===A);(!(w="string"==typeof w?w:el)||w.startsWith("data:")||w.startsWith("blob:"))&&(k=!0,ev=!1),X.unoptimized&&(k=!0),eo&&!X.dangerouslyAllowSVG&&w.split("?",1)[0].endsWith(".svg")&&(k=!0);var eg=v(M),em=Object.assign(O?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:H}:{},J?{}:{color:"transparent"},C),e_=Y||"empty"===q?null:"blur"===q?'url("data:image/svg+xml;charset=utf-8,'.concat((0,d.getImageBlurSvg)({widthInt:ec,heightInt:ed,blurWidth:g,blurHeight:m,blurDataURL:F||"",objectFit:em.objectFit}),'")'):'url("'.concat(q,'")'),ey=h.includes(em.objectFit)?"fill"===em.objectFit?"100% 100%":"cover":em.objectFit,eb=e_?{backgroundSize:ey,backgroundPosition:em.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:e_}:{},ew=function(e){var t=e.config,r=e.src,n=e.unoptimized,i=e.width,o=e.quality,a=e.sizes,s=e.loader;if(n){if(r.startsWith("/")&&!r.startsWith("//")){var l=(0,c.getDeploymentId)();if(r.includes("/_next/static/immutable")&&!(0,c.getAssetToken)())l=void 0;else if(l){var d=r.indexOf("?");
2if(-1!==d){var f=new URLSearchParams(r.slice(d+1));f.get("dpl")||(f.append("dpl",l),r=r.slice(0,d)+"?"+f.toString())}else r+="?dpl=".concat(l)}}return{src:r,srcSet:void 0,sizes:void 0}}var h=function(e,t,r){var n=e.deviceSizes,i=e.allSizes;if(r){for(var o=/(^|\s)(1?\d?\d)vw/g,a=[];s=o.exec(r);)a.push(parseInt(s[2]));if(a.length){var s,l,c=.01*(l=Math).min.apply(l,u._(a));return{widths:i.filter(function(e){return e>=n[0]*c}),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:u._(new Set([t,2*t].map(function(e){return i.find(function(t){return t>=e})||i[i.length-1]}))),kind:"x"}}(t,i,a),p=h.widths,v=h.kind,g=p.length-1;return{sizes:a||"w"!==v?a:"100vw",srcSet:p.map(function(e,n){return"".concat(s({config:t,src:r,quality:o,width:e})," ").concat("w"===v?e:n+1).concat(v)}).join(", "),src:s({config:t,src:r,quality:o,width:p[g]})}}({config:X,src:w,unoptimized:k,width:ec,quality:eg,sizes:S,loader:ei}),eS=ev?"lazy":A;return{props:i._(n._({},Z),{loading:eS,fetchPriority:U,width:ec,height:ed,decoding:void 0===W?"async":W,className:j,style:n._({},em,eb),sizes:ew.sizes,srcSet:ew.srcSet,src:z||ew.src}),meta:{unoptimized:k,preload:E||x,placeholder:q,fill:O}}}},918556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return o}});var n=e.r(555682)._(e.r(271645)),i=e.r(987690),o=n.default.createContext(i.imageConfigDefault)},84297,(e,t,r)=>{t.exports={id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]}},892135,(e,t,r)=>{"use strict";var n=e.r(621991);function i(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?Object.keys(e).filter(function(e){return r?!t.includes(e):t.includes(e)}).reduce(function(t,r){return t[r]=e[r],t},{}):{}}function o(e,t,r,n){var i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(function(e){r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function a(e,t,r,n,i){if(!t)return"<".concat(e,"></").concat(e,">");var a,s=(null==(a=t.src)?void 0:a.url)?Object.assign(Object.assign({},t),{src:o(t.src.url,t.src.params,n,i)}):t,u=Object.keys(Object.assign(Object.assign({},s),r)).reduce(function(e,t){var n=null==r?void 0:r[t],i=s[t],o=null!=n?n:i,a=!0===o?t:"".concat(t,'="').concat(o,'"');return o?e+" ".concat(a):e},"");return"<".concat(e).concat(u,"></").concat(e,">")}Object.defineProperty(r,"__esModule",{value:!0}),r.formatData=r.createHtml=r.formatUrl=void 0,r.formatUrl=o,r.createHtml=a,r.formatData=function(e,t){var r,s,u,l,c,d=i(t,null==(r=e.scripts)?void 0:r.reduce(function(e,t){return n._(e).concat(n._(Array.isArray(t.params)?t.params:[]))},[])),f=i(t,null==(u=null==(s=e.html)?void 0:s.attributes.src)?void 0:u.params),h=i(t,[null==(c=null==(l=e.html)?void 0:l.attributes.src)?void 0:c.slugParam]),p=i(t,n._(Object.keys(d)).concat(n._(Object.keys(f)),n._(Object.keys(h))),!0);return Object.assign(Object.assign({},e),{html:e.html?a(e.html.element,e.html.attributes,p,f,h):null,scripts:e.scripts?e.scripts.map(function(e){return Object.assign(Object.assign({},e),{url:o(e.url,e.params,d)})}):null})}},344602,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=void 0;var o=i(e.r(84297)),a=e.r(892135);r.GoogleAnalytics=function(e){var t=n(e,[]);return(0,a.formatData)(o.default,t)}},560262,(e,t,r)=>{t.exports={id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam
2:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}}},277813,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleMapsEmbed=void 0;var o=i(e.r(560262)),a=e.r(892135);r.GoogleMapsEmbed=function(e){var t=n(e,[]);return(0,a.formatData)(o.default,t)}},640674,(e,t,r)=>{t.exports={id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]}},515465,(e,t,r)=>{"use strict";var n=e.e&&e.e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=void 0;var o=i(e.r(640674)),a=e.r(892135);r.YouTubeEmbed=function(e){var t=n(e,[]);return(0,a.formatData)(o.default,t)}},981498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeEmbed=r.GoogleMapsEmbed=r.GoogleAnalytics=void 0;var n=e.r(344602);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=e.r(277813);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=e.r(515465);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},461316,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.html,r=e.height,o=void 0===r?null:r,a=e.width,s=void 0===a?null:a,u=e.children,l=e.dataNtpc,c=void 0===l?"":l;return(0,i.useEffect)(function(){c&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(c)}})},[c]),(0,n.jsxs)(n.Fragment,{children:[u,t?(0,n.jsx)("div",{style:{height:null!=o?"".concat(o,"px"):"auto",width:null!=s?"".concat(s,"px"):"auto"},"data-ntpc":c,dangerouslySetInnerHTML:{__html:t}}):null]})};var n=e.r(843476),i=e.r(271645)},667345,(e,t,r)=>{"use strict";var n=e.r(344086),i=e.r(204571),o=e.r(95692),a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=e.apiKey,r=o._(e,["apiKey"]),a=i._(n._({},r),{key:t}),c=(0,u.GoogleMapsEmbed)(a).html;return(0,s.jsx)(l.default,{height:a.height||null,width:a.width||null,html:c,dataNtpc:"GoogleMapsEmbed"})};var s=e.r(843476),u=e.r(981498),l=a(e.r(461316))},621783,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t=(0,a.YouTubeEmbed)(e),r=t.html,n=t.scripts,l=t.stylesheets;return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:r,dataNtpc:"YouTubeEmbed",children:null==n?void 0:n.map(function(e){return(0,i.jsx)(o.default,{src:e.url,strategy:u[e.strategy],stylesheets:l},e.url)})})};
2var i=e.r(843476),o=n(e.r(3303)),a=e.r(981498),s=n(e.r(461316)),u={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},19598,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGTMEvent=void 0,r.GoogleTagManager=function(e){var t=e.gtmId,r=e.gtmScriptUrl,n=e.dataLayerName,u=void 0===n?"dataLayer":n,l=e.auth,c=e.preview,d=e.dataLayer,f=e.nonce;s=u;var h=new URL(r||"https://www.googletagmanager.com/gtm.js");return t&&h.searchParams.set("id",t),"dataLayer"!==u&&h.searchParams.set("l",u),l&&h.searchParams.set("gtm_auth",l),c&&(h.searchParams.set("gtm_preview",c),h.searchParams.set("gtm_cookies_win","x")),(0,o.useEffect)(function(){performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(d?"w[l].push(".concat(JSON.stringify(d),")"):"","\n })(window,'").concat(u,"');")},nonce:f}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:h.href,nonce:f})]})};
2var i=e.r(843476),o=e.r(271645),a=n(e.r(3303)),s="dataLayer";r.sendGTMEvent=function(e,t){var r=t||s;window[r]=window[r]||[],window[r].push(e)}},654576,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.GoogleAnalytics=function(e){var t=e.gaId,r=e.debugMode,n=e.dataLayerName,u=void 0===n?"dataLayer":n,l=e.nonce;return void 0===s&&(s=u),(0,o.useEffect)(function(){performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(u,"'] = window['").concat(u,"'] || [];\n function gtag(){window['").concat(u,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(r?",{ 'debug_mode': true }":"",");")},nonce:l}),(0,i.jsx)(a.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:l})]})},r.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===s?console.warn("@next/third-parties: GA has not been initialized"):window[s]?window[s].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(s," does not exist"))};
2var i=e.r(843476),o=e.r(271645),a=n(e.r(3303)),s=void 0},387644,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.sendGAEvent=r.GoogleAnalytics=r.sendGTMEvent=r.GoogleTagManager=r.YouTubeEmbed=r.GoogleMapsEmbed=void 0;var i=e.r(667345);Object.defineProperty(r,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var o=e.r(621783);Object.defineProperty(r,"YouTubeEmbed",{enumerable:!0,get:function(){return n(o).default}});var a=e.r(19598);Object.defineProperty(r,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(r,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var s=e.r(654576);Object.defineProperty(r,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(r,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})}]); 3 4//# debugId=a2fe0a22-dcd7-b25c-f5f5-16877fd0ee52
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.