waku.org/assets/js/17896441.64634230.js

1 line
17 KiB
JavaScript
Raw Normal View History

2023-11-28 13:28:06 +00:00
"use strict";(self.webpackChunkwaku_docusaurus_template=self.webpackChunkwaku_docusaurus_template||[]).push([[918],{78072:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BreadcrumbsBase=void 0;const l=a(97582),n=a(31665),o=l.__importDefault(a(39960)),r=a(80143),d=a(82818),s=a(53458),i=a(95999),u=l.__importDefault(a(86010)),c=l.__importDefault(a(67294)),m=l.__importDefault(a(37921));function f(e){let{children:t,href:a,isLast:l}=e;const r="breadcrumbs__link";return l?c.default.createElement(n.Typography,{variant:"body3",component:"span",className:r,itemProp:"name"},t):a?c.default.createElement(o.default,{className:r,href:a,itemProp:"item"},c.default.createElement(n.Typography,{variant:"body3",component:"span",itemProp:"name"},t)):c.default.createElement(n.Typography,{variant:"body3",component:"span",className:r},t)}function p(e){let{children:t,active:a,index:l,addMicrodata:n}=e;return c.default.createElement("li",{...n&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.default)("breadcrumbs__item",{"breadcrumbs__item--active":a})},t,c.default.createElement("meta",{itemProp:"position",content:String(l+1)}))}t.BreadcrumbsBase=e=>{let{homePage:t,homePageLink:a,breadcrumbs:l}=e;return l?c.default.createElement("nav",{className:(0,u.default)(d.ThemeClassNames.docs.docBreadcrumbs,m.default.breadcrumbsContainer),"aria-label":(0,i.translate)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},c.default.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},!!t&&c.default.createElement(o.default,{to:a,className:(0,u.default)("breadcrumbs__item")},c.default.createElement(n.Typography,{variant:"body3",component:"span"},t)),l.map(((e,t)=>{const a=t===l.length-1;return c.default.createElement(p,{key:t,active:a,index:t,addMicrodata:!!e.href},c.default.createElement(f,{href:e.href,isLast:a},e.label))})))):null},t.default=function(){const e=(0,s.useSidebarBreadcrumbs)(),a=(0,s.useHomePageRoute)(),l=(0,r.useActivePlugin)();if(!e)return null;const n=l?.pluginData.path;return c.default.createElement(t.BreadcrumbsBase,{homePage:a&&(0,i.translate)({id:"theme.docs.breadcrumbs.homePageLabel",message:"Home"}),breadcrumbs:e,homePageLink:n})}},28599:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0});const l=a(97582),n=l.__importDefault(a(67294)),o=l.__importDefault(a(86010)),r=a(82818),d=a(53458),s=l.__importDefault(a(82681)),i=l.__importDefault(a(4204));t.default=function(e){let{children:t}=e;const a=function(){const{metadata:e,frontMatter:t,contentTitle:a}=(0,d.useDoc)();return t.hide_title||void 0!==a?null:e.title}();return n.default.createElement("div",{className:(0,o.default)(r.ThemeClassNames.docs.docMarkdown,"markdown")},a&&n.default.createElement("header",null,n.default.createElement(i.default,{as:"h1"},a)),n.default.createElement(s.default,null,t))}},27507:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useDocTOC=void 0;const l=a(97582),n=a(82818),o=a(53458),r=l.__importDefault(a(78072)),d=l.__importDefault(a(28599)),s=l.__importDefault(a(47211)),i=l.__importDefault(a(42768)),u=l.__importDefault(a(55938)),c=l.__importDefault(a(90114)),m=l.__importDefault(a(38963)),f=l.__importDefault(a(23120)),p=l.__importDefault(a(86010)),_=l.__importDefault(a(67294)),b=a(89164),g=a(75846),v=l.__importDefault(a(22221));function h(){const{frontMatter:e,toc:t}=(0,o.useDoc)(),a=(0,n.useWindowSize)(),l=(0,b.useMedia)("(min-width: 1200px)"),r=e.hide_table_of_contents,d=!r&&t.length>0;return{hidden:r,mobile:d?_.default.createElement("div",{className:v.default.tocMobile},_.default.createElement(c.default,null)):void 0,desktop:d&&(l||"ssr"===a)?_.default.createElement(u.default,null):void 0}}t.useDocTOC=h,t.default=function(e){let{children:t}=e;const a=h();return _.default.createElement("div",{className:(0,p.default)("row",v.default.docItemGrid)},_.default.createElement("div",{className:(0,p.default)(v.default.docItemCol)},_.default.createElement(f.default,null),_.default.c