(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,175652,834420,e=>{"use strict";var t=e.i(184041),r=e.i(930086),n=e.i(714304),i=e.i(989039),o=e.i(80374),a=e.i(514098);let l=new Map;function s(e,t,r){let n="function"==typeof e?e():e;r?n.setItem(t,r):n.removeItem(t),l.set(t,{value:r,dirty:!1})}function c(e,t){return`maa:draft:${JSON.stringify([e.data_dir,e.self_ali_id,t])}`}function u(e,t,r,n){let i="function"==typeof e?e():e,o=`${c(t,r)}:revision`,a=i.getItem(o),l=a?JSON.parse(a):void 0,s=l?.value===n&&"string"==typeof l.id&&l.id?l:{id:crypto.randomUUID(),value:n},u=JSON.stringify(s);if(a!==u&&i.setItem(o,u),i.getItem(o)!==u)throw Error("草稿版本无法持久化");return s.id}function f(e){for(let[t,r]of l)if(r.dirty)try{s(e,t,r.value)}catch{}}e.s(["R",0,u,"T",0,f,"Q",0,function(e,t,r,n){let i=c(t,r),o=l.get(i);try{if(o?.dirty)return s(e,i,o.value),o.value;let t=("function"==typeof e?e():e).getItem(i)??"";return l.set(i,{value:t,dirty:!1}),t}catch(e){return n?.(e),o?.value??""}},"$",0,function(e,t,r,n){let i=c(t,r);l.set(i,{value:n,dirty:!0}),u(e,t,r,n),s(e,i,n)}],834420);let d="maa:account-changed",p=e=>`${e.account.epoch}|${e.client.detail}`,m=(0,n.createContext)(null);e.s(["z",0,function({children:e}){let l=function(){let e=(0,n.useSyncExternalStore)(o.D.subscribe,o.D.get,o.D.server),{message:t}=r.f.useApp(),[l,s]=(0,n.useState)(),[c,u]=(0,n.useState)(!1),[m,h]=(0,n.useState)(!1),[y,g]=(0,n.useState)(!1),[v,$]=(0,n.useState)(0),E=(0,n.useRef)(!1),b=(0,n.useRef)(0),S=(0,n.useRef)(!1),x=(0,n.useRef)(!0),w=(0,n.useRef)(!1),C=(0,n.useRef)({key:"",at:0}),[k]=(0,n.useState)(()=>a.s.get().generation),I=(0,n.useCallback)(()=>x.current&&a.s.get().generation===k,[k]),N=(0,n.useCallback)(()=>$(e=>e+1),[]),P=(0,n.useCallback)(()=>{if(I())try{localStorage.setItem(d,crypto.randomUUID())}catch{t.warning("无法通知其他标签页,请手动刷新其他已打开的页面")}},[t,I]),D=(0,n.useCallback)(async()=>{if(S.current||!I())return;let e=++b.current;u(!0);try{let t=await i.f.getConnection();if(!I()||e!==b.current)return;return f(()=>localStorage),o.D.accept(t),s(void 0),t}catch(t){if(!I()||e!==b.current)return;o.D.suspend(),s(t instanceof Error?t.message:"接入状态加载失败")}finally{I()&&e===b.current&&u(!1)}},[I]),_=(0,n.useCallback)(async e=>{if(!I())throw new o.J;if(S.current)throw Error("账号设置正在更新,请稍候");let{epoch:t}=(0,o.z)();S.current=!0,++b.current,o.D.invalidate(),h(!0),P();try{return await e(t)}finally{S.current=!1,await D(),h(!1),P()}},[P,D,I]),z=(0,n.useCallback)(async()=>{if(!I())throw new o.J;if(E.current)throw Error("同步请求正在提交,请稍候");let e=(0,o.z)();E.current=!0,g(!0);try{let t=await i.f.retryConnection(e.epoch);if(!I())throw new o.J;e.assertCurrent(t.account.epoch),$(e=>e+1)}catch(t){if(!I())throw new o.J;throw e.assertCurrent(),t}finally{E.current=!1,x.current&&g(!1)}},[I]);return(0,n.useEffect)(()=>{let t=e.snapshot;if(!t||e.blocked||w.current||t.client.connected||!t.account.self_ali_id)return;let r=C.current;r.key===p(t)&&Date.now()-r.at<6e4||(w.current=!0,(async()=>{try{await i.f.connectClient((0,o.z)().epoch)}catch{}C.current={key:p((I()?await D():void 0)??t),at:Date.now()},w.current=!1})())},[e.snapshot,e.blocked,D,I]),(0,n.useEffect)(()=>{x.current=!0,D();let e=()=>{document.hidden||D()},t=e=>{e.key===d&&I()&&(++b.current,o.D.invalidate(),D())};window.addEventListener("focus",e),window.addEventListener("storage",t),document.addEventListener("visibilitychange",e);let r=setInterval(e,1e4);return()=>{x.current=!1,++b.current,clearInterval(r),window.removeEventListener("focus",e),window.removeEventListener("storage",t),document.removeEventListener("visibilitychange",e)}},[D,I]),{...e,error:l,refreshing:c,mutating:m,syncBusy:y,readRefreshSequence:v,refreshReads:N,refresh:D,mutate:_,requestSync:z}}();return(0,t.jsx)(m.Provider,{value:l,children:e})},"Z",0,function(){let e=(0,n.useContext)(m);if(!e)throw Error("AccountProvider is required");return e},"f",0,function(){let e=(0,n.useRef)(!0),[t]=(0,n.useState)(()=>(0,o.G)(i.f,()=>e.current));return(0,n.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t}],175652)},195248,e=>{"use strict";let t=(0,e.i(714304).createContext)({});e.s(["f",0,t])},530305,e=>{"use strict";e.i(485599);var t=e.i(714304);e.i(333400);var r=e.i(160764),n=e.i(7284),i=e.i(495739),o=e.i(816597),a=e.i(366269),l=e.i(299761),s=e.i(195248),c=e.i(700430);function u(e){return"auto"===e?"1 1 auto":(0,i.H)(e)?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}let f=t.forwardRef((e,f)=>{let{getPrefixCls:d,direction:p}=t.useContext(a.V),{gutter:m,wrap:h}=t.useContext(s.f),{prefixCls:y,span:g,order:v,offset:$,push:E,pull:b,className:S,children:x,flex:w,style:C,...k}=e,I=d("col",y),N=d(),[P,D]=(0,c.V)(I),[_]=(0,l.G)(N,"col"),z={},R={};o.Z.forEach(t=>{let n={},o=e[t];(0,i.H)(o)?n.span=o:(0,i.d)(o)&&(n=o||{}),delete k[t],R={...R,[`${I}-${t}-${n.span}`]:(0,r.b)(n.span),[`${I}-${t}-order-${n.order}`]:n.order||0===n.order,[`${I}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${I}-${t}-push-${n.push}`]:n.push||0===n.push,[`${I}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${I}-rtl`]:"rtl"===p},(n.flex||0===n.flex)&&(R[`${I}-${t}-flex`]=!0,z[_(`${t}-flex`)]=u(n.flex))});let T=(0,n.q)(I,{[`${I}-${g}`]:void 0!==g,[`${I}-order-${v}`]:v,[`${I}-offset-${$}`]:$,[`${I}-push-${E}`]:E,[`${I}-pull-${b}`]:b},S,R,P,D),O={};return m?.[0]&&(O.paddingInline=(0,i.H)(m[0])?`${m[0]/2}px`:`calc(${m[0]} / 2)`),(w||0===w)&&(O.flex=u(w),!1!==h||O.minWidth||(O.minWidth=0)),t.createElement("div",{...k,style:{...O,...C,...z},className:T,ref:f},x)});e.s(["f",0,f])},632995,e=>{"use strict";var t=e.i(495739),r=e.i(816597);e.s(["f",0,function(e,n){let i=[void 0,void 0],o=Array.isArray(e)?e:[e,void 0],a=n||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0,xxxl:!0};return o.forEach((e,n)=>{if((0,t.d)(e))for(let t=0;t{"use strict";e.i(485599);var t=e.i(714304),r=e.i(7284),n=e.i(495739),i=e.i(816597),o=e.i(366269),a=e.i(786442),l=e.i(632995),s=e.i(195248),c=e.i(700430);let u=(e,t)=>{if((0,n.Z)(e))return e;if((0,n.d)(e))for(let r=0;r{let{prefixCls:f,justify:d,align:p,className:m,style:h,children:y,gutter:g=0,wrap:v,...$}=e,{getPrefixCls:E,direction:b}=t.useContext(o.V),S=(0,a.f)(!0,null),x=u(p,S),w=u(d,S),C=E("row",f),[k,I]=(0,c.S)(C),N=(0,l.f)(g,S),P=(0,r.q)(C,{[`${C}-no-wrap`]:!1===v,[`${C}-${w}`]:w,[`${C}-${x}`]:x,[`${C}-rtl`]:"rtl"===b},m,k,I),D={};N?.[0]&&(D.marginInline=(0,n.H)(N[0])?`${-(N[0]/2)}px`:`calc(${N[0]} / -2)`);let[_,z]=N;D.rowGap=z;let R=t.useMemo(()=>({gutter:[_,z],wrap:v}),[_,z,v]);return t.createElement(s.f.Provider,{value:R},t.createElement("div",{...$,className:P,style:{...D,...h},ref:i},y))});e.s(["f",0,f])},523594,e=>{"use strict";let t;var r=e.i(714304),n=e.i(7284),i=e.i(408051),o=e.i(366269),a=e.i(478420),l=e.i(267253);e.i(333400);var s=e.i(560675);let c=80*Math.PI,u=e=>{let{dotClassName:t,style:i,hasCircleCls:o}=e;return r.createElement("circle",{className:(0,n.q)(`${t}-circle`,{[`${t}-circle-bg`]:o}),r:40,cx:50,cy:50,strokeWidth:20,style:i})},f=({percent:e,prefixCls:t})=>{let i=`${t}-dot`,o=`${i}-holder`,a=`${o}-hidden`,[l,f]=r.useState(!1);(0,s.f)(()=>{0!==e&&f(!0)},[e]);let d=Math.max(Math.min(e,100),0);if(!l)return null;let p={strokeDashoffset:`${c/4}`,strokeDasharray:`${c*d/100} ${c*(100-d)/100}`};return r.createElement("span",{className:(0,n.q)(o,`${i}-progress`,{[a]:d<=0})},r.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d},r.createElement(u,{dotClassName:i,hasCircleCls:!0}),r.createElement(u,{dotClassName:i,style:p})))};function d(e){let{prefixCls:t,percent:i=0,className:o,style:a}=e,l=`${t}-dot`,s=`${l}-holder`,c=`${s}-hidden`;return r.createElement(r.Fragment,null,r.createElement("span",{className:(0,n.q)(s,o,i>0&&c),style:a},r.createElement("span",{className:(0,n.q)(l,`${t}-dot-spin`)},[1,2,3,4].map(e=>r.createElement("i",{className:`${t}-dot-item`,key:e})))),r.createElement(f,{prefixCls:t,percent:i}))}function p(e){let{prefixCls:t,indicator:i,percent:o,className:a,style:s}=e,c=`${t}-dot`;return i&&r.isValidElement(i)?(0,l.o)(i,e=>({className:(0,n.q)(e.className,c,a),style:{...e.style,...s},percent:o})):r.createElement(d,{prefixCls:t,percent:o,className:a,style:s})}e.i(96743);var m=e.i(321842),h=e.i(30832),y=e.i(299761),g=e.i(644439);let v=new m.f("antSpinMove",{to:{opacity:1}}),$=new m.f("antRotate",{to:{transform:"rotate(405deg)"}}),E=(0,y.A)("Spin",e=>{let t=(0,g.f)(e,{spinDotDefault:e.colorTextDescription});return[(e=>{let{componentCls:t}=e,r=`${t}-section`;return{[t]:{...(0,h.n)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${r}, > ${r}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${r}`]:{display:"inline-flex"},[`> ${r}`]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[`> ${r}`]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}})(t),(e=>{let{componentCls:t,antCls:r,motionDurationSlow:n}=e,[i,o]=(0,y.G)(r,"spin");return{[t]:{[i("dot-holder-size")]:e.dotSize,[i("dot-item-size")]:`calc((${o("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:o("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${n} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:o("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:$,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:o("dot-item-size"),height:o("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:v,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${n} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}})(t),(e=>{let{componentCls:t}=e,[r]=(0,y.G)(e.antCls,"spin");return{[t]:{"&-sm":{[r("dot-holder-size")]:e.dotSizeSM},"&-lg":{[r("dot-holder-size")]:e.dotSizeLG}}}})(t)]},e=>{let{controlHeightLG:t,controlHeight:r}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:r}}),b=[[30,.05],[70,.03],[96,.01]],S=r.forwardRef((e,l)=>{let{prefixCls:s,spinning:c=!0,delay:u=0,className:f,rootClassName:d,size:m,tip:h,description:y,wrapperClassName:g,style:v,children:$,fullscreen:S=!1,indicator:x,percent:w,classNames:C,styles:k,...I}=e,{getPrefixCls:N,direction:P,indicator:D,className:_,style:z,classNames:R,styles:T}=(0,o.Y)("spin"),O=N("spin",s),[L,M]=E(O),[j,A]=r.useState(()=>c&&(!c||!u||!!Number.isNaN(Number(u)))),U=function(e,t){let[n,i]=r.useState(0),o=r.useRef(null),a="auto"===t;return r.useEffect(()=>(a&&e&&(i(0),o.current=setInterval(()=>{i(e=>{let t=100-e;for(let r=0;r{o.current&&(clearInterval(o.current),o.current=null)}),[a,e]),a?n:t}(j,w);r.useEffect(()=>{if(c){let e=function(e,t,r){var n,i=r||{},o=i.noTrailing,a=void 0!==o&&o,l=i.noLeading,s=void 0!==l&&l,c=i.debounceMode,u=void 0===c?void 0:c,f=!1,d=0;function p(){n&&clearTimeout(n)}function m(){for(var r=arguments.length,i=Array(r),o=0;oe?s?(d=Date.now(),a||(n=setTimeout(u?h:m,e))):m():!0!==a&&(n=setTimeout(u?h:m,void 0===u?e-c:e)))}return m.cancel=function(e){var t=(e||{}).upcomingOnly;p(),f=!(void 0!==t&&t)},m}(u,()=>{A(!0)},{debounceMode:false});return e(),()=>{e?.cancel?.()}}A(!1)},[u,c]);let B=(0,a.f)(e=>m??e),F=y??h,q={...e,size:B,spinning:j,tip:F,description:F,fullscreen:S,children:$,percent:U},G=(0,i.G)(z),[J,K]=(0,i.o)([R,C],[T,G,k],{props:q}),H=x??D??t,W=void 0!==$,V=W||S,Z=r.createElement(r.Fragment,null,r.createElement(p,{className:(0,n.q)(J.indicator),style:K.indicator,prefixCls:O,indicator:H,percent:U}),F&&r.createElement("div",{className:(0,n.q)(`${O}-description`,J.tip,J.description),style:{...K.tip,...K.description}},F)),X=r.useRef(null);return r.useImperativeHandle(l,()=>({nativeElement:X.current})),r.createElement("div",{ref:X,className:(0,n.q)(O,{[`${O}-sm`]:"small"===B,[`${O}-lg`]:"large"===B,[`${O}-spinning`]:j,[`${O}-rtl`]:"rtl"===P,[`${O}-fullscreen`]:S},d,J.root,S&&J.mask,V?g:[`${O}-section`,J.section],_,f,L,M),style:{...K.root,...!V?K.section:{},...S?K.mask:{},...v},"aria-live":"polite","aria-busy":j,...I},j&&(V?r.createElement("div",{className:(0,n.q)(`${O}-section`,J.section),style:K.section},Z):Z),W&&r.createElement("div",{className:(0,n.q)(`${O}-container`,J.container),style:K.container},$))});S.setDefaultIndicator=e=>{t=e},e.s(["f",0,S],523594)},414849,(e,t,r)=>{"use strict";e.i(485599),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return $}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(56421),a=e.r(184041),l=o._(e.r(714304)),s=e.r(640164),c=e.r(777624),u=e.r(844988),f=e.r(323445),d=e.r(450911),p=e.r(444768),m=e.r(592996),h=e.r(985816),y=e.r(929148);function g(t){var r;let n,i,o,[g,$]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),E=(0,l.useRef)(null),{href:b,as:S,children:x,prefetch:w=null,passHref:C,replace:k,shallow:I,scroll:N,onClick:P,onMouseEnter:D,onTouchStart:_,legacyBehavior:z=!1,onNavigate:R,transitionTypes:T,ref:O,unstable_dynamicOnHover:L,...M}=t;n=x,z&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let j=l.default.useContext(c.AppRouterContext),A=!1!==w,U=!1===w?"none":!0===w?"full":"auto",B="none"!==U?"auto"===U?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,F="string"==typeof(r=S||b)?r:(0,s.formatUrl)(r);if(z){if(n?.$$typeof===Symbol.for("react.lazy"))throw Error("`` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `` tag.");i=l.default.Children.only(n)}let q=z?i&&"object"==typeof i&&i.ref:O,G,J=l.default.useCallback(e=>(null!==j&&(E.current=(0,m.mountLinkInstance)(e,F,j,B,A,$,G)),()=>{E.current&&((0,m.unmountLinkForCurrentNavigation)(E.current),E.current=null),(0,m.unmountPrefetchableInstance)(e)}),[A,F,j,B,$,G]),K={ref:(0,u.useMergedRef)(J,q),onClick(t){z||"function"!=typeof P||P(t),z&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!j||t.defaultPrevented||function(t,r,n,i,o,a,l,s="none"){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{navigate:f}=e.r(769818);f(r,i?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,s)}}(t,F,E,k,N,R,T,U)},onMouseEnter(e){z||"function"!=typeof D||D(e),z&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),j&&A&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){z||"function"!=typeof _||_(e),z&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),j&&A&&(0,m.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,f.isAbsoluteUrl)(F)?K.href=F:z&&!C&&("a"!==i.type||"href"in i.props)||(K.href=(0,d.addBasePath)(F)),o=z?l.default.cloneElement(i,K):(0,a.jsx)("a",{...M,...K,children:n}),(0,a.jsx)(v.Provider,{value:g,children:o})}let v=(0,l.createContext)(m.IDLE_LINK_STATUS),$=()=>(0,l.useContext)(v);("function"==typeof r.default||"object"==typeof 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)},844988,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(714304);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof 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)},640164,(e,t,r)=>{"use strict";e.i(485599),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return c},urlObjectKeys:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(56421)._(e.r(202131)),a=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let u=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==c?(c="//"+(c||""),i&&"/"!==i[0]&&(i="/"+i)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),i=i.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${i}${u}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return l(e)}},985816,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(323445),i=e.r(254315);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},323445,(e,t,r)=>{"use strict";e.i(485599),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return E},NormalizeError:function(){return v},PageNotFoundError:function(){return $},SP:function(){return h},ST:function(){return y},WEB_VITALS:function(){return o},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=["CLS","FCP","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&l.test(e)};function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`);return n}let h="u">typeof performance,y=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class v extends Error{}class $ extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class E extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}}]);