1
|
"use strict";(self.webpackChunkdocuments=self.webpackChunkdocuments||[]).push([[6103],{65203:(e,n,t)=>{t.r(n),t.d(n,{default:()=>v});t(67294);var i=t(36905),a=t(10833),o=t(35281),s=t(9460),l=t(61460),r=t(30390),c=t(95999),d=t(32244),m=t(85893);function u(e){const{nextItem:n,prevItem:t}=e;return(0,m.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,m.jsx)(d.Z,{...t,subLabel:(0,m.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,m.jsx)(d.Z,{...n,subLabel:(0,m.jsx)(c.Z,{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 h(){const{assets:e,metadata:n}=(0,s.C)(),{title:t,description:i,date:o,tags:l,authors:r,frontMatter:c}=n,{keywords:d}=c,u=e.image??c.image;return(0,m.jsxs)(a.d,{title:t,description:i,keywords:d,image:u,children:[(0,m.jsx)("meta",{property:"og:type",content:"article"}),(0,m.jsx)("meta",{property:"article:published_time",content:o}),r.some((e=>e.url))&&(0,m.jsx)("meta",{property:"article:author",content:r.map((e=>e.url)).filter(Boolean).join(",")}),l.length>0&&(0,m.jsx)("meta",{property:"article:tag",content:l.map((e=>e.label)).join(",")})]})}var f=t(39407),g=t(22212);function x(e){let{sidebar:n,children:t}=e;const{metadata:i,toc:a}=(0,s.C)(),{nextItem:o,prevItem:c,frontMatter:d,unlisted:h}=i,{hide_table_of_contents:x,toc_min_heading_level:v,toc_max_heading_level:p}=d;return(0,m.jsxs)(l.Z,{sidebar:n,toc:!x&&a.length>0?(0,m.jsx)(f.Z,{toc:a,minHeadingLevel:v,maxHeadingLevel:p}):void 0,children:[h&&(0,m.jsx)(g.Z,{}),(0,m.jsx)(r.Z,{children:t}),(o||c)&&(0,m.jsx)(u,{nextItem:o,prevItem:c})]})}function v(e){const n=e.content;return(0,m.jsx)(s.n,{content:e.content,isBlogPostPage:!0,children:(0,m.jsxs)(a.FG,{className:(0,i.Z)(o.k.wrapper.blogPages,o.k.page.blogPostPage),children:[(0,m.jsx)(h,{}),(0,m.jsx)(x,{sidebar:e.sidebar,children:(0,m.jsx)(n,{})})]})})}},93743:(e,n,t)=>{t.d(n,{Z:()=>g});var i=t(67294),a=t(86668);function o(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):i.push(a)})),i}function s(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=s({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function l(e){const n=e.getBoundingClientRect();return n.top===n.bottom?l(e.parentNode):n}function r(e,n){let{anchorTopOffset:t}=n;const i=e.find((e=>l(e).top>=t));if(i){return function(e){return e.top>0&&e.bottom<window.innerHeight/2}(l(i))?i:e[e.indexOf(i)-1]??null}return e[e.length-1]??null}function c(){const e=(0,i.useRef)(0),{navbar:{hideOnScroll:n}}=(0,a.L)();return(0,i.useEffect)((()=>{e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=c();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:s}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),l=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let a=n;a<=t;a+=1)i.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:o,maxHeadingLevel:s}),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(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,t])}var m=t(33692),u=t(85893);function h(e){let{toc:n,className:t,linkClassName:i,isChild:a}=e;return n.length?(0,u.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,u.jsxs)("li",{children:[(0,u.jsx)(m.Z,{to:`#${e.id}`,className:i??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,u.jsx)(h,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}const f=i.memo(h);function g(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:l="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:m,...h}=e;const g=(0,a.L)(),x=c??g.tableOfContents.minHeadingLevel,v=m??g.tableOfContents.maxHeadingLevel,p=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,i.useMemo)((()=>s({toc:o(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:x,maxHeadingLevel:v});return d((0,i.useMemo)((()=>{if(l&&r)return{linkClassName:l,linkActiveClassName:r,minHeadingLevel:x,maxHeadingLevel:v}}),[l,r,x,v])),(0,u.jsx)(f,{toc:p,className:t,linkClassName:l,...h})}},39407:(e,n,t)=>{t.d(n,{Z:()=>c});t(67294);var i=t(36905),a=t(93743);const o={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var s=t(85893);const l="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,s.jsx)("div",{className:(0,i.Z)(o.tableOfContents,"thin-scrollbar",n),children:(0,s.jsx)(a.Z,{...t,linkClassName:l,linkActiveClassName:r})})}},22212:(e,n,t)=>{t.d(n,{Z:()=>h});t(67294);var i=t(36905),a=t(95999),o=t(35742),s=t(85893);function l(){return(0,s.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,s.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,s.jsx)(o.Z,{children:(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(35281),m=t(99444);function u(e){let{className:n}=e;return(0,s.jsx)(m.Z,{type:"caution",title:(0,s.jsx)(l,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,s.jsx)(r,{})})}function h(e){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{}),(0,s.jsx)(u,{...e})]})}},99444:(e,n,t)=>{t.d(n,{Z:()=>w});t(67294);var i=t(94697),a=t(86010),o=t(95999),s=t(35281);const l={admonition:"admonition_Gfwi",admonitionHeading:"admonitionHeading_f1Ed",admonitionIcon:"admonitionIcon_kpSf",admonitionContent:"admonitionContent_UjKb"};var r=t(48944),c=t(85893);function d(e){let{type:n,className:t,children:i}=e;return(0,c.jsx)("div",{className:(0,a.Z)(s.k.common.admonition,s.k.common.admonitionType(n),l.admonition,t),children:i})}function m(e){let{icon:n,title:t,id:i}=e,o=0,s=t;"string"==typeof t?(o=t.match?(t.toString().match(/^#+/)||[""])[0].length:0,s=o>0?t.replace(/^#+/,"").trim():t):"string"==typeof t[0]&&(o=t[0].match?(t[0].match(/^#+/)||[""])[0].length:0,s=o>0?[t[0].replace(/^#+/,"").trim(),...t.slice(1)]:t);const d=(0,a.Z)("anchor","title",r.Z.anchorWithStickyNavbar);return(0,c.jsxs)("div",{className:l.admonitionHeading,children:[(0,c.jsx)("span",{className:l.admonitionIcon,children:n}),3==o?(0,c.jsx)("h3",{id:i,className:d,children:s}):4==o?(0,c.jsx)("h4",{id:i,className:d,children:s}):5==o?(0,c.jsx)("h5",{id:i,className:d,children:s}):6==o?(0,c.jsx)("h6",{id:i,className:d,children:s}):(0,c.jsx)(c.Fragment,{children:s})]})}function u(e){let{children:n}=e;return n?(0,c.jsx)("div",{className:l.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:i,children:a,className:o,id:s}=e;return(0,c.jsxs)(d,{type:n,className:o,children:[(0,c.jsx)(m,{title:i,icon:t,id:s}),(0,c.jsx)(u,{children:a})]})}function f(e){return(0,c.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,c.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const g={icon:(0,c.jsx)(f,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,c.jsx)(h,{...g,...e,className:(0,a.Z)("alert alert--secondary",e.className),children:e.children})}function v(e){return(0,c.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,c.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const p={icon:(0,c.jsx)(v,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,c.jsx)(h,{...p,...e,className:(0,a.Z)("alert alert--success",e.className),children:e.children})}function b(e){return(0,c.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,c.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const N={icon:(0,c.jsx)(b,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function C(e){return(0,c.jsx)(h,{...N,...e,className:(0,a.Z)("alert alert--info",e.className),children:e.children})}function L(e){return(0,c.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,c.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const Z={icon:(0,c.jsx)(L,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function H(e){return(0,c.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,c.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const _={icon:(0,c.jsx)(H,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const k={icon:(0,c.jsx)(L,{}),title:(0,c.jsx)(o.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const y={...{note:x,tip:j,info:C,warning:function(e){return(0,c.jsx)(h,{...Z,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,c.jsx)(h,{..._,...e,className:(0,a.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,c.jsx)(x,{title:"secondary",...e}),important:e=>(0,c.jsx)(C,{title:"important",...e}),success:e=>(0,c.jsx)(j,{title:"success",...e}),caution:function(e){return(0,c.jsx)(h,{...k,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})}}};function w(e){const n=(0,i.X)(e),t=(a=n.type,y[a]||(console.warn(`No admonition component found for admonition type "${a}". Using Info as fallback.`),y.info));var a;return(0,c.jsx)(t,{...n})}},45127:(e,n,t)=>{t.d(n,{Z:()=>s});t(67294);var i=t(7376);const a={bln:"bln_ckWC",bleft:"bleft_lBjk",gityo:"gityo_f5mA",bright:"bright_RGpM",thought:"thought_gn5Z",smile:"smile_ibE5",weary:"weary_f8GU",anger:"anger_rz37",sorry:"sorry_kSJN",search:"search_uoYu"};var o=t(85893);const s={...i.Z,MessageBubble:function(e){let{children:n,speaker:t,align:i,id:s}=e,l="left"===i?[a.bln,a.bleft].join(" "):[a.bln,a.bright].join(" ");return(0,o.jsx)("div",{className:l,"data-speaker":t,id:s,children:n})}}}}]);
|