Files
OpenSign/assets/js/ccc49370.8f79f73c.js
T

1 line
6.6 KiB
JavaScript

"use strict";(globalThis.webpackChunkOpenSign_Docs=globalThis.webpackChunkOpenSign_Docs||[]).push([[3249],{73858(e,n,t){t.r(n),t.d(n,{default:()=>b});t(96540);var a=t(18215),s=t(45500),i=t(17559),r=t(44096),o=t(28027),l=t(82907),c=t(21312),d=t(39022),u=t(74848);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.translate)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.A,{...t,subLabel:(0,u.jsx)(c.default,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer post"})}),n&&(0,u.jsx)(d.A,{...n,subLabel:(0,u.jsx)(c.default,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older post"}),isNext:!0})]})}function f(){const{assets:e,metadata:n}=(0,r.e7)(),{title:t,description:a,date:i,tags:o,authors:l,frontMatter:c}=n,{keywords:d}=c,m=e.image??c.image;return(0,u.jsxs)(s.be,{title:c.title_meta??t,description:a,keywords:d,image:m,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:i}),l.some(e=>e.url)&&(0,u.jsx)("meta",{property:"article:author",content:l.map(e=>e.url).filter(Boolean).join(",")}),o.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:o.map(e=>e.label).join(",")})]})}var g=t(5260);function h(){const e=(0,r.J_)();return(0,u.jsx)(g.A,{children:(0,u.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e)})})}var v=t(67763),p=t(41689);function x({sidebar:e,children:n}){const{metadata:t,toc:a}=(0,r.e7)(),{nextItem:s,prevItem:i,frontMatter:c}=t,{hide_table_of_contents:d,toc_min_heading_level:f,toc_max_heading_level:g}=c;return(0,u.jsxs)(o.A,{sidebar:e,toc:!d&&a.length>0?(0,u.jsx)(v.A,{toc:a,minHeadingLevel:f,maxHeadingLevel:g}):void 0,children:[(0,u.jsx)(p.default,{metadata:t}),(0,u.jsx)(l.A,{children:n}),(s||i)&&(0,u.jsx)(m,{nextItem:s,prevItem:i})]})}function b(e){const n=e.content;return(0,u.jsx)(r.in,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(s.e3,{className:(0,a.A)(i.G.wrapper.blogPages,i.G.page.blogPostPage),children:[(0,u.jsx)(f,{}),(0,u.jsx)(h,{}),(0,u.jsx)(x,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},32234(e,n,t){t.d(n,{A:()=>c});t(96540);var a=t(18215),s=t(17559),i=t(44084),r=t(13472),o=t(74848);function l({className:e}){return(0,o.jsx)(r.A,{type:"caution",title:(0,o.jsx)(i.Rc,{}),className:(0,a.A)(e,s.G.common.unlistedBanner),children:(0,o.jsx)(i.Uh,{})})}function c(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.AE,{}),(0,o.jsx)(l,{...e})]})}},41689(e,n,t){t.r(n),t.d(n,{default:()=>d});t(96540);var a=t(18215),s=t(44084),i=t(17559),r=t(13472),o=t(74848);function l({className:e}){return(0,o.jsx)(r.A,{type:"caution",title:(0,o.jsx)(s.Yh,{}),className:(0,a.A)(e,i.G.common.draftBanner),children:(0,o.jsx)(s.TT,{})})}var c=t(32234);function d({metadata:e}){const{unlisted:n,frontMatter:t}=e;return(0,o.jsxs)(o.Fragment,{children:[(n||t.unlisted)&&(0,o.jsx)(c.A,{}),t.draft&&(0,o.jsx)(l,{})]})}},67763(e,n,t){t.d(n,{A:()=>o});t(96540);var a=t(18215),s=t(19114);const i="tableOfContents_bqdL";var r=t(74848);function o({className:e,...n}){return(0,r.jsx)("div",{className:(0,a.A)(i,"thin-scrollbar",e),children:(0,r.jsx)(s.A,{...n,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}},19114(e,n,t){t.d(n,{A:()=>u});var a=t(96540),s=t(6342),i=t(37243),r=t(20366),o=t(28774),l=t(74848);function c({toc:e,className:n,linkClassName:t,isChild:a}){return e.length?(0,l.jsx)("ul",{className:a?void 0:n,children:e.map(e=>(0,l.jsxs)("li",{children:[(0,l.jsx)(o.default,{to:`#${e.id}`,className:t??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,l.jsx)(c,{isChild:!0,toc:e.children,className:n,linkClassName:t})]},e.id))}):null}const d=a.memo(c);function u({toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:t="table-of-contents__link",linkActiveClassName:o,minHeadingLevel:c,maxHeadingLevel:u,...m}){const f=(0,s.p)(),g=c??f.tableOfContents.minHeadingLevel,h=u??f.tableOfContents.maxHeadingLevel,v=(0,i.h)({toc:e,minHeadingLevel:g,maxHeadingLevel:h}),p=(0,a.useMemo)(()=>{if(t&&o)return{linkClassName:t,linkActiveClassName:o,minHeadingLevel:g,maxHeadingLevel:h}},[t,o,g,h]);return(0,r.i)(p),(0,l.jsx)(d,{toc:v,className:n,linkClassName:t,...m})}},20366(e,n,t){t.d(n,{i:()=>l});var a=t(96540),s=t(6342);function i(e){const n=e.getBoundingClientRect();return n.top===n.bottom?i(e.parentNode):n}function r(e,{anchorTopOffset:n}){const t=e.find(e=>i(e).top>=n);if(t){return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(i(t))?t:e[e.indexOf(t)-1]??null}return e[e.length-1]??null}function o(){const e=(0,a.useRef)(0),{navbar:{hideOnScroll:n}}=(0,s.p)();return(0,a.useEffect)(()=>{e.current=n?0:document.querySelector(".navbar").clientHeight},[n]),e}function l(e){const n=(0,a.useRef)(void 0),t=o();(0,a.useEffect)(()=>{if(!e)return()=>{};const{linkClassName:a,linkActiveClassName:s,minHeadingLevel:i,maxHeadingLevel:o}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(a),l=function({minHeadingLevel:e,maxHeadingLevel:n}){const t=[];for(let a=e;a<=n;a+=1)t.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(t.join()))}({minHeadingLevel:i,maxHeadingLevel:o}),c=r(l,{anchorTopOffset:t.current}),d=e.find(e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e));e.forEach(e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(s),e.classList.add(s),n.current=e):e.classList.remove(s)}(e,e===d)})}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}},[e,t])}},37243(e,n,t){t.d(n,{h:()=>o,v:()=>i});var a=t(96540);function s(e){const n=e.map(e=>({...e,parentIndex:-1,children:[]})),t=Array(7).fill(-1);n.forEach((e,n)=>{const a=t.slice(2,e.level);e.parentIndex=Math.max(...a),t[e.level]=n});const a=[];return n.forEach(e=>{const{parentIndex:t,...s}=e;t>=0?n[t].children.push(s):a.push(s)}),a}function i(e){return(0,a.useMemo)(()=>s(e),[e])}function r({toc:e,minHeadingLevel:n,maxHeadingLevel:t}){return e.flatMap(e=>{const a=r({toc:e.children,minHeadingLevel:n,maxHeadingLevel:t});return function(e){return e.level>=n&&e.level<=t}(e)?[{...e,children:a}]:a})}function o({toc:e,minHeadingLevel:n,maxHeadingLevel:t}){return(0,a.useMemo)(()=>r({toc:s(e),minHeadingLevel:n,maxHeadingLevel:t}),[e,n,t])}}}]);