From 4edb8372375cae72ee9b88c15d1a724db246eaa2 Mon Sep 17 00:00:00 2001 From: Tian Lei <553948327@qq.com> Date: Tue, 9 Apr 2024 08:57:40 +0800 Subject: [PATCH] Updates --- 404.html | 1 + _next/static/chunks/396-e9bdc32ee600cec9.js | 4 +++ .../chunks/framework-0c7baedefba6b077.js | 33 ++++++++++++++++++ _next/static/chunks/main-97ba2b627474e8da.js | 6 ++++ _next/static/chunks/nextra-data-en-US.json | 1 + .../chunks/pages/_app-6c1a10a36fd83e50.js | 1 + .../chunks/pages/_error-ee5b5fb91d29d86f.js | 1 + .../chunks/pages/index-93b2092b83bb1e1a.js | 1 + .../chunks/pages/photos-8385a66ed39f6f56.js | 1 + .../chunks/pages/posts-b7d34c2b6fa1f588.js | 1 + .../pages/tags/[tag]-be222942bbef208e.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 + .../static/chunks/webpack-445a5fe7cadeec28.js | 1 + _next/static/css/8561bb13ecd83214.css | 1 + .../kR25HrIZKgx8VHo8rLo54/_buildManifest.js | 1 + .../kR25HrIZKgx8VHo8rLo54/_ssgManifest.js | 1 + favicon.ico | Bin 0 -> 15086 bytes feed.xml | 28 +++++++++++++++ fonts/Inter-italic.latin.var.woff2 | Bin 0 -> 56108 bytes fonts/Inter-roman.latin.var.woff2 | Bin 0 -> 51896 bytes images/photo.jpg | Bin 0 -> 216182 bytes images/photo2.jpg | Bin 0 -> 153745 bytes index.html | 9 +++++ photos.html | 7 ++++ posts.html | 29 +++++++++++++++ tags/[tag].html | 1 + 26 files changed, 130 insertions(+) create mode 100644 404.html create mode 100644 _next/static/chunks/396-e9bdc32ee600cec9.js create mode 100644 _next/static/chunks/framework-0c7baedefba6b077.js create mode 100644 _next/static/chunks/main-97ba2b627474e8da.js create mode 100644 _next/static/chunks/nextra-data-en-US.json create mode 100644 _next/static/chunks/pages/_app-6c1a10a36fd83e50.js create mode 100644 _next/static/chunks/pages/_error-ee5b5fb91d29d86f.js create mode 100644 _next/static/chunks/pages/index-93b2092b83bb1e1a.js create mode 100644 _next/static/chunks/pages/photos-8385a66ed39f6f56.js create mode 100644 _next/static/chunks/pages/posts-b7d34c2b6fa1f588.js create mode 100644 _next/static/chunks/pages/tags/[tag]-be222942bbef208e.js create mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 _next/static/chunks/webpack-445a5fe7cadeec28.js create mode 100644 _next/static/css/8561bb13ecd83214.css create mode 100644 _next/static/kR25HrIZKgx8VHo8rLo54/_buildManifest.js create mode 100644 _next/static/kR25HrIZKgx8VHo8rLo54/_ssgManifest.js create mode 100644 favicon.ico create mode 100644 feed.xml create mode 100644 fonts/Inter-italic.latin.var.woff2 create mode 100644 fonts/Inter-roman.latin.var.woff2 create mode 100644 images/photo.jpg create mode 100644 images/photo2.jpg create mode 100644 index.html create mode 100644 photos.html create mode 100644 posts.html create mode 100644 tags/[tag].html diff --git a/404.html b/404.html new file mode 100644 index 0000000..5e06d0c --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/chunks/396-e9bdc32ee600cec9.js b/_next/static/chunks/396-e9bdc32ee600cec9.js new file mode 100644 index 0000000..39fee79 --- /dev/null +++ b/_next/static/chunks/396-e9bdc32ee600cec9.js @@ -0,0 +1,4 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[396],{9208:function(n,o,a){var s,i="__lodash_hash_undefined__",l=1/0,u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m=/\\(\\)?/g,x=/^\[object .+?Constructor\]$/,g="object"==typeof a.g&&a.g&&a.g.Object===Object&&a.g,v="object"==typeof self&&self&&self.Object===Object&&self,_=g||v||Function("return this")(),b=Array.prototype,w=Function.prototype,j=Object.prototype,C=_["__core-js_shared__"],k=(s=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",T=w.toString,P=j.hasOwnProperty,E=j.toString,I=RegExp("^"+T.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=_.Symbol,L=b.splice,F=getNative(_,"Map"),z=getNative(Object,"create"),H=M?M.prototype:void 0,B=H?H.toString:void 0;function Hash(n){var o=-1,a=n?n.length:0;for(this.clear();++o-1},ListCache.prototype.set=function(n,o){var a=this.__data__,s=assocIndexOf(a,n);return s<0?a.push([n,o]):a[s][1]=o,this},MapCache.prototype.clear=function(){this.__data__={hash:new Hash,map:new(F||ListCache),string:new Hash}},MapCache.prototype.delete=function(n){return getMapData(this,n).delete(n)},MapCache.prototype.get=function(n){return getMapData(this,n).get(n)},MapCache.prototype.has=function(n){return getMapData(this,n).has(n)},MapCache.prototype.set=function(n,o){return getMapData(this,n).set(n,o),this};var U=memoize(function(n){n=null==(o=n)?"":function(n){if("string"==typeof n)return n;if(isSymbol(n))return B?B.call(n):"";var o=n+"";return"0"==o&&1/n==-l?"-0":o}(o);var o,a=[];return d.test(n)&&a.push(""),n.replace(h,function(n,o,s,i){a.push(s?i.replace(m,"$1"):o||n)}),a});function memoize(n,o){if("function"!=typeof n||o&&"function"!=typeof o)throw TypeError("Expected a function");var memoized=function(){var a=arguments,s=o?o.apply(this,a):a[0],i=memoized.cache;if(i.has(s))return i.get(s);var l=n.apply(this,a);return memoized.cache=i.set(s,l),l};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;var V=Array.isArray;function isObject(n){var o=typeof n;return!!n&&("object"==o||"function"==o)}function isSymbol(n){return"symbol"==typeof n||!!n&&"object"==typeof n&&"[object Symbol]"==E.call(n)}n.exports=function(n,o,a){var s=null==n?void 0:function(n,o){var a;o=!function(n,o){if(V(n))return!1;var a=typeof n;return!!("number"==a||"symbol"==a||"boolean"==a||null==n||isSymbol(n))||c.test(n)||!u.test(n)||null!=o&&n in Object(o)}(o,n)?V(a=o)?a:U(a):[o];for(var s=0,i=o.length;null!=n&&s{}).then(()=>{if(n.parentElement&&n.isConnected){if("empty"!==o&&i(!0),null==a?void 0:a.current){let o=new Event("load");Object.defineProperty(o,"target",{writable:!1,value:n});let s=!1,i=!1;a.current({...o,nativeEvent:o,currentTarget:n,target:n,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,o.preventDefault()},stopPropagation:()=>{i=!0,o.stopPropagation()}})}(null==s?void 0:s.current)&&s.current(n)}})}function getDynamicProps(n){let[o,a]=l.version.split("."),s=parseInt(o,10),i=parseInt(a,10);return s>18||18===s&&i>=3?{fetchPriority:n}:{fetchpriority:n}}let _=(0,l.forwardRef)((n,o)=>{let{src:a,srcSet:s,sizes:i,height:u,width:c,decoding:d,className:h,style:m,fetchPriority:x,placeholder:g,loading:v,unoptimized:_,fill:b,onLoadRef:w,onLoadingCompleteRef:j,setBlurComplete:C,setShowAltText:k,onLoad:T,onError:P,...E}=n;return l.default.createElement("img",{...E,...getDynamicProps(x),loading:v,width:c,height:u,decoding:d,"data-nimg":b?"fill":"1",className:h,style:m,sizes:i,srcSet:s,src:a,ref:(0,l.useCallback)(n=>{o&&("function"==typeof o?o(n):"object"==typeof o&&(o.current=n)),n&&(P&&(n.src=n.src),n.complete&&handleLoading(n,g,w,j,C,_))},[a,g,w,j,C,P,_,o]),onLoad:n=>{let o=n.currentTarget;handleLoading(o,g,w,j,C,_)},onError:n=>{k(!0),"empty"!==g&&C(!0),P&&P(n)}})});function ImagePreload(n){let{isAppRouter:o,imgAttributes:a}=n,s={as:"image",imageSrcSet:a.srcSet,imageSizes:a.sizes,crossOrigin:a.crossOrigin,referrerPolicy:a.referrerPolicy,...getDynamicProps(a.fetchPriority)};return o&&u.default.preload?(u.default.preload(a.src,s),null):l.default.createElement(c.default,null,l.default.createElement("link",{key:"__nimg-"+a.src+a.srcSet+a.sizes,rel:"preload",href:a.srcSet?void 0:a.src,...s}))}let b=(0,l.forwardRef)((n,o)=>{let a=(0,l.useContext)(x.RouterContext),s=(0,l.useContext)(m.ImageConfigContext),i=(0,l.useMemo)(()=>{let n=v||s||h.imageConfigDefault,o=[...n.deviceSizes,...n.imageSizes].sort((n,o)=>n-o),a=n.deviceSizes.sort((n,o)=>n-o);return{...n,allSizes:o,deviceSizes:a}},[s]),{onLoad:u,onLoadingComplete:c}=n,b=(0,l.useRef)(u);(0,l.useEffect)(()=>{b.current=u},[u]);let w=(0,l.useRef)(c);(0,l.useEffect)(()=>{w.current=c},[c]);let[j,C]=(0,l.useState)(!1),[k,T]=(0,l.useState)(!1),{props:P,meta:E}=(0,d.getImgProps)(n,{defaultLoader:g.default,imgConf:i,blurComplete:j,showAltText:k});return l.default.createElement(l.default.Fragment,null,l.default.createElement(_,{...P,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:C,setShowAltText:T,ref:o}),E.priority?l.default.createElement(ImagePreload,{isAppRouter:!a,imgAttributes:P}):null)});("function"==typeof o.default||"object"==typeof o.default&&null!==o.default)&&void 0===o.default.__esModule&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),n.exports=o.default)},5170:function(n,o,a){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"default",{enumerable:!0,get:function(){return C}});let s=a(8754),i=s._(a(7294)),l=a(4450),u=a(2227),c=a(4364),d=a(109),h=a(3607),m=a(1823),x=a(9031),g=a(920),v=a(30),_=a(7192),b=a(7498),w=new Set;function prefetch(n,o,a,s,i,l){if(!l&&!(0,u.isLocalURL)(o))return;if(!s.bypassPrefetchedCheck){let i=void 0!==s.locale?s.locale:"locale"in n?n.locale:void 0,l=o+"%"+a+"%"+i;if(w.has(l))return;w.add(l)}let c=l?n.prefetch(o,i):n.prefetch(o,a,s);Promise.resolve(c).catch(n=>{})}function formatStringOrUrl(n){return"string"==typeof n?n:(0,c.formatUrl)(n)}let j=i.default.forwardRef(function(n,o){let a,s;let{href:c,as:w,children:j,prefetch:C=null,passHref:k,replace:T,shallow:P,scroll:E,locale:I,onClick:M,onMouseEnter:L,onTouchStart:F,legacyBehavior:z=!1,...H}=n;a=j,z&&("string"==typeof a||"number"==typeof a)&&(a=i.default.createElement("a",null,a));let B=i.default.useContext(m.RouterContext),U=i.default.useContext(x.AppRouterContext),V=null!=B?B:U,W=!B,Y=!1!==C,G=null===C?b.PrefetchKind.AUTO:b.PrefetchKind.FULL,{href:J,as:K}=i.default.useMemo(()=>{if(!B){let n=formatStringOrUrl(c);return{href:n,as:w?formatStringOrUrl(w):n}}let[n,o]=(0,l.resolveHref)(B,c,!0);return{href:n,as:w?(0,l.resolveHref)(B,w):o||n}},[B,c,w]),Z=i.default.useRef(J),Q=i.default.useRef(K);z&&(s=i.default.Children.only(a));let ee=z?s&&"object"==typeof s&&s.ref:o,[et,er,en]=(0,g.useIntersection)({rootMargin:"200px"}),eo=i.default.useCallback(n=>{(Q.current!==K||Z.current!==J)&&(en(),Q.current=K,Z.current=J),et(n),ee&&("function"==typeof ee?ee(n):"object"==typeof ee&&(ee.current=n))},[K,ee,J,en,et]);i.default.useEffect(()=>{V&&er&&Y&&prefetch(V,J,K,{locale:I},{kind:G},W)},[K,J,er,I,Y,null==B?void 0:B.locale,V,W,G]);let ea={ref:eo,onClick(n){z||"function"!=typeof M||M(n),z&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(n),V&&!n.defaultPrevented&&function(n,o,a,s,l,c,d,h,m,x){let{nodeName:g}=n.currentTarget,v="A"===g.toUpperCase();if(v&&(function(n){let o=n.currentTarget,a=o.getAttribute("target");return a&&"_self"!==a||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.nativeEvent&&2===n.nativeEvent.which}(n)||!m&&!(0,u.isLocalURL)(a)))return;n.preventDefault();let navigate=()=>{let n=null==d||d;"beforePopState"in o?o[l?"replace":"push"](a,s,{shallow:c,locale:h,scroll:n}):o[l?"replace":"push"](s||a,{forceOptimisticNavigation:!x,scroll:n})};m?i.default.startTransition(navigate):navigate()}(n,V,J,K,T,P,E,I,W,Y)},onMouseEnter(n){z||"function"!=typeof L||L(n),z&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(n),V&&(Y||!W)&&prefetch(V,J,K,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:G},W)},onTouchStart(n){z||"function"!=typeof F||F(n),z&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(n),V&&(Y||!W)&&prefetch(V,J,K,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:G},W)}};if((0,d.isAbsoluteUrl)(K))ea.href=K;else if(!z||k||"a"===s.type&&!("href"in s.props)){let n=void 0!==I?I:null==B?void 0:B.locale,o=(null==B?void 0:B.isLocaleDomain)&&(0,v.getDomainLocale)(K,n,null==B?void 0:B.locales,null==B?void 0:B.domainLocales);ea.href=o||(0,_.addBasePath)((0,h.addLocale)(K,n,null==B?void 0:B.defaultLocale))}return z?i.default.cloneElement(s,ea):i.default.createElement("a",{...H,...ea},a)}),C=j;("function"==typeof o.default||"object"==typeof o.default&&null!==o.default)&&void 0===o.default.__esModule&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),n.exports=o.default)},920:function(n,o,a){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let s=a(7294),i=a(3436),l="function"==typeof IntersectionObserver,u=new Map,c=[];function useIntersection(n){let{rootRef:o,rootMargin:a,disabled:d}=n,h=d||!l,[m,x]=(0,s.useState)(!1),g=(0,s.useRef)(null),v=(0,s.useCallback)(n=>{g.current=n},[]);(0,s.useEffect)(()=>{if(l){if(h||m)return;let n=g.current;if(n&&n.tagName){let s=function(n,o,a){let{id:s,observer:i,elements:l}=function(n){let o;let a={root:n.root||null,margin:n.rootMargin||""},s=c.find(n=>n.root===a.root&&n.margin===a.margin);if(s&&(o=u.get(s)))return o;let i=new Map,l=new IntersectionObserver(n=>{n.forEach(n=>{let o=i.get(n.target),a=n.isIntersecting||n.intersectionRatio>0;o&&a&&o(a)})},n);return o={id:a,observer:l,elements:i},c.push(a),u.set(a,o),o}(a);return l.set(n,o),i.observe(n),function(){if(l.delete(n),i.unobserve(n),0===l.size){i.disconnect(),u.delete(s);let n=c.findIndex(n=>n.root===s.root&&n.margin===s.margin);n>-1&&c.splice(n,1)}}}(n,n=>n&&x(n),{root:null==o?void 0:o.current,rootMargin:a});return s}}else if(!m){let n=(0,i.requestIdleCallback)(()=>x(!0));return()=>(0,i.cancelIdleCallback)(n)}},[h,a,o,m,g.current]);let _=(0,s.useCallback)(()=>{x(!1)},[]);return[v,m,_]}("function"==typeof o.default||"object"==typeof o.default&&null!==o.default)&&void 0===o.default.__esModule&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),n.exports=o.default)},3914:function(n,o,a){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),a(1905);let s=a(2393),i=a(5494);function isStaticRequire(n){return void 0!==n.default}function getInt(n){return void 0===n?n:"number"==typeof n?Number.isFinite(n)?n:NaN:"string"==typeof n&&/^[0-9]+$/.test(n)?parseInt(n,10):NaN}function getImgProps(n,o){var a;let l,u,c,{src:d,sizes:h,unoptimized:m=!1,priority:x=!1,loading:g,className:v,quality:_,width:b,height:w,fill:j=!1,style:C,onLoad:k,onLoadingComplete:T,placeholder:P="empty",blurDataURL:E,fetchPriority:I,layout:M,objectFit:L,objectPosition:F,lazyBoundary:z,lazyRoot:H,...B}=n,{imgConf:U,showAltText:V,blurComplete:W,defaultLoader:Y}=o,G=U||i.imageConfigDefault;if("allSizes"in G)l=G;else{let n=[...G.deviceSizes,...G.imageSizes].sort((n,o)=>n-o),o=G.deviceSizes.sort((n,o)=>n-o);l={...G,allSizes:n,deviceSizes:o}}let J=B.loader||Y;delete B.loader,delete B.srcSet;let K="__next_img_default"in J;if(K){if("custom"===l.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let n=J;J=o=>{let{config:a,...s}=o;return n(s)}}if(M){"fill"===M&&(j=!0);let n={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[M];n&&(C={...C,...n});let o={responsive:"100vw",fill:"100vw"}[M];o&&!h&&(h=o)}let Z="",Q=getInt(b),ee=getInt(w);if("object"==typeof(a=d)&&(isStaticRequire(a)||void 0!==a.src)){let n=isStaticRequire(d)?d.default:d;if(!n.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(n));if(!n.height||!n.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(n));if(u=n.blurWidth,c=n.blurHeight,E=E||n.blurDataURL,Z=n.src,!j){if(Q||ee){if(Q&&!ee){let o=Q/n.width;ee=Math.round(n.height*o)}else if(!Q&&ee){let o=ee/n.height;Q=Math.round(n.width*o)}}else Q=n.width,ee=n.height}}let et=!x&&("lazy"===g||void 0===g);(!(d="string"==typeof d?d:Z)||d.startsWith("data:")||d.startsWith("blob:"))&&(m=!0,et=!1),l.unoptimized&&(m=!0),K&&d.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(m=!0),x&&(I="high");let er=getInt(_),en=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:L,objectPosition:F}:{},V?{}:{color:"transparent"},C),eo=W||"empty"===P?null:"blur"===P?'url("data:image/svg+xml;charset=utf-8,'+(0,s.getImageBlurSvg)({widthInt:Q,heightInt:ee,blurWidth:u,blurHeight:c,blurDataURL:E||"",objectFit:en.objectFit})+'")':'url("'+P+'")',ea=eo?{backgroundSize:en.objectFit||"cover",backgroundPosition:en.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eo}:{},es=function(n){let{config:o,src:a,unoptimized:s,width:i,quality:l,sizes:u,loader:c}=n;if(s)return{src:a,srcSet:void 0,sizes:void 0};let{widths:d,kind:h}=function(n,o,a){let{deviceSizes:s,allSizes:i}=n;if(a){let n=/(^|\s)(1?\d?\d)vw/g,o=[];for(let s;s=n.exec(a);s)o.push(parseInt(s[2]));if(o.length){let n=.01*Math.min(...o);return{widths:i.filter(o=>o>=s[0]*n),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof o)return{widths:s,kind:"w"};let l=[...new Set([o,2*o].map(n=>i.find(o=>o>=n)||i[i.length-1]))];return{widths:l,kind:"x"}}(o,i,u),m=d.length-1;return{sizes:u||"w"!==h?u:"100vw",srcSet:d.map((n,s)=>c({config:o,src:a,quality:l,width:n})+" "+("w"===h?n:s+1)+h).join(", "),src:c({config:o,src:a,quality:l,width:d[m]})}}({config:l,src:d,unoptimized:m,width:Q,quality:er,sizes:h,loader:J}),ei={...B,loading:et?"lazy":g,fetchPriority:I,width:Q,height:ee,decoding:"async",className:v,style:{...en,...ea},sizes:es.sizes,srcSet:es.srcSet,src:es.src},el={unoptimized:m,priority:x,placeholder:P,fill:j};return{props:ei,meta:el}}},2393:function(n,o){"use strict";function getImageBlurSvg(n){let{widthInt:o,heightInt:a,blurWidth:s,blurHeight:i,blurDataURL:l,objectFit:u}=n,c=s?40*s:o,d=i?40*i:a,h=c&&d?"viewBox='0 0 "+c+" "+d+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+h+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(h?"none":"contain"===u?"xMidYMid":"cover"===u?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},645:function(n,o,a){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),function(n,o){for(var a in o)Object.defineProperty(n,a,{enumerable:!0,get:o[a]})}(o,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return d}});let s=a(8754),i=a(3914),l=a(1905),u=a(3271),c=s._(a(4545)),unstable_getImgProps=n=>{(0,l.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:o}=(0,i.getImgProps)(n,{defaultLoader:c.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[n,a]of Object.entries(o))void 0===a&&delete o[n];return{props:o}},d=u.Image},4545:function(n,o){"use strict";function defaultLoader(n){let{config:o,src:a,width:s,quality:i}=n;return o.path+"?url="+encodeURIComponent(a)+"&w="+s+"&q="+(i||75)}Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"default",{enumerable:!0,get:function(){return a}}),defaultLoader.__next_img_default=!0;let a=defaultLoader},597:function(n,o,a){var s=a(3454);a(1479);var i=a(7294),l=i&&"object"==typeof i&&"default"in i?i:{default:i};function _defineProperties(n,o){for(var a=0;a>>0},d={};function computeId(n,o){if(!o)return"jsx-"+n;var a=String(o),s=n+a;return d[s]||(d[s]="jsx-"+stringHash(n+"-"+a)),d[s]}function computeSelector(n,o){var a=n+o;return d[a]||(d[a]=o.replace(/__jsx-style-dynamic-selector/g,n)),d[a]}var h=function(){function StyleSheetRegistry(n){var o=void 0===n?{}:n,a=o.styleSheet,s=void 0===a?null:a,i=o.optimizeForSpeed,l=void 0!==i&&i;this._sheet=s||new c({name:"styled-jsx",optimizeForSpeed:l}),this._sheet.inject(),s&&"boolean"==typeof l&&(this._sheet.setOptimizeForSpeed(l),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var n=StyleSheetRegistry.prototype;return n.add=function(n){var o=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(n.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(n,o){return n[o]=0,n},{}));var a=this.getIdAndRules(n),s=a.styleId,i=a.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var l=i.map(function(n){return o._sheet.insertRule(n)}).filter(function(n){return -1!==n});this._indices[s]=l,this._instancesCounts[s]=1},n.remove=function(n){var o=this,a=this.getIdAndRules(n).styleId;if(function(n,o){if(!n)throw Error("StyleSheetRegistry: "+o+".")}(a in this._instancesCounts,"styleId: `"+a+"` not found"),this._instancesCounts[a]-=1,this._instancesCounts[a]<1){var s=this._fromServer&&this._fromServer[a];s?(s.parentNode.removeChild(s),delete this._fromServer[a]):(this._indices[a].forEach(function(n){return o._sheet.deleteRule(n)}),delete this._indices[a]),delete this._instancesCounts[a]}},n.update=function(n,o){this.add(o),this.remove(n)},n.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},n.cssRules=function(){var n=this,o=this._fromServer?Object.keys(this._fromServer).map(function(o){return[o,n._fromServer[o]]}):[],a=this._sheet.cssRules();return o.concat(Object.keys(this._indices).map(function(o){return[o,n._indices[o].map(function(n){return a[n].cssText}).join(n._optimizeForSpeed?"":"\n")]}).filter(function(n){return!!n[1]}))},n.styles=function(n){var o,a;return o=this.cssRules(),void 0===(a=n)&&(a={}),o.map(function(n){var o=n[0],s=n[1];return l.default.createElement("style",{id:"__"+o,key:"__"+o,nonce:a.nonce?a.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},n.getIdAndRules=function(n){var o=n.children,a=n.dynamic,s=n.id;if(a){var i=computeId(s,a);return{styleId:i,rules:Array.isArray(o)?o.map(function(n){return computeSelector(i,n)}):[computeSelector(i,o)]}}return{styleId:computeId(s),rules:Array.isArray(o)?o:[o]}},n.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(n,o){return n[o.id.slice(2)]=o,n},{})},StyleSheetRegistry}(),m=i.createContext(null);m.displayName="StyleSheetContext";var x=l.default.useInsertionEffect||l.default.useLayoutEffect,g=new h;function JSXStyle(n){var o=g||i.useContext(m);return o&&x(function(){return o.add(n),function(){o.remove(n)}},[n.id,String(n.dynamic)]),null}JSXStyle.dynamic=function(n){return n.map(function(n){return computeId(n[0],n[1])}).join(" ")},o.style=JSXStyle},5379:function(n,o,a){"use strict";n.exports=a(597).style},1479:function(){},1864:function(n){!function(){"use strict";var o={114:function(n){function assertPath(n){if("string"!=typeof n)throw TypeError("Path must be a string. Received "+JSON.stringify(n))}function normalizeStringPosix(n,o){for(var a,s="",i=0,l=-1,u=0,c=0;c<=n.length;++c){if(c2){var d=s.lastIndexOf("/");if(d!==s.length-1){-1===d?(s="",i=0):i=(s=s.slice(0,d)).length-1-s.lastIndexOf("/"),l=c,u=0;continue}}else if(2===s.length||1===s.length){s="",i=0,l=c,u=0;continue}}o&&(s.length>0?s+="/..":s="..",i=2)}else s.length>0?s+="/"+n.slice(l+1,c):s=n.slice(l+1,c),i=c-l-1;l=c,u=0}else 46===a&&-1!==u?++u:u=-1}return s}var o={resolve:function(){for(var n,o,a="",s=!1,i=arguments.length-1;i>=-1&&!s;i--)i>=0?o=arguments[i]:(void 0===n&&(n=""),o=n),assertPath(o),0!==o.length&&(a=o+"/"+a,s=47===o.charCodeAt(0));return(a=normalizeStringPosix(a,!s),s)?a.length>0?"/"+a:"/":a.length>0?a:"."},normalize:function(n){if(assertPath(n),0===n.length)return".";var o=47===n.charCodeAt(0),a=47===n.charCodeAt(n.length-1);return(0!==(n=normalizeStringPosix(n,!o)).length||o||(n="."),n.length>0&&a&&(n+="/"),o)?"/"+n:n},isAbsolute:function(n){return assertPath(n),n.length>0&&47===n.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var n,a=0;a0&&(void 0===n?n=s:n+="/"+s)}return void 0===n?".":o.normalize(n)},relative:function(n,a){if(assertPath(n),assertPath(a),n===a||(n=o.resolve(n))===(a=o.resolve(a)))return"";for(var s=1;sd){if(47===a.charCodeAt(u+m))return a.slice(u+m+1);if(0===m)return a.slice(u+m)}else l>d&&(47===n.charCodeAt(s+m)?h=m:0===m&&(h=0));break}var x=n.charCodeAt(s+m);if(x!==a.charCodeAt(u+m))break;47===x&&(h=m)}var g="";for(m=s+h+1;m<=i;++m)(m===i||47===n.charCodeAt(m))&&(0===g.length?g+="..":g+="/..");return g.length>0?g+a.slice(u+h):(u+=h,47===a.charCodeAt(u)&&++u,a.slice(u))},_makeLong:function(n){return n},dirname:function(n){if(assertPath(n),0===n.length)return".";for(var o=n.charCodeAt(0),a=47===o,s=-1,i=!0,l=n.length-1;l>=1;--l)if(47===(o=n.charCodeAt(l))){if(!i){s=l;break}}else i=!1;return -1===s?a?"/":".":a&&1===s?"//":n.slice(0,s)},basename:function(n,o){if(void 0!==o&&"string"!=typeof o)throw TypeError('"ext" argument must be a string');assertPath(n);var a,s=0,i=-1,l=!0;if(void 0!==o&&o.length>0&&o.length<=n.length){if(o.length===n.length&&o===n)return"";var u=o.length-1,c=-1;for(a=n.length-1;a>=0;--a){var d=n.charCodeAt(a);if(47===d){if(!l){s=a+1;break}}else -1===c&&(l=!1,c=a+1),u>=0&&(d===o.charCodeAt(u)?-1==--u&&(i=a):(u=-1,i=c))}return s===i?i=c:-1===i&&(i=n.length),n.slice(s,i)}for(a=n.length-1;a>=0;--a)if(47===n.charCodeAt(a)){if(!l){s=a+1;break}}else -1===i&&(l=!1,i=a+1);return -1===i?"":n.slice(s,i)},extname:function(n){assertPath(n);for(var o=-1,a=0,s=-1,i=!0,l=0,u=n.length-1;u>=0;--u){var c=n.charCodeAt(u);if(47===c){if(!i){a=u+1;break}continue}-1===s&&(i=!1,s=u+1),46===c?-1===o?o=u:1!==l&&(l=1):-1!==o&&(l=-1)}return -1===o||-1===s||0===l||1===l&&o===s-1&&o===a+1?"":n.slice(o,s)},format:function(n){var o,a;if(null===n||"object"!=typeof n)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return o=n.dir||n.root,a=n.base||(n.name||"")+(n.ext||""),o?o===n.root?o+a:o+"/"+a:a},parse:function(n){assertPath(n);var o,a={root:"",dir:"",base:"",ext:"",name:""};if(0===n.length)return a;var s=n.charCodeAt(0),i=47===s;i?(a.root="/",o=1):o=0;for(var l=-1,u=0,c=-1,d=!0,h=n.length-1,m=0;h>=o;--h){if(47===(s=n.charCodeAt(h))){if(!d){u=h+1;break}continue}-1===c&&(d=!1,c=h+1),46===s?-1===l?l=h:1!==m&&(m=1):-1!==l&&(m=-1)}return -1===l||-1===c||0===m||1===m&&l===c-1&&l===u+1?-1!==c&&(0===u&&i?a.base=a.name=n.slice(1,c):a.base=a.name=n.slice(u,c)):(0===u&&i?(a.name=n.slice(1,l),a.base=n.slice(1,c)):(a.name=n.slice(u,l),a.base=n.slice(u,c)),a.ext=n.slice(l,c)),u>0?a.dir=n.slice(0,u-1):i&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,n.exports=o}},a={};function __nccwpck_require__(n){var s=a[n];if(void 0!==s)return s.exports;var i=a[n]={exports:{}},l=!0;try{o[n](i,i.exports,__nccwpck_require__),l=!1}finally{l&&delete a[n]}return i.exports}__nccwpck_require__.ab="//";var s=__nccwpck_require__(114);n.exports=s}()},7663:function(n){!function(){var o={229:function(n){var o,a,s,i=n.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(n){if(o===setTimeout)return setTimeout(n,0);if((o===defaultSetTimout||!o)&&setTimeout)return o=setTimeout,setTimeout(n,0);try{return o(n,0)}catch(a){try{return o.call(null,n,0)}catch(a){return o.call(this,n,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(n){o=defaultSetTimout}try{a="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(n){a=defaultClearTimeout}}();var l=[],u=!1,c=-1;function cleanUpNextTick(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&drainQueue())}function drainQueue(){if(!u){var n=runTimeout(cleanUpNextTick);u=!0;for(var o=l.length;o;){for(s=l,l=[];++c1)for(var a=1;a{var a,s;return(null==(a=n.frontMatter)?void 0:a.date)&&(null==(s=o.frontMatter)?void 0:s.date)?new Date(o.frontMatter.date).getTime()-new Date(n.frontMatter.date).getTime():-1},k=/^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2})?(:\d{2}\.\d{3}Z)?$/,T=/^\d{4}\/\d{1,2}\/\d{1,2}( \d{1,2}:\d{1,2})?$/,isValidDate=n=>k.test(n)||T.test(n),P=(0,w.createContext)(null),BlogProvider=({config:n,children:o,opts:a})=>{let{date:s}=a.frontMatter;if(s&&!isValidDate(s))throw Error(`Invalid date "${s}". Provide date in "YYYY/M/D", "YYYY/M/D H:m", "YYYY-MM-DD", "[YYYY-MM-DD]T[HH:mm]" or "[YYYY-MM-DD]T[HH:mm:ss.SSS]Z" format.`);return(0,C.jsx)(P.Provider,{value:{config:n,opts:a},children:o})},useBlogContext=()=>{let n=(0,w.useContext)(P);if(!n)throw Error("useBlogContext must be used within a BlogProvider");return n};function split(n=""){return(Array.isArray(n)?n:n.split(",")).map(n=>n.trim())}var E=Object.defineProperty,I=Object.defineProperties,M=Object.getOwnPropertyDescriptors,L=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,__defNormalProp=(n,o,a)=>o in n?E(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,__spreadValues=(n,o)=>{for(var a in o||(o={}))F.call(o,a)&&__defNormalProp(n,a,o[a]);if(L)for(var a of L(o))z.call(o,a)&&__defNormalProp(n,a,o[a]);return n},__spreadProps=(n,o)=>I(n,M(o)),__objRest=(n,o)=>{var a={};for(var s in n)F.call(n,s)&&0>o.indexOf(s)&&(a[s]=n[s]);if(null!=n&&L)for(var s of L(n))0>o.indexOf(s)&&z.call(n,s)&&(a[s]=n[s]);return a};let H=["light","dark"],B="(prefers-color-scheme: dark)",U="undefined"==typeof window,V=(0,w.createContext)(void 0),W={setTheme:n=>{},themes:[]},y=()=>{var n;return null!==(n=(0,w.useContext)(V))&&void 0!==n?n:W},$=n=>(0,w.useContext)(V)?w.createElement(w.Fragment,null,n.children):w.createElement(f,n),Y=["light","dark"],f=({forcedTheme:n,disableTransitionOnChange:o=!1,enableSystem:a=!0,enableColorScheme:s=!0,storageKey:i="theme",themes:l=Y,defaultTheme:u=a?"system":"light",attribute:c="data-theme",value:d,children:h,nonce:m})=>{let[x,g]=(0,w.useState)(()=>S(i,u)),[v,_]=(0,w.useState)(()=>S(i)),b=d?Object.values(d):l,j=(0,w.useCallback)(n=>{let i=n;if(!i)return;"system"===n&&a&&(i=p());let l=d?d[i]:i,h=o?index_module_b():null,m=document.documentElement;if("class"===c?(m.classList.remove(...b),l&&m.classList.add(l)):l?m.setAttribute(c,l):m.removeAttribute(c),s){let n=H.includes(u)?u:null,o=H.includes(i)?i:n;m.style.colorScheme=o}null==h||h()},[]),C=(0,w.useCallback)(n=>{g(n);try{localStorage.setItem(i,n)}catch(n){}},[n]),k=(0,w.useCallback)(o=>{let s=p(o);_(s),"system"===x&&a&&!n&&j("system")},[x,n]);(0,w.useEffect)(()=>{let n=window.matchMedia(B);return n.addListener(k),k(n),()=>n.removeListener(k)},[k]),(0,w.useEffect)(()=>{let e=n=>{n.key===i&&C(n.newValue||u)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),(0,w.useEffect)(()=>{j(null!=n?n:x)},[n,x]);let T=(0,w.useMemo)(()=>({theme:x,setTheme:C,forcedTheme:n,resolvedTheme:"system"===x?v:x,themes:a?[...l,"system"]:l,systemTheme:a?v:void 0}),[x,C,n,v,a,l]);return w.createElement(V.Provider,{value:T},w.createElement(G,{forcedTheme:n,disableTransitionOnChange:o,enableSystem:a,enableColorScheme:s,storageKey:i,themes:l,defaultTheme:u,attribute:c,value:d,children:h,attrs:b,nonce:m}),h)},G=(0,w.memo)(({forcedTheme:n,storageKey:o,attribute:a,enableSystem:s,enableColorScheme:i,defaultTheme:l,value:u,attrs:c,nonce:d})=>{let h="system"===l,m="class"===a?`var d=document.documentElement,c=d.classList;c.remove(${c.map(n=>`'${n}'`).join(",")});`:`var d=document.documentElement,n='${a}',s='setAttribute';`,x=i?H.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(n,o=!1,s=!0)=>{let l=u?u[n]:n,c=o?n+"|| ''":`'${l}'`,d="";return i&&s&&!o&&H.includes(n)&&(d+=`d.style.colorScheme = '${n}';`),"class"===a?d+=o||l?`c.add(${c})`:"null":l&&(d+=`d[s](n,${c})`),d},g=n?`!function(){${m}${$(n)}}()`:s?`!function(){try{${m}var e=localStorage.getItem('${o}');if('system'===e||(!e&&${h})){var t='${B}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${$(u?"x[e]":"e",!0)}}${h?"":"else{"+$(l,!1,!1)+"}"}${x}}catch(e){}}()`:`!function(){try{${m}var e=localStorage.getItem('${o}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${$(u?"x[e]":"e",!0)}}else{${$(l,!1,!1)};}${x}}catch(t){}}();`;return w.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:g}})},()=>!0),S=(n,o)=>{let a;if(!U){try{a=localStorage.getItem(n)||void 0}catch(n){}return a||o}},index_module_b=()=>{let n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(n)},1)}},p=n=>(n||(n=window.matchMedia(B)),n.matches?"dark":"light");var J=a(9008),K=a.n(J),Z=a(1664),Q=a.n(Z),dist_clsx=function(){for(var n,o,a=0,s="";a(0,C.jsx)("button",{className:dist_clsx("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",o),...a,children:n});function CheckIcon(n){return(0,C.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...n,children:(0,C.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function CopyIcon(n){return(0,C.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...n,children:[(0,C.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,C.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function MoonIcon(n){return(0,C.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...n,children:(0,C.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function SunIcon(n){return(0,C.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...n,children:(0,C.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function WordWrapIcon(n){return(0,C.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...n,children:(0,C.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}dist_clsx("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),dist_clsx("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),dist_clsx("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),dist_clsx("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200");var CopyToClipboard=({getValue:n,...o})=>{let[a,s]=(0,w.useState)(!1);(0,w.useEffect)(()=>{if(!a)return;let n=setTimeout(()=>{s(!1)},2e3);return()=>{clearTimeout(n)}},[a]);let i=(0,w.useCallback)(async()=>{s(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(n())}catch{console.error("Failed to copy!")}},[n]),l=a?CheckIcon:CopyIcon;return(0,C.jsx)(Button,{onClick:i,title:"Copy code",tabIndex:0,...o,children:(0,C.jsx)(l,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},Code=({children:n,className:o,...a})=>{let s="data-line-numbers"in a;return(0,C.jsx)("code",{className:dist_clsx("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",s&&"[counter-reset:line]",o),dir:"ltr",...a,children:n})},Pre=({children:n,className:o,hasCopyCode:a,filename:s,...i})=>{let l=(0,w.useRef)(null),u=(0,w.useCallback)(()=>{let n=document.documentElement.dataset,o="nextraWordWrap"in n;o?delete n.nextraWordWrap:n.nextraWordWrap=""},[]);return(0,C.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[s&&(0,C.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:s}),(0,C.jsx)("pre",{className:dist_clsx("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",s?"nx-pt-12 nx-pb-4":"nx-py-4",o),ref:l,...i,children:n}),(0,C.jsxs)("div",{className:dist_clsx("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",s?"nx-top-8":"nx-top-0"),children:[(0,C.jsx)(Button,{onClick:u,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,C.jsx)(WordWrapIcon,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),a&&(0,C.jsx)(CopyToClipboard,{getValue:()=>l.current?.querySelector("code")?.textContent||""})]})]})};function class_names_t(...n){return Array.from(new Set(n.flatMap(n=>"string"==typeof n?n.split(" "):[]))).filter(Boolean).join(" ")}function match_u(n,o,...a){if(n in o){let s=o[n];return"function"==typeof s?s(...a):s}let s=Error(`Tried to handle "${n}" but there is no handler defined. Only defined handlers are: ${Object.keys(o).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(s,match_u),s}var ee=((s=ee||{})[s.None=0]="None",s[s.RenderStrategy=1]="RenderStrategy",s[s.Static=2]="Static",s),et=((i=et||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function X({ourProps:n,theirProps:o,slot:a,defaultTag:s,features:i,visible:l=!0,name:u}){let c=N(o,n);if(l)return render_c(c,a,s,u);let d=null!=i?i:0;if(2&d){let{static:n=!1,...o}=c;if(n)return render_c(o,a,s,u)}if(1&d){let{unmount:n=!0,...o}=c;return match_u(n?0:1,{0:()=>null,1:()=>render_c({...o,hidden:!0,style:{display:"none"}},a,s,u)})}return render_c(c,a,s,u)}function render_c(n,o={},a,s){let{as:i=a,children:l,refName:u="ref",...c}=render_g(n,["unmount","static"]),d=void 0!==n.ref?{[u]:n.ref}:{},h="function"==typeof l?l(o):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(o));let m={};if(o){let n=!1,a=[];for(let[s,i]of Object.entries(o))"boolean"==typeof i&&(n=!0),!0===i&&a.push(s);n&&(m["data-headlessui-state"]=a.join(" "))}if(i===w.Fragment&&Object.keys(R(c)).length>0){if(!(0,w.isValidElement)(h)||Array.isArray(h)&&h.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${s} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(n=>` - ${n}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(n=>` - ${n}`).join(` +`)].join(` +`));let n=h.props,o="function"==typeof(null==n?void 0:n.className)?(...o)=>class_names_t(null==n?void 0:n.className(...o),c.className):class_names_t(null==n?void 0:n.className,c.className),a=o?{className:o}:{};return(0,w.cloneElement)(h,Object.assign({},N(h.props,R(render_g(c,["ref"]))),m,d,function(...n){return{ref:n.every(n=>null==n)?void 0:o=>{for(let a of n)null!=a&&("function"==typeof a?a(o):a.current=o)}}}(h.ref,d.ref),a))}return(0,w.createElement)(i,Object.assign({},render_g(c,["ref"]),i!==w.Fragment&&d,i!==w.Fragment&&m),h)}function N(...n){if(0===n.length)return{};if(1===n.length)return n[0];let o={},a={};for(let s of n)for(let n in s)n.startsWith("on")&&"function"==typeof s[n]?(null!=a[n]||(a[n]=[]),a[n].push(s[n])):o[n]=s[n];if(o.disabled||o["aria-disabled"])return Object.assign(o,Object.fromEntries(Object.keys(a).map(n=>[n,void 0])));for(let n in a)Object.assign(o,{[n](o,...s){for(let i of a[n]){if((o instanceof Event||(null==o?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;i(o,...s)}}});return o}function D(n){var o;return Object.assign((0,w.forwardRef)(n),{displayName:null!=(o=n.displayName)?o:n.name})}function R(n){let o=Object.assign({},n);for(let n in o)void 0===o[n]&&delete o[n];return o}function render_g(n,o=[]){let a=Object.assign({},n);for(let n of o)n in a&&delete a[n];return a}var er=Object.defineProperty,env_d=(n,o,a)=>o in n?er(n,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[o]=a,env_r=(n,o,a)=>(env_d(n,"symbol"!=typeof o?o+"":o,a),a);let en=new class{constructor(){env_r(this,"current",this.detect()),env_r(this,"handoffState","pending"),env_r(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},use_iso_morphic_effect_l=(n,o)=>{en.isServer?(0,w.useEffect)(n,o):(0,w.useLayoutEffect)(n,o)},eo=null!=(b=w.useId)?b:function(){let n=function(){let n;let o=(n="undefined"==typeof document,(0,j.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!n)),[a,s]=w.useState(en.isHandoffComplete);return a&&!1===en.isHandoffComplete&&s(!1),w.useEffect(()=>{!0!==a&&s(!0)},[a]),w.useEffect(()=>en.handoff(),[]),!o&&a}(),[o,a]=w.useState(n?()=>en.nextId():null);return use_iso_morphic_effect_l(()=>{null===o&&a(en.nextId())},[o]),null!=o?""+o:void 0};var ea=((l=ea||{}).Space=" ",l.Enter="Enter",l.Escape="Escape",l.Backspace="Backspace",l.Delete="Delete",l.ArrowLeft="ArrowLeft",l.ArrowUp="ArrowUp",l.ArrowRight="ArrowRight",l.ArrowDown="ArrowDown",l.Home="Home",l.End="End",l.PageUp="PageUp",l.PageDown="PageDown",l.Tab="Tab",l);let es=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(n=>`${n}:not([tabindex='-1'])`).join(",");var ei=((u=ei||{})[u.First=1]="First",u[u.Previous=2]="Previous",u[u.Next=4]="Next",u[u.Last=8]="Last",u[u.WrapAround=16]="WrapAround",u[u.NoScroll=32]="NoScroll",u),el=((c=el||{})[c.Error=0]="Error",c[c.Overflow=1]="Overflow",c[c.Success=2]="Success",c[c.Underflow=3]="Underflow",c),eu=((d=eu||{})[d.Previous=-1]="Previous",d[d.Next=1]="Next",d),ec=((h=ec||{})[h.Strict=0]="Strict",h[h.Loose=1]="Loose",h),ed=((m=ed||{})[m.Keyboard=0]="Keyboard",m[m.Mouse=1]="Mouse",m);function focus_management_I(n,o=n=>n){return n.slice().sort((n,a)=>{let s=o(n),i=o(a);if(null===s||null===i)return 0;let l=s.compareDocumentPosition(i);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function O(n,o,{sorted:a=!0,relativeTo:s=null,skipElements:i=[]}={}){var l,u,c;let d=Array.isArray(n)?n.length>0?n[0].ownerDocument:document:n.ownerDocument,h=Array.isArray(n)?a?focus_management_I(n):n:function(n=document.body){return null==n?[]:Array.from(n.querySelectorAll(es)).sort((n,o)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(o.tabIndex||Number.MAX_SAFE_INTEGER)))}(n);i.length>0&&h.length>1&&(h=h.filter(n=>!i.includes(n))),s=null!=s?s:d.activeElement;let m=(()=>{if(5&o)return 1;if(10&o)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),x=(()=>{if(1&o)return 0;if(2&o)return Math.max(0,h.indexOf(s))-1;if(4&o)return Math.max(0,h.indexOf(s))+1;if(8&o)return h.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),g=32&o?{preventScroll:!0}:{},v=0,_=h.length,b;do{if(v>=_||v+_<=0)return 0;let n=x+v;if(16&o)n=(n+_)%_;else{if(n<0)return 3;if(n>=_)return 1}null==(b=h[n])||b.focus(g),v+=m}while(b!==d.activeElement);return 6&o&&null!=(c=null==(u=null==(l=b)?void 0:l.matches)?void 0:u.call(l,"textarea,input"))&&c&&b.select(),2}function use_latest_value_s(n){let o=(0,w.useRef)(n);return use_iso_morphic_effect_l(()=>{o.current=n},[n]),o}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",n=>{n.metaKey||n.altKey||n.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",n=>{1===n.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===n.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let use_event_o=function(n){let o=use_latest_value_s(n);return w.useCallback((...n)=>o.current(...n),[o])},ef=Symbol();function use_sync_refs_y(...n){let o=(0,w.useRef)(n);(0,w.useEffect)(()=>{o.current=n},[n]);let a=use_event_o(n=>{for(let a of o.current)null!=a&&("function"==typeof a?a(n):a.current=n)});return n.every(n=>null==n||(null==n?void 0:n[ef]))?void 0:a}function use_resolve_button_type_i(n){var o;if(n.type)return n.type;let a=null!=(o=n.as)?o:"button";if("string"==typeof a&&"button"===a.toLowerCase())return"button"}var ep=((x=ep||{})[x.None=1]="None",x[x.Focusable=2]="Focusable",x[x.Hidden=4]="Hidden",x);let eh=D(function(n,o){let{features:a=1,...s}=n;return X({ourProps:{ref:o,"aria-hidden":(2&a)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&a)==4&&(2&a)!=2&&{display:"none"}}},theirProps:s,slot:{},defaultTag:"div",name:"Hidden"})});function focus_sentinel_A({onFocus:n}){let o;let[a,s]=(0,w.useState)(!0),i=(o=(0,w.useRef)(!1),use_iso_morphic_effect_l(()=>(o.current=!0,()=>{o.current=!1}),[]),o);return a?w.createElement(eh,{as:"button",type:"button",features:ep.Focusable,onFocus:o=>{o.preventDefault();let a,l=50;a=requestAnimationFrame(function t(){if(l--<=0){a&&cancelAnimationFrame(a);return}if(n()){if(cancelAnimationFrame(a),!i.current)return;s(!1);return}a=requestAnimationFrame(t)})}}):null}let em=w.createContext(null);function stable_collection_C({children:n}){let o=w.useRef({groups:new Map,get(n,o){var a;let s=this.groups.get(n);s||(s=new Map,this.groups.set(n,s));let i=null!=(a=s.get(o))?a:0;return s.set(o,i+1),[Array.from(s.keys()).indexOf(o),function(){let n=s.get(o);n>1?s.set(o,n-1):s.delete(o)}]}});return w.createElement(em.Provider,{value:o},n)}function stable_collection_d(n){let o=w.useContext(em);if(!o)throw Error("You must wrap your component in a ");let a=function(){var n,o,a;let s=null!=(a=null==(o=null==(n=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:n.ReactCurrentOwner)?void 0:o.current)?a:null;if(!s)return Symbol();let i=[],l=s;for(;l;)i.push(l.index),l=l.return;return"$."+i.join(".")}(),[s,i]=o.current.get(n,a);return w.useEffect(()=>i,[]),s}var ex=((g=ex||{})[g.Forwards=0]="Forwards",g[g.Backwards=1]="Backwards",g),eg=((v=eg||{})[v.Less=-1]="Less",v[v.Equal=0]="Equal",v[v.Greater=1]="Greater",v),ev=((_=ev||{})[_.SetSelectedIndex=0]="SetSelectedIndex",_[_.RegisterTab=1]="RegisterTab",_[_.UnregisterTab=2]="UnregisterTab",_[_.RegisterPanel=3]="RegisterPanel",_[_.UnregisterPanel=4]="UnregisterPanel",_);let e_={0(n,o){var a;let s=focus_management_I(n.tabs,n=>n.current),i=focus_management_I(n.panels,n=>n.current),l=s.filter(n=>{var o;return!(null!=(o=n.current)&&o.hasAttribute("disabled"))}),u={...n,tabs:s,panels:i};if(o.index<0||o.index>s.length-1){let a=match_u(Math.sign(o.index-n.selectedIndex),{[-1]:()=>1,0:()=>match_u(Math.sign(o.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===l.length)return u;let i=match_u(a,{0:()=>s.indexOf(l[0]),1:()=>s.indexOf(l[l.length-1])});return{...u,selectedIndex:-1===i?n.selectedIndex:i}}let c=s.slice(0,o.index),d=[...s.slice(o.index),...c].find(n=>l.includes(n));if(!d)return u;let h=null!=(a=s.indexOf(d))?a:n.selectedIndex;return -1===h&&(h=n.selectedIndex),{...u,selectedIndex:h}},1(n,o){var a;if(n.tabs.includes(o.tab))return n;let s=n.tabs[n.selectedIndex],i=focus_management_I([...n.tabs,o.tab],n=>n.current),l=null!=(a=i.indexOf(s))?a:n.selectedIndex;return -1===l&&(l=n.selectedIndex),{...n,tabs:i,selectedIndex:l}},2:(n,o)=>({...n,tabs:n.tabs.filter(n=>n!==o.tab)}),3:(n,o)=>n.panels.includes(o.panel)?n:{...n,panels:focus_management_I([...n.panels,o.panel],n=>n.current)},4:(n,o)=>({...n,panels:n.panels.filter(n=>n!==o.panel)})},ey=(0,w.createContext)(null);function tabs_M(n){let o=(0,w.useContext)(ey);if(null===o){let o=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,tabs_M),o}return o}ey.displayName="TabsDataContext";let eb=(0,w.createContext)(null);function q(n){let o=(0,w.useContext)(eb);if(null===o){let o=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,q),o}return o}function fe(n,o){return match_u(o.type,e_,n,o)}eb.displayName="TabsActionsContext";let eS=w.Fragment,ew=ee.RenderStrategy|ee.Static,ej=Object.assign(D(function(n,o){var a,s;let i=eo(),{id:l=`headlessui-tabs-tab-${i}`,...u}=n,{orientation:c,activation:d,selectedIndex:h,tabs:m,panels:x}=tabs_M("Tab"),g=q("Tab"),v=tabs_M("Tab"),_=(0,w.useRef)(null),b=use_sync_refs_y(_,o);use_iso_morphic_effect_l(()=>g.registerTab(_),[g,_]);let j=stable_collection_d("tabs"),C=m.indexOf(_);-1===C&&(C=j);let k=C===h,T=use_event_o(n=>{var o;let a=n();if(a===el.Success&&"auto"===d){let n=null==(o=en.isServer?null:_ instanceof Node?_.ownerDocument:null!=_&&_.hasOwnProperty("current")&&_.current instanceof Node?_.current.ownerDocument:document)?void 0:o.activeElement,a=v.tabs.findIndex(o=>o.current===n);-1!==a&&g.change(a)}return a}),P=use_event_o(n=>{let o=m.map(n=>n.current).filter(Boolean);if(n.key===ea.Space||n.key===ea.Enter){n.preventDefault(),n.stopPropagation(),g.change(C);return}switch(n.key){case ea.Home:case ea.PageUp:return n.preventDefault(),n.stopPropagation(),T(()=>O(o,ei.First));case ea.End:case ea.PageDown:return n.preventDefault(),n.stopPropagation(),T(()=>O(o,ei.Last))}if(T(()=>match_u(c,{vertical:()=>n.key===ea.ArrowUp?O(o,ei.Previous|ei.WrapAround):n.key===ea.ArrowDown?O(o,ei.Next|ei.WrapAround):el.Error,horizontal:()=>n.key===ea.ArrowLeft?O(o,ei.Previous|ei.WrapAround):n.key===ea.ArrowRight?O(o,ei.Next|ei.WrapAround):el.Error}))===el.Success)return n.preventDefault()}),E=(0,w.useRef)(!1),I=use_event_o(()=>{var n,o;E.current||(E.current=!0,null==(n=_.current)||n.focus({preventScroll:!0}),g.change(C),o=()=>{E.current=!1},"function"==typeof queueMicrotask?queueMicrotask(o):Promise.resolve().then(o).catch(n=>setTimeout(()=>{throw n})))}),M=use_event_o(n=>{n.preventDefault()}),L=(0,w.useMemo)(()=>({selected:k}),[k]);return X({ourProps:{ref:b,onKeyDown:P,onMouseDown:M,onClick:I,id:l,role:"tab",type:function(n,o){let[a,s]=(0,w.useState)(()=>use_resolve_button_type_i(n));return use_iso_morphic_effect_l(()=>{s(use_resolve_button_type_i(n))},[n.type,n.as]),use_iso_morphic_effect_l(()=>{a||o.current&&o.current instanceof HTMLButtonElement&&!o.current.hasAttribute("type")&&s("button")},[a,o]),a}(n,_),"aria-controls":null==(s=null==(a=x[C])?void 0:a.current)?void 0:s.id,"aria-selected":k,tabIndex:k?0:-1},theirProps:u,slot:L,defaultTag:"button",name:"Tabs.Tab"})}),{Group:D(function(n,o){let{defaultIndex:a=0,vertical:s=!1,manual:i=!1,onChange:l,selectedIndex:u=null,...c}=n,d=s?"vertical":"horizontal",h=i?"manual":"auto",m=null!==u,x=use_sync_refs_y(o),[g,v]=(0,w.useReducer)(fe,{selectedIndex:null!=u?u:a,tabs:[],panels:[]}),_=(0,w.useMemo)(()=>({selectedIndex:g.selectedIndex}),[g.selectedIndex]),b=use_latest_value_s(l||(()=>{})),j=use_latest_value_s(g.tabs),C=(0,w.useMemo)(()=>({orientation:d,activation:h,...g}),[d,h,g]),k=use_event_o(n=>(v({type:1,tab:n}),()=>v({type:2,tab:n}))),T=use_event_o(n=>(v({type:3,panel:n}),()=>v({type:4,panel:n}))),P=use_event_o(n=>{E.current!==n&&b.current(n),m||v({type:0,index:n})}),E=use_latest_value_s(m?n.selectedIndex:g.selectedIndex),I=(0,w.useMemo)(()=>({registerTab:k,registerPanel:T,change:P}),[]);return use_iso_morphic_effect_l(()=>{v({type:0,index:null!=u?u:a})},[u]),use_iso_morphic_effect_l(()=>{if(void 0===E.current||g.tabs.length<=0)return;let n=focus_management_I(g.tabs,n=>n.current);n.some((n,o)=>g.tabs[o]!==n)&&P(n.indexOf(g.tabs[E.current]))}),w.createElement(stable_collection_C,null,w.createElement(eb.Provider,{value:I},w.createElement(ey.Provider,{value:C},C.tabs.length<=0&&w.createElement(focus_sentinel_A,{onFocus:()=>{var n,o;for(let a of j.current)if((null==(n=a.current)?void 0:n.tabIndex)===0)return null==(o=a.current)||o.focus(),!0;return!1}}),X({ourProps:{ref:x},theirProps:c,slot:_,defaultTag:eS,name:"Tabs"}))))}),List:D(function(n,o){let{orientation:a,selectedIndex:s}=tabs_M("Tab.List");return X({ourProps:{ref:use_sync_refs_y(o),role:"tablist","aria-orientation":a},theirProps:n,slot:{selectedIndex:s},defaultTag:"div",name:"Tabs.List"})}),Panels:D(function(n,o){let{selectedIndex:a}=tabs_M("Tab.Panels");return X({ourProps:{ref:use_sync_refs_y(o)},theirProps:n,slot:(0,w.useMemo)(()=>({selectedIndex:a}),[a]),defaultTag:"div",name:"Tabs.Panels"})}),Panel:D(function(n,o){var a,s,i,l;let u=eo(),{id:c=`headlessui-tabs-panel-${u}`,tabIndex:d=0,...h}=n,{selectedIndex:m,tabs:x,panels:g}=tabs_M("Tab.Panel"),v=q("Tab.Panel"),_=(0,w.useRef)(null),b=use_sync_refs_y(_,o);use_iso_morphic_effect_l(()=>v.registerPanel(_),[v,_]);let j=stable_collection_d("panels"),C=g.indexOf(_);-1===C&&(C=j);let k=C===m,T=(0,w.useMemo)(()=>({selected:k}),[k]),P={ref:b,id:c,role:"tabpanel","aria-labelledby":null==(s=null==(a=x[C])?void 0:a.current)?void 0:s.id,tabIndex:k?d:-1};return k||null!=(i=h.unmount)&&!i||null!=(l=h.static)&&l?X({ourProps:P,theirProps:h,slot:T,defaultTag:"div",features:ew,visible:k,name:"Tabs.Panel"}):w.createElement(eh,{as:"span",...P})})});function isTabObjectItem(n){return!!n&&"object"==typeof n&&"label"in n}Object.assign(function({items:n,selectedIndex:o,defaultIndex:a=0,onChange:s,children:i,storageKey:l}){let[u,c]=(0,w.useState)(a);(0,w.useEffect)(()=>{void 0!==o&&c(o)},[o]),(0,w.useEffect)(()=>{if(!l)return;function fn(n){n.key===l&&c(Number(n.newValue))}let n=Number(localStorage.getItem(l));return c(Number.isNaN(n)?0:n),window.addEventListener("storage",fn),()=>{window.removeEventListener("storage",fn)}},[]);let d=(0,w.useCallback)(n=>{if(l){let o=String(n);localStorage.setItem(l,o),window.dispatchEvent(new StorageEvent("storage",{key:l,newValue:o}));return}c(n),s?.(n)},[]);return(0,C.jsxs)(ej.Group,{selectedIndex:u,defaultIndex:a,onChange:d,children:[(0,C.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,C.jsx)(ej.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:n.map((n,o)=>{let a=isTabObjectItem(n)&&n.disabled;return(0,C.jsx)(ej,{disabled:a,className:({selected:n})=>dist_clsx("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",n?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",a&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:isTabObjectItem(n)?n.label:n},o)})})}),(0,C.jsx)(ej.Panels,{children:i})]})},{displayName:"Tabs",Tab:function({children:n,...o}){return(0,C.jsx)(ej.Panel,{...o,className:"nx-rounded nx-pt-6",children:n})}});var Td=({className:n="",...o})=>(0,C.jsx)("td",{className:dist_clsx("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",n),...o}),Table=({className:n="",...o})=>(0,C.jsx)("table",{className:dist_clsx("nx-block nx-overflow-x-scroll",n),...o}),Th=({className:n="",...o})=>(0,C.jsx)("th",{className:dist_clsx("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",n),...o}),Tr=({className:n="",...o})=>(0,C.jsx)("tr",{className:dist_clsx("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",n),...o}),eC={cards:dist_clsx("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:dist_clsx("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:dist_clsx("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},ek=(0,C.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:n,num:o=3,className:a,style:s,...i}){return(0,C.jsx)("div",{className:dist_clsx(eC.cards,a),...i,style:{...s,"--rows":o},children:n})},{displayName:"Cards",Card:function({children:n,title:o,icon:a,image:s,arrow:i,href:l,...u}){let c=i?ek:null;return s?(0,C.jsxs)(Q(),{href:l,className:dist_clsx(eC.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...u,children:[n,(0,C.jsxs)("span",{className:dist_clsx(eC.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[a,(0,C.jsxs)("span",{className:"nx-flex nx-gap-1",children:[o,c]})]})]}):(0,C.jsx)(Q(),{href:l,className:dist_clsx(eC.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...u,children:(0,C.jsxs)("span",{className:dist_clsx(eC.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[a,o,c]})})}});var eT=(0,w.createContext)(0);function useIndent(){return(0,w.useContext)(eT)}function Ident(){let n=useIndent();return(0,C.jsx)(C.Fragment,{children:Array.from({length:n},(n,o)=>(0,C.jsx)("span",{className:"nx-w-5"},o))})}var eP=(0,w.memo)(({label:n,name:o,open:a,children:s,defaultOpen:i=!1,onToggle:l})=>{let u=useIndent(),[c,d]=(0,w.useState)(i),h=(0,w.useCallback)(()=>{l?.(!c),d(!c)},[c,l]),m=void 0===a?c:a;return(0,C.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,C.jsxs)("button",{onClick:h,title:o,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,C.jsx)(Ident,{}),(0,C.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,C.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:m?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,C.jsx)("span",{className:"nx-ml-1",children:n??o})]}),m&&(0,C.jsx)("ul",{children:(0,C.jsx)(eT.Provider,{value:u+1,children:s})})]})});eP.displayName="Folder";var eE=(0,w.memo)(({label:n,name:o,active:a})=>(0,C.jsx)("li",{className:dist_clsx("nx-flex nx-list-none",a&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,C.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,C.jsx)(Ident,{}),(0,C.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,C.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,C.jsx)("span",{className:"nx-ml-1",children:n??o})]})}));eE.displayName="File",Object.assign(function({children:n}){return(0,C.jsx)("div",{className:dist_clsx("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,C.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:n})})},{Folder:eP,File:eE});var eI=a(2643),eM=a(3935),eO=a(1163);a(7222);var eN=(0,w.createContext)((0,w.createRef)()),H1=({children:n})=>{let o=(0,w.useContext)(eN),{opts:a}=useBlogContext(),[s,i]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{o.current&&a.hasJsxInH1&&i(!0)},[a.hasJsxInH1,o]),(0,C.jsx)(C.Fragment,{children:s&&(0,eM.createPortal)(n,o.current)})};function HeadingLink(n){var{tag:o,children:a,id:s,className:i}=n,l=__objRest(n,["tag","children","id","className"]);return(0,C.jsxs)(o,__spreadProps(__spreadValues({className:"sr-only"===i?"nx-sr-only":`nx-not-prose subheading-${o}`},l),{children:[a,s&&(0,C.jsx)("a",{href:`#${s}`,id:s,className:"subheading-anchor","aria-label":"Permalink for this section"})]}))}var eA=/https?:\/\//,A=n=>{var{children:o,href:a=""}=n,s=__objRest(n,["children","href"]);return eA.test(a)?(0,C.jsxs)("a",__spreadProps(__spreadValues({href:a,target:"_blank",rel:"noreferrer"},s),{children:[o,(0,C.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):(0,C.jsx)(Q(),{href:a,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",__spreadProps(__spreadValues({},s),{children:o}))})},useComponents=()=>{let{config:n}=useBlogContext();return __spreadValues({h1:H1,h2:n=>(0,C.jsx)(HeadingLink,__spreadValues({tag:"h2"},n)),h3:n=>(0,C.jsx)(HeadingLink,__spreadValues({tag:"h3"},n)),h4:n=>(0,C.jsx)(HeadingLink,__spreadValues({tag:"h4"},n)),h5:n=>(0,C.jsx)(HeadingLink,__spreadValues({tag:"h5"},n)),h6:n=>(0,C.jsx)(HeadingLink,__spreadValues({tag:"h6"},n)),a:A,pre:n=>{var{children:o}=n,a=__objRest(n,["children"]);return(0,C.jsx)("div",{className:"nx-not-prose",children:(0,C.jsx)(Pre,__spreadProps(__spreadValues({},a),{children:o}))})},tr:Tr,th:Th,td:Td,table:n=>(0,C.jsx)(Table,__spreadValues({className:"nx-not-prose"},n)),code:Code},n.components)},MDXTheme=({children:n})=>(0,C.jsx)(eI.Z,{components:useComponents(),children:n}),BasicLayout=({children:n})=>{var o;let{config:a,opts:s}=useBlogContext(),i=`${s.title}${a.titleSuffix||""}`,l=(0,w.useRef)(null);return(0,C.jsxs)("article",{className:"nx-container nx-prose max-md:nx-prose-sm dark:nx-prose-dark",dir:"ltr",children:[(0,C.jsxs)(K(),{children:[(0,C.jsx)("title",{children:i}),null==(o=a.head)?void 0:o.call(a,{title:i,meta:s.frontMatter})]}),(0,C.jsxs)(eN.Provider,{value:l,children:[s.hasJsxInH1?(0,C.jsx)("h1",{ref:l}):null,s.hasJsxInH1?null:(0,C.jsx)("h1",{children:s.title}),n,a.footer]})]})};function ThemeSwitch(){let{setTheme:n,resolvedTheme:o}=y(),a=function(){let[n,o]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{o(!0)},[]),n}(),s="dark"===o,toggleTheme=()=>{n(s?"light":"dark")};return(0,C.jsx)("span",{role:"button","aria-label":"Toggle Dark Mode",className:"nx-cursor-pointer nx-p-2 nx-text-current",tabIndex:0,onClick:toggleTheme,onKeyDown:n=>{"Enter"===n.key&&toggleTheme()},children:a&&s?(0,C.jsx)(MoonIcon,{}):(0,C.jsx)(SunIcon,{})})}function traverse(n,o){for(let a of n)if(o(a))return a;for(let a of n)if("Folder"===a.kind){let n=traverse(a.children,o);if(n)return n}return null}var getParent=({opts:n})=>{let o=null,a=[],{route:s}=n;traverse(n.pageMap,n=>{"route"in n&&s!==n.route&&(s+"/").startsWith("/"===n.route?"/":n.route+"/")&&a.push(n)});let i=a.reverse().find(n=>"frontMatter"in n&&n.frontMatter&&"posts"===n.frontMatter.type);return i&&(o=i.route),{parentPage:i,back:o}};function Meta(){var n,o;let{opts:a,config:s}=useBlogContext(),{author:i,date:l,tag:u}=a.frontMatter,{back:c}=getParent({opts:a,config:s}),d=u?split(u):[],h=d.map(n=>(0,C.jsx)(Q(),{href:"/tags/[tag]",as:`/tags/${n}`,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{className:"\n nx-select-none\n nx-rounded-md\n nx-bg-gray-200\n nx-px-1\n nx-text-sm\n nx-text-gray-400\n nx-transition-colors\n hover:nx-bg-gray-300\n hover:nx-text-gray-500\n dark:nx-bg-gray-600\n dark:nx-text-gray-300\n dark:hover:nx-bg-gray-700\n dark:hover:nx-text-gray-200\n ",children:n})},n)),m=null==(n=a.readingTime)?void 0:n.text,x=l?new Date(l):null;return(0,C.jsxs)("div",{className:"nx-mb-8 nx-flex nx-gap-3 "+(m?"nx-items-start":"nx-items-center"),children:[(0,C.jsxs)("div",{className:"nx-grow dark:nx-text-gray-400 nx-text-gray-600",children:[(0,C.jsxs)("div",{className:"nx-not-prose nx-flex nx-flex-wrap nx-items-center nx-gap-1",children:[i,i&&l&&",",x&&(0,C.jsx)("time",{dateTime:x.toISOString(),children:(null==(o=s.dateFormatter)?void 0:o.call(s,x))||x.toDateString()}),(i||l)&&(m||d.length>0)&&(0,C.jsx)("span",{className:"nx-px-1",children:"•"}),m||h]}),m&&(0,C.jsx)("div",{className:"nx-not-prose nx-mt-1 nx-flex nx-flex-wrap nx-items-center nx-gap-1",children:h})]}),(0,C.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-3 print:nx-hidden",children:[c&&(0,C.jsx)(Q(),{href:c,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{children:"Back"})}),s.darkMode&&(0,C.jsx)(ThemeSwitch,{})]})]})}var eR={footer:(0,C.jsxs)("small",{className:"nx-mt-32 nx-block",children:["CC BY-NC 4.0 ",new Date().getFullYear()," \xa9 Shu Ding."]}),readMore:"Read More →"},isNav=n=>{var o;let a="frontMatter"in n&&(null==(o=n.frontMatter)?void 0:o.type);return a&&["page","posts"].includes(a)},isPost=n=>{if("Folder"===n.kind||"Meta"===n.kind||n.name.startsWith("_"))return!1;let{draft:o,type:a}=n.frontMatter||{};return!o&&(!a||"post"===a)},collectPostsAndNavs=({opts:n})=>{let o=[],a=[],{route:s}=n;return traverse(n.pageMap,n=>{isNav(n)&&a.push(__spreadProps(__spreadValues({},n),{active:n.route===s})),isPost(n)&&o.push(n)}),o.sort(sortDate),a.sort(sortDate),{posts:o,navPages:a}};function Nav(){var n;let{opts:o,config:a}=useBlogContext(),{navPages:s}=collectPostsAndNavs({opts:o,config:a});return(0,C.jsxs)("div",{className:"nx-mb-8 nx-flex nx-items-center nx-gap-3",children:[(0,C.jsxs)("div",{className:"nx-flex nx-grow nx-flex-wrap nx-items-center nx-justify-end nx-gap-3",children:[s.map(n=>{var o;let a=(null==(o=n.frontMatter)?void 0:o.title)||n.name;return n.active?(0,C.jsx)("span",{className:"nx-cursor-default dark:nx-text-gray-400 nx-text-gray-600",children:a},n.route):(0,C.jsx)(Q(),{href:n.route,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{children:a})},n.route)}),null==(n=a.navs)?void 0:n.map(n=>(0,C.jsx)(Q(),{href:n.url,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{children:n.name})},n.url))]}),a.darkMode&&(0,C.jsx)(ThemeSwitch,{})]})}function PostsLayout({children:n}){let{config:o,opts:a}=useBlogContext(),{posts:s}=collectPostsAndNavs({config:o,opts:a}),i=(0,eO.useRouter)(),{type:l}=a.frontMatter,u="tag"===l?i.query.tag:null,c=s.map(n=>{var a,s,i;if(u){let o=n.frontMatter?split(n.frontMatter.tag):[];if(!Array.isArray(u)&&!o.includes(u))return null}else if("tag"===l)return null;let c=(null==(a=n.frontMatter)?void 0:a.title)||n.name,d=(null==(s=n.frontMatter)?void 0:s.date)?new Date(n.frontMatter.date):null,h=null==(i=n.frontMatter)?void 0:i.description;return(0,C.jsxs)("div",{className:"post-item",children:[(0,C.jsx)("h3",{children:(0,C.jsx)(Q(),{href:n.route,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{className:"!nx-no-underline",children:c})})}),h&&(0,C.jsxs)("p",{className:"nx-mb-2 dark:nx-text-gray-400 nx-text-gray-600",children:[h,o.readMore&&(0,C.jsx)(Q(),{href:n.route,passHref:!0,legacyBehavior:!0,children:(0,C.jsx)("a",{className:"post-item-more nx-ml-2",children:o.readMore})})]}),d&&(0,C.jsx)("time",{className:"nx-text-sm dark:nx-text-gray-400 nx-text-gray-600",dateTime:d.toISOString(),children:d.toDateString()})]},n.route)});return(0,C.jsxs)(BasicLayout,{children:[(0,C.jsx)(Nav,{}),(0,C.jsx)(MDXTheme,{children:n}),c]})}var eL={post:({children:n})=>{let{config:o}=useBlogContext();return(0,C.jsxs)(BasicLayout,{children:[(0,C.jsx)(Meta,{}),(0,C.jsxs)(MDXTheme,{children:[n,o.postFooter,o.comments]})]})},page:({children:n})=>(0,C.jsxs)(BasicLayout,{children:[(0,C.jsx)(Nav,{}),(0,C.jsx)(MDXTheme,{children:n})]}),posts:PostsLayout,tag:PostsLayout},BlogLayout=({config:n,children:o,opts:a})=>{let s=a.frontMatter.type||"post",i=eL[s];if(!i)throw Error(`nextra-theme-blog does not support the layout type "${s}" It only supports "post", "page", "posts" and "tag"`);return(0,C.jsx)(BlogProvider,{opts:a,config:n,children:(0,C.jsx)(i,{children:o})})};function Layout(n){var{children:o}=n,a=__objRest(n,["children"]);let s=__spreadValues(__spreadValues({},eR),a.themeConfig);return(0,C.jsx)($,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:(0,C.jsx)(BlogLayout,{config:s,opts:a.pageOpts,children:o})})}},2643:function(n,o,a){"use strict";a.d(o,{Z:function(){return MDXProvider},a:function(){return mdx_useMDXComponents}});var s=a(7294);let i=s.createContext({});function useMDXComponents(n){let o=s.useContext(i);return s.useMemo(()=>"function"==typeof n?n(o):{...o,...n},[o,n])}let l={};function MDXProvider({components:n,children:o,disableParentContext:a}){let u;return u=a?"function"==typeof n?n({}):n||l:useMDXComponents(n),s.createElement(i.Provider,{value:u},o)}var u=a(5675),c=a.n(u),d={img:n=>(0,s.createElement)("object"==typeof n.src?c():"img",n)},mdx_useMDXComponents=n=>useMDXComponents({...d,...n})},2673:function(n,o,a){"use strict";a.d(o,{j:function(){return setupNextraPage}});var s,i=a(9208),l=a.n(i),u=a(7222),c=a(7294);a(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(n){var o=Date.now();return setTimeout(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-o))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(n){clearTimeout(n)}),a(2643);var d=a(5893),h=(0,c.createContext)(!1),m=a(1163);function Nextra({__nextra_pageMap:n,__nextra_dynamic_opts:o,...a}){let{context:s,Layout:i}=function(){let n=globalThis[u.eZ],{route:o}=(0,m.useRouter)();(0,c.useState)({})[1];let a=n.context[o];if(!a)throw Error("No content found for the current route. This is a Nextra bug.");return{context:a,Layout:n.Layout}}(),{Content:l,...x}=s;if(n&&(x.pageOpts={...x.pageOpts,pageMap:n}),o){let{headings:n,title:a,frontMatter:s}=JSON.parse(o);x.pageOpts={...x.pageOpts,headings:n,title:a,frontMatter:s}}return(0,d.jsx)(i,{...x,pageProps:a,children:(0,d.jsx)(h.Provider,{value:a,children:(0,d.jsx)(l,{...a})})})}var x=a(1864),g=a(3859),v=a(6107);function pageTitleFromFilename(n){return v(n.replaceAll(/[-_]/g," "))}function isFolder(n){return!!n&&"object"==typeof n&&"folder"===n.type}function normalizeMetaData(n){return Object.fromEntries(Object.entries(n).map(([n,o])=>{if(isFolder(o)){let a=n.replace("/","");return[a,o.title||pageTitleFromFilename(a)]}return[n,o||pageTitleFromFilename(n)]}))}function setupNextraPage({pageNextRoute:n,pageOpts:o,nextraLayout:a,themeConfig:i,MDXContent:c,hot:d,pageOptsChecksum:h,dynamicMetaModules:m=[]}){var v;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(s)return s;let n=JSON.parse(JSON.stringify(_.pageMap));return await Promise.all(m.map(async([o,{metaObjectKeyPath:a,metaParentKeyPath:s}])=>{let i=await o,u=await i.default(),c=l()(n,a);c.data=u;let d=l()(n,s);!function collectCatchAllRoutes(n,o,a=!0){if(a){collectCatchAllRoutes(n,{kind:"Meta",data:o.data,locale:o.locale},!1),o.data=normalizeMetaData(o.data);return}for(let[a,i]of Object.entries(o.data)){if(!isFolder(i)){var s;if("*"===a)continue;n.children.push({kind:"MdxPage",...o.locale&&{locale:o.locale},name:a,route:(s=n.route,g(x.join(s,a.replace(/^index$/,""))))});continue}let l=a.replace("/",""),u={kind:"Folder",name:l,route:`${n.route}/${l}`,children:[{kind:"Meta",...o.locale&&{locale:o.locale},data:normalizeMetaData(i.items)}]};n.children.push(u),collectCatchAllRoutes(u,{kind:"Meta",data:i.items,locale:o.locale},!1)}}(d,c)})),s=n});let _=globalThis[v=u.eZ]||(globalThis[v]=Object.create(null));return o.pageMap?(_.pageMap=o.pageMap,_.Layout=a):(o={...o,pageMap:_.pageMap,flexsearch:_.flexsearch},i=_.themeConfig),o={frontMatter:{},...o},_.route=o.route,_.context||(_.context=Object.create(null)),_.context[n]={Content:c,pageOpts:o,themeConfig:i},Nextra}},3859:function(n){"use strict";n.exports=n=>{let o=/^\\\\\?\\/.test(n),a=/[^\u0000-\u0080]+/.test(n);return o||a?n:n.replace(/\\/g,"/")}},6107:function(n,o,a){let s=a(1439),i=a(7224),l="[^\\s'’\\(\\)!?;:\"-]",u=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${l}))|(${l}))(${l}*[’']*${l}*)`,"g"),convertToRegExp=n=>n.map(n=>[RegExp(`\\b${n}\\b`,"gi"),n]);n.exports=(n,o={})=>{n=n.toLowerCase().replace(u,(n,o="",a,i,l,u,c)=>{let d=n.length+u>=c.length,h=function(n){let o=n[0];return/\s/.test(o)?n.slice(1):/[\(\)]/.test(o)?null:n}(n);return h?!a&&s.has(i+l)&&!d?h:o+(i||a).toUpperCase()+l:n});let a=o.special||[],l=[...i,...a],c=convertToRegExp(l);return c.forEach(([o,a])=>{n=n.replace(o,a)}),n}},1439:function(n){n.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},7224:function(n){n.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},2746:function(n,o,a){a(5893)},7222:function(n,o,a){"use strict";a.d(o,{eZ:function(){return l}});var s=a(1864),i=a(3454).cwd();s.join(i,"public");var l=Symbol.for("__nextra_internal__")}}]); \ No newline at end of file diff --git a/_next/static/chunks/framework-0c7baedefba6b077.js b/_next/static/chunks/framework-0c7baedefba6b077.js new file mode 100644 index 0000000..dd28fb9 --- /dev/null +++ b/_next/static/chunks/framework-0c7baedefba6b077.js @@ -0,0 +1,33 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{4448:function(n,t,a){/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var u,i,o,s,w,x,C=a(7294),_=a(3840);function p(n){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+n,a=1;a