speice.io/assets/js/main.d461af80.js

36 lines
407 KiB
JavaScript
Raw Permalink Normal View History

(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});var r=n("16019");function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}let i=function(e,t){void 0===t&&(t="");var n,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){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=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("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n("21835");function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){var n,r;return(n=e,r=t,0===n.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(n.charAt(r.length)))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;if("string"==typeof e){;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}else void 0===(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="",void 0!==t&&void 0===o.state&&(o.state=t);try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(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}function h(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var g=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function m(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),g||(0,l.Z)(!1);var t,n=window.history;var a=(-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"in window.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,x=void 0!==u&&u,w=i.getUserConfirmation,k=void 0===w?m:w,S=i.keyLength,E=void 0===S?6:S,_=e.basename?d(s(e.basename)):"";function C(e){var t=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)}function T(){return Math.random().toString(36).substr(2,E)}var N=h();function A(e){(0,r.Z)(B,e),B.length=n.length,N.notifyListeners(B.location,B.action)}function O(e){if(!(void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")))L(C(e.state))}function P(){L(C(v()))}var j=!1;function L(e){j?(j=!1,A()):N.confirmTransitionTo(e,"POP",k,function(t){t?A({action:"POP",location:e}):function(e){var t=B.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(j=!0,F(
document.addEventListener('DOMContentLoaded', function maybeInsertBanner() {
var shouldInsert = typeof window['docusaurus'] === 'undefined';
shouldInsert && insertBanner();
});
function insertBanner() {
var bannerContainer = document.createElement('div');
bannerContainer.id = '__docusaurus-base-url-issue-banner-container';
var bannerHtml = ${JSON.stringify((t=e,`
<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">
<p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>
<p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>
<p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${t}</span> ${"/"===t?" (default value)":""}</p>
<p>We suggest trying baseUrl = <span id="${z}" style="font-weight: bold; color: green;"></span></p>
</div>
`)).replace(/</g,"\\<")};
bannerContainer.innerHTML = bannerHtml;
document.body.prepend(bannerContainer);
var suggestionContainer = document.getElementById('${z}');
var actualHomePagePath = window.location.pathname;
var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'
? actualHomePagePath
: actualHomePagePath + '/';
suggestionContainer.innerHTML = suggestedBaseUrl;
}
`)})})})}function B(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,x.Z)(),{pathname:n}=(0,g.TH)();return t&&n===e?(0,i.jsx)($,{}):null}function U(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,x.Z)(),o=(0,w.ZP)(e),{htmlLang:l,direction:s}=a[r];return(0,i.jsxs)(v.Z,{children:[(0,i.jsx)("html",{lang:l,dir:s}),(0,i.jsx)("title",{children:t}),(0,i.jsx)("meta",{property:"og:title",content:t}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,i.jsx)("link",{rel:"icon",href:o})]})}var H=n("16893"),Z=n("7227");function W(){let e=(0,Z.Z)();return(0,i.jsx)(v.Z,{children:(0,i.jsx)("html",{"data-has-hydrated":e})})}let V=(r=h.Z,void 0===a&&(a={}),void 0===o&&(o={}),r?l.createElement(g.rs,o,r.map(function(e,t){return l.createElement(g.AW,{key:e.key||t,path:e.path,exact:e.exact,strict:e.strict,render:function(t){return e.render?e.render((0,m.Z)({},t,{},a,{route:e})):l.createElement(e.component,(0,m.Z)({},t,a,{route:e}))}})})):null);function G(){let e=function(e){if(P.has(e.pathname))return{...e,pathname:P.get(e.pathname)};if(y(h.Z,e.pathname).some(e=>{let{route:t}=e;return!0===t.exact}))return P.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return P.set(e.pathname,t),{...e,pathname:t}}((0,g.TH)());return(0,i.jsx)(D,{location:e,children:V})}var q=n("37138");let Y=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("undefined"==typeof document){n();return}let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var K=n("96464");let Q=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee=e=>!J()&&!X.has(e)&&!Q.has(e),et=e=>!J()&&!X.has(e),en=e=>Object.entries(q).filter(t=>{let[n]=t;return n.replace(/-[^-]+$/,"")===e}).flatMap(e=>{let[,t]=e;return Object.values((0,K.Z)(t))}),er=Object.freeze({prefetch:e=>!!ee(e)&&(Q.add(e),Promise.all(y(h.Z,e).flatMap(e=>en(e.route.path)).map(e=>{let t=n.gca(e);if(t&&!t.includes("undefined"))return Y(t).catch(()=>{});return Promise.resolve()}))),preload:e=>!!et(e)&&(X.add(e),F(e))});e=n.hmd(e);if(f.Z.canUseDOM){window.docusaurus=er;let t=document.getElementById("__docusaurus"),n=(0,i.jsx)(u.B6,{children:(0,i.jsx)(function(e){let{children:t}=e;return"hash"===d.default.future.experimental_router?(0,i.jsx)(c.UT,{children:t}):(0,i.jsx)(c.VK,{children:t})},{children:(0,i.jsx)(function(){return(0,i.jsx)(H.Z,{children:(0,i.jsx)(L.M,{children:(0,i.jsxs)(j.t,{children:[(0,i.jsxs)(b,{children:[(0,i.jsx)(U,{}),(0,i.jsx)(O,{}),(0,i.jsx)(B,{}),(0,i.jsx)(G,{})]}),(0,i.jsx)(W,{})]})})})},{})})}),r=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},a=()=>{if(window.docusaurusRoot){window.docusaurusRoot.render(n);return}window.docusaurusRoot=s.hydrateRoot(t,n,{onRecoverableError:r})};F(window.location.pathname).then(()=>{(0,l.startTransition)(a)}),e.hot&&e.hot.accept()}},31716:function(e,t,n){"use strict";n.d(t,{_:()=>d,M:()=>f});var r=n("85893"),a=n("67294"),o=n("75150"),i=JSON.parse('{"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1734402877596.json","lunrIndex":"lunr-index-1734402877596.json"}}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'),s=n("62627"),u=JSON.parse('{"docusaurusVersion":"3.6.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","
Available doc ids are:
- ${eH(t.map(e=>e.id)).join("\n- ")}`)}return r},[e,n])}(t,o),u=l?.path===s?.path;return null===s||s.unlisted&&!u?null:(0,r.jsx)(eb,{exact:!0,...i,isActive:()=>u||!!l?.sidebar&&l.sidebar===s.sidebar,label:n??s.id,to:s.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:o,...i}=e,{activeDoc:l}=eU(o),s=function(e,t){let n=e0(t);return(0,a.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}".
Available sidebar ids are:
- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}(t,o).link;if(!s)throw Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);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(`No NavbarItem component found for type "${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
Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:
${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(e4,{...e})},t))})}function tl(e){let{left:t,right:n}=e;return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:"navbar__items",children:t}),(0,r.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function ts(){let e=z(),t=(0,x.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}let n=e.filter(t);return[n,e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(tl,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(ta,{}),(0,r.jsx)(es,{}),(0,r.jsx)(ti,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ti,{items:a}),(0,r.jsx)(J,{className:to}),!o&&(0,r.jsx)(eF,{children:(0,r.jsx)(eI,{})})]})})}function tu(){return(0,r.jsx)(tt,{children:(0,r.jsx)(ts,{})})}function tc(e){let{item:t}=e,{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,et.ZP)(n),u=(0,et.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(ee.Z,{className:"footer__link-item",...a?{href:i?u:a}:{to:s},...l,children:[o,a&&!(0,ed.Z)(a)&&(0,r.jsx)(eh,{})]})}function td(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(tc,{item:t})},t.href??t.to)}function tf(e){let{column:t}=e;return(0,r.jsxs)("div",{className:"col footer__col",children:[(0,r.jsx)("div",{className:"footer__title",children:t.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:t.items.map((e,t)=>(0,r.jsx)(td,{item:e},t))})]})}function tp(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(tf,{column:e},t))})}function th(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function tg(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(tc,{item:t})}function tm(e){let{links:t}=e;return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:t.map((e,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(tg,{item:e}),t.length!==n+1&&(0,r.jsx)(th,{})]},n))})})}function ty(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(tp,{columns:t}):(0,r.jsx)(tm,{links:t})}let tb={footerLogoLink:"footerLogoLink_BH7S"};function tv(e){let{logo:t}=e,{withBaseUrl:n}=(0,et.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(eo,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function tx(e){let{logo:t}=e;return t.href?(0,r.jsx)(ee.Z,{href:t.href,className:tb.footerLogoLink,target:t.target,children:(0,r.jsx)(tv,{logo:t})}):(0,r.jsx)(tv,{logo:t})}function tw(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function tk(e){let{style:t,links:n,logo:a,copyright:i}=e;return(0,r.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[n,(a||i)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[a&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:a}),i]})]})})}let tS=a.memo(function(){let{footer:e}=(0,x.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(tk,{style:o,links:n&&n.length>0&&(0,r.jsx)(ty,{links:n}),logo:a&&(0,r.jsx)(tx,{logo:a}),copyright:t&&(0,r.jsx)(tw,{copyright:t})})}),tE=(0,c.Qc)([G.S,function(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,x.L)(),t=(0,w.Z)(),[n,r]=(0,a.useState)(()=>!!t&&_());(0,a.useEffect)(()=>{r(_())},[]);let o=(0,a.useCallback)(()=>{C(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=E.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;E.set(t),a&&C(!1),(a||!_())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:o}),[e,n,o])}();return(0,r.jsx)(T.Provider,{value:n,children:t})},function(e){let{children:t}=e,n=function(){let e=(0,a.useRef)(!
Docusaurus storage APIs are not supposed to be called on the server-rendering process.
Please only call storage APIs in effects and event handlers.`)}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(`Docusaurus browser storage is not available.
Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,e),i=!0)}(e),null}}(t?.persistence);return null===u?l:{get:()=>{try{return u.getItem(s)}catch(e){return console.error(`Docusaurus storage error, can't get key=${s}`,e),null}},set:e=>{try{let t=u.getItem(s);u.setItem(s,e),o({key:s,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${s}=${e}`,t)}},del:()=>{try{let e=u.getItem(s);u.removeItem(s),o({key:s,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${s}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===s&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${s}`,e),()=>{}}}}}},28910:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(2933),a=n(16550),o=n(8365);function i(){let{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,a.TH)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){var n;let{locale:r,fullyQualified:a}=e;return`${a?t:""}${(n=r)===i?`${c}`:`${c}${n}/`}${d}`}}}},30140:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(2933);function a(){return(0,r.Z)().siteConfig.themeConfig}},84994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){var n;let{trailingSlash:r,baseUrl:i}=t;if(e.startsWith("#"))return e;if(void 0===r)return e;let[l]=e.split(/[#?]/);let s="/"===l||l===i?l:(n=l,r?a(n):o(n));return e.replace(l,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(18411);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},64202:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8365:function(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0;let r=n(28395);t.blogPostContainerID="__blog-post-container";var a,o=n(84994);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(o).default}}),n(18411);var i=n(64202);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},18411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},75150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});let r={title:"The Old Speice Guy",tagline:"",favicon:"img/favicon.ico",url:"https://speice.io",baseUrl:"/",organizationName:"bspeice",projectName:"speice.io",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},themes:["@docusaurus/theme-live-codeblock"],presets:[["classic",{docs:!1,blog:{routeBasePath:"/",blogSidebarTitle:"All posts",blogSidebarCount:"ALL",showReadingTime:!0,showLastUpdateTime:!0,feedOptions:{type:["rss","atom"],xslt:!0},onInlineTags:"warn",onInlineAuthors:"warn",onUntruncatedBlogPosts:"warn",remarkPlugins:[null],rehypePlugins:[null]},theme:{customCss:["./src/css/custom.css"]}}]],themeConfig:{navbar:{title:"The Old Speice Guy",logo:{alt:"Sierpinski Gasket",src:"img/logo.svg",srcDark:"img/logo-dark.svg"},items:[{href:"https://github.com/bspeice",position:"right",className:"header-github-link"}],hideOnScroll:!1},footer:{links:[],copyright:"Copyright \xa9 2024 Bradlee Speice",style:"light"},prism:{theme:{plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hs