(self.webpackChunkspeice_io=self.webpackChunkspeice_io||[]).push([["6909"],{3601:function(e,t,n){"use strict";n.r(t)},17686:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>N,Ep:()=>f,lX:()=>x,q_:()=>C,ob:()=>p});varr=n("16019");functiona(e){return"/"===e.charAt(0)}functiono(e,t){for(varn=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}leti=function(e,t){void0===t&&(t="");varn,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){varc=i[i.length-1];n="."===c||".."===c||""===c}elsen=!1;for(vard=0,f=i.length;f>=0;f--){varp=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");u&&""!==i[0]&&(!i[0]||!a(i[0]))&&i.unshift("");varh=i.join("/");returnn&&"/"!==h.substr(-1)&&(h+="/"),h};varl=n("21835");functions(e){return"/"===e.charAt(0)?e:"/"+e}functionu(e){return"/"===e.charAt(0)?e.substr(1):e}functionc(e,t){varn,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?e.substr(t.length):e}functiond(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}functionf(e){vart=e.pathname,n=e.search,r=e.hash,a=t||"/";returnn&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}functionp(e,t,n,a){varo,l,s,u,c,d;if("string"==typeofe){;s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t}elsevoid0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void0!==t&&void0===o.state&&(o.state=t);try{o.pathname=decodeURI(o.pathname)}catch(e){if(einstanceofURIError)throwURIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throwe}returnn&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:!o.pathname&&(o.pathname="/"),o}functionh(){vare=null,t=[];return{setPrompt:function(t){returne=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){varo="function"==typeofe?e(t,n):e;"string"==typeofo?"function"==typeofr?r(o,a):a(!0):a(!1!==o)}elsea(!0)},appendListener:function(e){varn=!0;functionr(){n&&e.apply(void0,arguments)}returnt.push(r),function(){n=!1,t=t.filter(function(e){returne!==r})}},notifyListeners:function(){for(vare=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){returne.apply(void0,n)})}}}varg=!!("undefined"!=typeofwindow&&window.document&&window.document.createElement);functionm(e,t){t(window.confirm(e))}vary="popstate",b="hashchange";functionv(){try{returnwindow.history.state||{}}catch(e){return{}}}functionx(e){void0===e&&(e={}),g||(0,l.Z)(!1);vart,n=window.history;vara=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"inwindow.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,x=void0!==u&&u,w=i.getUserConfirmation,k=void0===w?m:w,S=i.keyLength,E=void0===S?6:S,_=e.basename?d(s(e.basename)):"";functionC(e){vart=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return_&&(o=c(o,_)),p(o,r,n)}functionT(){returnMath.random().toString(36).substr(2,E)}varN=h();functionA(e){(0,r.Z)(B,e),B.length=n.length,N.notifyListeners(B.location,B.action)}functionO(e){if(!(void0===e.state&&-1===navigator.userAgent.indexOf("CriOS")))L(C(e.state))}functionP(){L(C(v()))}varj=!1;functionL(e){j?(j=!1,A()):N.confirmTransitionTo(e,"POP",k,function(t){t?A({action:"POP",location:e}):function(e){vart=B.location,n=I.indexOf(t.key);-1===n&&(n=0);varr=I.indexOf(e.key);-1===r&&(r=0);vara=n-r;a&&(j=!0,F(
-${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}(t,o).link;if(!s)throw Error(`DocSidebarNavbarItem:SidebarwithID"${t}"doesn'thaveanythingtobelinkedto.`);return(0,r.jsx)(eb,{exact:!0,...i,isActive:()=>l?.sidebar===t,label:n??s.label,to:s.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e,i=e0(a)[0],l=t??i.label,s=n??e1(i).path;return(0,r.jsx)(eb,{...o,label:l,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e,{search:c,hash:d}=(0,s.TH)(),f=eU(n),p=eB(n).versions,{savePreferredVersionName:h}=eQ(n),g=[...o,...p.map(function(e){let t=e2(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}}),...i],m=e0(n)[0],y=t&&g.length>1?(0,u.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):m.label,b=t&&g.length>1?void 0:e2(m,f).path;return g.length<=1?(0,r.jsx)(eb,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(eE,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function e4(e){var t,n;let{type:a,...o}=e;let i=e3[t=a,n=o,t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!i)throw Error(`NoNavbarItemcomponentfoundfortype"${a}".`);return(0,r.jsx)(i,{...o})}function e9(){let e=z(),t=(0,x.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(e4,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function e6(e){return(0,r.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,r.jsx)(u.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function e8(){let e=0===(0,x.L)().navbar.items.length,t=W();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(e6,{onClick:()=>t.hide()}),t.content]})}function e5(){let e=z();return(!function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender)?(0,r.jsx)(V,{header:(0,r.jsx)(ec,{}),primaryMenu:(0,r.jsx)(e9,{}),secondaryMenu:(0,r.jsx)(e8,{})}):null}let e7={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function te(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function tt(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,x.L)(),l=z(),{navbarRef:s,isNavbarVisible:f}=function(e){let[t,n]=(0,a.useState)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(0),i=(0,a.useCallback)(e=>{null!==e&&(o.current=e.getBoundingClientRect().height)},[]);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{scrollEventsEnabledRef:n}=function(){let e=(0,a.useContext)(B);if(null==e)throw new c.i6("ScrollControllerProvider");return e}(),r=(0,a.useRef)(U()),o=(0,c.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=U();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}((t,a)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current){n(!0);return}if(r.current){r.current=!1;return}let l=a?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)}),d(t=>{if(!e)return;let a=t.location.hash;if(a?document.getElementById(a.substring(1)):void 0){r.current=!0,n(!1);return}n(!0)}),{navbarRef:i,isNavbarVisible:t}}(n);return(0,r.jsxs)("nav",{ref:s,"aria-label":(0,u.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[e7.navbarHideable,!f&&e7.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navb
PleaseonlycallstorageAPIsineffectsandeventhandlers.`)}return{get:t,set:t,del:t,listen:t}}(s);let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if("undefined"==typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){return function(e){!i&&(console.warn(`Docusaurusbrowserstorageisnotavailable.