mirror of
https://github.com/bspeice/speice.io
synced 2025-01-13 11:10:15 -05:00
36 lines
406 KiB
JavaScript
36 lines
406 KiB
JavaScript
|
(self.webpackChunkspeice_io=self.webpackChunkspeice_io||[]).push([["6909"],{92132:function(e,t,n){"use strict";n.r(t)},59487:function(e,t,n){"use strict";n.r(t)},31381:function(e,t,n){"use strict";n.d(t,{PP:()=>N,lX:()=>x,ob:()=>p,Ep:()=>f,q_:()=>C});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){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.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;"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):(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,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){!(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){var n,r,a,o,i;t?A({action:"POP",location:e}):(n=e,r=B.location,-1===(a=I.indexOf(r.key))&&(a=0),-1===(o=I.indexOf(n.key))&&(o=0),(i=a-o)&&(j=!0,F(i)))})}var R=C(v()),I=[R.key];functio
|
||
|
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(`
|
||
|
<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;">${e}</span> ${"/"===e?" (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 Z=n("15514"),H=n("6735");function W(){let e=(0,H.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("17059");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);return t&&!t.includes("undefined")?Y(t).catch(()=>{}):Promise.resolve()}))),preload:e=>!!et(e)&&(X.add(e),F(e))});if(e=n.hmd(e),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)(Z.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()}},2502: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-1736007764752.json","lunrIndex":"lunr-index-1736007764752.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.7.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.
|
||
|
Available doc ids are:
|
||
|
- ${eM(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)(eh,{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}=eI(o),s=function(e,t){let n=eV(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)(eh,{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=eV(a)[0],l=t??i.label,s=n??eG(i).path;return(0,r.jsx)(eh,{...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=eI(n),p=eR(n).versions,{savePreferredVersionName:h}=eH(n),g=[...o,...p.map(function(e){let t=eq(e,f);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}}),...i],m=eV(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:eq(m,f).path;return g.length<=1?(0,r.jsx)(eh,{...l,mobile:t,label:y,to:b,isActive:a?()=>!1:void 0}):(0,r.jsx)(ev,{...l,mobile:t,label:y,to:b,items:g,isActive:a?()=>!1:void 0})}};function eK(e){let{type:t,...n}=e,a=eY[t&&"default"!==t?t:"items"in n?"dropdown":"default"];if(!a)throw Error(`No NavbarItem component found for type "${t}".`);return(0,r.jsx)(a,{...n})}function eQ(){let e=M(),t=(0,v.L)().navbar.items;return(0,r.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,a.createElement)(eK,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function eX(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 eJ(){let e=0===(0,v.L)().navbar.items.length,t=U();return(0,r.jsxs)(r.Fragment,{children:[!e&&(0,r.jsx)(eX,{onClick:()=>t.hide()}),t.content]})}function e0(){let e=M();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)(Z,{header:(0,r.jsx)(el,{}),primaryMenu:(0,r.jsx)(eQ,{}),secondaryMenu:(0,r.jsx)(eJ,{})}):null}let e1={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function e2(e){return(0,r.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function e3(e){let{children:t}=e,{navbar:{hideOnScroll:n,style:i}}=(0,v.L)(),l=M(),{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)(D);if(null==e)throw new c.i6("ScrollControllerProvider");return e}(),r=(0,a.useRef)(z()),o=(0,c.zX)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=z();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&&[e1.navbarHideable,!f&&e1.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":l.
|
||
|
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)(eK,{...e})},t))})}function e5(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 e7(){let e=M(),t=(0,v.L)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}return[e.filter(t),e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e5,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(e6,{}),(0,r.jsx)(eo,{}),(0,r.jsx)(e8,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e8,{items:a}),(0,r.jsx)(K,{className:"colorModeToggle_DEke"}),!o&&(0,r.jsx)(eO,{children:(0,r.jsx)(eA,{})})]})})}function te(){return(0,r.jsx)(e3,{children:(0,r.jsx)(e7,{})})}function tt(e){let{item:t}=e,{to:n,href:a,label:i,prependBaseUrlToHref:l,className:s,...u}=t,c=(0,X.ZP)(n),d=(0,X.ZP)(a,{forcePrependBaseUrl:!0});return(0,r.jsxs)(Q.Z,{className:(0,o.Z)("footer__link-item",s),...a?{href:l?d:a}:{to:c},...u,children:[i,a&&!(0,es.Z)(a)&&(0,r.jsx)(ec,{})]})}function tn(e){let{item:t}=e;return t.html?(0,r.jsx)("li",{className:(0,o.Z)("footer__item",t.className),dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(tt,{item:t})},t.href??t.to)}function tr(e){let{column:t}=e;return(0,r.jsxs)("div",{className:(0,o.Z)("col footer__col",t.className),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)(tn,{item:e},t))})]})}function ta(e){let{columns:t}=e;return(0,r.jsx)("div",{className:"row footer__links",children:t.map((e,t)=>(0,r.jsx)(tr,{column:e},t))})}function to(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function ti(e){let{item:t}=e;return t.html?(0,r.jsx)("span",{className:(0,o.Z)("footer__link-item",t.className),dangerouslySetInnerHTML:{__html:t.html}}):(0,r.jsx)(tt,{item:t})}function tl(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)(ti,{item:e}),t.length!==n+1&&(0,r.jsx)(to,{})]},n))})})}function ts(e){let{links:t}=e;return"title"in t[0]?(0,r.jsx)(ta,{columns:t}):(0,r.jsx)(tl,{links:t})}let tu={footerLogoLink:"footerLogoLink_BH7S"};function tc(e){let{logo:t}=e,{withBaseUrl:n}=(0,X.Cg)(),a={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,r.jsx)(en,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:a,width:t.width,height:t.height,style:t.style})}function td(e){let{logo:t}=e;return t.href?(0,r.jsx)(Q.Z,{href:t.href,className:tu.footerLogoLink,target:t.target,children:(0,r.jsx)(tc,{logo:t})}):(0,r.jsx)(tc,{logo:t})}function tf(e){let{copyright:t}=e;return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function tp(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 th=a.memo(function(){let{footer:e}=(0,v.L)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(tp,{style:o,links:n&&n.length>0&&(0,r.jsx)(ts,{links:n}),logo:a&&(0,r.jsx)(td,{logo:a}),copyright:t&&(0,r.jsx)(tf,{copyright:t})})}),tg=(0,c.Qc)([H.S,function(e){let{children:t}=e,n=function(){let{announcementBar:e}=(0,v.L)(),t=(0,x.Z)(),[n,r]=(0,a.useState)(()=>!!t&&E());(0,a.useEffect)(()=>{r(E())},[]);let o=(0,a.useCallback)(()=>{_(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=S.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;S.set(t),a&&_(!1),(a||!E())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:o}),[e,n,o])}();return(0,r.jsx)(C.Pr
|
||
|
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}}(n);let s=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){var t;return t=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.`,t),i=!0),null}}(t?.persistence);return null===s?l:{get:()=>{try{return s.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{let t=s.getItem(n);s.setItem(n,e),o({key:n,oldValue:t,newValue:e,storage:s})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{let e=s.getItem(n);s.removeItem(n),o({key:n,oldValue:e,newValue:null,storage:s})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===s&&t.key===n&&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=${n}`,e),()=>{}}}}}},48229:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(87262),a=n(16550),o=n(43781);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){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${n===i?`${c}`:`${c}${n}/`}${d}`}}}},66009:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(87262);function a(){return(0,r.Z)().siteConfig.themeConfig}},71684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){let{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#")||void 0===n)return e;let[i]=e.split(/[#?]/),l="/"===i||i===r?i:n?a(i):o(i);return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(76611);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},87724:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},43781: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=n(71684);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(a).default}}),n(76611);var o=n(87724);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},76611: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 2025 Bradlee Speice",style:"light"},prism:{theme:{plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comm
|