@sinytra/wiki-previewer 0.1.112 → 0.1.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +50 -49
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +15 -15
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -1
- package/.next/server/chunks/2337.js +1 -0
- package/.next/server/chunks/2744.js +1 -0
- package/.next/server/chunks/4510.js +1 -0
- package/.next/server/middleware-manifest.json +10 -10
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/103-17dcfd4e9416f734.js +1 -0
- package/.next/static/chunks/2709-491f94e4985f09ae.js +1 -0
- package/.next/static/chunks/{3553-506ce584fea768cf.js → 4874-3e09f112ef80ea5d.js} +1 -1
- package/.next/static/chunks/{5383-524037cb66b718c8.js → 5383-87c8e1c7b188639f.js} +1 -1
- package/.next/static/chunks/8616-5b19a69bdb5404cf.js +1 -0
- package/.next/static/chunks/{9585-1b3d4db6576d361c.js → 9585-609885da8eda1614.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-9ef33853f8158cdd.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-0b2c82d77932fd90.js → page-76d531b594c7d03d.js} +1 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-6ca2ad1ab7d721c3.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-cc2d4c336f03460f.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-2d40733903300974.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{page-140dbff46c1506ca.js → page-db1403a0467da47b.js} +1 -1
- package/.next/static/chunks/app/[locale]/{layout-46bc3cbf8afcbd68.js → layout-607fb3570f758fcf.js} +1 -1
- package/.next/static/css/0cade3faa049b2e9.css +1 -0
- package/package.json +1 -1
- package/.next/server/chunks/3040.js +0 -1
- package/.next/server/chunks/3644.js +0 -1
- package/.next/static/chunks/400-0311e393c4ee6984.js +0 -1
- package/.next/static/chunks/4536-071b06b5a711ad42.js +0 -1
- package/.next/static/chunks/9792-6c91b823e0100f80.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-46523becf0e40998.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-96dfc18176056715.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-b8ff84b8f8a18911.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-dc32ce22a0cd968f.js +0 -1
- package/.next/static/css/b9a86f6e4c2491d1.css +0 -1
- /package/.next/static/{mIZuzPkP8hIj1tQgjiu1D → 6ONXk34nN_arlEj5dNpk-}/_buildManifest.js +0 -0
- /package/.next/static/{mIZuzPkP8hIj1tQgjiu1D → 6ONXk34nN_arlEj5dNpk-}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5383],{1273:(e,t,r)=>{r.d(t,{AddRefIfNedded:()=>l});var n=r(7893),i=r(28081);let o=({merge:e,...t})=>{let{_stack:r,...i}=function(...e){return 1===e.length?e[0]:e.reduce((e,t)=>{for(let r in t)!function(e,t,r){if("children"===t)e.children=r||e.children;else if("_ref"===t)e._ref=r||e._ref;else if("data"===t)e.data=e.data?{...e.data,...r}:r;else if("className"===t)e.className=[e.className,r].join(" ").trim();else if("style"===t)e.style={...e.style,...r};else if("function"==typeof r){let n=e[t];e[t]=n?(...e)=>{n(...e),r(...e)}:r}else if(void 0===r||"object"!=typeof r&&r===e[t]);else if(t in e)throw Error(`Didn’t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`);else e[t]=r}(e,r,t[r]);return e},{})}(e,t),[o,...l]=r;if(o)return(0,n.jsx)(o,{_stack:l,...i});{let{_ref:e,data:t,children:r,...o}=i;return(0,n.jsx)("pre",{...o,ref:e,"data-ch":!0,children:(0,n.jsx)("div",{style:{minWidth:"fit-content"},children:r})})}},l=e=>{let t=(0,i.useRef)(null),r=e._ref||t;return(0,n.jsx)(o,{merge:e,_ref:r})}},9389:(e,t,r)=>{r.d(t,{Qg:()=>a,bL:()=>s});var n=r(28081),i=r(21851),o=r(7893),l=Object.defineProperty,a=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"}),s=n.forwardRef(l(function(e,t){return(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...a,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},19371:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},29091:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(46780)),s=r(44995),u=r(435),c=r(19371);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(47971);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!l)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(s.AmpStateContext),n=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30981:(e,t,r)=>{r.d(t,{Kq:()=>q,UC:()=>X,bL:()=>V,l9:()=>W});var n=r(28081),i=r(51016),o=r(46988),l=r(25020),a=r(5721),s=r(68285),u=r(14182),c=r(17312),d=r(21851),f=r(85126),p=r(45415),h=r(58307),m=r(9389),g=r(7893),v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),[b,x]=(0,l.A)("Tooltip",[u.Bk]),w=(0,u.Bk)(),C="tooltip.open",[j,R]=b("TooltipProvider"),_=y(e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,a=n.useRef(!0),s=n.useRef(!1),u=n.useRef(0);return n.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(j,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),a.current=!1)},[i]),onClose:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,i))},[i]),isPointerInTransitRef:s,onPointerInTransitChange:n.useCallback(e=>{s.current=e},[]),disableHoverableContent:o,children:l})},"TooltipProvider"),E="Tooltip",[P,O]=b(E),S=y(e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=R(E,e.__scopeTooltip),f=w(t),[h,m]=n.useState(null),[v,b]=n.useState(void 0),x=(0,s.B)(),j=n.useRef(0),_=null!=a?a:d.disableHoverableContent,O=null!=c?c:d.delayDuration,S=n.useRef(!1),[T,k]=(0,p.i)({prop:i,defaultProp:null!=o&&o,onChange:y(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(C))):d.onClose(),null==l||l(e)},"onChange"),caller:E}),I=n.useMemo(()=>T?S.current?"delayed-open":"instant-open":"closed",[T]),A=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,S.current=!1,k(!0)},[k]),M=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,k(!1)},[k]),D=n.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{S.current=!0,k(!0),j.current=0},O)},[O,k]);return n.useEffect(()=>()=>{j.current&&(window.clearTimeout(j.current),j.current=0)},[]),(0,g.jsx)(u.bL,{...f,children:(0,g.jsx)(P,{scope:t,contentId:null!=v?v:x,setContentId:b,open:T,stateAttribute:I,trigger:h,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayedRef.current?D():A()},[d.isOpenDelayedRef,D,A]),onTriggerLeave:n.useCallback(()=>{_?M():(window.clearTimeout(j.current),j.current=0)},[M,_]),onOpen:A,onClose:M,disableHoverableContent:_,children:r})})},"Tooltip"),T="TooltipTrigger",k=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,...l}=e,a=O(T,r),s=R(T,r),c=w(r),f=n.useRef(null),p=(0,o.s)(t,f,a.onTriggerChange),h=n.useRef(!1),m=n.useRef(!1),v=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,i.mK)(e.onBlur,a.onClose),onClick:(0,i.mK)(e.onClick,a.onClose)})})},"TooltipTrigger")),[I,A]=b("TooltipPortal",{forceMount:void 0}),M="TooltipContent",D=n.forwardRef(y(function(e,t){let r=A(M,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,l=O(M,e.__scopeTooltip);return(0,g.jsx)(c.C,{present:n||l.open,children:l.disableHoverableContent?(0,g.jsx)(F,{side:i,...o,ref:t}):(0,g.jsx)(z,{side:i,...o,ref:t})})},"TooltipContent")),z=n.forwardRef(y(function(e,t){let r=O(M,e.__scopeTooltip),i=R(M,e.__scopeTooltip),l=n.useRef(null),a=(0,o.s)(t,l),[s,u]=n.useState(null),{trigger:c,onClose:d}=r,f=l.current,{onPointerInTransitChange:p}=i,h=n.useCallback(()=>{u(null),p(!1)},[p]),m=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=N(n,r.getBoundingClientRect());u(U([...K(n,i),...G(t.getBoundingClientRect())])),p(!0)},[p]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(c&&f){let e=y(e=>m(e,f),"handleTriggerLeave"),t=y(e=>m(e,c),"handleContentLeave");return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,h]),n.useEffect(()=>{if(s){let e=y(e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),i=!B(r,s);n?h():i&&(h(),d())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,s,d,h]),(0,g.jsx)(F,{...e,ref:a})},"TooltipContentHoverable")),L=(0,f.Dc)("TooltipContent"),F=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,children:i,"aria-label":o,id:l,onEscapeKeyDown:s,onPointerDownOutside:c,...d}=e,f=O(M,r),p=w(r),{onClose:v}=f;n.useEffect(()=>(document.addEventListener(C,v),()=>document.removeEventListener(C,v)),[v]),n.useEffect(()=>{if(f.trigger){let e=y(e=>{e.target instanceof Node&&e.target.contains(f.trigger)&&v()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]);let{setContentId:b}=f;return(0,h.N)(()=>(b(l),()=>{b(void 0)}),[l,b]),(0,g.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,g.jsxs)(u.UC,{"data-state":f.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(L,{children:i}),o?(0,g.jsx)(m.bL,{id:f.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl"));function N(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}function K(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}function G(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}function B(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],a=t[o],s=l.x,u=l.y,c=a.x,d=a.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(i=!i)}return i}function U(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),H(t)}function H(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}y(N,"getExitSideFromRect"),y(K,"getPaddedExitPoints"),y(G,"getPointsFromRect"),y(B,"isPointInPolygon"),y(U,"getHull"),y(H,"getHullPresorted");var q=_,V=S,W=k,X=D},37472:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},41853:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(4420)._(r(28081)),i=r(46095),o=n.default.createContext(i.imageConfigDefault)},42019:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(28081);r(7893);var i=Object.defineProperty,o=n.createContext(void 0);function l(e){let t=n.useContext(o);return e||t||"ltr"}i(l,"name",{value:"useDirection",configurable:!0})},43970:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+l+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},44995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(4420)._(r(28081)).default.createContext({})},46095:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},46513:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("tv-minimal-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]])},46780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(28081),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},48731:(e,t,r)=>{r.d(t,{UC:()=>es,B8:()=>el,bL:()=>eo,l9:()=>ea});var n=r(28081),i=r.t(n,2),o=r(51016),l=r(25020),a=r(93992),s=r(46988),u=r(68285),c=r(21851),d=r(66325),f=r(45415),p=r(42019),h=r(58307),m=Object.defineProperty,g=(e,t)=>m(e,"name",{value:t,configurable:!0}),v=!1;function y(){let[e,t]=n.useState(v);return n.useEffect(()=>{v||(v=!0,t(!0))},[]),e}g(y,"useIsHydrated");var b=i[" useSyncExternalStore ".trim().toString()];function x(){return()=>{}}function w(){return b(x,()=>!0,()=>!1)}g(x,"subscribe"),g(w,"useIsHydratedModern");var C="function"==typeof b?w:y,j=r(7893),R=Object.defineProperty,_=(e,t)=>R(e,"name",{value:t,configurable:!0}),E="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[S,T,k]=(0,a.N)(O),[I,A]=(0,l.A)(O,[k]),[M,D]=I(O),z=n.forwardRef(_(function(e,t){return(0,j.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(L,{...e,ref:t})})})},"RovingFocusGroup")),L=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:a,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,b=n.useRef(null),x=(0,s.s)(t,b),w=(0,p.jH)(a),[C,R]=(0,f.i)({prop:u,defaultProp:null!=h?h:null,onChange:m,caller:O}),[_,S]=n.useState(!1),k=(0,d.c)(g),I=T(r),A=n.useRef(!1),[D,z]=n.useState(0);return n.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(E,k),()=>e.removeEventListener(E,k)},[k]),(0,j.jsx)(M,{scope:r,orientation:i,dir:w,loop:l,currentTabStopId:C,onItemFocus:n.useCallback(e=>R(e),[R]),onItemShiftTab:n.useCallback(()=>S(!0),[]),onFocusableItemAdd:n.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>z(e=>e-1),[]),children:(0,j.jsx)(c.sG.div,{tabIndex:_||0===D?-1:0,"data-orientation":i,...y,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(E,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}A.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>S(!1))})})},"RovingFocusGroupImpl")),F=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:l=!1,tabStopId:a,children:s,...d}=e,f=(0,u.B)(),p=a||f,m=D("RovingFocusGroupItem",r),g=m.currentTabStopId===p,v=T(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:x}=m,w=C();return(0,h.N)(()=>{if(w&&i)return y(),()=>b()},[w,i,y,b]),n.useEffect(()=>{if(!w&&i)return y(),()=>b()},[w,i,y,b]),(0,j.jsx)(S.ItemSlot,{scope:r,id:p,focusable:i,active:l,children:(0,j.jsx)(c.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=G(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?U(r,n+1):r.slice(n+1)}setTimeout(()=>B(r))}}),children:"function"==typeof s?s({isCurrentTabStop:g,hasTabStop:null!=x}):s})})},"RovingFocusGroupItem")),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function G(e,t,r){let n=K(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return N[n]}function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U(e,t){return e.map((r,n)=>e[(t+n)%e.length])}_(K,"getDirectionAwareKey"),_(G,"getFocusIntent"),_(B,"focusFirst"),_(U,"wrapArray");var H=r(17312),q=Object.defineProperty,V=(e,t)=>q(e,"name",{value:t,configurable:!0}),W="Tabs",[X,Y]=(0,l.A)(W,[A]),$=A(),[J,Q]=X(W),Z=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:l="horizontal",dir:a,activationMode:s="automatic",...d}=e,h=(0,p.jH)(a),[m,g]=(0,f.i)({prop:n,onChange:i,defaultProp:null!=o?o:"",caller:W});return(0,j.jsx)(J,{scope:r,baseId:(0,u.B)(),value:m,onValueChange:g,orientation:l,dir:h,activationMode:s,children:(0,j.jsx)(c.sG.div,{dir:h,"data-orientation":l,...d,ref:t})})},"Tabs")),ee=n.forwardRef(V(function(e,t){let{__scopeTabs:r,loop:n=!0,...i}=e,o=Q("TabsList",r),l=$(r);return(0,j.jsx)(z,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:(0,j.jsx)(c.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})},"TabsList")),et=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,disabled:i=!1,...l}=e,a=Q("TabsTrigger",r),s=$(r),u=en(a.baseId,n),d=ei(a.baseId,n),f=n===a.value;return(0,j.jsx)(F,{asChild:!0,...s,focusable:!i,active:f,children:(0,j.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!i&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&a.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==a.activationMode;f||i||!e||a.onValueChange(n)})})})},"TabsTrigger")),er=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:i,forceMount:o,children:l,...a}=e,s=Q("TabsContent",r),u=en(s.baseId,i),d=ei(s.baseId,i),f=i===s.value,p=n.useRef(f);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,j.jsx)(H.C,{present:o||f,children:r=>{let{present:n}=r;return(0,j.jsx)(c.sG.div,{"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&l})}})},"TabsContent"));function en(e,t){return"".concat(e,"-trigger-").concat(t)}function ei(e,t){return"".concat(e,"-content-").concat(t)}V(en,"makeTriggerId"),V(ei,"makeContentId");var eo=Z,el=ee,ea=et,es=er},53931:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("chevrons-down",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]])},59179:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,s=i?40*i:r,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},59759:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},63914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(63220)),s=n._(r(29091)),u=r(69538),c=r(46095),d=r(41853);r(47971);let f=r(0),p=n._(r(43970)),h=r(26865),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:s,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:C,setShowAltText:j,sizesInput:R,onLoad:_,onError:E,...P}=e,O=(0,l.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,p,x,w,C,y,R))},[r,p,x,w,C,E,y,R]),S=(0,h.useMergedRef)(t,O);return(0,o.jsx)("img",{...P,...v(f),loading:m,width:s,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:S,onLoad:e=>{g(e.currentTarget,p,x,w,C,y,R)},onError:e=>{j(!0),"empty"!==p&&C(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let x=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(f.RouterContext),n=(0,l.useContext)(d.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:s}=e,h=(0,l.useRef)(a);(0,l.useEffect)(()=>{h.current=a},[a]);let g=(0,l.useRef)(s);(0,l.useEffect)(()=>{g.current=s},[s]);let[v,x]=(0,l.useState)(!1),[w,C]=(0,l.useState)(!1),{props:j,meta:R}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...j,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:e.sizes,ref:t}),R.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:j}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69538:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(47971);let n=r(59179),i=r(46095),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let u,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:x,fill:w=!1,style:C,overrideSrc:j,onLoad:R,onLoadingComplete:_,placeholder:E="empty",blurDataURL:P,fetchPriority:O,decoding:S="async",layout:T,objectFit:k,objectPosition:I,lazyBoundary:A,lazyRoot:M,...D}=e,{imgConf:z,showAltText:L,blurComplete:F,defaultLoader:N}=t,K=z||i.imageConfigDefault;if("allSizes"in K)u=K;else{let e=[...K.deviceSizes,...K.imageSizes].sort((e,t)=>e-t),t=K.deviceSizes.sort((e,t)=>e-t),n=null==(r=K.qualities)?void 0:r.sort((e,t)=>e-t);u={...K,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===N)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let G=D.loader||N;delete D.loader,delete D.srcSet;let B="__next_img_default"in G;if(B){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=G;G=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(C={...C,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!p&&(p=t)}let U="",H=a(b),q=a(x);if((s=f)&&"object"==typeof s&&(l(s)||void 0!==s.src)){let e=l(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,P=P||e.blurDataURL,U=e.src,!w)if(H||q){if(H&&!q){let t=H/e.width;q=Math.round(e.height*t)}else if(!H&&q){let t=q/e.height;H=Math.round(e.width*t)}}else H=e.width,q=e.height}let V=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:U)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,V=!1),u.unoptimized&&(h=!0),B&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let W=a(y),X=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:I}:{},L?{}:{color:"transparent"},C),Y=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:q,blurWidth:c,blurHeight:d,blurDataURL:P||"",objectFit:X.objectFit})+'")':'url("'+E+'")',$=o.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,J=Y?{backgroundSize:$,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),c=s.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:o,width:s[c]})}}({config:u,src:f,unoptimized:h,width:H,quality:W,sizes:p,loader:G});return{props:{...D,loading:V?"lazy":g,fetchPriority:O,width:H,height:q,decoding:S,className:v,style:{...X,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:j||Q.src},meta:{unoptimized:h,priority:m,placeholder:E,fill:w}}}},93992:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function o(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>m});var l,a,s=r(28081),u=r(25020),c=r(46988),d=r(85126),f=r(7893),p=Object.defineProperty,h=(e,t)=>p(e,"name",{value:t,configurable:!0});function m(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=h(e=>{let{scope:t,children:r}=e,n=s.useRef(null),o=s.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})},"CollectionProvider");l.displayName=t;let a=e+"CollectionSlot",p=(0,d.TL)(a),m=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(a,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});m.displayName=a;let g=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,d.TL)(g),b=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),a=(0,c.s)(t,l),u=o(g,r);return s.useEffect(()=>(u.itemMap.set(l,{ref:l,...i}),()=>void u.itemMap.delete(l))),(0,f.jsx)(y,{...{[v]:""},ref:a,children:n})});function x(t){let r=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return b.displayName=g,h(x,"useCollection"),[{Provider:l,Slot:m,ItemSlot:b},x,n]}h(m,"createCollection");var g=new WeakMap,v=(l=new WeakMap,h(a=class e extends Map{set(e,t){return g.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),a=i(this,l).length,s=x(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;s<0&&u++;let f=[...i(this,l)],p=!1;for(let e=u;e<d;e++)if(u===e){let i=f[e];f[e]===t&&(i=f[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return y(i(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),g.set(this,!0)}},"OrderedDict"),a);function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=b(e,t);return -1===r?void 0:e[r]}function b(e,t){let r=e.length,n=x(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function x(e){return e!=e||0===e?0:Math.trunc(e)}function w(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function C(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function j(e,t){return e[1].element&&t[1].element?C(e[1].element,t[1].element)?-1:1:0}function R(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}h(y,"at"),h(b,"toSafeIndex"),h(x,"toSafeInteger"),h(function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new v,setItemMap:h(()=>void 0,"setItemMap")}),l=h(e=>{let{state:t,...r}=e;return t?(0,f.jsx)(p,{...r,state:t}):(0,f.jsx)(a,{...r})},"CollectionProvider");l.displayName=t;let a=h(e=>{let t=_();return(0,f.jsx)(p,{...e,state:t})},"CollectionInit");a.displayName=t+"Init";let p=h(e=>{let{scope:t,children:r,state:n}=e,o=s.useRef(null),[l,a]=s.useState(null),u=(0,c.s)(o,a),[d,p]=n;return s.useEffect(()=>{if(!l)return;let e=R(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,f.jsx)(i,{scope:t,itemMap:d,setItemMap:p,collectionRef:u,collectionRefObject:o,collectionElement:l,children:r})},"CollectionProviderImpl");p.displayName=t+"Impl";let m=e+"CollectionSlot",g=(0,d.TL)(m),y=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(m,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(g,{ref:l,children:n})});y.displayName=m;let b=e+"CollectionItemSlot",x=(0,d.TL)(b),C=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),[a,u]=s.useState(null),d=(0,c.s)(t,l,u),{setItemMap:p}=o(b,r),h=s.useRef(i);w(h.current,i)||(h.current=i);let m=h.current;return s.useEffect(()=>(p(e=>a?e.has(a)?e.set(a,{...m,element:a}).toSorted(j):(e.set(a,{...m,element:a}),e.toSorted(j)):e),()=>{p(e=>a&&e.has(a)?(e.delete(a),new v(e)):e)}),[a,m,p]),(0,f.jsx)(x,{"data-radix-collection-item":"",ref:d,children:n})});function _(){return s.useState(new v)}function E(t){let{itemMap:r}=o(e+"CollectionConsumer",t);return r}return C.displayName=b,h(_,"useInitCollection"),h(E,"useCollection"),[{Provider:l,Slot:y,ItemSlot:C},{createCollectionScope:n,useCollection:E,useInitCollection:_}]},"createCollection"),h(w,"shallowEqual"),h(C,"isElementPreceding"),h(j,"sortByDocumentPosition"),h(R,"getChildListObserver")}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5383],{1273:(e,t,r)=>{r.d(t,{AddRefIfNedded:()=>l});var n=r(7893),i=r(28081);let o=({merge:e,...t})=>{let{_stack:r,...i}=function(...e){return 1===e.length?e[0]:e.reduce((e,t)=>{for(let r in t)!function(e,t,r){if("children"===t)e.children=r||e.children;else if("_ref"===t)e._ref=r||e._ref;else if("data"===t)e.data=e.data?{...e.data,...r}:r;else if("className"===t)e.className=[e.className,r].join(" ").trim();else if("style"===t)e.style={...e.style,...r};else if("function"==typeof r){let n=e[t];e[t]=n?(...e)=>{n(...e),r(...e)}:r}else if(void 0===r||"object"!=typeof r&&r===e[t]);else if(t in e)throw Error(`Didn’t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`);else e[t]=r}(e,r,t[r]);return e},{})}(e,t),[o,...l]=r;if(o)return(0,n.jsx)(o,{_stack:l,...i});{let{_ref:e,data:t,children:r,...o}=i;return(0,n.jsx)("pre",{...o,ref:e,"data-ch":!0,children:(0,n.jsx)("div",{style:{minWidth:"fit-content"},children:r})})}},l=e=>{let t=(0,i.useRef)(null),r=e._ref||t;return(0,n.jsx)(o,{merge:e,_ref:r})}},9389:(e,t,r)=>{r.d(t,{Qg:()=>a,bL:()=>s});var n=r(28081),i=r(21851),o=r(7893),l=Object.defineProperty,a=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"}),s=n.forwardRef(l(function(e,t){return(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...a,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},29091:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(46780)),s=r(44995),u=r(435),c=r(41752);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(47971);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!l)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(s.AmpStateContext),n=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30981:(e,t,r)=>{r.d(t,{Kq:()=>q,UC:()=>X,bL:()=>V,l9:()=>W});var n=r(28081),i=r(51016),o=r(46988),l=r(25020),a=r(5721),s=r(68285),u=r(14182),c=r(17312),d=r(21851),f=r(85126),p=r(45415),h=r(58307),m=r(9389),g=r(7893),v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),[b,x]=(0,l.A)("Tooltip",[u.Bk]),w=(0,u.Bk)(),C="tooltip.open",[j,R]=b("TooltipProvider"),_=y(e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,a=n.useRef(!0),s=n.useRef(!1),u=n.useRef(0);return n.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(j,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),a.current=!1)},[i]),onClose:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,i))},[i]),isPointerInTransitRef:s,onPointerInTransitChange:n.useCallback(e=>{s.current=e},[]),disableHoverableContent:o,children:l})},"TooltipProvider"),E="Tooltip",[P,O]=b(E),S=y(e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=R(E,e.__scopeTooltip),f=w(t),[h,m]=n.useState(null),[v,b]=n.useState(void 0),x=(0,s.B)(),j=n.useRef(0),_=null!=a?a:d.disableHoverableContent,O=null!=c?c:d.delayDuration,S=n.useRef(!1),[T,k]=(0,p.i)({prop:i,defaultProp:null!=o&&o,onChange:y(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(C))):d.onClose(),null==l||l(e)},"onChange"),caller:E}),I=n.useMemo(()=>T?S.current?"delayed-open":"instant-open":"closed",[T]),A=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,S.current=!1,k(!0)},[k]),M=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,k(!1)},[k]),D=n.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{S.current=!0,k(!0),j.current=0},O)},[O,k]);return n.useEffect(()=>()=>{j.current&&(window.clearTimeout(j.current),j.current=0)},[]),(0,g.jsx)(u.bL,{...f,children:(0,g.jsx)(P,{scope:t,contentId:null!=v?v:x,setContentId:b,open:T,stateAttribute:I,trigger:h,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayedRef.current?D():A()},[d.isOpenDelayedRef,D,A]),onTriggerLeave:n.useCallback(()=>{_?M():(window.clearTimeout(j.current),j.current=0)},[M,_]),onOpen:A,onClose:M,disableHoverableContent:_,children:r})})},"Tooltip"),T="TooltipTrigger",k=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,...l}=e,a=O(T,r),s=R(T,r),c=w(r),f=n.useRef(null),p=(0,o.s)(t,f,a.onTriggerChange),h=n.useRef(!1),m=n.useRef(!1),v=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,i.mK)(e.onBlur,a.onClose),onClick:(0,i.mK)(e.onClick,a.onClose)})})},"TooltipTrigger")),[I,A]=b("TooltipPortal",{forceMount:void 0}),M="TooltipContent",D=n.forwardRef(y(function(e,t){let r=A(M,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,l=O(M,e.__scopeTooltip);return(0,g.jsx)(c.C,{present:n||l.open,children:l.disableHoverableContent?(0,g.jsx)(F,{side:i,...o,ref:t}):(0,g.jsx)(z,{side:i,...o,ref:t})})},"TooltipContent")),z=n.forwardRef(y(function(e,t){let r=O(M,e.__scopeTooltip),i=R(M,e.__scopeTooltip),l=n.useRef(null),a=(0,o.s)(t,l),[s,u]=n.useState(null),{trigger:c,onClose:d}=r,f=l.current,{onPointerInTransitChange:p}=i,h=n.useCallback(()=>{u(null),p(!1)},[p]),m=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=N(n,r.getBoundingClientRect());u(U([...K(n,i),...G(t.getBoundingClientRect())])),p(!0)},[p]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(c&&f){let e=y(e=>m(e,f),"handleTriggerLeave"),t=y(e=>m(e,c),"handleContentLeave");return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,h]),n.useEffect(()=>{if(s){let e=y(e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),i=!B(r,s);n?h():i&&(h(),d())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,s,d,h]),(0,g.jsx)(F,{...e,ref:a})},"TooltipContentHoverable")),L=(0,f.Dc)("TooltipContent"),F=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,children:i,"aria-label":o,id:l,onEscapeKeyDown:s,onPointerDownOutside:c,...d}=e,f=O(M,r),p=w(r),{onClose:v}=f;n.useEffect(()=>(document.addEventListener(C,v),()=>document.removeEventListener(C,v)),[v]),n.useEffect(()=>{if(f.trigger){let e=y(e=>{e.target instanceof Node&&e.target.contains(f.trigger)&&v()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]);let{setContentId:b}=f;return(0,h.N)(()=>(b(l),()=>{b(void 0)}),[l,b]),(0,g.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,g.jsxs)(u.UC,{"data-state":f.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(L,{children:i}),o?(0,g.jsx)(m.bL,{id:f.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl"));function N(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}function K(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}function G(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}function B(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],a=t[o],s=l.x,u=l.y,c=a.x,d=a.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(i=!i)}return i}function U(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),H(t)}function H(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}y(N,"getExitSideFromRect"),y(K,"getPaddedExitPoints"),y(G,"getPointsFromRect"),y(B,"isPointInPolygon"),y(U,"getHull"),y(H,"getHullPresorted");var q=_,V=S,W=k,X=D},37472:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},41752:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},41853:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(4420)._(r(28081)),i=r(46095),o=n.default.createContext(i.imageConfigDefault)},42019:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(28081);r(7893);var i=Object.defineProperty,o=n.createContext(void 0);function l(e){let t=n.useContext(o);return e||t||"ltr"}i(l,"name",{value:"useDirection",configurable:!0})},43970:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+l+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},44995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(4420)._(r(28081)).default.createContext({})},46095:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},46513:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("tv-minimal-play",[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]])},46780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(28081),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},48731:(e,t,r)=>{r.d(t,{UC:()=>es,B8:()=>el,bL:()=>eo,l9:()=>ea});var n=r(28081),i=r.t(n,2),o=r(51016),l=r(25020),a=r(93992),s=r(46988),u=r(68285),c=r(21851),d=r(66325),f=r(45415),p=r(42019),h=r(58307),m=Object.defineProperty,g=(e,t)=>m(e,"name",{value:t,configurable:!0}),v=!1;function y(){let[e,t]=n.useState(v);return n.useEffect(()=>{v||(v=!0,t(!0))},[]),e}g(y,"useIsHydrated");var b=i[" useSyncExternalStore ".trim().toString()];function x(){return()=>{}}function w(){return b(x,()=>!0,()=>!1)}g(x,"subscribe"),g(w,"useIsHydratedModern");var C="function"==typeof b?w:y,j=r(7893),R=Object.defineProperty,_=(e,t)=>R(e,"name",{value:t,configurable:!0}),E="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[S,T,k]=(0,a.N)(O),[I,A]=(0,l.A)(O,[k]),[M,D]=I(O),z=n.forwardRef(_(function(e,t){return(0,j.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(L,{...e,ref:t})})})},"RovingFocusGroup")),L=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:a,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,b=n.useRef(null),x=(0,s.s)(t,b),w=(0,p.jH)(a),[C,R]=(0,f.i)({prop:u,defaultProp:null!=h?h:null,onChange:m,caller:O}),[_,S]=n.useState(!1),k=(0,d.c)(g),I=T(r),A=n.useRef(!1),[D,z]=n.useState(0);return n.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(E,k),()=>e.removeEventListener(E,k)},[k]),(0,j.jsx)(M,{scope:r,orientation:i,dir:w,loop:l,currentTabStopId:C,onItemFocus:n.useCallback(e=>R(e),[R]),onItemShiftTab:n.useCallback(()=>S(!0),[]),onFocusableItemAdd:n.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>z(e=>e-1),[]),children:(0,j.jsx)(c.sG.div,{tabIndex:_||0===D?-1:0,"data-orientation":i,...y,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(E,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}A.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>S(!1))})})},"RovingFocusGroupImpl")),F=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:l=!1,tabStopId:a,children:s,...d}=e,f=(0,u.B)(),p=a||f,m=D("RovingFocusGroupItem",r),g=m.currentTabStopId===p,v=T(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:x}=m,w=C();return(0,h.N)(()=>{if(w&&i)return y(),()=>b()},[w,i,y,b]),n.useEffect(()=>{if(!w&&i)return y(),()=>b()},[w,i,y,b]),(0,j.jsx)(S.ItemSlot,{scope:r,id:p,focusable:i,active:l,children:(0,j.jsx)(c.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=G(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?U(r,n+1):r.slice(n+1)}setTimeout(()=>B(r))}}),children:"function"==typeof s?s({isCurrentTabStop:g,hasTabStop:null!=x}):s})})},"RovingFocusGroupItem")),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function G(e,t,r){let n=K(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return N[n]}function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U(e,t){return e.map((r,n)=>e[(t+n)%e.length])}_(K,"getDirectionAwareKey"),_(G,"getFocusIntent"),_(B,"focusFirst"),_(U,"wrapArray");var H=r(17312),q=Object.defineProperty,V=(e,t)=>q(e,"name",{value:t,configurable:!0}),W="Tabs",[X,Y]=(0,l.A)(W,[A]),$=A(),[J,Q]=X(W),Z=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:l="horizontal",dir:a,activationMode:s="automatic",...d}=e,h=(0,p.jH)(a),[m,g]=(0,f.i)({prop:n,onChange:i,defaultProp:null!=o?o:"",caller:W});return(0,j.jsx)(J,{scope:r,baseId:(0,u.B)(),value:m,onValueChange:g,orientation:l,dir:h,activationMode:s,children:(0,j.jsx)(c.sG.div,{dir:h,"data-orientation":l,...d,ref:t})})},"Tabs")),ee=n.forwardRef(V(function(e,t){let{__scopeTabs:r,loop:n=!0,...i}=e,o=Q("TabsList",r),l=$(r);return(0,j.jsx)(z,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:(0,j.jsx)(c.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})},"TabsList")),et=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,disabled:i=!1,...l}=e,a=Q("TabsTrigger",r),s=$(r),u=en(a.baseId,n),d=ei(a.baseId,n),f=n===a.value;return(0,j.jsx)(F,{asChild:!0,...s,focusable:!i,active:f,children:(0,j.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!i&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&a.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==a.activationMode;f||i||!e||a.onValueChange(n)})})})},"TabsTrigger")),er=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:i,forceMount:o,children:l,...a}=e,s=Q("TabsContent",r),u=en(s.baseId,i),d=ei(s.baseId,i),f=i===s.value,p=n.useRef(f);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,j.jsx)(H.C,{present:o||f,children:r=>{let{present:n}=r;return(0,j.jsx)(c.sG.div,{"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&l})}})},"TabsContent"));function en(e,t){return"".concat(e,"-trigger-").concat(t)}function ei(e,t){return"".concat(e,"-content-").concat(t)}V(en,"makeTriggerId"),V(ei,"makeContentId");var eo=Z,el=ee,ea=et,es=er},53931:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("chevrons-down",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]])},59179:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,s=i?40*i:r,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},59759:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},63914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(63220)),s=n._(r(29091)),u=r(69538),c=r(46095),d=r(41853);r(47971);let f=r(0),p=n._(r(43970)),h=r(26865),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:s,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:C,setShowAltText:j,sizesInput:R,onLoad:_,onError:E,...P}=e,O=(0,l.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,p,x,w,C,y,R))},[r,p,x,w,C,E,y,R]),S=(0,h.useMergedRef)(t,O);return(0,o.jsx)("img",{...P,...v(f),loading:m,width:s,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:S,onLoad:e=>{g(e.currentTarget,p,x,w,C,y,R)},onError:e=>{j(!0),"empty"!==p&&C(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let x=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(f.RouterContext),n=(0,l.useContext)(d.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:s}=e,h=(0,l.useRef)(a);(0,l.useEffect)(()=>{h.current=a},[a]);let g=(0,l.useRef)(s);(0,l.useEffect)(()=>{g.current=s},[s]);let[v,x]=(0,l.useState)(!1),[w,C]=(0,l.useState)(!1),{props:j,meta:R}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...j,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:e.sizes,ref:t}),R.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:j}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69538:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(47971);let n=r(59179),i=r(46095),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let u,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:x,fill:w=!1,style:C,overrideSrc:j,onLoad:R,onLoadingComplete:_,placeholder:E="empty",blurDataURL:P,fetchPriority:O,decoding:S="async",layout:T,objectFit:k,objectPosition:I,lazyBoundary:A,lazyRoot:M,...D}=e,{imgConf:z,showAltText:L,blurComplete:F,defaultLoader:N}=t,K=z||i.imageConfigDefault;if("allSizes"in K)u=K;else{let e=[...K.deviceSizes,...K.imageSizes].sort((e,t)=>e-t),t=K.deviceSizes.sort((e,t)=>e-t),n=null==(r=K.qualities)?void 0:r.sort((e,t)=>e-t);u={...K,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===N)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let G=D.loader||N;delete D.loader,delete D.srcSet;let B="__next_img_default"in G;if(B){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=G;G=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(C={...C,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!p&&(p=t)}let U="",H=a(b),q=a(x);if((s=f)&&"object"==typeof s&&(l(s)||void 0!==s.src)){let e=l(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,P=P||e.blurDataURL,U=e.src,!w)if(H||q){if(H&&!q){let t=H/e.width;q=Math.round(e.height*t)}else if(!H&&q){let t=q/e.height;H=Math.round(e.width*t)}}else H=e.width,q=e.height}let V=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:U)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,V=!1),u.unoptimized&&(h=!0),B&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let W=a(y),X=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:I}:{},L?{}:{color:"transparent"},C),Y=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:q,blurWidth:c,blurHeight:d,blurDataURL:P||"",objectFit:X.objectFit})+'")':'url("'+E+'")',$=o.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,J=Y?{backgroundSize:$,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),c=s.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:o,width:s[c]})}}({config:u,src:f,unoptimized:h,width:H,quality:W,sizes:p,loader:G});return{props:{...D,loading:V?"lazy":g,fetchPriority:O,width:H,height:q,decoding:S,className:v,style:{...X,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:j||Q.src},meta:{unoptimized:h,priority:m,placeholder:E,fill:w}}}},93992:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function o(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>m});var l,a,s=r(28081),u=r(25020),c=r(46988),d=r(85126),f=r(7893),p=Object.defineProperty,h=(e,t)=>p(e,"name",{value:t,configurable:!0});function m(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=h(e=>{let{scope:t,children:r}=e,n=s.useRef(null),o=s.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})},"CollectionProvider");l.displayName=t;let a=e+"CollectionSlot",p=(0,d.TL)(a),m=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(a,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});m.displayName=a;let g=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,d.TL)(g),b=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),a=(0,c.s)(t,l),u=o(g,r);return s.useEffect(()=>(u.itemMap.set(l,{ref:l,...i}),()=>void u.itemMap.delete(l))),(0,f.jsx)(y,{...{[v]:""},ref:a,children:n})});function x(t){let r=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return b.displayName=g,h(x,"useCollection"),[{Provider:l,Slot:m,ItemSlot:b},x,n]}h(m,"createCollection");var g=new WeakMap,v=(l=new WeakMap,h(a=class e extends Map{set(e,t){return g.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),a=i(this,l).length,s=x(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;s<0&&u++;let f=[...i(this,l)],p=!1;for(let e=u;e<d;e++)if(u===e){let i=f[e];f[e]===t&&(i=f[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return y(i(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),g.set(this,!0)}},"OrderedDict"),a);function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=b(e,t);return -1===r?void 0:e[r]}function b(e,t){let r=e.length,n=x(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function x(e){return e!=e||0===e?0:Math.trunc(e)}function w(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function C(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function j(e,t){return e[1].element&&t[1].element?C(e[1].element,t[1].element)?-1:1:0}function R(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}h(y,"at"),h(b,"toSafeIndex"),h(x,"toSafeInteger"),h(function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new v,setItemMap:h(()=>void 0,"setItemMap")}),l=h(e=>{let{state:t,...r}=e;return t?(0,f.jsx)(p,{...r,state:t}):(0,f.jsx)(a,{...r})},"CollectionProvider");l.displayName=t;let a=h(e=>{let t=_();return(0,f.jsx)(p,{...e,state:t})},"CollectionInit");a.displayName=t+"Init";let p=h(e=>{let{scope:t,children:r,state:n}=e,o=s.useRef(null),[l,a]=s.useState(null),u=(0,c.s)(o,a),[d,p]=n;return s.useEffect(()=>{if(!l)return;let e=R(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,f.jsx)(i,{scope:t,itemMap:d,setItemMap:p,collectionRef:u,collectionRefObject:o,collectionElement:l,children:r})},"CollectionProviderImpl");p.displayName=t+"Impl";let m=e+"CollectionSlot",g=(0,d.TL)(m),y=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(m,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(g,{ref:l,children:n})});y.displayName=m;let b=e+"CollectionItemSlot",x=(0,d.TL)(b),C=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),[a,u]=s.useState(null),d=(0,c.s)(t,l,u),{setItemMap:p}=o(b,r),h=s.useRef(i);w(h.current,i)||(h.current=i);let m=h.current;return s.useEffect(()=>(p(e=>a?e.has(a)?e.set(a,{...m,element:a}).toSorted(j):(e.set(a,{...m,element:a}),e.toSorted(j)):e),()=>{p(e=>a&&e.has(a)?(e.delete(a),new v(e)):e)}),[a,m,p]),(0,f.jsx)(x,{"data-radix-collection-item":"",ref:d,children:n})});function _(){return s.useState(new v)}function E(t){let{itemMap:r}=o(e+"CollectionConsumer",t);return r}return C.displayName=b,h(_,"useInitCollection"),h(E,"useCollection"),[{Provider:l,Slot:y,ItemSlot:C},{createCollectionScope:n,useCollection:E,useInitCollection:_}]},"createCollection"),h(w,"shallowEqual"),h(C,"isElementPreceding"),h(j,"sortByDocumentPosition"),h(R,"getChildListObserver")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8616],{3192:(e,n,t)=>{t.d(n,{Ay:()=>s,F3:()=>a,nQ:()=>l});var r=t(47034);let a="en_us",l="en-US",i=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:r.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:r.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:r.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:r.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:r.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:r.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:r.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:r.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:r.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:r.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:r.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:r.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:r.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:r.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:r.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:r.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:r.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:r.TW,crowdin:"zh-TW"}];function o(e){return i.find(n=>n.prefix===e)}let s={getAvailableLocales:function(){return i},getLanguagePaths:function(){return i.map(e=>e.prefix)},getInternalCodes:function(){return i.map(e=>e.internal)},getPathPrefixes:function(){return i.reduce((e,n)=>({...e,[n.internal]:"/"+n.prefix}),{})},getForUrlParam:o,getForInternalCode:function(e){return i.find(n=>n.internal===e)},getCrowdinLanguageId:function(e){let n=o(e);return(null==n?void 0:n.crowdin)||(null==n?void 0:n.prefix)},isRTL:function(e){var n;return(null==(n=o(e))?void 0:n.rtl)||!1},actualLocale:function(e){var n;if(!e||e===a)return null;let t=o(e);return null!=(n=null==t?void 0:t.file.toLowerCase())?n:null},resolveParam:function(e){return o(e).code},getUrlPrefixForCode:function(e){var n;return null==(n=i.find(n=>n.code===e))?void 0:n.prefix}}},21559:(e,n,t)=>{t.d(n,{default:()=>o});var r=t(7893),a=t(95745),l=t(28081),i=t(45585);let o=(0,l.forwardRef)(function(e,n){let{title:t,className:o,innerClassName:s,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(i.p);return(0,r.jsx)("aside",{"data-open":m==u,className:(0,a.cn)(o,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",f?"lg:static":"lg:sticky","left"==u&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==u&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,r.jsxs)(c||"div",{ref:n,className:(0,a.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",s),children:[(0,r.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,r.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:t})}),d]})})})},24989:(e,n,t)=>{t.d(n,{default:()=>c});var r=t(7893),a=t(32482),l=t(74994),i=t(64870),o=t(82601),s=t(35865);function c(){let[e,n]=(0,a.ZA)("tab"),t=(0,s.c)("DocsEntryTabs"),c=async e=>{await n(e),window.scrollTo(0,0)};return(0,r.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,r.jsx)(o.$,{title:t("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,r.jsx)(l.A,{className:"size-4"})}):(0,r.jsx)(o.$,{title:t("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,r.jsx)(i.A,{className:"size-4"})})})}},34882:(e,n,t)=>{t.d(n,{XO:()=>o,a8:()=>c});var r=t(85151),a=t(37588),l=t(3192);let i=(0,r.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:o,redirect:s,usePathname:c,useRouter:d}=(0,a.A)(i)},37588:(e,n,t)=>{t.d(n,{A:()=>m});var r=t(41574),a=t(28081),l=t.t(a,2),i=t(40739),o=l["use".trim()],s=t(32936),c=t(55605),d=t(16353),u=t(7893),f=t(62491);function m(e){let{Link:n,config:t,getPathname:l,...m}=function(e,n){var t,l,i;let f={...t=n||{},localePrefix:"object"==typeof(i=t.localePrefix)?i:{mode:i||"always"},localeCookie:!!((l=t.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:t.localeDetection??!0,alternateLinks:t.alternateLinks??!0},m=f.pathnames,h=(0,a.forwardRef)(function({href:n,locale:t,...r},a){let l,i;"object"==typeof n?(l=n.pathname,i=n.params):l=n;let d=(0,s._x)(n),h=e(),x=(0,s.yL)(h)?o(h):h,v=d?p({locale:t||x,href:null==m?l:{pathname:l,params:i},forcePrefix:null!=t||void 0}):l;return(0,u.jsx)(c.default,{ref:a,href:"object"==typeof n?{...n,pathname:v}:v,locale:t,localeCookie:f.localeCookie,...r})});function p(e){let n,{forcePrefix:t,href:r,locale:a}=e;return null==m?"object"==typeof r?(n=r.pathname,r.query&&(n+=(0,d.Zn)(r.query))):n=r:n=(0,d.FP)({locale:a,...(0,d.TK)(r),pathnames:f.pathnames}),(0,d.x3)(n,a,f,t)}function x(e){return function(n,...t){return e(p(n),...t)}}return{config:f,Link:h,redirect:x(r.redirect),permanentRedirect:x(r.permanentRedirect),getPathname:p}}(i.Ym,e);return{...m,Link:n,usePathname:function(){let e=function(e){let n=(0,r.usePathname)(),t=(0,i.Ym)();return(0,a.useMemo)(()=>{if(!n)return n;let r=n,a=(0,s.XP)(t,e.localePrefix);if((0,s.wO)(a,n))r=(0,s.MY)(n,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,s.bL)(t);(0,s.wO)(e,n)&&(r=(0,s.MY)(n,e))}return r},[e.localePrefix,t,n])}(t),n=(0,i.Ym)();return(0,a.useMemo)(()=>e&&t.pathnames?(0,d.aM)(n,e,t.pathnames):e,[n,e])},useRouter:function(){let e=(0,r.useRouter)(),n=(0,i.Ym)(),o=(0,r.usePathname)();return(0,a.useMemo)(()=>{function r(e){return function(r,a){let{locale:i,...s}=a||{},c=[l({href:r,locale:i||n,forcePrefix:null!=i||void 0})];Object.keys(s).length>0&&c.push(s),(0,f.A)(t.localeCookie,o,n,i),e(...c)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[n,o,e])},getPathname:l}}},45585:(e,n,t)=>{t.d(n,{default:()=>o,p:()=>i});var r=t(7893),a=t(28081),l=t(34882);let i=(0,a.createContext)(null);function o(e){let{children:n}=e,t=(0,l.a8)(),[o,s]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===o?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[o]),(0,a.useEffect)(()=>{s("none")},[t]),(0,r.jsx)(i.Provider,{value:{open:o,setOpen:s},children:n})}},76365:(e,n,t)=>{t.d(n,{A:()=>d});var r=t(7893),a=t(28081),l=t(21559),i=t(95745),o=t(35865),s=t(96090);function c(e){let{node:n,activeId:t,collapsed:a,setCollapsed:l,first:o}=e,{heading:d,children:u}=n,f=!a[d.id],m=t===d.id||!f&&function e(n,t){return n.children.some(n=>n.heading.id===t||e(n,t))}(n,t),h=(0,r.jsx)("a",{href:"#".concat(d.id),className:(0,i.cn)("block py-1 text-secondary transition-colors hover:text-primary",m&&"text-primary",o&&"pt-0!"),onClick:e=>{var n;e.preventDefault(),null==(n=document.getElementById(d.id))||n.scrollIntoView({behavior:"smooth"})},children:d.value});return 0===u.length?(0,r.jsxs)("li",{className:"flex items-start gap-1",children:[(0,r.jsx)("span",{className:"size-4 shrink-0"}),h]}):(0,r.jsx)("li",{children:(0,r.jsxs)("details",{className:"group",open:f,onToggle:e=>l(d.id,!e.currentTarget.open),children:[(0,r.jsxs)("summary",{className:"flex list-none items-start gap-1 [&::-webkit-details-marker]:hidden",onClick:e=>e.preventDefault(),children:[(0,r.jsx)("button",{type:"button","aria-expanded":f,"aria-label":d.value,className:(0,i.cn)("shrink-0 cursor-pointer py-1 text-secondary hover:text-primary",o&&"pt-0!"),onClick:()=>l(d.id,f),children:(0,r.jsx)(s.default,{className:"size-4 group-open:rotate-180"})}),h]}),(0,r.jsx)("ul",{className:"space-y-1 pl-3",children:u.map(e=>(0,r.jsx)(c,{node:e,activeId:t,collapsed:a,setCollapsed:l},e.heading.id))})]})})}function d(e){let{headings:n,type:t,className:s,solid:d}=e,u=(0,o.c)("DocsNonContentRightSidebar"),[f,m]=(0,a.useState)(""),[h,p]=(0,a.useState)({}),[x,v]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),y=(0,a.useRef)(null),_=(0,a.useMemo)(()=>n.filter(e=>e.depth<4),[n]),k=(0,a.useMemo)(()=>(function(e){let n=[],t=[];for(let r of e){let e={heading:r,children:[]};for(;t.length>0&&t[t.length-1].heading.depth>=r.depth;)t.pop();let a=t[t.length-1];(a?a.children:n).push(e),t.push(e)}return n})(_),[_]),w=(e,n)=>p(t=>t[e]===n?t:{...t,[e]:n});return(0,a.useEffect)(()=>{let e=()=>{let e=_.map(e=>document.getElementById(e.id)).filter(Boolean).find(e=>{if(e){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=window.innerHeight/2}return!1});e&&m(e.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[_]),(0,a.useEffect)(()=>{let e=()=>{if(y.current){let{scrollTop:e,scrollHeight:n,clientHeight:t}=y.current;v(e>0),b(e+t<n)}},n=y.current;return n&&(n.addEventListener("scroll",e),window.addEventListener("resize",e),e()),()=>{n&&n.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[_,h]),(0,r.jsx)(l.default,{type:t,title:u("title"),className:(0,i.cn)("shrink-0",s),tagName:"nav",solid:d,children:(0,r.jsxs)("div",{className:"relative",children:[x&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,r.jsx)("div",{ref:y,className:"scrollbar-thin max-h-[80vh] scrollbar-thumb-gray-300 scrollbar-track-transparent overflow-y-auto pr-4",children:(0,r.jsx)("ul",{className:"space-y-1 text-sm",children:k.map((e,n)=>(0,r.jsx)(c,{node:e,activeId:f,collapsed:h,setCollapsed:w,first:0===n},e.heading.id))})}),g&&(0,r.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},85151:(e,n,t)=>{t.d(n,{A:()=>r});function r(e){return e}},93656:(e,n,t)=>{t.d(n,{default:()=>a});var r=t(41574);function a(e){let{main:n,history:t}=e;return"history"==(0,r.useSearchParams)().get("tab")&&t?t:n}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9585],{19371:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:s=!1}=void 0===e?{}:e;return t||n&&s}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},29091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return f},defaultHead:function(){return d}});let s=n(4420),r=n(71777),i=n(7893),o=r._(n(28081)),a=s._(n(46780)),c=n(44995),l=n(435),u=n(19371);function d(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(47971);let p=["name","httpEquiv","charSet","itemProp"];function _(e,t){let{inAmpMode:n}=t;return e.reduce(h,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,s={};return r=>{let i=!0,o=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){o=!0;let t=r.key.slice(r.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(r.type){case"title":case"base":t.has(r.type)?i=!1:t.add(r.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(r.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?i=!1:n.add(t);else{let e=r.props[t],n=s[t]||new Set;("name"!==t||!o)&&n.has(e)?i=!1:(n.add(e),s[t]=n)}}}return i}}()).reverse().map((e,t)=>{let n=e.key||t;return o.default.cloneElement(e,{key:n})})}let f=function(e){let{children:t}=e,n=(0,o.useContext)(c.AmpStateContext),s=(0,o.useContext)(l.HeadManagerContext);return(0,i.jsx)(a.default,{reduceComponentsToState:_,headManager:s,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41322:(e,t,n)=>{e.exports=n(88053)},44995:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return s}});let s=n(4420)._(n(28081)).default.createContext({})},46780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let s=n(28081),r=s.useLayoutEffect,i=s.useEffect;function o(e){let{headManager:t,reduceComponentsToState:n}=e;function o(){if(t&&t.mountedInstances){let r=s.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(r,e))}}return r(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),r(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},59032:(e,t,n)=>{"use strict";let s;n.d(t,{Cp:()=>j});let r="9.47.1",i=globalThis;function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r,t[r]=t[r]||{}}function a(e,t,n=i){let s=n.__SENTRY__=n.__SENTRY__||{},o=s[r]=s[r]||{};return o[e]||(o[e]=t())}let c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function l(e=i.crypto||i.msCrypto){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function u(){return Date.now()/1e3}let d={};function h(e,...t){c&&function(){return c?a("loggerSettings",()=>({enabled:!1})):{enabled:!1}}().enabled&&function(e){if(!("console"in i))return e();let t=i.console,n={},s=Object.keys(d);s.forEach(e=>{let s=d[e];n[e]=t[e],t[e]=s});try{return e()}finally{s.forEach(e=>{t[e]=n[e]})}}(()=>{i.console[e](`Sentry Logger [${e}]:`,...t)})}let p={log:function(...e){h("log",...e)},warn:function(...e){h("warn",...e)}},_=Object.prototype.toString,f="_sentrySpan";function g(e,t){if(t)try{Object.defineProperty(e,f,{value:t,writable:!0,configurable:!0})}catch{c&&p.log(`Failed to add non-enumerable property "${f}" to object`,e)}else delete e[f]}class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:l(),sampleRand:Math.random()}}clone(){let e=new m;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,g(e,this[f]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(s??(s=function(){let{performance:e}=i;if(!e?.now||!e.timeOrigin)return u;let t=e.timeOrigin;return()=>(t+e.now())/1e3}()))(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:l()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,extra:s,user:r,contexts:i,level:o,fingerprint:a=[],propagationContext:c}=(t instanceof m?t.getScopeData():"[object Object]"===_.call(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...s},this._contexts={...this._contexts,...i},r&&Object.keys(r).length&&(this._user=r),o&&(this._level=o),a.length&&(this._fingerprint=a),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,g(this,void 0),this._attachments=[],this.setPropagationContext({traceId:l(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let s={timestamp:u(),...e,message:e.message?function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[f]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=function e(t,n,s=2){if(!n||"object"!=typeof n||s<=0)return n;if(t&&0===Object.keys(n).length)return t;let r={...t};for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(r[t]=e(r[t],n[t],s-1));return r}(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||l();if(!this._client)return c&&p.warn("No client configured on scope - will not capture exception!"),n;let s=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...t,event_id:n},this),n}captureMessage(e,t,n){let s=n?.event_id||l();if(!this._client)return c&&p.warn("No client configured on scope - will not capture message!"),s;let r=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:s},this),s}captureEvent(e,t){let n=t?.event_id||l();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):c&&p.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class y{constructor(e,t){let n,s;n=e||new m,s=t||new m,this._stack=[{scope:n}],this._isolationScope=s}withScope(e){var t;let n,s=this._pushScope();try{n=e(s)}catch(e){throw this._popScope(),e}return(t=n,t?.then&&"function"==typeof t.then)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function b(){let e=(o(i),i),t=o(e);return t.stack=t.stack||new y(a("defaultCurrentScope",()=>new m),a("defaultIsolationScope",()=>new m))}function x(e){return b().withScope(e)}function v(e,t){let n=b();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function S(e){return b().withScope(()=>e(b().getIsolationScope()))}let w=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function j(e,t){return(function(e){let t=o(e);return t.acs?t.acs:{withIsolationScope:S,withScope:x,withSetScope:v,withSetIsolationScope:(e,t)=>S(t),getCurrentScope:()=>b().getScope(),getIsolationScope:()=>b().getIsolationScope()}})((o(i),i)).getCurrentScope().captureException(e,function(e){if(e){var t;return(t=e)instanceof m||"function"==typeof t||Object.keys(e).some(e=>w.includes(e))?{captureContext:e}:e}}(t))}},88053:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let s=n(4420),r=n(7893),i=s._(n(28081)),o=s._(n(29091)),a={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function c(e){let{req:t,res:n,err:s}=e;return{statusCode:n&&n.statusCode?n.statusCode:s?s.statusCode:404,hostname:window.location.hostname}}let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class u extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||a[e]||"An unexpected error has occurred";return(0,r.jsxs)("div",{style:l.error,children:[(0,r.jsx)(o.default,{children:(0,r.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,r.jsxs)("div",{style:l.desc,children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,r.jsx)("h1",{className:"next-error-h1",style:l.h1,children:e}):null,(0,r.jsx)("div",{style:l.wrap,children:(0,r.jsxs)("h2",{style:l.h2,children:[this.props.title||e?n:(0,r.jsxs)(r.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,r.jsxs)(r.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}u.displayName="ErrorPage",u.getInitialProps=c,u.origGetInitialProps=c,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9585],{29091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return f},defaultHead:function(){return d}});let s=n(4420),r=n(71777),i=n(7893),o=r._(n(28081)),a=s._(n(46780)),c=n(44995),l=n(435),u=n(41752);function d(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(47971);let p=["name","httpEquiv","charSet","itemProp"];function _(e,t){let{inAmpMode:n}=t;return e.reduce(h,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,s={};return r=>{let i=!0,o=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){o=!0;let t=r.key.slice(r.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(r.type){case"title":case"base":t.has(r.type)?i=!1:t.add(r.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(r.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?i=!1:n.add(t);else{let e=r.props[t],n=s[t]||new Set;("name"!==t||!o)&&n.has(e)?i=!1:(n.add(e),s[t]=n)}}}return i}}()).reverse().map((e,t)=>{let n=e.key||t;return o.default.cloneElement(e,{key:n})})}let f=function(e){let{children:t}=e,n=(0,o.useContext)(c.AmpStateContext),s=(0,o.useContext)(l.HeadManagerContext);return(0,i.jsx)(a.default,{reduceComponentsToState:_,headManager:s,inAmpMode:(0,u.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41322:(e,t,n)=>{e.exports=n(88053)},41752:(e,t)=>{"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:s=!1}=void 0===e?{}:e;return t||n&&s}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},44995:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return s}});let s=n(4420)._(n(28081)).default.createContext({})},46780:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let s=n(28081),r=s.useLayoutEffect,i=s.useEffect;function o(e){let{headManager:t,reduceComponentsToState:n}=e;function o(){if(t&&t.mountedInstances){let r=s.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(r,e))}}return r(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),r(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},59032:(e,t,n)=>{"use strict";let s;n.d(t,{Cp:()=>j});let r="9.47.1",i=globalThis;function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r,t[r]=t[r]||{}}function a(e,t,n=i){let s=n.__SENTRY__=n.__SENTRY__||{},o=s[r]=s[r]||{};return o[e]||(o[e]=t())}let c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function l(e=i.crypto||i.msCrypto){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function u(){return Date.now()/1e3}let d={};function h(e,...t){c&&function(){return c?a("loggerSettings",()=>({enabled:!1})):{enabled:!1}}().enabled&&function(e){if(!("console"in i))return e();let t=i.console,n={},s=Object.keys(d);s.forEach(e=>{let s=d[e];n[e]=t[e],t[e]=s});try{return e()}finally{s.forEach(e=>{t[e]=n[e]})}}(()=>{i.console[e](`Sentry Logger [${e}]:`,...t)})}let p={log:function(...e){h("log",...e)},warn:function(...e){h("warn",...e)}},_=Object.prototype.toString,f="_sentrySpan";function g(e,t){if(t)try{Object.defineProperty(e,f,{value:t,writable:!0,configurable:!0})}catch{c&&p.log(`Failed to add non-enumerable property "${f}" to object`,e)}else delete e[f]}class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:l(),sampleRand:Math.random()}}clone(){let e=new m;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,g(e,this[f]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(s??(s=function(){let{performance:e}=i;if(!e?.now||!e.timeOrigin)return u;let t=e.timeOrigin;return()=>(t+e.now())/1e3}()))(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:l()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:n,extra:s,user:r,contexts:i,level:o,fingerprint:a=[],propagationContext:c}=(t instanceof m?t.getScopeData():"[object Object]"===_.call(t)?e:void 0)||{};return this._tags={...this._tags,...n},this._extra={...this._extra,...s},this._contexts={...this._contexts,...i},r&&Object.keys(r).length&&(this._user=r),o&&(this._level=o),a.length&&(this._fingerprint=a),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,g(this,void 0),this._attachments=[],this.setPropagationContext({traceId:l(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let s={timestamp:u(),...e,message:e.message?function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[f]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=function e(t,n,s=2){if(!n||"object"!=typeof n||s<=0)return n;if(t&&0===Object.keys(n).length)return t;let r={...t};for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(r[t]=e(r[t],n[t],s-1));return r}(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||l();if(!this._client)return c&&p.warn("No client configured on scope - will not capture exception!"),n;let s=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...t,event_id:n},this),n}captureMessage(e,t,n){let s=n?.event_id||l();if(!this._client)return c&&p.warn("No client configured on scope - will not capture message!"),s;let r=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:s},this),s}captureEvent(e,t){let n=t?.event_id||l();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):c&&p.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}class y{constructor(e,t){let n,s;n=e||new m,s=t||new m,this._stack=[{scope:n}],this._isolationScope=s}withScope(e){var t;let n,s=this._pushScope();try{n=e(s)}catch(e){throw this._popScope(),e}return(t=n,t?.then&&"function"==typeof t.then)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function b(){let e=(o(i),i),t=o(e);return t.stack=t.stack||new y(a("defaultCurrentScope",()=>new m),a("defaultIsolationScope",()=>new m))}function x(e){return b().withScope(e)}function v(e,t){let n=b();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function S(e){return b().withScope(()=>e(b().getIsolationScope()))}let w=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function j(e,t){return(function(e){let t=o(e);return t.acs?t.acs:{withIsolationScope:S,withScope:x,withSetScope:v,withSetIsolationScope:(e,t)=>S(t),getCurrentScope:()=>b().getScope(),getIsolationScope:()=>b().getIsolationScope()}})((o(i),i)).getCurrentScope().captureException(e,function(e){if(e){var t;return(t=e)instanceof m||"function"==typeof t||Object.keys(e).some(e=>w.includes(e))?{captureContext:e}:e}}(t))}},88053:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let s=n(4420),r=n(7893),i=s._(n(28081)),o=s._(n(29091)),a={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function c(e){let{req:t,res:n,err:s}=e;return{statusCode:n&&n.statusCode?n.statusCode:s?s.statusCode:404,hostname:window.location.hostname}}let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class u extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||a[e]||"An unexpected error has occurred";return(0,r.jsxs)("div",{style:l.error,children:[(0,r.jsx)(o.default,{children:(0,r.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,r.jsxs)("div",{style:l.desc,children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,r.jsx)("h1",{className:"next-error-h1",style:l.h1,children:e}):null,(0,r.jsx)("div",{style:l.wrap,children:(0,r.jsxs)("h2",{style:l.h2,children:[this.props.title||e?n:(0,r.jsxs)(r.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,r.jsxs)(r.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}u.displayName="ErrorPage",u.getInitialProps=c,u.origGetInitialProps=c,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{44431:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{title:s,className:r,children:t}=e,[d,m]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>m(!d),children:[(0,n.jsx)("span",{className:"font-medium",children:s}),(0,n.jsx)(l.default,{active:d})]}),d&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:t})]})}},75450:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var n=r(7893),i=r(28081),l=r(96090),o=r(95745);function t(e){let{name:s,defaultOpen:r,className:t,children:d}=e,[m,a]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>a(!m),"data-state":m?"open":"closed",children:[(0,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:s}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.default,{className:"ml-auto h-4 w-4",active:m})})]}),m&&(0,n.jsx)("div",{className:(0,o.cn)(t,"mt-2 flex w-full flex-col rounded-md"),children:d})]})})})}},77139:(e,s,r)=>{"use strict";r.d(s,{default:()=>l});var n=r(7893),i=r(76365);function l(e){let{headings:s}=e;return(0,n.jsx)(i.A,{headings:s,type:"left",className:"left-0 w-[96vw] sm:w-80",solid:!0})}},95319:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,8616,7411,9029,7358],()=>e(e.s=95319)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1235],{
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1235],{63615:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,73744)),Promise.resolve().then(n.bind(n,57370)),Promise.resolve().then(n.bind(n,55605)),Promise.resolve().then(n.bind(n,8511)),Promise.resolve().then(n.t.bind(n,19957,23)),Promise.resolve().then(n.t.bind(n,63914,23)),Promise.resolve().then(n.bind(n,83457)),Promise.resolve().then(n.bind(n,72103)),Promise.resolve().then(n.bind(n,18526)),Promise.resolve().then(n.bind(n,80123)),Promise.resolve().then(n.bind(n,28663)),Promise.resolve().then(n.bind(n,44064)),Promise.resolve().then(n.bind(n,78890)),Promise.resolve().then(n.bind(n,92014)),Promise.resolve().then(n.bind(n,41736)),Promise.resolve().then(n.bind(n,87257)),Promise.resolve().then(n.bind(n,55242)),Promise.resolve().then(n.bind(n,28139)),Promise.resolve().then(n.bind(n,39389)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,9957,739,4193,2709,5383,103,7411,9029,7358],()=>e(e.s=63615)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2583],{6973:(e,t,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,33951)),Promise.resolve().then(r.bind(r,66495)),Promise.resolve().then(r.bind(r,68308)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,21559)),Promise.resolve().then(r.bind(r,65066)),Promise.resolve().then(r.bind(r,57850)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,18622)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))},18622:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),n=r(95745),l=r(34882);let i=(0,r(28081).forwardRef)(function(e,t){let{prefetch:r=!1,...n}=e;return(0,s.jsx)(l.XO,{prefetch:r,...n,ref:t})});function o(e){let{href:t,children:r}=e,o=(0,l.a8)();return(0,s.jsx)(i,{href:t,className:(0,n.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary hover:text-primary-alt",o===t&&"bg-secondary text-primary-alt"),children:r})}},33951:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var s=r(7893),n=r(85466),l=r(28081),i=r(95745),o=r(34882),a=r(40491);function d(e){let{name:t,path:r,icon:d,level:c,children:h}=e,{folderStates:m,setFolderStates:u}=(0,l.useContext)(a.$),f=(0,o.a8)().split("/").slice(5).join("/"),x=f.length>0&&f.startsWith(r+"/"),v=(0,l.useRef)(!1),[p,b]=(0,l.useState)(!v.current&&x||m[c]===r);return(0,l.useEffect)(()=>{!v.current&&x&&(v.current=!0,u(e=>{let t={...e,[c]:r};return Object.keys(t).filter(e=>Number(e)>c&&!f.startsWith(t[e])).forEach(e=>delete t[e]),t}))},[]),(0,l.useEffect)(()=>{b(m[c]===r)},[m]),(0,s.jsxs)("div",{className:(0,i.cn)("accordion flex flex-col",p&&"open"),children:[(0,s.jsxs)("button",{onClick:function(){u(e=>{let t={...e,[c]:p?void 0:r};return p&&Object.keys(t).filter(e=>Number(e)>c).forEach(e=>delete t[e]),t})},"data-state":p?"open":"closed",className:(0,i.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary","hover:text-primary-alt [&[data-state=open]>svg:last-child]:rotate-180"),children:[d,t,(0,s.jsx)(n.A,{className:"ml-auto h-4 w-4 shrink-0 transition-transform duration-200"})]}),(0,s.jsx)("div",{className:"accordion-body",style:{paddingLeft:"".concat(c,"rem")},children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"mt-2 flex flex-col gap-2",children:h})})})]})}},40491:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,default:()=>i});var s=r(7893),n=r(28081);let l=(0,n.createContext)(null);function i(e){let{children:t}=e,[r,i]=(0,n.useState)(!1),[o,a]=(0,n.useState)({}),[d,c]=(0,n.useState)(0);return(0,s.jsx)(l.Provider,{value:{open:r,setOpen:i,folderStates:o,setFolderStates:a,scrollPos:d,setScrollPos:c},children:t})}},45478:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(26182).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},57850:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var s=r(7893),n=r(28081),l=r(41574),i=r(40491),o=r(21559);function a(e){let{scrollPos:t,setScrollPos:r}=(0,n.useContext)(i.$),a=(0,n.useRef)(null),d=(0,l.usePathname)();return(0,n.useEffect)(()=>{let e=()=>{a.current&&r(a.current.scrollTop)},t=a.current;return t&&t.addEventListener("scroll",e),()=>{t&&t.removeEventListener("scroll",e)}},[]),(0,n.useEffect)(()=>{a.current&&(a.current.scrollTop=t)},[d]),(0,s.jsx)(o.default,{...e,ref:a})}},60285:(e,t,r)=>{"use strict";function s(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function n(e,t){let r=new URLSearchParams;if(e){for(let s in e)if(null!=e[s]){let n=t?t(s,e[s]):e[s];n&&r.set(s,n)}}return r.toString()}r.d(t,{cT:()=>n,no:()=>s}),r(16298)},65066:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(76365);function l(e){let{headings:t}=e;return(0,s.jsx)(n.A,{headings:t,type:"right",className:"right-0 w-[96vw] sm:w-64"})}},66495:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var s=r(7893);r(28081);var n=r(35865),l=r(20826),i=r(82601),o=r(26182);let a=(0,o.A)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var d=r(95745),c=r(60285),h=r(37040);function m(e){var t;let{local:r,type:o,project:m,path:u,preview:f,full:x}=e,v=(0,n.c)("PageEditControls"),p=function(e,t,r){let s=(0,c.cT)({project:e,type:t,path:r});return"/report?".concat(s)}(m,o,null!=(t=null==u?void 0:u.join("/"))?t:null),b=(0,s.jsx)(i.$,{asChild:!0,variant:"outline",size:"sm",className:"font-normal text-secondary hover:bg-transparent sm:h-fit sm:border-none sm:p-0",children:(0,s.jsxs)(h.k,{href:p,children:[(0,s.jsx)(a,{className:(0,d.cn)("mr-2 h-4 w-4",!x&&"sm:mr-0")}),(0,s.jsx)("span",{className:(0,d.cn)(!x&&"sm:hidden"),children:v("report_button")})]})});return!f&&!r&&m&&u&&(x?b:(0,s.jsx)(l.TooltipProvider,{children:(0,s.jsxs)(l.Tooltip,{children:[(0,s.jsx)(l.TooltipTrigger,{asChild:!0,children:b}),(0,s.jsx)(l.TooltipContent,{children:v("report")})]})}))}let u=(0,o.A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function f(e){let{editUrl:t}=e,r=(0,n.c)("PageEditControls");return t&&(0,s.jsxs)(h.k,{href:t,className:"flex items-center rounded-md border border-quaternary px-3 py-2 text-sm text-secondary hover:text-primary-alt sm:border-none sm:p-0",children:[(0,s.jsx)(u,{className:"mr-2 h-4 w-4"}),r("edit_gh")]})}function x(e){let{slug:t,path:r,editUrl:n,local:l,preview:i}=e;return(0,s.jsxs)("div",{className:"flex w-full flex-row justify-between sm:max-w-5xl",children:[(0,s.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,s.jsx)(m,{type:"docs",local:l,project:t,path:r,preview:i})}),(0,s.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,s.jsx)("div",{className:"flex flex-col items-end gap-y-3 sm:flex-row sm:items-center sm:gap-x-4 sm:gap-y-0",children:(0,s.jsx)(f,{editUrl:n})})})]})}function v(e){let{local:t,slug:r,path:n,editUrl:l,preview:i}=e;return(0,s.jsx)("div",{className:"flex flex-col gap-3 sm:hidden",children:(0,s.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2",children:[(0,s.jsx)(m,{type:"docs",local:t,project:r,path:n,preview:i}),(0,s.jsx)(f,{editUrl:l})]})})}function p(e){return(0,s.jsxs)("footer",{className:"relative flex w-full shrink-0 flex-col-reverse justify-between gap-y-3 border-t border-border bg-primary px-1 py-3 text-sm text-secondary sm:h-16 sm:flex-row sm:items-center sm:justify-center sm:gap-y-0 sm:px-4",children:[(0,s.jsx)(x,{...e}),(0,s.jsx)(v,{...e})]})}},68308:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var s=r(7893),n=r(28081),l=r(45585),i=r(45478),o=r(26182);let a=(0,o.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),d=(0,o.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var c=r(95745);function h(e){let{showRightSidebar:t,children:r}=e,{open:o,setOpen:h}=(0,n.useContext)(l.p);return(0,s.jsxs)("header",{className:"flex w-full items-center justify-between border-b border-tertiary px-0 pt-1 pb-2 lg:hidden",children:[(0,s.jsx)("button",{onClick:()=>h("left"==o?"none":"left"),className:"text-primary",children:"left"===o?(0,s.jsx)(i.A,{className:"h-6 w-6"}):(0,s.jsx)(a,{className:"h-6 w-6"})}),(0,s.jsx)("h1",{className:"text-lg font-bold",children:r}),(0,s.jsx)("button",{onClick:()=>h("right"==o?"none":"right"),className:(0,c.cn)("text-primary",!1===t&&"invisible"),children:"right"===o?(0,s.jsx)(i.A,{className:"h-6 w-6"}):(0,s.jsx)(d,{className:"h-6 w-6"})})]})}}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,8616,7411,9029,7358],()=>e(e.s=6973)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7589],{18622:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),n=r(95745),l=r(34882);let i=(0,r(28081).forwardRef)(function(e,t){let{prefetch:r=!1,...n}=e;return(0,s.jsx)(l.XO,{prefetch:r,...n,ref:t})});function o(e){let{href:t,children:r}=e,o=(0,l.a8)();return(0,s.jsx)(i,{href:t,className:(0,n.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary hover:text-primary-alt",o===t&&"bg-secondary text-primary-alt"),children:r})}},19371:(e,t,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,33951)),Promise.resolve().then(r.bind(r,66495)),Promise.resolve().then(r.bind(r,68308)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,65066)),Promise.resolve().then(r.bind(r,57850)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,18622)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))},33951:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(7893),n=r(85466),l=r(28081),i=r(95745),o=r(34882),a=r(40491);function c(e){let{name:t,path:r,icon:c,level:d,children:h}=e,{folderStates:m,setFolderStates:u}=(0,l.useContext)(a.$),f=(0,o.a8)().split("/").slice(5).join("/"),x=f.length>0&&f.startsWith(r+"/"),v=(0,l.useRef)(!1),[p,b]=(0,l.useState)(!v.current&&x||m[d]===r);return(0,l.useEffect)(()=>{!v.current&&x&&(v.current=!0,u(e=>{let t={...e,[d]:r};return Object.keys(t).filter(e=>Number(e)>d&&!f.startsWith(t[e])).forEach(e=>delete t[e]),t}))},[]),(0,l.useEffect)(()=>{b(m[d]===r)},[m]),(0,s.jsxs)("div",{className:(0,i.cn)("accordion flex flex-col",p&&"open"),children:[(0,s.jsxs)("button",{onClick:function(){u(e=>{let t={...e,[d]:p?void 0:r};return p&&Object.keys(t).filter(e=>Number(e)>d).forEach(e=>delete t[e]),t})},"data-state":p?"open":"closed",className:(0,i.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary","hover:text-primary-alt [&[data-state=open]>svg:last-child]:rotate-180"),children:[c,t,(0,s.jsx)(n.A,{className:"ml-auto h-4 w-4 shrink-0 transition-transform duration-200"})]}),(0,s.jsx)("div",{className:"accordion-body",style:{paddingLeft:"".concat(d,"rem")},children:(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"mt-2 flex flex-col gap-2",children:h})})})]})}},40491:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,default:()=>i});var s=r(7893),n=r(28081);let l=(0,n.createContext)(null);function i(e){let{children:t}=e,[r,i]=(0,n.useState)(!1),[o,a]=(0,n.useState)({}),[c,d]=(0,n.useState)(0);return(0,s.jsx)(l.Provider,{value:{open:r,setOpen:i,folderStates:o,setFolderStates:a,scrollPos:c,setScrollPos:d},children:t})}},45478:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(26182).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},57850:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var s=r(7893),n=r(28081),l=r(41574),i=r(40491),o=r(21559);function a(e){let{scrollPos:t,setScrollPos:r}=(0,n.useContext)(i.$),a=(0,n.useRef)(null),c=(0,l.usePathname)();return(0,n.useEffect)(()=>{let e=()=>{a.current&&r(a.current.scrollTop)},t=a.current;return t&&t.addEventListener("scroll",e),()=>{t&&t.removeEventListener("scroll",e)}},[]),(0,n.useEffect)(()=>{a.current&&(a.current.scrollTop=t)},[c]),(0,s.jsx)(o.default,{...e,ref:a})}},60285:(e,t,r)=>{"use strict";function s(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function n(e,t){let r=new URLSearchParams;if(e){for(let s in e)if(null!=e[s]){let n=t?t(s,e[s]):e[s];n&&r.set(s,n)}}return r.toString()}r.d(t,{cT:()=>n,no:()=>s}),r(16298)},65066:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(76365);function l(e){let{headings:t}=e;return(0,s.jsx)(n.A,{headings:t,type:"right",className:"right-0 w-[96vw] sm:w-64"})}},66495:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var s=r(7893);r(28081);var n=r(35865),l=r(20826),i=r(82601),o=r(26182);let a=(0,o.A)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var c=r(95745),d=r(60285),h=r(37040);function m(e){var t;let{local:r,type:o,project:m,path:u,preview:f,full:x}=e,v=(0,n.c)("PageEditControls"),p=function(e,t,r){let s=(0,d.cT)({project:e,type:t,path:r});return"/report?".concat(s)}(m,o,null!=(t=null==u?void 0:u.join("/"))?t:null),b=(0,s.jsx)(i.$,{asChild:!0,variant:"outline",size:"sm",className:"font-normal text-secondary hover:bg-transparent sm:h-fit sm:border-none sm:p-0",children:(0,s.jsxs)(h.k,{href:p,children:[(0,s.jsx)(a,{className:(0,c.cn)("mr-2 h-4 w-4",!x&&"sm:mr-0")}),(0,s.jsx)("span",{className:(0,c.cn)(!x&&"sm:hidden"),children:v("report_button")})]})});return!f&&!r&&m&&u&&(x?b:(0,s.jsx)(l.TooltipProvider,{children:(0,s.jsxs)(l.Tooltip,{children:[(0,s.jsx)(l.TooltipTrigger,{asChild:!0,children:b}),(0,s.jsx)(l.TooltipContent,{children:v("report")})]})}))}let u=(0,o.A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function f(e){let{editUrl:t}=e,r=(0,n.c)("PageEditControls");return t&&(0,s.jsxs)(h.k,{href:t,className:"flex items-center rounded-md border border-quaternary px-3 py-2 text-sm text-secondary hover:text-primary-alt sm:border-none sm:p-0",children:[(0,s.jsx)(u,{className:"mr-2 h-4 w-4"}),r("edit_gh")]})}function x(e){let{slug:t,path:r,editUrl:n,local:l,preview:i}=e;return(0,s.jsxs)("div",{className:"flex w-full flex-row justify-between sm:max-w-5xl",children:[(0,s.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,s.jsx)(m,{type:"docs",local:l,project:t,path:r,preview:i})}),(0,s.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,s.jsx)("div",{className:"flex flex-col items-end gap-y-3 sm:flex-row sm:items-center sm:gap-x-4 sm:gap-y-0",children:(0,s.jsx)(f,{editUrl:n})})})]})}function v(e){let{local:t,slug:r,path:n,editUrl:l,preview:i}=e;return(0,s.jsx)("div",{className:"flex flex-col gap-3 sm:hidden",children:(0,s.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2",children:[(0,s.jsx)(m,{type:"docs",local:t,project:r,path:n,preview:i}),(0,s.jsx)(f,{editUrl:l})]})})}function p(e){return(0,s.jsxs)("footer",{className:"relative flex w-full shrink-0 flex-col-reverse justify-between gap-y-3 border-t border-border bg-primary px-1 py-3 text-sm text-secondary sm:h-16 sm:flex-row sm:items-center sm:justify-center sm:gap-y-0 sm:px-4",children:[(0,s.jsx)(x,{...e}),(0,s.jsx)(v,{...e})]})}},68308:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var s=r(7893),n=r(28081),l=r(45585),i=r(45478),o=r(26182);let a=(0,o.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),c=(0,o.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var d=r(95745);function h(e){let{showRightSidebar:t,children:r}=e,{open:o,setOpen:h}=(0,n.useContext)(l.p);return(0,s.jsxs)("header",{className:"flex w-full items-center justify-between border-b border-tertiary px-0 pt-1 pb-2 lg:hidden",children:[(0,s.jsx)("button",{onClick:()=>h("left"==o?"none":"left"),className:"text-primary",children:"left"===o?(0,s.jsx)(i.A,{className:"h-6 w-6"}):(0,s.jsx)(a,{className:"h-6 w-6"})}),(0,s.jsx)("h1",{className:"text-lg font-bold",children:r}),(0,s.jsx)("button",{onClick:()=>h("right"==o?"none":"right"),className:(0,d.cn)("text-primary",!1===t&&"invisible"),children:"right"===o?(0,s.jsx)(i.A,{className:"h-6 w-6"}):(0,s.jsx)(c,{className:"h-6 w-6"})})]})}}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,8616,7411,9029,7358],()=>e(e.s=19371)),_N_E=e.O()}]);
|
package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-2d40733903300974.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[622],{5903:(e,s,t)=>{"use strict";t.d(s,{default:()=>l});var r=t(28081),a=t(71678);function l(e){let{project:s,children:t}=e,{setProject:l}=(0,r.useContext)(a.o);return(0,r.useEffect)(()=>(l(s),()=>l(null)),[]),t}},40491:(e,s,t)=>{"use strict";t.d(s,{$:()=>l,default:()=>n});var r=t(7893),a=t(28081);let l=(0,a.createContext)(null);function n(e){let{children:s}=e,[t,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)({}),[d,c]=(0,a.useState)(0);return(0,r.jsx)(l.Provider,{value:{open:t,setOpen:n,folderStates:i,setFolderStates:o,scrollPos:d,setScrollPos:c},children:s})}},45585:(e,s,t)=>{"use strict";t.d(s,{default:()=>i,p:()=>n});var r=t(7893),a=t(28081),l=t(34882);let n=(0,a.createContext)(null);function i(e){let{children:s}=e,t=(0,l.a8)(),[i,o]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===i?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[i]),(0,a.useEffect)(()=>{o("none")},[t]),(0,r.jsx)(n.Provider,{value:{open:i,setOpen:o},children:s})}},76836:(e,s,t)=>{Promise.resolve().then(t.bind(t,1273)),Promise.resolve().then(t.bind(t,73744)),Promise.resolve().then(t.bind(t,57370)),Promise.resolve().then(t.bind(t,55605)),Promise.resolve().then(t.bind(t,8511)),Promise.resolve().then(t.t.bind(t,19957,23)),Promise.resolve().then(t.t.bind(t,63914,23)),Promise.resolve().then(t.bind(t,83457)),Promise.resolve().then(t.bind(t,95301)),Promise.resolve().then(t.bind(t,72103)),Promise.resolve().then(t.bind(t,18526)),Promise.resolve().then(t.bind(t,80123)),Promise.resolve().then(t.bind(t,28663)),Promise.resolve().then(t.bind(t,44064)),Promise.resolve().then(t.bind(t,78890)),Promise.resolve().then(t.bind(t,92014)),Promise.resolve().then(t.bind(t,45585)),Promise.resolve().then(t.bind(t,40491)),Promise.resolve().then(t.bind(t,5903)),Promise.resolve().then(t.bind(t,41736)),Promise.resolve().then(t.bind(t,55242)),Promise.resolve().then(t.bind(t,28139)),Promise.resolve().then(t.bind(t,39389)),Promise.resolve().then(t.bind(t,96090))},95301:(e,s,t)=>{"use strict";t.d(s,{default:()=>D});var r=t(7893),a=t(82601),l=t(74994),n=t(24194),i=t(59333),o=t(34882),d=t(95745),c=t(41574),m=t(48902),h=t(28081),u=t(97461),x=t(85466),p=t(13621),f=t(1990);let j=u.bL;u.YJ;let v=h.forwardRef((e,s)=>{let{placeholder:t,children:a,...l}=e;return(0,r.jsx)(u.WT,{ref:s,placeholder:(0,r.jsx)("span",{className:"text-secondary",children:t}),...l,children:a})});v.displayName=u.WT.displayName;let b=h.forwardRef((e,s)=>{let{className:t,children:a,...l}=e;return(0,r.jsxs)(u.l9,{ref:s,className:(0,d.cn)("border-quaternary bg-primary-dim flex h-10 w-full items-center justify-between rounded-sm border px-3 py-2 text-left text-sm ring-offset-background placeholder:text-secondary focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...l,children:[a,(0,r.jsx)(u.In,{asChild:!0,children:(0,r.jsx)(x.A,{className:"h-4 w-4 opacity-50"})})]})});b.displayName=u.l9.displayName;let y=h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.PP,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,r.jsx)(p.A,{className:"h-4 w-4"})})});y.displayName=u.PP.displayName;let w=h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.wn,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,r.jsx)(x.A,{className:"h-4 w-4"})})});w.displayName=u.wn.displayName;let N=h.forwardRef((e,s)=>{let{className:t,children:a,position:l="popper",...n}=e;return(0,r.jsx)(u.ZL,{children:(0,r.jsxs)(u.UC,{ref:s,className:(0,d.cn)("border-tertiary bg-primary-alt text-primary-alt relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:l,...n,children:[(0,r.jsx)(y,{}),(0,r.jsx)(u.LM,{className:(0,d.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,r.jsx)(w,{})]})})});N.displayName=u.UC.displayName,h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.JU,{ref:s,className:(0,d.cn)("py-1.5 pr-2 pl-8 text-sm font-semibold",t),...a})}).displayName=u.JU.displayName;let g=h.forwardRef((e,s)=>{let{className:t,children:a,...l}=e;return(0,r.jsxs)(u.q7,{ref:s,className:(0,d.cn)("focus:text-primary-alt relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",t),...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.VF,{children:(0,r.jsx)(f.A,{className:"h-4 w-4"})})}),(0,r.jsx)(u.p4,{children:a})]})});g.displayName=u.q7.displayName,h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.wv,{ref:s,className:(0,d.cn)("bg-primary-alt -mx-1 my-1 h-px",t),...a})}).displayName=u.wv.displayName;var P=t(27018),C=t(37613);function A(e){let{value:s,defaultValue:t,children:a}=e,l=(0,C.rd)(),n=(0,c.usePathname)();return(0,r.jsx)(j,{value:s,defaultValue:t,onValueChange:e=>{let s=n.split("/");s[4]=e,l.replace("/"+s.filter(e=>e.length>0).join("/"))},children:a})}var k=t(35865);function _(e){let{version:s,versions:t}=e,a=(0,k.c)("DocsVersionSelector");return(0,r.jsxs)(A,{value:s,defaultValue:m.j4,children:[(0,r.jsxs)(b,{className:"h-8 w-full justify-start rounded-sm border-none bg-transparent py-0 whitespace-nowrap hover:bg-secondary sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>span]:mr-auto [&>span]:block [&>span]:text-sm [&>span]:text-ellipsis [&>span]:sm:mr-0 [&>svg:last-child]:hidden",children:[(0,r.jsx)(P.A,{className:"mr-auto size-3.5 shrink-0 sm:mr-2.5"}),(0,r.jsx)(v,{placeholder:a("placeholder")})]}),(0,r.jsxs)(N,{children:[(0,r.jsx)(g,{value:m.j4,className:"py-1 [&>span]:text-sm",children:a("latest")}),t.map(e=>(0,r.jsx)(g,{value:e,className:"py-1 [&>span]:text-sm",children:e},e))]})]})}var L=t(28243),R=t(71422),z=t(67321);function E(e){let{children:s}=e,[t,a]=(0,h.useState)(!1),l=(0,c.usePathname)();return(0,h.useEffect)(()=>{a(!1)},[l]),(0,r.jsxs)("div",{className:"pointer-events-auto! sm:hidden",children:[(0,r.jsx)(R.A,{active:t,setOpen:a}),(0,r.jsx)(z.A,{className:"top-nav-height-ext bg-primary-dim",isVisible:t,children:s})]})}var S=t(87257);function V(e){let{title:s,icon:t,path:l,disabled:n}=e,i=(0,o.a8)(),m=(0,c.useParams)(),h=i.split("/"),u=4==h.length&&0==l.length||h.length>=5&&h[4]==l;return(0,r.jsx)(o.XO,{href:"/project/".concat(m.slug,"/").concat(m.version,"/").concat(l),className:(0,d.cn)("w-full sm:w-fit",n&&"pointer-events-none"),children:(0,r.jsxs)(a.$,{variant:"ghost",size:"sm",className:(0,d.cn)("h-8! w-full rounded-sm px-2! sm:h-7! sm:w-fit",u&&"bg-secondary"),disabled:n,children:[(0,r.jsx)(t,{className:"mr-auto h-4 w-4 sm:mr-2"}),(0,r.jsx)("span",{className:"mr-auto text-sm sm:mr-0",children:s})]})})}function q(e){let{project:s,platformProject:t}=e;return(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2 overflow-hidden",children:[(0,r.jsx)(S.default,{src:t.icon_url,alt:"Logo",className:"h-6 rounded-sm",width:24,height:24}),(0,r.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:s.name})]})}function O(e){let{project:s,platformProject:t}=e;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2 overflow-hidden",children:[(0,r.jsx)("img",{src:t.icon_url,alt:"Logo",className:"mb-2 size-12 rounded-sm"}),(0,r.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:s.name}),(0,r.jsx)("blockquote",{className:"line-clamp-2 text-sm text-secondary",children:t.summary})]})}function U(e){let{project:s,locale:t,version:a}=e,o=s.versions&&s.versions.length>0,d=s.locales&&s.locales.length>0;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:gap-2",children:[(0,r.jsx)(V,{title:"Home",icon:l.A,path:""}),(0,r.jsx)(V,{title:"Documentation",icon:n.A,path:"docs"}),s.info.content_count>0&&(0,r.jsx)(V,{title:"Content",icon:i.A,path:"content"}),(o||d)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"verticalSeparator hidden! sm:inline-flex!"}),(0,r.jsx)("hr",{className:"w-full border-tertiary sm:hidden"})]}),o&&(0,r.jsx)(_,{version:a,versions:s.versions}),d&&(0,r.jsx)(L.default,{locale:t,shownLocaleCodes:s.locales,minimal:!0})]})}function J(e){let{project:s,platformProject:t,locale:a,version:l}=e;return(0,r.jsx)("div",{className:"fixed left-0 z-40 w-full border-y border-tertiary border-t-tertiary-dim bg-primary-dim",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[120rem] flex-row items-center justify-between px-4 py-2 sm:py-1.5",children:[(0,r.jsx)(q,{project:s,platformProject:t}),(0,r.jsx)("div",{className:"hidden sm:block",children:(0,r.jsx)(U,{project:s,locale:a,version:l})}),(0,r.jsx)(E,{children:(0,r.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,r.jsx)(O,{project:s,platformProject:t}),(0,r.jsx)(U,{project:s,locale:a,version:l})]})})]})})}function D(e){let{project:s,platformProject:t,locale:a,version:l,children:n}=e;return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsx)("div",{className:"h-subnav",children:(0,r.jsx)(J,{project:s,platformProject:t,locale:a,version:l})}),(0,r.jsx)("div",{className:"flex flex-1 flex-col items-center bg-primary text-primary",children:n})]})}}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,7671,4874,1147,103,595,7411,9029,7358],()=>e(e.s=76836)),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5165],{16774:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var i=r(7893),n=r(28081),o=r(95745);function t(e){let{children:s}=e,[r,t]=(0,n.useState)(!1);return(0,i.jsxs)("div",{onClick:()=>t(!0),className:(0,o.cn)("group relative rounded-sm border border-secondary-dim bg-primary-alt/50 p-4 pb-0",!r&&"cursor-pointer hover:bg-secondary/20"),children:[!r&&(0,i.jsx)("span",{className:"absolute top-0 right-0 z-50 m-3 hidden text-sm text-secondary group-hover:block",children:"Click to expand"}),(0,i.jsx)("div",{className:(0,o.cn)(!r&&"masked-overflow max-h-64 overflow-hidden","min-h-64"),children:s})]})}},24989:(e,s,r)=>{"use strict";r.d(s,{default:()=>h});var i=r(7893),n=r(32482),o=r(74994),t=r(64870),l=r(82601),d=r(35865);function h(){let[e,s]=(0,n.ZA)("tab"),r=(0,d.c)("DocsEntryTabs"),h=async e=>{await s(e),window.scrollTo(0,0)};return(0,i.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,i.jsx)(l.$,{title:r("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>h("home"),children:(0,i.jsx)(o.A,{className:"size-4"})}):(0,i.jsx)(l.$,{title:r("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>h("history"),children:(0,i.jsx)(t.A,{className:"size-4"})})})}},
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5165],{16774:(e,s,r)=>{"use strict";r.d(s,{default:()=>t});var i=r(7893),n=r(28081),o=r(95745);function t(e){let{children:s}=e,[r,t]=(0,n.useState)(!1);return(0,i.jsxs)("div",{onClick:()=>t(!0),className:(0,o.cn)("group relative rounded-sm border border-secondary-dim bg-primary-alt/50 p-4 pb-0",!r&&"cursor-pointer hover:bg-secondary/20"),children:[!r&&(0,i.jsx)("span",{className:"absolute top-0 right-0 z-50 m-3 hidden text-sm text-secondary group-hover:block",children:"Click to expand"}),(0,i.jsx)("div",{className:(0,o.cn)(!r&&"masked-overflow max-h-64 overflow-hidden","min-h-64"),children:s})]})}},24989:(e,s,r)=>{"use strict";r.d(s,{default:()=>h});var i=r(7893),n=r(32482),o=r(74994),t=r(64870),l=r(82601),d=r(35865);function h(){let[e,s]=(0,n.ZA)("tab"),r=(0,d.c)("DocsEntryTabs"),h=async e=>{await s(e),window.scrollTo(0,0)};return(0,i.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,i.jsx)(l.$,{title:r("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>h("home"),children:(0,i.jsx)(o.A,{className:"size-4"})}):(0,i.jsx)(l.$,{title:r("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>h("history"),children:(0,i.jsx)(t.A,{className:"size-4"})})})}},84719:(e,s,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,16774)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))},93656:(e,s,r)=>{"use strict";r.d(s,{default:()=>n});var i=r(41574);function n(e){let{main:s,history:r}=e;return"history"==(0,i.useSearchParams)().get("tab")&&r?r:s}}},e=>{e.O(0,[7138,9957,739,4193,2709,5383,3386,103,7411,9029,7358],()=>e(e.s=84719)),_N_E=e.O()}]);
|
package/.next/static/chunks/app/[locale]/{layout-46bc3cbf8afcbd68.js → layout-607fb3570f758fcf.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{2938:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,o:()=>s});let s="minecraft";function n(e){if(0===e.length)return null;if(e.includes(":")){let t=e.split(":");return{namespace:t[0],path:t[1]}}return{namespace:"minecraft",path:e}}let a={toString:function(e){return"".concat(e.namespace,":").concat(e.path)},parse:n,extractPath:function(e){var t,r;return null!=(r=null==(t=n(e))?void 0:t.path)?r:e}}},7208:(e,t,r)=>{"use strict";r.d(t,{AM:()=>l,Wv:()=>i,hl:()=>c});var s=r(7893),n=r(28081),a=r(63082),o=r(95745);let l=a.bL,i=a.l9,c=n.forwardRef((e,t)=>{let{className:r,align:n="center",sideOffset:l=4,...i}=e;return(0,s.jsx)(a.ZL,{children:(0,s.jsx)(a.UC,{ref:t,align:n,sideOffset:l,className:(0,o.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",r),...i})})});c.displayName=a.UC.displayName},16715:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(7893),n=r(8295);r(28081);var a=r(95745);let o=(0,n.F)("inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{project:"border-info bg-secondary text-secondary-alt hover:bg-secondary/80",documentation:"border-secondary-alt bg-secondary text-secondary-alt hover:bg-secondary/80",content:"border-warning bg-secondary text-secondary-alt hover:bg-secondary/80"}}});function l(e){let{className:t,variant:r,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)(o({variant:r}),t),...n})}},17715:()=>{},17784:()=>{},17789:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(7893);function n(e){let{width:t,height:r,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:r,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},20249:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(28081),a=r(86373),o=r(35865);function l(){let e=(0,o.c)("ManageCookiesButton"),t=(0,n.useContext)(a.ww);return t&&t.enableCookieManagement?(0,s.jsx)("button",{type:"button","data-cc":"show-preferencesModal",className:"text-sm",children:e("text")}):null}},25782:(e,t,r)=>{Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.bind(r,86373)),Promise.resolve().then(r.bind(r,20249)),Promise.resolve().then(r.bind(r,60784)),Promise.resolve().then(r.bind(r,73517)),Promise.resolve().then(r.t.bind(r,65028,23)),Promise.resolve().then(r.bind(r,28243)),Promise.resolve().then(r.bind(r,52643)),Promise.resolve().then(r.bind(r,92434)),Promise.resolve().then(r.bind(r,71678)),Promise.resolve().then(r.bind(r,58453)),Promise.resolve().then(r.bind(r,62598))},27849:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var s=r(54703),n=r(52800),a=r(95054),o=r(48902),l=r(2938),i=r(59871),c=r(60285),d=r(16298);let u={getBackendEndpointUrl:function(){let e=d.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,c.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",e)},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){var e;return null!=(e=d.env.NEXT_PUBLIC_ASSETS_BASE_URL)?e:null}},f={getAssetResource:function(e){var t;let r=null!=(t=u.getAssetsBaseURL())?t:u.getBuiltinAssetSource();if(!r)return null;let s=new URL(r);s.pathname+="/.assets/"+e.namespace+"/"+e.path+(e.path.includes(".")?"":".png");let n=(0,i.A)(s.toString());return null===n?null:{id:l.A.toString(e),src:n}}};var h=r(3192);function p(e,t){return"locale"==e?h.Ay.actualLocale(t):"version"==e?function(e){return e==o.j4?null:e}(t):t}let m={constructAssetsUrl:function(e,t){var r;let s=null!=(r=u.getAssetsBaseURL())?r:u.getBackendEndpointUrl(),n=(0,c.cT)(t,p);return"".concat(s,"/api/v1/").concat(e,"?").concat(n)}},x={getRemoteAsset:function(e,t){let r=l.A.parse(e);if(!r)return null;let s=function(e,t,r){if(!r||t.namespace===l.o){let t=e.includes("/")?e:function(e){let t=l.A.parse(e);return t?l.A.toString({namespace:t.namespace,path:"item/"+t.path}):e}(e),r=l.A.parse(t);return r?f.getAssetResource(r):null}return null}(e,r,t);return null!=s?s:function(e,t){let{id:r,version:s}=t,n=m.constructAssetsUrl("docs/".concat(r,"/asset/").concat(e),{version:s});return{id:e,src:n}}(e,t)}};var v=r(16298);async function y(e,t,r){var n;let l=v.env.NEXT_PUBLIC_SEARCH_ENDPOINT,i=v.env.NEXT_PUBLIC_SEARCH_COLLECTION,c=v.env.NEXT_PUBLIC_SEARCH_API_KEY;if(!l||!i||!c)return{total:0,hits:[]};let d=new s._t({nodes:[{url:l}],apiKey:c,connectionTimeoutSeconds:2,timeoutSeconds:5,numRetries:3,retryIntervalSeconds:1,cacheSearchResultsForSeconds:120}),u=await g(d,i,{q:e,query_by:"title,item_ids,project_id,project_name,page_ref",filter_by:r?"project_id:=".concat(r):void 0,per_page:8,page:1});if(!u||0===u.found||!(null==(n=u.hits)?void 0:n.length))return null;let f=u.hits.map(e=>{var r,s;let n=e.document,l=(r=n,s=t,"project"===r.entry_type?(0,a.gZ)(s,r.project_id):"documentation"===r.entry_type?(0,a.M$)(r.page_ref,{id:r.project_id,locale:s,version:o.j4}):"content"===r.entry_type?(0,a.sw)(r.page_ref,{locale:s,version:o.j4,id:r.project_id}):(console.error("Unknown search result",r),"")),i=function(e,t){if("project"===e.entry_type&&null!=e.project_icon_url)return{src:e.project_icon_url,id:e.project_id};if(null==e.icon)return null;let r={id:e.project_id,locale:t,version:o.j4};return x.getRemoteAsset(e.icon,r)}(n,t);return{...n,href:l,icon_asset:i}});return{total:u.found,hits:f}}async function g(e,t,r){try{return await e.collections(t).documents().search(r,{})}catch(e){if(e instanceof n.RequestMalformed)console.error("Bad search params:",e.httpBody);else if(e instanceof n.RequestUnauthorized)console.error("Auth failed — check apiKey");else if(e instanceof n.ObjectNotFound)console.error("Collection does not exist");else if(e instanceof n.ServerError)console.error("Typesense server error",e.httpStatus);else if(e instanceof n.TypesenseError)console.error("Typesense error",e.httpStatus,e.httpBody);else throw e;return null}}let b={searchWiki:async function e(e,t,r){try{let s=await y(e,t,r);if(null!=s)return s}catch(e){console.error("Error running search",e)}return{total:0,hits:[]}}}},37040:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var s=r(7893),n=r(28081),a=r(19957),o=r.n(a);let l=(0,n.forwardRef)(function(e,t){let{prefetch:r=!1,...n}=e;return(0,s.jsx)(o(),{prefetch:r,...n,ref:t})})},52643:(e,t,r)=>{"use strict";r.d(t,{default:()=>N});var s=r(7893),n=r(47570),a=r(28081),o=r(87257),l=r(90648),i=r(43160),c=r(74994),d=r(72053),u=r(3072),f=r(41574),h=r(95745),p=r(35865),m=r(37040),x=r(27849),v=r(71678),y=r(16715);function g(e){var t;let{result:r}=e,n=(0,p.c)("ProjectTypes"),a=(0,p.c)("SearchResultType");return(0,s.jsxs)(m.k,{href:r.href,className:(0,h.cn)("z-50 flex cursor-pointer flex-row gap-2 bg-primary-alt px-1 py-1.5 text-primary","first:rounded-t-sm last:rounded-b-sm hover:bg-tertiary"),children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(o.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:l.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:n(r.project_type)}):(0,s.jsx)("div",{className:"flex flex-row gap-2",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(y.A,{variant:r.entry_type,children:a(r.entry_type)})})]})}function b(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:e("no_results")})}function j(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:[(0,s.jsx)(i.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function w(e){let{canChangeScope:t,visible:r,total:n}=e,a=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:(0,h.cn)("flex w-full flex-row items-center justify-between bg-primary-alt p-2 text-secondary",r>0?"rounded-b-sm":"rounded-sm"),children:[(0,s.jsx)("div",{className:"text-sm font-light",children:a.rich("results",{highlight:e=>(0,s.jsx)("span",{className:"font-normal",children:e}),count:r,total:n})}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t&&(0,s.jsx)("span",{className:"text-sm",children:a.rich("switch",{kbd:e=>(0,s.jsx)("kbd",{children:e})})}),(0,s.jsx)("span",{className:"text-sm",children:a.rich("close",{kbd:e=>(0,s.jsx)("kbd",{children:e})})})]})]})}function N(e){var t,r,o;let{locale:l}=e,i=(0,p.c)("DocsSearchBar"),[m,y]=(0,a.useState)(""),[N,_]=(0,a.useState)(null),[S,A]=(0,a.useState)(!1),{project:E}=(0,a.useContext)(v.o),[C,k]=(0,a.useState)(null!=E),B=(0,n.YQ)(async e=>{let t=!0;setTimeout(()=>{m&&t&&A(!0)},500),_(await x.A.searchWiki(e,l,C&&E?E.id:null)),t=!1,A(!1)},200),[L,P]=(0,a.useState)(!1);(0,a.useEffect)(()=>{k(null!=E)},[E]),(0,a.useEffect)(()=>{m.length>0&&B(m),B.flush()},[C]);let R=(0,a.useRef)(null),T=(0,f.usePathname)();(0,a.useEffect)(()=>{var e;null==(e=R.current)||e.blur()},[T]);let[z,U]=(0,a.useState)(!0),I=()=>{"visible"===document.visibilityState?setTimeout(()=>U(!0),500):U(!1)};(0,a.useLayoutEffect)(()=>(document.addEventListener("visibilitychange",I),()=>document.removeEventListener("visibilitychange",I)),[]);let M=C?c.A:d.A;return(0,s.jsxs)("div",{className:(0,h.cn)("relative mx-2 hidden w-full transition-none duration-200 ease-[cubic-bezier(.27,.17,.43,.98)]",z&&"md:focus-within:transition-[max-width] lg:transition-[max-width]","md:flex md:max-w-sm md:focus-within:fixed md:focus-within:left-1/2 md:focus-within:max-w-lg md:focus-within:-translate-x-1/2 md:focus-within:shadow-lg","lg:max-w-[40rem] lg:focus-within:static lg:focus-within:flex lg:focus-within:max-w-2xl lg:focus-within:translate-x-0"),children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(u.A,{className:"inset absolute top-1/2 left-2 h-4 w-4 -translate-y-1/2 text-neutral-500"}),E&&L&&(0,s.jsxs)("div",{className:(0,h.cn)("inset absolute top-1/2 left-8 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1 py-[1.5px]"),children:[(0,s.jsx)(M,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:i("scope.".concat(C?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:m,ref:R,className:(0,h.cn)("w-full cursor-pointer rounded-sm border border-secondary bg-primary-alt px-8 py-[0.2rem]","text-center text-sm text-ellipsis placeholder:text-neutral-500","focus:cursor-text focus:border-secondary-alt focus:shadow-md focus:outline-none"),onChange:e=>(e=>{if(y(e),!e||0===e.length){_(null),A(!1);return}return B(e)})(e.target.value),placeholder:i("placeholder"),onFocus:()=>{P(!0),_(null),document.querySelectorAll("html, body").forEach(e=>e.classList.add("scrollLock"))},onBlur:()=>{P(!1),A(!1),y(""),document.querySelectorAll("html, body").forEach(e=>e.classList.remove("scrollLock"))},onKeyDown:e=>{null!=E&&"Tab"===e.key&&(e.preventDefault(),k(!C)),"Escape"===e.key&&e.target.blur()}})]}),L&&(0,s.jsxs)("div",{onMouseDown:e=>e.preventDefault(),className:(0,h.cn)("absolute top-8 flex w-full flex-col divide-y divide-tertiary rounded-sm border","border-secondary bg-primary-alt shadow-lg"),children:[S&&(0,s.jsx)(j,{}),!S&&N&&N.hits.map(e=>(0,s.jsx)(g,{result:e},e.id)),!S&&N&&0===N.hits.length&&(0,s.jsx)(b,{}),(0,s.jsx)(w,{canChangeScope:null!=E,visible:null!=(r=null==N||null==(t=N.hits)?void 0:t.length)?r:0,total:null!=(o=null==N?void 0:N.total)?o:0})]})]})}},58453:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(7893),n=r(99302),a=r(95745),o=r(82601),l=r(17789);function i(e){let{width:t,height:r,className:n}=e;return(0,s.jsx)("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",width:t||24,height:r||24,className:n,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"currentColor",d:"M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12"})})}function c(e){let{enableSharing:t,shareData:r,large:a}=e,c="undefined"!=typeof navigator&&"function"==typeof navigator.share,u=a?"h-5 w-5":"h-4 w-4 sm:h-5 sm:w-5";return(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 sm:gap-4",children:[(0,s.jsx)(d,{href:"https://github.com/Sinytra",large:a,icon:(0,s.jsx)(l.A,{className:u})}),(0,s.jsx)(d,{href:"https://discord.sinytra.org",large:a,icon:(0,s.jsx)(i,{className:u})}),t&&c&&(0,s.jsxs)(o.$,{onClick:()=>{navigator.share?navigator.share(r).catch(e=>{console.error("Error sharing:",e)}):alert("Sharing is not supported on this browser.")},size:"sm",className:"flex h-8 w-8 items-center justify-center gap-2 sm:h-10 sm:w-auto sm:justify-start sm:px-4",children:[(0,s.jsx)(n.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Share"})]})]})}function d(e){let{href:t,icon:r,large:n,className:l}=e;return(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.$,{variant:"outline",size:"icon",className:(0,a.cn)(l,n?"h-10 w-10":"h-8 w-8 sm:h-10 sm:w-10"),children:r})})}},60285:(e,t,r)=>{"use strict";function s(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function n(e,t){let r=new URLSearchParams;if(e){for(let s in e)if(null!=e[s]){let n=t?t(s,e[s]):e[s];n&&r.set(s,n)}}return r.toString()}r.d(t,{cT:()=>n,no:()=>s}),r(16298)},60784:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),n=r(28081),a=r(95745);function o(e){let{unfix:t,children:r}=e,o=(0,n.useRef)(null),[l,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{i(window.scrollY>0)};return document.addEventListener("scroll",e),()=>document.removeEventListener("scroll",e)},[l]),(0,s.jsx)("header",{className:(0,a.cn)(!t&&"fixed left-0 w-[100vw]","z-50 border-b border-tertiary bg-primary-alt",!t&&l&&"motion-reduce:transition-none"),ref:o,children:r})}},62598:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>a});var s=r(7893),n=r(43875);let a=e=>{let{...t}=e;return(0,s.jsx)(n.l$,{theme:"dark",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-primary group-[.toaster]:text-primary group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-secondary",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-inverse",cancelButton:"group-[.toast]:bg-primary-alt group-[.toast]:text-secondary"}},...t})}},73517:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var s=r(7893),n=r(71422),a=r(67321),o=r(28081),l=r(41574);function i(e){let{children:t}=e,[r,i]=(0,o.useState)(!1),c=(0,l.usePathname)();return(0,o.useEffect)(()=>{i(!1)},[c]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(n.A,{active:r,setOpen:i}),(0,s.jsx)(a.A,{className:"top-nav-height bg-primary",isVisible:r,children:t})]})}},82601:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var s=r(7893),n=r(28081),a=r(85126),o=r(8295),l=r(95745);let i=(0,o.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:c=!1,...d}=e,u=c?a.DX:"button";return(0,s.jsx)(u,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...d})});c.displayName="Button"},86373:(e,t,r)=>{"use strict";r.d(t,{GL:()=>c,ww:()=>i,YE:()=>d,default:()=>u});var s=r(7893),n=r(28081);r(3317);var a=r(76089);r(82637);let o={userRequiresCookieConsent:function(){return!1}};var l=r(35865);let i=(0,n.createContext)(null),c="experience",d="yt_embeds";function u(e){let{children:t}=e,[r,u]=(0,n.useState)(!0),[f,h]=(0,n.useState)(!1),p=(0,l.c)("CookieConsent");function m(){h(a.tj(d,c))}return(0,n.useEffect)(()=>{let e=o.userRequiresCookieConsent();u(e),e&&a.eF({revision:1,guiOptions:{consentModal:{layout:"box inline"}},onFirstConsent:()=>{m()},onChange:()=>{m()},categories:{necessary:{enabled:!0,readOnly:!0},[c]:{services:{[d]:{label:p("sections.experience.services.embeds"),onAccept:()=>h(!0),onReject:()=>h(!1)}}}},language:{default:"en",translations:{en:{consentModal:{title:p("popup.title"),description:p("popup.description"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),showPreferencesBtn:p("popup.show_preferences")},preferencesModal:{title:p("modal.title"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),savePreferencesBtn:p("modal.save"),closeIconLabel:p("modal.close"),sections:[{title:p("sections.summary.title"),description:p("sections.summary.description")},{title:p("sections.necessary.title"),description:p("sections.necessary.description"),linkedCategory:"necessary"},{title:p("sections.experience.title"),description:p("sections.experience.description"),linkedCategory:"experience"},{title:p("sections.more_info.title"),description:p.raw("sections.more_info.description")}]}}}}})},[]),(0,s.jsx)(i.Provider,{value:{enableCookieManagement:r,hasConsentToEmbeddedVideos:f},children:t})}},87257:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(28081),a=r(59333),o=r(95745);function l(e){let{src:t,alt:r,width:l,height:i,fbWidth:c,fbHeight:d,className:u,title:f,strokeWidth:h=1,fixedSize:p,wrapper:m,fbIcon:x=a.A,fallback:v=(0,s.jsx)(x,{strokeWidth:h,className:(0,o.cn)(u,"text-secondary opacity-20"),width:c||l||32,height:d||i||32}),...y}=e,[g,b]=(0,n.useState)(!1);return(0,s.jsxs)("span",{title:f,style:p?{width:"".concat(l,"px"),height:"".concat(i,"px")}:void 0,...m,className:(0,o.cn)("shrink-0 overflow-hidden",null==m?void 0:m.className),children:[t&&!g&&(0,s.jsx)("img",{src:t,alt:r||"",width:l,height:i,className:u,onError:()=>b(!0),...y}),(!t||g)&&v]})}},88523:()=>{},92434:(e,t,r)=>{"use strict";r.d(t,{default:()=>A});var s=r(7893),n=r(35865),a=r(90648),o=r(43160),l=r(74994),i=r(72053),c=r(36999),d=r(3072),u=r(82601),f=r(28081),h=r(87257),p=r(47570),m=r(61341),x=r(41574),v=r(37040),y=r(27849),g=r(71678),b=r(95745),j=r(16715);function w(e){var t;let{result:r}=e,o=(0,n.c)("ProjectTypes"),l=(0,n.c)("SearchResultType");return(0,s.jsxs)(v.k,{href:r.href,className:"z-50 flex cursor-pointer flex-row gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-primary",children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(h.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:a.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:(0,s.jsx)("span",{className:"text-secondary",children:o(r.project_type)})}):(0,s.jsx)("div",{className:"flex flex-col gap-1",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(j.A,{variant:r.entry_type,children:l(r.entry_type)})})]})}function N(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:[(0,s.jsx)(o.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function _(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:e("no_results")})}function S(e){let{locale:t,isOpen:r,setOpen:a}=e,o=(0,n.c)("DocsSearchBar"),d=(0,f.useRef)(null),[u,h]=(0,f.useState)(""),[x,v]=(0,f.useState)(null),[j,S]=(0,f.useState)(!1),{project:A}=(0,f.useContext)(g.o),[E,C]=(0,f.useState)(null!=A);(0,f.useEffect)(()=>{h(""),v(null),S(!1)},[r]);let k=(0,p.YQ)(async e=>{let r=!0;setTimeout(()=>{u&&r&&S(!0)},500),v(await y.A.searchWiki(e,t,E&&A?A.id:null)),r=!1,S(!1)},200);(0,f.useEffect)(()=>{C(null!=A)},[A]),(0,f.useEffect)(()=>{u.length>0&&k(u),k.flush()},[E]);let B=E?l.A:i.A;return(0,s.jsx)(m.A,{nodeRef:d,in:r,timeout:200,classNames:"fade",unmountOnExit:!0,children:(0,s.jsx)("div",{ref:d,className:"fixed top-0 right-0 bottom-0 left-0 z-50 h-[100vh] w-full overflow-hidden bg-primary",children:(0,s.jsxs)("div",{className:"innerFadeContainer flex flex-col gap-4 p-4",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{onClick:()=>a(!1),children:(0,s.jsx)(c.A,{className:"absolute top-1/2 left-2 h-5 w-5 -translate-y-1/2 text-secondary"})}),A&&(0,s.jsxs)("button",{className:(0,b.cn)("inset absolute top-1/2 right-2 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1.5 py-1"),onClick:()=>C(!E),children:[(0,s.jsx)(B,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:o("scope.".concat(E?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:u,onChange:e=>(e=>{if(h(e),!e||0===e.length){v(null),S(!1);return}return k(e)})(e.target.value),className:"w-full cursor-pointer rounded-xs border border-neutral-700 bg-primary-alt p-2 px-8 text-center text-sm text-ellipsis placeholder:text-neutral-500 focus:cursor-text focus:outline-1 focus:outline-secondary",placeholder:o("placeholder"),autoFocus:!0})]}),j&&(0,s.jsx)(N,{}),!j&&x&&(x.hits.length>0?(0,s.jsxs)("div",{className:"slim-scrollbar flex h-[90vh] flex-col gap-2 overflow-y-auto",children:[...x.hits.map(e=>(0,s.jsx)(w,{result:e},e.id))]}):(0,s.jsx)(_,{}))]})})})}function A(e){let{locale:t}=e,[r,n]=(0,f.useState)(!1),a=(0,x.usePathname)();return(0,f.useEffect)(()=>{n(!1)},[a]),(0,f.useEffect)(()=>{r?document.querySelectorAll("html, body").forEach(e=>e.classList.add("navScrollLock")):document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},[r]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(u.$,{variant:"ghost",size:"icon",onClick:()=>n(!r),children:(0,s.jsx)(d.A,{className:"h-4 w-4 text-[var(--vp-c-text-1)]"})}),(0,s.jsx)(S,{isOpen:r,setOpen:n,locale:t})]})}},95054:(e,t,r)=>{"use strict";r.d(t,{M$:()=>i,MZ:()=>n,cT:()=>l,gZ:()=>o,sw:()=>a});var s=r(2938);function n(e,t){var r;return null!=(r=l(t.id))?r:null!=t.page_ref?a(t.page_ref,e):null}function a(e,t){let r="slug"in t?t.slug:t.id;return"/".concat(t.locale,"/project/").concat(r,"/").concat(t.version,"/content/").concat(e)}function o(e,t){return"/".concat(e,"/project/").concat(t,"/latest")}function l(e){let t=s.A.parse(e);return(null==t?void 0:t.namespace)===s.o&&e.startsWith(s.o+":")?"https://minecraft.wiki/w/".concat(t.path):null}function i(e,t){return"/".concat(t.locale,"/project/").concat(t.id,"/").concat(t.version,"/docs/").concat(e)}},95745:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(3135),n=r(96915);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,s.$)(t))}}},e=>{e.O(0,[7138,5369,9957,739,4193,400,7671,3553,8287,595,7411,9029,7358],()=>e(e.s=25782)),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{2938:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,o:()=>s});let s="minecraft";function n(e){if(0===e.length)return null;if(e.includes(":")){let t=e.split(":");return{namespace:t[0],path:t[1]}}return{namespace:"minecraft",path:e}}let a={toString:function(e){return"".concat(e.namespace,":").concat(e.path)},parse:n,extractPath:function(e){var t,r;return null!=(r=null==(t=n(e))?void 0:t.path)?r:e}}},7208:(e,t,r)=>{"use strict";r.d(t,{AM:()=>l,Wv:()=>i,hl:()=>c});var s=r(7893),n=r(28081),a=r(63082),o=r(95745);let l=a.bL,i=a.l9,c=n.forwardRef((e,t)=>{let{className:r,align:n="center",sideOffset:l=4,...i}=e;return(0,s.jsx)(a.ZL,{children:(0,s.jsx)(a.UC,{ref:t,align:n,sideOffset:l,className:(0,o.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",r),...i})})});c.displayName=a.UC.displayName},16715:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(7893),n=r(8295);r(28081);var a=r(95745);let o=(0,n.F)("inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{project:"border-info bg-secondary text-secondary-alt hover:bg-secondary/80",documentation:"border-secondary-alt bg-secondary text-secondary-alt hover:bg-secondary/80",content:"border-warning bg-secondary text-secondary-alt hover:bg-secondary/80"}}});function l(e){let{className:t,variant:r,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)(o({variant:r}),t),...n})}},17715:()=>{},17784:()=>{},17789:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(7893);function n(e){let{width:t,height:r,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:r,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},20249:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(28081),a=r(86373),o=r(35865);function l(){let e=(0,o.c)("ManageCookiesButton"),t=(0,n.useContext)(a.ww);return t&&t.enableCookieManagement?(0,s.jsx)("button",{type:"button","data-cc":"show-preferencesModal",className:"text-sm",children:e("text")}):null}},25782:(e,t,r)=>{Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.bind(r,86373)),Promise.resolve().then(r.bind(r,20249)),Promise.resolve().then(r.bind(r,60784)),Promise.resolve().then(r.bind(r,73517)),Promise.resolve().then(r.t.bind(r,65028,23)),Promise.resolve().then(r.bind(r,28243)),Promise.resolve().then(r.bind(r,52643)),Promise.resolve().then(r.bind(r,92434)),Promise.resolve().then(r.bind(r,71678)),Promise.resolve().then(r.bind(r,58453)),Promise.resolve().then(r.bind(r,62598))},27849:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var s=r(54703),n=r(52800),a=r(95054),o=r(48902),l=r(2938),i=r(59871),c=r(60285),d=r(16298);let u={getBackendEndpointUrl:function(){let e=d.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,c.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",e)},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){var e;return null!=(e=d.env.NEXT_PUBLIC_ASSETS_BASE_URL)?e:null}},f={getAssetResource:function(e){var t;let r=null!=(t=u.getAssetsBaseURL())?t:u.getBuiltinAssetSource();if(!r)return null;let s=new URL(r);s.pathname+="/.assets/"+e.namespace+"/"+e.path+(e.path.includes(".")?"":".png");let n=(0,i.A)(s.toString());return null===n?null:{id:l.A.toString(e),src:n}}};var h=r(3192);function p(e,t){return"locale"==e?h.Ay.actualLocale(t):"version"==e?function(e){return e==o.j4?null:e}(t):t}let m={constructAssetsUrl:function(e,t){var r;let s=null!=(r=u.getAssetsBaseURL())?r:u.getBackendEndpointUrl(),n=(0,c.cT)(t,p);return"".concat(s,"/api/v1/").concat(e,"?").concat(n)}},x={getRemoteAsset:function(e,t){let r=l.A.parse(e);if(!r)return null;let s=function(e,t,r){if(!r||t.namespace===l.o){let t=e.includes("/")?e:function(e){let t=l.A.parse(e);return t?l.A.toString({namespace:t.namespace,path:"item/"+t.path}):e}(e),r=l.A.parse(t);return r?f.getAssetResource(r):null}return null}(e,r,t);return null!=s?s:function(e,t){let{id:r,version:s}=t,n=m.constructAssetsUrl("docs/".concat(r,"/asset/").concat(e),{version:s});return{id:e,src:n}}(e,t)}};var v=r(16298);async function y(e,t,r){var n;let l=v.env.NEXT_PUBLIC_SEARCH_ENDPOINT,i=v.env.NEXT_PUBLIC_SEARCH_COLLECTION,c=v.env.NEXT_PUBLIC_SEARCH_API_KEY;if(!l||!i||!c)return{total:0,hits:[]};let d=new s._t({nodes:[{url:l}],apiKey:c,connectionTimeoutSeconds:2,timeoutSeconds:5,numRetries:3,retryIntervalSeconds:1,cacheSearchResultsForSeconds:120}),u=await g(d,i,{q:e,query_by:"title,item_ids,project_id,project_name,page_ref",filter_by:r?"project_id:=".concat(r):void 0,per_page:8,page:1});if(!u||0===u.found||!(null==(n=u.hits)?void 0:n.length))return null;let f=u.hits.map(e=>{var r,s;let n=e.document,l=(r=n,s=t,"project"===r.entry_type?(0,a.gZ)(s,r.project_id):"documentation"===r.entry_type?(0,a.M$)(r.page_ref,{id:r.project_id,locale:s,version:o.j4}):"content"===r.entry_type?(0,a.sw)(r.page_ref,{locale:s,version:o.j4,id:r.project_id}):(console.error("Unknown search result",r),"")),i=function(e,t){if("project"===e.entry_type&&null!=e.project_icon_url)return{src:e.project_icon_url,id:e.project_id};if(null==e.icon)return null;let r={id:e.project_id,locale:t,version:o.j4};return x.getRemoteAsset(e.icon,r)}(n,t);return{...n,href:l,icon_asset:i}});return{total:u.found,hits:f}}async function g(e,t,r){try{return await e.collections(t).documents().search(r,{})}catch(e){if(e instanceof n.RequestMalformed)console.error("Bad search params:",e.httpBody);else if(e instanceof n.RequestUnauthorized)console.error("Auth failed — check apiKey");else if(e instanceof n.ObjectNotFound)console.error("Collection does not exist");else if(e instanceof n.ServerError)console.error("Typesense server error",e.httpStatus);else if(e instanceof n.TypesenseError)console.error("Typesense error",e.httpStatus,e.httpBody);else throw e;return null}}let b={searchWiki:async function e(e,t,r){try{let s=await y(e,t,r);if(null!=s)return s}catch(e){console.error("Error running search",e)}return{total:0,hits:[]}}}},37040:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var s=r(7893),n=r(28081),a=r(19957),o=r.n(a);let l=(0,n.forwardRef)(function(e,t){let{prefetch:r=!1,...n}=e;return(0,s.jsx)(o(),{prefetch:r,...n,ref:t})})},52643:(e,t,r)=>{"use strict";r.d(t,{default:()=>N});var s=r(7893),n=r(47570),a=r(28081),o=r(87257),l=r(90648),i=r(43160),c=r(74994),d=r(72053),u=r(3072),f=r(41574),h=r(95745),p=r(35865),m=r(37040),x=r(27849),v=r(71678),y=r(16715);function g(e){var t;let{result:r}=e,n=(0,p.c)("ProjectTypes"),a=(0,p.c)("SearchResultType");return(0,s.jsxs)(m.k,{href:r.href,className:(0,h.cn)("z-50 flex cursor-pointer flex-row gap-2 bg-primary-alt px-1 py-1.5 text-primary","first:rounded-t-sm last:rounded-b-sm hover:bg-tertiary"),children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(o.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:l.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:n(r.project_type)}):(0,s.jsx)("div",{className:"flex flex-row gap-2",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(y.A,{variant:r.entry_type,children:a(r.entry_type)})})]})}function b(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:e("no_results")})}function j(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:[(0,s.jsx)(i.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function w(e){let{canChangeScope:t,visible:r,total:n}=e,a=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:(0,h.cn)("flex w-full flex-row items-center justify-between bg-primary-alt p-2 text-secondary",r>0?"rounded-b-sm":"rounded-sm"),children:[(0,s.jsx)("div",{className:"text-sm font-light",children:a.rich("results",{highlight:e=>(0,s.jsx)("span",{className:"font-normal",children:e}),count:r,total:n})}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t&&(0,s.jsx)("span",{className:"text-sm",children:a.rich("switch",{kbd:e=>(0,s.jsx)("kbd",{children:e})})}),(0,s.jsx)("span",{className:"text-sm",children:a.rich("close",{kbd:e=>(0,s.jsx)("kbd",{children:e})})})]})]})}function N(e){var t,r,o;let{locale:l}=e,i=(0,p.c)("DocsSearchBar"),[m,y]=(0,a.useState)(""),[N,_]=(0,a.useState)(null),[S,A]=(0,a.useState)(!1),{project:E}=(0,a.useContext)(v.o),[C,k]=(0,a.useState)(null!=E),B=(0,n.YQ)(async e=>{let t=!0;setTimeout(()=>{m&&t&&A(!0)},500),_(await x.A.searchWiki(e,l,C&&E?E.id:null)),t=!1,A(!1)},200),[L,P]=(0,a.useState)(!1);(0,a.useEffect)(()=>{k(null!=E)},[E]),(0,a.useEffect)(()=>{m.length>0&&B(m),B.flush()},[C]);let R=(0,a.useRef)(null),T=(0,f.usePathname)();(0,a.useEffect)(()=>{var e;null==(e=R.current)||e.blur()},[T]);let[z,U]=(0,a.useState)(!0),I=()=>{"visible"===document.visibilityState?setTimeout(()=>U(!0),500):U(!1)};(0,a.useLayoutEffect)(()=>(document.addEventListener("visibilitychange",I),()=>document.removeEventListener("visibilitychange",I)),[]);let M=C?c.A:d.A;return(0,s.jsxs)("div",{className:(0,h.cn)("relative mx-2 hidden w-full transition-none duration-200 ease-[cubic-bezier(.27,.17,.43,.98)]",z&&"md:focus-within:transition-[max-width] lg:transition-[max-width]","md:flex md:max-w-sm md:focus-within:fixed md:focus-within:left-1/2 md:focus-within:max-w-lg md:focus-within:-translate-x-1/2 md:focus-within:shadow-lg","lg:max-w-[40rem] lg:focus-within:static lg:focus-within:flex lg:focus-within:max-w-2xl lg:focus-within:translate-x-0"),children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(u.A,{className:"inset absolute top-1/2 left-2 h-4 w-4 -translate-y-1/2 text-neutral-500"}),E&&L&&(0,s.jsxs)("div",{className:(0,h.cn)("inset absolute top-1/2 left-8 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1 py-[1.5px]"),children:[(0,s.jsx)(M,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:i("scope.".concat(C?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:m,ref:R,className:(0,h.cn)("w-full cursor-pointer rounded-sm border border-secondary bg-primary-alt px-8 py-[0.2rem]","text-center text-sm text-ellipsis placeholder:text-neutral-500","focus:cursor-text focus:border-secondary-alt focus:shadow-md focus:outline-none"),onChange:e=>(e=>{if(y(e),!e||0===e.length){_(null),A(!1);return}return B(e)})(e.target.value),placeholder:i("placeholder"),onFocus:()=>{P(!0),_(null),document.querySelectorAll("html, body").forEach(e=>e.classList.add("scrollLock"))},onBlur:()=>{P(!1),A(!1),y(""),document.querySelectorAll("html, body").forEach(e=>e.classList.remove("scrollLock"))},onKeyDown:e=>{null!=E&&"Tab"===e.key&&(e.preventDefault(),k(!C)),"Escape"===e.key&&e.target.blur()}})]}),L&&(0,s.jsxs)("div",{onMouseDown:e=>e.preventDefault(),className:(0,h.cn)("absolute top-8 flex w-full flex-col divide-y divide-tertiary rounded-sm border","border-secondary bg-primary-alt shadow-lg"),children:[S&&(0,s.jsx)(j,{}),!S&&N&&N.hits.map(e=>(0,s.jsx)(g,{result:e},e.id)),!S&&N&&0===N.hits.length&&(0,s.jsx)(b,{}),(0,s.jsx)(w,{canChangeScope:null!=E,visible:null!=(r=null==N||null==(t=N.hits)?void 0:t.length)?r:0,total:null!=(o=null==N?void 0:N.total)?o:0})]})]})}},58453:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(7893),n=r(99302),a=r(95745),o=r(82601),l=r(17789);function i(e){let{width:t,height:r,className:n}=e;return(0,s.jsx)("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",width:t||24,height:r||24,className:n,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"currentColor",d:"M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12"})})}function c(e){let{enableSharing:t,shareData:r,large:a}=e,c="undefined"!=typeof navigator&&"function"==typeof navigator.share,u=a?"h-5 w-5":"h-4 w-4 sm:h-5 sm:w-5";return(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 sm:gap-4",children:[(0,s.jsx)(d,{href:"https://github.com/Sinytra",large:a,icon:(0,s.jsx)(l.A,{className:u})}),(0,s.jsx)(d,{href:"https://discord.sinytra.org",large:a,icon:(0,s.jsx)(i,{className:u})}),t&&c&&(0,s.jsxs)(o.$,{onClick:()=>{navigator.share?navigator.share(r).catch(e=>{console.error("Error sharing:",e)}):alert("Sharing is not supported on this browser.")},size:"sm",className:"flex h-8 w-8 items-center justify-center gap-2 sm:h-10 sm:w-auto sm:justify-start sm:px-4",children:[(0,s.jsx)(n.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Share"})]})]})}function d(e){let{href:t,icon:r,large:n,className:l}=e;return(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.$,{variant:"outline",size:"icon",className:(0,a.cn)(l,n?"h-10 w-10":"h-8 w-8 sm:h-10 sm:w-10"),children:r})})}},60285:(e,t,r)=>{"use strict";function s(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function n(e,t){let r=new URLSearchParams;if(e){for(let s in e)if(null!=e[s]){let n=t?t(s,e[s]):e[s];n&&r.set(s,n)}}return r.toString()}r.d(t,{cT:()=>n,no:()=>s}),r(16298)},60784:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),n=r(28081),a=r(95745);function o(e){let{unfix:t,children:r}=e,o=(0,n.useRef)(null),[l,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{i(window.scrollY>0)};return document.addEventListener("scroll",e),()=>document.removeEventListener("scroll",e)},[l]),(0,s.jsx)("header",{className:(0,a.cn)(!t&&"fixed left-0 w-[100vw]","z-50 border-b border-tertiary bg-primary-alt",!t&&l&&"motion-reduce:transition-none"),ref:o,children:r})}},62598:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>a});var s=r(7893),n=r(43875);let a=e=>{let{...t}=e;return(0,s.jsx)(n.l$,{theme:"dark",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-primary group-[.toaster]:text-primary group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-secondary",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-inverse",cancelButton:"group-[.toast]:bg-primary-alt group-[.toast]:text-secondary"}},...t})}},73517:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var s=r(7893),n=r(71422),a=r(67321),o=r(28081),l=r(41574);function i(e){let{children:t}=e,[r,i]=(0,o.useState)(!1),c=(0,l.usePathname)();return(0,o.useEffect)(()=>{i(!1)},[c]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(n.A,{active:r,setOpen:i}),(0,s.jsx)(a.A,{className:"top-nav-height bg-primary",isVisible:r,children:t})]})}},82601:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var s=r(7893),n=r(28081),a=r(85126),o=r(8295),l=r(95745);let i=(0,o.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:c=!1,...d}=e,u=c?a.DX:"button";return(0,s.jsx)(u,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...d})});c.displayName="Button"},86373:(e,t,r)=>{"use strict";r.d(t,{GL:()=>c,ww:()=>i,YE:()=>d,default:()=>u});var s=r(7893),n=r(28081);r(3317);var a=r(76089);r(82637);let o={userRequiresCookieConsent:function(){return!1}};var l=r(35865);let i=(0,n.createContext)(null),c="experience",d="yt_embeds";function u(e){let{children:t}=e,[r,u]=(0,n.useState)(!0),[f,h]=(0,n.useState)(!1),p=(0,l.c)("CookieConsent");function m(){h(a.tj(d,c))}return(0,n.useEffect)(()=>{let e=o.userRequiresCookieConsent();u(e),e&&a.eF({revision:1,guiOptions:{consentModal:{layout:"box inline"}},onFirstConsent:()=>{m()},onChange:()=>{m()},categories:{necessary:{enabled:!0,readOnly:!0},[c]:{services:{[d]:{label:p("sections.experience.services.embeds"),onAccept:()=>h(!0),onReject:()=>h(!1)}}}},language:{default:"en",translations:{en:{consentModal:{title:p("popup.title"),description:p("popup.description"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),showPreferencesBtn:p("popup.show_preferences")},preferencesModal:{title:p("modal.title"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),savePreferencesBtn:p("modal.save"),closeIconLabel:p("modal.close"),sections:[{title:p("sections.summary.title"),description:p("sections.summary.description")},{title:p("sections.necessary.title"),description:p("sections.necessary.description"),linkedCategory:"necessary"},{title:p("sections.experience.title"),description:p("sections.experience.description"),linkedCategory:"experience"},{title:p("sections.more_info.title"),description:p.raw("sections.more_info.description")}]}}}}})},[]),(0,s.jsx)(i.Provider,{value:{enableCookieManagement:r,hasConsentToEmbeddedVideos:f},children:t})}},87257:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(7893),n=r(28081),a=r(59333),o=r(95745);function l(e){let{src:t,alt:r,width:l,height:i,fbWidth:c,fbHeight:d,className:u,title:f,strokeWidth:h=1,fixedSize:p,wrapper:m,fbIcon:x=a.A,fallback:v=(0,s.jsx)(x,{strokeWidth:h,className:(0,o.cn)(u,"text-secondary opacity-20"),width:c||l||32,height:d||i||32}),...y}=e,[g,b]=(0,n.useState)(!1);return(0,s.jsxs)("span",{title:f,style:p?{width:"".concat(l,"px"),height:"".concat(i,"px")}:void 0,...m,className:(0,o.cn)("shrink-0 overflow-hidden",null==m?void 0:m.className),children:[t&&!g&&(0,s.jsx)("img",{src:t,alt:r||"",width:l,height:i,className:u,onError:()=>b(!0),...y}),(!t||g)&&v]})}},88523:()=>{},92434:(e,t,r)=>{"use strict";r.d(t,{default:()=>A});var s=r(7893),n=r(35865),a=r(90648),o=r(43160),l=r(74994),i=r(72053),c=r(36999),d=r(3072),u=r(82601),f=r(28081),h=r(87257),p=r(47570),m=r(61341),x=r(41574),v=r(37040),y=r(27849),g=r(71678),b=r(95745),j=r(16715);function w(e){var t;let{result:r}=e,o=(0,n.c)("ProjectTypes"),l=(0,n.c)("SearchResultType");return(0,s.jsxs)(v.k,{href:r.href,className:"z-50 flex cursor-pointer flex-row gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-primary",children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(h.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:a.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:(0,s.jsx)("span",{className:"text-secondary",children:o(r.project_type)})}):(0,s.jsx)("div",{className:"flex flex-col gap-1",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(j.A,{variant:r.entry_type,children:l(r.entry_type)})})]})}function N(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:[(0,s.jsx)(o.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function _(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:e("no_results")})}function S(e){let{locale:t,isOpen:r,setOpen:a}=e,o=(0,n.c)("DocsSearchBar"),d=(0,f.useRef)(null),[u,h]=(0,f.useState)(""),[x,v]=(0,f.useState)(null),[j,S]=(0,f.useState)(!1),{project:A}=(0,f.useContext)(g.o),[E,C]=(0,f.useState)(null!=A);(0,f.useEffect)(()=>{h(""),v(null),S(!1)},[r]);let k=(0,p.YQ)(async e=>{let r=!0;setTimeout(()=>{u&&r&&S(!0)},500),v(await y.A.searchWiki(e,t,E&&A?A.id:null)),r=!1,S(!1)},200);(0,f.useEffect)(()=>{C(null!=A)},[A]),(0,f.useEffect)(()=>{u.length>0&&k(u),k.flush()},[E]);let B=E?l.A:i.A;return(0,s.jsx)(m.A,{nodeRef:d,in:r,timeout:200,classNames:"fade",unmountOnExit:!0,children:(0,s.jsx)("div",{ref:d,className:"fixed top-0 right-0 bottom-0 left-0 z-50 h-[100vh] w-full overflow-hidden bg-primary",children:(0,s.jsxs)("div",{className:"innerFadeContainer flex flex-col gap-4 p-4",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{onClick:()=>a(!1),children:(0,s.jsx)(c.A,{className:"absolute top-1/2 left-2 h-5 w-5 -translate-y-1/2 text-secondary"})}),A&&(0,s.jsxs)("button",{className:(0,b.cn)("inset absolute top-1/2 right-2 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1.5 py-1"),onClick:()=>C(!E),children:[(0,s.jsx)(B,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:o("scope.".concat(E?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:u,onChange:e=>(e=>{if(h(e),!e||0===e.length){v(null),S(!1);return}return k(e)})(e.target.value),className:"w-full cursor-pointer rounded-xs border border-neutral-700 bg-primary-alt p-2 px-8 text-center text-sm text-ellipsis placeholder:text-neutral-500 focus:cursor-text focus:outline-1 focus:outline-secondary",placeholder:o("placeholder"),autoFocus:!0})]}),j&&(0,s.jsx)(N,{}),!j&&x&&(x.hits.length>0?(0,s.jsxs)("div",{className:"slim-scrollbar flex h-[90vh] flex-col gap-2 overflow-y-auto",children:[...x.hits.map(e=>(0,s.jsx)(w,{result:e},e.id))]}):(0,s.jsx)(_,{}))]})})})}function A(e){let{locale:t}=e,[r,n]=(0,f.useState)(!1),a=(0,x.usePathname)();return(0,f.useEffect)(()=>{n(!1)},[a]),(0,f.useEffect)(()=>{r?document.querySelectorAll("html, body").forEach(e=>e.classList.add("navScrollLock")):document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},[r]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(u.$,{variant:"ghost",size:"icon",onClick:()=>n(!r),children:(0,s.jsx)(d.A,{className:"h-4 w-4 text-[var(--vp-c-text-1)]"})}),(0,s.jsx)(S,{isOpen:r,setOpen:n,locale:t})]})}},95054:(e,t,r)=>{"use strict";r.d(t,{M$:()=>i,MZ:()=>n,cT:()=>l,gZ:()=>o,sw:()=>a});var s=r(2938);function n(e,t){var r;return null!=(r=l(t.id))?r:null!=t.page_ref?a(t.page_ref,e):null}function a(e,t){let r="slug"in t?t.slug:t.id;return"/".concat(t.locale,"/project/").concat(r,"/").concat(t.version,"/content/").concat(e)}function o(e,t){return"/".concat(e,"/project/").concat(t,"/latest")}function l(e){let t=s.A.parse(e);return(null==t?void 0:t.namespace)===s.o&&e.startsWith(s.o+":")?"https://minecraft.wiki/w/".concat(t.path):null}function i(e,t){return"/".concat(t.locale,"/project/").concat(t.id,"/").concat(t.version,"/docs/").concat(e)}},95745:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(3135),n=r(96915);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,s.$)(t))}}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,7671,4874,8287,595,7411,9029,7358],()=>e(e.s=25782)),_N_E=e.O()}]);
|