@san-siva/blogkit-md-cli 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.previewinfo +1 -1
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/diagnostics/route-bundle-stats.json +2 -2
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +4 -4
- package/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/0_lp_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0_2~y_9.js +1 -2
- package/.next/server/chunks/ssr/0_lp_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0_2~y_9.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__00t_org._.js +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__00t_org._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01840lv._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01840lv._.js.map +1 -1
- package/.next/server/chunks/ssr/_0lv77ha._.js +1 -2
- package/.next/server/chunks/ssr/_0lv77ha._.js.map +1 -1
- package/.next/server/chunks/ssr/node_modules_@san-siva_blogkit_dist_esm_0g8ue.5._.js +1 -1
- package/.next/server/chunks/ssr/node_modules_@san-siva_blogkit_dist_esm_0g8ue.5._.js.map +1 -1
- package/.next/server/chunks/ssr/node_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogDynamic_08f0x--.js +1 -1
- package/.next/server/chunks/ssr/node_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogDynamic_08f0x--.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{0mctyrbpi31oq.css → 00_8a-kcrg6q7.css} +1 -1
- package/.next/static/chunks/04spfh4zk.v48.js +1 -0
- package/.next/static/chunks/{0~1o~pfph1d7e.css → 0bc-pt.k0-4l6.css} +1 -1
- package/.next/static/chunks/0iiqid-9zevam.js +1 -0
- package/.next/static/chunks/0pn0qr-ru_nnl.css +1 -0
- package/.next/static/chunks/0uslte40kgvbt.js +1 -0
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/LICENSE +21 -0
- package/README.md +47 -0
- package/package.json +4 -4
- package/.next/static/chunks/0e-qdi9v~qyb2.js +0 -2
- package/.next/static/chunks/0lwnw9e3e9q0y.js +0 -2
- package/.next/static/chunks/0xp3__findzp5.js +0 -1
- package/.next/static/chunks/15eeem.vi1oat.css +0 -1
- /package/.next/static/{8wbkpzXVhtg7WLSyuzNAI → 85znoO73nabF1RHFJRf9H}/_buildManifest.js +0 -0
- /package/.next/static/{8wbkpzXVhtg7WLSyuzNAI → 85znoO73nabF1RHFJRf9H}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{8wbkpzXVhtg7WLSyuzNAI → 85znoO73nabF1RHFJRf9H}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[66986,a=>{"use strict";a.s(["default",0,{"
|
|
1
|
+
module.exports=[66986,a=>{"use strict";a.s(["default",0,{"blog-section":"BlogSection-module_blog-section__NTDM4","blog-section__title":"BlogSection-module_blog-section__title__5-4Oy","blog-section__title--empty":"BlogSection-module_blog-section__title--empty__-di-F","blog-section__title-link":"BlogSection-module_blog-section__title-link__Q4R5T"}])},30553,a=>{"use strict";a.s(["default",0,{"margin-bottom--3":"Blog-module_margin-bottom--3__ir35O",category__header:"Blog-module_category__header__F1K0V",blog:"Blog-module_blog__Lpv6Z",blog__content:"Blog-module_blog__content__RMDiY",blog__sidebar:"Blog-module_blog__sidebar__uSu3l"}])},63319,a=>{"use strict";a.s(["default",0,{"margin-top--1":"CodeBlock-module_margin-top--1__mApFz","margin-bottom--2":"CodeBlock-module_margin-bottom--2__fz9IX","code-block":"CodeBlock-module_code-block__ah1AG","code-block__wrapper":"CodeBlock-module_code-block__wrapper__-IUGO","code-block__header":"CodeBlock-module_code-block__header__93VEU","code-block__header__title":"CodeBlock-module_code-block__header__title__xxZgC","code-block__header__copy":"CodeBlock-module_code-block__header__copy__NCWSg","code-block__header__copy--active":"CodeBlock-module_code-block__header__copy--active__5ByAp","code-block--static":"CodeBlock-module_code-block--static__1gBzz"}])},41487,a=>{"use strict";a.s(["generateIdForBlogTitle",0,a=>a.toLowerCase().replace(/[^\w\d]/g,"-"),"generateSectionHref",0,a=>`?section=${a}`,"generateUrlForBlogTitle",0,a=>encodeURIComponent(a.replace(/[^\w]+/g,"-").toLowerCase())])},74267,a=>{"use strict";a.s(["default",0,{"blog-link":"BlogLink-module_blog-link__X09yI","blog-link__title":"BlogLink-module_blog-link__title__mXr5D","blog-link__description":"BlogLink-module_blog-link__description__Ctack","blog-link__read-more":"BlogLink-module_blog-link__read-more__N1OuD"}])},13871,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogDynamic_08f0x--.js","server/chunks/ssr/node_modules_@react-spring_web_dist_react-spring_web_modern_mjs_05wi954._.js"].map(b=>a.l(b))).then(()=>b(97363)))},72094,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0_lp_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogSectionDynamic_0_2~y_9.js"].map(b=>a.l(b))).then(()=>b(20903)))},69509,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_0b29dha._.js"].map(b=>a.l(b))).then(()=>b(50656)))},38561,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_0~b36w5._.js","server/chunks/ssr/node_modules_04ejn-o._.js"].map(b=>a.l(b))).then(()=>b(99522)))},12551,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0_lp_modules_@san-siva_blogkit_dist_esm_dynamicComponents_BlogLinkDynamic_0qpl2nk.js","server/chunks/ssr/node_modules_@react-spring_web_dist_react-spring_web_modern_mjs_05wi954._.js"].map(b=>a.l(b))).then(()=>b(44484)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=node_modules_%40san-siva_blogkit_dist_esm_0g8ue.5._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/%40san-siva/blogkit/src/utils/index.ts"],"sourcesContent":["export const generateIdForBlogTitle = (title: string) => title.toLowerCase().replace(/[^\\w\\d]/g, '-');\n\nexport const generateUrlForBlogTitle = (title: string) => encodeURIComponent(title.replace(/[^\\w]+/g, '-').toLowerCase());\n\nexport const generateSectionHref = (id: string) => `?section=${id}`;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/%40san-siva/blogkit/src/utils/index.ts"],"sourcesContent":["export const generateIdForBlogTitle = (title: string) => title.toLowerCase().replace(/[^\\w\\d]/g, '-');\n\nexport const generateUrlForBlogTitle = (title: string) => encodeURIComponent(title.replace(/[^\\w]+/g, '-').toLowerCase());\n\nexport const generateSectionHref = (id: string) => `?section=${id}`;\n"],"names":[],"mappings":"60CAAuC,AAAD,GAAmB,EAAL,AAAW,GAAD,QAAY,EAAE,CAAC,OAAO,CAAC,UAAU,CAAE,GAAG,0BAIjE,AAAC,EAAU,CAAK,CAAA,SAAA,EAAY,EAAE,CAAA,6BAF1B,AAAC,GAAkB,EAAL,gBAAuB,CAAC,EAAM,GAAD,IAAQ,CAAC,SAAS,CAAE,GAAG,CAAC,CAAC,WAAW,EAAE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[97363,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(46292),e=a.i(25887),f=a.i(30553);let g=(a,b,c,d)=>{c.current&&document.body.removeEventListener("scrollend",c.current),b.current=!0,c.current=()=>{b.current=!1,c.current=null,d(a);let e=new URL(window.location.href);e.searchParams.set("section",a),window.history.replaceState({},"",e.toString())},document.body.addEventListener("scrollend",c.current,{once:!0})};a.s(["default",0,({children:a,title:h="In this article",jsonLd:i})=>{let j=(0,c.useRef)(new Map),[k,l]=(0,c.useState)(new Map),[m,n]=(0,c.useState)(null),[o,p]=(0,c.useState)(!1),q=(0,c.useRef)(null),r=(0,c.useRef)(null),s=(0,c.useRef)(!1),t=(0,c.useRef)(null),u=(0,c.useRef)(new Map),v=(0,c.useCallback)(([,a],[,b])=>{let c=a.el.compareDocumentPosition(b.el);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0},[]),w=(0,c.useCallback)(()=>{let a=Date.now(),b=new Map,c=Array.from(j.current.entries());c.sort(v);let d=null;for(let[e,{title:f,el:g,isSubSection:h}]of c)d||(d=e),b.set(e,{el:g,title:f,lastUpdatedAt:a,isSubSection:h});0===b.size||(l(b),o||p(!0),m||n(d))},[m,v,o,p]),x=(0,c.useCallback)(()=>{q.current&&clearTimeout(q.current),q.current=setTimeout(()=>{w()},200)},[w]);(0,c.useEffect)(()=>{for(let[a,{el:b}]of k){let c=new IntersectionObserver(([b])=>{if(!b.isIntersecting||s.current||0===document.body.scrollTop)return;n(c=>c!==a||b.isIntersecting?b.isIntersecting?a:c:null);let c=new URL(window.location.href);c.searchParams.set("section",a),window.history.replaceState({},"",c.toString())},{threshold:.1});u.current.set(a,c),c.observe(b)}},[k.size]),(0,c.useEffect)(()=>()=>{if(q.current&&clearTimeout(q.current),r.current&&clearTimeout(r.current),t.current&&document.body.removeEventListener("scrollend",t.current),u.current)for(let a of u.current.values())a.disconnect()},[]);let y=a=>{if(!a)return;let b=a.getBoundingClientRect().top+document.body.scrollTop-100;document.body.scrollTo({top:b,behavior:"smooth"})};(0,c.useEffect)(()=>{let a;if(0===k.size)return;let b=(a=new URL(window.location.href).searchParams.get("section"))||null;if(!b)return;let c=k.get(b);c&&(y(c.el),g(b,s,t,n))},[k.size]);let z=(0,c.useCallback)(a=>{if(!a)return;let{parentRef:b,childRefs:c}=a;if(b){let a=b.dataset.id,c=b.dataset.title;a&&c&&j.current.set(a,{el:b,title:c,isSubSection:!1})}if(Array.isArray(c))for(let a of c){if(!a)continue;let b=a.dataset.id,c=a.dataset.title;b&&c&&j.current.set(b,{el:a,title:c,isSubSection:!0})}x()},[x]),A=a=>{let b=a.currentTarget.dataset.id,c=a.currentTarget.dataset.idx;if(!b||!c)return;let{el:d}=k.get(b)||{};if(d){let a;(a=new URL(window.location.href)).searchParams.set("section",b),window.history.replaceState({},"",a.toString()),y(d),g(b,s,t,n)}},B=(0,e.useSpring)({opacity:+!!o,transform:o?"translateX(0)":"translateX(40px)",config:e.config.gentle});return(0,b.jsxs)("div",{className:f.default.blog,children:[i&&(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}}),(0,b.jsx)("div",{className:f.default.blog__content,children:c.Children.map(a,a=>(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{ref:z}):a)}),(0,b.jsxs)(d.animated.div,{className:f.default.blog__sidebar,style:B,children:[(0,b.jsx)("p",{className:`${f.default["margin-bottom--3"]} ${f.default.category__header}`,children:h}),[...k].map(([a,{title:c,isSubSection:d}],e,g)=>{let h=g[e+1]?.[1]?.isSubSection;return(0,b.jsx)("p",{"data-idx":e,"data-id":a,className:`${f.default.category__title} ${a===m?f.default["category__title--active"]:""} ${d?f.default["category__title--sub"]:""} ${d&&!h?f.default["margin-bottom-imp--2"]:""}`,onClick:A,children:c},a)})]})]})}],97363)}];
|
|
1
|
+
module.exports=[97363,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(46292),e=a.i(25887),f=a.i(30553);let g=(a,b,c,d)=>{c.current&&document.body.removeEventListener("scrollend",c.current),b.current=!0,c.current=()=>{b.current=!1,c.current=null,d(a);let e=new URL(window.location.href);e.searchParams.set("section",a),window.history.replaceState({},"",e.toString())},document.body.addEventListener("scrollend",c.current,{once:!0})},h=a=>{let b=new URL(window.location.href);b.searchParams.set("section",a),window.history.replaceState({},"",b.toString())},i=a=>{if(!a)return;let b=a.getBoundingClientRect().top+document.body.scrollTop-100;document.body.scrollTo({top:b,behavior:"smooth"})};var j={"margin-top":"TocNode-module_margin-top__Ogv5T","padding-top":"TocNode-module_padding-top__AHpKG","margin-top--1":"TocNode-module_margin-top--1__zvFhv","padding-top--1":"TocNode-module_padding-top--1__T8fjh","margin-top--2":"TocNode-module_margin-top--2__34-Iu","padding-top--2":"TocNode-module_padding-top--2__okSvN","margin-top--3":"TocNode-module_margin-top--3__ts-Vt","padding-top--3":"TocNode-module_padding-top--3__XvFL1","margin-top--4":"TocNode-module_margin-top--4__Qc-Vm","padding-top--4":"TocNode-module_padding-top--4__vzNK5","margin-top--5":"TocNode-module_margin-top--5__tpxvM","padding-top--5":"TocNode-module_padding-top--5__hcaJt","margin-top--6":"TocNode-module_margin-top--6__WfaH9","padding-top--6":"TocNode-module_padding-top--6__7gEmf","margin-top--7":"TocNode-module_margin-top--7__c-y05","padding-top--7":"TocNode-module_padding-top--7__aiwiA","margin-top--8":"TocNode-module_margin-top--8__jvaE-","padding-top--8":"TocNode-module_padding-top--8__-BGju","margin-top--9":"TocNode-module_margin-top--9__8OGbw","padding-top--9":"TocNode-module_padding-top--9__nkx4w","margin-top--10":"TocNode-module_margin-top--10__68k9M","padding-top--10":"TocNode-module_padding-top--10__muZvK","margin-top--11":"TocNode-module_margin-top--11__e-A20","padding-top--11":"TocNode-module_padding-top--11__1ucXq","margin-top--12":"TocNode-module_margin-top--12__dGFhY","padding-top--12":"TocNode-module_padding-top--12__UsCRU","margin-bottom":"TocNode-module_margin-bottom__fW9cE","padding-bottom":"TocNode-module_padding-bottom__StTIt","margin-bottom--1":"TocNode-module_margin-bottom--1__d-Q31","padding-bottom--1":"TocNode-module_padding-bottom--1__xfvm7","margin-bottom--2":"TocNode-module_margin-bottom--2__jDlTD","padding-bottom--2":"TocNode-module_padding-bottom--2__o3V2P","margin-bottom--3":"TocNode-module_margin-bottom--3__9DnaF","padding-bottom--3":"TocNode-module_padding-bottom--3__hxcdg","margin-bottom--4":"TocNode-module_margin-bottom--4__WnEIP","padding-bottom--4":"TocNode-module_padding-bottom--4__4zSJn","margin-bottom--5":"TocNode-module_margin-bottom--5__wL9Ne","padding-bottom--5":"TocNode-module_padding-bottom--5__IqYG-","margin-bottom--6":"TocNode-module_margin-bottom--6__eNOG6","padding-bottom--6":"TocNode-module_padding-bottom--6__YdvI7","margin-bottom--7":"TocNode-module_margin-bottom--7__KUFUK","padding-bottom--7":"TocNode-module_padding-bottom--7__ygSn0","margin-bottom--8":"TocNode-module_margin-bottom--8__nOVRB","padding-bottom--8":"TocNode-module_padding-bottom--8__6hyLl","margin-bottom--9":"TocNode-module_margin-bottom--9__fynWq","padding-bottom--9":"TocNode-module_padding-bottom--9__UlUEw","margin-bottom--10":"TocNode-module_margin-bottom--10__sHzWe","padding-bottom--10":"TocNode-module_padding-bottom--10__9uEpk","margin-bottom--11":"TocNode-module_margin-bottom--11__NoGHl","padding-bottom--11":"TocNode-module_padding-bottom--11__no9vn","margin-bottom--12":"TocNode-module_margin-bottom--12__kUG-q","padding-bottom--12":"TocNode-module_padding-bottom--12__keScA","margin-left":"TocNode-module_margin-left__YD4P0","padding-left":"TocNode-module_padding-left__loWvi","margin-left--1":"TocNode-module_margin-left--1__duWm2","padding-left--1":"TocNode-module_padding-left--1__x26oI","margin-left--2":"TocNode-module_margin-left--2__wW8Xa","padding-left--2":"TocNode-module_padding-left--2__1BSaF","margin-left--3":"TocNode-module_margin-left--3__lGdyT","padding-left--3":"TocNode-module_padding-left--3__M5TMw","margin-left--4":"TocNode-module_margin-left--4__552IN","padding-left--4":"TocNode-module_padding-left--4__euIHe","margin-left--5":"TocNode-module_margin-left--5__ayByu","padding-left--5":"TocNode-module_padding-left--5__41-1-","margin-left--6":"TocNode-module_margin-left--6__YBrdy","padding-left--6":"TocNode-module_padding-left--6__Pz0p8","margin-left--7":"TocNode-module_margin-left--7__Q-P0g","padding-left--7":"TocNode-module_padding-left--7__nh7i0","margin-left--8":"TocNode-module_margin-left--8__eMsG4","padding-left--8":"TocNode-module_padding-left--8__1qDxM","margin-left--9":"TocNode-module_margin-left--9__KLfnP","padding-left--9":"TocNode-module_padding-left--9__HWx3U","margin-left--10":"TocNode-module_margin-left--10__GBbx0","padding-left--10":"TocNode-module_padding-left--10__anfGM","margin-left--11":"TocNode-module_margin-left--11__yEs0u","padding-left--11":"TocNode-module_padding-left--11__J2WMr","margin-left--12":"TocNode-module_margin-left--12__iwhve","padding-left--12":"TocNode-module_padding-left--12__t-jiz","margin-right":"TocNode-module_margin-right__AMvH2","padding-right":"TocNode-module_padding-right__rpAMU","margin-right--1":"TocNode-module_margin-right--1__9hjSa","padding-right--1":"TocNode-module_padding-right--1__q8--P","margin-right--2":"TocNode-module_margin-right--2__-h7kr","padding-right--2":"TocNode-module_padding-right--2__i3vFY","margin-right--3":"TocNode-module_margin-right--3__bpvh3","padding-right--3":"TocNode-module_padding-right--3__A4NMh","margin-right--4":"TocNode-module_margin-right--4__5vBFO","padding-right--4":"TocNode-module_padding-right--4__KNRf3","margin-right--5":"TocNode-module_margin-right--5__8F2Pd","padding-right--5":"TocNode-module_padding-right--5__ADNNU","margin-right--6":"TocNode-module_margin-right--6__haTIR","padding-right--6":"TocNode-module_padding-right--6__hNIcu","margin-right--7":"TocNode-module_margin-right--7__ZBZX4","padding-right--7":"TocNode-module_padding-right--7__jE-yV","margin-right--8":"TocNode-module_margin-right--8__SZ1BE","padding-right--8":"TocNode-module_padding-right--8__QQm5i","margin-right--9":"TocNode-module_margin-right--9__1KJco","padding-right--9":"TocNode-module_padding-right--9__bMQlW","margin-right--10":"TocNode-module_margin-right--10__FcLVR","padding-right--10":"TocNode-module_padding-right--10__4A6qb","margin-right--11":"TocNode-module_margin-right--11__e155j","padding-right--11":"TocNode-module_padding-right--11__5-u8k","margin-right--12":"TocNode-module_margin-right--12__mZVKB","padding-right--12":"TocNode-module_padding-right--12__kuqDY",error:"TocNode-module_error__Hlb6m","font--primary":"TocNode-module_font--primary__CRk4V","font--secondary":"TocNode-module_font--secondary__UejbC","font--code":"TocNode-module_font--code__ucfwq","font-weight--400":"TocNode-module_font-weight--400__xzAZM","font-weight--500":"TocNode-module_font-weight--500__AfToc","font-weight--600":"TocNode-module_font-weight--600__nvn7K","font-weight--700":"TocNode-module_font-weight--700__ywq6K","font-weight--800":"TocNode-module_font-weight--800__U9UHi","font-size--h1":"TocNode-module_font-size--h1__SQvb5","font-size--h2":"TocNode-module_font-size--h2__hDaTr","font-size--h3":"TocNode-module_font-size--h3__3ov1v","font-size--h4":"TocNode-module_font-size--h4__nXGe7","font-size--h5":"TocNode-module_font-size--h5__hby4y","font-size--h6":"TocNode-module_font-size--h6__nXkt-","font-size--big":"TocNode-module_font-size--big__F7gRB","font-size--button":"TocNode-module_font-size--button__Gy7ry","font-size--p":"TocNode-module_font-size--p__i89-8","font-size--small":"TocNode-module_font-size--small__nM821","font-size--very-small":"TocNode-module_font-size--very-small__vEgQm","font-size--tiny":"TocNode-module_font-size--tiny__Xrlk2","font-size--micro":"TocNode-module_font-size--micro__g12V-","line-height--large":"TocNode-module_line-height--large__iFblE","line-height--normal":"TocNode-module_line-height--normal__cGgk8","line-height--small":"TocNode-module_line-height--small__v1-tQ","line-height--very-small":"TocNode-module_line-height--very-small__guFgk","text-align--center":"TocNode-module_text-align--center__UiMbU",category__header:"TocNode-module_category__header__TxLQX","a--highlighted":"TocNode-module_a--highlighted__KpPUK","grecaptcha-badge":"TocNode-module_grecaptcha-badge__MtOmc",container:"TocNode-module_container__lJX0X","container--contents-centered":"TocNode-module_container--contents-centered__SyXK5","container--no-padding":"TocNode-module_container--no-padding__-GPQx",page:"TocNode-module_page__XmMOm","page--contents-max-width":"TocNode-module_page--contents-max-width__a9wqT","page--no-extra-padding":"TocNode-module_page--no-extra-padding__xtQbg","page--no-max-width":"TocNode-module_page--no-max-width__mifQf",hr:"TocNode-module_hr__9oSQb","li--disabled":"TocNode-module_li--disabled__S1DJ3",block:"TocNode-module_block__6-aLr","toc-node__title":"TocNode-module_toc-node__title__Fqq9L",fadeInDown:"TocNode-module_fadeInDown__3aHIH","toc-node__title--active":"TocNode-module_toc-node__title--active__8WI6n","toc-node__title--sub":"TocNode-module_toc-node__title--sub__YYK1i","toc-node__title--sub-sub":"TocNode-module_toc-node__title--sub-sub__sCOE9","toc-node__children--sub-sub":"TocNode-module_toc-node__children--sub-sub__5SLID","toc-node__children--sub":"TocNode-module_toc-node__children--sub__oovR3",loading_animation:"TocNode-module_loading_animation__7zt5j",MoveInTop:"TocNode-module_MoveInTop__KWNfL",fadeUp:"TocNode-module_fadeUp__9Aftz"};let k=({node:a,index:c,visibleTitle:d,onClick:e})=>(0,b.jsxs)("div",{children:[(0,b.jsx)("p",{"data-idx":c,"data-id":a.id,className:[j["toc-node__title"],a.id===d?j["toc-node__title--active"]:"",1===a.depth?j["toc-node__title--sub"]:"",2===a.depth?j["toc-node__title--sub-sub"]:""].join(" "),onClick:e,children:a.title}),a.children.length>0&&(0,b.jsx)("div",{className:`${j["toc-node__children"]} ${j[`toc-node__children--${0===a.depth?"sub":"sub-sub"}`]}`,children:a.children.map((a,c)=>(0,b.jsx)(k,{node:a,index:c,visibleTitle:d,onClick:e},a.id))})]});a.s(["default",0,({children:a,title:j="In this article",jsonLd:l})=>{let[m,n]=(0,c.useState)(null),[o,p]=(0,c.useState)(!1),{categoryTitles:q,handleSectionReference:r}=function({visibleTitle:a,setVisibleTitle:b,setShowTOC:d}){let e=(0,c.useRef)(new Map),[f,g]=(0,c.useState)(new Map),h=(0,c.useRef)(null),i=(0,c.useCallback)(([,a],[,b])=>{let c=a.el.compareDocumentPosition(b.el);return c&Node.DOCUMENT_POSITION_FOLLOWING?-1:c&Node.DOCUMENT_POSITION_PRECEDING?1:0},[]),j=(0,c.useCallback)(()=>{let c=Date.now(),f=new Map,h=Array.from(e.current.entries());h.sort(i);let j=null;for(let[a,{title:b,el:d,depth:e}]of h)j||(j=a),f.set(a,{el:d,title:b,lastUpdatedAt:c,depth:e});0===f.size||(g(f),d(!0),a||b(j))},[a,i,d,b]),k=(0,c.useCallback)(()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{j()},200)},[j]),l=a=>{let{parentRef:b,childRefs:c}=a;if(b&&(a=>{let b=a.dataset.id,c=a.dataset.title;if(!b||!c)return;let d=0,f=a.parentElement;for(;f;)f.hasAttribute("data-id")&&d++,f=f.parentElement;for(let[b,{el:c}]of e.current)if(c===a){e.current.delete(b);break}e.current.set(b,{el:a,title:c,depth:d})})(b),Array.isArray(c))for(let a of c)l(a)},m=(0,c.useCallback)(a=>{a&&(l(a),k())},[k]);return(0,c.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]),{categoryTitles:f,handleSectionReference:m}}({visibleTitle:m,setVisibleTitle:n,setShowTOC:p}),{handleClickCategoryTitle:s}=function({categoryTitles:a,setVisibleTitle:b}){let d=(0,c.useRef)(!1),e=(0,c.useRef)(null),f=(0,c.useRef)(new Map);return(0,c.useEffect)(()=>{for(let[c,{el:e}]of a){let a=new IntersectionObserver(([a])=>{!a.isIntersecting||d.current||0!==document.body.scrollTop&&(b(b=>b!==c||a.isIntersecting?a.isIntersecting?c:b:null),h(c))},{threshold:.1});f.current.set(c,a),a.observe(e)}},[a.size,b]),(0,c.useEffect)(()=>{if(0===a.size)return;let c=new URL(window.location.href).searchParams.get("section");if(!c)return;let f=a.get(c);f&&(i(f.el),g(c,d,e,b))},[a.size,b]),(0,c.useEffect)(()=>()=>{for(let a of(e.current&&document.body.removeEventListener("scrollend",e.current),f.current.values()))a.disconnect()},[]),{handleClickCategoryTitle:(0,c.useCallback)(c=>{let f=c.currentTarget.dataset.id,j=c.currentTarget.dataset.idx;if(!f||!j)return;let{el:k}=a.get(f)||{};k&&(h(f),i(k),g(f,d,e,b))},[a,b])}}({categoryTitles:q,setVisibleTitle:n}),t=(0,e.useSpring)({opacity:+!!o,transform:o?"translateX(0)":"translateX(40px)",config:e.config.gentle});return(0,b.jsxs)("div",{className:f.default.blog,children:[l&&(0,b.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),(0,b.jsx)("div",{className:f.default.blog__content,children:c.Children.map(a,a=>(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{ref:r}):a)}),(0,b.jsxs)(d.animated.div,{className:f.default.blog__sidebar,style:t,children:[(0,b.jsx)("p",{className:`${f.default["margin-bottom--3"]} ${f.default.category__header}`,children:j}),(a=>{let b=[],c=[];for(let[d,{title:e,depth:f}]of a){let a={id:d,title:e,depth:f,children:[]};for(;c.length>0&&c[c.length-1].depth>=f;)c.pop();0===c.length?b.push(a):c[c.length-1].children.push(a),c.push(a)}return b})([...q]).map((a,c)=>(0,b.jsx)(k,{node:a,index:c,visibleTitle:m,onClick:s},a.id))]})]})}],97363)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=node_modules_%40san-siva_blogkit_dist_esm_dynamicComponents_BlogDynamic_08f0x--.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/%40san-siva/blogkit/src/utils/lockScrollUpdates.ts","../../../../node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["import type { MutableRefObject } from 'react';\n\nconst lockScrollUpdates = (\n\tid: string,\n\tisClickScrolling: MutableRefObject<boolean>,\n\tscrollEndHandlerRef: MutableRefObject<(() => void) | null>,\n\tsetVisibleTitle: (id: string) => void\n) => {\n\tif (scrollEndHandlerRef.current) {\n\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t}\n\n\tisClickScrolling.current = true;\n\n\tscrollEndHandlerRef.current = () => {\n\t\tisClickScrolling.current = false;\n\t\tscrollEndHandlerRef.current = null;\n\t\tsetVisibleTitle(id);\n\t\tconst url = new URL(window.location.href);\n\t\turl.searchParams.set('section', id);\n\t\twindow.history.replaceState({}, '', url.toString());\n\t};\n\n\tdocument.body.addEventListener('scrollend', scrollEndHandlerRef.current, {\n\t\tonce: true,\n\t});\n};\n\nexport default lockScrollUpdates;\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseCallback,\n\tuseEffect,\n\tuseRef,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { MouseEvent, ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport lockScrollUpdates from '../utils/lockScrollUpdates';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: HTMLDivElement[];\n}\n\ninterface SectionReferenceValue {\n\tel: HTMLElement;\n\ttitle: string;\n\tisSubSection: boolean;\n}\n\ntype SectionReference = Map<string, SectionReferenceValue>;\n\ninterface CategoryTitleValue extends SectionReferenceValue {\n\tlastUpdatedAt: number;\n}\n\ntype CategoryTitle = Map<string, CategoryTitleValue>;\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n}: BlogProperties) => {\n\tconst sectionReferences = useRef<SectionReference>(new Map());\n\tconst [categoryTitles, setCategoryTitles] = useState<CategoryTitle>(\n\t\tnew Map()\n\t);\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\n\tconst updateTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\tconst showTOCTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\tconst isClickScrolling = useRef(false);\n\tconst scrollEndHandlerRef = useRef<(() => void) | null>(null);\n\tconst intersectionObserversRef = useRef<Map<string, IntersectionObserver>>(\n\t\tnew Map()\n\t);\n\n\tconst sortByDomPosition = useCallback(\n\t\t(\n\t\t\t[, a]: [string, SectionReferenceValue],\n\t\t\t[, b]: [string, SectionReferenceValue]\n\t\t) => {\n\t\t\tconst position = a.el.compareDocumentPosition(b.el);\n\t\t\tif (position & Node.DOCUMENT_POSITION_FOLLOWING) {\n\t\t\t\treturn -1; // a comes before b\n\t\t\t} else if (position & Node.DOCUMENT_POSITION_PRECEDING) {\n\t\t\t\treturn 1; // b comes before a\n\t\t\t}\n\t\t\treturn 0;\n\t\t},\n\t\t[]\n\t);\n\n\tconst updateCategoryTitles = useCallback(() => {\n\t\tconst now = Date.now();\n\t\tconst newCategoryTitles = new Map<string, CategoryTitleValue>();\n\n\t\t// Sort sections by their DOM position to maintain correct order\n\t\tconst sectionsArray = Array.from(sectionReferences.current.entries());\n\t\tsectionsArray.sort(sortByDomPosition);\n\n\t\tlet firstSectionId: string | null = null;\n\t\tfor (const [id, { title, el, isSubSection }] of sectionsArray) {\n\t\t\tif (!firstSectionId) {\n\t\t\t\tfirstSectionId = id;\n\t\t\t}\n\t\t\tnewCategoryTitles.set(id, {\n\t\t\t\tel,\n\t\t\t\ttitle,\n\t\t\t\tlastUpdatedAt: now,\n\t\t\t\tisSubSection,\n\t\t\t});\n\t\t}\n\n\t\tif (newCategoryTitles.size === 0) return;\n\n\t\tsetCategoryTitles(newCategoryTitles);\n\t\tif (!showTOC) setShowTOC(true);\n\n\t\tif (visibleTitle) return;\n\t\tsetVisibleTitle(firstSectionId);\n\t}, [visibleTitle, sortByDomPosition, showTOC, setShowTOC]);\n\n\tconst debounceUpdateCategoryTitles = useCallback(() => {\n\t\t// Clear existing timer and set a new one to batch updates\n\t\tif (updateTimerRef.current) {\n\t\t\tclearTimeout(updateTimerRef.current);\n\t\t}\n\t\tupdateTimerRef.current = setTimeout(() => {\n\t\t\tupdateCategoryTitles();\n\t\t}, 200);\n\t}, [updateCategoryTitles]);\n\n\tuseEffect(() => {\n\t\tfor (const [id, { el }] of categoryTitles) {\n\t\t\tconst observer = new IntersectionObserver(\n\t\t\t\t([entry]) => {\n\t\t\t\t\tif (!entry.isIntersecting) return;\n\t\t\t\t\tif (isClickScrolling.current) return;\n\t\t\t\t\tif (document.body.scrollTop === 0) return;\n\t\t\t\t\tsetVisibleTitle(visibleId => {\n\t\t\t\t\t\tif (visibleId === id && !entry.isIntersecting) return null;\n\t\t\t\t\t\tif (entry.isIntersecting) return id;\n\t\t\t\t\t\treturn visibleId;\n\t\t\t\t\t});\n\t\t\t\t\tconst url = new URL(window.location.href);\n\t\t\t\t\turl.searchParams.set('section', id);\n\t\t\t\t\twindow.history.replaceState({}, '', url.toString());\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 }\n\t\t\t);\n\t\t\tintersectionObserversRef.current.set(id, observer);\n\t\t\tobserver.observe(el as HTMLElement);\n\t\t}\n\t}, [categoryTitles.size]);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (updateTimerRef.current) {\n\t\t\t\tclearTimeout(updateTimerRef.current);\n\t\t\t}\n\t\t\tif (showTOCTimerRef.current) {\n\t\t\t\tclearTimeout(showTOCTimerRef.current);\n\t\t\t}\n\t\t\tif (scrollEndHandlerRef.current) {\n\t\t\t\tdocument.body.removeEventListener(\n\t\t\t\t\t'scrollend',\n\t\t\t\t\tscrollEndHandlerRef.current\n\t\t\t\t);\n\t\t\t}\n\t\t\tif (intersectionObserversRef.current) {\n\t\t\t\tfor (const observer of intersectionObserversRef.current.values()) {\n\t\t\t\t\tobserver.disconnect();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst getSectionFromUrl = () => {\n\t\tconst url = new URL(window.location.href);\n\t\tconst section = url.searchParams.get('section');\n\t\tif (!section) return null;\n\t\treturn section;\n\t};\n\n\tconst updateUrl = (id: string) => {\n\t\tconst url = new URL(window.location.href);\n\t\turl.searchParams.set('section', id);\n\t\twindow.history.replaceState({}, '', url.toString());\n\t};\n\n\tconst scrollIntoView = (element: HTMLElement) => {\n\t\tif (!element) return;\n\t\tconst top =\n\t\t\telement.getBoundingClientRect().top + document.body.scrollTop - 100;\n\t\tdocument.body.scrollTo({ top, behavior: 'smooth' });\n\t};\n\n\t// On initial load, scroll to section specified in URL\n\tuseEffect(() => {\n\t\tif (categoryTitles.size === 0) return;\n\t\tconst section = getSectionFromUrl();\n\t\tif (!section) {\n\t\t\treturn;\n\t\t}\n\t\tconst entry = categoryTitles.get(section);\n\t\tif (!entry) {\n\t\t\treturn;\n\t\t}\n\t\tscrollIntoView(entry.el);\n\t\tlockScrollUpdates(\n\t\t\tsection,\n\t\t\tisClickScrolling,\n\t\t\tscrollEndHandlerRef,\n\t\t\tsetVisibleTitle\n\t\t);\n\t}, [categoryTitles.size]);\n\n\tconst handleSectionReference = useCallback(\n\t\t(element: ForwardedReference) => {\n\t\t\tif (!element) return;\n\t\t\tconst { parentRef, childRefs } = element;\n\n\t\t\t// Add parent section reference\n\t\t\tif (parentRef) {\n\t\t\t\tconst id = parentRef.dataset.id;\n\t\t\t\tconst title = parentRef.dataset.title;\n\t\t\t\tif (id && title) {\n\t\t\t\t\tsectionReferences.current.set(id, {\n\t\t\t\t\t\tel: parentRef,\n\t\t\t\t\t\ttitle,\n\t\t\t\t\t\tisSubSection: false,\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add child section references\n\t\t\tif (Array.isArray(childRefs)) {\n\t\t\t\tfor (const childRef of childRefs) {\n\t\t\t\t\tif (!childRef) continue;\n\t\t\t\t\tconst id = childRef.dataset.id;\n\t\t\t\t\tconst title = childRef.dataset.title;\n\t\t\t\t\tif (id && title) {\n\t\t\t\t\t\tsectionReferences.current.set(id, {\n\t\t\t\t\t\t\tel: childRef,\n\t\t\t\t\t\t\ttitle,\n\t\t\t\t\t\t\tisSubSection: true,\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdebounceUpdateCategoryTitles();\n\t\t},\n\t\t[debounceUpdateCategoryTitles]\n\t);\n\n\tconst handleClickCategoryTitle = (\n\t\terror: MouseEvent<HTMLParagraphElement>\n\t) => {\n\t\tconst id = error.currentTarget.dataset.id;\n\t\tconst index = error.currentTarget.dataset.idx;\n\t\tif (!id || !index) return;\n\n\t\tconst { el } = categoryTitles.get(id) || {};\n\t\tif (!el) return;\n\n\t\tupdateUrl(id);\n\n\t\tscrollIntoView(el);\n\n\t\tlockScrollUpdates(\n\t\t\tid,\n\t\t\tisClickScrolling,\n\t\t\tscrollEndHandlerRef,\n\t\t\tsetVisibleTitle\n\t\t);\n\t};\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={styles.blog}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{[...categoryTitles].map(\n\t\t\t\t\t([id, { title, isSubSection }], index, array) => {\n\t\t\t\t\t\tconst isNextSectionSubSection = array[index + 1]?.[1]?.isSubSection;\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<p\n\t\t\t\t\t\t\t\tkey={id}\n\t\t\t\t\t\t\t\tdata-idx={index}\n\t\t\t\t\t\t\t\tdata-id={id}\n\t\t\t\t\t\t\t\tclassName={`${styles['category__title']} ${\n\t\t\t\t\t\t\t\t\tid === visibleTitle ? styles['category__title--active'] : ''\n\t\t\t\t\t\t\t\t} ${isSubSection ? styles['category__title--sub'] : ''} ${\n\t\t\t\t\t\t\t\t\tisSubSection && !isNextSectionSubSection\n\t\t\t\t\t\t\t\t\t\t? styles['margin-bottom-imp--2']\n\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{title}\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t)}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["_jsxs","_jsx"],"mappings":"gHAEM,EAAoB,CACzB,EACA,AADU,EAEV,EACA,KAEI,EAAoB,CANF,IAEqB,EAIZ,CAFM,CAEJ,AA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A,CARiC,EAEhC,KAAK,CAMN,CANM,AAMN,EAlBK,AAkBL,EAlBO,AAoBf,CAPW,EAOX,GAAA","ignoreList":[0,1]}
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/%40san-siva/blogkit/src/utils/lockScrollUpdates.ts","../../../../node_modules/%40san-siva/blogkit/src/hooks/useCategoryTitles.ts","../../../../node_modules/%40san-siva/blogkit/src/staticComponents/TocNodeStatic.tsx","../../../../node_modules/%40san-siva/blogkit/src/hooks/useSectionObserver.ts","../../../../node_modules/%40san-siva/blogkit/src/dynamicComponents/BlogDynamic.tsx"],"sourcesContent":["import type { MutableRefObject } from 'react';\n\nconst lockScrollUpdates = (\n\tid: string,\n\tisClickScrolling: MutableRefObject<boolean>,\n\tscrollEndHandlerRef: MutableRefObject<(() => void) | null>,\n\tsetVisibleTitle: (id: string) => void\n) => {\n\tif (scrollEndHandlerRef.current) {\n\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t}\n\n\tisClickScrolling.current = true;\n\n\tscrollEndHandlerRef.current = () => {\n\t\tisClickScrolling.current = false;\n\t\tscrollEndHandlerRef.current = null;\n\t\tsetVisibleTitle(id);\n\t\tconst url = new URL(window.location.href);\n\t\turl.searchParams.set('section', id);\n\t\twindow.history.replaceState({}, '', url.toString());\n\t};\n\n\tdocument.body.addEventListener('scrollend', scrollEndHandlerRef.current, {\n\t\tonce: true,\n\t});\n};\n\nexport default lockScrollUpdates;\n","'use client';\n\nimport { useCallback, useEffect, useRef, useState } from 'react';\n\nimport type { Dispatch, SetStateAction } from 'react';\n\nimport type { ForwardedReference } from '../dynamicComponents/BlogDynamic';\n\nexport interface SectionReferenceValue {\n\tel: HTMLElement;\n\ttitle: string;\n\tdepth: number;\n}\n\nexport interface CategoryTitleValue extends SectionReferenceValue {\n\tlastUpdatedAt: number;\n}\n\nexport type CategoryTitle = Map<string, CategoryTitleValue>;\n\ntype SectionReference = Map<string, SectionReferenceValue>;\n\ninterface Options {\n\tvisibleTitle: string | null;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n\tsetShowTOC: Dispatch<SetStateAction<boolean>>;\n}\n\nexport function useCategoryTitles({\n\tvisibleTitle,\n\tsetVisibleTitle,\n\tsetShowTOC,\n}: Options) {\n\tconst sectionReferences = useRef<SectionReference>(new Map());\n\tconst [categoryTitles, setCategoryTitles] = useState<CategoryTitle>(\n\t\tnew Map()\n\t);\n\tconst updateTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n\tconst sortByDomPosition = useCallback(\n\t\t(\n\t\t\t[, a]: [string, SectionReferenceValue],\n\t\t\t[, b]: [string, SectionReferenceValue]\n\t\t) => {\n\t\t\tconst position = a.el.compareDocumentPosition(b.el);\n\t\t\tif (position & Node.DOCUMENT_POSITION_FOLLOWING) {\n\t\t\t\treturn -1;\n\t\t\t} else if (position & Node.DOCUMENT_POSITION_PRECEDING) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t\treturn 0;\n\t\t},\n\t\t[]\n\t);\n\n\tconst updateCategoryTitles = useCallback(() => {\n\t\tconst now = Date.now();\n\t\tconst newCategoryTitles = new Map<string, CategoryTitleValue>();\n\n\t\tconst sectionsArray = Array.from(sectionReferences.current.entries());\n\t\tsectionsArray.sort(sortByDomPosition);\n\n\t\tlet firstSectionId: string | null = null;\n\t\tfor (const [id, { title, el, depth }] of sectionsArray) {\n\t\t\tif (!firstSectionId) {\n\t\t\t\tfirstSectionId = id;\n\t\t\t}\n\t\t\tnewCategoryTitles.set(id, {\n\t\t\t\tel,\n\t\t\t\ttitle,\n\t\t\t\tlastUpdatedAt: now,\n\t\t\t\tdepth,\n\t\t\t});\n\t\t}\n\n\t\tif (newCategoryTitles.size === 0) return;\n\n\t\tsetCategoryTitles(newCategoryTitles);\n\t\tsetShowTOC(true);\n\n\t\tif (visibleTitle) return;\n\t\tsetVisibleTitle(firstSectionId);\n\t}, [visibleTitle, sortByDomPosition, setShowTOC, setVisibleTitle]);\n\n\tconst debounceUpdateCategoryTitles = useCallback(() => {\n\t\tif (updateTimerRef.current) {\n\t\t\tclearTimeout(updateTimerRef.current);\n\t\t}\n\t\tupdateTimerRef.current = setTimeout(() => {\n\t\t\tupdateCategoryTitles();\n\t\t}, 200);\n\t}, [updateCategoryTitles]);\n\n\tconst removeStaleRefs = (ref: HTMLDivElement) => {\n\t\tfor (const [existingId, { el }] of sectionReferences.current) {\n\t\t\tif (el !== ref) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tsectionReferences.current.delete(existingId);\n\t\t\tbreak;\n\t\t}\n\t};\n\n\tconst handleCategoryTitle = (ref: HTMLDivElement) => {\n\t\tconst id = ref.dataset.id;\n\t\tconst title = ref.dataset.title;\n\t\tif (!id || !title) return;\n\n\t\tlet depth = 0;\n\t\tlet parent = ref.parentElement;\n\t\twhile (parent) {\n\t\t\tif (parent.hasAttribute('data-id')) depth++;\n\t\t\tparent = parent.parentElement;\n\t\t}\n\n\t\tremoveStaleRefs(ref);\n\t\tsectionReferences.current.set(id, { el: ref, title, depth });\n\t};\n\n\tconst processSection = (element: ForwardedReference) => {\n\t\tconst { parentRef, childRefs } = element;\n\t\tif (parentRef) handleCategoryTitle(parentRef);\n\t\tif (Array.isArray(childRefs)) {\n\t\t\tfor (const childRef of childRefs) {\n\t\t\t\tprocessSection(childRef);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleSectionReference = useCallback(\n\t\t(element: ForwardedReference) => {\n\t\t\tif (!element) return;\n\t\t\tprocessSection(element);\n\t\t\tdebounceUpdateCategoryTitles();\n\t\t},\n\t\t[debounceUpdateCategoryTitles]\n\t);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (updateTimerRef.current) {\n\t\t\t\tclearTimeout(updateTimerRef.current);\n\t\t\t}\n\t\t};\n\t}, []);\n\n\treturn { categoryTitles, handleSectionReference };\n}\n","import type { MouseEvent } from 'react';\n\nimport styles from '../styles/TocNode.module.scss';\n\nexport interface TocNode {\n\tid: string;\n\ttitle: string;\n\tdepth: number;\n\tchildren: TocNode[];\n}\n\ninterface TocNodeProperties {\n\tnode: TocNode;\n\tindex: number;\n\tvisibleTitle: string | null;\n\tonClick: (e: MouseEvent<HTMLParagraphElement>) => void;\n}\n\nconst TocNode = ({ node, index, visibleTitle, onClick }: TocNodeProperties) => (\n\t<div>\n\t\t<p\n\t\t\tdata-idx={index}\n\t\t\tdata-id={node.id}\n\t\t\tclassName={[\n\t\t\t\tstyles['toc-node__title'],\n\t\t\t\tnode.id === visibleTitle ? styles['toc-node__title--active'] : '',\n\t\t\t\tnode.depth === 1 ? styles['toc-node__title--sub'] : '',\n\t\t\t\tnode.depth === 2 ? styles['toc-node__title--sub-sub'] : '',\n\t\t\t].join(' ')}\n\t\t\tonClick={onClick}\n\t\t>\n\t\t\t{node.title}\n\t\t</p>\n\t\t{node.children.length > 0 && (\n\t\t\t<div\n\t\t\t\tclassName={`${styles['toc-node__children']} ${styles[`toc-node__children--${node.depth === 0 ? 'sub' : 'sub-sub'}`]}`}\n\t\t\t>\n\t\t\t\t{node.children.map((child, i) => (\n\t\t\t\t\t<TocNode\n\t\t\t\t\t\tkey={child.id}\n\t\t\t\t\t\tnode={child}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={onClick}\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</div>\n\t\t)}\n\t</div>\n);\n\nexport default TocNode;\n","'use client';\n\nimport { useCallback, useEffect, useRef } from 'react';\n\nimport type { Dispatch, MouseEvent, SetStateAction } from 'react';\n\nimport lockScrollUpdates from '../utils/lockScrollUpdates';\nimport type { CategoryTitle } from './useCategoryTitles';\n\nconst getSectionFromUrl = () => {\n\tconst url = new URL(window.location.href);\n\treturn url.searchParams.get('section');\n};\n\nconst updateUrl = (id: string) => {\n\tconst url = new URL(window.location.href);\n\turl.searchParams.set('section', id);\n\twindow.history.replaceState({}, '', url.toString());\n};\n\nconst scrollIntoView = (element: HTMLElement) => {\n\tif (!element) return;\n\tconst top =\n\t\telement.getBoundingClientRect().top + document.body.scrollTop - 100;\n\tdocument.body.scrollTo({ top, behavior: 'smooth' });\n};\n\ninterface Options {\n\tcategoryTitles: CategoryTitle;\n\tsetVisibleTitle: Dispatch<SetStateAction<string | null>>;\n}\n\nexport function useSectionObserver({ categoryTitles, setVisibleTitle }: Options) {\n\tconst isClickScrolling = useRef(false);\n\tconst scrollEndHandlerRef = useRef<(() => void) | null>(null);\n\tconst intersectionObserversRef = useRef<Map<string, IntersectionObserver>>(\n\t\tnew Map()\n\t);\n\n\t// Set up IntersectionObservers whenever the set of sections changes\n\tuseEffect(() => {\n\t\tfor (const [id, { el }] of categoryTitles) {\n\t\t\tconst observer = new IntersectionObserver(\n\t\t\t\t([entry]) => {\n\t\t\t\t\tif (!entry.isIntersecting) return;\n\t\t\t\t\tif (isClickScrolling.current) return;\n\t\t\t\t\tif (document.body.scrollTop === 0) return;\n\t\t\t\t\tsetVisibleTitle(visibleId => {\n\t\t\t\t\t\tif (visibleId === id && !entry.isIntersecting) return null;\n\t\t\t\t\t\tif (entry.isIntersecting) return id;\n\t\t\t\t\t\treturn visibleId;\n\t\t\t\t\t});\n\t\t\t\t\tupdateUrl(id);\n\t\t\t\t},\n\t\t\t\t{ threshold: 0.1 }\n\t\t\t);\n\t\t\tintersectionObserversRef.current.set(id, observer);\n\t\t\tobserver.observe(el as HTMLElement);\n\t\t}\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// On initial load, scroll to section specified in URL\n\tuseEffect(() => {\n\t\tif (categoryTitles.size === 0) return;\n\t\tconst section = getSectionFromUrl();\n\t\tif (!section) return;\n\t\tconst entry = categoryTitles.get(section);\n\t\tif (!entry) return;\n\t\tscrollIntoView(entry.el);\n\t\tlockScrollUpdates(section, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t}, [categoryTitles.size, setVisibleTitle]);\n\n\t// Cleanup observers on unmount\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tif (scrollEndHandlerRef.current) {\n\t\t\t\tdocument.body.removeEventListener('scrollend', scrollEndHandlerRef.current);\n\t\t\t}\n\t\t\tfor (const observer of intersectionObserversRef.current.values()) {\n\t\t\t\tobserver.disconnect();\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst handleClickCategoryTitle = useCallback(\n\t\t(event: MouseEvent<HTMLParagraphElement>) => {\n\t\t\tconst id = event.currentTarget.dataset.id;\n\t\t\tconst index = event.currentTarget.dataset.idx;\n\t\t\tif (!id || !index) return;\n\n\t\t\tconst { el } = categoryTitles.get(id) || {};\n\t\t\tif (!el) return;\n\n\t\t\tupdateUrl(id);\n\t\t\tscrollIntoView(el);\n\t\t\tlockScrollUpdates(id, isClickScrolling, scrollEndHandlerRef, setVisibleTitle);\n\t\t},\n\t\t[categoryTitles, setVisibleTitle]\n\t);\n\n\treturn { handleClickCategoryTitle };\n}\n","'use client';\n\nimport {\n\tChildren,\n\tcloneElement,\n\tisValidElement,\n\tuseState,\n} from 'react';\nimport { useSpring, animated, config } from '@react-spring/web';\n\nimport type { ReactNode, RefAttributes } from 'react';\nimport type { Thing, WithContext } from 'schema-dts';\n\nimport styles from '../styles/Blog.module.scss';\nimport { useCategoryTitles } from '../hooks/useCategoryTitles';\nimport { useSectionObserver } from '../hooks/useSectionObserver';\nimport type { CategoryTitleValue } from '../hooks/useCategoryTitles';\nimport TocNodeStatic from '../staticComponents/TocNodeStatic';\nimport type { TocNode } from '../staticComponents/TocNodeStatic';\n\ninterface BlogProperties {\n\tchildren: ReactNode;\n\ttitle?: string;\n\tjsonLd?: WithContext<Thing>;\n}\n\nexport interface ForwardedReference {\n\tparentRef: HTMLDivElement;\n\tchildRefs: ForwardedReference[];\n}\n\nconst buildTocTree = (entries: [string, CategoryTitleValue][]): TocNode[] => {\n\tconst roots: TocNode[] = [];\n\tconst stack: TocNode[] = [];\n\tfor (const [id, { title, depth }] of entries) {\n\t\tconst node: TocNode = { id, title, depth, children: [] };\n\t\twhile (stack.length > 0 && stack[stack.length - 1].depth >= depth) {\n\t\t\tstack.pop();\n\t\t}\n\t\tif (stack.length === 0) {\n\t\t\troots.push(node);\n\t\t} else {\n\t\t\tstack[stack.length - 1].children.push(node);\n\t\t}\n\t\tstack.push(node);\n\t}\n\treturn roots;\n};\n\nconst Blog = ({\n\tchildren,\n\ttitle = 'In this article',\n\tjsonLd,\n}: BlogProperties) => {\n\tconst [visibleTitle, setVisibleTitle] = useState<string | null>(null);\n\tconst [showTOC, setShowTOC] = useState(false);\n\n\tconst { categoryTitles, handleSectionReference } = useCategoryTitles({\n\t\tvisibleTitle,\n\t\tsetVisibleTitle,\n\t\tsetShowTOC,\n\t});\n\n\tconst { handleClickCategoryTitle } = useSectionObserver({\n\t\tcategoryTitles,\n\t\tsetVisibleTitle,\n\t});\n\n\tconst sidebarStyle = useSpring({\n\t\topacity: showTOC ? 1 : 0,\n\t\ttransform: showTOC ? 'translateX(0)' : 'translateX(40px)',\n\t\tconfig: config.gentle,\n\t});\n\n\treturn (\n\t\t<div className={styles.blog}>\n\t\t\t{jsonLd && (\n\t\t\t\t<script\n\t\t\t\t\ttype=\"application/ld+json\"\n\t\t\t\t\tdangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<div className={styles['blog__content']}>\n\t\t\t\t{Children.map(children, child => {\n\t\t\t\t\tif (!isValidElement(child)) return child;\n\t\t\t\t\treturn cloneElement(child, {\n\t\t\t\t\t\tref: handleSectionReference,\n\t\t\t\t\t} as RefAttributes<ForwardedReference>);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t\t<animated.div className={styles['blog__sidebar']} style={sidebarStyle}>\n\t\t\t\t<p\n\t\t\t\t\tclassName={`${styles['margin-bottom--3']} ${styles['category__header']}`}\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</p>\n\t\t\t\t{buildTocTree([...categoryTitles]).map((node, i) => (\n\t\t\t\t\t<TocNodeStatic\n\t\t\t\t\t\tkey={node.id}\n\t\t\t\t\t\tnode={node}\n\t\t\t\t\t\tindex={i}\n\t\t\t\t\t\tvisibleTitle={visibleTitle}\n\t\t\t\t\t\tonClick={handleClickCategoryTitle}\n\t\t\t\t\t/>\n\t\t\t\t))}\n\t\t\t</animated.div>\n\t\t</div>\n\t);\n};\n\nexport default Blog;\n"],"names":["_jsxs","_jsx","TocNodeStatic"],"mappings":"gHAEM,EAAoB,CAAA,EAEzB,EACA,EACA,KAEI,EAAoB,KAJmB,EAIZ,EAAE,AAChC,CCmBc,ODpBQ,AACd,CAAC,IAAI,CAAC,ICmBiB,CAAC,EACjC,YAAA,CDpBmC,CCqBnC,UDrB8C,CAAE,EAAmB,CCqBpD,EACf,IDtB2E,CAAC,GAG3D,ECmBP,GACD,CDvB0D,CAG3C,CAAA,CAAA,WAEG,CGHC,AHGE,CCuBD,GAA2C,CDtBvE,EAAiB,OAAA,CAAA,CAAA,IACG,CC4BE,MAAA,CD5BQ,KAC9B,EGFK,AHEW,EC4BX,KD3BC,CIcI,CAAA,IJdM,CGFI,EHED,CAAC,OAAO,CGFI,EAAE,KHEE,CAAA,IAAK,CAAC,eACzB,CAAC,GAAG,CAAC,EGFK,CAAC,EAAE,KAAA,UHGtB,CIcI,CHaC,KAAA,CD3BG,EC2BK,EGbE,CHaC,CGbC,MJdG,CAAA,CAAA,EAAK,CIcI,CJdF,CAAE,EAAG,CAAA,OAAS,EAAE,CAAC,CC2BI,CDxBxD,CCwB0D,QDxBjD,IAAI,CAAC,gBAAA,CAAA,YAA8B,EAAA,OAAA,CAA6B,MAClE,yCGR4B,CAAA,IAAA,+BACH,EAAE,AHEH,2EGKtB,CCeC,ADfG,CAAC,ACeH,qBAAA,GAAA,GAAA,CDfuC,CAAC,QAAA,IAAA,CAAA,SAAA,CAAA,IACnD,SAAA,IAAA,CAAA,QAAA,CAAA,syRDPK,EAAU,CAAC,CAAE,MAAI,OAAE,CCTC,ADSI,CAAE,IDeC,CAAmB,SAA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DfI,CCckD,EDdlD,ACcoD,EAC3C,IAAA,QAAM,GAAG,CAAC,MAAU,KJbQ,AIaH,CAAC,GAAA,EAAM,EAAG,CAAC,CAAC,CAAC,IACzC,CAD8C,CAC5C,EJdkD,EIclD,CAAA,GAAA,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,CAAA,KAAA,EAAA,MAAA,KAGK,CHgBK,GGhBrB,EAAM,EHgBK,EGhBD,CAAC,CAAA,oDAOb,OAAA,CHmBE,AExBA,CCOH,MAAM,IAAI","ignoreList":[0,1,2,3,4]}
|
|
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
|
|
|
7
7
|
"static/chunks/03~yq9q893hmn.js"
|
|
8
8
|
],
|
|
9
9
|
"lowPriorityFiles": [
|
|
10
|
-
"static/
|
|
11
|
-
"static/
|
|
12
|
-
"static/
|
|
10
|
+
"static/85znoO73nabF1RHFJRf9H/_buildManifest.js",
|
|
11
|
+
"static/85znoO73nabF1RHFJRf9H/_ssgManifest.js",
|
|
12
|
+
"static/85znoO73nabF1RHFJRf9H/_clientMiddlewareManifest.js"
|
|
13
13
|
],
|
|
14
14
|
"rootMainFiles": [
|
|
15
15
|
"static/chunks/11kjahy2ntf0n.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0bc-pt.k0-4l6.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/0pn0qr-ru_nnl.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/00_8a-kcrg6q7.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/11kjahy2ntf0n.js"/><script src="/_next/static/chunks/022i5lxiq4.fw.js" async=""></script><script src="/_next/static/chunks/0ikfpgi8w0w~0.js" async=""></script><script src="/_next/static/chunks/0s7gefbu__9bz.js" async=""></script><script src="/_next/static/chunks/turbopack-14hbefujjzs.f.js" async=""></script><script src="/_next/static/chunks/0o~269zocnb95.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Blogkit MD</title><meta name="description" content="Markdown to JSX blog post renderer"/><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body class="montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable"><div hidden=""><!--$--><!--/$--></div><div class="index-module-scss-module__pQU6EG__page"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></div><script src="/_next/static/chunks/11kjahy2ntf0n.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0bc-pt.k0-4l6.css\",\"style\"]\n:HL[\"/_next/static/chunks/0pn0qr-ru_nnl.css\",\"style\"]\n:HL[\"/_next/static/chunks/00_8a-kcrg6q7.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",16],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0bc-pt.k0-4l6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0pn0qr-ru_nnl.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/00_8a-kcrg6q7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0o~269zocnb95.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"montserrat_c49d9150-module__aVn7oG__variable rubik_787fec0e-module__sKqW3G__variable jetbrains_mono_c517f354-module__6_1Cwa__variable\",\"children\":[\"$\",\"div\",null,{\"className\":\"index-module-scss-module__pQU6EG__page\",\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0bc-pt.k0-4l6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0pn0qr-ru_nnl.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"2\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/00_8a-kcrg6q7.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"85znoO73nabF1RHFJRf9H\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[[\"$\",\"title\",\"0\",{\"children\":\"Blogkit MD\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Markdown to JSX blog post renderer\"}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/11kjahy2ntf0n.js"/><script src="/_next/static/chunks/022i5lxiq4.fw.js" async=""></script><script src="/_next/static/chunks/0ikfpgi8w0w~0.js" async=""></script><script src="/_next/static/chunks/0s7gefbu__9bz.js" async=""></script><script src="/_next/static/chunks/turbopack-14hbefujjzs.f.js" async=""></script><script src="/_next/static/chunks/0o~269zocnb95.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/11kjahy2ntf0n.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/11kjahy2ntf0n.js"/><script src="/_next/static/chunks/022i5lxiq4.fw.js" async=""></script><script src="/_next/static/chunks/0ikfpgi8w0w~0.js" async=""></script><script src="/_next/static/chunks/0s7gefbu__9bz.js" async=""></script><script src="/_next/static/chunks/turbopack-14hbefujjzs.f.js" async=""></script><script src="/_next/static/chunks/0o~269zocnb95.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/11kjahy2ntf0n.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/0o~269zocnb95.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"85znoO73nabF1RHFJRf9H\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"U4ZRXvVO4ONBIzdbKrQtosNJB2CNeKQvepB5gJOqgqs=\"\n}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.index-module-scss-module__pQU6EG__margin-top{margin-top:.25rem!important}.index-module-scss-module__pQU6EG__padding-top{padding-top:.25rem!important}.index-module-scss-module__pQU6EG__margin-top--1{margin-top:.5rem!important}.index-module-scss-module__pQU6EG__padding-top--1{padding-top:.5rem!important}.index-module-scss-module__pQU6EG__margin-top--2{margin-top:1rem!important}.index-module-scss-module__pQU6EG__padding-top--2{padding-top:1rem!important}.index-module-scss-module__pQU6EG__margin-top--3{margin-top:1.5rem!important}.index-module-scss-module__pQU6EG__padding-top--3{padding-top:1.5rem!important}.index-module-scss-module__pQU6EG__margin-top--4{margin-top:2rem!important}.index-module-scss-module__pQU6EG__padding-top--4{padding-top:2rem!important}.index-module-scss-module__pQU6EG__margin-top--5{margin-top:2.5rem!important}.index-module-scss-module__pQU6EG__padding-top--5{padding-top:2.5rem!important}.index-module-scss-module__pQU6EG__margin-top--6{margin-top:3rem!important}.index-module-scss-module__pQU6EG__padding-top--6{padding-top:3rem!important}.index-module-scss-module__pQU6EG__margin-top--7{margin-top:3.5rem!important}.index-module-scss-module__pQU6EG__padding-top--7{padding-top:3.5rem!important}.index-module-scss-module__pQU6EG__margin-top--8{margin-top:4rem!important}.index-module-scss-module__pQU6EG__padding-top--8{padding-top:4rem!important}.index-module-scss-module__pQU6EG__margin-top--9{margin-top:6rem!important}.index-module-scss-module__pQU6EG__padding-top--9{padding-top:6rem!important}.index-module-scss-module__pQU6EG__margin-top--10{margin-top:12rem!important}.index-module-scss-module__pQU6EG__padding-top--10{padding-top:12rem!important}.index-module-scss-module__pQU6EG__margin-top--11{margin-top:18rem!important}.index-module-scss-module__pQU6EG__padding-top--11{padding-top:18rem!important}.index-module-scss-module__pQU6EG__margin-top--12{margin-top:24rem!important}.index-module-scss-module__pQU6EG__padding-top--12{padding-top:24rem!important}.index-module-scss-module__pQU6EG__margin-bottom{margin-bottom:.25rem!important}.index-module-scss-module__pQU6EG__padding-bottom{padding-bottom:.25rem!important}.index-module-scss-module__pQU6EG__margin-bottom--1{margin-bottom:.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--1{padding-bottom:.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--2{margin-bottom:1rem!important}.index-module-scss-module__pQU6EG__padding-bottom--2{padding-bottom:1rem!important}.index-module-scss-module__pQU6EG__margin-bottom--3{margin-bottom:1.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--3{padding-bottom:1.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--4{margin-bottom:2rem!important}.index-module-scss-module__pQU6EG__padding-bottom--4{padding-bottom:2rem!important}.index-module-scss-module__pQU6EG__margin-bottom--5{margin-bottom:2.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--5{padding-bottom:2.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--6{margin-bottom:3rem!important}.index-module-scss-module__pQU6EG__padding-bottom--6{padding-bottom:3rem!important}.index-module-scss-module__pQU6EG__margin-bottom--7{margin-bottom:3.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--7{padding-bottom:3.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--8{margin-bottom:4rem!important}.index-module-scss-module__pQU6EG__padding-bottom--8{padding-bottom:4rem!important}.index-module-scss-module__pQU6EG__margin-bottom--9{margin-bottom:6rem!important}.index-module-scss-module__pQU6EG__padding-bottom--9{padding-bottom:6rem!important}.index-module-scss-module__pQU6EG__margin-bottom--10{margin-bottom:12rem!important}.index-module-scss-module__pQU6EG__padding-bottom--10{padding-bottom:12rem!important}.index-module-scss-module__pQU6EG__margin-bottom--11{margin-bottom:18rem!important}.index-module-scss-module__pQU6EG__padding-bottom--11{padding-bottom:18rem!important}.index-module-scss-module__pQU6EG__margin-bottom--12{margin-bottom:24rem!important}.index-module-scss-module__pQU6EG__padding-bottom--12{padding-bottom:24rem!important}.index-module-scss-module__pQU6EG__margin-left{margin-left:.25rem!important}.index-module-scss-module__pQU6EG__padding-left{padding-left:.25rem!important}.index-module-scss-module__pQU6EG__margin-left--1{margin-left:.5rem!important}.index-module-scss-module__pQU6EG__padding-left--1{padding-left:.5rem!important}.index-module-scss-module__pQU6EG__margin-left--2{margin-left:1rem!important}.index-module-scss-module__pQU6EG__padding-left--2{padding-left:1rem!important}.index-module-scss-module__pQU6EG__margin-left--3{margin-left:1.5rem!important}.index-module-scss-module__pQU6EG__padding-left--3{padding-left:1.5rem!important}.index-module-scss-module__pQU6EG__margin-left--4{margin-left:2rem!important}.index-module-scss-module__pQU6EG__padding-left--4{padding-left:2rem!important}.index-module-scss-module__pQU6EG__margin-left--5{margin-left:2.5rem!important}.index-module-scss-module__pQU6EG__padding-left--5{padding-left:2.5rem!important}.index-module-scss-module__pQU6EG__margin-left--6{margin-left:3rem!important}.index-module-scss-module__pQU6EG__padding-left--6{padding-left:3rem!important}.index-module-scss-module__pQU6EG__margin-left--7{margin-left:3.5rem!important}.index-module-scss-module__pQU6EG__padding-left--7{padding-left:3.5rem!important}.index-module-scss-module__pQU6EG__margin-left--8{margin-left:4rem!important}.index-module-scss-module__pQU6EG__padding-left--8{padding-left:4rem!important}.index-module-scss-module__pQU6EG__margin-left--9{margin-left:6rem!important}.index-module-scss-module__pQU6EG__padding-left--9{padding-left:6rem!important}.index-module-scss-module__pQU6EG__margin-left--10{margin-left:12rem!important}.index-module-scss-module__pQU6EG__padding-left--10{padding-left:12rem!important}.index-module-scss-module__pQU6EG__margin-left--11{margin-left:18rem!important}.index-module-scss-module__pQU6EG__padding-left--11{padding-left:18rem!important}.index-module-scss-module__pQU6EG__margin-left--12{margin-left:24rem!important}.index-module-scss-module__pQU6EG__padding-left--12{padding-left:24rem!important}.index-module-scss-module__pQU6EG__margin-right{margin-right:.25rem!important}.index-module-scss-module__pQU6EG__padding-right{padding-right:.25rem!important}.index-module-scss-module__pQU6EG__margin-right--1{margin-right:.5rem!important}.index-module-scss-module__pQU6EG__padding-right--1{padding-right:.5rem!important}.index-module-scss-module__pQU6EG__margin-right--2{margin-right:1rem!important}.index-module-scss-module__pQU6EG__padding-right--2{padding-right:1rem!important}.index-module-scss-module__pQU6EG__margin-right--3{margin-right:1.5rem!important}.index-module-scss-module__pQU6EG__padding-right--3{padding-right:1.5rem!important}.index-module-scss-module__pQU6EG__margin-right--4{margin-right:2rem!important}.index-module-scss-module__pQU6EG__padding-right--4{padding-right:2rem!important}.index-module-scss-module__pQU6EG__margin-right--5{margin-right:2.5rem!important}.index-module-scss-module__pQU6EG__padding-right--5{padding-right:2.5rem!important}.index-module-scss-module__pQU6EG__margin-right--6{margin-right:3rem!important}.index-module-scss-module__pQU6EG__padding-right--6{padding-right:3rem!important}.index-module-scss-module__pQU6EG__margin-right--7{margin-right:3.5rem!important}.index-module-scss-module__pQU6EG__padding-right--7{padding-right:3.5rem!important}.index-module-scss-module__pQU6EG__margin-right--8{margin-right:4rem!important}.index-module-scss-module__pQU6EG__padding-right--8{padding-right:4rem!important}.index-module-scss-module__pQU6EG__margin-right--9{margin-right:6rem!important}.index-module-scss-module__pQU6EG__padding-right--9{padding-right:6rem!important}.index-module-scss-module__pQU6EG__margin-right--10{margin-right:12rem!important}.index-module-scss-module__pQU6EG__padding-right--10{padding-right:12rem!important}.index-module-scss-module__pQU6EG__margin-right--11{margin-right:18rem!important}.index-module-scss-module__pQU6EG__padding-right--11{padding-right:18rem!important}.index-module-scss-module__pQU6EG__margin-right--12{margin-right:24rem!important}.index-module-scss-module__pQU6EG__padding-right--12{padding-right:24rem!important}.index-module-scss-module__pQU6EG__error{color:#ff4232}.index-module-scss-module__pQU6EG__font--primary{font-family:Rubik,sans-serif}.index-module-scss-module__pQU6EG__font--secondary{font-family:Montserrat,sans-serif}.index-module-scss-module__pQU6EG__font--code{font-family:JetBrains Mono,monospace}.index-module-scss-module__pQU6EG__font-weight--400{font-weight:400}.index-module-scss-module__pQU6EG__font-weight--500{font-weight:500}.index-module-scss-module__pQU6EG__font-weight--600{font-weight:600}.index-module-scss-module__pQU6EG__font-weight--700{font-weight:700}.index-module-scss-module__pQU6EG__font-weight--800{font-weight:800}.index-module-scss-module__pQU6EG__font-size--h1{font-size:2.25rem}.index-module-scss-module__pQU6EG__font-size--h2{font-size:2rem}.index-module-scss-module__pQU6EG__font-size--h3{font-size:1.75rem}.index-module-scss-module__pQU6EG__font-size--h4{font-size:1.5rem}.index-module-scss-module__pQU6EG__font-size--h5{font-size:1.3125rem}.index-module-scss-module__pQU6EG__font-size--h6,.index-module-scss-module__pQU6EG__font-size--big{font-size:1.125rem}.index-module-scss-module__pQU6EG__font-size--button{font-size:.75rem}.index-module-scss-module__pQU6EG__font-size--p{font-size:1rem}.index-module-scss-module__pQU6EG__font-size--small{font-size:.75rem}.index-module-scss-module__pQU6EG__line-height--large{line-height:1.9}.index-module-scss-module__pQU6EG__line-height--normal{line-height:1.6}.index-module-scss-module__pQU6EG__line-height--small{line-height:1.4}.index-module-scss-module__pQU6EG__line-height--very-small{line-height:1.2}.index-module-scss-module__pQU6EG__text-align--center{text-align:center}.index-module-scss-module__pQU6EG__category__header{color:#e60067;text-transform:uppercase;letter-spacing:.1ch;font-size:1rem;font-weight:600}.index-module-scss-module__pQU6EG__a--highlighted{font-family:Montserrat,sans-serif;font-weight:500;-webkit-text-decoration:underline #4242fa;text-decoration:underline #4242fa}.index-module-scss-module__pQU6EG__grecaptcha-badge{visibility:hidden}.index-module-scss-module__pQU6EG__container{flex-direction:column;justify-content:flex-start;align-items:flex-start;width:calc(100% - 2.25rem);height:auto;min-height:calc(100% - 2.25rem);padding:1.125rem;display:flex;overflow:hidden auto}.index-module-scss-module__pQU6EG__container--contents-centered{justify-content:center;align-items:center}.index-module-scss-module__pQU6EG__container--no-padding{padding:0}.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 15rem);max-width:76rem;height:auto;min-height:calc(100% - 8rem);width:var(--width-sections);--padding-sections-left:calc((100% - var(--width-sections)) / 2);padding:3rem var(--padding-sections-left);margin:0 auto;padding-top:5rem;display:block}.index-module-scss-module__pQU6EG__page--contents-max-width>*{max-width:48.75rem}.index-module-scss-module__pQU6EG__page--no-extra-padding{padding:1rem var(--padding-sections-left);--width-sections:calc(100% - 1rem - 1rem)!important;--padding-sections-left:2rem!important}.index-module-scss-module__pQU6EG__page--no-max-width{max-width:unset}@media screen and (max-width:52.125rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:50.75rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:48rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:35.5rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:23.4375rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:20rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}.index-module-scss-module__pQU6EG__hr{background-color:#6b7c9333;border:none;width:100%;height:1px}.index-module-scss-module__pQU6EG__li--disabled{opacity:.5;pointer-events:none}.index-module-scss-module__pQU6EG__block{display:block}@keyframes index-module-scss-module__pQU6EG__loading_animation{0%{background-position:0 0}to{background-position:100% 0}}@keyframes index-module-scss-module__pQU6EG__MoveInTop{0%{opacity:0;transform:translateY(12.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes index-module-scss-module__pQU6EG__fadeInDown{0%{opacity:0;transform:translateY(-1.25rem)}to{opacity:1;transform:translateY(0)}}@keyframes index-module-scss-module__pQU6EG__fadeUp{0%{opacity:0;transform:translate(-20px,10px)}to{opacity:1;transform:translate(-20px)}}
|
|
1
|
+
.index-module-scss-module__pQU6EG__margin-top{margin-top:.25rem!important}.index-module-scss-module__pQU6EG__padding-top{padding-top:.25rem!important}.index-module-scss-module__pQU6EG__margin-top--1{margin-top:.5rem!important}.index-module-scss-module__pQU6EG__padding-top--1{padding-top:.5rem!important}.index-module-scss-module__pQU6EG__margin-top--2{margin-top:1rem!important}.index-module-scss-module__pQU6EG__padding-top--2{padding-top:1rem!important}.index-module-scss-module__pQU6EG__margin-top--3{margin-top:1.5rem!important}.index-module-scss-module__pQU6EG__padding-top--3{padding-top:1.5rem!important}.index-module-scss-module__pQU6EG__margin-top--4{margin-top:2rem!important}.index-module-scss-module__pQU6EG__padding-top--4{padding-top:2rem!important}.index-module-scss-module__pQU6EG__margin-top--5{margin-top:2.5rem!important}.index-module-scss-module__pQU6EG__padding-top--5{padding-top:2.5rem!important}.index-module-scss-module__pQU6EG__margin-top--6{margin-top:3rem!important}.index-module-scss-module__pQU6EG__padding-top--6{padding-top:3rem!important}.index-module-scss-module__pQU6EG__margin-top--7{margin-top:3.5rem!important}.index-module-scss-module__pQU6EG__padding-top--7{padding-top:3.5rem!important}.index-module-scss-module__pQU6EG__margin-top--8{margin-top:4rem!important}.index-module-scss-module__pQU6EG__padding-top--8{padding-top:4rem!important}.index-module-scss-module__pQU6EG__margin-top--9{margin-top:6rem!important}.index-module-scss-module__pQU6EG__padding-top--9{padding-top:6rem!important}.index-module-scss-module__pQU6EG__margin-top--10{margin-top:12rem!important}.index-module-scss-module__pQU6EG__padding-top--10{padding-top:12rem!important}.index-module-scss-module__pQU6EG__margin-top--11{margin-top:18rem!important}.index-module-scss-module__pQU6EG__padding-top--11{padding-top:18rem!important}.index-module-scss-module__pQU6EG__margin-top--12{margin-top:24rem!important}.index-module-scss-module__pQU6EG__padding-top--12{padding-top:24rem!important}.index-module-scss-module__pQU6EG__margin-bottom{margin-bottom:.25rem!important}.index-module-scss-module__pQU6EG__padding-bottom{padding-bottom:.25rem!important}.index-module-scss-module__pQU6EG__margin-bottom--1{margin-bottom:.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--1{padding-bottom:.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--2{margin-bottom:1rem!important}.index-module-scss-module__pQU6EG__padding-bottom--2{padding-bottom:1rem!important}.index-module-scss-module__pQU6EG__margin-bottom--3{margin-bottom:1.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--3{padding-bottom:1.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--4{margin-bottom:2rem!important}.index-module-scss-module__pQU6EG__padding-bottom--4{padding-bottom:2rem!important}.index-module-scss-module__pQU6EG__margin-bottom--5{margin-bottom:2.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--5{padding-bottom:2.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--6{margin-bottom:3rem!important}.index-module-scss-module__pQU6EG__padding-bottom--6{padding-bottom:3rem!important}.index-module-scss-module__pQU6EG__margin-bottom--7{margin-bottom:3.5rem!important}.index-module-scss-module__pQU6EG__padding-bottom--7{padding-bottom:3.5rem!important}.index-module-scss-module__pQU6EG__margin-bottom--8{margin-bottom:4rem!important}.index-module-scss-module__pQU6EG__padding-bottom--8{padding-bottom:4rem!important}.index-module-scss-module__pQU6EG__margin-bottom--9{margin-bottom:6rem!important}.index-module-scss-module__pQU6EG__padding-bottom--9{padding-bottom:6rem!important}.index-module-scss-module__pQU6EG__margin-bottom--10{margin-bottom:12rem!important}.index-module-scss-module__pQU6EG__padding-bottom--10{padding-bottom:12rem!important}.index-module-scss-module__pQU6EG__margin-bottom--11{margin-bottom:18rem!important}.index-module-scss-module__pQU6EG__padding-bottom--11{padding-bottom:18rem!important}.index-module-scss-module__pQU6EG__margin-bottom--12{margin-bottom:24rem!important}.index-module-scss-module__pQU6EG__padding-bottom--12{padding-bottom:24rem!important}.index-module-scss-module__pQU6EG__margin-left{margin-left:.25rem!important}.index-module-scss-module__pQU6EG__padding-left{padding-left:.25rem!important}.index-module-scss-module__pQU6EG__margin-left--1{margin-left:.5rem!important}.index-module-scss-module__pQU6EG__padding-left--1{padding-left:.5rem!important}.index-module-scss-module__pQU6EG__margin-left--2{margin-left:1rem!important}.index-module-scss-module__pQU6EG__padding-left--2{padding-left:1rem!important}.index-module-scss-module__pQU6EG__margin-left--3{margin-left:1.5rem!important}.index-module-scss-module__pQU6EG__padding-left--3{padding-left:1.5rem!important}.index-module-scss-module__pQU6EG__margin-left--4{margin-left:2rem!important}.index-module-scss-module__pQU6EG__padding-left--4{padding-left:2rem!important}.index-module-scss-module__pQU6EG__margin-left--5{margin-left:2.5rem!important}.index-module-scss-module__pQU6EG__padding-left--5{padding-left:2.5rem!important}.index-module-scss-module__pQU6EG__margin-left--6{margin-left:3rem!important}.index-module-scss-module__pQU6EG__padding-left--6{padding-left:3rem!important}.index-module-scss-module__pQU6EG__margin-left--7{margin-left:3.5rem!important}.index-module-scss-module__pQU6EG__padding-left--7{padding-left:3.5rem!important}.index-module-scss-module__pQU6EG__margin-left--8{margin-left:4rem!important}.index-module-scss-module__pQU6EG__padding-left--8{padding-left:4rem!important}.index-module-scss-module__pQU6EG__margin-left--9{margin-left:6rem!important}.index-module-scss-module__pQU6EG__padding-left--9{padding-left:6rem!important}.index-module-scss-module__pQU6EG__margin-left--10{margin-left:12rem!important}.index-module-scss-module__pQU6EG__padding-left--10{padding-left:12rem!important}.index-module-scss-module__pQU6EG__margin-left--11{margin-left:18rem!important}.index-module-scss-module__pQU6EG__padding-left--11{padding-left:18rem!important}.index-module-scss-module__pQU6EG__margin-left--12{margin-left:24rem!important}.index-module-scss-module__pQU6EG__padding-left--12{padding-left:24rem!important}.index-module-scss-module__pQU6EG__margin-right{margin-right:.25rem!important}.index-module-scss-module__pQU6EG__padding-right{padding-right:.25rem!important}.index-module-scss-module__pQU6EG__margin-right--1{margin-right:.5rem!important}.index-module-scss-module__pQU6EG__padding-right--1{padding-right:.5rem!important}.index-module-scss-module__pQU6EG__margin-right--2{margin-right:1rem!important}.index-module-scss-module__pQU6EG__padding-right--2{padding-right:1rem!important}.index-module-scss-module__pQU6EG__margin-right--3{margin-right:1.5rem!important}.index-module-scss-module__pQU6EG__padding-right--3{padding-right:1.5rem!important}.index-module-scss-module__pQU6EG__margin-right--4{margin-right:2rem!important}.index-module-scss-module__pQU6EG__padding-right--4{padding-right:2rem!important}.index-module-scss-module__pQU6EG__margin-right--5{margin-right:2.5rem!important}.index-module-scss-module__pQU6EG__padding-right--5{padding-right:2.5rem!important}.index-module-scss-module__pQU6EG__margin-right--6{margin-right:3rem!important}.index-module-scss-module__pQU6EG__padding-right--6{padding-right:3rem!important}.index-module-scss-module__pQU6EG__margin-right--7{margin-right:3.5rem!important}.index-module-scss-module__pQU6EG__padding-right--7{padding-right:3.5rem!important}.index-module-scss-module__pQU6EG__margin-right--8{margin-right:4rem!important}.index-module-scss-module__pQU6EG__padding-right--8{padding-right:4rem!important}.index-module-scss-module__pQU6EG__margin-right--9{margin-right:6rem!important}.index-module-scss-module__pQU6EG__padding-right--9{padding-right:6rem!important}.index-module-scss-module__pQU6EG__margin-right--10{margin-right:12rem!important}.index-module-scss-module__pQU6EG__padding-right--10{padding-right:12rem!important}.index-module-scss-module__pQU6EG__margin-right--11{margin-right:18rem!important}.index-module-scss-module__pQU6EG__padding-right--11{padding-right:18rem!important}.index-module-scss-module__pQU6EG__margin-right--12{margin-right:24rem!important}.index-module-scss-module__pQU6EG__padding-right--12{padding-right:24rem!important}.index-module-scss-module__pQU6EG__error{color:#ff4232}.index-module-scss-module__pQU6EG__font--primary{font-family:Rubik,sans-serif}.index-module-scss-module__pQU6EG__font--secondary{font-family:Montserrat,sans-serif}.index-module-scss-module__pQU6EG__font--code{font-family:JetBrains Mono,monospace}.index-module-scss-module__pQU6EG__font-weight--400{font-weight:400}.index-module-scss-module__pQU6EG__font-weight--500{font-weight:500}.index-module-scss-module__pQU6EG__font-weight--600{font-weight:600}.index-module-scss-module__pQU6EG__font-weight--700{font-weight:700}.index-module-scss-module__pQU6EG__font-weight--800{font-weight:800}.index-module-scss-module__pQU6EG__font-size--h1{font-size:2.25rem}.index-module-scss-module__pQU6EG__font-size--h2{font-size:2rem}.index-module-scss-module__pQU6EG__font-size--h3{font-size:1.75rem}.index-module-scss-module__pQU6EG__font-size--h4{font-size:1.5rem}.index-module-scss-module__pQU6EG__font-size--h5{font-size:1.3125rem}.index-module-scss-module__pQU6EG__font-size--h6,.index-module-scss-module__pQU6EG__font-size--big{font-size:1.125rem}.index-module-scss-module__pQU6EG__font-size--button{font-size:.75rem}.index-module-scss-module__pQU6EG__font-size--p{font-size:1rem}.index-module-scss-module__pQU6EG__font-size--small{font-size:.875rem}.index-module-scss-module__pQU6EG__font-size--very-small{font-size:.75rem}.index-module-scss-module__pQU6EG__font-size--tiny{font-size:.625rem}.index-module-scss-module__pQU6EG__font-size--micro{font-size:.5rem}.index-module-scss-module__pQU6EG__line-height--large{line-height:1.9}.index-module-scss-module__pQU6EG__line-height--normal{line-height:1.6}.index-module-scss-module__pQU6EG__line-height--small{line-height:1.4}.index-module-scss-module__pQU6EG__line-height--very-small{line-height:1.2}.index-module-scss-module__pQU6EG__text-align--center{text-align:center}.index-module-scss-module__pQU6EG__category__header{color:#e60067;text-transform:uppercase;letter-spacing:.1ch;font-size:1rem;font-weight:600}.index-module-scss-module__pQU6EG__a--highlighted{font-family:Montserrat,sans-serif;font-weight:500;-webkit-text-decoration:underline #4242fa;text-decoration:underline #4242fa}.index-module-scss-module__pQU6EG__grecaptcha-badge{visibility:hidden}.index-module-scss-module__pQU6EG__container{flex-direction:column;justify-content:flex-start;align-items:flex-start;width:calc(100% - 2.25rem);height:auto;min-height:calc(100% - 2.25rem);padding:1.125rem;display:flex;overflow:hidden auto}.index-module-scss-module__pQU6EG__container--contents-centered{justify-content:center;align-items:center}.index-module-scss-module__pQU6EG__container--no-padding{padding:0}.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 15rem);max-width:76rem;height:auto;min-height:calc(100% - 8rem);width:var(--width-sections);--padding-sections-left:calc((100% - var(--width-sections)) / 2);padding:3rem var(--padding-sections-left);margin:0 auto;padding-top:5rem;display:block}.index-module-scss-module__pQU6EG__page--contents-max-width>*{max-width:48.75rem}.index-module-scss-module__pQU6EG__page--no-extra-padding{padding:1rem var(--padding-sections-left);--width-sections:calc(100% - 1rem - 1rem)!important;--padding-sections-left:2rem!important}.index-module-scss-module__pQU6EG__page--no-max-width{max-width:unset}@media screen and (max-width:52.125rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:50.75rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:48rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:35.5rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:23.4375rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}@media screen and (max-width:20rem){.index-module-scss-module__pQU6EG__page{--width-sections:calc(100% - 1rem - 1rem);--padding-sections-left:1rem}}.index-module-scss-module__pQU6EG__hr{background-color:#6b7c9333;border:none;width:100%;height:1px}.index-module-scss-module__pQU6EG__li--disabled{opacity:.5;pointer-events:none}.index-module-scss-module__pQU6EG__block{display:block}@keyframes index-module-scss-module__pQU6EG__loading_animation{0%{background-position:0 0}to{background-position:100% 0}}@keyframes index-module-scss-module__pQU6EG__MoveInTop{0%{opacity:0;transform:translateY(12.5rem)}to{opacity:1;transform:translateY(0)}}@keyframes index-module-scss-module__pQU6EG__fadeInDown{0%{opacity:0;transform:translateY(-1.25rem)}to{opacity:1;transform:translateY(0)}}@keyframes index-module-scss-module__pQU6EG__fadeUp{0%{opacity:0;transform:translate(-20px,10px)}to{opacity:1;transform:translate(-20px)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,840,e=>{"use strict";var t=e.i(43476),l=e.i(71645),r=e.i(98336),n=e.i(54316);let i=(0,l.forwardRef)(({title:e="",category:i="",children:c=null},u)=>{let a=i?`${i} - ${e}`:e,s=(0,n.generateIdForBlogTitle)(a),o=(0,l.useRef)(null),f=(0,l.useRef)([]),d=(0,l.useRef)(null);(0,l.useImperativeHandle)(u,()=>{let e={parentRef:o.current,childRefs:f.current};return d.current=e,e}),(0,l.useEffect)(()=>{"function"==typeof u&&d.current&&u(d.current)},[e,i]);let p=e=>{if(!e)return;let{parentRef:t}=e;!t||(f.current.some(e=>e.parentRef===t)||f.current.push(e),"function"==typeof u&&d.current&&u(d.current))};return(0,t.jsxs)("div",{className:r.default["blog-section"],"data-title":e,"data-id":s,ref:o,children:[(0,t.jsx)("h3",{className:`${r.default["blog-section__title"]} ${e?"":r.default["blog-section__title--empty"]}`,children:e?(0,t.jsx)("a",{href:(0,n.generateSectionHref)(s),className:r.default["blog-section__title-link"],onClick:e=>e.preventDefault(),children:e}):(0,t.jsx)("p",{children:"No title"})}),l.Children.map(c,e=>(0,l.isValidElement)(e)?(0,l.cloneElement)(e,{ref:p}):e)]})});i.displayName="BlogSection",e.s(["default",0,i])}]);
|