"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9339],{39505:function(n,e,t){t.d(e,{Z:function(){return Z}});var r=t(85893),i=t(26113),o=t(54045),c=t(7297),d=t(19521),a=t(10272);function u(){var n=(0,c.Z)(["\n width: 100%;\n padding: 15px 25px;\n border: 1px solid ",";\n background-color: ",";\n border-radius: 5px;\n position: relative;\n z-index: 999;\n @media (max-width: 800px) {\n display: none;\n }\n ","\n ","\n"]);return u=function(){return n},n}function s(){var n=(0,c.Z)(["\n width: 100%;\n display: flex;\n align-items: center;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n @media (max-width: 800px) {\n flex-direction: row;\n }\n @media (max-width: 600px) {\n flex-direction: column;\n }\n"]);return s=function(){return n},n}function x(){var n=(0,c.Z)(["\n width: calc(100% - 120px);\n margin-right: 30px;\n @media (max-width: 1024px) {\n width: 100%;\n margin-bottom: 15px;\n margin-right: 0;\n text-align: center;\n }\n @media (max-width: 800px) {\n margin-bottom: 0;\n text-align: left;\n }\n @media (max-width: 600px) {\n margin-bottom: 15px;\n text-align: center;\n }\n"]);return x=function(){return n},n}function p(){var n=(0,c.Z)(["\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: ",";\n"]);return p=function(){return n},n}function h(){var n=(0,c.Z)(["\n width: 100%;\n margin-top: 3px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: ",";\n"]);return h=function(){return n},n}function l(){var n=(0,c.Z)(["\n width: 120px;\n"]);return l=function(){return n},n}var f=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-0"})(u(),function(n){return n.theme.bannerBorder},function(n){return n.theme.bannerBackground},function(n){return n.theme.type===a.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===a.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "}),m=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-1"})(s()),g=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-2"})(x()),b=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-3"})(p(),function(n){return n.theme.bannerText}),w=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-4"})(h(),function(n){return n.theme.bannerText}),v=d.ZP.div.withConfig({componentId:"sc-d1b8bd30-5"})(l());function Z(){return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{children:[(0,r.jsxs)(g,{children:[(0,r.jsx)(b,{children:(0,r.jsx)(o.kY,{bold:!0,children:"Have a question?"})}),(0,r.jsx)(w,{children:(0,r.jsx)(o.pN,{children:"Connect with the community in the Blinkhash Discord"})})]}),(0,r.jsx)(v,{children:(0,r.jsx)(i.DC,{link:"https://discord.gg/rNjez6VgNF",children:(0,r.jsx)(o.pN,{children:"Continue"})})})]})})}},43527:function(n,e,t){t.d(e,{Z:function(){return N}});var r=t(828),i=t(85893),o=t(67294),c=t(59417),d=t(67814),a=t(54045),u=t(7297),s=t(19521),x=t(10272);function p(){var n=(0,u.Z)(["\n height: 100vh;\n padding: 86px 25px 270px;\n display: none;\n position: sticky;\n top: 0;\n align-self: flex-start;\n justify-content: center;\n margin: -66px 0 0;\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n overflow-x: hidden;\n @media (max-width: 800px) {\n display: flex;\n }\n @media (max-width: 500px) {\n padding: 86px 15px 270px;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n\n ","\n ","\n"]);return p=function(){return n},n}function h(){var n=(0,u.Z)(["\n width: 100%;\n cursor: pointer;\n\n &:hover {\n color: ",";\n transition: 0.2s ease-in all;\n }\n"]);return h=function(){return n},n}function l(){var n=(0,u.Z)(["\n width: 100vw;\n max-width: 280px;\n height: 100vh;\n padding: 20px 25px 0;\n display: none;\n position: fixed;\n left: 0;\n top: 0;\n background-color: ",";\n border-right: 1px solid ",";\n overflow-x: hidden;\n overflow-y: scroll;\n transform: translate3d(-100vw, 0, 0);\n transition: transform .3s cubic-bezier(0, .52, 0, 1);\n @media (max-width: 800px) {\n display: flex;\n flex-direction: column;\n }\n @media (max-width: 500px) {\n padding: 20px 15px 0;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n\n ","\n ","\n ","\n"]);return l=function(){return n},n}function f(){var n=(0,u.Z)(["\n width: calc(100% + 50px);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 25px 18px;\n margin: 0 0 18px -25px;\n border-bottom: 1px solid ",";\n"]);return f=function(){return n},n}function m(){var n=(0,u.Z)(["\n width: 100%;\n color: ",";\n"]);return m=function(){return n},n}function g(){var n=(0,u.Z)(["\n line-height: 14px;\n cursor: pointer;\n color: ",";\n"]);return g=function(){return n},n}function b(){var n=(0,u.Z)(["\n width: 280px;\n height: 100vh;\n padding: 86px 25px 270px;\n display: flex;\n top: 0;\n position: sticky;\n align-self: flex-start;\n margin: -66px 0 0;\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n overflow-x: hidden;\n z-index: 1000;\n @media (max-width: 800px) {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n\n ","\n ","\n"]);return b=function(){return n},n}function w(){var n=(0,u.Z)(["\n width: 100%;\n height: 100%;\n"]);return w=function(){return n},n}var v=s.ZP.div.withConfig({componentId:"sc-176eef3-0"})(p(),function(n){return n.theme.sidebarText},function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarBorder},function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarScroll},function(n){return n.theme.type===x.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===x.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n margin-bottom: -1px;\n "}),Z=s.ZP.div.withConfig({componentId:"sc-176eef3-1"})(h(),function(n){return n.theme.hoverText}),j=s.ZP.div.withConfig({componentId:"sc-176eef3-2"})(l(),function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarBorder},function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarScroll},function(n){return n.theme.type===x.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===x.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n margin-bottom: -1px;\n "},function(n){return n.active&&"\n transform: translate3d(0vw, 0, 0);\n "}),y=s.ZP.div.withConfig({componentId:"sc-176eef3-3"})(f(),function(n){return n.theme.sidebarBorder}),k=s.ZP.div.withConfig({componentId:"sc-176eef3-4"})(m(),function(n){return n.theme.sidebarText}),C=s.ZP.div.withConfig({componentId:"sc-176eef3-5"})(g(),function(n){return n.theme.sidebarText}),I=s.ZP.div.withConfig({componentId:"sc-176eef3-6"})(b(),function(n){return n.theme.sidebarText},function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarBorder},function(n){return n.theme.sidebarBackground},function(n){return n.theme.sidebarScroll},function(n){return n.theme.type===x.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===x.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n margin-bottom: -1px;\n "}),P=s.ZP.div.withConfig({componentId:"sc-176eef3-7"})(w()),B=function(n){var e=n.children,t=n.title,u=(0,o.useRef)(null),s=(0,r.Z)((0,o.useState)(!1),2),x=s[0],p=s[1],h=(0,o.useCallback)(function(n){u.current&&!u.current.contains(n.target)&&p(!1)},[]);return(0,o.useEffect)(function(){return document.addEventListener("click",h,!1),function(){document.removeEventListener("click",h,!1)}},[h]),(0,i.jsxs)(v,{style:{zIndex:x?"1002":"1000"},ref:u,children:[(0,i.jsx)(Z,{children:(0,i.jsx)(d.G,{icon:c.xiG,style:{width:"18px",marginTop:"2px"},onClick:function(){return p(!0)}})}),(0,i.jsxs)(j,{active:x,children:[(0,i.jsxs)(y,{children:[(0,i.jsx)(k,{children:(0,i.jsx)(a.kY,{bold:!0,children:t})}),(0,i.jsx)(C,{children:(0,i.jsx)(d.G,{icon:c.NBC,style:{width:"14px",marginTop:"4px"},onClick:function(){return p(!1)}})})]}),e]})]})},T=function(n){var e=n.children;return(0,i.jsx)(I,{children:(0,i.jsx)(P,{children:e})})};function N(n){var e=n.children,t=n.title;return(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(T,{children:e,title:t}),(0,i.jsx)(B,{children:e,title:t})]})}},99339:function(n,e,t){t.d(e,{Z:function(){return n_}});var r=t(828),i=t(85893),o=t(39505),c=t(41799),d=t(69396),a=t(99534),u=t(93405),s=t(84283),x={code:function(n){n.node;var e=n.inline,t=n.className,r=n.children,o=(n.style,(0,a.Z)(n,["node","inline","className","children","style"])),x=/language-(\w+)/.exec(t||"");return!e&&x?(0,i.jsx)(u.Z,(0,c.Z)({language:x[1],style:s.MS,customStyle:{backgroundColor:"#f5f5f7",border:"1px solid #cccccc",borderRadius:"5px",boxShadow:"none",padding:"10px",fontSize:"12px"},PreTag:"div",wrapLines:!0,showLineNumbers:!0,children:String(r).replace(/\n$/,"")},o)):(0,i.jsx)("code",(0,d.Z)((0,c.Z)({className:t},o),{children:r}))}},p={code:function(n){n.node;var e=n.inline,t=n.className,r=n.children,o=(n.style,(0,a.Z)(n,["node","inline","className","children","style"])),x=/language-(\w+)/.exec(t||"");return!e&&x?(0,i.jsx)(u.Z,(0,c.Z)({language:x[1],style:s.$6,customStyle:{backgroundColor:"#11151c",border:"1px solid #3e4559",borderRadius:"5px",boxShadow:"none",padding:"10px",fontSize:"12px"},PreTag:"div",wrapLines:!0,showLineNumbers:!0,children:String(r).replace(/\n$/,"")},o)):(0,i.jsx)("code",(0,d.Z)((0,c.Z)({className:t},o),{children:r}))}},h=t(67294),l=t(26113),f=t(28208),m=t(84886),g=t(11163),b=t(54045),w=t(7297),v=t(19521),Z=t(10272);function j(){var n=(0,w.Z)(["\n width: 100%;\n display: flex;\n justify-content: center;\n padding: 15px 25px;\n position: relative;\n z-index: 998;\n @media (max-width: 1024px) {\n padding: 15px 25px 20px;\n }\n @media (max-width: 800px) {\n box-shadow: none;\n border-bottom: 1px solid ",";\n }\n @media (max-width: 500px) {\n padding: 15px 15px 20px;\n }\n ","\n ","\n"]);return j=function(){return n},n}function y(){var n=(0,w.Z)(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n @media (max-width: 1024px) {\n flex-direction: column;\n }\n"]);return y=function(){return n},n}function k(){var n=(0,w.Z)(["\n width: 100%;\n color: ",";\n @media (max-width: 1024px) {\n justify-content: center;\n }\n"]);return k=function(){return n},n}function C(){var n=(0,w.Z)(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n @media (max-width: 1024px) {\n justify-content: center;\n }\n"]);return C=function(){return n},n}function I(){var n=(0,w.Z)(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n flex-wrap: wrap;\n @media (max-width: 1024px) {\n justify-content: center;\n }\n @media (max-width: 400px) {\n margin-top: 5px;\n }\n"]);return I=function(){return n},n}function P(){var n=(0,w.Z)(["\n display: flex;\n @media (max-width: 400px) {\n width: 100%;\n justify-content: center;\n }\n"]);return P=function(){return n},n}function B(){var n=(0,w.Z)([""]);return B=function(){return n},n}function T(){var n=(0,w.Z)(["\n padding: 3px 0;\n margin-right: 15px;\n color: ",";\n cursor: pointer;\n ","\n &:hover {\n border-bottom: 2px solid ",";\n }\n &:last-child {\n margin-right: 0;\n }\n"]);return T=function(){return n},n}function N(){var n=(0,w.Z)(["\n margin: 0 15px;\n color: ",";\n font-size: 19px;\n @media (max-width: 400px) {\n display: none;\n }\n"]);return N=function(){return n},n}function Y(){var n=(0,w.Z)(["\n width: 500px;\n display: flex;\n justify-content: flex-end;\n @media (max-width: 1024px) {\n margin-top: 10px;\n justify-content: center;\n }\n @media (max-width: 600px) {\n width: 100%;\n max-width: 300px;\n }\n @media (max-width: 400px) {\n align-items: center;\n flex-direction: column;\n }\n"]);return Y=function(){return n},n}function L(){var n=(0,w.Z)(["\n width: 100%;\n max-width: 150px;\n margin-right: 15px;\n &:last-child {\n margin-right: 0;\n }\n @media (max-width: 400px) {\n margin-right: 0;\n margin-bottom: 10px;\n &:last-child {\n margin-bottom: 0;\n }\n }\n"]);return L=function(){return n},n}var D=v.ZP.div.withConfig({componentId:"sc-20eb489b-0"})(j(),function(n){return n.theme.directoryBorder},function(n){return n.theme.type===Z.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===Z.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n border-bottom: 1px solid ".concat(n.theme.directoryBorder,";\n ")}),R=v.ZP.div.withConfig({componentId:"sc-20eb489b-1"})(y()),S=v.ZP.div.withConfig({componentId:"sc-20eb489b-2"})(k(),function(n){return n.theme.directoryText}),G=v.ZP.div.withConfig({componentId:"sc-20eb489b-3"})(C()),E=v.ZP.div.withConfig({componentId:"sc-20eb489b-4"})(I()),z=v.ZP.div.withConfig({componentId:"sc-20eb489b-5"})(P()),H=v.ZP.div.withConfig({componentId:"sc-20eb489b-6"})(B()),O=v.ZP.div.withConfig({componentId:"sc-20eb489b-7"})(T(),function(n){return n.theme.directoryText},function(n){return n.active&&"\n border-bottom: 2px solid ".concat(n.theme.directoryBorder,";\n ")},function(n){return n.theme.directoryBorder}),A=v.ZP.div.withConfig({componentId:"sc-20eb489b-8"})(N(),function(n){return n.theme.directoryText}),K=v.ZP.div.withConfig({componentId:"sc-20eb489b-9"})(Y()),M=v.ZP.div.withConfig({componentId:"sc-20eb489b-10"})(L());function F(n){var e=(0,g.useRouter)(),t=n.component,r=n.pages,o=n.title,c=n.versions,d=(0,h.useCallback)(function(n){var e=n.split("/"),t=e[e.length-1];return(0,f.Oo)(t)},[]),a=(0,h.useMemo)(function(){var n="/product/foundation";return[n,"".concat(n,"/v1"),"".concat(n,"/v2"),t]},[t]);return(0,i.jsx)(D,{children:(0,i.jsxs)(R,{children:[(0,i.jsxs)(S,{children:[(0,i.jsx)(G,{children:(0,i.jsx)(b.kY,{bold:!0,children:o})}),r&&(0,i.jsx)(E,{children:r.map(function(n,t){return(0,i.jsxs)(z,{children:[(0,i.jsx)(H,{children:(0,i.jsx)(m.Z,{link:n,children:(0,i.jsx)(O,{active:0===t?a.concat([n]).includes(e.pathname):[n].includes(e.pathname),children:(0,i.jsx)(b.mI,{children:d(n)})})})}),t!==r.length-1&&(0,i.jsx)(A,{children:"/"})]},t)})})]}),c&&Object.keys(c||{}).length>=1&&(0,i.jsx)(K,{children:Object.keys(c).map(function(n,e){return(0,i.jsx)(M,{children:c[n]===t?(0,i.jsx)(l.Eq,{children:(0,i.jsx)(b.pN,{children:n})}):(0,i.jsx)(l.Ff,{link:c[n],children:(0,i.jsx)(b.pN,{children:n})})},e)})})]})})}var _=t(74740);function $(){var n=(0,w.Z)(["\n width: 100%;\n padding: 0 25px;\n background-color: ",";\n @media (max-width: 500px) {\n margin-top: 20px;\n padding: 0 15px;\n }\n"]);return $=function(){return n},n}function q(){var n=(0,w.Z)(["\n width: 100%;\n color: ",";\n"]);return q=function(){return n},n}function U(){var n=(0,w.Z)(["\n width: 100%;\n color: ",";\n text-align: right;\n"]);return U=function(){return n},n}var V=v.ZP.div.withConfig({componentId:"sc-e3efe459-0"})($(),function(n){return n.theme.licenseBackground}),J=v.ZP.div.withConfig({componentId:"sc-e3efe459-1"})(q(),function(n){return n.theme.licenseText}),Q=v.ZP.div.withConfig({componentId:"sc-e3efe459-2"})(U(),function(n){return n.theme.licenseText});function W(){return(0,i.jsxs)(V,{children:[(0,i.jsx)(J,{children:(0,i.jsx)(b.De,{children:(0,i.jsx)(_.D,{children:"\nExcept as otherwise noted, the content of this page is licensed under the\n[Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/),\nand code samples are licensed under the [GNU General Public License v2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).\n"})})}),(0,i.jsx)(Q,{children:(0,i.jsx)(b.De,{children:"Last updated May 19th, 2023"})})]})}function X(){var n=(0,w.Z)(["\n min-width: 280px;\n display: flex;\n top: 89px;\n position: sticky;\n align-self: flex-start;\n border-radius: 5px;\n margin-left: 25px;\n color: ",";\n background-color: ",";\n border: 1px solid ",";\n @media (max-width: 1300px) {\n display: none;\n }\n ","\n ","\n"]);return X=function(){return n},n}function nn(){var n=(0,w.Z)(["\n width: 100%;\n max-height: calc(100vh - 115px);\n overflow: auto;\n"]);return nn=function(){return n},n}function ne(){var n=(0,w.Z)(["\n width: 100%;\n padding: 20px 25px 15px 25px;\n"]);return ne=function(){return n},n}function nt(){var n=(0,w.Z)(["\n width: calc(100% + 25px);\n padding: 3px 0 3px 25px;\n border-radius: 0 5px 5px 0;\n margin-left: -25px;\n background-color: ",";\n"]);return nt=function(){return n},n}function nr(){var n=(0,w.Z)(["\n width: calc(100% + 50px);\n margin: 20px 0 0 -25px;\n border-top: 1px solid ",";\n"]);return nr=function(){return n},n}function ni(){var n=(0,w.Z)(["\n width: 100%;\n padding: 15px 25px;\n border-bottom: 1px solid ",";\n\n &:last-child {\n padding-bottom: 0;\n border-bottom: 0;\n }\n"]);return ni=function(){return n},n}function no(){var n=(0,w.Z)(["\n width: calc(100% + 25px);\n padding: 3px 0 3px 25px;\n border-radius: 0 5px 5px 0;\n margin-left: -25px;\n"]);return no=function(){return n},n}function nc(){var n=(0,w.Z)(["\n width: calc(100% + 25px);\n padding: 3px 0 3px 25px;\n border-radius: 0 5px 5px 0;\n margin-left: -25px;\n\n &:hover {\n cursor: pointer;\n }\n"]);return nc=function(){return n},n}var nd=v.ZP.div.withConfig({componentId:"sc-71052183-0"})(X(),function(n){return n.theme.resourcesText},function(n){return n.theme.resourcesBackground},function(n){return n.theme.resourcesBorder},function(n){return n.theme.type===Z.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===Z.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n margin-bottom: -1px;\n "}),na=v.ZP.div.withConfig({componentId:"sc-71052183-1"})(nn()),nu=v.ZP.div.withConfig({componentId:"sc-71052183-2"})(ne()),ns=v.ZP.div.withConfig({componentId:"sc-71052183-3"})(nt(),function(n){return n.theme.resourcesBackground2}),nx=v.ZP.div.withConfig({componentId:"sc-71052183-4"})(nr(),function(n){return n.theme.resourcesBorder}),np=v.ZP.div.withConfig({componentId:"sc-71052183-5"})(ni(),function(n){return n.theme.resourcesBorder}),nh=v.ZP.div.withConfig({componentId:"sc-71052183-6"})(no()),nl=v.ZP.div.withConfig({componentId:"sc-71052183-7"})(nc());function nf(n){var e=n.resources;return(0,i.jsx)(nd,{children:(0,i.jsx)(na,{children:(0,i.jsxs)(nu,{children:[(0,i.jsx)(ns,{children:(0,i.jsx)(b.pN,{bold:!0,children:"Resources"})}),(0,i.jsx)(nx,{children:e.map(function(n,e){return(0,i.jsx)(np,{children:Object.keys(n).map(function(e,t){return(0,i.jsx)(h.Fragment,{children:0===t?(0,i.jsx)(nh,{children:(0,i.jsx)(b.pN,{bold:!0,children:e})},t):(0,i.jsx)(nl,{children:(0,i.jsx)(m.N,{link:n[e],children:(0,i.jsx)(b.pN,{children:e})})},t)},t)})},e)})})]})})})}var nm=t(43527);function ng(){var n=(0,w.Z)(["\n width: 100%;\n"]);return ng=function(){return n},n}function nb(){var n=(0,w.Z)(["\n width: 100%;\n height: 100%;\n"]);return nb=function(){return n},n}function nw(){var n=(0,w.Z)(["\n width: 100%;\n height: 100%;\n min-height: calc(100vh - 249px);\n display: flex;\n background-color: ",";\n padding-top: 64px;\n @media (max-width: 800px) {\n min-height: calc(100vh - 400px);\n }\n @media (max-width: 500px) {\n min-height: calc(100vh - 410px);\n }\n @media (max-width: 400px) {\n min-height: calc(100vh - 675px);\n }\n"]);return nw=function(){return n},n}function nv(){var n=(0,w.Z)(["\n width: calc(100% + 50px);\n margin: -3px 0 15px -25px;\n padding-bottom: 15px;\n border-bottom: 1px solid ",";\n &:last-child {\n margin-bottom: 0;\n border-bottom: 0;\n }\n"]);return nv=function(){return n},n}function nZ(){var n=(0,w.Z)(["\n width: calc(100% - 25px);\n padding: 3px 0 3px 25px;\n border-radius: 0 5px 5px 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n ","\n &:hover {\n cursor: pointer;\n background-color: ",";\n transition: 0.2s ease-in all;\n }\n"]);return nZ=function(){return n},n}function nj(){var n=(0,w.Z)(["\n width: calc(100% - 280px);\n @media (max-width: 800px) {\n width: calc(100% - 70px);\n }\n @media (max-width: 500px) {\n width: calc(100% - 50px);\n }\n"]);return nj=function(){return n},n}function ny(){var n=(0,w.Z)(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n margin: 20px 0;\n"]);return ny=function(){return n},n}function nk(){var n=(0,w.Z)(["\n width: 100%;\n max-width: 1074px;\n display: flex;\n flex-direction: column;\n"]);return nk=function(){return n},n}function nC(){var n=(0,w.Z)(["\n width: 100%;\n height: calc(100% - 55px);\n padding: 0 25px 20px;\n color: ",";\n background-color: ",";\n @media (max-width: 800px) {\n padding: 0;\n }\n"]);return nC=function(){return n},n}function nI(){var n=(0,w.Z)(["\n width: 100%;\n height: 100%;\n display: flex;\n"]);return nI=function(){return n},n}function nP(){var n=(0,w.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n border-radius: 0 0 5px 5px;\n border-top: 0;\n margin-bottom: 20px;\n @media (max-width: 1300px) {\n width: 100%;\n }\n @media (max-width: 800px) {\n margin-top: -20px;\n border-radius: 0;\n }\n"]);return nP=function(){return n},n}function nB(){var n=(0,w.Z)(["\n width: 100%;\n padding: 0 25px;\n background-color: ",";\n margin-top: 20px;\n border: 1px solid ",";\n border-radius: 5px;\n ","\n ","\n &:last-child {\n margin-bottom: -20px;\n }\n @media (max-width: 800px) {\n margin-top: 0;\n border: 0;\n border-bottom: 1px solid ",";\n border-radius: 0;\n box-shadow: none;\n }\n @media (max-width: 500px) {\n padding: 0 15px;\n }\n"]);return nB=function(){return n},n}function nT(){var n=(0,w.Z)(["\n width: 100%;\n margin: 20px 0 15px;\n line-height: 20px;\n"]);return nT=function(){return n},n}function nN(){var n=(0,w.Z)(["\n padding-bottom: 5px;\n border-bottom: 1px solid ",";\n hyphens: auto;\n &:last-child {\n margin-bottom: 0;\n border-bottom: 0;\n }\n"]);return nN=function(){return n},n}var nY=v.ZP.div.withConfig({componentId:"sc-1a2528cd-0"})(ng()),nL=v.ZP.div.withConfig({componentId:"sc-1a2528cd-1"})(nb()),nD=v.ZP.div.withConfig({componentId:"sc-1a2528cd-2"})(nw(),function(n){return n.theme.sectionBackground}),nR=v.ZP.div.withConfig({componentId:"sc-1a2528cd-3"})(nv(),function(n){return n.theme.sectionBorder}),nS=v.ZP.div.withConfig({componentId:"sc-1a2528cd-4"})(nZ(),function(n){return n.active&&"\n background-color: ".concat(n.theme.sectionBackground2,";\n ")},function(n){return n.theme.sectionBackground3}),nG=v.ZP.div.withConfig({componentId:"sc-1a2528cd-5"})(nj()),nE=v.ZP.div.withConfig({componentId:"sc-1a2528cd-6"})(ny()),nz=v.ZP.div.withConfig({componentId:"sc-1a2528cd-7"})(nk()),nH=v.ZP.div.withConfig({componentId:"sc-1a2528cd-8"})(nC(),function(n){return n.theme.sectionText},function(n){return n.theme.sectionBackground5}),nO=v.ZP.div.withConfig({componentId:"sc-1a2528cd-9"})(nI()),nA=v.ZP.div.withConfig({componentId:"sc-1a2528cd-10"})(nP()),nK=v.ZP.div.withConfig({componentId:"sc-1a2528cd-11"})(nB(),function(n){return n.theme.sectionBackground4},function(n){return n.theme.sectionBorder},function(n){return n.theme.type===Z.bY.LIGHT&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.type===Z.bY.DARK&&"\n box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);\n "},function(n){return n.theme.sectionBorder}),nM=v.ZP.div.withConfig({componentId:"sc-1a2528cd-12"})(nT()),nF=v.ZP.div.withConfig({componentId:"sc-1a2528cd-13"})(nN(),function(n){return n.theme.sectionBorder});function n_(n){var e=n.component,t=n.headers,c=n.pages,d=n.resources,a=n.sections,u=n.theme,s=n.title,l=n.versions,f=(0,r.Z)((0,h.useState)("ref-0-0"),2),m=f[0],g=f[1],w=(0,h.useMemo)(function(){return t.map(function(){return(0,h.createRef)()})},[t]),v=(0,h.useCallback)(function(n){n.forEach(function(n){n.isIntersecting&&g(n.target.id)})},[]),j=(0,h.useCallback)(function(n,e){var r=w[t.indexOf(n)];if(r&&r.current){var i=r.current.getBoundingClientRect().bottom;window.scrollBy({left:0,top:i-102,behavior:"smooth"}),g(e)}},[w,t]);return(0,h.useEffect)(function(){var n=new IntersectionObserver(v,{rootMargin:"0px",threshold:.5});w.forEach(function(e){e.current&&n.observe(e.current)})},[v,w]),(0,i.jsx)(nY,{children:(0,i.jsx)(nL,{children:(0,i.jsxs)(nD,{children:[(0,i.jsx)(nm.Z,{title:"Browse Content",children:a.map(function(n,e){return(0,i.jsx)(nR,{children:Object.keys(n).map(function(n,t){return(0,i.jsx)(nS,{active:m==="ref-".concat(e,"-").concat(t),onClick:function(){return j(n,"ref-".concat(e,"-").concat(t))},children:(0,i.jsx)(b.pN,{bold:0===t,children:n})},t)})},e)})}),(0,i.jsxs)(nG,{children:[(0,i.jsx)(F,{title:s,component:e,pages:c,versions:l}),(0,i.jsx)(nE,{children:(0,i.jsxs)(nz,{children:[(0,i.jsx)(nH,{children:(0,i.jsxs)(nO,{children:[(0,i.jsxs)(nA,{children:[(0,i.jsx)(o.Z,{}),a.map(function(n,e){return(0,i.jsx)(nK,{children:Object.keys(n).map(function(r,o){return(0,i.jsxs)(nF,{children:[(0,i.jsx)(nM,{id:"ref-".concat(e,"-").concat(o),ref:w[t.indexOf(r)],children:(0,i.jsx)(b.kY,{bold:0===o,children:r})}),(0,i.jsx)(b.pN,{children:u===Z.bY.LIGHT?(0,i.jsx)(_.D,{components:x,children:n[r]}):(0,i.jsx)(_.D,{components:p,children:n[r]})})]},o)})},e)})]}),d&&d.length>=1&&(0,i.jsx)(nf,{resources:d})]})}),(0,i.jsx)(W,{})]})})]})]})})})}}}]);