diff --git a/build/index.html b/build/index.html index 1217d2a..893fb85 100644 --- a/build/index.html +++ b/build/index.html @@ -1,2 +1,2 @@ React App
\ No newline at end of file +(this["webpackJsonpmy-app"]=this["webpackJsonpmy-app"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(79)},function(e,t,n){"use strict";e.exports=n(58)},function(e,t,n){"use strict";n.d(t,"a",(function(){return ie})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return ue})),n.d(t,"d",(function(){return ye})),n.d(t,"e",(function(){return ee})),n.d(t,"f",(function(){return R})),n.d(t,"g",(function(){return O})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return T})),n.d(t,"j",(function(){return N})),n.d(t,"k",(function(){return we})),n.d(t,"l",(function(){return le})),n.d(t,"m",(function(){return ne})),n.d(t,"n",(function(){return Q})),n.d(t,"o",(function(){return U})),n.d(t,"p",(function(){return L})),n.d(t,"q",(function(){return te})),n.d(t,"r",(function(){return X}));var r=n(5),a=n(9),o=n(8),i=n(15),u=n(16),l=n(19),s=n(21),c=n(20),f=n(17);var d=n(28);function p(e,t,n){return p=Object(d.a)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&Object(f.a)(a,n.prototype),a},p.apply(null,arguments)}function h(e){var t="function"===typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,Object(c.a)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Object(f.a)(r,e)},h(e)}var v=n(6),m=n(25),y=n(27),g=n(14),b=n(26);var w,k=n(12),_=n(11);function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function I(e,t,n,r){void 0===r&&(r={});var a=r,o=a.window,i=void 0===o?document.defaultView:o,u=a.v5Compat,l=void 0!==u&&u,s=i.history,c=w.Pop,f=null,d=p();function p(){return(s.state||{idx:null}).idx}function h(){c=w.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function v(e){var t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:N(e);return R(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,s.replaceState(x({},s.state,{idx:d}),""));var m={get action(){return c},get location(){return e(i,s)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(S,h),f=e,function(){i.removeEventListener(S,h),f=null}},createHref:function(e){return t(i,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=w.Push;var r=A(m.location,e,t);n&&n(r,e);var a=j(r,d=p()+1),o=m.createHref(r);try{s.pushState(a,"",o)}catch(u){if(u instanceof DOMException&&"DataCloneError"===u.name)throw u;i.location.assign(o)}l&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=w.Replace;var r=A(m.location,e,t);n&&n(r,e);var a=j(r,d=p()),o=m.createHref(r);s.replaceState(a,"",o),l&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return s.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(E||(E={}));var M=new Set(["lazy","caseSensitive","path","id","index","children"]);function D(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map((function(e,a){var o=[].concat(Object(_.a)(n),[a]),i="string"===typeof e.id?e.id:o.join("-");if(R(!0!==e.index||!e.children,"Cannot specify children on an index route"),R(!r[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var u=x({},e,t(e),{id:i});return r[i]=u,u}var l=x({},e,t(e),{id:i,children:void 0});return r[i]=l,e.children&&(l.children=D(e.children,t,o,r)),l}))}function U(e,t,n){void 0===n&&(n="/");var r=X(("string"===typeof t?L(t):t).pathname||"/",n);if(null==r)return null;var a=z(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(a);for(var o=null,i=0;null==o&&i0&&(R(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),z(e.children,t,l,u)),(null!=e.path||e.index)&&t.push({path:u,score:Y(u,e.index),routesMeta:l})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=Object(k.a)(F(e.path));try{for(o.s();!(r=o.n()).done;){var i=r.value;a(e,t,i)}}catch(u){o.e(u)}finally{o.f()}}else a(e,t)})),t}function F(e){var t=e.split("/");if(0===t.length)return[];var n,r=(n=t,Object(m.a)(n)||Object(y.a)(n)||Object(g.a)(n)||Object(b.a)()),a=r[0],o=r.slice(1),i=a.endsWith("?"),u=a.replace(/\?$/,"");if(0===o.length)return i?[u,""]:[u];var l=F(o.join("/")),s=[];return s.push.apply(s,Object(_.a)(l.map((function(e){return""===e?u:[u,e].join("/")})))),i&&s.push.apply(s,Object(_.a)(l)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var B=/^:\w+$/,Z=3,V=2,H=1,W=10,$=-2,q=function(e){return"*"===e};function Y(e,t){var n=e.split("/"),r=n.length;return n.some(q)&&(r+=$),t&&(r+=V),n.filter((function(e){return!q(e)})).reduce((function(e,t){return e+(B.test(t)?Z:""===t?H:W)}),r)}function K(e,t){for(var n=e.routesMeta,r={},a="/",o=[],i=0;i and the router will parse it for you.'}function ee(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function te(e,t,n,r){var a;void 0===r&&(r=!1),"string"===typeof e?a=L(e):(R(!(a=x({},e)).pathname||!a.pathname.includes("?"),J("?","pathname","search",a)),R(!a.pathname||!a.pathname.includes("#"),J("#","pathname","hash",a)),R(!a.search||!a.search.includes("#"),J("#","search","hash",a)));var o,i=""===e||""===a.pathname,u=i?"/":a.pathname;if(r||null==u)o=n;else{var l=t.length-1;if(u.startsWith("..")){for(var s=u.split("/");".."===s[0];)s.shift(),l-=1;a.pathname=s.join("/")}o=l>=0?t[l]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?L(e):e,r=n.pathname,a=n.search,o=void 0===a?"":a,i=n.hash,u=void 0===i?"":i,l=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:l,search:ae(o),hash:oe(u)}}(a,o),f=u&&"/"!==u&&u.endsWith("/"),d=(i||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}var ne=function(e){return e.join("/").replace(/\/\/+/g,"/")},re=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},ae=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},oe=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},ie=function(e){Object(l.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n)}(h(Error));var ue=Object(i.a)((function e(t,n,r,a){Object(u.a)(this,e),void 0===a&&(a=!1),this.status=t,this.statusText=n||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}));function le(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var se=["post","put","patch","delete"],ce=new Set(se),fe=["get"].concat(se),de=new Set(fe),pe=new Set([301,302,303,307,308]),he=new Set([307,308]),ve={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},me={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ye={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ge=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,be=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}};function we(e){var t,n=e.window?e.window:"undefined"!==typeof window?window:void 0,i="undefined"!==typeof n&&"undefined"!==typeof n.document&&"undefined"!==typeof n.document.createElement,u=!i;if(R(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var l=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:l(e)}}}else t=be;var s,c={},f=D(e.routes,t,void 0,c),d=e.basename||"/",p=x({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),h=null,m=new Set,y=null,g=null,b=null,S=null!=e.hydrationData,T=U(f,e.history.location,d),O=null;if(null==T){var C=ze(404,{pathname:e.history.location.pathname}),j=Ue(f),N=j.matches,L=j.route;T=N,O=Object(o.a)({},L.id,C)}var I,M,z=!T.some((function(e){return e.route.lazy}))&&(!T.some((function(e){return e.route.loader}))||null!=e.hydrationData),F={historyAction:e.history.action,location:e.history.location,matches:T,initialized:z,navigation:ve,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},B=w.Pop,Z=!1,V=!1,H=!1,W=[],$=[],q=new Map,Y=0,K=-1,Q=new Map,G=new Set,J=new Map,ee=new Map,te=new Map,ne=!1;function re(e){F=x({},F,e),m.forEach((function(e){return e(F)}))}function ae(t,n){var r,a,o,i=null!=F.actionData&&null!=F.navigation.formMethod&&Ke(F.navigation.formMethod)&&"loading"===F.navigation.state&&!0!==(null==(r=t.state)?void 0:r._isRedirect);o=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:i?F.actionData:null;var u=n.loaderData?Me(F.loaderData,n.loaderData,n.matches||[],n.errors):F.loaderData,l=F.blockers;l.size>0&&(l=new Map(l)).forEach((function(e,t){return l.set(t,ye)}));var c=!0===Z||null!=F.navigation.formMethod&&Ke(F.navigation.formMethod)&&!0!==(null==(a=t.state)?void 0:a._isRedirect);s&&(f=s,s=void 0),V||B===w.Pop||(B===w.Push?e.history.push(t,t.state):B===w.Replace&&e.history.replace(t,t.state)),re(x({},n,{actionData:o,loaderData:u,historyAction:B,location:t,initialized:!0,navigation:ve,revalidation:"idle",restoreScrollPosition:ct(t,n.matches||F.matches),preventScrollReset:c,blockers:l})),B=w.Pop,Z=!1,V=!1,H=!1,W=[],$=[]}function oe(e,t){return ie.apply(this,arguments)}function ie(){return ie=Object(a.a)(Object(r.a)().mark((function t(n,a){var o,i,u,l,s,c,f,h,v,m,y;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("number"!==typeof n){t.next=3;break}return e.history.go(n),t.abrupt("return");case 3:if(o=ke(F.location,F.matches,d,p.v7_prependBasename,n,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),i=_e(p.v7_normalizeFormMethod,!1,o,a),u=i.path,l=i.submission,s=i.error,c=F.location,f=x({},f=A(F.location,u,a&&a.state),e.history.encodeLocation(f)),h=a&&null!=a.replace?a.replace:void 0,v=w.Push,!0===h?v=w.Replace:!1===h||null!=l&&Ke(l.formMethod)&&l.formAction===F.location.pathname+F.location.search&&(v=w.Replace),m=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,!(y=Je({currentLocation:c,nextLocation:f,historyAction:v}))){t.next=16;break}return Ge(y,{state:"blocked",location:f,proceed:function(){Ge(y,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),oe(n,a)},reset:function(){var e=new Map(F.blockers);e.set(y,ye),re({blockers:e})}}),t.abrupt("return");case 16:return t.next=18,ue(v,f,{submission:l,pendingError:s,preventScrollReset:m,replace:a&&a.replace});case 18:return t.abrupt("return",t.sent);case 19:case"end":return t.stop()}}),t)}))),ie.apply(this,arguments)}function ue(e,t,n){return le.apply(this,arguments)}function le(){return le=Object(a.a)(Object(r.a)().mark((function t(n,a,i){var u,l,c,p,h,v,m,y,g,b,w,k,_,E,S;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(M&&M.abort(),M=null,B=n,V=!0===(i&&i.startUninterruptedRevalidation),st(F.location,F.matches),Z=!0===(i&&i.preventScrollReset),u=s||f,l=i&&i.overrideNavigation,c=U(u,a,d)){t.next=15;break}return p=ze(404,{pathname:a.pathname}),h=Ue(u),v=h.matches,m=h.route,et(),ae(a,{matches:v,loaderData:{},errors:Object(o.a)({},m.id,p)}),t.abrupt("return");case 15:if(!F.initialized||H||!Ze(F.location,a)||i&&i.submission&&Ke(i.submission.formMethod)){t.next=18;break}return ae(a,{matches:c}),t.abrupt("return");case 18:if(M=new AbortController,y=je(e.history,a,M.signal,i&&i.submission),!i||!i.pendingError){t.next=24;break}b=Object(o.a)({},De(c).route.id,i.pendingError),t.next=34;break;case 24:if(!(i&&i.submission&&Ke(i.submission.formMethod))){t.next=34;break}return t.next=27,se(y,a,i.submission,c,{replace:i.replace});case 27:if(!(w=t.sent).shortCircuited){t.next=30;break}return t.abrupt("return");case 30:g=w.pendingActionData,b=w.pendingActionError,l=rt(a,i.submission),y=new Request(y.url,{signal:y.signal});case 34:return t.next=36,fe(y,a,c,l,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,g,b);case 36:if(k=t.sent,_=k.shortCircuited,E=k.loaderData,S=k.errors,!_){t.next=42;break}return t.abrupt("return");case 42:M=null,ae(a,x({matches:c},g?{actionData:g}:{},{loaderData:E,errors:S}));case 44:case"end":return t.stop()}}),t)}))),le.apply(this,arguments)}function se(e,t,n,r,a){return ce.apply(this,arguments)}function ce(){return ce=Object(a.a)(Object(r.a)().mark((function e(n,a,i,u,l){var s,f,p,h;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===l&&(l={}),Pe(),re({navigation:at(a,i)}),(f=tt(u,a)).route.action||f.route.lazy){e.next=9;break}s={type:E.error,error:ze(405,{method:n.method,pathname:a.pathname,routeId:f.route.id})},e.next=14;break;case 9:return e.next=11,Re("action",n,f,u,c,t,d);case 11:if(s=e.sent,!n.signal.aborted){e.next=14;break}return e.abrupt("return",{shortCircuited:!0});case 14:if(!We(s)){e.next=19;break}return p=l&&null!=l.replace?l.replace:s.location===F.location.pathname+F.location.search,e.next=18,Se(F,s,{submission:i,replace:p});case 18:return e.abrupt("return",{shortCircuited:!0});case 19:if(!He(s)){e.next=23;break}return h=De(u,f.route.id),!0!==(l&&l.replace)&&(B=w.Push),e.abrupt("return",{pendingActionData:{},pendingActionError:Object(o.a)({},h.route.id,s.error)});case 23:if(!Ve(s)){e.next=25;break}throw ze(400,{type:"defer-action"});case 25:return e.abrupt("return",{pendingActionData:Object(o.a)({},f.route.id,s.data)});case 26:case"end":return e.stop()}}),e)}))),ce.apply(this,arguments)}function fe(e,t,n,r,a,o,i,u,l){return de.apply(this,arguments)}function de(){return de=Object(a.a)(Object(r.a)().mark((function t(n,a,o,i,u,l,c,p,h){var m,y,g,b,w,k,_,E,S,T,O,C,R,P,j,A,N,L,I,D,U,z;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(m=i||rt(a,u),y=u||l||nt(m),g=s||f,b=Ee(e.history,F,o,y,a,H,W,$,J,G,g,d,p,h),w=Object(v.a)(b,2),k=w[0],_=w[1],et((function(e){return!(o&&o.some((function(t){return t.route.id===e})))||k&&k.some((function(t){return t.route.id===e}))})),K=++Y,0!==k.length||0!==_.length){t.next=10;break}return E=$e(),ae(a,x({matches:o,loaderData:{},errors:h||null},p?{actionData:p}:{},E?{fetchers:new Map(F.fetchers)}:{})),t.abrupt("return",{shortCircuited:!0});case 10:return V||(_.forEach((function(e){var t=F.fetchers.get(e.key),n=ot(void 0,t?t.data:void 0);F.fetchers.set(e.key,n)})),S=p||F.actionData,re(x({navigation:m},S?0===Object.keys(S).length?{actionData:null}:{actionData:S}:{},_.length>0?{fetchers:new Map(F.fetchers)}:{}))),_.forEach((function(e){q.has(e.key)&&Le(e.key),e.controller&&q.set(e.key,e.controller)})),T=function(){return _.forEach((function(e){return Le(e.key)}))},M&&M.signal.addEventListener("abort",T),t.next=16,Oe(F.matches,o,k,_,n);case 16:if(O=t.sent,C=O.results,R=O.loaderResults,P=O.fetcherResults,!n.signal.aborted){t.next=22;break}return t.abrupt("return",{shortCircuited:!0});case 22:if(M&&M.signal.removeEventListener("abort",T),_.forEach((function(e){return q.delete(e.key)})),!(j=Fe(C))){t.next=30;break}return j.idx>=k.length&&(A=_[j.idx-k.length].key,G.add(A)),t.next=29,Se(F,j.result,{replace:c});case 29:return t.abrupt("return",{shortCircuited:!0});case 30:return N=Ie(F,o,k,R,h,_,P,ee),L=N.loaderData,I=N.errors,ee.forEach((function(e,t){e.subscribe((function(n){(n||e.done)&&ee.delete(t)}))})),D=$e(),U=qe(K),z=D||U||_.length>0,t.abrupt("return",x({loaderData:L,errors:I},z?{fetchers:new Map(F.fetchers)}:{}));case 36:case"end":return t.stop()}}),t)}))),de.apply(this,arguments)}function pe(e){return F.fetchers.get(e)||me}function we(){return we=Object(a.a)(Object(r.a)().mark((function n(a,i,u,l,p,h){var m,y,g,b,w,k,_,E,S,T,O,C,P,j,A,N,L,I,D,z,Z,V,X,te,ne,oe,ie,ue,le,se,ce;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(Pe(),J.delete(a),l.route.action||l.route.lazy){n.next=6;break}return m=ze(405,{method:h.formMethod,pathname:u,routeId:i}),Ae(a,i,m),n.abrupt("return");case 6:return y=F.fetchers.get(a),g=it(h,y),F.fetchers.set(a,g),re({fetchers:new Map(F.fetchers)}),b=new AbortController,w=je(e.history,u,b.signal,h),q.set(a,b),k=Y,n.next=16,Re("action",w,l,p,c,t,d);case 16:if(_=n.sent,!w.signal.aborted){n.next=20;break}return q.get(a)===b&&q.delete(a),n.abrupt("return");case 20:if(!We(_)){n.next=34;break}if(q.delete(a),!(K>k)){n.next=29;break}return E=ut(void 0),F.fetchers.set(a,E),re({fetchers:new Map(F.fetchers)}),n.abrupt("return");case 29:return G.add(a),S=ot(h),F.fetchers.set(a,S),re({fetchers:new Map(F.fetchers)}),n.abrupt("return",Se(F,_,{submission:h,isFetchActionRedirect:!0}));case 34:if(!He(_)){n.next=37;break}return Ae(a,i,_.error),n.abrupt("return");case 37:if(!Ve(_)){n.next=39;break}throw ze(400,{type:"defer-action"});case 39:return T=F.navigation.location||F.location,O=je(e.history,T,b.signal),C=s||f,R(P="idle"!==F.navigation.state?U(C,F.navigation.location,d):F.matches,"Didn't find any matches after fetcher action"),j=++Y,Q.set(a,j),A=ot(h,_.data),F.fetchers.set(a,A),N=Ee(e.history,F,P,h,T,H,W,$,J,G,C,d,Object(o.a)({},l.route.id,_.data),void 0),L=Object(v.a)(N,2),I=L[0],(D=L[1]).filter((function(e){return e.key!==a})).forEach((function(e){var t=e.key,n=F.fetchers.get(t),r=ot(void 0,n?n.data:void 0);F.fetchers.set(t,r),q.has(t)&&Le(t),e.controller&&q.set(t,e.controller)})),re({fetchers:new Map(F.fetchers)}),z=function(){return D.forEach((function(e){return Le(e.key)}))},b.signal.addEventListener("abort",z),n.next=55,Oe(F.matches,P,I,D,O);case 55:if(Z=n.sent,V=Z.results,X=Z.loaderResults,te=Z.fetcherResults,!b.signal.aborted){n.next=61;break}return n.abrupt("return");case 61:if(b.signal.removeEventListener("abort",z),Q.delete(a),q.delete(a),D.forEach((function(e){return q.delete(e.key)})),!(ne=Fe(V))){n.next=69;break}return ne.idx>=I.length&&(oe=D[ne.idx-I.length].key,G.add(oe)),n.abrupt("return",Se(F,ne.result));case 69:ie=Ie(F,F.matches,I,X,void 0,D,te,ee),ue=ie.loaderData,le=ie.errors,F.fetchers.has(a)&&(se=ut(_.data),F.fetchers.set(a,se)),ce=qe(j),"loading"===F.navigation.state&&j>K?(R(B,"Expected pending action"),M&&M.abort(),ae(F.navigation.location,{matches:P,loaderData:ue,errors:le,fetchers:new Map(F.fetchers)})):(re(x({errors:le,loaderData:Me(F.loaderData,ue,P,le)},ce||D.length>0?{fetchers:new Map(F.fetchers)}:{})),H=!1);case 73:case"end":return n.stop()}}),n)}))),we.apply(this,arguments)}function xe(){return xe=Object(a.a)(Object(r.a)().mark((function n(a,i,u,l,s,f){var p,h,v,m,y,g,b,w,k;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return p=F.fetchers.get(a),h=ot(f,p?p.data:void 0),F.fetchers.set(a,h),re({fetchers:new Map(F.fetchers)}),v=new AbortController,m=je(e.history,u,v.signal),q.set(a,v),y=Y,n.next=10,Re("loader",m,l,s,c,t,d);case 10:if(!Ve(g=n.sent)){n.next=18;break}return n.next=14,Xe(g,m.signal,!0);case 14:if(n.t0=n.sent,n.t0){n.next=17;break}n.t0=g;case 17:g=n.t0;case 18:if(q.get(a)===v&&q.delete(a),!m.signal.aborted){n.next=21;break}return n.abrupt("return");case 21:if(!We(g)){n.next=33;break}if(!(K>y)){n.next=29;break}return b=ut(void 0),F.fetchers.set(a,b),re({fetchers:new Map(F.fetchers)}),n.abrupt("return");case 29:return G.add(a),n.next=32,Se(F,g);case 32:return n.abrupt("return");case 33:if(!He(g)){n.next=38;break}return w=De(F.matches,i),F.fetchers.delete(a),re({fetchers:new Map(F.fetchers),errors:Object(o.a)({},w.route.id,g.error)}),n.abrupt("return");case 38:R(!Ve(g),"Unhandled fetcher deferred data"),k=ut(g.data),F.fetchers.set(a,k),re({fetchers:new Map(F.fetchers)});case 42:case"end":return n.stop()}}),n)}))),xe.apply(this,arguments)}function Se(e,t,n){return Te.apply(this,arguments)}function Te(){return Te=Object(a.a)(Object(r.a)().mark((function t(a,o,u){var l,s,c,f,p,h,v,m,y,g;return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=(l=void 0===u?{}:u).submission,c=l.replace,f=l.isFetchActionRedirect,o.revalidate&&(H=!0),R(p=A(a.location,o.location,x({_isRedirect:!0},f?{_isFetchActionRedirect:!0}:{})),"Expected a location on the redirect navigation"),!ge.test(o.location)||!i){t.next=10;break}if(h=e.history.createURL(o.location),v=null==X(h.pathname,d),n.location.origin===h.origin&&!v){t.next=10;break}return c?n.location.replace(o.location):n.location.assign(o.location),t.abrupt("return");case 10:if(M=null,m=!0===c?w.Replace:w.Push,y=s||nt(a.navigation),!(he.has(o.status)&&y&&Ke(y.formMethod))){t.next=18;break}return t.next=16,ue(m,p,{submission:x({},y,{formAction:o.location}),preventScrollReset:Z});case 16:case 21:t.next=26;break;case 18:if(!f){t.next=23;break}return t.next=21,ue(m,p,{overrideNavigation:rt(p),fetcherSubmission:y,preventScrollReset:Z});case 23:return g=rt(p,y),t.next=26,ue(m,p,{overrideNavigation:g,preventScrollReset:Z});case 26:case"end":return t.stop()}}),t)}))),Te.apply(this,arguments)}function Oe(e,t,n,r,a){return Ce.apply(this,arguments)}function Ce(){return Ce=Object(a.a)(Object(r.a)().mark((function n(a,o,i,u,l){var s,f,p;return Object(r.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([].concat(Object(_.a)(i.map((function(e){return Re("loader",l,e,o,c,t,d)}))),Object(_.a)(u.map((function(n){return n.matches&&n.match&&n.controller?Re("loader",je(e.history,n.path,n.controller.signal),n.match,n.matches,c,t,d):{type:E.error,error:ze(404,{pathname:n.path})}})))));case 2:return s=n.sent,f=s.slice(0,i.length),p=s.slice(i.length),n.next=7,Promise.all([Qe(a,i,f,f.map((function(){return l.signal})),!1,F.loaderData),Qe(a,u.map((function(e){return e.match})),p,u.map((function(e){return e.controller?e.controller.signal:null})),!0)]);case 7:return n.abrupt("return",{results:s,loaderResults:f,fetcherResults:p});case 8:case"end":return n.stop()}}),n)}))),Ce.apply(this,arguments)}function Pe(){var e;H=!0,(e=W).push.apply(e,Object(_.a)(et())),J.forEach((function(e,t){q.has(t)&&($.push(t),Le(t))}))}function Ae(e,t,n){var r=De(F.matches,t);Ne(e),re({errors:Object(o.a)({},r.route.id,n),fetchers:new Map(F.fetchers)})}function Ne(e){var t=F.fetchers.get(e);!q.has(e)||t&&"loading"===t.state&&Q.has(e)||Le(e),J.delete(e),Q.delete(e),G.delete(e),F.fetchers.delete(e)}function Le(e){var t=q.get(e);R(t,"Expected fetch controller: "+e),t.abort(),q.delete(e)}function Be(e){var t,n=Object(k.a)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value,a=ut(pe(r).data);F.fetchers.set(r,a)}}catch(o){n.e(o)}finally{n.f()}}function $e(){var e,t=[],n=!1,r=Object(k.a)(G);try{for(r.s();!(e=r.n()).done;){var a=e.value,o=F.fetchers.get(a);R(o,"Expected fetcher: "+a),"loading"===o.state&&(G.delete(a),t.push(a),n=!0)}}catch(i){r.e(i)}finally{r.f()}return Be(t),n}function qe(e){var t,n=[],r=Object(k.a)(Q);try{for(r.s();!(t=r.n()).done;){var a=Object(v.a)(t.value,2),o=a[0];if(a[1]0}function Ye(e){F.blockers.delete(e),te.delete(e)}function Ge(e,t){var n=F.blockers.get(e)||ye;R("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);var r=new Map(F.blockers);r.set(e,t),re({blockers:r})}function Je(e){var t=e.currentLocation,n=e.nextLocation,r=e.historyAction;if(0!==te.size){te.size>1&&P(!1,"A router only supports one blocker at a time");var a=Array.from(te.entries()),o=Object(v.a)(a[a.length-1],2),i=o[0],u=o[1],l=F.blockers.get(i);if(!l||"proceeding"!==l.state)return u({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}}function et(e){var t=[];return ee.forEach((function(n,r){e&&!e(r)||(n.cancel(),t.push(r),ee.delete(r))})),t}function lt(e,t){if(g){var n=g(e,t.map((function(e){return function(e,t){var n=e.route,r=e.pathname,a=e.params;return{id:n.id,pathname:r,params:a,data:t[n.id],handle:n.handle}}(e,F.loaderData)})));return n||e.key}return e.key}function st(e,t){if(y&&b){var n=lt(e,t);y[n]=b()}}function ct(e,t){if(y){var n=lt(e,t),r=y[n];if("number"===typeof r)return r}return null}return I={get basename(){return d},get state(){return F},get routes(){return f},initialize:function(){return h=e.history.listen((function(t){var n=t.action,r=t.location,a=t.delta;if(!ne){P(0===te.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");var o=Je({currentLocation:F.location,nextLocation:r,historyAction:n});return o&&null!=a?(ne=!0,e.history.go(-1*a),void Ge(o,{state:"blocked",location:r,proceed:function(){Ge(o,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),e.history.go(a)},reset:function(){var e=new Map(F.blockers);e.set(o,ye),re({blockers:e})}})):ue(n,r)}ne=!1})),F.initialized||ue(w.Pop,F.location),I},subscribe:function(e){return m.add(e),function(){return m.delete(e)}},enableScrollRestoration:function(e,t,n){if(y=e,b=t,g=n||null,!S&&F.navigation===ve){S=!0;var r=ct(F.location,F.matches);null!=r&&re({restoreScrollPosition:r})}return function(){y=null,b=null,g=null}},navigate:oe,fetch:function(e,t,n,r){if(u)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(e)&&Le(e);var a=s||f,o=ke(F.location,F.matches,d,p.v7_prependBasename,n,t,null==r?void 0:r.relative),i=U(a,o,d);if(i){var l=_e(p.v7_normalizeFormMethod,!0,o,r),c=l.path,h=l.submission,v=l.error;if(v)Ae(e,t,v);else{var m=tt(i,c);Z=!0===(r&&r.preventScrollReset),h&&Ke(h.formMethod)?function(e,t,n,r,a,o){we.apply(this,arguments)}(e,t,c,m,i,h):(J.set(e,{routeId:t,path:c}),function(e,t,n,r,a,o){xe.apply(this,arguments)}(e,t,c,m,i,h))}}else Ae(e,t,ze(404,{pathname:o}))},revalidate:function(){Pe(),re({revalidation:"loading"}),"submitting"!==F.navigation.state&&("idle"!==F.navigation.state?ue(B||F.historyAction,F.navigation.location,{overrideNavigation:F.navigation}):ue(F.historyAction,F.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:pe,deleteFetcher:Ne,dispose:function(){h&&h(),m.clear(),M&&M.abort(),F.fetchers.forEach((function(e,t){return Ne(t)})),F.blockers.forEach((function(e,t){return Ye(t)}))},getBlocker:function(e,t){var n=F.blockers.get(e)||ye;return te.get(e)!==t&&te.set(e,t),n},deleteBlocker:Ye,_internalFetchControllers:q,_internalActiveDeferreds:ee,_internalSetRoutes:function(e){s=D(e,t,void 0,c={})}},I}Symbol("deferred");function ke(e,t,n,r,a,o,i){var u,l;if(null!=o&&"path"!==i){u=[];var s,c=Object(k.a)(t);try{for(c.s();!(s=c.n()).done;){var f=s.value;if(u.push(f),f.route.id===o){l=f;break}}}catch(p){c.e(p)}finally{c.f()}}else u=t,l=t[t.length-1];var d=te(a||".",ee(u).map((function(e){return e.pathnameBase})),X(e.pathname,n)||e.pathname,"path"===i);return null==a&&(d.search=e.search,d.hash=e.hash),null!=a&&""!==a&&"."!==a||!l||!l.route.index||et(d.search)||(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&"/"!==n&&(d.pathname="/"===d.pathname?n:ne([n,d.pathname])),N(d)}function _e(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!Ye(r.formMethod))return{path:n,error:ze(405,{method:r.formMethod})};var a,o,i=function(){return{path:n,error:ze(400,{type:"invalid-body"})}},u=r.formMethod||"get",l=e?u.toUpperCase():u.toLowerCase(),s=Be(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!Ke(l))return i();var c="string"===typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((function(e,t){var n=Object(v.a)(t,2);return""+e+n[0]+"="+n[1]+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:l,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:c}}}if("application/json"===r.formEncType){if(!Ke(l))return i();try{var f="string"===typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:s,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch(h){return i()}}}if(R("function"===typeof FormData,"FormData is not available in this environment"),r.formData)a=Ae(r.formData),o=r.formData;else if(r.body instanceof FormData)a=Ae(r.body),o=r.body;else if(r.body instanceof URLSearchParams)o=Ne(a=r.body);else if(null==r.body)a=new URLSearchParams,o=new FormData;else try{o=Ne(a=new URLSearchParams(r.body))}catch(h){return i()}var d={formMethod:l,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Ke(d.formMethod))return{path:n,submission:d};var p=L(n);return t&&p.search&&et(p.search)&&a.append("index",""),p.search="?"+a,{path:N(p),submission:d}}function xe(e,t){var n=e;if(t){var r=e.findIndex((function(e){return e.route.id===t}));r>=0&&(n=e.slice(0,r))}return n}function Ee(e,t,n,r,a,o,i,u,l,s,c,f,d,p){var h=p?Object.values(p)[0]:d?Object.values(d)[0]:void 0,v=e.createURL(t.location),m=e.createURL(a),y=p?Object.keys(p)[0]:void 0,g=xe(n,y).filter((function(e,n){if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){var r=!t||n.route.id!==t.route.id,a=void 0===e[n.route.id];return r||a}(t.loaderData,t.matches[n],e)||i.some((function(t){return t===e.route.id})))return!0;var a=t.matches[n],u=e;return Te(e,x({currentUrl:v,currentParams:a.params,nextUrl:m,nextParams:u.params},r,{actionResult:h,defaultShouldRevalidate:o||v.pathname+v.search===m.pathname+m.search||v.search!==m.search||Se(a,u)}))})),b=[];return l.forEach((function(e,a){if(n.some((function(t){return t.route.id===e.routeId}))){var i=U(c,e.path,f);if(i){var l=t.fetchers.get(a),d=tt(i,e.path);!s.has(a)&&(!!u.includes(a)||(l&&"idle"!==l.state&&void 0===l.data?o:Te(d,x({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:o}))))&&b.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:d,controller:new AbortController})}else b.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}})),[g,b]}function Se(e,t){var n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Te(e,t){if(e.route.shouldRevalidate){var n=e.route.shouldRevalidate(t);if("boolean"===typeof n)return n}return t.defaultShouldRevalidate}function Oe(e,t,n){return Ce.apply(this,arguments)}function Ce(){return(Ce=Object(a.a)(Object(r.a)().mark((function e(t,n,a){var o,i,u,l,s,c;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.lazy){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.lazy();case 4:if(o=e.sent,t.lazy){e.next=7;break}return e.abrupt("return");case 7:for(l in R(i=a[t.id],"No route found in manifest"),u={},o)s=i[l],P(!(c=void 0!==s&&"hasErrorBoundary"!==l),'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+l+'" will be ignored.'),c||M.has(l)||(u[l]=o[l]);Object.assign(i,u),Object.assign(i,x({},n(i),{lazy:void 0}));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(e,t,n,r,a,o,i,u){return Pe.apply(this,arguments)}function Pe(){return(Pe=Object(a.a)(Object(r.a)().mark((function e(t,n,a,o,i,u,l,s){var c,f,d,p,h,v,m,y,g,b,w,k,_,x,S,T,O,C;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s&&(s={}),p=function(e){var t,r=new Promise((function(e,n){return t=n}));return d=function(){return t()},n.signal.addEventListener("abort",d),Promise.race([e({request:n,params:a.params,context:s.requestContext}),r])},e.prev=2,h=a.route[t],!a.route.lazy){e.next=30;break}if(!h){e.next=12;break}return e.next=8,Promise.all([p(h),Oe(a.route,u,i)]);case 8:v=e.sent,f=v[0],e.next=28;break;case 12:return e.next=14,Oe(a.route,u,i);case 14:if(!(h=a.route[t])){e.next=21;break}return e.next=18,p(h);case 18:f=e.sent,e.next=28;break;case 21:if("action"!==t){e.next=27;break}throw m=new URL(n.url),y=m.pathname+m.search,ze(405,{method:n.method,pathname:y,routeId:a.route.id});case 27:return e.abrupt("return",{type:E.data,data:void 0});case 28:e.next=39;break;case 30:if(h){e.next=36;break}throw g=new URL(n.url),ze(404,{pathname:g.pathname+g.search});case 36:return e.next=38,p(h);case 38:f=e.sent;case 39:R(void 0!==f,"You defined "+("action"===t?"an action":"a loader")+' for route "'+a.route.id+"\" but didn't return anything from your `"+t+"` function. Please return a value or `null`."),e.next=46;break;case 42:e.prev=42,e.t0=e.catch(2),c=E.error,f=e.t0;case 46:return e.prev=46,d&&n.signal.removeEventListener("abort",d),e.finish(46);case 49:if(!qe(f)){e.next=74;break}if(b=f.status,!pe.has(b)){e.next=59;break}if(R(w=f.headers.get("Location"),"Redirects returned/thrown from loaders/actions must have a Location header"),ge.test(w)?s.isStaticRequest||(k=new URL(n.url),_=w.startsWith("//")?new URL(k.protocol+w):new URL(w),x=null!=X(_.pathname,l),_.origin===k.origin&&x&&(w=_.pathname+_.search+_.hash)):w=ke(new URL(n.url),o.slice(0,o.indexOf(a)+1),l,!0,w),!s.isStaticRequest){e.next=58;break}throw f.headers.set("Location",w),f;case 58:return e.abrupt("return",{type:E.redirect,status:b,location:w,revalidate:null!==f.headers.get("X-Remix-Revalidate")});case 59:if(!s.isRouteRequest){e.next=61;break}throw{type:c||E.data,response:f};case 61:if(!(T=f.headers.get("Content-Type"))||!/\bapplication\/json\b/.test(T)){e.next=68;break}return e.next=65,f.json();case 65:S=e.sent,e.next=71;break;case 68:return e.next=70,f.text();case 70:S=e.sent;case 71:if(c!==E.error){e.next=73;break}return e.abrupt("return",{type:c,error:new ue(b,f.statusText,S),headers:f.headers});case 73:return e.abrupt("return",{type:E.data,data:S,statusCode:f.status,headers:f.headers});case 74:if(c!==E.error){e.next=76;break}return e.abrupt("return",{type:c,error:f});case 76:if(!$e(f)){e.next=78;break}return e.abrupt("return",{type:E.deferred,deferredData:f,statusCode:null==(O=f.init)?void 0:O.status,headers:(null==(C=f.init)?void 0:C.headers)&&new Headers(f.init.headers)});case 78:return e.abrupt("return",{type:E.data,data:f});case 79:case"end":return e.stop()}}),e,null,[[2,42,46,49]])})))).apply(this,arguments)}function je(e,t,n,r){var a=e.createURL(Be(t)).toString(),o={signal:n};if(r&&Ke(r.formMethod)){var i=r.formMethod,u=r.formEncType;o.method=i.toUpperCase(),"application/json"===u?(o.headers=new Headers({"Content-Type":u}),o.body=JSON.stringify(r.json)):"text/plain"===u?o.body=r.text:"application/x-www-form-urlencoded"===u&&r.formData?o.body=Ae(r.formData):o.body=r.formData}return new Request(a,o)}function Ae(e){var t,n=new URLSearchParams,r=Object(k.a)(e.entries());try{for(r.s();!(t=r.n()).done;){var a=Object(v.a)(t.value,2),o=a[0],i=a[1];n.append(o,"string"===typeof i?i:i.name)}}catch(u){r.e(u)}finally{r.f()}return n}function Ne(e){var t,n=new FormData,r=Object(k.a)(e.entries());try{for(r.s();!(t=r.n()).done;){var a=Object(v.a)(t.value,2),o=a[0],i=a[1];n.append(o,i)}}catch(u){r.e(u)}finally{r.f()}return n}function Le(e,t,n,r,a){var o,i={},u=null,l=!1,s={};return n.forEach((function(n,c){var f=t[c].route.id;if(R(!We(n),"Cannot handle redirect results in processLoaderData"),He(n)){var d=De(e,f),p=n.error;r&&(p=Object.values(r)[0],r=void 0),null==(u=u||{})[d.route.id]&&(u[d.route.id]=p),i[f]=void 0,l||(l=!0,o=le(n.error)?n.error.status:500),n.headers&&(s[f]=n.headers)}else Ve(n)?(a.set(f,n.deferredData),i[f]=n.deferredData.data):i[f]=n.data,null==n.statusCode||200===n.statusCode||l||(o=n.statusCode),n.headers&&(s[f]=n.headers)})),r&&(u=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:u,statusCode:o||200,loaderHeaders:s}}function Ie(e,t,n,r,a,i,u,l){for(var s=Le(t,n,r,a,l),c=s.loaderData,f=s.errors,d=0;d=0;t--){var n=e[t];if(We(n))return{result:n,idx:t}}}function Be(e){return N(x({},"string"===typeof e?L(e):e,{hash:""}))}function Ze(e,t){return e.pathname===t.pathname&&e.search===t.search&&(""===e.hash?""!==t.hash:e.hash===t.hash||""!==t.hash)}function Ve(e){return e.type===E.deferred}function He(e){return e.type===E.error}function We(e){return(e&&e.type)===E.redirect}function $e(e){var t=e;return t&&"object"===typeof t&&"object"===typeof t.data&&"function"===typeof t.subscribe&&"function"===typeof t.cancel&&"function"===typeof t.resolveData}function qe(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"object"===typeof e.headers&&"undefined"!==typeof e.body}function Ye(e){return de.has(e.toLowerCase())}function Ke(e){return ce.has(e.toLowerCase())}function Qe(e,t,n,r,a,o){return Ge.apply(this,arguments)}function Ge(){return(Ge=Object(a.a)(Object(r.a)().mark((function e(t,n,a,o,i,u){var l,s;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=Object(r.a)().mark((function e(l){var s,c,f,d,p;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=a[l],c=n[l]){e.next=4;break}return e.abrupt("return","continue");case 4:if(f=t.find((function(e){return e.route.id===c.route.id})),d=null!=f&&!Se(f,c)&&void 0!==(u&&u[c.route.id]),!Ve(s)||!i&&!d){e.next=11;break}return R(p=o[l],"Expected an AbortSignal for revalidating fetcher deferred result"),e.next=11,Xe(s,p,i).then((function(e){e&&(a[l]=e||a[l])}));case 11:case"end":return e.stop()}}),e)})),s=0;case 2:if(!(s=0||Object(c.f)(!1),o=o.slice(0,Math.min(o.length,u+1))}return o.reduceRight((function(e,r,a){var u=r.route.id?null==i?void 0:i[r.route.id]:null,l=null;n&&(l=r.route.errorElement||P);var c=t.concat(o.slice(0,a+1)),f=function(){var t;return t=u?l:r.route.Component?s.createElement(r.route.Component,null):r.route.element?r.route.element:e,s.createElement(A,{match:r,routeContext:{outlet:e,matches:c,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===a)?s.createElement(j,{location:n.location,revalidation:n.revalidation,component:l,error:u,children:f(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):f()}),null)}function L(e){var t=s.useContext(d);return t||Object(c.f)(!1),t}function I(e){var t=s.useContext(p);return t||Object(c.f)(!1),t}function M(e){var t=function(e){var t=s.useContext(y);return t||Object(c.f)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||Object(c.f)(!1),n.route.id}function D(){return M(R.UseRouteId)}function U(){return I(R.UseNavigation).navigation}function z(){var e=I(R.UseMatches),t=e.matches,n=e.loaderData;return s.useMemo((function(){return t.map((function(e){var t=e.pathname,r=e.params;return{id:e.route.id,pathname:t,params:r,data:n[e.route.id],handle:e.route.handle}}))}),[t,n])}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"}(C||(C={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"}(R||(R={}));var F=0;function B(e){var t=L(C.UseBlocker),n=t.router,r=t.basename,o=I(R.UseBlocker),i=s.useState(""),u=Object(a.a)(i,2),l=u[0],d=u[1],p=s.useCallback((function(t){if("function"!==typeof e)return!!e;if("/"===r)return e(t);var n=t.currentLocation,a=t.nextLocation,o=t.historyAction;return e({currentLocation:f({},n,{pathname:Object(c.r)(n.pathname,r)||n.pathname}),nextLocation:f({},a,{pathname:Object(c.r)(a.pathname,r)||a.pathname}),historyAction:o})}),[r,e]);return s.useEffect((function(){var e=String(++F);return d(e),function(){return n.deleteBlocker(e)}}),[n]),s.useEffect((function(){""!==l&&n.getBlocker(l,p)}),[n,l,p]),l&&o.blockers.has(l)?o.blockers.get(l):c.d}var Z;s.startTransition;function V(e){Object(c.f)(!1)}function H(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,a=void 0===r?null:r,o=e.location,i=e.navigationType,u=void 0===i?c.b.Pop:i,l=e.navigator,f=e.static,d=void 0!==f&&f;w()&&Object(c.f)(!1);var p=n.replace(/^\/*/,"/"),h=s.useMemo((function(){return{basename:p,navigator:l,static:d}}),[p,l,d]);"string"===typeof o&&(o=Object(c.p)(o));var y=o,g=y.pathname,b=void 0===g?"/":g,k=y.search,_=void 0===k?"":k,x=y.hash,E=void 0===x?"":x,S=y.state,T=void 0===S?null:S,O=y.key,C=void 0===O?"default":O,R=s.useMemo((function(){var e=Object(c.r)(b,p);return null==e?null:{location:{pathname:e,search:_,hash:E,state:T,key:C},navigationType:u}}),[p,b,_,E,T,C,u]);return null==R?null:s.createElement(v.Provider,{value:h},s.createElement(m.Provider,{children:a,value:R}))}function W(e){var t=e.children,n=e.location;return T(q(t),n)}!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Z||(Z={}));var $=new Promise((function(){}));s.Component;function q(e,t){void 0===t&&(t=[]);var n=[];return s.Children.forEach(e,(function(e,a){if(s.isValidElement(e)){var o=[].concat(Object(r.a)(t),[a]);if(e.type!==s.Fragment){e.type!==V&&Object(c.f)(!1),e.props.index&&e.props.children&&Object(c.f)(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=q(e.props.children,o)),n.push(i)}else n.push.apply(n,q(e.props.children,o))}})),n}function Y(e){var t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:s.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:s.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(8);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;T(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25);var a=n(14),o=n(26);function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(c){s=!0,a=c}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return u}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},function(e,t,n){e.exports=n(77)()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(29);function a(e,t,n){return(t=Object(r.a)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function u(e){r(i,a,o,u,l,"next",e)}function l(e){r(i,a,o,u,l,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return h}));n(11);var r=n(6),a=(n(12),n(1)),o=n(3),i=n(2);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var s=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];var c=a.startTransition;function f(e){var t=e.basename,n=e.children,u=e.future,l=e.window,s=a.useRef();null==s.current&&(s.current=Object(i.g)({window:l,v5Compat:!0}));var f=s.current,d=a.useState({action:f.action,location:f.location}),p=Object(r.a)(d,2),h=p[0],v=p[1],m=(u||{}).v7_startTransition,y=a.useCallback((function(e){m&&c?c((function(){return v(e)})):v(e)}),[v,m]);return a.useLayoutEffect((function(){return f.listen(y)}),[f,y]),a.createElement(o.b,{basename:t,children:n,location:h.location,navigationType:h.action,navigator:f})}var d="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,p=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,h=a.forwardRef((function(e,t){var n,r=e.onClick,c=e.relative,f=e.reloadDocument,h=e.replace,v=e.state,m=e.target,y=e.to,g=e.preventScrollReset,b=l(e,s),w=a.useContext(o.f).basename,k=!1;if("string"===typeof y&&p.test(y)&&(n=y,d))try{var _=new URL(window.location.href),x=y.startsWith("//")?new URL(_.protocol+y):new URL(y),E=Object(i.r)(x.pathname,w);x.origin===_.origin&&null!=E?y=E+x.search+x.hash:k=!0}catch(O){}var S=Object(o.k)(y,{relative:c}),T=function(e,t){var n=void 0===t?{}:t,r=n.target,u=n.replace,l=n.state,s=n.preventScrollReset,c=n.relative,f=Object(o.n)(),d=Object(o.l)(),p=Object(o.q)(e,{relative:c});return a.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,r)){t.preventDefault();var n=void 0!==u?u:Object(i.j)(d)===Object(i.j)(p);f(e,{replace:n,state:l,preventScrollReset:s,relative:c})}}),[d,f,p,u,l,r,e,s,c])}(y,{replace:h,state:v,target:m,preventScrollReset:g,relative:c});return a.createElement("a",u({},b,{href:n||S,onClick:k||f?r:function(e){r&&r(e),e.defaultPrevented||T(e)},ref:t,target:m}))}));var v,m;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(v||(v={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(m||(m={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18);var a=n(27),o=n(14);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(14);function a(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw i}}}}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(18);function a(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(29);function a(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}var y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},g={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},w={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},k=Object.keys(y).map((function(e){return y[e]})),_={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(_).reduce((function(e,t){return e[_[t]]=t,e}),{}),E=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},S=function(e){var t=E(e,y.TITLE),n=E(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=E(e,"defaultTitle");return t||r||void 0},T=function(e){return E(e,"onChangeClientState")||function(){}},O=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},C=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},D=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[_[n]||n]=e[n],t}),t)},U=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach((function(e){var n=_[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),a.a.createElement(e,o)}))},z=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,o=D(n,r),[a.a.createElement(y.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var a=M(n),o=j(t);return a?"<"+e+' data-rh="true" '+a+">"+I(o,r)+"":"<"+e+' data-rh="true">'+I(o,r)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return D(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return U(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+I(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"")}),"")}(e,t,n)}}}},F=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,u=e.title,l=void 0===u?"":u,s=e.titleAttributes,c=e.linkTags,f=e.metaTags,d=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=A(e.metaTags,w),o=A(t,g),i=A(n,b);return{priorityMethods:{toComponent:function(){return[].concat(U(y.META,a.priority),U(y.LINK,o.priority),U(y.SCRIPT,i.priority))},toString:function(){return z(y.META,a.priority,r)+" "+z(y.LINK,o.priority,r)+" "+z(y.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=h.priorityMethods,c=h.linkTags,f=h.metaTags,d=h.scriptTags}return{priority:p,base:z(y.BASE,t,r),bodyAttributes:z("bodyAttributes",n,r),htmlAttributes:z("htmlAttributes",a,r),link:z(y.LINK,c,r),meta:z(y.META,f,r),noscript:z(y.NOSCRIPT,o,r),script:z(y.SCRIPT,d,r),style:z(y.STYLE,i,r),title:z(y.TITLE,{title:l,titleAttributes:s},r)}},B=[],Z=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},V=a.a.createContext({}),H=i.a.shape({setHelmet:i.a.func,helmetInstances:i.a.shape({get:i.a.func,add:i.a.func,remove:i.a.func})}),W="undefined"!=typeof document,$=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new Z(r.props.context,t.canUseDOM),r}return h(t,e),t.prototype.render=function(){return a.a.createElement(V.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);$.canUseDOM=W,$.propTypes={context:i.a.shape({helmet:i.a.shape()}),children:i.a.node.isRequired},$.defaultProps={context:{}},$.displayName="HelmetProvider";var q=function(e,t){var n,r=document.head||document.querySelector(y.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},Y=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),u=0;u=0;f-=1)n.removeAttribute(o[f]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,u=e.onChangeClientState,l=e.scriptTags,s=e.styleTags,c=e.title,f=e.titleAttributes;Y(y.BODY,e.bodyAttributes),Y(y.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=j(e)),Y(y.TITLE,t)}(c,f);var d={baseTag:q(y.BASE,n),linkTags:q(y.LINK,a),metaTags:q(y.META,o),noscriptTags:q(y.NOSCRIPT,i),scriptTags:q(y.SCRIPT,l),styleTags:q(y.STYLE,s)},p={},h={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=d[e].oldTags)})),t&&t(),u(e,p,h)},Q=null,G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case y.TITLE:return p({},a,((t={})[r.type]=i,t.titleAttributes=p({},o),t));case y.BODY:return p({},a,{bodyAttributes:p({},o)});case y.HTML:return p({},a,{htmlAttributes:p({},o)});default:return p({},a,((n={})[r.type]=p({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(k.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+k.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,r={};return a.a.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=m(a,X),u=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case y.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:u,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:u,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,J),r=p({},n),o=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!o||o instanceof Z||(o=new Z(o.context,o.instances)),o?a.a.createElement(G,p({},r,{context:o.value,helmetData:void 0})):a.a.createElement(V.Consumer,null,(function(e){return a.a.createElement(G,p({},r,{context:e}))}))},t}(r.Component);ee.propTypes={base:i.a.object,bodyAttributes:i.a.object,children:i.a.oneOfType([i.a.arrayOf(i.a.node),i.a.node]),defaultTitle:i.a.string,defer:i.a.bool,encodeSpecialCharacters:i.a.bool,htmlAttributes:i.a.object,link:i.a.arrayOf(i.a.object),meta:i.a.arrayOf(i.a.object),noscript:i.a.arrayOf(i.a.object),onChangeClientState:i.a.func,script:i.a.arrayOf(i.a.object),style:i.a.arrayOf(i.a.object),title:i.a.string,titleAttributes:i.a.object,titleTemplate:i.a.string,prioritizeSeoTags:i.a.bool,helmetData:i.a.object},ee.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ee.displayName="Helmet"},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,u],c=0;(l=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t){var n,r,a=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,s=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?s=l.concat(s):f=-1,s.length&&p())}function p(){if(!c){var e=u(d);c=!0;for(var t=s.length;t;){for(l=s,s=[];++f1)for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;O(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:R(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(s){return void n(s)}u.done?t(l):Promise.resolve(l).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function u(e){n(i,a,o,u,l,"next",e)}function l(e){n(i,a,o,u,l,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(70),a=n(71),o=n(31),i=n(72);e.exports=function(e){return r(e)||a(e)||o(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(46),a=n(34),o=n(74),i=n(75);function u(t){var n="function"===typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return i(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,u(t)}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(41);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Error.captureStackTrace;return r(this,n),e=t.call(this,"[".concat(u,":").concat(i,"] ").concat(a)),s&&s instanceof Function&&s(o(e),n),e.code=i,e.sdk=u,e.sdkDetails=l,e.name=e.constructor.name,e}return a(n,[{key:"toJSON",value:function(){return{sdk:this.sdk,sdkDetails:this.sdkDetails,code:this.code,message:this.message,stacktrace:this.stack}}}]),n}((0,n(48).default)(Error));e.exports=l},function(e,t){e.exports={AEM_GRAPHQL_ACTIONS:{persist:"graphql/persist.json",execute:"graphql/execute.json",list:"graphql/list.json",endpoint:"content/graphql/global/endpoint.json",serviceURL:"/"},AEM_GRAPHQL_TYPES:{BY_PATH:"ByPath",LIST:"List",PAGINATED:"Paginated"}}},,function(e,t,n){"use strict";var r=n(59);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},function(e,t){var n="undefined"!==typeof Element,r="function"===typeof Map,a="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var u,l,s,c;if(Array.isArray(e)){if((u=e.length)!=t.length)return!1;for(l=u;0!==l--;)if(!i(e[l],t[l]))return!1;return!0}if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!t.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],t.get(l.value[0])))return!1;return!0}if(a&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!t.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((u=e.length)!=t.length)return!1;for(l=u;0!==l--;)if(e[l]!==t[l])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof t.toString)return e.toString()===t.toString();if((u=(s=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(l=u;0!==l--;)if(!Object.prototype.hasOwnProperty.call(t,s[l]))return!1;if(n&&e instanceof Element)return!1;for(l=u;0!==l--;)if(("_owner"!==s[l]&&"__v"!==s[l]&&"__o"!==s[l]||!e.$$typeof)&&!i(e[s[l]],t[s[l]]))return!1;return!0}return e!==e&&t!==t}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},function(e,t){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),l=0;l