1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,487717,e=>{"use strict";var t=e.i(271645);let n=(e,t)=>!("u"<typeof Element)&&t instanceof Element&&t.tagName.toUpperCase()===e,r=e=>n("DIV",e)||n("SPAN",e),i=e=>e.complete&&0!==e.naturalHeight,s=({height:e,offset:t,width:n})=>Math.min((window.innerWidth-2*t)/n,(window.innerHeight-2*t)/e),a=({containerHeight:e,containerWidth:t,hasScalableSrc:n,offset:r,targetHeight:i,targetWidth:a})=>0===e||0===t?1:n||0===i||0===a?s({height:e,offset:r,width:t}):(({containerHeight:e,containerWidth:t,offset:n,targetHeight:r,targetWidth:i})=>{let a=s({height:r,offset:n,width:i}),o=i>r?i/t:r/e;return a>1?o:a*o})({containerHeight:e,containerWidth:t,offset:r,targetHeight:i,targetWidth:a}),o=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,l=e=>{if(null!==e){if(n("IMG",e))return""===e.currentSrc?void 0:e.currentSrc;else if(r(e)){let{backgroundImage:t}=window.getComputedStyle(e);if(""!==t)return o.exec(t)?.[1]}}},c=({position:e,relativeNum:t})=>{let n=parseFloat(e);return e.endsWith("%")?t*n/100:n},d=/\.svg$/i,u=e=>{if(null==e)return{};if(!n("SVG",e))return{height:e.offsetHeight,left:e.offsetLeft,width:e.offsetWidth,top:e.offsetTop};{let{parentElement:t}=e,n=e.getBoundingClientRect();if(null==t)return{height:n.height,left:n.left,width:n.width,top:n.top};{let e=t.getBoundingClientRect();return{height:n.height,left:e.left-n.left,top:e.top-n.top,width:n.width}}}};var h=t,m=e.i(174080);let f=["img","svg",'[role="img"]',"[data-zoom]"].map(e=>`${e}:not([aria-hidden="true"])`).join(","),p={overflow:"",width:""};function g(e){e.preventDefault()}function x(e){return h.default.createElement(v,{...e})}var v=class extends h.default.Component{constructor(){super(...arguments),this.state={id:"",isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:"UNLOADED",shouldRefresh:!1,styleGhost:{}},this.refContent=h.default.createRef(),this.refDialog=h.default.createRef(),this.refModalContent=h.default.createRef(),this.refModalImg=h.default.createRef(),this.refWrap=h.default.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=p,this.styleModalImg={},this.handleModalStateChange=e=>{let{state:{modalState:t}}=this;"LOADING"!==e&&"LOADING"===t?(this.loadZoomImg(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),window.addEventListener("touchmove",this.handleTouchMove,{passive:!0}),window.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),window.addEventListener("touchcancel",this.handleTouchCancel,{passive:!0}),document.addEventListener("keydown",this.handleKeyDown,!0)):"LOADED"!==e&&"LOADED"===t?window.addEventListener("wheel",this.handleWheel,{passive:!0}):"UNLOADING"!==e&&"UNLOADING"===t?(this.ensureImgTransitionEnd(),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),document.removeEventListener("keydown",this.handleKeyDown,!0)):"UNLOADED"!==e&&"UNLOADED"===t&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refModalImg.current?.removeEventListener("transitionend",this.handleImgTransitionEnd),this.refDialog.current?.close())},this.setId=()=>{let e=()=>Math.random().toString(16).slice(-4);this.setState({id:e()+e()+e()})},this.setAndTrackImg=()=>{let{refContent:{current:e}}=this;null!=e&&(this.imgEl=e.querySelector(f),null!==this.imgEl?(this.contentNotFoundChangeObserver?.disconnect(),this.imgEl.addEventListener("load",this.handleImgLoad),this.imgEl.addEventListener("click",this.handleZoom),null==this.state.loadedImgEl&&this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(e=>{let[t]=e;t?.target!==void 0&&(this.imgEl=t.target,this.setState({styleGhost:u(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),null==this.contentChangeObserver&&(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:u(this.imgEl)})}),this.contentChangeObserver.observe(e,{attributes:!0,childList:!0,subtree:!0}))):null==this.contentNotFoundChangeObserver&&(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(e,{childList:!0,subtree:!0})))},this.handleIfZoomChanged=e=>{let{props:{isZoomed:t}}=this;!e&&t?this.zoom():e&&!t&&this.unzoom()},this.handleImgLoad=()=>{let e=l(this.imgEl);
1if(null==e||""===e)return;let t=new Image,{imgEl:r}=this;if(n("IMG",r)){let{sizes:e,srcset:n,crossOrigin:i}=r;t.sizes=e,t.srcset=n,t.crossOrigin=i}t.src=e;let s=()=>{this.setState({loadedImgEl:t,styleGhost:u(this.imgEl)})};t.decode().then(s).catch(()=>{i(t)?s():t.onload=s})},this.handleZoom=e=>{!0!==this.props.isDisabled&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:e})},this.handleUnzoom=e=>{!0!==this.props.isDisabled&&this.props.onZoomChange?.(!1,{event:e})},this.handleBtnUnzoomClick=e=>{e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e)},this.handleDialogClick=e=>{(e.target===this.refModalContent.current||e.target===this.refModalImg.current)&&(e.stopPropagation(),this.handleUnzoom(e))},this.handleDialogClose=e=>{e.stopPropagation(),this.handleUnzoom(e)},this.handleKeyDown=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e))},this.handleWheel=e=>{e.ctrlKey||(e.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(e)}))},this.handleTouchStart=e=>{if(e.touches.length>1){this.isScaling=!0;return}let{changedTouches:t}=e,[n]=t;if(1===t.length&&void 0!==n){let{screenY:e}=n;this.touchYStart=e}},this.handleTouchMove=e=>{let t=window.visualViewport?.scale??1,{changedTouches:n}=e,[r]=n;if(this.props.canSwipeToUnzoom&&!this.isScaling&&t<=1&&null!=this.touchYStart&&void 0!==r){let{screenY:t}=r;this.touchYEnd=t,Math.abs(Math.max(this.touchYStart,this.touchYEnd)-Math.min(this.touchYStart,this.touchYEnd))>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(e))}},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>null!==this.imgEl&&(void 0!==this.state.loadedImgEl||n("SVG",this.imgEl))&&"none"!==window.getComputedStyle(this.imgEl).display,this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal(),this.refModalImg.current?.addEventListener("transitionend",this.handleImgTransitionEnd),this.setState({modalState:"LOADING"})},this.unzoom=()=>{this.setState({modalState:"UNLOADING"})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),"LOADING"===this.state.modalState?this.setState({modalState:"LOADED"}):"UNLOADING"===this.state.modalState&&this.setState({shouldRefresh:!1,modalState:"UNLOADED"})},this.ensureImgTransitionEnd=()=>
1{if(null!==this.refModalImg.current){let{transitionDuration:e}=window.getComputedStyle(this.refModalImg.current),t=parseFloat(e);if(0!==t&&!Number.isNaN(t)){let n=t*(e.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,n)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};let{body:{clientWidth:e}}=document;document.body.style.overflow="hidden",document.body.style.width=`${e}px`},this.bodyScrollEnable=()=>{let{prevBodyAttrs:{overflow:e,width:t}}=this;document.body.style.width=t,document.body.style.overflow=e,this.prevBodyAttrs=p},this.loadZoomImg=()=>{let{props:{zoomImg:e}}=this;if(null==e)return;let{src:t}=e;if(void 0!==t&&""!==t){let n=new Image;n.sizes=e.sizes??"",n.srcset=e.srcSet??"",n.crossOrigin=e.crossOrigin??void 0,n.src=t;let r=()=>{this.setState({isZoomImgLoaded:!0})};n.decode().then(r).catch(()=>{i(n)?r():n.onload=r})}},this.UNSAFE_handleSvg=()=>{let{imgEl:e,refModalImg:t,styleModalImg:r}=this;if(n("SVG",e)){let n=e.cloneNode(!0);(e=>{let t="-zoom",n=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],r=new Map;if(e.hasAttribute("id")){let{id:n}=e,i=n+t;r.set(n,i),e.id=i}e.querySelectorAll("[id]").forEach(e=>{let{id:n}=e,i=n+t;r.set(n,i),e.id=i}),r.forEach((t,r)=>{let i=`url(#${r})`,s=`url(#${t})`,a=n.map(e=>`[${e}="${i}"]`).join(", ");e.querySelectorAll(a).forEach(e=>{n.forEach(t=>{e.getAttribute(t)===i&&e.setAttribute(t,s)})})}),e.querySelectorAll("style").forEach(e=>{r.forEach((t,n)=>{let{textContent:r}=e;""!==r&&(e.textContent=r.replaceAll(`#${n}`,`#${t}`))})})})(n),n.style.width=`${r.width??0}px`,n.style.height=`${r.height??0}px`,n.addEventListener("click",this.handleUnzoom),t.current?.firstChild?.remove(),t.current?.appendChild(n)}}}render(){let{handleBtnUnzoomClick:e,handleDialogClick:t,handleDialogClose:i,handleUnzoom:s,handleZoom:o,imgEl:u,props:{a11yNameButtonUnzoom:f,a11yNameButtonZoom:p,children:x,classDialog:v,IconUnzoom:b,IconZoom:w,isZoomed:y,wrapElement:j,ZoomContent:N,zoomImg:C,zoomMargin:E},refContent:L,refDialog:k,refModalContent:I,refModalImg:S,refWrap:z,state:{id:A,isZoomImgLoaded:O,loadedImgEl:T,modalState:D,shouldRefresh:M,styleGhost:$}}=this,P=`rmiz-modal-${A}`,U=`rmiz-modal-img-${A}`,R=r(u),B=n("IMG",u),F=n("SVG",u),H=(e=>{if(null!==e)if(n("IMG",e))return e.alt;else return e.getAttribute("aria-label")??void 0})(u),W=l(u),G=B?u.sizes:void 0,Z=B?u.srcset:void 0,_=B?u.crossOrigin:void 0,Y=C?.src!==void 0&&""!==C.src,V=this.hasImage(),q=void 0!==H&&""!==H?`${p}: ${H}`:p,J="LOADING"===D||"LOADED"===D,K=V?"found":"not-found",X="UNLOADED"===D||"UNLOADING"===D?"hidden":"visible";this.styleModalImg=V&&null!==u?(({hasZoomImg:e,imgSrc:t,isSvg:n,isZoomed:i,loadedImgEl:s,offset:o,shouldRefresh:l,targetEl:u})=>{let h=n||t?.slice(0,18)==="data:image/svg+xml"||e||void 0!==t&&d.test(t),m=u.getBoundingClientRect(),f=window.getComputedStyle(u),p=null!=s&&r(u),g=null!=s&&!p,x=null!=s&&0!==s.naturalHeight?s.naturalHeight:m.height,v=null!=s&&0!==s.naturalWidth?s.naturalWidth:m.width,b=(({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,offset:s,targetHeight:o,targetWidth:l})=>{let c=a({containerHeight:e,containerWidth:r,hasScalableSrc:i,offset:s,targetHeight:o,targetWidth:l});return{top:n,left:t,width:r*c,height:e*c,transform:`translate(0,0) scale(${1/c})`}})({containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:h,offset:o,targetHeight:x,targetWidth:v}),w=g?(({containerHeight:e,containerLeft:t,containerTop:n,containerWidth:r,hasScalableSrc:i,objectFit:s,objectPosition:o,offset:l,targetHeight:d,targetWidth:u})=>{let h=s;if("scale-down"===h&&(h=u<=r&&d<=e?"none":"contain"),"cover"===h||"contain"===h){let s=r/u,m=e/d,f="cover"===h?Math.max(s,m):Math.min(s,m),[p="50%",g="50%"]=o.split(" "),x=c({position:p,relativeNum:r-u*f}),v=c({position:g,relativeNum:e-d*f}),b=a({containerHeight:d*f,containerWidth:u*f,hasScalableSrc:i,offset:l,targetHeight:d,targetWidth:u});return{top:n+v,left:t+x,width:u*f*b,height:d*f*b,transform:`translate(0,0) scale(${1/b})`}}if("none"===h){let[s="50%",h="50%"]=o.split(" "),m=c({position:s,relativeNum:r-u}),f=c({position:h,relativeNum:e-d}),p=a({containerHeight:d,containerWidth:u,hasScalableSrc:i,offset:l,targetHeight:d,targetWidth:u});return{top:n+f,left:t+m,width:u*p,height:d*p,transform:`translate(0,0) scale(${1/p})`}}if("fill"!==h)return{};{let t=Math.max(r/u,e/d),n=a({containerHeight:d*t,containerWidth:u*t,hasScalableSrc:i,offset:l,targetHeight:d,targetWidth:u});return{width:r*n,height:e*n,transform:`translate(0,0) scale(${1/n})`}}})({containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:h,objectFit:f.objectFit,objectPosition:f.objectPosition,offset:o,targetHeight:x,targetWidth:v}):void 0,y=p?(({backgroundPosition:e,backgroundSize:t,containerHeight:n,
1containerLeft:r,containerTop:i,containerWidth:s,hasScalableSrc:o,offset:l,targetHeight:d,targetWidth:u})=>{if("cover"===t||"contain"===t){let h=s/u,m=n/d,f="cover"===t?Math.max(h,m):Math.min(h,m),[p="50%",g="50%"]=e.split(" "),x=c({position:p,relativeNum:s-u*f}),v=c({position:g,relativeNum:n-d*f}),b=a({containerHeight:d*f,containerWidth:u*f,hasScalableSrc:o,offset:l,targetHeight:d,targetWidth:u});return{top:i+v,left:r+x,width:u*f*b,height:d*f*b,transform:`translate(0,0) scale(${1/b})`}}if("auto"===t){let[t="50%",h="50%"]=e.split(" "),m=c({position:t,relativeNum:s-u}),f=c({position:h,relativeNum:n-d}),p=a({containerHeight:d,containerWidth:u,hasScalableSrc:o,offset:l,targetHeight:d,targetWidth:u});return{top:i+f,left:r+m,width:u*p,height:d*p,transform:`translate(0,0) scale(${1/p})`}}{let[h="50%",m="50%"]=t.split(" "),f=Math.min(c({position:h,relativeNum:s})/u,c({position:m,relativeNum:n})/d),[p="50%",g="50%"]=e.split(" "),x=c({position:p,relativeNum:s-u*f}),v=c({position:g,relativeNum:n-d*f}),b=a({containerHeight:d*f,containerWidth:u*f,hasScalableSrc:o,offset:l,targetHeight:d,targetWidth:u});return{top:i+v,left:r+x,width:u*f*b,height:d*f*b,transform:`translate(0,0) scale(${1/b})`}}})({backgroundPosition:f.backgroundPosition,backgroundSize:f.backgroundSize,containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:h,offset:o,targetHeight:x,targetWidth:v}):void 0,j={...b,...w,...y};if(i){let e=window.innerWidth/2,t=window.innerHeight/2,n=parseFloat(String(j.left??0))+parseFloat(String(j.width??0))/2,r=parseFloat(String(j.top??0))+parseFloat(String(j.height??0))/2;l&&(j.transitionDuration="0.01ms"),j.transform=`translate(${e-n}px,${t-r}px) scale(1)`}return j}
1)({hasZoomImg:Y,imgSrc:W,isSvg:F,isZoomed:y&&J,loadedImgEl:T,offset:E,shouldRefresh:M,targetEl:u}):{};let Q=null;if(V){let t=B||R?h.default.createElement("img",{alt:H,crossOrigin:_,sizes:G,src:W,srcSet:Z,...O&&"LOADED"===D?C:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height??void 0,id:U,ref:S,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):F?h.default.createElement("div",{"data-rmiz-modal-img":!0,ref:S,style:this.styleModalImg}):null,n=h.default.createElement("button",{"aria-label":f,"data-rmiz-btn-unzoom":"",onClick:e,type:"button"},h.default.createElement(b,null));Q=null==N?h.default.createElement(h.default.Fragment,null,t,n):h.default.createElement(N,{buttonUnzoom:n,modalState:D,img:t,isZoomImgLoaded:O,onUnzoom:s})}return h.default.createElement(j,{"aria-owns":P,"data-rmiz":"",ref:z},h.default.createElement(j,{"data-rmiz-content":K,ref:L,style:{visibility:"UNLOADED"===D?"visible":"hidden"}},x),V&&h.default.createElement(j,{"data-rmiz-ghost":"",style:$},h.default.createElement("button",{"aria-label":q,"data-rmiz-btn-zoom":"",onClick:o,type:"button"},h.default.createElement(w,null))),V&&m.default.createPortal(h.default.createElement("dialog",{"aria-labelledby":U,"aria-modal":"true",className:v,"data-rmiz-modal":"",id:P,onClick:t,onClose:i,onCancel:g,ref:k,role:"dialog"},h.default.createElement("div",{"data-rmiz-modal-overlay":X}),h.default.createElement("div",{"data-rmiz-modal-content":"",ref:I},Q)),function(){let e=document.querySelector("[data-rmiz-portal]");if(null!=e)return e;let t=document.createElement("div");return t.setAttribute("data-rmiz-portal",""),document.body.appendChild(t),t}()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){"UNLOADED"!==this.state.modalState&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect(),this.contentNotFoundChangeObserver?.disconnect(),this.imgElResizeObserver?.disconnect(),this.imgEl?.removeEventListener("load",this.handleImgLoad),this.imgEl?.removeEventListener("click",this.handleZoom),this.refModalImg.current?.removeEventListener("transitionend",this.handleImgTransitionEnd),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),window.removeEventListener("resize",this.handleResize),document.removeEventListener("keydown",this.handleKeyDown,!0)}componentDidUpdate(e,t){this.handleModalStateChange(t.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(e.isZoomed)}};function b({onZoomChange:e,...n}){let[r,i]=t.default.useState(!1),s=t.default.useCallback((t,{event:n})=>{i(t),e?.(t,{event:n})},[e]);return t.default.createElement(x,{...n,isZoomed:r,onZoomChange:s})}v.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:function(){return t.default.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-unzoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t.default.createElement("path",{d:"M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z"}))},IconZoom:function(){return t.default.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-zoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},t.default.createElement("path",{d:"M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z"}))},isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0};var w=e.i(224110),y=e.i(843476);e.s(["ImageZoom",0,function({zoomInProps:e,children:t,rmiz:n,...r}){var i;return(0,y.jsx)(b,{zoomMargin:20,wrapElement:"span",...n,zoomImg:{src:"string"==typeof(i=r.src)?i:"object"==typeof i?"default"in i?i.default.src:i.src:"",sizes:void 0,...e},children:t??(0,y.jsx)(w.Image,{sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 900px",...r})})}],487717)},737877,e=>{"use strict";var t=e.i(271645);e.s(["useCopyButton",0,function(e){let[n,r]=(0,t.useState)(!1),i=(0,t.useRef)(e),s=(0,t.useRef)(null);i.current=e;let a=(0,t.useCallback)(()=>{s.current&&window.clearTimeout(s.current),Promise.resolve(i.current()).then(()=>{r(!0),s.current=window.setTimeout(()=>{r(!1)},1500)})},[]);return(0,t.useEffect)(()=>()=>{s.current&&window.clearTimeout(s.current)},[]),[n,a]}])},144324,e=>{"use strict";var t=e.i(974030),n=e.i(737877),r=e.i(713548),i=e.i(14804),s=e.i(825153),a=e.i(271645),o=e.i(843476),l=e.i(643531);
1let c=(0,e.i(475254).default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]),d=(0,a.createContext)(null);function u({className:e,containerRef:i,...s}){let[a,d]=(0,n.useCopyButton)(()=>{let e=i.current?.getElementsByTagName("pre").item(0);if(!e)return;let t=e.cloneNode(!0);t.querySelectorAll(".nd-copy-ignore").forEach(e=>{e.replaceWith("\n")}),navigator.clipboard.writeText(t.textContent??"")});return(0,o.jsx)("button",{type:"button","data-checked":a||void 0,className:(0,t.cn)((0,r.buttonVariants)({className:"hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground",size:"icon-xs"}),e),"aria-label":a?"Copied Text":"Copy Text",onClick:d,...s,children:a?(0,o.jsx)(l.Check,{}):(0,o.jsx)(c,{})})}e.s(["CodeBlock",0,function({ref:e,title:n,allowCopy:r=!0,keepBackground:i=!1,icon:s,viewportProps:l={},children:c,Actions:h=e=>(0,o.jsx)("div",{...e,className:(0,t.cn)("empty:hidden",e.className)}),...m}){let f=null!==(0,a.use)(d),p=(0,a.useRef)(null);return(0,o.jsxs)("figure",{ref:e,dir:"ltr",...m,tabIndex:-1,className:(0,t.cn)(f?"bg-fd-secondary -mx-px -mb-px last:rounded-b-xl":"my-4 bg-fd-card rounded-xl",i&&"bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)","shiki relative border shadow-sm not-prose overflow-hidden text-sm",m.className),children:[n?(0,o.jsxs)("div",{className:"flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4",children:["string"==typeof s?(0,o.jsx)("div",{className:"[&_svg]:size-3.5",dangerouslySetInnerHTML:{__html:s}}):s,(0,o.jsx)("figcaption",{className:"flex-1 truncate",children:n}),h({className:"-me-2",children:r&&(0,o.jsx)(u,{containerRef:p})})]}):h({className:"absolute top-3 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground",children:r&&(0,o.jsx)(u,{containerRef:p})}),(0,o.jsx)("div",{ref:p,...l,role:"region",tabIndex:0,className:(0,t.cn)("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring",l.className),style:{"--padding-right":n?void 0:"calc(var(--spacing) * 8)",counterSet:m["data-line-numbers"]?`line ${Number(m["data-line-numbers-start"]??1)-1}`:void 0,...l.style},children:c})]})},"CodeBlockTab",0,function(e){return(0,o.jsx)(s.TabsContent,{...e})},"CodeBlockTabs",0,function({ref:e,...n}){let r=(0,a.useRef)(null),l=null!==(0,a.use)(d);return(0,o.jsx)(s.Tabs,{ref:(0,i.mergeRefs)(r,e),...n,className:(0,t.cn)("bg-fd-card rounded-xl border",!l&&"my-4",n.className),children:(0,o.jsx)(d,{value:(0,a.useMemo)(()=>({containerRef:r,nested:l}),[l]),children:n.children})})},"CodeBlockTabsList",0,function(e){return(0,o.jsx)(s.TabsList,{...e,className:(0,t.cn)("flex flex-row px-2 overflow-x-auto text-fd-muted-foreground",e.className),children:e.children})},"CodeBlockTabsTrigger",0,function({children:e,...n}){return(0,o.jsxs)(s.TabsTrigger,{...n,className:(0,t.cn)("relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 hover:text-fd-accent-foreground data-[state=active]:text-fd-primary [&_svg]:size-3.5",n.className),children:[(0,o.jsx)("div",{className:"absolute inset-x-2 bottom-0 h-px group-data-[state=active]:bg-fd-primary"}),e]})},"Pre",0,function(e){return(0,o.jsx)("pre",{...e,className:(0,t.cn)("min-w-full w-max *:flex *:flex-col",e.className),children:e.children})}],144324)},353266,e=>{"use strict";var t=e.i(974030),n=e.i(214072),r=e.i(874072);e.i(187302),e.i(411150);var i=e.i(713548),s=e.i(14804),a=e.i(281878);e.i(253754);var o=e.i(670956),l=e.i(183374),c=e.i(283978),d=e.i(271645),u=e.i(224110),h=e.i(843476),m=e.i(647873),f=e.i(643531),p=e.i(664659);e.i(344523),e.i(763639),e.i(575138);let g=(0,e.i(225913).cva)("relative flex flex-row items-center gap-2 rounded-lg p-2 text-start text-fd-muted-foreground wrap-anywhere [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{link:"transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none data-[active=true]:bg-fd-primary/10 data-[active=true]:text-fd-primary data-[active=true]:hover:transition-colors",button:"transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground
1/80 hover:transition-none"},highlight:{true:"data-[active=true]:before:content-[''] data-[active=true]:before:bg-fd-primary data-[active=true]:before:absolute data-[active=true]:before:w-px data-[active=true]:before:inset-y-2.5 data-[active=true]:before:inset-s-2.5"}}}),{useSidebar:x}=o.base_exports;function v(e){return(0,h.jsx)(o.SidebarFolder,{...e})}function b({className:e,style:n,children:r,...i}){let s=(0,o.useFolderDepth)();return(0,h.jsx)(o.SidebarItem,{className:(0,t.cn)(g({variant:"link",highlight:s>=1}),e),style:{paddingInlineStart:N(s),...n},...i,children:r})}function w({className:e,style:n,...r}){let{depth:i,collapsible:s}=(0,o.useFolder)();return(0,h.jsx)(o.SidebarFolderTrigger,{className:(0,t.cn)(g({variant:s?"button":null}),"w-full",e),style:{paddingInlineStart:N(i-1),...n},...r,children:r.children})}function y({className:e,style:n,...r}){let i=(0,o.useFolderDepth)();return(0,h.jsx)(o.SidebarFolderLink,{className:(0,t.cn)(g({variant:"link",highlight:i>1}),"w-full",e),style:{paddingInlineStart:N(i-1),...n},...r,children:r.children})}function j({className:e,children:n,...r}){return(0,h.jsx)(o.SidebarFolderContent,{className:(0,t.cn)("relative",1===(0,o.useFolderDepth)()&&"before:content-[''] before:absolute before:w-px before:inset-y-1 before:bg-fd-border before:inset-s-2.5",e),...r,children:(0,h.jsx)("div",{className:"flex flex-col gap-0.5 pt-0.5",children:n})})}function N(e){return`calc(${2+3*e} * var(--spacing))`}(0,l.createPageTreeRenderer)({SidebarFolder:v,SidebarFolderContent:j,SidebarFolderLink:y,SidebarFolderTrigger:w,SidebarItem:b,SidebarSeparator:function({className:e,style:n,children:r,...i}){let s=(0,o.useFolderDepth)();return(0,h.jsx)(o.SidebarSeparator,{className:(0,t.cn)("inline-flex items-center gap-2 mb-1 px-2 mt-6 empty:mb-0 [&_svg]:size-4 [&_svg]:shrink-0",0===s&&"first:mt-0",e),style:{paddingInlineStart:N(s),...n},...i,children:r})}}),(0,c.createLinkItemRenderer)({SidebarFolder:v,SidebarFolderContent:j,SidebarFolderLink:y,SidebarFolderTrigger:w,SidebarItem:b});let{useProvider:C}=(0,r.baseSlots)({useProps:()=>L().props}),E=(0,d.createContext)(null);function L(){let e=(0,d.use)(E);if(!e)throw Error("Please use <DocsPage /> (`fumadocs-ui/layouts/docs/page`) under <DocsLayout /> (`fumadocs-ui/layouts/docs`).");return e}var k=e.i(463059),I=e.i(557886);function S({includeRoot:e,includeSeparator:r,includePage:i,...s}){let a=(0,n.useTreePath)(),{root:o}=(0,n.useTreeContext)(),l=(0,d.useMemo)(()=>(0,I.getBreadcrumbItemsFromPath)(o,a,{includePage:i,includeSeparator:r,includeRoot:e}),[i,e,r,a,o]);return 0===l.length?null:(0,h.jsx)("div",{...s,className:(0,t.cn)("flex items-center gap-1.5 text-sm text-fd-muted-foreground",s.className),children:l.map((e,n)=>{let r=(0,t.cn)("truncate",n===l.length-1&&"text-fd-primary font-medium");return(0,h.jsxs)(d.Fragment,{children:[0!==n&&(0,h.jsx)(k.ChevronRight,{className:"size-3.5 shrink-0"}),e.url?(0,h.jsx)(m.default,{href:e.url,className:(0,t.cn)(r,"transition-opacity hover:opacity-80"),children:e.name}):(0,h.jsx)("span",{className:r,children:e.name})]},n)})})}var z=e.i(730942),A=e.i(309864),O=e.i(191909);let T=(0,d.createContext)(null),D=(0,d.createContext)(null);function M({ref:e,onActiveChange:t=()=>null,...n}){let r=n.href?P(n.href):null,i=$(),s=r?i.find(e=>e.id===r):null,a=(0,d.use)(D),o=(0,d.useRef)(!0),l=(0,d.useRef)(null),[c,u]=(0,d.useState)(()=>null!=s&&s.active);s&&s.active!==c&&(u(s.active),t(s.active));let m=s?.active&&i.every(e=>!e.active||e.t<=s.t);return(0,d.useEffect)(()=>{let e=l.current,t=a?.current;m&&t&&e&&(0,O.default)(e,{behavior:o.current?"instant":"smooth",block:"center",inline:"center",scrollMode:"always",boundary:t}),o.current=!1},[m,a]),(0,h.jsx)("a",{ref:function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}(l,e),"data-active":c,...n})}function $(){let e=(0,d.use)(T);if(!e)throw Error("Component must be used under the <AnchorProvider /> component.");return e}function P(e){return e.startsWith("#")?e.slice(1):null}var U=class{constructor(){this.items=[],this.single=!1,this.observer=null}callback(e){if(0===e.length)return;let t=!1;if(this.items=this.items.map(n=>{let r=e.find(e=>e.target.id===n.id),i=r?r.isIntersecting:n.active&&!n.fallback;return this.single&&t&&(i=!1),n.active!==i&&(n={...n,t:Date.now(),active:i,fallback:!1}),i&&(t=!0),n}),!t&&e[0].rootBounds){let t=e[0].rootBounds.top,n=Number.MAX_VALUE,r=-1;for(let e=0;e<this.items.length;e++){let i=document.getElementById(this.items[e].id);if(!i)continue;let s=Math.abs(t-i.getBoundingClientRect().top);s<n&&(r=e,n=s)}-1!==r&&(this.items[r]={...this.items[r],active:!0,fallback:!0,t:Date.now()})}this.onChange?.()}setItems(e){let t=this.observer;if(t)for(let e of this.items){let n=document.getElementById(e.id);n&&t.unobserve(n)}for(let t of(this.items=[],e)){let e=P(t.url);e&&this.items.push({id:e,active:!1,fallback:!1,t:0,original:t})}this.watchItems()}watch(e){this.observer||(this.observer=new IntersectionObserver(this.callback.bind(this),e),this.watchItems())}watchItems(){if(this.observer)for(let e of this.items){let t=document.getElementById(e.id);t&&this.observer.observe(t)}}unwatch(){this.observer?.disconnect(),this.observer=null}};e.s(["AnchorProvider",0,function({toc:e,single:t=!1,children:n}){let r=(0,d.useMemo)(()=>new U,[]),[i,s]=(0,d.useState)(r.items);return r.single=t,(0,d.useEffect)(()=>{r.setItems(e)},[r,e]),(0,d.useEffect)(()=>
1(r.watch({rootMargin:"0px",threshold:.98}),r.onChange=()=>s(r.items),()=>{r.unwatch()}),[r]),(0,h.jsx)(T,{value:i,children:n})},"ScrollProvider",0,function({containerRef:e,children:t}){return(0,h.jsx)(D,{value:e,children:t})},"TOCItem",0,M,"useActiveAnchor",0,function(){let e=$();return(0,d.useMemo)(()=>{let t;for(let n of e)n.active&&(!t||n.t>t.t)&&(t=n);return t?.id},[e])},"useActiveAnchors",0,function(){let e=$();return(0,d.useMemo)(()=>{let t=[];for(let n of e)n.active&&t.push(n.id);return t},[e])},"useItems",0,$],64588);var R=e.i(64588);let B=(0,d.createContext)([]);function F(){return(0,d.use)(B)}let{useActiveAnchor:H,useActiveAnchors:W,useItems:G}=R;function Z({toc:e,children:t,...n}){return(0,h.jsx)(B,{value:e,children:(0,h.jsx)(R.AnchorProvider,{toc:e,...n,children:t})})}function _({ref:e,className:n,...r}){let i=(0,d.useRef)(null);return(0,h.jsx)("div",{ref:(0,s.mergeRefs)(i,e),className:(0,t.cn)("relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",n),...r,children:(0,h.jsx)(R.ScrollProvider,{containerRef:i,children:r.children})})}var Y=(0,z.__exportAll)({TOCEmpty:()=>J,TOCItem:()=>K,TOCItems:()=>V});function V({ref:e,className:n,...r}){let i=(0,d.useRef)(null),a=F(),[o,l]=(0,d.useState)(null),c=(0,d.useCallback)(()=>{let e=i.current;if(!e)return;if(0===a.length)return void l(null);let t=[];for(let n of a){let r=e.querySelector(`a[href="${n.url}"]`);if(!r)continue;let i=getComputedStyle(r);t.push([r.offsetTop+parseFloat(i.paddingTop),r.offsetTop+r.clientHeight-parseFloat(i.paddingBottom)])}l({positions:t})},[a]);return(0,d.useEffect)(()=>{let e=i.current;if(!e)return;let t=new ResizeObserver(c);return t.observe(e),c(),()=>{t.disconnect()}},[c]),(0,h.jsxs)("div",{className:"relative",children:[o&&(0,h.jsx)(q,{computed:o}),(0,h.jsx)("div",{ref:(0,s.mergeRefs)(e,i),className:(0,t.cn)("flex flex-col border-s border-fd-foreground/10",n),...r})]})}function q({computed:e}){let t=$(),n=t.findIndex(e=>e.active);if(-1===n)return;let r=t.findLastIndex(e=>e.active),i=`${e.positions[n][0]}px`,s=`${e.positions[r][1]}px`;return(0,h.jsx)("div",{className:"absolute inset-y-0 inset-s-0 bg-fd-primary w-px transition-[clip-path]",style:{clipPath:`polygon(0 ${i}, 100% ${i}, 100% ${s}, 0 ${s})`}})}function J(){let{text:e}=(0,A.useI18n)();return(0,h.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:e.tocNoHeadings})}function K({item:e,...n}){return(0,h.jsx)(M,{href:e.url,...n,className:(0,t.cn)("prose py-1.5 text-sm text-fd-muted-foreground scroll-m-4 transition-colors wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-fd-primary hover:text-fd-accent-foreground",e.depth<=2&&"ps-3",3===e.depth&&"ps-6",e.depth>=4&&"ps-8",n.className),children:e.title})}var X=(0,z.__exportAll)({TOCEmpty:()=>ee,TOCItem:()=>ei,TOCItems:()=>Q});function Q({ref:e,className:n,thumbBox:r=!0,...i}){let a=(0,d.useRef)(null),o=F(),[l,c]=(0,d.useState)(null),u=(0,d.useCallback)(()=>{let e=a.current;if(!e||0===e.clientHeight)return;if(0===o.length)return void c(null);let t=0,n=0,i="",s=[],l=[];for(let r=0;r<o.length;r++){let a=o[r],c=e.querySelector(`a[href="${a.url}"]`);if(!c)continue;let d=getComputedStyle(c),u=er(a.depth)+.5,m=c.offsetTop+parseFloat(d.paddingTop),f=c.offsetTop+c.clientHeight-parseFloat(d.paddingBottom);if(t=Math.max(u+8,t),n=Math.max(n,f),0===r)i+=` M${u} ${m} L${u} ${f}`;else{let[,e,t]=r>0?s[r-1]:[0,0,0];i+=` C ${t} ${m-4} ${u} ${e+4} ${u} ${m} L${u} ${f}`}void 0!==a._step&&l.push((0,h.jsx)("circle",{cx:u,cy:(m+f)/2,r:"8",className:"fill-fd-primary"},`${r}-circle`),(0,h.jsx)("text",{x:u,y:(m+f)/2,textAnchor:"middle",alignmentBaseline:"central",dominantBaseline:"middle",className:"fill-fd-primary-foreground font-medium text-xs leading-none font-mono",children:a._step},`${r}-text`)),s.push([m,f,u])}l.unshift((0,h.jsx)("path",{d:i,className:"stroke-fd-primary",strokeWidth:"1",fill:"none"},"path"));let d=[];if(r){let e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",i);let t=0;for(let[n,r]of s){for(;e.getPointAtLength(t).y<n;)t++;let i=t;for(;e.getPointAtLength(t).y<r;)t++;d.push([i,t])}}c({content:l,width:t,height:n,d:i,itemLineLengths:d,positions:s})},[o,r]);return(0,d.useEffect)(()=>{let e=a.current;if(!e)return;let t=new ResizeObserver(u);
1return t.observe(e),u(),()=>{t.unobserve(e)}},[u]),(0,h.jsxs)(h.Fragment,{children:[l&&(0,h.jsxs)("div",{className:"absolute top-0 inset-s-0",style:{width:l.width,height:l.height},children:[(0,h.jsx)(et,{computed:l}),r&&(0,h.jsx)(en,{computed:l})]}),(0,h.jsx)("div",{ref:(0,s.mergeRefs)(a,e),className:(0,t.cn)("flex flex-col",n),...i})]})}function ee(){let{text:e}=(0,A.useI18n)();return(0,h.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:e.tocNoHeadings})}function et({computed:e}){let t=$(),n=t.findIndex(e=>e.active);if(-1===n)return;let r=t.findLastIndex(e=>e.active),i=`${e.positions[n][0]}px`,s=`${e.positions[r][1]}px`;return(0,h.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${e.width} ${e.height}`,className:"absolute transition-[clip-path]",style:{width:e.width,height:e.height,clipPath:`polygon(0 ${i}, 100% ${i}, 100% ${s}, 0 ${s})`},children:e.content})}function en({computed:e}){let t=$(),n=(0,d.useRef)(null),r=t.findIndex(e=>e.active);if(-1===r)return;let i=t.findLastIndex(e=>e.active),s=!1;if(n.current){let e=n.current;s=e.startIdx>r||e.endIdx>i||e.startIdx===r&&e.endIdx===i&&e.isUp}return n.current={startIdx:r,endIdx:i,isUp:s},(0,h.jsx)("div",{className:"absolute size-1 bg-fd-primary rounded-full transition-[offset-distance]",style:{offsetPath:`path("${e.d}")`,offsetDistance:s?e.itemLineLengths[r][0]:e.itemLineLengths[i][1],scale:void 0!==t[s?r:i].original._step?"0":"1"}})}function er(e){return e<=2?8:3===e?16:24}function ei({item:e,...n}){var r;let i=F(),{lowerOffset:s,offset:a,upperOffset:o}=(0,d.useMemo)(()=>{let t=i.indexOf(e),n=er(e.depth);return{offset:n,upperOffset:t>0?er(i[t-1].depth):n,lowerOffset:t+1<i.length?er(i[t+1].depth):n}},[i,e]);return(0,h.jsxs)(M,{href:e.url,...n,className:(0,t.cn)("group prose relative py-1.5 text-sm scroll-m-4 text-fd-muted-foreground hover:text-fd-accent-foreground transition-colors wrap-anywhere first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",n.className),style:{paddingInlineStart:(r=e.depth)<=2?20:3===r?32:44,...n.style},children:[a!==o&&(0,h.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`${Math.min(a,o)} 0 ${Math.abs(o-a)} 12`,className:"absolute -top-1.5 -z-1",style:{width:Math.abs(o-a)+1,height:12,insetInlineStart:Math.min(a,o)},children:(0,h.jsx)("path",{d:`M ${o} 0 C ${o} 8 ${a} 4 ${a} 12`,stroke:"black",strokeWidth:"1",fill:"none",className:"stroke-fd-foreground/10"})}),(0,h.jsx)("div",{className:(0,t.cn)("absolute inset-y-0 w-px bg-fd-foreground/10 -z-1",a!==o&&"top-1.5",a!==s&&"bottom-1.5"),style:{insetInlineStart:a}}),void 0!==e._step&&(0,h.jsx)("div",{className:"absolute flex items-center justify-center -translate-1/2 -z-1 top-[calc(50%-var(--t,0px)+var(--b,0px))] size-4 font-mono font-medium text-xs bg-fd-muted text-fd-muted-foreground rounded-full leading-none group-first:[--t:--spacing(0.75)] group-last:[--b:--spacing(0.75)]",style:{insetInlineStart:a},children:e._step}),e.title]})}var es=e.i(451988),ea=e.i(983291);function eo(e){return(0,h.jsx)(Z,{...e})}function el({container:e,header:n,footer:r,style:i="normal",list:s}){let a=F(),{TOCItems:o,TOCEmpty:l,TOCItem:c}="clerk"===i?X:Y;return(0,h.jsxs)("div",{id:"nd-toc",...e,className:(0,t.cn)("sticky top-(--fd-docs-row-1) h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] flex flex-col [grid-area:toc] w-(--fd-toc-width) pt-12 pe-4 pb-2 max-xl:hidden",e?.className),children:[n,(0,h.jsxs)("h3",{id:"toc-title",className:"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground",children:[(0,h.jsx)(ea.Text,{className:"size-4"}),(0,h.jsx)(A.I18nLabel,{label:"toc"})]}),(0,h.jsx)(_,{children:(0,h.jsxs)(o,{...s,children:[0===a.length&&(0,h.jsx)(l,{}),a.map(e=>(0,h.jsx)(c,{item:e},e.url))]})}),r]})}let ec=(0,d.createContext)(null);function ed({container:e,trigger:n,content:r,header:i,footer:s,style:a="normal",list:o}){let l=F(),c=(0,d.useRef)(null),[u,m]=(0,d.useState)(!1),{isNavTransparent:f}=L(),{TOCItems:p,TOCItem:g,TOCEmpty:x}="clerk"===a?X:Y,v=(0,d.useEffectEvent)(e=>{u&&e.target instanceof HTMLElement&&c.current&&!c.current.contains(e.target)&&m(!1)}),b=()=>{m(!1)};return(0,d.useEffect)(()=>(window.addEventListener("click",v),()=>{window.removeEventListener("click",v)}),[]),(0,h.jsx)(ec,{value:(0,d.useMemo)(()=>({open:u,setOpen:m}),[m,u]),children:(0,h.jsx)(es.Collapsible,{open:u,onOpenChange:m,"data-toc-popover":"",...e,className:(0,t.cn)("sticky top-(--fd-docs-row-2) z-10 [grid-area:toc-popover] h-(--fd-toc-popover-height) xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)]",e?.className),children:(0,h.jsxs)("header",{ref:c,className:(0,t.cn)("border-b backdrop-blur-sm transition-colors",(!f||u)&&"bg-fd-background/80",u&&"shadow-lg"),children:[(0,h.jsx)(eu,{...n}),(0,h.jsxs)(em,{...r,children:[i,(0,h.jsx)(_,{children:(0,h.jsxs)(p,{...o,children:[0===l.length&&(0,h.jsx)(x,{}),l.map(e=>(0,h.jsx)(g,{item:e,onClick:b},e.url))]})}),s]})]})})})}function eu({className:e,...r}){let{text:i}=(0,A.useI18n)(),{open:s}=(0,d.use)(ec),a=G(),o=a.findIndex(e=>e.active),l=(0,n.useTreePath)().at(-1),c=-1!==o&&!s;return(0,h.jsxs)(es.CollapsibleTrigger,{className:(0,t.cn)("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6",e),"data-toc-popover-trigger":"",...r,children:[(0,h.jsx)(eh,{value:(o+1)/Math.max(1,a.length),max:1,className:(0,t.cn)("shrink-0",s&&"text-fd-
1primary")}),(0,h.jsxs)("span",{className:"grid flex-1 *:my-auto *:row-start-1 *:col-start-1",children:[(0,h.jsx)("span",{className:(0,t.cn)("truncate transition-[opacity,translate,color]",s&&"text-fd-foreground",c&&"opacity-0 -translate-y-full pointer-events-none"),children:l?.name??i.toc}),(0,h.jsx)("span",{className:(0,t.cn)("truncate transition-[opacity,translate]",!c&&"opacity-0 translate-y-full pointer-events-none"),children:a[o]?.original.title})]}),(0,h.jsx)(p.ChevronDown,{className:(0,t.cn)("shrink-0 transition-transform mx-0.5",s&&"rotate-180")})]})}function eh({value:e,strokeWidth:t=2,size:n=24,min:r=0,max:i=100,...s}){let a=e<r?r:e>i?i:e,o=(n-t)/2,l=2*Math.PI*o,c=a/i*l,d={cx:n/2,cy:n/2,r:o,fill:"none",strokeWidth:t};return(0,h.jsxs)("svg",{role:"progressbar",viewBox:`0 0 ${n} ${n}`,"aria-valuenow":a,"aria-valuemin":r,"aria-valuemax":i,...s,children:[(0,h.jsx)("circle",{...d,className:"stroke-current/25"}),(0,h.jsx)("circle",{...d,stroke:"currentColor",strokeDasharray:l,strokeDashoffset:l-c,strokeLinecap:"round",transform:`rotate(-90 ${n/2} ${n/2})`,className:"transition-all"})]})}function em(e){return(0,h.jsx)(es.CollapsibleContent,{"data-toc-popover-content":"",...e,children:(0,h.jsx)("div",{className:"flex flex-col px-4 max-h-[50vh] md:px-6",children:e.children})})}var ef=e.i(600074);let ep=new WeakMap;function eg(){let{root:e}=(0,n.useTreeContext)(),t=ep.get(e);if(t)return t;let r=[];for(let t of e.children)!function e(t){if("folder"===t.type)for(let n of(t.index&&e(t.index),t.children))e(n);else"page"!==t.type||t.external||r.push(t)}(t);return ep.set(e,r),r}var ex=e.i(373375);function ev({items:e,children:n,className:r,...i}){let s=eg(),a=(0,u.usePathname)(),{previous:o,next:l}=(0,d.useMemo)(()=>{if(e)return e;let t=s.findIndex(e=>(0,ef.isActive)(e.url,a));return -1===t?{}:{previous:s[t-1],next:s[t+1]}},[s,e,a]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:(0,t.cn)("@container grid gap-4",o&&l?"grid-cols-2":"grid-cols-1",r),...i,children:[o&&(0,h.jsx)(eb,{item:o,index:0}),l&&(0,h.jsx)(eb,{item:l,index:1})]}),n]})}function eb({item:e,index:n}){let{text:r}=(0,A.useI18n)(),i=0===n?ex.ChevronLeft:k.ChevronRight;return(0,h.jsxs)(m.default,{href:e.url,className:(0,t.cn)("flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full",1===n&&"text-end"),children:[(0,h.jsxs)("div",{className:(0,t.cn)("inline-flex items-center gap-1.5 font-medium",1===n&&"flex-row-reverse"),children:[(0,h.jsx)(i,{className:"-mx-1 size-4 shrink-0 rtl:rotate-180"}),(0,h.jsx)("p",{children:e.name})]}),(0,h.jsx)("p",{className:"text-fd-muted-foreground truncate",children:e.description??(0===n?r.previousPage:r.nextPage)})]})}function ew(e){let{props:{full:n}}=eA();return(0,h.jsx)("article",{id:"nd-page","data-full":n,...e,className:(0,t.cn)("flex flex-col w-full max-w-[900px] mx-auto [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14",n?"max-w-[1168px]":"xl:layout:[--fd-toc-width:268px]",e.className),children:e.children})}var ey=e.i(737877),ej=e.i(174886),eN=e.i(546467),eN=eN,eC=e.i(636368),eC=eC;let eE=new Map;function eL({markdownUrl:e,...n}){let[r,s]=(0,d.useState)(!1),[a,o]=(0,ey.useCopyButton)(async()=>{let t=eE.get(e);if(t)return navigator.clipboard.writeText(await t);s(!0);try{let t=fetch(e).then(e=>e.text());eE.set(e,t),await navigator.clipboard.write([new ClipboardItem({"text/plain":t})])}finally{s(!1)}});return(0,h.jsxs)("button",{disabled:r,onClick:o,...n,className:(0,t.cn)((0,i.buttonVariants)({color:"secondary",size:"sm",className:"gap-2 [&_svg]:size-3.5 [&_svg]:text-fd-muted-foreground"}),n.className),children:[a?(0,h.jsx)(f.Check,{}):(0,h.jsx)(ej.Copy,{}),n.children??"Copy Markdown"]})}function ek({markdownUrl:e,githubUrl:n,...r}){let s=(0,u.usePathname)(),o=(0,d.useMemo)(()=>{let t=`Read ${"u"<typeof window?s:new URL(s,window.location.origin)}, I want to ask questions about it.`;return[n&&{title:"Open in GitHub",href:n,icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",children:[(0,h.jsx)("title",{children:"GitHub"}),(0,h.jsx)("path",{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"})]})},e&&{title:"View as Markdown",href:e,icon:(0,h.jsx)(eC.default,{})},{title:"Open in Scira AI",href:`https://scira.ai/?${new URLSearchParams({q:t})}`,icon:(0,h.jsxs)("svg",{width:"910",height:"934",viewBox:"0 0 910 934",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Scira AI"}),(0,h.jsx)("path",{d:"M647.664 197.775C569.13 189.049 525.5 145.419 516.774 66.8849C508.048 145.419 464.418 189.049 385.884 197.775C464.418 206.501 508.048 250.131 516.774 328.665C525.5 250.131 569.13 206.501 647.664 197.775Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M516.774 304.217C510.299 275.491 498.208 252.087 480.335 234.214C462.462 216.341 439.058 204.251 410.333 197.775C439.059 191.3 462.462 179.209 480.335 161.336C498.208 143.463 510.299 120.06 516.774 91.334C523.25 120.059 535.34 143.463 553.213 161.336C571.086 179.209 594.49 191.3 623.216 197.775C594.49 204.251 571.086 216.341 553.213 234.214C535.34 252.087 523.25 275.491 516.774 304.217Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M857.5 508.116C763.259 497.644 710.903 445.288 700.432 351.047C689.961 445.288 637.605 497.644 543.364 508.116C637.605 518.587 689.961 570.943 700.432 665.184C710.903 570.943 763.259 518.587 857.5 508.116Z",stroke:"currentColor",strokeWidth:"20",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M700.432 615.957C691.848 589.05 678.575 566.357 660.383 548.165C642.191 529.973 619.499 516.7 592.593 508.116C619.499 499.533 642.191 486.258 660.383 468.066C678.575 449.874 691.848 427.181 700.432 400.274C709.015 427.181 722.289 449.874 740.481 468.066C758.673 486.258 781.365 499.533 808.271 508.116C781.365 516.7 758.673 529.973 740.481 548.165C722.289 566.357 709.015 589.05 700.432 615.957Z",stroke:"currentColor",strokeWidth:"20",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M889.949 121.237C831.049 114.692 798.326 81.9698 791.782 23.0692C785.237 81.9698 752.515 114.692 693.614 121.237C752.515 127.781 785.237 160.504 791.782 219.404C798.326 160.504 831.049 127.781 889.949 121.237Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M791.782 196.795C786.697 176.937 777.869 160.567 765.16 147.858C752.452 135.15 736.082 126.322 716.226 121.237C736.082 116.152 752.452 107.324 765.16 94.6152C777.869 81.9065 786.697 65.5368 791.782 45.6797C796.867 65.5367 805.695 81.9066 818.403 94.6152C831.112 107.324 847.481 116.152 867.338 121.237C847.481 126.322 831.112 135.15 818.403 147.858C805.694 160.567 796.867 176.937 791.782 196.795Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"8",strokeLinejoin:"round"}),(0,h.jsx)("path",{d:"M760.632 764.337C720.719 814.616 669.835 855.1 611.872 882.692C553.91 910.285 490.404 924.255 426.213 923.533C362.022 922.812 298.846 907.419 241.518 878.531C184.19 849.643 134.228 808.026 95.4548 756.863C56.6815 705.7 30.1238 646.346 17.8129 583.343C5.50207 520.339 7.76433 455.354 24.4266 393.359C41.089 331.364 71.7099 274.001 113.947 225.658C156.184 177.315 208.919 139.273 268.117 114.442",stroke:"currentColor",strokeWidth:"30",strokeLinecap:"round",strokeLinejoin:"round"})]})},{title:"Open in ChatGPT",href:`https://chatgpt.com/?${new URLSearchParams({hints:"search",q:t})}
1`,icon:(0,h.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"OpenAI"}),(0,h.jsx)("path",{d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"})]})},{title:"Open in Claude",href:`https://claude.ai/new?${new URLSearchParams({q:t})}`,icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Anthropic"}),(0,h.jsx)("path",{d:"M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z"})]})},{title:"Open in Cursor",icon:(0,h.jsxs)("svg",{fill:"currentColor",role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("title",{children:"Cursor"}),(0,h.jsx)("path",{d:"M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"})]}),href:`https://cursor.com/link/prompt?${new URLSearchParams({text:t})}`}].filter(e=>!!e)},[n,e,s]);return(0,h.jsxs)(a.Popover,{children:[(0,h.jsxs)(a.PopoverTrigger,{...r,className:(0,t.cn)((0,i.buttonVariants)({color:"secondary",size:"sm"}),"gap-2 data-[state=open]:bg-fd-accent data-[state=open]:text-fd-accent-foreground",r.className),children:[r.children??"Open",(0,h.jsx)(p.ChevronDown,{className:"size-3.5 text-fd-muted-foreground"})]}),(0,h.jsx)(a.PopoverContent,{className:"flex flex-col",children:o.map(e=>(0,h.jsxs)("a",{href:e.href,rel:"noreferrer noopener",target:"_blank",className:"text-sm p-2 rounded-lg inline-flex items-center gap-2 hover:text-fd-accent-foreground hover:bg-fd-accent [&_svg]:size-4",children:[e.icon,e.title,(0,h.jsx)(eN.default,{className:"text-fd-muted-foreground size-3.5 ms-auto"})]},e.href))})]})}let eI=(0,e.i(475254).default)("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"}]]);var eS=(0,z.__exportAll)({DocsBody:()=>eD,DocsDescription:()=>eM,DocsPage:()=>eO,DocsTitle:()=>e$,EditOnGitHub:()=>eT,MarkdownCopyButton:()=>eL,PageBreadcrumb:()=>S,PageFooter:()=>ev,PageLastUpdate:()=>eP,ViewOptionsPopover:()=>ek,useDocsPage:()=>eA});let ez=(0,d.createContext)(null);function eA(){let e=(0,d.use)(ez);if(!e)throw Error("Please use page components under <DocsPage /> (`fumadocs-ui/layouts/docs/page`).");return e}function eO({tableOfContent:{enabled:e,single:t,...n}={},tableOfContentPopover:{enabled:r,...i}={},breadcrumb:{enabled:s=!0,...a}={},footer:{enabled:o=!0,...l}={},full:c=!1,toc:d=[],slots:u={},children:m,...f}){e??=!!(!c&&(d.length>0||n.footer||n.header)),r??=!!(d.length>0||i.header||i.footer);let p={breadcrumb:u.breadcrumb??S,footer:u.footer??ev,toc:u.toc??{provider:eo,main:el,popover:ed},container:u.container??ew};return(0,h.jsx)(ez,{value:{props:{full:c},slots:p},children:(0,h.jsxs)(p.toc.provider,{single:t,toc:e||r?d:[],children:[r&&(i.component??(0,h.jsx)(p.toc.popover,{...i})),(0,h.jsxs)(p.container,{...f,children:[s&&(a.component??(0,h.jsx)(p.breadcrumb,{...a}
1)),m,o&&(l.component??(0,h.jsx)(p.footer,{...l}))]}),e&&(n.component??(0,h.jsx)(p.toc.main,{...n}))]})})}function eT(e){return(0,h.jsx)("a",{target:"_blank",rel:"noreferrer noopener",...e,className:(0,t.cn)((0,i.buttonVariants)({color:"secondary",size:"sm"}),"gap-1.5 not-prose",e.className),children:e.children??(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eI,{className:"size-3.5"}),(0,h.jsx)(A.I18nLabel,{label:"editOnGithub"})]})})}function eD({children:e,className:n,...r}){return(0,h.jsx)("div",{...r,className:(0,t.cn)("prose flex-1",n),children:e})}function eM({children:e,className:n,...r}){return void 0===e?null:(0,h.jsx)("p",{...r,className:(0,t.cn)("mb-8 text-lg text-fd-muted-foreground",n),children:e})}function e$({children:e,className:n,...r}){return(0,h.jsx)("h1",{...r,className:(0,t.cn)("text-[1.75em] font-semibold",n),children:e})}function eP({date:e,...n}){let{text:r}=(0,A.useI18n)(),[i,s]=(0,d.useState)("");return(0,d.useEffect)(()=>{s(e.toLocaleDateString())},[e]),(0,h.jsxs)("p",{...n,className:(0,t.cn)("text-sm text-fd-muted-foreground",n.className),children:[r.lastUpdate," ",i]})}var eU=e.i(541310);function eR(e){return(0,h.jsx)(Z,{...e})}function eB({container:e,header:n,footer:r,style:i="normal",list:s}){let a=F(),{TOCItems:o,TOCEmpty:l,TOCItem:c}="clerk"===i?X:Y;return(0,h.jsxs)("div",{id:"nd-toc",...e,className:(0,t.cn)("sticky top-(--fd-docs-row-3) [grid-area:toc] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] flex flex-col w-(--fd-toc-width) pt-12 pe-4 pb-2 xl:layout:[--fd-toc-width:268px] max-xl:hidden",e?.className),children:[n,(0,h.jsxs)("h3",{id:"toc-title",className:"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground",children:[(0,h.jsx)(ea.Text,{className:"size-4"}),(0,h.jsx)(A.I18nLabel,{label:"toc"})]}),(0,h.jsx)(_,{children:(0,h.jsxs)(o,{...s,children:[0===a.length&&(0,h.jsx)(l,{}),a.map(e=>(0,h.jsx)(c,{item:e},e.url))]})}),r]})}let eF=(0,d.createContext)(null);function eH({container:e,trigger:n,content:r,header:i,footer:s,style:a="normal",list:o}){let l=F(),c=(0,d.useRef)(null),[u,m]=(0,d.useState)(!1),{isNavTransparent:f}=(0,eU.useNotebookLayout)(),{TOCItems:p,TOCItem:g,TOCEmpty:x}="clerk"===a?X:Y,v=(0,d.useEffectEvent)(e=>{u&&e.target instanceof HTMLElement&&c.current&&!c.current.contains(e.target)&&m(!1)}),b=()=>{m(!1)};return(0,d.useEffect)(()=>(window.addEventListener("click",v),()=>{window.removeEventListener("click",v)}),[]),(0,h.jsx)(eF,{value:(0,d.useMemo)(()=>({open:u,setOpen:m}),[m,u]),children:(0,h.jsx)(es.Collapsible,{open:u,onOpenChange:m,"data-toc-popover":"",...e,className:(0,t.cn)("sticky top-(--fd-docs-row-2) z-10 [grid-area:toc-popover] h-(--fd-toc-popover-height) xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)]",e?.className),children:(0,h.jsxs)("header",{ref:c,className:(0,t.cn)("border-b backdrop-blur-sm transition-colors",(!f||u)&&"bg-fd-background/80",u&&"shadow-lg"),children:[(0,h.jsx)(eW,{...n}),(0,h.jsxs)(eZ,{...r,children:[i,(0,h.jsx)(_,{children:(0,h.jsxs)(p,{...o,children:[0===l.length&&(0,h.jsx)(x,{}),l.map(e=>(0,h.jsx)(g,{item:e,onClick:b},e.url))]})}),s]})]})})})}function eW({className:e,...r}){let{text:i}=(0,A.useI18n)(),{open:s}=(0,d.use)(eF),a=G(),o=a.findIndex(e=>e.active),l=(0,n.useTreePath)().at(-1),c=-1!==o&&!s;return(0,h.jsxs)(es.CollapsibleTrigger,{className:(0,t.cn)("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6",e),"data-toc-popover-trigger":"",...r,children:[(0,h.jsx)(eG,{value:(o+1)/Math.max(1,a.length),max:1,className:(0,t.cn)("shrink-0",s&&"text-fd-primary")}),(0,h.jsxs)("span",{className:"grid flex-1 *:my-auto *:row-start-1 *:col-start-1",children:[(0,h.jsx)("span",{className:(0,t.cn)("truncate transition-[opacity,translate,color]",s&&"text-fd-foreground",c&&"opacity-0 -translate-y-full pointer-events-none"),children:l?.name??i.toc}),(0,h.jsx)("span",{className:(0,t.cn)("truncate transition-[opacity,translate]",!c&&"opacity-0 translate-y-full pointer-events-none"),children:a[o]?.original.title})]}),(0,h.jsx)(p.ChevronDown,{className:(0,t.cn)("shrink-0 transition-transform mx-0.5",s&&"rotate-180")}
1)]})}function eG({value:e,strokeWidth:t=2,size:n=24,min:r=0,max:i=100,...s}){let a=e<r?r:e>i?i:e,o=(n-t)/2,l=2*Math.PI*o,c=a/i*l,d={cx:n/2,cy:n/2,r:o,fill:"none",strokeWidth:t};return(0,h.jsxs)("svg",{role:"progressbar",viewBox:`0 0 ${n} ${n}`,"aria-valuenow":a,"aria-valuemin":r,"aria-valuemax":i,...s,children:[(0,h.jsx)("circle",{...d,className:"stroke-current/25"}),(0,h.jsx)("circle",{...d,stroke:"currentColor",strokeDasharray:l,strokeDashoffset:l-c,strokeLinecap:"round",transform:`rotate(-90 ${n/2} ${n/2})`,className:"transition-all"})]})}function eZ(e){return(0,h.jsx)(es.CollapsibleContent,{"data-toc-popover-content":"",...e,children:(0,h.jsx)("div",{className:"flex flex-col px-4 max-h-[50vh] md:px-6",children:e.children})})}function e_({items:e,children:n,className:r,...i}){let s=eg(),a=(0,u.usePathname)(),{previous:o,next:l}=(0,d.useMemo)(()=>{if(e)return e;let t=s.findIndex(e=>(0,ef.isActive)(e.url,a));return -1===t?{}:{previous:s[t-1],next:s[t+1]}},[s,e,a]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:(0,t.cn)("@container grid gap-4",o&&l?"grid-cols-2":"grid-cols-1",r),...i,children:[o&&(0,h.jsx)(eY,{item:o,index:0}),l&&(0,h.jsx)(eY,{item:l,index:1})]}),n]})}function eY({item:e,index:n}){let{text:r}=(0,A.useI18n)(),i=0===n?ex.ChevronLeft:k.ChevronRight;return(0,h.jsxs)(m.default,{href:e.url,className:(0,t.cn)("flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full",1===n&&"text-end"),children:[(0,h.jsxs)("div",{className:(0,t.cn)("inline-flex items-center gap-1.5 font-medium",1===n&&"flex-row-reverse"),children:[(0,h.jsx)(i,{className:"-mx-1 size-4 shrink-0 rtl:rotate-180"}),(0,h.jsx)("p",{children:e.name})]}),(0,h.jsx)("p",{className:"text-fd-muted-foreground truncate",children:e.description??(0===n?r.previousPage:r.nextPage)})]})}function eV({includeRoot:e,includeSeparator:r,includePage:i,...s}){let a=(0,n.useTreePath)(),{root:o}=(0,n.useTreeContext)(),l=(0,d.useMemo)(()=>(0,I.getBreadcrumbItemsFromPath)(o,a,{includePage:i,includeSeparator:r,includeRoot:e}),[i,e,r,a,o]);return 0===l.length?null:(0,h.jsx)("div",{...s,className:(0,t.cn)("flex items-center gap-1.5 text-sm text-fd-muted-foreground",s.className),children:l.map((e,n)=>{let r=(0,t.cn)("truncate",n===l.length-1&&"text-fd-primary font-medium");return(0,h.jsxs)(d.Fragment,{children:[0!==n&&(0,h.jsx)(k.ChevronRight,{className:"size-3.5 shrink-0"}),e.url?(0,h.jsx)(m.default,{href:e.url,className:(0,t.cn)(r,"transition-opacity hover:opacity-80"),children:e.name}):(0,h.jsx)("span",{className:r,children:e.name})]},n)})})}function eq(e){let{props:{full:n}}=eX();return(0,h.jsx)("article",{id:"nd-page","data-full":n,...e,className:(0,t.cn)("flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]",n&&"*:max-w-[1285px]",e.className),children:e.children})}var eJ=(0,z.__exportAll)({DocsBody:()=>e1,DocsDescription:()=>e2,DocsPage:()=>eQ,DocsTitle:()=>e4,EditOnGitHub:()=>e0,MarkdownCopyButton:()=>eL,PageBreadcrumb:()=>eV,PageFooter:()=>e_,PageLastUpdate:()=>e5,ViewOptionsPopover:()=>ek,useDocsPage:()=>eX});let eK=(0,d.createContext)(null);function eX(){let e=(0,d.use)(eK);if(!e)throw Error("Please use page components under <DocsPage /> (`fumadocs-ui/layouts/notebook/page`).");return e}function eQ({tableOfContent:{enabled:e,single:t,...n}={},tableOfContentPopover:{enabled:r,...i}={},breadcrumb:{enabled:s=!0,...a}={},footer:{enabled:o=!0,...l}={},full:c=!1,toc:d=[],slots:u={},children:m,...f}){e??=!!(!c&&(d.length>0||n.footer||n.header)),r??=!!(d.length>0||i.header||i.footer);let p={breadcrumb:u.breadcrumb??eV,footer:u.footer??e_,toc:u.toc??{provider:eR,main:eB,popover:eH},container:u.container??eq};return(0,h.jsx)(eK,{value:{props:{full:c},slots:p},children:(0,h.jsxs)(p.toc.provider,{single:t,toc:e||r?d:[],children:[r&&(i.component??(0,h.jsx)(p.toc.popover,{...i})),(0,h.jsxs)(p.container,{...f,children:[s&&(a.component??(0,h.jsx)(p.breadcrumb,{...a}
1)),m,o&&(l.component??(0,h.jsx)(p.footer,{...l}))]}),e&&(n.component??(0,h.jsx)(p.toc.main,{...n}))]})})}function e0(e){return(0,h.jsx)("a",{target:"_blank",rel:"noreferrer noopener",...e,className:(0,t.cn)((0,i.buttonVariants)({color:"secondary",size:"sm"}),"gap-1.5 not-prose",e.className),children:e.children??(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eI,{className:"size-3.5"}),(0,h.jsx)(A.I18nLabel,{label:"editOnGithub"})]})})}function e1({children:e,className:n,...r}){return(0,h.jsx)("div",{...r,className:(0,t.cn)("prose flex-1",n),children:e})}function e2({children:e,className:n,...r}){return void 0===e?null:(0,h.jsx)("p",{...r,className:(0,t.cn)("mb-8 text-lg text-fd-muted-foreground",n),children:e})}function e4({children:e,className:n,...r}){return(0,h.jsx)("h1",{...r,className:(0,t.cn)("text-[1.75em] font-semibold",n),children:e})}function e5({date:e,...n}){let{text:r}=(0,A.useI18n)(),[i,s]=(0,d.useState)("");return(0,d.useEffect)(()=>{s(e.toLocaleDateString())},[e]),(0,h.jsxs)("p",{...n,className:(0,t.cn)("text-sm text-fd-muted-foreground",n.className),children:[r.lastUpdate," ",i]})}function e7(e){return(0,h.jsx)("main",{...e,className:(0,t.cn)("w-full max-w-[1400px] mx-auto px-4 py-12",e.className),children:(0,h.jsx)("article",{className:"prose",children:e.children})})}function e6({lastUpdate:e,editOnGithub:t,children:n,...r}){let{DocsPage:i,EditOnGitHub:s,PageLastUpdate:a}=null!==(0,d.use)(E)?eS:eJ;return(0,h.jsxs)(i,{...r,children:[n,(0,h.jsxs)("div",{className:"flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden",children:[t&&(0,h.jsx)(s,{href:`https://github.com/${t.owner}/${t.repo}/blob/${t.sha}/${t.path.startsWith("/")?t.path.slice(1):t.path}`}),e&&(0,h.jsx)(a,{date:new Date(e)})]})]})}e.s(["DocsPage",0,e6,"withArticle",0,e7],512409),e.i(512409),e.s(["DocsBody",0,eD,"DocsDescription",0,eM,"DocsPage",0,e6,"DocsTitle",0,e$,"EditOnGitHub",0,eT,"PageBreadcrumb",0,S,"PageLastUpdate",0,eP,"withArticle",0,e7],353266)},625131,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["Chips",0,function({className:e,...r}){return(0,t.jsx)("span",{className:(0,n.cn)("font-medium text-[#0093ff]",e),...r})}])},263554,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["Hands",0,function({className:e,...r}){return(0,t.jsx)("span",{className:(0,n.cn)("font-medium text-[#ff8f00]",e),...r})}])},302125,(e,t,n)=>{var r;e.e,t.exports=(r=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","Â¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","Ã":"AE","Ã":"C","Ã":"E","Ã":"E","Ã":"E","Ã":"E","Ã":"I","Ã":"I","Ã":"I","Ã":"I","Ã":"D","Ã":"N","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"U","Ã":"U","Ã":"U","Ã":"U","Ã":"Y","Ã":"TH","Ã":"ss","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","Ã":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ä":"A","Ä":"a","Ä":"A","Ä":"a","Ä":"A","Ä
":"a","Ä":"C","Ä":"c","Ä":"C","Ä":"c","Ä":"D","Ä":"d","Ä":"DJ","Ä":"dj","Ä":"E","Ä":"e","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"E","Ä":"e","Ä":"G","Ä":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Å":"L","Å":"l","Å":"N","Å":"n","Å
":"N","Å":"n","Å":"N","Å":"n","Å":"O","Å":"o","Å":"O","Å":"o","Å":"OE","Å":"oe","Å":"R","Å":"r","Å":"R","Å":"r","Å":"S","Å":"s","Å":"S","Å":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Æ":"E","Æ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Ç":"LJ","Ç":"lj","Ç":"NJ","Ç":"nj","È":"S","È":"s","È":"T","È":"t","É":"e","Ë":"o","Î":"A","Î":"E","Î":"H","Î":"I","Î":"O","Î":"Y","Î":"W","Î":"i","Î":"A","Î":"B","Î":"G","Î":"D","Î":"E","Î":"Z","Î":"H","Î":"8","Î":"I","Î":"K","Î":"L","Î":"M","Î":"N","Î":"3","Î":"O","Î ":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","Î":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","Ï":"p","Ï":"r","Ï":"s","Ï":"s","Ï":"t","Ï
":"y","Ï":"f","Ï":"x","Ï":"ps","Ï":"w","Ï":"i","Ï":"y","Ï":"o","Ï":"y","Ï":"w","Ð":"Yo","Ð":"DJ","Ð":"Ye","Ð":"I","Ð":"Yi","Ð":"J","Ð":"LJ","Ð":"NJ","Ð":"C","Ð":"DZ","Ð":"A","Ð":"B","Ð":"V","Ð":"G","Ð":"D","Ð":"E","Ð":"Zh","Ð":"Z","Ð":"I","Ð":"J","Ð":"K","Ð":"L","Ð":"M","Ð":"N","Ð":"O","Ð":"P","Ð ":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Ð":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","Ñ":"r","Ñ":"s","Ñ":"t","Ñ":"u","Ñ":"f","Ñ
":"h","Ñ":"c","Ñ":"ch","Ñ":"sh","Ñ":"sh","Ñ":"u","Ñ":"y","Ñ":"","Ñ":"e","Ñ":"yu","Ñ":"ya","Ñ":"yo","Ñ":"dj","Ñ":"ye","Ñ":"i","Ñ":"yi","Ñ":"j","Ñ":"lj","Ñ":"nj","Ñ":"c","Ñ":"u","Ñ":"dz","Ò":"G","Ò":"g","Ò":"GH","Ò":"gh","Ò":"KH","Ò":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ó":"AE","Ó":"ae","Ó¨"
1:"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Õ":"H","Õ":"D\'","Õ":"GH","Õ":"TW","Õ":"M","Õ
":"Y","Õ":"N","Õ":"SH","Õ":"CH","Õ":"P","Õ":"J","Õ":"R\'","Õ":"S","Õ":"V","Õ":"T","Õ":"R","Õ":"C","Õ":"P\'","Õ":"Q\'","Õ":"O\'\'","Õ":"F","Ö":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","Ù":"f","Ù":"q","Ù":"k","Ù":"l","Ù
":"m","Ù":"n","Ù":"h","Ù":"w","Ù":"a","Ù":"y","Ù":"an","Ù":"on","Ù":"en","Ù":"a","Ù":"u","Ù":"e","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","Ú":"ch","Ú":"zh","Ú©":"k","Ú¯":"g","Û":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","á":"a","á":"b","á":"g","á":"d","á":"e","á":"v","á":"z","á":"t","á":"i","á":"k","á":"l","á":"m","á":"n","á":"o","á":"p","á":"zh","á ":"r","á¡":"s","á¢":"t","á£":"u","á¤":"f","á¥":"k","á¦":"gh","á§":"q","á¨":"sh","á©":"ch","áª":"ts","á«":"dz","á¬":"ts","á":"ch","á®":"kh","á¯":"j","á°":"h","á¹¢":"S","á¹£":"s","áº":"W","áº":"w","áº":"W","áº":"w","áº":"W","áº
":"w","áº":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","áº":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","á»":"E","á»":"e","á»":"E","á»":"e","á»":"E","á»
":"e","á»":"E","á»":"e","á»":"I","á»":"i","á»":"I","á»":"i","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","â":"-","â":"\'","â":"\'","â":"\\"","â":"\\"","â":"\\"","â ":"+","â¢":"*","â¦":"...","â ":"ecu","â¢":"cruzeiro","â£":"french franc","â¤":"lira","â¥":"mill","â¦":"naira","â§":"peseta","â¨":"rupee","â©":"won","âª":"new shequel","â«":"dong","â¬":"euro","â":"kip","â®":"tugrik","â¯":"drachma","â°":"penny","â±":"peso","â²":"guarani","â³":"austral","â´":"hryvnia","âµ":"cedi","â¸":"kazakhstani tenge","â¹":"indian rupee","âº":"turkish lira","â½":"russian ruble","â¿":"bitcoin","â ":"sm","â¢":"tm","â":"d","â":"delta","â":"sum","â":"infinity","â¥":"love","å
":"yuan","å":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Ð":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","Ñ":"ts","Ñ":"sht","Ñ":"a","Ñ":"y"},"de":{"Ã":"AE","ä":"ae","Ã":"OE","ö":"oe","Ã":"UE","ü":"ue","Ã":"ss","%":"prozent","&":"und","|":"oder","â":"summe","â":"unendlich","â¥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","â£":"francos","â":"suma","â":"infinito","â¥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","â£":"franc","â":"somme","â":"infini","â¥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","â":"soma","£":"libra","â":"infinito","â¥":"amor"},"uk":{"Ð":"Y","и":"y","Ð":"Y","й":"y","Ц":"Ts","Ñ":"ts","Ð¥":"Kh","Ñ
":"kh","Щ":"Shch","Ñ":"shch","Ð":"H","г":"h"},"vi":{"Ä":"D","Ä":"d"},"da":{"Ã":"OE","ø":"oe","Ã
":"AA","Ã¥":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","ä":"ae","ö":"oe"}}');function n(n,r){if("string"!=typeof n)throw Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},s=void 0===r.replacement?"-":r.replacement,a=void 0===r.trim||r.trim,o=n.normalize().split("").reduce(function(t,n){var a=i[n];return void 0===a&&(a=e[n]),void 0===a&&(a=n),a===s&&(a=" "),t+a.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(o=o.replace(/[^A-Za-z0-9\s]/g,"")),a&&(o=o.trim()),o=o.replace(/\s+/g,s),r.lower&&(o=o.toLowerCase()),o}return n.extend=function(t){Object.assign(e,t)},n})(),t.exports.default=r()},637376,e=>{"use strict";
1var t=e.i(843476),n=e.i(657688),r=e.i(302125);e.s(["JokerCard",0,function({name:e,img:i,h:s=3}){let a=`h${s}`;return(0,t.jsxs)("div",{className:"flex scroll-mt-36 flex-col items-center gap-2",id:`${(0,r.default)(e,{lower:!0,strict:!0})}-toc`,children:[(0,t.jsx)(n.default,{src:i,height:190,width:142,alt:e,className:"!m-0 max-w-24 rounded-md"}),(0,t.jsx)("div",{className:"flex flex-col gap-1",children:(0,t.jsx)(a,{className:"!m-0 text-nowrap font-medium text-sm",children:e})})]})}])},412534,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["Nemesis",0,function({className:e,...r}){return(0,t.jsx)("span",{className:(0,n.cn)("rounded-md bg-[#7b559c] px-1 font-medium text-white",e),...r})}])},525308,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["Xmult",0,function({className:e,...r}){return(0,t.jsx)("span",{className:(0,n.cn)("rounded-md bg-[#ff4c40] px-1 font-medium text-white",e),...r})}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.