(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38941],{29729:function(e,t,n){Promise.resolve().then(n.bind(n,24373))},24373:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(27573),o=n(88216),c=n(93562),s=n(95565),i=n(55077),u=n(50525),a=n(7653),l=n(74946),f=n(92733);function d(e){let{error:t,reset:n}=e;const d=(0,o.ZP)("ErrorBoundary"),m=(0,f.m8)(),h=(0,u.Z)();return(0,a.useEffect)((()=>{c.ZP.error({error:(0,s.Xy)(t),digest:t.digest},"error boundary"),m.mutation(l.i0R,{input:{name:"ErrorBoundary",message:"Caught an error ".concat(t,": ").concat(t.digest)}}).toPromise().then((e=>console.log("error logged to server",e)))}),[t,m]),(0,r.jsx)(i.C,{title:d("title"),reload:d("reload"),report:d("report"),onReload:n,small:h})}},55077:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(27573),o=(n(7653),n(61852)),c=n(47379),s=n(50209),i=n(72500),u=n(64101),a=n(14832);function l(e){let{title:t,report:n,reload:l,onReload:f,small:d}=e;const m=(0,a.Z)();return(0,r.jsxs)(c.default,{maxWidth:"sm",className:"flex h-full flex-col items-center justify-center",children:[(0,r.jsx)(i.v,{size:82}),!d&&(0,r.jsx)(s.Z,{variant:"h4",align:"center",children:t}),(0,r.jsxs)(u.Z,{direction:"row",spacing:2,sx:{mt:3},children:[n&&(0,r.jsx)(o.default,{size:d?"small":void 0,component:"a",onClick:()=>m("reportBug"),children:n}),(0,r.jsx)(o.default,{size:d?"small":void 0,variant:"outlined",onClick:f,children:l})]})]})}},50525:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(67817),o=n(72159);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=(0,r.Z)();return(0,o.default)(t.breakpoints.down("sm"),{defaultMatches:e})}},14832:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},a:function(){return u}});var r=n(96277),o=n(3982),c=n(67754),s=n(85177);function i(){const[e,t]=(0,r.v1)("dialog",(0,r.S$)(r.Oi,"/"));return(0,o.$0)((function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t([e,...r],{history:"push",scroll:!1,shallow:!0})}))}function u(){const e=(0,s.__)(),t=i(),n=(0,c.usePathname)();return(0,o.$0)((r=>{t("youtube",r),e("video.clicked",n,{youtubeId:r})}))}},36169:function(e,t,n){"use strict";const r=(0,n(7653).createContext)(void 0);r.displayName="IntlContext",t.Z=r},81167:function(e,t,n){"use strict";var r;n.d(t,{Z:function(){return o},b:function(){return r}}),function(e){e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR"}(r||(r={}));class o extends Error{constructor(e,t,n){let r=e;t&&(r+=": "+t),super(r),this.key=n,this.short=e,t&&(this.originalMessage=t)}}},45974:function(e,t,n){"use strict";function r(e,t){return e?Object.keys(e).reduce(((n,r)=>(n[r]={timeZone:t,...e[r]},n)),{}):e}function o(e,t){const n=t?{...e,dateTime:r(e.dateTime,t)}:e;return{...n,date:null===n||void 0===n?void 0:n.dateTime,time:null===n||void 0===n?void 0:n.dateTime}}n.d(t,{Z:function(){return o}})},74712:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7653),o=n(36169);function c(){const e=(0,r.useContext)(o.Z);if(!e)throw new Error("No intl context found. Have you configured the provider?");return e}},88216:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l}});var r=n(7653),o=n(74712),c=n(90385),s=n(81167),i=n(45974),u=n(65112);function a(e,t,n){if(!e)throw new Error("No messages available at `".concat(n,"`."));let r=e;return t.split(".").forEach((e=>{const o=r[e];if(null==e||null==o)throw new Error("Could not resolve `".concat(t,"` in ").concat(n?"`".concat(n,"`"):"messages","."));r=o})),r}function l(e){const t=(0,o.Z)().messages;return(0,r.useEffect)((()=>{if(e)return d.add(e),()=>{d.delete(e),f()}}),[e]),function(e,t,n){const{defaultTranslationValues:l,formats:f,getMessageFallback:d,locale:m,onError:h,timeZone:E}=(0,o.Z)();e=e[n],t=t===n?void 0:t.slice((n+".").length);const I=(0,r.useRef)({}),g=(0,r.useMemo)((()=>{try{if(!e)throw new Error("No messages were configured on the provider.");const n=t?a(e,t):e;if(!n)throw new Error("No messages for namespace `".concat(t,"` found."));return n}catch(n){const e=new s.Z(s.b.MISSING_MESSAGE,n.message,t);return h(e),e}}),[e,t,h]);return(0,r.useMemo)((()=>{function e(e,n,r){const o=new s.Z(n,r,e);return h(o),d({error:o,key:e,namespace:t})}function n(n,o,h){var S;const v=I.current;if(g instanceof s.Z)return d({error:g,key:n,namespace:t});const y=g,N=[t,n].filter((e=>null!=e)).join(".");let p;if(null===(S=v[m])||void 0===S?void 0:S[N])p=v[m][N];else{let r;try{r=a(y,n,t)}catch(_){return e(n,s.b.MISSING_MESSAGE,_.message)}if("object"===typeof r)return e(n,s.b.INSUFFICIENT_PATH,"Insufficient path specified for `".concat(n,"` in `").concat(t?"`".concat(t,"`"):"messages","`."));try{p=new c.C(r,m,(0,i.Z)({...f,...h},E))}catch(_){return e(n,s.b.INVALID_MESSAGE,_.message)}v[m]||(v[m]={}),v[m][N]=p}try{const e=p.format((0,u.Z)({...l,...o}));if(null==e)throw new Error("Unable to format `".concat(n,"` in ").concat(t?"namespace `".concat(t,"`"):"messages"));return(0,r.isValidElement)(e)||Array.isArray(e)||"string"===typeof e?e:String(e)}catch(_){return e(n,s.b.FORMATTING_ERROR,_.message)}}function o(r,o,c){const i=n(r,o,c);return"string"!==typeof i?e(r,s.b.INVALID_MESSAGE,"The message `".concat(r,"` in ").concat(t?"namespace `".concat(t,"`"):"messages"," didn't resolve to a string. If you want to format rich text, use `t.rich` instead.")):i}return o.rich=n,o.raw=n=>{if(g instanceof s.Z)return d({error:g,key:n,namespace:t});const r=g;try{return a(r,n,t)}catch(o){return e(n,s.b.MISSING_MESSAGE,o.message)}},o}),[h,d,t,g,m,f,E,l])}({"!":t},e?"!.".concat(e):"!","!")}function f(){for(const e of m)e()}const d=new Set,m=new Set},65112:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7653);function o(e){if(0===Object.keys(e).length)return;const t={};return Object.keys(e).forEach((n=>{let o=0;const c=e[n];let s;s="function"===typeof c?e=>{const t=c(e);return(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{key:n+o++}):t}:c,t[n]=s})),t}}},function(e){e.O(0,[43285,698,60965,38936,90385,92733,61852,59190,46385,97712,3982,19467,96277,18639,74946,85177,81293,41782,1744],(function(){return t=29729,e(e.s=t);var t}));var t=e.O();_N_E=t}]);