1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,949301,e=>{"use strict";var t=e.i(175083),r=e.i(144735),n=e.i(795803),o=e.i(460651),a=e.i(2813),i=e.i(337837),s=e.i(547608),l=e.i(569779);let u=()=>(0,t.jsx)("svg",{className:"fill-primary",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",children:(0,t.jsx)("path",{d:"M732.09 291.91c67.86 67.86 66.15 178.82-2.87 247.84a43.31 43.31 0 0 1-64.61-57.46l8-8.76c31-35.69 30.31-88.3-1.77-120.38-33.61-33.61-89.74-32.74-125.36 2.87-19 19-20.5 61.34 3.37 130.45l3.79 10.53c38.17 103.66 37 182.34-12.89 232.19-69 69-180 70.73-247.84 2.87s-66.15-178.82 2.87-247.84A43.3 43.3 0 0 1 356 545.49c-35.61 35.62-36.48 91.75-2.87 125.36s89.74 32.74 125.36-2.87c19-19 20.5-61.34-3.37-130.45l-8-22.41c-33.77-97.82-30.81-172.41 17.12-220.34 69.03-69.02 179.99-70.73 247.85-2.87zM512 107c-223.68 0-405 181.32-405 405s181.32 405 405 405 405-181.32 405-405-181.32-405-405-405z m0-45c248.53 0 450 201.47 450 450S760.53 962 512 962 62 760.53 62 512 263.47 62 512 62z"})}),c=()=>{let e=(0,a.useTranslations)("Qrcode");return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)(r.default,{src:l.default,width:160,alt:e("qrAlt")}),(0,t.jsx)("div",{className:"mt-2 text-center text-sm text-slate-600",children:e("scanHint")})]})};e.s(["default",0,function(){let e=(0,o.useLocale)(),r=(0,a.useTranslations)("Qrcode"),[l,d]=(0,n.useState)(!1);return"zh-CN"!==e?null:(0,t.jsxs)("div",{"data-testid":"converter-mobile-qrcode-entry",children:[(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsx)("button",{type:"button",className:"flex touch-manipulation items-center justify-center rounded-md p-2 text-slate-700","aria-label":r("ariaLabel"),onClick:()=>d(!0),children:(0,t.jsx)(u,{})}),(0,t.jsx)(s.Dialog,{open:l,onOpenChange:d,children:(0,t.jsxs)(s.DialogContent,{className:"w-[calc(100%-2rem)] max-w-sm",children:[(0,t.jsx)(s.DialogHeader,{children:(0,t.jsx)(s.DialogTitle,{className:"text-center",children:r("scanTitle")})}),(0,t.jsx)(c,{})]})})]}),(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsxs)(i.Popover,{children:[(0,t.jsx)(i.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"flex items-center text-sm text-slate-700",children:[(0,t.jsx)("span",{className:"mr-1",children:(0,t.jsx)(u,{})}),(0,t.jsx)("span",{children:r("mobile")})]})}),(0,t.jsx)(i.PopoverContent,{className:"w-auto",children:(0,t.jsx)(c,{})})]})})]})}])},254444,e=>{e.q("/_next/static/media/weixin-qrcode.2mh73y-9x7nb-.png")},569779,e=>{"use strict";let t={src:e.i(254444).default,width:430,height:430,blurWidth:8,blurHeight:8,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAIAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDvydR/tYn94BvHbt/n9KnW5yuVVVdfhP/Z"};e.s(["default",0,t])},257013,e=>{"use strict";var t=e.i(175083),r=e.i(460651),n=e.i(2813),o=e.i(321715),a=e.i(997116);let i=(0,e.i(842763).default)("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);var s=e.i(680707);e.s(["default",0,function(){let e=(0,n.useTranslations)("LanguageSwitcher"),l=(0,r.useLocale)(),u=(0,o.useRouter)(),c=(0,o.usePathname)(),d=e=>{u.replace(c,{locale:e})},f=a.routing.locales.map(r=>(0,t.jsx)(s.SelectItem,{value:r,children:e(r)},r));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.Select,{value:l,onValueChange:d,children:[(0,t.jsx)(s.SelectTrigger,{className:"md:hidden h-9 w-9 justify-center rounded-full border-none bg-transparent px-0 py-0 shadow-none hover:bg-slate-100 focus-visible:ring-0 [&>svg:last-child]:hidden","aria-label":e("label"),"data-testid":"language-switcher-mobile",children:(0,t.jsx)(i,{className:"size-[18px] text-slate-600"})}),(0,t.jsx)(s.SelectContent,{position:"popper",side:"bottom",align:"end",sideOffset:4,children:f})]}),(0,t.jsxs)(s.Select,{value:l,onValueChange:d,children:[(0,t.jsx)(s.SelectTrigger,{className:"hidden md:flex h-8 w-[9.5rem] border-slate-200 bg-transparent text-sm","aria-label":e("label"),"data-testid":"language-switcher",children:(0,t.jsx)(s.SelectValue,{})}),(0,t.jsx)(s.SelectContent,{position:"popper",side:"bottom",align:"end",sideOffset:4,children:f})]})]})}],257013)},392706,e=>{"use strict";var t=e.i(175083),r=e.i(152088),n=e.i(294237);e.i(490839);var o=e.i(795803),a=e.i(377875),i=e.i(9413),s=e.i(291967),l=e.i(285565),u=e.i(136567),c=e.i(922353),d=e.i(775649),f=e.i(690816),p=e.i(411207),g=e.i(987099),m=e.i(403659),v=e.i(809641),h=e.i(18731),x=e.i(488248),b=e.i(587312),y="NavigationMenu",[w,P,j]=(0,g.createCollection)(y),[C,R,E]=(0,g.createCollection)(y),[A,N]=(0,i.createContextScope)(y,[j,E]),[k,D]=A(y),[O,T]=A(y),S=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,onValueChange:i,defaultValue:s,delayDuration:f=200,skipDelayDuration:p=300,orientation:g="horizontal",dir:m,...v}
1=e,[h,x]=o.useState(null),b=(0,c.useComposedRefs)(r,e=>x(e)),w=(0,d.useDirection)(m),P=o.useRef(0),j=o.useRef(0),C=o.useRef(0),[R,E]=o.useState(!0),[A,N]=(0,u.useControllableState)({prop:a,onChange:e=>{let t=p>0;""!==e?(window.clearTimeout(C.current),t&&E(!1)):(window.clearTimeout(C.current),C.current=window.setTimeout(()=>E(!0),p)),i?.(e)},defaultProp:s??"",caller:y}),k=o.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>N(""),150)},[N]),D=o.useCallback(e=>{window.clearTimeout(j.current),N(e)},[N]),O=o.useCallback(e=>{A===e?window.clearTimeout(j.current):P.current=window.setTimeout(()=>{window.clearTimeout(j.current),N(e)},f)},[A,N,f]);return o.useEffect(()=>()=>{window.clearTimeout(P.current),window.clearTimeout(j.current),window.clearTimeout(C.current)},[]),(0,t.jsx)(_,{scope:n,isRootMenu:!0,value:A,dir:w,orientation:g,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(P.current),R?O(e):D(e)},onTriggerLeave:()=>{window.clearTimeout(P.current),k()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:k,onItemSelect:e=>{N(t=>t===e?"":e)},onItemDismiss:()=>N(""),children:(0,t.jsx)(l.Primitive.nav,{"aria-label":"Main","data-orientation":g,dir:w,...v,ref:b})})});S.displayName=y;var L="NavigationMenuSub",I=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:a,defaultValue:i,orientation:s="horizontal",...c}=e,d=D(L,n),[f,p]=(0,u.useControllableState)({prop:o,onChange:a,defaultProp:i??"",caller:L});return(0,t.jsx)(_,{scope:n,isRootMenu:!1,value:f,dir:d.dir,orientation:s,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>p(e),onItemSelect:e=>p(e),onItemDismiss:()=>p(""),children:(0,t.jsx)(l.Primitive.div,{"data-orientation":s,...c,ref:r})})});I.displayName=L;var _=e=>{let{scope:r,isRootMenu:n,rootNavigationMenu:a,dir:i,orientation:s,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:g,onContentEnter:m,onContentLeave:h}=e,[b,y]=o.useState(null),[P,j]=o.useState(new Map),[C,R]=o.useState(null);return(0,t.jsx)(k,{scope:r,isRootMenu:n,rootNavigationMenu:a,value:u,previousValue:(0,v.usePrevious)(u),baseId:(0,p.useId)(),dir:i,orientation:s,viewport:b,onViewportChange:y,indicatorTrack:C,onIndicatorTrackChange:R,onTriggerEnter:(0,x.useCallbackRef)(f),onTriggerLeave:(0,x.useCallbackRef)(g),onContentEnter:(0,x.useCallbackRef)(m),onContentLeave:(0,x.useCallbackRef)(h),onItemSelect:(0,x.useCallbackRef)(c),onItemDismiss:(0,x.useCallbackRef)(d),onViewportContentChange:o.useCallback((e,t)=>{j(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:o.useCallback(e=>{j(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(w.Provider,{scope:r,children:(0,t.jsx)(O,{scope:r,items:P,children:l})})})},M="NavigationMenuList",z=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,...o}=e,a=D(M,n),i=(0,t.jsx)(l.Primitive.ul,{"data-orientation":a.orientation,...o,ref:r});return(0,t.jsx)(l.Primitive.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,t.jsx)(w.Slot,{scope:n,children:a.isRootMenu?(0,t.jsx)(eo,{asChild:!0,children:i}):i})})});z.displayName=M;var F="NavigationMenuItem",[B,H]=A(F),K=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,...i}=e,s=(0,p.useId)(),u=o.useRef(null),c=o.useRef(null),d=o.useRef(null),f=o.useRef(()=>{}),g=o.useRef(!1),m=o.useCallback((e="start")=>{if(u.current){f.current();let t=es(u.current);t.length&&el("start"===e?t:t.reverse())}},[]),v=o.useCallback(()=>{if(u.current){var e;let t=es(u.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),f.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(B,{scope:n,value:a||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:u,focusProxyRef:d,wasEscapeCloseRef:g,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:v,onContentFocusOutside:v,children:(0,t.jsx)(l.Primitive.li,{...i,ref:r})})});K.displayName=F;var U="NavigationMenuTrigger",$=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,disabled:a,...i}=e,u=D(U,e.__scopeNavigationMenu),d=H(U,e.__scopeNavigationMenu),f=o.useRef(null),p=(0,c.useComposedRefs)(f,d.triggerRef,r),g=ed(u.baseId,d.value),m=ef(u.baseId,d.value),v=o.useRef(!1),h=o.useRef(!1),x=d.value===u.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.ItemSlot,{scope:n,value:d.value,children:(0,t.jsx)(ei,{asChild:!0,children:(0,t.jsx)(l.Primitive.button,{id:g,disabled:a,"data-disabled":a?"":void 0,"data-state":ec(x),"aria-expanded":x,"aria-controls":m,...i,ref:p,onPointerEnter:(0,s.composeEventHandlers)(e.onPointerEnter,()=>{h.current=!1,d.wasEscapeCloseRef.current=!1}
1),onPointerMove:(0,s.composeEventHandlers)(e.onPointerMove,ep(()=>{a||h.current||d.wasEscapeCloseRef.current||v.current||(u.onTriggerEnter(d.value),v.current=!0)})),onPointerLeave:(0,s.composeEventHandlers)(e.onPointerLeave,ep(()=>{a||(u.onTriggerLeave(),v.current=!1)})),onClick:(0,s.composeEventHandlers)(e.onClick,()=>{u.onItemSelect(d.value),h.current=x}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===u.dir?"ArrowLeft":"ArrowRight"}[u.orientation];x&&e.key===t&&(d.onEntryKeyDown(),e.preventDefault())})})})}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Root,{"aria-hidden":!0,tabIndex:0,ref:d.focusProxyRef,onFocus:e=>{let t=d.contentRef.current,r=e.relatedTarget,n=r===f.current,o=t?.contains(r);(n||!o)&&d.onFocusProxyEnter(n?"start":"end")}}),u.viewport&&(0,t.jsx)("span",{"aria-owns":m})]})]})});$.displayName=U;var Q="navigationMenu.linkSelect",V=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,active:o,onSelect:a,...i}=e;return(0,t.jsx)(ei,{asChild:!0,children:(0,t.jsx)(l.Primitive.a,{"data-active":o?"":void 0,"aria-current":o?"page":void 0,...i,ref:r,onClick:(0,s.composeEventHandlers)(e.onClick,e=>{let t=e.target,r=new CustomEvent(Q,{bubbles:!0,cancelable:!0});if(t.addEventListener(Q,e=>a?.(e),{once:!0}),(0,l.dispatchDiscreteCustomEvent)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(X,{bubbles:!0,cancelable:!0});(0,l.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});V.displayName="NavigationMenuLink";var W="NavigationMenuIndicator",q=o.forwardRef((e,r)=>{let{forceMount:n,...o}=e,i=D(W,e.__scopeNavigationMenu),s=!!i.value;return i.indicatorTrack?a.default.createPortal((0,t.jsx)(f.Presence,{present:n||s,children:(0,t.jsx)(Y,{...o,ref:r})}),i.indicatorTrack):null});q.displayName=W;var Y=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,...a}=e,i=D(W,n),s=P(n),[u,c]=o.useState(null),[d,f]=o.useState(null),p="horizontal"===i.orientation,g=!!i.value;o.useEffect(()=>{let e=s(),t=e.find(e=>e.value===i.value)?.ref.current;t&&c(t)},[s,i.value]);let m=()=>{u&&f({size:p?u.offsetWidth:u.offsetHeight,offset:p?u.offsetLeft:u.offsetTop})};return eu(u,m),eu(i.indicatorTrack,m),d?(0,t.jsx)(l.Primitive.div,{"aria-hidden":!0,"data-state":g?"visible":"hidden","data-orientation":i.orientation,...a,ref:r,style:{position:"absolute",...p?{left:0,width:d.size+"px",transform:`translateX(${d.offset}px)`}:{top:0,height:d.size+"px",transform:`translateY(${d.offset}px)`},...a.style}}):null}),Z="NavigationMenuContent",G=o.forwardRef((e,r)=>{let{forceMount:n,...o}=e,a=D(Z,e.__scopeNavigationMenu),i=H(Z,e.__scopeNavigationMenu),l=(0,c.useComposedRefs)(i.contentRef,r),u=i.value===a.value,d={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...o};return a.viewport?(0,t.jsx)(J,{forceMount:n,...d,ref:l}):(0,t.jsx)(f.Presence,{present:n||u,children:(0,t.jsx)(ee,{"data-state":ec(u),...d,ref:l,onPointerEnter:(0,s.composeEventHandlers)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,s.composeEventHandlers)(e.onPointerLeave,ep(a.onContentLeave)),style:{pointerEvents:!u&&a.isRootMenu?"none":void 0,...d.style}})})});G.displayName=Z;var J=o.forwardRef((e,t)=>{let{onViewportContentChange:r,onViewportContentRemove:n}=D(Z,e.__scopeNavigationMenu);return(0,h.useLayoutEffect)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,h.useLayoutEffect)(()=>()=>n(e.value),[e.value,n]),null}),X="navigationMenu.rootContentDismiss",ee=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,triggerRef:i,focusProxyRef:l,wasEscapeCloseRef:u,onRootContentClose:d,onContentFocusOutside:f,...p}=e,g=D(Z,n),v=o.useRef(null),h=(0,c.useComposedRefs)(v,r),x=ed(g.baseId,a),b=ef(g.baseId,a),y=P(n),w=o.useRef(null),{onItemDismiss:j}=g;o.useEffect(()=>{let e=v.current;if(g.isRootMenu&&e){let t=()=>{j(),d(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(X,t),()=>e.removeEventListener(X,t)}},[g.isRootMenu,e.value,i,j,d]);let C=o.useMemo(()=>{let e=y().map(e=>e.value);"rtl"===g.dir&&e.reverse();let t=e.indexOf(g.value),r=e.indexOf(g.previousValue),n=a===g.value,o=r===e.indexOf(a);if(!n&&!o)return w.current;let i=(()=>
1{if(t!==r){if(n&&-1!==r)return t>r?"from-end":"from-start";if(o&&-1!==t)return t>r?"to-start":"to-end"}return null})();return w.current=i,i},[g.previousValue,g.value,g.dir,y,a]);return(0,t.jsx)(eo,{asChild:!0,children:(0,t.jsx)(m.DismissableLayer,{id:b,"aria-labelledby":x,"data-motion":C,"data-orientation":g.orientation,...p,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(X,{bubbles:!0,cancelable:!0});v.current?.dispatchEvent(e)},onFocusOutside:(0,s.composeEventHandlers)(e.onFocusOutside,e=>{f();let t=e.target;g.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,s.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,r=y().some(e=>e.ref.current?.contains(t)),n=g.isRootMenu&&g.viewport?.contains(t);(r||n||!g.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=es(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);el(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:(0,s.composeEventHandlers)(e.onEscapeKeyDown,e=>{u.current=!0})})})}),et="NavigationMenuViewport",er=o.forwardRef((e,r)=>{let{forceMount:n,...o}=e,a=!!D(et,e.__scopeNavigationMenu).value;return(0,t.jsx)(f.Presence,{present:n||a,children:(0,t.jsx)(en,{...o,ref:r})})});er.displayName=et;var en=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,children:a,...i}=e,u=D(et,n),d=(0,c.useComposedRefs)(r,u.onViewportChange),p=T(Z,e.__scopeNavigationMenu),[g,m]=o.useState(null),[v,h]=o.useState(null),x=g?g?.width+"px":void 0,b=g?g?.height+"px":void 0,y=!!u.value,w=y?u.value:u.previousValue;return eu(v,()=>{v&&m({width:v.offsetWidth,height:v.offsetHeight})}),(0,t.jsx)(l.Primitive.div,{"data-state":ec(y),"data-orientation":u.orientation,...i,ref:d,style:{pointerEvents:!y&&u.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":x,"--radix-navigation-menu-viewport-height":b,...i.style},onPointerEnter:(0,s.composeEventHandlers)(e.onPointerEnter,u.onContentEnter),onPointerLeave:(0,s.composeEventHandlers)(e.onPointerLeave,ep(u.onContentLeave)),children:Array.from(p.items).map(([e,{ref:r,forceMount:n,...o}])=>{let a=w===e;return(0,t.jsx)(f.Presence,{present:n||a,children:(0,t.jsx)(ee,{...o,ref:(0,c.composeRefs)(r,e=>{a&&e&&h(e)})})},e)})})}),eo=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,...o}=e,a=D("FocusGroup",n);return(0,t.jsx)(C.Provider,{scope:n,children:(0,t.jsx)(C.Slot,{scope:n,children:(0,t.jsx)(l.Primitive.div,{dir:a.dir,...o,ref:r})})})}),ea=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=o.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,...o}=e,a=R(n),i=D("FocusGroupItem",n);return(0,t.jsx)(C.ItemSlot,{scope:n,children:(0,t.jsx)(l.Primitive.button,{...o,ref:r,onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...ea].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ea.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>el(t)),e.preventDefault()}})})})});function es(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function el(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eu(e,t){let r=(0,x.useCallbackRef)(t);(0,h.useLayoutEffect)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function ec(e){return e?"open":"closed"}function ed(e,t){return`${e}-trigger-${t}`}function ef(e,t){return`${e}-content-${t}`}function ep(e){return t=>"mouse"===t.pointerType?e(t):void 0}e.s(["Content",0,G,"Indicator",0,q,"Item",0,K,"Link",0,V,"List",0,z,"NavigationMenu",0,S,"NavigationMenuContent",0,G,"NavigationMenuIndicator",0,q,"NavigationMenuItem",0,K,"NavigationMenuLink",0,V,"NavigationMenuList",0,z,"NavigationMenuSub",0,I,"NavigationMenuTrigger",0,$,"NavigationMenuViewport",0,er,"Root",0,S,"Sub",0,I,"Trigger",0,$,"Viewport",0,er,"createNavigationMenuScope",0,N],653018);var eg=e.i(653018),eg=eg;function em({className:e,children:n,viewport:o=!0,...a}){return(0,t.jsxs)(eg.Root,{"data-slot":"navigation-menu","data-viewport":o,className:(0,r.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...a,children:[n,o&&(0,t.jsx)(eb,{})]})}function ev({className:e,...n}){return(0,t.jsx)(eg.List,{"data-slot":"navigation-menu-list",className:(0,r.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...n})}function eh({className:e,...n}){return(0,t.jsx)(eg.Item,{"data-slot":"navigation-menu-item",className:(0,r.cn)("relative",e),...n})}let ex=(0,n.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent");function eb({className:e,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(eg.Viewport,{"data-slot":"navigation-menu-viewport",className:(0,r.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),...n})})}function ey({className:e,...n}){return(0,t.jsx)(eg.Link,{"data-slot":"navigation-menu-link",className:(0,r.cn)("flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground data-[active=true]:hover:bg-accent data-[active=true]:focus:bg-accent [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",e),...n})}var ew=e.i(321715),eP=e.i(2813);e.s(["default",0,()=>{let e=(0,ew.usePathname)(),n=(0,eP.useTranslations)("Nav"),o=[{href:"/mp4-converter",label:n("mp4")},{href:"/mp3-converter",label:n("mp3")},{href:"/amv-converter",label:n("amv")},{href:"/articles",label:n("articles")}];return(0,t.jsx)(em,{className:"hidden md:block",children:(0,t.jsx)(ev,{children:o.map(n=>(0,t.jsx)(eh,{children:(0,t.jsx)(ey,{asChild:!0,className:(0,r.cn)(ex(),"bg-transparent",{"!bg-primary-100 !text-primary":e===n.href}),children:(0,t.jsx)(ew.Link,{href:n.href,children:n.label})})},n.href))})})}],392706)},985902,e=>{"use strict";var t=e.i(175083),r=e.i(294237),n=e.i(274302),o=e.i(152088);let a=(0,r.cva)("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-3 aria-invalid:ring-3 active:translate-y-
1px [&_svg:not([class*='size-'])]:size-4 group/button inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none select-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground",destructive:"bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function({className:e,variant:r="default",size:i="default",asChild:s=!1,...l}){let u=s?n.Slot.Root:"button";return(0,t.jsx)(u,{"data-slot":"button","data-variant":r,"data-size":i,className:(0,o.cn)(a({variant:r,size:i,className:e})),...l})}])},547608,e=>{"use strict";var t=e.i(175083),r=e.i(883487),r=r,n=e.i(794983),n=n,o=e.i(152088),a=e.i(985902);function i({...e}){return(0,t.jsx)(n.Portal,{"data-slot":"dialog-portal",...e})}function s({className:e,...r}){return(0,t.jsx)(n.Overlay,{"data-slot":"dialog-overlay",className:(0,o.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(n.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:l,showCloseButton:u=!0,...c}){return(0,t.jsxs)(i,{children:[(0,t.jsx)(s,{}),(0,t.jsxs)(n.Content,{"data-slot":"dialog-content",className:(0,o.cn)("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...c,children:[l,u&&(0,t.jsx)(n.Close,{"data-slot":"dialog-close",asChild:!0,children:(0,t.jsxs)(a.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(n.Description,{"data-slot":"dialog-description",className:(0,o.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:i,...s}){return(0,t.jsxs)("div",{"data-slot":"dialog-footer",className:(0,o.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),...s,children:[i,r&&(0,t.jsx)(n.Close,{asChild:!0,children:(0,t.jsx)(a.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,o.cn)("flex flex-col gap-2",e),...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(n.Title,{"data-slot":"dialog-title",className:(0,o.cn)("cn-font-heading text-base leading-none font-medium",e),...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(n.Trigger,{"data-slot":"dialog-trigger",...e})}],547608)},337837,e=>{"use strict";var t=e.i(175083),r=e.i(795803),n=e.i(291967),o=e.i(922353),a=e.i(9413),i=e.i(403659),s=e.i(687656),l=e.i(362854),u=e.i(411207),c=e.i(845311),d=e.i(576903),f=e.i(690816),p=e.i(285565),g=e.i(160310),m=e.i(136567),v=e.i(73772),h=e.i(469759),x="Popover",[b,y]=(0,a.createContextScope)(x,[c.createPopperScope]),w=(0,c.createPopperScope)(),[P,j]=b(x),C=e=>{let{__scopePopover:n,children:o,open:a,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,d=w(n),f=r.useRef(null),[p,g]=r.useState(!1),[v,h]=(0,m.useControllableState)({prop:a,defaultProp:i??!1,onChange:s,caller:x});return(0,t.jsx)(c.Root,{...d,children:(0,t.jsx)(P,{scope:n,contentId:(0,u.useId)(),triggerRef:f,open:v,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:p,onCustomAnchorAdd:r.useCallback(()=>g(!0),[]),onCustomAnchorRemove:r.useCallback(()=>g(!1),[]),modal:l,children:o})})};C.displayName=x;
1var R="PopoverAnchor",E=r.forwardRef((e,n)=>{let{__scopePopover:o,...a}=e,i=j(R,o),s=w(o),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=i;return r.useEffect(()=>(l(),()=>u()),[l,u]),(0,t.jsx)(c.Anchor,{...s,...a,ref:n})});E.displayName=R;var A="PopoverTrigger",N=r.forwardRef((e,r)=>{let{__scopePopover:a,...i}=e,s=j(A,a),l=w(a),u=(0,o.useComposedRefs)(r,s.triggerRef),d=(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":K(s.open),...i,ref:u,onClick:(0,n.composeEventHandlers)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?d:(0,t.jsx)(c.Anchor,{asChild:!0,...l,children:d})});N.displayName=A;var k="PopoverPortal",[D,O]=b(k,{forceMount:void 0}),T=e=>{let{__scopePopover:r,forceMount:n,children:o,container:a}=e,i=j(k,r);return(0,t.jsx)(D,{scope:r,forceMount:n,children:(0,t.jsx)(f.Presence,{present:n||i.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:a,children:o})})})};T.displayName=k;var S="PopoverContent",L=r.forwardRef((e,r)=>{let n=O(S,e.__scopePopover),{forceMount:o=n.forceMount,...a}=e,i=j(S,e.__scopePopover);return(0,t.jsx)(f.Presence,{present:o||i.open,children:i.modal?(0,t.jsx)(_,{...a,ref:r}):(0,t.jsx)(M,{...a,ref:r})})});L.displayName=S;var I=(0,g.createSlot)("PopoverContent.RemoveScroll"),_=r.forwardRef((e,a)=>{let i=j(S,e.__scopePopover),s=r.useRef(null),l=(0,o.useComposedRefs)(a,s),u=r.useRef(!1);return r.useEffect(()=>{let e=s.current;if(e)return(0,v.hideOthers)(e)},[]),(0,t.jsx)(h.RemoveScroll,{as:I,allowPinchZoom:!0,children:(0,t.jsx)(z,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||i.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),M=r.forwardRef((e,n)=>{let o=j(S,e.__scopePopover),a=r.useRef(!1),i=r.useRef(!1);return(0,t.jsx)(z,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||o.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),z=r.forwardRef((e,r)=>{let{__scopePopover:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:u,disableOutsidePointerEvents:d,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:m,...v}=e,h=j(S,n),x=w(n);return(0,s.useFocusGuards)(),(0,t.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:u,children:(0,t.jsx)(i.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:m,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:g,onDismiss:()=>h.onOpenChange(!1),children:(0,t.jsx)(c.Content,{"data-state":K(h.open),role:"dialog",id:h.contentId,...x,...v,ref:r,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),F="PopoverClose",B=r.forwardRef((e,r)=>{let{__scopePopover:o,...a}=e,i=j(F,o);return(0,t.jsx)(p.Primitive.button,{type:"button",...a,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});B.displayName=F;var H=r.forwardRef((e,r)=>{let{__scopePopover:n,...o}=e,a=w(n);return(0,t.jsx)(c.Arrow,{...a,...o,ref:r})});function K(e){return e?"open":"closed"}H.displayName="PopoverArrow",e.s(["Anchor",0,E,"Arrow",0,H,"Close",0,B,"Content",0,L,"Popover",0,C,"PopoverAnchor",0,E,"PopoverArrow",0,H,"PopoverClose",0,B,"PopoverContent",0,L,"PopoverPortal",0,T,"PopoverTrigger",0,N,"Portal",0,T,"Root",0,C,"Trigger",0,N,"createPopoverScope",0,y],764406);var U=e.i(764406),U=U,$=e.i(152088);let Q=U.Root,V=U.Trigger;U.Anchor;let W=r.forwardRef(({className:e,align:r="center",sideOffset:n=4,...o},a)=>(0,t.jsx)(U.Portal,{children:(0,t.jsx)(U.Content,{ref:a,align:r,sideOffset:n,className:(0,$.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin)",e),...o})}));W.displayName=U.Content.displayName,e.s(["Popover",0,Q,"PopoverContent",0,W,"PopoverTrigger",0,V],337837)},321715,997116,e=>{"use strict";var t=e.i(984126),r=e.i(795803),n=e.i(460651),o=r["use".trim()],a=e.i(548900),i=e.i(205739),s=e.i(519500),l=e.i(175083),u=e.i(761056);let c={locales:["zh-CN","zh-TW","en-US","ms","th"],defaultLocale:"zh-CN",localeDetection:!1,localePrefix:"as-needed"};c.locales.filter(e=>e!==c.defaultLocale),e.s(["routing",0,c],997116);let{Link:d,redirect:f,usePathname:p,useRouter:g,getPathname:m}=function(e){let{Link:c,config:d,getPathname:f,...p}=function(e,n){var u,c,d;let f={...u=n||{},localePrefix:"object"==typeof(d=u.localePrefix)?d:{mode:d||"always"},localeCookie:!!((c=u.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof c&&c},localeDetection:u.localeDetection??!0,alternateLinks:u.alternateLinks??!0},p=f.pathnames,g=(0,r.forwardRef)(function({href:t,locale:r,...n},s){let u,c;"object"==typeof t?(u=t.pathname,c=t.params):u=t;let d=(0,a.isLocalizableHref)(t),g=e(),v=(0,a.isPromise)(g)?o(g):g,h=d?m({locale:r||v,href:null==p?u:{pathname:u,params:c},forcePrefix:null!=r||void 0}):u;return(0,l.jsx)(i.default,{ref:s,href:"object"==typeof t?{...t,pathname:h}:h,locale:r,localeCookie:f.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:o}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,s.serializeSearchParams)(n.query))):t=n:t=(0,s.compileLocalizedPathname)({locale:o,...(0,s.normalizeNameOrNameWithParams)(n),pathnames:f.pathnames}),(0,s.applyPathnamePrefix)(t,o,f,r)}function v(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:g,redirect:v(t.redirect),permanentRedirect:v(t.permanentRedirect),getPathname:m}}(n.useLocale,e);return{...p,Link:c,usePathname:function(){let e,o,i=(e=(0,t.usePathname)(),o=(0,n.useLocale)(),(0,r.useMemo)(()=>{if(!e)return e;let t=e,r=(0,a.getLocalePrefix)(o,d.localePrefix);if((0,a.hasPathnamePrefixed)(r,e))t=(0,a.unprefixPathname)(e,r);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let r=(0,a.getLocaleAsPrefix)(o);(0,a.hasPathnamePrefixed)(r,e)&&(t=(0,a.unprefixPathname)(e,r))}return t},[d.localePrefix,o,e])),l=(0,n.useLocale)();return(0,r.useMemo)(()=>i&&d.pathnames?(0,s.getRoute)(l,i,d.pathnames):i,[l,i])},useRouter:function(){let e=(0,t.useRouter)(),o=(0,n.useLocale)(),a=(0,t.usePathname)();return(0,r.useMemo)(()=>{function t(e){return function(t,r){let{locale:n,...i}=r||{},s=[f({href:t,locale:n||o,forcePrefix:null!=n||void 0})];Object.keys(i).length>0&&s.push(i),(0,u.default)(d.localeCookie,a,o,n),e(...s)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[o,a,e])},getPathname:f}}(c);e.s(["Link",0,d,"usePathname",0,p,"useRouter",0,g],321715)},794983,e=>{"use strict";var t=e.i(795803),r=e.i(291967),n=e.i(922353),o=e.i(9413),a=e.i(411207),i=e.i(136567),s=e.i(403659),l=e.i(362854),u=e.i(576903),c=e.i(690816),d=e.i(285565),f=e.i(687656),p=e.i(469759),g=e.i(73772),m=e.i(160310),v=e.i(175083),h="Dialog",[x,b]=(0,o.createContextScope)(h),[y,w]=x(h),P=e=>{let{__scopeDialog:r,children:n,open:o,defaultOpen:s,onOpenChange:l,modal:u=!0}=e,c=t.useRef(null),d=t.useRef(null),[f,p]=(0,i.useControllableState)({prop:o,defaultProp:s??!1,onChange:l,caller:h});return(0,v.jsx)(y,{scope:r,triggerRef:c,contentRef:d,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};P.displayName=h;var j="DialogTrigger",C=t.forwardRef((e,t)=>{let{__scopeDialog:o,...a}=e,i=w(j,o),s=(0,n.useComposedRefs)(t,i.triggerRef);return(0,v.jsx)(d.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":$(i.open),...a,ref:s,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})});C.displayName=j;var R="DialogPortal",[E,A]=x(R,{forceMount:void 0}),N=e=>{let{__scopeDialog:r,forceMount:n,children:o,container:a}=e,i=w(R,r);return(0,v.jsx)(E,{scope:r,forceMount:n,children:t.Children.map(o,e=>(0,v.jsx)(c.Presence,{present:n||i.open,children:(0,v.jsx)(u.Portal,{asChild:!0,container:a,children:e})}))})};N.displayName=R;var k="DialogOverlay",D=t.forwardRef((e,t)=>
1{let r=A(k,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=w(k,e.__scopeDialog);return a.modal?(0,v.jsx)(c.Presence,{present:n||a.open,children:(0,v.jsx)(T,{...o,ref:t})}):null});D.displayName=k;var O=(0,m.createSlot)("DialogOverlay.RemoveScroll"),T=t.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=w(k,r);return(0,v.jsx)(p.RemoveScroll,{as:O,allowPinchZoom:!0,shards:[o.contentRef],children:(0,v.jsx)(d.Primitive.div,{"data-state":$(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),S="DialogContent",L=t.forwardRef((e,t)=>{let r=A(S,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,a=w(S,e.__scopeDialog);return(0,v.jsx)(c.Presence,{present:n||a.open,children:a.modal?(0,v.jsx)(I,{...o,ref:t}):(0,v.jsx)(_,{...o,ref:t})})});L.displayName=S;var I=t.forwardRef((e,o)=>{let a=w(S,e.__scopeDialog),i=t.useRef(null),s=(0,n.useComposedRefs)(o,a.contentRef,i);return t.useEffect(()=>{let e=i.current;if(e)return(0,g.hideOthers)(e)},[]),(0,v.jsx)(M,{...e,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),_=t.forwardRef((e,r)=>{let n=w(S,e.__scopeDialog),o=t.useRef(!1),a=t.useRef(!1);return(0,v.jsx)(M,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),M=t.forwardRef((e,r)=>{let{__scopeDialog:o,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:u,...c}=e,d=w(S,o),p=t.useRef(null),g=(0,n.useComposedRefs)(r,p);return(0,f.useFocusGuards)(),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:u,children:(0,v.jsx)(s.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":$(d.open),...c,ref:g,onDismiss:()=>d.onOpenChange(!1)})}),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(q,{titleId:d.titleId}),(0,v.jsx)(Y,{contentRef:p,descriptionId:d.descriptionId})]})]})}),z="DialogTitle",F=t.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=w(z,r);return(0,v.jsx)(d.Primitive.h2,{id:o.titleId,...n,ref:t})});F.displayName=z;var B="DialogDescription",H=t.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=w(B,r);return(0,v.jsx)(d.Primitive.p,{id:o.descriptionId,...n,ref:t})});H.displayName=B;var K="DialogClose",U=t.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,a=w(K,n);return(0,v.jsx)(d.Primitive.button,{type:"button",...o,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function $(e){return e?"open":"closed"}U.displayName=K;var Q="DialogTitleWarning",[V,W]=(0,o.createContext)(Q,{contentName:S,titleName:z,docsSlug:"dialog"}),q=({titleId:e})=>{let r=W(Q),n=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Y=({contentRef:e,descriptionId:r})=>{let n=W("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(o))},[o,e,r]),null};e.s(["Close",0,U,"Content",0,L,"Description",0,H,"Dialog",0,P,"DialogClose",0,U,"DialogContent",0,L,"DialogDescription",0,H,"DialogOverlay",0,D,"DialogPortal",0,N,"DialogTitle",0,F,"DialogTrigger",0,C,"Overlay",0,D,"Portal",0,N,"Root",0,P,"Title",0,F,"Trigger",0,C,"WarningProvider",0,V,"createDialogScope",0,b])},587312,e=>{"use strict";var t=e.i(795803),r=e.i(285565),n=e.i(175083),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef((e,t)=>
5(0,n.jsx)(r.Primitive.span,{...e,ref:t,style:{...o,...e.style}}));a.displayName="VisuallyHidden",e.s(["Root",0,a,"VISUALLY_HIDDEN_STYLES",0,o])},883487,e=>{"use strict";let t=(0,e.i(842763).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t])},205739,548900,519500,761056,e=>{"use strict";var t=e.i(385197),r=e.i(984126),n=e.i(795803),o=e.i(460651),a=e.i(715049);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function s(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t,r){return"string"==typeof e?e:e[t]||r}function u(e){let t=function(){try{return"true"===a.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),o=n.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function c(e,t){let r,n=u(e),o=u(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(o)}function d(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function p(e){return e.includes("[[...")}function g(e){return e.includes("[...")}function m(e){return e.includes("[")}function v(e,t){let r=e.split("/"),n=t.split("/"),o=Math.max(r.length,n.length);for(let e=0;e<o;e++){let t=r[e],o=n[e];if(!t&&o)return -1;if(t&&!o)return 1;if(t||o){if(!m(t)&&m(o))return -1;if(m(t)&&!m(o))return 1;if(!g(t)&&g(o))return -1;if(g(t)&&!g(o))return 1;if(!p(t)&&p(o))return -1;if(p(t)&&!p(o))return 1}}return 0}function h(e){return e.sort(v)}function x(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function b(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function y(e,t,r,n){if(!e||n===r||null==n||!t)return;let o=b(t),{name:a,...i}=e;i.path||(i.path=""!==o?o:"/");let s=`${a}=${n};`;for(let[e,t]of Object.entries(i))s+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s}e.s(["getLocaleAsPrefix",0,f,"getLocalePrefix",0,d,"getLocalizedTemplate",0,l,"getSortedPathnames",0,h,"hasPathnamePrefixed",0,function(e,t){return t===e||t.startsWith(`${e}/`)},"isLocalizableHref",0,i,"isPromise",0,function(e){return"function"==typeof e.then},"matchesPathname",0,c,"normalizeTrailingSlash",0,u,"prefixPathname",0,s,"unprefixPathname",0,function(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}],548900),e.s(["applyPathnamePrefix",0,function(e,t,r,n){let o,{mode:a}=r.localePrefix;if(void 0!==n)o=n;else if(i(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||a;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?s(d(t,r.localePrefix),e):e},"compileLocalizedPathname",0,function({pathname:e,locale:t,params:r,pathnames:n,query:o}){function a(e){let a,i=n[e];return i?(a=l(i,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=u(a),o&&(a+=x(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}},"getBasePath",0,b,"getRoute",0,function(e,t,r){let n=h(Object.keys(r)),o=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(c(n,o))return t}else if(c(l(n,e,t),o))return t}return t},"normalizeNameOrNameWithParams",0,function(e){return"string"==typeof e?{pathname:e}:e},"serializeSearchParams",0,x],519500),e.s(["default",0,y],761056);var w=e.i(175083);let P=t.default;function j({curLocale:e,linkRef:t,locale:n,localeCookie:o,onClick:a,prefetch:i,...s}){let l=(0,r.usePathname)();return(0,w.jsx)(P,{ref:t,hrefLang:n,onClick:function(t){y(o,l,e,n),a&&a(t)},prefetch:!1,...s})}var C=(0,n.forwardRef)(function({locale:e,localeCookie:t,...r},n){let a=(0,o.useLocale)();return null!=e&&e!==a?(0,w.jsx)(j,{curLocale:a,linkRef:n,locale:e,localeCookie:t,...r}):(0,w.jsx)(P,{ref:n,...r})});e.s(["default",0,C],205739)},2813,e=>{"use strict";var t=e.i(460651);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",0,n])},385197,(e,t,r)=>{"use strict";
5e.i(715049),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return h},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(56421),i=e.r(175083),s=a._(e.r(795803)),l=e.r(72316),u=e.r(701707),c=e.r(970028),d=e.r(27700),f=e.r(449711),p=e.r(182566),g=e.r(226540),m=e.r(447410),v=e.r(959360);function h(t){var r;let n,o,a,[h,b]=(0,s.useOptimistic)(g.IDLE_LINK_STATUS),y=(0,s.useRef)(null),{href:w,as:P,children:j,prefetch:C=null,passHref:R,replace:E,shallow:A,scroll:N,onClick:k,onMouseEnter:D,onTouchStart:O,legacyBehavior:T=!1,onNavigate:S,transitionTypes:L,ref:I,unstable_dynamicOnHover:_,...M}=t;n=j,T&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let z=s.default.useContext(u.AppRouterContext),F=!1!==C,B=!1===C?"none":!0===C?"full":"auto",H="none"!==B&&"full"===B?v.FetchStrategy.Full:v.FetchStrategy.PPR,K="string"==typeof(r=P||w)?r:(0,l.formatUrl)(r);if(T){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` 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 `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let U=T?o&&"object"==typeof o&&o.ref:I,$,Q=s.default.useCallback(e=>(null!==z&&(y.current=(0,g.mountLinkInstance)(e,K,z,H,F,b,$)),()=>{y.current&&((0,g.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,g.unmountPrefetchableInstance)(e)}),[F,K,z,H,b,$]),V={ref:(0,c.useMergedRef)(Q,U),onClick(t){T||"function"!=typeof k||k(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!z||t.defaultPrevented||function(t,r,n,o,a,i,l,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.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,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(355888);s.default.startTransition(()=>{f(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,u)})}}(t,K,y,E,N,S,L,B)},onMouseEnter(e){T||"function"!=typeof D||D(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&F&&(0,g.onNavigationIntent)(e.currentTarget,!0===_)},onTouchStart:function(e){T||"function"!=typeof O||O(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&F&&(0,g.onNavigationIntent)(e.currentTarget,!0===_)}};return(0,d.isAbsoluteUrl)(K)?V.href=K:T&&!R&&("a"!==o.type||"href"in o.props)||(V.href=(0,f.addBasePath)(K)),a=T?s.default.cloneElement(o,V):(0,i.jsx)("a",{...M,...V,children:n}),(0,i.jsx)(x.Provider,{value:h,children:a})}let x=(0,s.createContext)(g.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(x);("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)},970028,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(795803);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(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)},772236,(e,t,r)=>{"use strict";
5e.i(715049),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(836437),i=e.r(369427),s=e.r(93288),l=a._(e.r(225703));function u(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=s.Image},144735,(e,t,r)=>{t.exports=e.r(772236)},447410,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(27700),o=e.r(517868);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},646735,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},72316,(e,t,r)=>{"use strict";e.i(715049),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(56421)._(e.r(646735)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},27700,(e,t,r)=>{"use strict";e.i(715049),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return h},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return y},NormalizeError:function(){return x},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return v},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return g},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(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 g(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await g(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}
5" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,v=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class x extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.