seven-design-ui 0.0.1 → 0.0.2

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.
Files changed (40) hide show
  1. package/docs/components/cascader.mdx +413 -0
  2. package/docs/doc_build/404.html +1 -1
  3. package/docs/doc_build/components/button.html +2 -2
  4. package/docs/doc_build/components/cascader.html +45 -0
  5. package/docs/doc_build/components/input.html +2 -2
  6. package/docs/doc_build/components/pagination.html +3 -3
  7. package/docs/doc_build/components/switch.html +3 -3
  8. package/docs/doc_build/guide/introduction.html +2 -2
  9. package/docs/doc_build/guide/quick-start.html +1 -1
  10. package/docs/doc_build/guide/theme.html +1 -1
  11. package/docs/doc_build/index.html +1 -1
  12. package/docs/doc_build/static/css/{styles.5a3e7113.css → styles.fc43cac8.css} +1 -1
  13. package/docs/doc_build/static/js/414.7fd9a017.js +6 -0
  14. package/docs/doc_build/static/js/async/166.656253c5.js +2 -0
  15. package/docs/doc_build/static/js/async/252.c7b023ea.js +1 -0
  16. package/docs/doc_build/static/js/async/{637.cb5d76c9.js → 637.9d5c88dd.js} +1 -1
  17. package/docs/doc_build/static/js/index.366ff9c0.js +1 -0
  18. package/docs/doc_build/static/search_index.69d54449.json +1 -0
  19. package/docs/guide/introduction.md +1 -1
  20. package/docs/package.json +2 -1
  21. package/docs/rspress.config.ts +5 -1
  22. package/package.json +2 -2
  23. package/packages/components/package.json +1 -1
  24. package/packages/components/src/cascader/Cascader.tsx +638 -0
  25. package/packages/components/src/cascader/cascader.css +381 -0
  26. package/packages/components/src/cascader/index.ts +1 -0
  27. package/packages/components/src/index.ts +1 -0
  28. package/play/src/App.tsx +74 -1
  29. package/play/src/index.css +2 -0
  30. package/play/src/options/basic.ts +32 -0
  31. package/play/src/options/disabled.ts +25 -0
  32. package/play/src/options/hover.ts +18 -0
  33. package/play/src/options/index.ts +4 -0
  34. package/play/src/options/multiple.ts +39 -0
  35. package/docs/doc_build/static/js/414.04bb58dd.js +0 -6
  36. package/docs/doc_build/static/js/async/166.f43be01a.js +0 -2
  37. package/docs/doc_build/static/js/index.0991c749.js +0 -1
  38. package/docs/doc_build/static/search_index.72c9c372.json +0 -1
  39. /package/docs/doc_build/static/js/{414.04bb58dd.js.LICENSE.txt → 414.7fd9a017.js.LICENSE.txt} +0 -0
  40. /package/docs/doc_build/static/js/async/{166.f43be01a.js.LICENSE.txt → 166.656253c5.js.LICENSE.txt} +0 -0
@@ -1,6 +0,0 @@
1
- /*! For license information please see 414.04bb58dd.js.LICENSE.txt */
2
- (self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["414"],{9058:function(e,t,n){"use strict";n.d(t,{ri:()=>P,LX:()=>$,E9:()=>U,R0:()=>B,Vi:()=>G,i6:()=>R,TH:()=>V,AP:()=>M,s0:()=>q,pV:()=>O,yv:()=>_,pJ:()=>K,VK:()=>T,aw:()=>Z,Ni:()=>L,Jr:()=>W,Tm:()=>H,iP:()=>Y,VY:()=>I,Ww:()=>z});var r=n(3732),i=n(114);let a=(0,r.createContext)({}),o=(0,r.createContext)({});var s=n(503),l=n(1127),u=n(5378),c=n(1897);let d=(0,c.lazyWithPreload)(()=>Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("218")]).then(n.bind(n,9059))),h=(0,c.lazyWithPreload)(()=>Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("232")]).then(n.bind(n,6227))),p=(0,c.lazyWithPreload)(()=>Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("531")]).then(n.bind(n,3297))),f=(0,c.lazyWithPreload)(()=>Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("416")]).then(n.bind(n,7399))),m=(0,c.lazyWithPreload)(()=>n.e("637").then(n.bind(n,7892))),g=(0,c.lazyWithPreload)(()=>n.e("712").then(n.bind(n,4979))),x=(0,c.lazyWithPreload)(()=>n.e("512").then(n.bind(n,4020))),v=(0,c.lazyWithPreload)(()=>n.e("509").then(n.bind(n,2162))),y=[{path:"/sevenDesign/components/button",element:r.createElement(d),filePath:"components/button.mdx",preload:async()=>(await d.preload(),Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("218")]).then(n.bind(n,9059))),lang:"",version:""},{path:"/sevenDesign/components/input",element:r.createElement(h),filePath:"components/input.mdx",preload:async()=>(await h.preload(),Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("232")]).then(n.bind(n,6227))),lang:"",version:""},{path:"/sevenDesign/components/pagination",element:r.createElement(p),filePath:"components/pagination.mdx",preload:async()=>(await p.preload(),Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("531")]).then(n.bind(n,3297))),lang:"",version:""},{path:"/sevenDesign/components/switch",element:r.createElement(f),filePath:"components/switch.mdx",preload:async()=>(await f.preload(),Promise.all([n.e("212"),n.e("562"),n.e("166"),n.e("416")]).then(n.bind(n,7399))),lang:"",version:""},{path:"/sevenDesign/guide/introduction",element:r.createElement(m),filePath:"guide/introduction.md",preload:async()=>(await m.preload(),n.e("637").then(n.bind(n,7892))),lang:"",version:""},{path:"/sevenDesign/guide/quick-start",element:r.createElement(g),filePath:"guide/quick-start.md",preload:async()=>(await g.preload(),n.e("712").then(n.bind(n,4979))),lang:"",version:""},{path:"/sevenDesign/guide/theme",element:r.createElement(x),filePath:"guide/theme.md",preload:async()=>(await x.preload(),n.e("512").then(n.bind(n,4020))),lang:"",version:""},{path:"/sevenDesign/",element:r.createElement(v),filePath:"index.md",preload:async()=>(await v.preload(),n.e("509").then(n.bind(n,2162))),lang:"",version:""}];var b=n(2254);function D(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}let F=new Map;function w(e){var t;let n=F.get(e);if(n)return n;let r=(0,b.fp)(y,D(e)),i=null==r||null==(t=r[0])?void 0:t.route;return i&&F.set(e,i),i}let C=(0,r.memo)(function(e){var t;let n=e.el;return(null===u.Z||void 0===u.Z||null==(t=u.Z.themeConfig)?void 0:t.enableContentAnimation)&&(n=function(e){let[t,n]=(0,r.useState)(e);return(0,r.useLayoutEffect)(()=>{document.startViewTransition&&t!==e?document.startViewTransition(()=>{(0,i.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent"))}):((0,i.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent")))},[e]),t}(e.el)),n},(e,t)=>e.el===t.el);var E=n(4666);function A(e="/"){return(0,E.pJ)(e,u.Z.base)}function j(e){var t;let n=!!(null===u.Z||void 0===u.Z||null==(t=u.Z.route)?void 0:t.cleanUrls);return(0,E.yc)(e,n)}E.nY;var k=E.yv;E.Kw,E.Qj;var S=n(3765),N=n(5161),T=S.VK,I=({fallback:e=(0,s.jsx)(s.Fragment,{})})=>{let{pathname:t}=(0,l.TH)(),n=w(t);if(!n)return(0,s.jsx)("div",{});let i=n.element;return(0,s.jsx)(r.Suspense,{fallback:e,children:(0,s.jsx)(C,{el:i})})},B=a;N.ql;var P=function(e){let{children:t}=e,[n,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{i(!0)},[]),n)?(0,s.jsx)(s.Fragment,{children:t}):null},L=o,O=function(e,t){return A(j((0,E.lm)(e)))===A(j((0,E.lm)(t)))},_=k,$=b.LX;b.fp;var M=j,R=function(e){var t;return!(0,E.yv)()||(t=e,(0,E.xf)(t)||(0,E.pZ)(t)||t.startsWith("//"))||!e.startsWith("/")?e:A(e)},H=D,z=w,U=function(e){return(0,E.E9)(e,u.Z.base)},W=function(){return(0,r.useContext)(a).data.page.lang||""},V=l.TH,q=l.s0,G=function(){return(0,r.useContext)(a).data};S.lr;var Z=function(){return(0,r.useContext)(a).data.page.version||""},Y=function(e,t){let[n,i]=(0,r.useState)({width:e??("undefined"==typeof window?Number.POSITIVE_INFINITY:window.innerWidth),height:t??("undefined"==typeof window?Number.POSITIVE_INFINITY:window.innerHeight)});return(0,r.useLayoutEffect)(()=>{let e=()=>{i({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),n},K=A},7744:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],r=String(e||""),i=r.indexOf(","),a=0,o=!1;!o;)-1===i&&(i=r.length,o=!0),((t=r.slice(a,i).trim())||!o)&&n.push(t),a=i+1,i=r.indexOf(",",a);return n}},7831:function(e,t,n){"use strict";var r=n(7247),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,o,s,l,u,c,d,h=!1;t||(t={}),o=t.debug||!1;try{if(l=r(),u=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=i[t.format]||i.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(r){o&&console.error("unable to copy using execCommand: ",r),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(r){o&&console.error("unable to copy using clipboardData: ",r),o&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",s=n.replace(/#{\s*key\s*}/g,a),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return h}},5887:function(e){"use strict";e.exports=function(e,n){for(var r,i,a,o=e||"",s=n||"div",l={},u=0;u<o.length;)t.lastIndex=u,a=t.exec(o),(r=o.slice(u,a?a.index:o.length))&&(i?"#"===i?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,u+=r.length),a&&(i=a[0],u++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},5511:function(e,t,n){"use strict";var r=n(5468),i=n(7277),a=n(5887),o=n(9011).parse,s=n(7744).parse;e.exports=function(e,t,n){var i=n?function(e){for(var t,n=e.length,r=-1,i={};++r<n;)i[(t=e[r]).toLowerCase()]=t;return i}(n):null;return function(n,c){var d,h,p,f,m,g,x=a(n,t),v=Array.prototype.slice.call(arguments,2),y=x.tagName.toLowerCase();if(x.tagName=i&&l.call(i,y)?i[y]:y,c&&(d=c,h=x,"string"==typeof d||"length"in d||(p=h.tagName,m=(f=d).type,"input"!==p&&m&&"string"==typeof m&&("object"==typeof f.children&&"length"in f.children||((m=m.toLowerCase(),"button"===p)?"menu"!==m&&"submit"!==m&&"reset"!==m&&"button"!==m:"value"in f))))&&(v.unshift(c),c=null),c)for(g in c)!function(t,n,i){var a,l,c;null!=i&&i==i&&(l=(a=r(e,n)).property,"string"==typeof(c=i)&&(a.spaceSeparated?c=o(c):a.commaSeparated?c=s(c):a.commaOrSpaceSeparated&&(c=o(s(c).join(" ")))),"style"===l&&"string"!=typeof i&&(c=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(c)),"className"===l&&t.className&&(c=t.className.concat(c)),t[l]=function(e,t,n){var r,i,a;if("object"!=typeof n||!("length"in n))return u(e,t,n);for(i=n.length,r=-1,a=[];++r<i;)a[r]=u(e,t,n[r]);return a}(a,l,c))}(x.properties,g,c[g]);return function e(t,n){var r,i;if("string"==typeof n||"number"==typeof n)return void t.push({type:"text",value:String(n)});if("object"==typeof n&&"length"in n){for(r=-1,i=n.length;++r<i;)e(t,n[r]);return}if("object"!=typeof n||!("type"in n))throw Error("Expected node, nodes, or string, got `"+n+"`");t.push(n)}(x.children,v),"template"===x.tagName&&(x.content={type:"root",children:x.children},x.children=[]),x}};var l={}.hasOwnProperty;function u(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&"string"==typeof r&&(""===r||i(n)===i(t))&&(r=!0),r}},387:function(e,t,n){"use strict";var r=n(9439),i=n(5511)(r,"div");i.displayName="html",e.exports=i},2471:function(e,t,n){"use strict";e.exports=n(387)},4752:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e.replace(/(-|:)(.)/g,function(e,t,n){return n.toUpperCase()})}e=e&&e.hasOwnProperty("default")?e.default:e;var n=["table","tbody","thead","tfoot","tr"],r={for:"htmlFor",class:"className",allowfullscreen:["allowFullScreen","allowFullscreen"],autocomplete:"autoComplete",autofocus:["autoFocus"],contenteditable:"contentEditable",spellcheck:"spellCheck",srcdoc:"srcDoc",srcset:"srcSet",itemscope:"itemScope",itemprop:"itemProp",itemtype:"itemType"};function i(e,t){var n=r[t],i=document.createElement(e);if(n)return{name:Array.isArray(n)?n[0]:n,isBoolean:a(i,Array.isArray(n)?n[1]||t:n)};for(var o in i)if(o.toLowerCase()===t.toLowerCase())return{name:o,isBoolean:a(i,o)};return{name:t,isBoolean:a(i,t)}}function a(e,t){return e.setAttribute(t,""),!0===e[t]||o.indexOf(t)>-1}var o=["itemScope"];function s(t,n,r,i){void 0===i&&(i=null);var a=r[t],o=r._;return a?e.createElement(a,n,i):o?o(t,n,i):e.createElement(t,n,i)}return function(e,r){if(void 0===r&&(r={}),"string"!=typeof e)throw TypeError("Expected HTML string");var a=document.createElement("div");a.innerHTML=e.trim();var o=Array.from(a.childNodes).map(function(e,a){return function e(r,a,o){var l,u=o.transform||{},c=o.preserveAttributes||[],d=o.dangerouslySetChildren||["style"],h=u._;if(8===r.nodeType)return null;if(3===r.nodeType){var p=r.textContent;return h?h(p):p}for(var f={},m=r.attributes,g=0;g<m.length;g++)f[m[g].name]=m[g].value;f.key=a.toString();var x=r.tagName.toLowerCase(),v=(void 0===(l=f)&&(l={}),Object.keys(l).reduce(function(e,n){if(/^on.*/.test(n))return e;var r=n;/^(data|aria)-/.test(n)||0===c.filter(function(e){return e instanceof RegExp?e.test(n):e===n}).length&&(r=t(n));var a,o,s=i(x,r);if("style"===s.name)e[s.name]=(a=l.style,o={},a.split(";").filter(function(e){return""!==e.trim()}).forEach(function(e){var n,r=e.split(":");if(r.length>1){var i,a=(i=r[0].trim(),/^-ms-/.test(i)&&(i=i.substr(1)),i.startsWith("--")?i:t(i)),s=(n=r.slice(1).join(":").trim(),/^\d+$/.test(n)?Number(n):n.replace(/'/g,'"'));o[a]=s}}),o);else{var u=l[n],d=""===u||String(u).toLowerCase()===r.toLowerCase();e[s.name]=s.isBoolean?d:u}return e},{})),y=Array.from(r.childNodes).map(function(t,r){return n.indexOf(x)>-1&&3===t.nodeType&&(t.textContent=t.textContent.trim(),""===t.textContent)?null:e(t,a+"."+r,o)}).filter(Boolean);if(d.indexOf(x)>-1){var b=r.innerHTML;return b&&("style"!==x&&"script"!==x&&(b=b.replace(/"/g,"&quot;")),v.dangerouslySetInnerHTML={__html:b.trim()}),s(x,v,u)}return s(x,v,u,0===y.length?null:y)}(e,String(a),r)}).filter(Boolean);return 1===o.length?o[0]:o}}(n(3732))},2722:function(e){"use strict";e.exports=function(e,t,n,r,i,a,o,s){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,a,o,s],c=0;(l=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},9099:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},20:function(e,t,n){"use strict";var r=n(9099),i=n(7389);e.exports=function(e){return r(e)||i(e)}},7389:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},6338:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},7811:function(e){var t;t=function(){var e,t,n,r={};r.version="0.2.0";var i=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(i[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=a(e,i.minimum,1))?null:e;var n=r.render(!t),l=n.querySelector(i.barSelector),u=i.speed,c=i.easing;return n.offsetWidth,o(function(t){var a,o,d,h;""===i.positionUsing&&(i.positionUsing=r.getPositioningCSS()),s(l,(a=e,o=u,d=c,(h="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+a)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+a)*100+"%,0)"}:{"margin-left":(-1+a)*100+"%"}).transition="all "+o+"ms "+d,h)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*i.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var n,a=t.querySelector(i.barSelector),o=e?"-100":(-1+(r.status||0))*100,l=document.querySelector(i.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),!i.showSpinner&&(n=t.querySelector(i.spinnerSelector))&&h(n),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,i){var a;r=t[a=(a=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[a]=function(t){var n=document.body.style;if(t in n)return t;for(var r,i=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((r=e[i]+a)in n)return r;return t}(a)),n.style[r]=i}return function(e,t){var r,i,a=arguments;if(2==a.length)for(r in t)void 0!==(i=t[r])&&t.hasOwnProperty(r)&&n(e,r,i);else n(e,a[1],a[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);l(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(t):e.exports=t()},890:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},7459:function(e,t,n){"use strict";var r=n(102),i=n(4396),a=n(7389),o=n(6338),s=n(20),l=n(890);e.exports=function(e,t){var n,a,o={};for(a in t||(t={}),h)n=t[a],o[a]=null==n?h[a]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,a,o,h,y,b,D,F,w,C,E,A,j,k,S,N,T,I,B,P,L,O=t.additional,_=t.nonTerminated,$=t.text,M=t.reference,R=t.warning,H=t.textContext,z=t.referenceContext,U=t.warningContext,W=t.position,V=t.indent||[],q=e.length,G=0,Z=-1,Y=W.column||1,K=W.line||1,J="",X=[];for("string"==typeof O&&(O=O.charCodeAt(0)),I=Q(),C=R?function(e,t){var n=Q();n.column+=t,n.offset+=t,R.call(U,v[e],n,e)}:d,G--,q++;++G<q;)if(10===D&&(Y=V[Z]||1),38===(D=e.charCodeAt(G))){if(9===(w=e.charCodeAt(G+1))||10===w||12===w||32===w||38===w||60===w||w!=w||O&&w===O){J+=c(D),Y++;continue}for(k=S=G+1,L=S,35===w?(L=++k,88===(w=e.charCodeAt(L))||120===w?(N=f,L=++k):N=m):N=p,o="",j="",b="",T=x[N],L--;++L<q&&T(w=e.charCodeAt(L));)b+=c(w),N===p&&u.call(r,b)&&(o=b,j=r[b]);if((y=59===e.charCodeAt(L))&&(L++,(h=N===p&&l(b))&&(o=b,j=h)),P=1+L-S,y||_){b?N===p?(y&&!j?C(5,1):(o!==b&&(P=1+(L=k+o.length)-k,y=!1),y||(E=o?1:3,t.attribute?61===(w=e.charCodeAt(L))?(C(E,P),j=null):s(w)?j=null:C(E,P):C(E,P))),F=j):(y||C(2,P),(n=F=parseInt(b,g[N]))>=55296&&n<=57343||n>1114111?(C(7,P),F=c(65533)):F in i?(C(6,P),F=i[F]):(A="",((a=F)>=1&&a<=8||11===a||a>=13&&a<=31||a>=127&&a<=159||a>=64976&&a<=65007||(65535&a)==65535||(65535&a)==65534)&&C(6,P),F>65535&&(F-=65536,A+=c(F>>>10|55296),F=56320|1023&F),F=A+c(F))):N!==p&&C(4,P)}F?(ee(),I=Q(),G=L-1,Y+=L-S+1,X.push(F),B=Q(),B.offset++,M&&M.call(z,F,{start:I,end:B},e.slice(S-1,L)),I=B):(b=e.slice(S-1,L),J+=b,Y+=b.length,G=L-1)}else 10===D&&(K++,Z++,Y=0),D==D?(J+=c(D),Y++):ee();return X.join("");function Q(){return{line:K,column:Y,offset:G+(W.offset||0)}}function ee(){J&&(X.push(J),$&&$.call(H,J,{start:I,end:Q()}),J="")}}(e,o)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",f="hexadecimal",m="decimal",g={};g[f]=16,g[m]=10;var x={};x[p]=s,x[m]=a,x[f]=o;var v={};v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},3932:function(e,t,n){var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,a;switch(n=n||{},i.util.type(t)){case"Object":if(n[a=i.util.objId(t)])return n[a];for(var o in r={},n[a]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":if(n[a=i.util.objId(t)])return n[a];return r=[],n[a]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var a=(r=r||i.languages)[e],o={};for(var s in a)if(a.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(s)||(o[s]=a[s])}var u=r[e];return r[e]=o,i.languages.DFS(i.languages,function(t,n){n===u&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,a){a=a||{};var o=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],u=i.util.type(l);"Object"!==u||a[o(l)]?"Array"!==u||a[o(l)]||(a[o(l)]=!0,e(l,n,s,a)):(a[o(l)]=!0,e(l,n,null,a))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var a,o=0;a=r.elements[o++];)i.highlightElement(a,!0===t,r.callback)},highlightElement:function(t,n,r){var a=i.util.getLanguage(t),o=i.languages[a];i.util.setLanguage(t,a);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,a);var l=t.textContent,u={element:t,language:a,grammar:o,code:l};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar)return void c(i.util.encode(u.code));if(n&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),a.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new s;return l(u,u.head,e),function e(t,n,r,s,u,c){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var h=r[d];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(c&&c.cause==d+","+p)return;var f=h[p],m=f.inside,g=!!f.lookbehind,x=!!f.greedy,v=f.alias;if(x&&!f.pattern.global){var y=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,y+"g")}for(var b=f.pattern||f,D=s.next,F=u;D!==n.tail&&(!c||!(F>=c.reach));F+=D.value.length,D=D.next){var w,C=D.value;if(n.length>t.length)return;if(!(C instanceof a)){var E=1;if(x){if(!(w=o(b,F,t,g))||w.index>=t.length)break;var A=w.index,j=w.index+w[0].length,k=F;for(k+=D.value.length;A>=k;)k+=(D=D.next).value.length;if(k-=D.value.length,F=k,D.value instanceof a)continue;for(var S=D;S!==n.tail&&(k<j||"string"==typeof S.value);S=S.next)E++,k+=S.value.length;E--,C=t.slice(F,k),w.index-=F}else if(!(w=o(b,0,C,g)))continue;var A=w.index,N=w[0],T=C.slice(0,A),I=C.slice(A+N.length),B=F+C.length;c&&B>c.reach&&(c.reach=B);var P=D.prev;if(T&&(P=l(n,P,T),F+=T.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,P,E),D=l(n,P,new a(d,m?i.tokenize(N,m):N,v,N)),I&&l(n,D,I),E>1){var L={cause:d+","+p,reach:B};e(t,n,r,D.prev,F,L),c&&L.reach>c.reach&&(c.reach=L.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,a=0;r=n[a++];)r(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),i.hooks.run("wrap",a);var s="";for(var l in a.attributes)s+=" "+l+'="'+(a.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+s+">"+a.content+"</"+a.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},4835:function(e,t,n){"use strict";var r=n(1596);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},9519:function(e,t,n){e.exports=n(4835)()},1596:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5468:function(e,t,n){"use strict";var r=n(7277),i=n(2869),a=n(4227),o="data";e.exports=function(e,t){var n,h,p,f=r(t),m=t,g=a;return f in e.normal?e.property[e.normal[f]]:(f.length>4&&f.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(p=(h=t).slice(4),t=l.test(p)?h:("-"!==(p=p.replace(u,c)).charAt(0)&&(p="-"+p),o+p)),g=i),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},9439:function(e,t,n){"use strict";var r=n(2854),i=n(572);e.exports=r([n(2529),i,n(4677),n(814),n(3256)])},814:function(e,t,n){"use strict";var r=n(4603),i=n(422),a=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:a,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:s,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},3256:function(e,t,n){"use strict";var r=n(4603),i=n(422),a=n(8404),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,d=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:c,coords:u|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})},8404:function(e,t,n){"use strict";var r=n(5227);e.exports=function(e,t){return r(e,t.toLowerCase())}},5227:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},422:function(e,t,n){"use strict";var r=n(7277),i=n(5877),a=n(2869);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,d={},h={};for(t in u)n=new a(t,c(l,t),u[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,h[r(t)]=t,h[r(n.attribute)]=t;return new i(d,h,o)}},2869:function(e,t,n){"use strict";var r=n(4227),i=n(4603);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function s(e,t,n,s){var l,u,c,d,h,p,f=-1;for(l=this,(u=s)&&(l.space=u),r.call(this,e,t);++f<o;){c=this,d=p=a[f],(h=(n&i[p])===i[p])&&(c[d]=h)}}},4227:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},2854:function(e,t,n){"use strict";var r=n(8479),i=n(5877);e.exports=function(e){for(var t,n,a=e.length,o=[],s=[],l=-1;++l<a;)t=e[l],o.push(t.property),s.push(t.normal),n=t.space;return new i(r.apply(null,o),r.apply(null,s),n)}},5877:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},4603:function(e,t){"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},572:function(e,t,n){"use strict";e.exports=n(422)({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},2529:function(e,t,n){"use strict";e.exports=n(422)({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},4677:function(e,t,n){"use strict";e.exports=n(422)({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n(8404),properties:{xmlns:null,xmlnsXLink:null}})},7277:function(e){"use strict";e.exports=function(e){return e.toLowerCase()}},7753:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,a){try{return function e(a,o){if(a===o)return!0;if(a&&o&&"object"==typeof a&&"object"==typeof o){var s,l,u,c;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(!e(a[l],o[l]))return!1;return!0}if(n&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(c=a.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;for(c=a.entries();!(l=c.next()).done;)if(!e(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(c=a.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(a[l]!==o[l])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof o.valueOf)return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof o.toString)return a.toString()===o.toString();if((s=(u=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,u[l]))return!1;if(t&&a instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!a.$$typeof)&&!e(a[u[l]],o[u[l]]))return!1;return!0}return a!=a&&o!=o}(e,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},5161:function(e,t,n){"use strict";n.d(t,{B6:()=>U,ql:()=>J});var r=n(3732),i=n(9519),a=n.n(i),o=n(7753),s=n.n(o),l=n(2722),u=n.n(l),c=n(5218),d=n.n(c);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(i[n]=e[n]);return i}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},x={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},b=Object.keys(g).map(function(e){return g[e]}),D={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},F=Object.keys(D).reduce(function(e,t){return e[D[t]]=t,e},{}),w=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},C=function(e){var t=w(e,g.TITLE),n=w(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=w(e,"defaultTitle");return t||r||void 0},E=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return h({},e,t)},{})},A=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var i={};n.filter(function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var s=a[o],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][u]&&(i[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var a=Object.keys(i),o=0;o<a.length;o+=1){var s=a[o],l=h({},r[s],i[s]);r[s]=l}return e},[]).reverse()},j=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},k=function(e){return Array.isArray(e)?e.join(""):e},S=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},N=function(e,t){var n;return h({},e,((n={})[t]=void 0,n))},T=[g.NOSCRIPT,g.SCRIPT,g.STYLE],I=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},B=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},P=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[D[n]||n]=e[n],t},t)},L=function(e,t){return t.map(function(t,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(t).forEach(function(e){var n=D[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]}),r.createElement(e,a)})},O=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,i,a;return n=t.titleAttributes,(i={key:e=t.title})["data-rh"]=!0,a=P(n,i),[r.createElement(g.TITLE,a,e)]},toString:function(){var r,i,a,o;return r=t.title,i=t.titleAttributes,a=B(i),o=k(r),a?"<"+e+' data-rh="true" '+a+">"+I(o,n)+"</"+e+">":"<"+e+' data-rh="true">'+I(o,n)+"</"+e+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return P(t)},toString:function(){return B(t)}};default:return{toComponent:function(){return L(e,t)},toString:function(){return t.reduce(function(t,r){var i=Object.keys(r).filter(function(e){return"innerHTML"!==e&&"cssText"!==e}).reduce(function(e,t){var i=void 0===r[t]?t:t+'="'+I(r[t],n)+'"';return e?e+" "+i:i},""),a=r.innerHTML||r.cssText||"",o=-1===T.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(o?"/>":">"+a+"</"+e+">")},"")}}}},_=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,s=e.title,l=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,f,m,b,D,F,w=(p=e.linkTags,f=e.scriptTags,m=e.encode,b=S(e.metaTags,y),D=S(p,x),F=S(f,v),{priorityMethods:{toComponent:function(){return[].concat(L(g.META,b.priority),L(g.LINK,D.priority),L(g.SCRIPT,F.priority))},toString:function(){return O(g.META,b.priority,m)+" "+O(g.LINK,D.priority,m)+" "+O(g.SCRIPT,F.priority,m)}},metaTags:b.default,linkTags:D.default,scriptTags:F.default});h=w.priorityMethods,u=w.linkTags,c=w.metaTags,d=w.scriptTags}return{priority:h,base:O(g.BASE,t,r),bodyAttributes:O("bodyAttributes",n,r),htmlAttributes:O("htmlAttributes",i,r),link:O(g.LINK,u,r),meta:O(g.META,c,r),noscript:O(g.NOSCRIPT,a,r),script:O(g.SCRIPT,d,r),style:O(g.STYLE,o,r),title:O(g.TITLE,{title:void 0===s?"":s,titleAttributes:l},r)}},$=[],M=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?$:n.instances},add:function(e){(n.canUseDOM?$:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?$:n.instances).indexOf(e);(n.canUseDOM?$:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=_({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},R=r.createContext({}),H=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),z="undefined"!=typeof document,U=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new M(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(R.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);U.canUseDOM=z,U.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},U.defaultProps={context:{}},U.displayName="HelmetProvider";var W=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),a.some(function(e,t){return n=t,r.isEqualNode(e)})?a.splice(n,1):o.push(r)}),a.forEach(function(e){return e.parentNode.removeChild(e)}),o.forEach(function(e){return r.appendChild(e)}),{oldTags:a,newTags:o}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),s=0;s<o.length;s+=1){var l=o[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),-1===i.indexOf(l)&&i.push(l);var c=a.indexOf(l);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),void 0!==c&&document.title!==c&&(document.title=k(c)),V(g.TITLE,d);var h={baseTag:W(g.BASE,n),linkTags:W(g.LINK,i),metaTags:W(g.META,a),noscriptTags:W(g.NOSCRIPT,o),scriptTags:W(g.SCRIPT,l),styleTags:W(g.STYLE,u)},p={},f={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(f[e]=h[e].oldTags)}),t&&t(),s(e,p,f)},G=null,Z=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=h({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[g.BASE]}).map(function(e){return e[g.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t},[])),bodyAttributes:E("bodyAttributes",t),defer:w(t,"defer"),encode:w(t,"encodeSpecialCharacters"),htmlAttributes:E("htmlAttributes",t),linkTags:A(g.LINK,["rel","href"],t),metaTags:A(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:A(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:w(t,"onChangeClientState")||function(){},scriptTags:A(g.SCRIPT,["src","innerHTML"],t),styleTags:A(g.STYLE,["cssText"],t),title:C(t),titleAttributes:E("titleAttributes",t),prioritizeSeoTags:j(t,"prioritizeSeoTags")};U.canUseDOM?(G&&cancelAnimationFrame(G),a.defer?G=requestAnimationFrame(function(){q(a,function(){G=null})}):(q(a),G=null)):_&&(i=_(a)),r(i)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Z.propTypes={context:H.isRequired},Z.displayName="HelmetDispatcher";var Y=["children"],K=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(N(this.props,"helmetData"),N(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return h({},r,((t={})[n.type]=[].concat(r[n.type]||[],[h({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case g.TITLE:return h({},i,((t={})[r.type]=o,t.titleAttributes=h({},a),t));case g.BODY:return h({},i,{bodyAttributes:h({},a)});case g.HTML:return h({},i,{htmlAttributes:h({},a)});default:return h({},i,((n={})[r.type]=h({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=h({},t);return Object.keys(e).forEach(function(t){var r;n=h({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(b.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+b.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,i={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,a=r.children,o=m(r,Y),s=Object.keys(o).reduce(function(e,t){return e[F[t]||t]=o[t],e},{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,a),l){case g.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:i=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}}),this.mapArrayTypeChildrenToProps(i,t)},n.render=function(){var e=this.props,t=e.children,n=m(e,K),i=h({},n),a=n.helmetData;return t&&(i=this.mapChildrenToProps(t,i)),!a||a instanceof M||(a=new M(a.context,a.instances)),a?r.createElement(Z,h({},i,{context:a.value,helmetData:void 0})):r.createElement(R.Consumer,null,function(e){return r.createElement(Z,h({},i,{context:e}))})},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},1897:function(e,t,n){"use strict";t.lazyWithPreload=void 0;var r=n(3732);t.lazyWithPreload=function(e){var t,n,i=(0,r.lazy)(e),a=(0,r.forwardRef)(function(e,n){var a=(0,r.useRef)(null!=t?t:i);return(0,r.createElement)(a.current,Object.assign(n?{ref:n}:{},e))});return a.preload=function(){return n||(n=e().then(function(e){return t=e.default})),n},a}},7171:function(e,t,n){"use strict";var r=n(3962);t.default=void 0,t.default=r(n(3899)).default},3971:function(e,t,n){"use strict";var r=n(3962);t.default=void 0,t.default=r(n(5025)).default},906:function(e,t,n){"use strict";var r=n(3962);t.default=void 0,t.default=r(n(3156)).default},7260:function(e,t,n){"use strict";var r=n(3962);t.default=void 0,t.default=r(n(7890)).default},6777:function(e,t,n){"use strict";var r,i,a="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(i=(r="Prism"in a)?a.Prism:void 0,function(){r?a.Prism=i:delete a.Prism,r=void 0,i=void 0});a.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(2471),l=n(7459),u=n(3932),c=n(262),d=n(5025),h=n(6915),p=n(1328);o();var f={}.hasOwnProperty;function m(){}m.prototype=u;var g=new m;function x(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===g.languages[e.displayName]&&e(g)}e.exports=g,g.highlight=function(e,t){var n,r=u.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===g.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(f.call(g.languages,t))n=g.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},g.register=x,g.alias=function(e,t){var n,r,i,a,o=g.languages,s=e;for(n in t&&((s={})[e]=t),s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a<i;)o[r[a]]=o[n]},g.registered=function(e){if("string"!=typeof e)throw Error("Expected `string` for `language`, got `"+e+"`");return f.call(g.languages,e)},g.listLanguages=function(){var e,t=g.languages,n=[];for(e in t)f.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},x(c),x(d),x(h),x(p),g.util.encode=function(e){return e},g.Token.stringify=function(e,t,n){var r;return"string"==typeof e?{type:"text",value:e}:"Array"===g.util.type(e)?function(e,t){for(var n,r=[],i=e.length,a=-1;++a<i;)""!==(n=e[a])&&null!=n&&r.push(n);for(a=-1,i=r.length;++a<i;)n=r[a],r[a]=g.Token.stringify(n,t,r);return r}(e,t):(r={type:e.type,content:g.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias)),g.hooks.run("wrap",r),s(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=l(e[t]);return e}(r.attributes),r.content))}},3899:function(e){"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o<i.length;o++)a[i[o]]=e.languages.bash[i[o]];e.languages.shell=e.languages.bash}(e)}e.exports=t,t.displayName="bash",t.aliases=["shell"]},6915:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},5025:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},1328:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},924:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),t)}i=a(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],a=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=o(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},262:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},3156:function(e,t,n){"use strict";var r=n(924),i=n(7890);function a(e){var t,n;e.register(r),e.register(i),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=a,a.displayName="tsx",a.aliases=[]},7890:function(e){"use strict";function t(e){var t;e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},5218:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var u=a[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}},9011:function(e,t){"use strict";t.parse=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},7247:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},8479:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},1661:function(e,t,n){"use strict";n(3204),n(2312)},5378:function(e,t,n){"use strict";n.d(t,{Z:()=>r});let r={title:"SevenDesign",description:"企业级 React UI 组件库",icon:"/logo.svg",route:{extensions:[".md",".mdx"]},themeConfig:{socialLinks:[{icon:"github",mode:"link",content:"https://github.com/7777even/sevenDesign.git"}],nav:[{text:"指南",link:"/guide/introduction"},{text:"组件",link:"/components/button"}],sidebar:{"/guide/":[{text:"开始",items:[{text:"介绍",link:"/guide/introduction"},{text:"快速开始",link:"/guide/quick-start"},{text:"主题定制",link:"/guide/theme"}],link:"",collapsed:!1,collapsible:!0}],"/components/":[{text:"基础组件",items:[{text:"Button 按钮",link:"/components/button"}],link:"",collapsed:!1,collapsible:!0},{text:"表单组件",items:[{text:"Input 输入框",link:"/components/input"},{text:"Switch 开关",link:"/components/switch"}],link:"",collapsed:!1,collapsible:!0},{text:"数据展示",items:[{text:"Pagination 分页器",link:"/components/pagination"}],link:"",collapsed:!1,collapsible:!0}]}},base:"/sevenDesign/",lang:"",locales:[],logo:{light:"/logo.svg",dark:"/logo.svg"},logoText:"",ssg:!0,multiVersion:{default:"",versions:[]},search:{},pages:[{title:"Button 按钮",routePath:"/sevenDesign/components/button",lang:"",toc:[{text:"基础用法",id:"基础用法",depth:2,charIndex:13},{text:"朴素按钮",id:"朴素按钮",depth:2,charIndex:63},{text:"圆角按钮",id:"圆角按钮",depth:2,charIndex:113},{text:"不同尺寸",id:"不同尺寸",depth:2,charIndex:144},{text:"禁用状态",id:"禁用状态",depth:2,charIndex:198},{text:"加载状态",id:"加载状态",depth:2,charIndex:238},{text:"API",id:"api",depth:2,charIndex:281},{text:"Props",id:"props",depth:3,charIndex:288},{text:"Events",id:"events",depth:3,charIndex:1438}],frontmatter:{},version:"",_relativePath:"components/button.mdx",extraHighlightLanguages:["jsx","tsx"]},{title:"Input 输入框",routePath:"/sevenDesign/components/input",lang:"",toc:[{text:"基础用法",id:"基础用法",depth:2,charIndex:29},{text:"禁用状态",id:"禁用状态",depth:2,charIndex:50},{text:"可清空",id:"可清空",depth:2,charIndex:92},{text:"密码输入框",id:"密码输入框",depth:2,charIndex:132},{text:"不同尺寸",id:"不同尺寸",depth:2,charIndex:181},{text:"带图标的输入框",id:"带图标的输入框",depth:2,charIndex:240},{text:"API",id:"api",depth:2,charIndex:306},{text:"Props",id:"props",depth:3,charIndex:313},{text:"Events",id:"events",depth:3,charIndex:1156}],frontmatter:{},version:"",_relativePath:"components/input.mdx",extraHighlightLanguages:["jsx","tsx"]},{title:"Pagination 分页器",routePath:"/sevenDesign/components/pagination",lang:"",toc:[{text:"基础用法",id:"基础用法",depth:2,charIndex:25},{text:"不同大小",id:"不同大小",depth:2,charIndex:100},{text:"自定义最大页码按钮数",id:"自定义最大页码按钮数",depth:2,charIndex:139},{text:"自定义每页容量选项",id:"自定义每页容量选项",depth:2,charIndex:214},{text:"跳转功能",id:"跳转功能",depth:2,charIndex:287},{text:"完整功能演示",id:"完整功能演示",depth:2,charIndex:350},{text:"API",id:"api",depth:2,charIndex:394},{text:"Props",id:"props",depth:3,charIndex:401},{text:"Events",id:"events",depth:3,charIndex:1531}],frontmatter:{},version:"",_relativePath:"components/pagination.mdx",extraHighlightLanguages:["jsx","tsx"]},{title:"Switch 开关",routePath:"/sevenDesign/components/switch",lang:"",toc:[{text:"基础用法",id:"基础用法",depth:2,charIndex:32},{text:"禁用状态",id:"禁用状态",depth:2,charIndex:66},{text:"加载状态",id:"加载状态",depth:2,charIndex:115},{text:"自定义开关内容",id:"自定义开关内容",depth:2,charIndex:152},{text:"自定义背景色",id:"自定义背景色",depth:2,charIndex:263},{text:"API",id:"api",depth:2,charIndex:334},{text:"Props",id:"props",depth:3,charIndex:341},{text:"Events",id:"events",depth:3,charIndex:1025},{text:"键盘操作",id:"键盘操作",depth:3,charIndex:1108}],frontmatter:{},version:"",_relativePath:"components/switch.mdx",extraHighlightLanguages:["jsx","tsx"]},{title:"介绍",routePath:"/sevenDesign/guide/introduction",lang:"",toc:[{text:"特性",id:"特性",depth:2,charIndex:70},{text:"\uD83C\uDFA8 精美设计",id:"-精美设计",depth:3,charIndex:76},{text:"\uD83D\uDCE6 丰富组件",id:"-丰富组件",depth:3,charIndex:138},{text:"\uD83D\uDD27 TypeScript",id:"-typescript",depth:3,charIndex:271},{text:"\uD83C\uDFAD 主题定制",id:"-主题定制",depth:3,charIndex:321},{text:"⚡ 高性能",id:"-高性能",depth:3,charIndex:373},{text:"兼容性",id:"兼容性",depth:2,charIndex:421},{text:"版本",id:"版本",depth:2,charIndex:516},{text:"开源协议",id:"开源协议",depth:2,charIndex:535}],frontmatter:{},version:"",_relativePath:"guide/introduction.md",extraHighlightLanguages:["jsx","tsx"]},{title:"快速开始",routePath:"/sevenDesign/guide/quick-start",lang:"",toc:[{text:"安装",id:"安装",depth:2,charIndex:31},{text:"使用包管理器",id:"使用包管理器",depth:3,charIndex:37},{text:"完整引入",id:"完整引入",depth:2,charIndex:74},{text:"按需引入",id:"按需引入",depth:2,charIndex:121},{text:"全局配置",id:"全局配置",depth:2,charIndex:187},{text:"Vite 项目",id:"vite-项目",depth:2,charIndex:230},{text:"Next.js 项目",id:"nextjs-项目",depth:2,charIndex:280},{text:"开始使用",id:"开始使用",depth:2,charIndex:328}],frontmatter:{},version:"",_relativePath:"guide/quick-start.md",extraHighlightLanguages:["jsx","tsx"]},{title:"主题定制",routePath:"/sevenDesign/guide/theme",lang:"",toc:[{text:"CSS Variables",id:"css-variables",depth:2,charIndex:55},{text:"品牌色",id:"品牌色",depth:3,charIndex:129},{text:"文本颜色",id:"文本颜色",depth:3,charIndex:138},{text:"边框颜色",id:"边框颜色",depth:3,charIndex:148},{text:"背景色",id:"背景色",depth:3,charIndex:158},{text:"自定义主题",id:"自定义主题",depth:2,charIndex:167},{text:"方式一:覆盖 CSS Variables",id:"方式一覆盖-css-variables",depth:3,charIndex:176},{text:"方式二:使用内联样式",id:"方式二使用内联样式",depth:3,charIndex:255},{text:"暗色主题",id:"暗色主题",depth:2,charIndex:304},{text:"自定义暗色主题",id:"自定义暗色主题",depth:3,charIndex:359},{text:"完整的 CSS Variables 列表",id:"完整的-css-variables-列表",depth:2,charIndex:400},{text:"颜色",id:"颜色",depth:3,charIndex:424},{text:"文本颜色",id:"文本颜色-1",depth:3,charIndex:707},{text:"边框",id:"边框",depth:3,charIndex:982},{text:"字体",id:"字体",depth:3,charIndex:1394},{text:"组件尺寸",id:"组件尺寸",depth:3,charIndex:1687},{text:"阴影",id:"阴影",depth:3,charIndex:1863},{text:"示例",id:"示例",depth:2,charIndex:2021},{text:"创建绿色主题",id:"创建绿色主题",depth:3,charIndex:2027},{text:"创建紧凑主题",id:"创建紧凑主题",depth:3,charIndex:2039},{text:"最佳实践",id:"最佳实践",depth:2,charIndex:2051}],frontmatter:{},version:"",_relativePath:"guide/theme.md",extraHighlightLanguages:["jsx","tsx"]},{title:"",routePath:"/sevenDesign/",lang:"",toc:[{text:"安装",id:"安装",depth:2,charIndex:-1},{text:"快速开始",id:"快速开始",depth:2,charIndex:32},{text:"特性",id:"特性",depth:2,charIndex:42},{text:"企业级设计",id:"企业级设计",depth:3,charIndex:48},{text:"TypeScript 支持",id:"typescript-支持",depth:3,charIndex:124},{text:"主题定制",id:"主题定制",depth:3,charIndex:196},{text:"按需引入",id:"按需引入",depth:3,charIndex:262},{text:"社区",id:"社区",depth:2,charIndex:312}],frontmatter:{pageType:"home",hero:{name:"SevenDesign",text:"企业级 React UI 组件库",tagline:"现代化、可定制、TypeScript 驱动的组件库",actions:[{theme:"brand",text:"快速开始",link:"/guide/quick-start"},{theme:"alt",text:"组件示例",link:"/components/button"}],image:{src:"/logo.svg",alt:"SevenDesign Logo"}},features:[{title:"\uD83C\uDFA8 精美设计",details:"现代化的设计风格,参考 Element Plus,提供优雅的用户体验"},{title:"\uD83D\uDCE6 开箱即用",details:"丰富的组件库,满足企业级应用的各种需求"},{title:"\uD83D\uDD27 TypeScript",details:"完整的类型定义,提供更好的开发体验和代码提示"},{title:"\uD83C\uDFAD 主题定制",details:"基于 CSS Variables 的主题系统,轻松定制你的品牌风格"},{title:"⚡ 按需加载",details:"支持 Tree-shaking,只打包你使用的组件,减小打包体积"},{title:"\uD83D\uDCDA 完善文档",details:"详细的组件文档和示例代码,帮助你快速上手"}]},version:"",_relativePath:"index.md",extraHighlightLanguages:["jsx","tsx"]}],markdown:{showLineNumbers:!1,defaultWrapCode:!1,codeHighlighter:"prism"}}},209:function(e,t,n){"use strict";var r=n(114),i=n.t(r,2),a=n(5556),o=n.t(a,2),s=n(503),l=n(9058),u=n(4666),c=n(3052),d=n(3732),h=n(5378),p=n(5161),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(e){return"IMG"===e.tagName},g=function(e){return e&&1===e.nodeType},x=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},v=function(e){try{if(Array.isArray(e))return e.filter(m);if(NodeList.prototype.isPrototypeOf(e))return[].slice.call(e).filter(m);if(g(e))return[e].filter(m);if("string"==typeof e)return[].slice.call(document.querySelectorAll(e)).filter(m);return[]}catch(e){throw TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},y=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},b=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,i=t.width,a=t.height,o=e.cloneNode(),s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return o.removeAttribute("id"),o.style.position="absolute",o.style.top=n+s+"px",o.style.left=r+l+"px",o.style.width=i+"px",o.style.height=a+"px",o.style.transform="",o},D=function(e,t){var n=f({bubbles:!1,cancelable:!1,detail:void 0},t);if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}");let F=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return[].concat(e,v(t))},[]);return r.filter(function(e){return -1===l.indexOf(e)}).forEach(function(e){l.push(e),e.classList.add("medium-zoom-image")}),u.forEach(function(e){var t=e.type,n=e.listener,i=e.options;r.forEach(function(e){e.addEventListener(t,n,i)})}),F},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(h.container)if(h.container instanceof Object)t=(e=f({},e,h.container)).width-e.left-e.right-2*h.margin,n=e.height-e.top-e.bottom-2*h.margin;else{var r=(g(h.container)?h.container:document.querySelector(h.container)).getBoundingClientRect();e=f({},e,{width:r.width,height:r.height,left:r.left,top:r.top})}t=t||e.width-2*h.margin,n=n||e.height-2*h.margin;var i=p.zoomedHd||p.original,a=x(i)?t:i.naturalWidth||t,o=x(i)?n:i.naturalHeight||n,s=i.getBoundingClientRect(),l=s.top,u=s.left,c=s.width,d=s.height,m=Math.min(Math.min(Math.max(c,a),t)/c,Math.min(Math.max(d,o),n)/d),v=(-u+(t-c)/2+h.margin+e.left)/m,y=(-l+(n-d)/2+h.margin+e.top)/m,b="scale("+m+") translate3d("+v+"px, "+y+"px, 0)";p.zoomed.style.transform=b,p.zoomedHd&&(p.zoomedHd.style.transform=b)};return new r(function(e){if(t&&-1===l.indexOf(t)||p.zoomed)return void e(F);if(t)p.original=t;else{if(!(l.length>0))return void e(F);p.original=l[0]}if(p.original.dispatchEvent(D("medium-zoom:open",{detail:{zoom:F}})),d=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=!0,p.zoomed=b(p.original),document.body.appendChild(m),h.template){var r=g(h.template)?h.template:document.querySelector(h.template);p.template=document.createElement("div"),p.template.appendChild(r.content.cloneNode(!0)),document.body.appendChild(p.template)}if(p.original.parentElement&&"PICTURE"===p.original.parentElement.tagName&&p.original.currentSrc&&(p.zoomed.src=p.original.currentSrc),document.body.appendChild(p.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),p.original.classList.add("medium-zoom-image--hidden"),p.zoomed.classList.add("medium-zoom-image--opened"),p.zoomed.addEventListener("click",o),p.zoomed.addEventListener("transitionend",function t(){c=!1,p.zoomed.removeEventListener("transitionend",t),p.original.dispatchEvent(D("medium-zoom:opened",{detail:{zoom:F}})),e(F)}),p.original.getAttribute("data-zoom-src")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("srcset"),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading"),p.zoomedHd.src=p.zoomed.getAttribute("data-zoom-src"),p.zoomedHd.onerror=function(){clearInterval(i),console.warn("Unable to reach the zoom image target "+p.zoomedHd.src),p.zoomedHd=null,n()};var i=setInterval(function(){p.zoomedHd.complete&&(clearInterval(i),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",o),document.body.appendChild(p.zoomedHd),n())},10)}else if(p.original.hasAttribute("srcset")){p.zoomedHd=p.zoomed.cloneNode(),p.zoomedHd.removeAttribute("sizes"),p.zoomedHd.removeAttribute("loading");var a=p.zoomedHd.addEventListener("load",function(){p.zoomedHd.removeEventListener("load",a),p.zoomedHd.classList.add("medium-zoom-image--opened"),p.zoomedHd.addEventListener("click",o),document.body.appendChild(p.zoomedHd),n()})}else n()})},o=function(){return new r(function(e){if(c||!p.original)return void e(F);c=!0,document.body.classList.remove("medium-zoom--opened"),p.zoomed.style.transform="",p.zoomedHd&&(p.zoomedHd.style.transform=""),p.template&&(p.template.style.transition="opacity 150ms",p.template.style.opacity=0),p.original.dispatchEvent(D("medium-zoom:close",{detail:{zoom:F}})),p.zoomed.addEventListener("transitionend",function t(){p.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(p.zoomed),p.zoomedHd&&document.body.removeChild(p.zoomedHd),document.body.removeChild(m),p.zoomed.classList.remove("medium-zoom-image--opened"),p.template&&document.body.removeChild(p.template),c=!1,p.zoomed.removeEventListener("transitionend",t),p.original.dispatchEvent(D("medium-zoom:closed",{detail:{zoom:F}})),p.original=null,p.zoomed=null,p.zoomedHd=null,p.template=null,e(F)})})},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return p.original?o():a({target:t})},l=[],u=[],c=!1,d=0,h=n,p={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?h=t:(t||"string"==typeof t)&&i(t);var m=y((h=f({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},h)).background);document.addEventListener("click",function(e){var t=e.target;if(t===m)return void o();-1!==l.indexOf(t)&&s({target:t})}),document.addEventListener("keyup",function(e){var t=e.key||e.keyCode;("Escape"===t||"Esc"===t||27===t)&&o()}),document.addEventListener("scroll",function(){if(!c&&p.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(d-e)>h.scrollOffset&&setTimeout(o,150)}}),window.addEventListener("resize",o);var F={open:a,close:o,toggle:s,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.background&&(m.style.background=e.background),e.container&&e.container instanceof Object&&(e.container=f({},h.container,e.container)),e.template){var t=g(e.template)?e.template:document.querySelector(e.template);e.template=t}return h=f({},h,e),l.forEach(function(e){e.dispatchEvent(D("medium-zoom:update",{detail:{zoom:F}}))}),F},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(f({},h,t))},attach:i,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];p.zoomed&&o();var r=t.length>0?t.reduce(function(e,t){return[].concat(e,v(t))},[]):l;return r.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(D("medium-zoom:detach",{detail:{zoom:F}}))}),l=l.filter(function(e){return -1===r.indexOf(e)}),F},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.forEach(function(r){r.addEventListener("medium-zoom:"+e,t,n)}),u.push({type:"medium-zoom:"+e,listener:t,options:n}),F},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.forEach(function(r){r.removeEventListener("medium-zoom:"+e,t,n)}),u=u.filter(function(n){return n.type!=="medium-zoom:"+e||n.listener.toString()!==t.toString()}),F},getOptions:function(){return h},getImages:function(){return l},getZoomedImage:function(){return p.original}};return F};n(865);let w=[[function(e){let{pathname:t}=(0,l.TH)(),{selector:n=".rspress-doc img",options:r={}}=e;return(0,d.useEffect)(()=>{let e,t=setTimeout(()=>{e=F(document.querySelectorAll(n),{...r,background:"var(--rp-c-bg)"})},100);return()=>{clearTimeout(t),null==e||e.detach(),null==e||e.close()}},[t]),null},{}]];async function C(e){var t,n;let r=(0,l.Ww)(e);if(r){let e=await r.preload(),t=(0,u.bw)(r.filePath),i=h.Z.pages.find(e=>{let t=e=>e.replace(/\/$/,"").toLowerCase();return(0,l.pV)(t(e.routePath),t(r.path))}),a=encodeURIComponent(t),o=(null==(n=e.default.__RSPRESS_PAGE_META)?void 0:n[a])||{},{toc:s=[],title:c="",frontmatter:d={},...p}=u.I6.test(r.filePath)?o:e;return{siteData:h.Z,page:{...p,pagePath:t,...i,pageType:(null==d?void 0:d.pageType)||"doc",title:c,frontmatter:d,toc:s}}}let i=h.Z.lang||"",a=(null==(t=h.Z.multiVersion)?void 0:t.default)||"";if(h.Z.lang&&"undefined"!=typeof window){let e=location.pathname.replace(h.Z.base,"").split("/").slice(0,2);if(h.Z.locales.length){let t=h.Z.locales.find(t=>{let{lang:n}=t;return e.includes(n)});t&&(i=t.lang)}if(h.Z.multiVersion.versions){let t=h.Z.multiVersion.versions.find(t=>e.includes(t));t&&(a=t)}}return{siteData:h.Z,page:{pagePath:"",pageType:"404",routePath:"/404",lang:i,frontmatter:{},title:"404",toc:[],version:a,_filepath:"",_relativePath:""}}}function E(e){let{helmetContext:t}=e,{setData:n,data:r}=(0,d.useContext)(l.R0),i=r.page.frontmatter||{},{pathname:a,search:o}=(0,l.TH)(),u=new URLSearchParams(o),h="globalUIComponents",f=!1===i[h]||"0"===u.get(h);return(0,d.useLayoutEffect)(()=>{!async function(){try{let e=await C(a);null==n||n(e)}catch(e){console.log(e)}}()},[a,n]),(0,s.jsxs)(p.B6,{context:t,children:[(0,s.jsx)(c.ZP.Layout,{}),!f&&w.map((e,t)=>{if(Array.isArray(e)){let[n,r]=e;return d.createElement(n,{key:t,...r})}return d.createElement(e,{key:t})})]})}n(1661);var A={"react-dom":function(e){e.exports=i},"react-dom/client":function(e){e.exports=o}},j={};let k=h.Z.ssg;!async function(){let e=document.getElementById("root"),t=async()=>{let e=await C(window.location.pathname);return function(){let[t,n]=(0,d.useState)(e),[r,i]=(0,c.ls)();return(0,s.jsx)(l.Ni.Provider,{value:(0,d.useMemo)(()=>({theme:r,setTheme:i}),[r,i]),children:(0,s.jsx)(l.R0.Provider,{value:(0,d.useMemo)(()=>({data:t,setData:n}),[t,n]),children:(0,s.jsx)(l.VK,{children:(0,s.jsx)(E,{})})})})}},n=await t();{let{createRoot:t,hydrateRoot:r}=function e(t){var n=j[t];if(void 0!==n)return n.exports;var r=j[t]={exports:{}};return A[t](r,r.exports,e),r.exports}("react-dom/client");(0,u.yv)()&&k?r(e,(0,s.jsx)(n,{})):t(e).render((0,s.jsx)(n,{}))}}()},3962:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6971:function(e,t,n){"use strict";n.d(t,{Zo:()=>s,ah:()=>a});var r=n(3732);let i=r.createContext({});function a(e){let t=r.useContext(i);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||o:a(e),r.createElement(i.Provider,{value:s},t)}},4666:function(e,t,n){"use strict";n.d(t,{$U:()=>v,E9:()=>C,I6:()=>a,Kw:()=>m,Qj:()=>f,_f:()=>d,bw:()=>u,lm:()=>c,mi:()=>p,nY:()=>h,pJ:()=>w,pZ:()=>x,rp:()=>o,t6:()=>s,tz:()=>F,xM:()=>y,xf:()=>g,yc:()=>D,yv:()=>l});let r=/\?.*$/s,i=/#.*$/s,a=/\.mdx?$/,o="rspress-theme-appearance",s="search_index",l=()=>!0,u=e=>e.replace(i,"").replace(r,"");function c(e){return e.replace(/#.*$/,"")}let d=()=>!0;function h(e){return"/"===e.charAt(0)||g(e)?e:`/${e}`}function p(e){return"/"===e.charAt(e.length-1)?e:`${e}/`}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){return f(h(function(e){let t=e.replace(/\\/g,"/"),n=t.startsWith("/"),r=t.split("/"),i=[];for(let e of r)"."===e||""===e||(".."===e?i.length>0&&".."!==i[i.length-1]?i.pop():n&&i.push(".."):i.push(e));let a=i.join("/");return n&&(a=`/${a}`),a}(e)))}function g(e=""){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")}function x(e=""){return/^\s*data:/i.test(e)}function v(e,t,n,r="",i=!1,a=!1){let o=C(e,r);(!o||a)&&(o=i?"/index":"/index.html"),o.endsWith("/")&&(o+=i?"/index":"/index.html");let s="",l="",u="",c=o.split("/").filter(Boolean);return n.current&&n.current!==n.default&&(s=c.shift()||""),t.target!==t.default?(l=t.target,t.current!==t.default&&c.shift()):c.shift(),u=c.join("/")||"",(s||l)&&!u&&(u=i?"index":"index.html"),w(h([s,l,u].filter(Boolean).join("/")),r)}function y(e,t,n="",r=!1,i=!1){let a=C(e,n);(!a||i)&&(a=r?"/index":"/index.html");let o="",s=a.split("/").filter(Boolean);t.target!==t.default?(o=t.target,t.current!==t.default&&s.shift()):s.shift();let l=s.join("/")||"";return o&&!l&&(l=r?"index":"index.html"),w(h([o,l].filter(Boolean).join("/")),n)}let b=e=>{let[t,n=""]=e.split("#");return{url:t,hash:n}};function D(e,t=!1){if(!e)return"/";if(g(e))return e;let{url:n,hash:r}=b(decodeURIComponent(e));return t||n.endsWith(".html")||(n.endsWith("/")?n+="index.html":n+=".html"),t&&n.endsWith("/")&&(n+="index"),t&&n.endsWith(".html")&&(n=n.replace(/\.html$/,"")),h(r?`${n}#${r}`:n)}function F(e,t){return h(e).replace(m(t),"")}function w(e,t){let n=h(e),r=m(t);return n.startsWith(r)?n:`${r}${n}`}function C(e,t){return h(e).replace(RegExp(`^${m(t)}`),"")}},3052:function(e,t,n){"use strict";let r;n.d(t,{g2:()=>r0,zx:()=>rd,xK:()=>rx,JL:()=>rZ,ls:()=>ru,rU:()=>nm,xB:()=>ry,pU:()=>r4,TJ:()=>nJ,Qe:()=>r2,O9:()=>rD,BZ:()=>rg,mi:()=>rp,ZP:()=>iu,Vp:()=>il,ol:()=>is});var i,a,o,s,l={};n.r(l),n.d(l,{onSearch:()=>tL}),n(7611);var u=n(503),c=n(6971),d=n(9058);let h=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var p=n(3732),f=n(4666);let m=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var g="object"==typeof global&&global&&global.Object===Object&&global,x="object"==typeof self&&self&&self.Object===Object&&self,v=g||x||Function("return this")();let y=function(){return v.Date.now()};var b=/\s/;let D=function(e){for(var t=e.length;t--&&b.test(e.charAt(t)););return t};var F=/^\s+/,w=v.Symbol,C=Object.prototype,E=C.hasOwnProperty,A=C.toString,j=w?w.toStringTag:void 0;let k=function(e){var t=E.call(e,j),n=e[j];try{e[j]=void 0;var r=!0}catch(e){}var i=A.call(e);return r&&(t?e[j]=n:delete e[j]),i};var S=Object.prototype.toString,N=w?w.toStringTag:void 0;let T=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?k(e):S.call(e)},I=function(e){return"symbol"==typeof e||null!=e&&"object"==typeof e&&"[object Symbol]"==T(e)};var B=0/0,P=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,O=/^0o[0-7]+$/i,_=parseInt;let $=function(e){if("number"==typeof e)return e;if(I(e))return B;if(m(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=m(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,D(t)+1).replace(F,""):t;var r=L.test(e);return r||O.test(e)?_(e.slice(2),r?2:8):P.test(e)?B:+e};var M=Math.max,R=Math.min;let H=function(e,t,n){var r,i,a,o,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function f(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=a}function g(){var e,n,r,i=y();if(f(i))return x(i);s=setTimeout(g,(e=i-l,n=i-u,r=t-e,d?R(r,a-n):r))}function x(e){return(s=void 0,h&&r)?p(e):(r=i=void 0,o)}function v(){var e,n=y(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(g,t),c?p(e):o;if(d)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return t=$(t)||0,m(n)&&(c=!!n.leading,a=(d="maxWait"in n)?M($(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),v.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},v.flush=function(){return void 0===s?o:x(y())},v},z=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return m(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),H(e,t,{leading:r,maxWait:t,trailing:i})};var U=n(4752);let W=e=>(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})}),V=e=>(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})});var q=n(7811);n(4596);var G=n(5161);let Z=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13zM3 19h13v-2H3zm19-7-4-3v2H3v2h15v2z"})}),Y=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"#22a041",d:"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3 4 3v-2h2c2.95 0 4-1.27 4-4 0-2.72-1-4-4-4H3z"})}),K=e=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30",...e,children:[(0,u.jsx)("path",{fill:"currentColor",d:"M28 10v18H10V10zm0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2"}),(0,u.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]}),J=e=>(0,u.jsx)("svg",{width:32,height:32,viewBox:"0 0 30 30",...e,children:(0,u.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9z"})});var X=n(7831);function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ee(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Q(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,void 0):void 0}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function en(e,t,n){var r;return(r=function(e,t){if("object"!=et(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=et(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==et(r)?r:r+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(){return(er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ea(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ei(Object(n),!0).forEach(function(t){en(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eo={},es=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function el(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?el(Object(n),!0).forEach(function(t){en(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):el(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ec=/\n/g;function ed(e){var t,n,r,i,a=e.codeString,o=e.codeStyle,s=e.containerStyle,l=e.numberStyle,u=e.startingLineNumber;return p.createElement("code",{style:Object.assign({},o,void 0===s?{float:"left",paddingRight:"10px"}:s)},(n=(t={lines:a.replace(/\n$/,"").split("\n"),style:void 0===l?{}:l,startingLineNumber:u}).lines,r=t.startingLineNumber,i=t.style,n.map(function(e,t){var n=t+r;return p.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof i?i(n):i},"".concat(n,"\n"))})))}function eh(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function ep(e,t,n){var r={display:"inline-block",minWidth:"".concat(n.toString().length,".25em"),paddingRight:"1em",textAlign:"right",userSelect:"none"},i="function"==typeof e?e(t):e;return eu(eu({},r),i)}function ef(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,i=e.largestLineNumber,a=e.showInlineLineNumbers,o=e.lineProps,s=void 0===o?{}:o,l=e.className,u=void 0===l?[]:l,c=e.showLineNumbers,d=e.wrapLongLines,h=e.wrapLines,p=void 0!==h&&h?eu({},"function"==typeof s?s(n):s):{};if(p.className=p.className?[].concat(ee(p.className.trim().split(/\s+/)),ee(u)):u,n&&a){var f=ep(r,n,i);t.unshift(eh(n,f))}return d&c&&(p.style=eu({display:"flex"},p.style)),{type:"element",tagName:"span",properties:p,children:t}}function em(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(e,t){return function e(t){var n=t.node,r=t.stylesheet,i=t.style,a=t.useInlineStyles,o=t.key,s=n.properties,l=n.type,u=n.tagName,c=n.value;if("text"===l)return c;if(u){var d,h,f=(d=0,function(t){return d+=1,t.map(function(t,n){return e({node:t,stylesheet:r,useInlineStyles:a,key:"code-segment-".concat(d,"-").concat(n)})})});if(a){var m=Object.keys(r).reduce(function(e,t){return t.split(".").forEach(function(t){e.includes(t)||e.push(t)}),e},[]),g=s.className&&s.className.includes("token")?["token"]:[],x=s.className&&g.concat(s.className.filter(function(e){return!m.includes(e)}));h=ea(ea({},s),{},{className:x.join(" ")||void 0,style:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return eo[n]||(eo[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),eo[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return ea(ea({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===i?{}:i),r)})}else h=ea(ea({},s),{},{className:s.className.join(" ")});var v=f(n.children);return p.createElement(u,er({key:o},h),v)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(t)})})}function eg(e){return e&&void 0!==e.highlightAuto}var ex=n(6777),ev=n.n(ex),ey=(i=ev(),a={},function(e){var t,n,r=e.language,o=e.children,s=e.style,l=void 0===s?a:s,u=e.customStyle,c=void 0===u?{}:u,d=e.codeTagProps,h=void 0===d?{className:r?"language-".concat(r):void 0,style:eu(eu({},l['code[class*="language-"]']),l['code[class*="language-'.concat(r,'"]')])}:d,f=e.useInlineStyles,m=void 0===f||f,g=e.showLineNumbers,x=void 0!==g&&g,v=e.showInlineLineNumbers,y=void 0===v||v,b=e.startingLineNumber,D=void 0===b?1:b,F=e.lineNumberContainerStyle,w=e.lineNumberStyle,C=void 0===w?{}:w,E=e.wrapLines,A=e.wrapLongLines,j=void 0!==A&&A,k=e.lineProps,S=e.renderer,N=e.PreTag,T=void 0===N?"pre":N,I=e.CodeTag,B=void 0===I?"code":I,P=e.code,L=void 0===P?(Array.isArray(o)?o[0]:o)||"":P,O=e.astGenerator,_=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,es);O=O||i;var $=x?p.createElement(ed,{containerStyle:F,codeStyle:h.style||{},numberStyle:C,startingLineNumber:D,codeString:L}):null,M=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},R=eg(O)?"hljs":"prismjs",H=m?Object.assign({},_,{style:Object.assign({},M,c)}):Object.assign({},_,{className:_.className?"".concat(R," ").concat(_.className):R,style:Object.assign({},c)});if(j?h.style=eu({whiteSpace:"pre-wrap"},h.style):h.style=eu({whiteSpace:"pre"},h.style),!O)return p.createElement(T,H,$,p.createElement(B,h,L));(void 0===E&&S||j)&&(E=!0),S=S||em;var z=[{type:"text",value:L}],U=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(eg(t)){var a=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:i,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(e){return{value:i}}}({astGenerator:O,language:r,code:L,defaultCodeValue:z});null===U.language&&(U.value=z);var W=D+(null!=(t=null==(n=L.match(/\n/g))?void 0:n.length)?t:0),V=function(e,t,n,r,i,a,o,s,l){var u,c=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i<t.length;i++){var a=t[i];if("text"===a.type)r.push(ef({children:[a],className:ee(new Set(n))}));else if(a.children){var o=n.concat(a.properties.className);e(a.children,o).forEach(function(e){return r.push(e)})}}return r}(e.value),d=[],h=-1,p=0;function f(e,a){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||u.length>0?function(e,a){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return ef({children:e,lineNumber:a,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:u,showLineNumbers:r,wrapLongLines:l,wrapLines:t})}(e,a,u):function(e,t){if(r&&t&&i){var n=ep(s,t,o);e.unshift(eh(t,n))}return e}(e,a)}for(;p<c.length;)!function(){var e=c[p],t=e.children[0].value;if(t.match(ec)){var n=t.split("\n");n.forEach(function(t,i){var o=r&&d.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===i){var l=f(c.slice(h+1,p).concat(ef({children:[s],className:e.properties.className})),o);d.push(l)}else if(i===n.length-1){var u=c[p+1]&&c[p+1].children&&c[p+1].children[0],m={type:"text",value:"".concat(t)};if(u){var g=ef({children:[m],className:e.properties.className});c.splice(p+1,0,g)}else{var x=f([m],o,e.properties.className);d.push(x)}}else{var v=f([s],o,e.properties.className);d.push(v)}}),h=p}p++}();if(h!==c.length-1){var m=c.slice(h+1,c.length);if(m&&m.length){var g=f(m,r&&d.length+a);d.push(g)}}return t?d:(u=[]).concat.apply(u,d)}(U,E,void 0===k?{}:k,x,y,D,W,C,j);return p.createElement(T,H,p.createElement(B,h,!y&&$,S({rows:V,stylesheet:l,useInlineStyles:m})))});ey.registerLanguage=function(e,t){return ev().register(t)},ey.alias=function(e,t){return ev().alias(e,t)};let eb={tsx:["jsx"],typescript:["ts"]},eD={bash:n(7171).default,css:n(3971).default,tsx:n(906).default,typescript:n(7260).default};function eF(e){return void 0===e||e}function ew(e){let t=Array(e);for(let n=0;n<e;n++)t[n]=eC();return t}function eC(){return Object.create(null)}function eE(e,t){return t.length-e.length}function eA(e){return"string"==typeof e}function ej(e){return"object"==typeof e}function ek(e){return"function"==typeof e}function eS(e,t){var n=eN;if(e&&(t&&(e=eB(e,t)),this.H&&(e=eB(e,this.H)),this.J&&1<e.length&&(e=eB(e,this.J)),n||""===n))if(t=e.split(n),this.filter){e=this.filter,n=t.length;let r=[];for(let i=0,a=0;i<n;i++){let n=t[i];n&&!e[n]&&(r[a++]=n)}e=r}else e=t;return e}let eN=/[\p{Z}\p{S}\p{P}\p{C}]+/u,eT=/[\u0300-\u036f]/g;function eI(e,t){let n=Object.keys(e),r=n.length,i=[],a="",o=0;for(let s=0,l,u;s<r;s++)(u=e[l=n[s]])?(i[o++]=eP(t?"(?!\\b)"+l+"(\\b|_)":l),i[o++]=u):a+=(a?"|":"")+l;return a&&(i[o++]=eP(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),i[o]=""),i}function eB(e,t){for(let n=0,r=t.length;n<r&&(e=e.replace(t[n],t[n+1]));n+=2);return e}function eP(e){return RegExp(e,"g")}function eL(e){let t="",n="";for(let r=0,i=e.length,a;r<i;r++)(a=e[r])!==n&&(t+=n=a);return t}function eO(e){return eS.call(this,(""+e).toLowerCase(),!1)}let e_={},e$={};function eM(e){eR(e,"add"),eR(e,"append"),eR(e,"search"),eR(e,"update"),eR(e,"remove")}function eR(e,t){e[t+"Async"]=function(){let e,n=this,r=arguments;var i=r[r.length-1];return ek(i)&&(e=i,delete r[r.length-1]),i=new Promise(function(e){setTimeout(function(){n.async=!0;let i=n[t].apply(n,r);n.async=!1,e(i)})}),e?(i.then(e),this):i}}function eH(e,t,n,r){let i=e.length,a=[],o,s,l=0;r&&(r=[]);for(let u=i-1;0<=u;u--){let c=e[u],d=c.length,h=eC(),p=!o;for(let e=0;e<d;e++){let d=c[e],f=d.length;if(f)for(let e=0,c,m;e<f;e++)if(m=d[e],o){if(o[m]){if(!u){if(n)n--;else if(a[l++]=m,l===t)return a}(u||r)&&(h[m]=1),p=!0}if(r&&(c=(s[m]||0)+1,s[m]=c,c<i)){let e=r[c-2]||(r[c-2]=[]);e[e.length]=m}}else h[m]=1}if(r)o||(s=h);else if(!p)return[];o=h}if(r)for(let e=r.length-1,i,s;0<=e;e--){s=(i=r[e]).length;for(let e=0,r;e<s;e++)if(!o[r=i[e]]){if(n)n--;else if(a[l++]=r,l===t)return a;o[r]=1}}return a}function ez(e){this.l=!0!==e&&e,this.cache=eC(),this.h=[]}function eU(e,t,n){ej(e)&&(e=e.query);let r=this.cache.get(e);return r||(r=this.search(e,t,n),this.cache.set(e,r)),r}ez.prototype.set=function(e,t){if(!this.cache[e]){var n=this.h.length;for(n===this.l?delete this.cache[this.h[n-1]]:n++,--n;0<n;n--)this.h[n]=this.h[n-1];this.h[0]=e}this.cache[e]=t},ez.prototype.get=function(e){let t=this.cache[e];if(this.l&&t&&(e=this.h.indexOf(e))){let t=this.h[e-1];this.h[e-1]=this.h[e],this.h[e]=t}return t};let eW={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};function eV(e,t,n,r,i,a,o,s){setTimeout(function(){let l=e(n?n+"."+r:r,JSON.stringify(o));l&&l.then?l.then(function(){t.export(e,t,n,i,a+1,s)}):t.export(e,t,n,i,a+1,s)})}function eq(e,t){if(!(this instanceof eq))return new eq(e);if(e){eA(e)?e=eW[e]:(n=e.preset)&&(e=Object.assign({},n[n],e));var n=e.charset,r=e.lang;eA(n)&&(-1===n.indexOf(":")&&(n+=":default"),n=e$[n]),eA(r)&&(r=e_[r])}else e={};let i,a,o=e.context||{};if(this.encode=e.encode||n&&n.encode||eO,this.register=t||eC(),this.D=i=e.resolution||9,this.G=t=n&&n.G||e.tokenize||"strict",this.depth="strict"===t&&o.depth,this.l=eF(o.bidirectional),this.s=a=eF(e.optimize),this.m=eF(e.fastupdate),this.B=e.minlength||1,this.C=e.boost,this.map=a?ew(i):eC(),this.A=i=o.resolution||1,this.h=a?ew(i):eC(),this.F=n&&n.F||e.rtl,this.H=(t=e.matcher||r&&r.H)&&eI(t,!1),this.J=(t=e.stemmer||r&&r.J)&&eI(t,!0),n=t=e.filter||r&&r.filter){n=t,r=eC();for(let e=0,t=n.length;e<t;e++)r[n[e]]=1;n=r}this.filter=n,this.cache=(t=e.cache)&&new ez(t)}function eG(e,t,n,r,i){return n&&1<e?t+(r||0)<=e?n+(i||0):(e-1)/(t+(r||0))*(n+(i||0))+1|0:0}function eZ(e,t,n,r,i,a,o){let s=o?e.h:e.map;(!t[n]||o&&!t[n][o])&&(e.s&&(s=s[r]),o?((t=t[n]||(t[n]=eC()))[o]=1,s=s[o]||(s[o]=eC())):t[n]=1,s=s[n]||(s[n]=[]),e.s||(s=s[r]||(s[r]=[])),a&&s.includes(i)||(s[s.length]=i,e.m&&((e=e.register[i]||(e.register[i]=[]))[e.length]=s)))}function eY(e,t,n,r,i,a,o,s){let l=[],u=s?e.h:e.map;if(e.s||(u=eJ(u,o,s,e.l)),u){let n=0,c=Math.min(u.length,s?e.A:e.D);for(let t=0,d=0,h,p;t<c&&(!(h=u[t])||(e.s&&(h=eJ(h,o,s,e.l)),i&&h&&a&&((p=h.length)<=i?(i-=p,h=null):(h=h.slice(i),i=0)),!h||(l[n++]=h,!a||!((d+=h.length)>=r))));t++);if(n)return a?eK(l,r,0):void(t[t.length]=l)}return!n&&l}function eK(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function eJ(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function eX(e,t,n,r,i){let a=0;if(e.constructor===Array)if(i)-1!==(t=e.indexOf(t))?1<e.length&&(e.splice(t,1),a++):a++;else{i=Math.min(e.length,n);for(let o=0,s;o<i;o++)(s=e[o])&&(a=eX(s,t,n,r,i),r||a||delete e[o])}else for(let o in e)(a=eX(e[o],t,n,r,i))||delete e[o];return a}function eQ(e){e=e.data;var t=self._index;let n=e.args;var r=e.task;"init"===r?(r=e.options||{},e=e.factory,t=r.encode,r.cache=!1,t&&0===t.indexOf("function")&&(r.encode=Function("return "+t)()),e?(Function("return "+e)()(self),self._index=new self.FlexSearch.Index(r),delete self.FlexSearch):self._index=new eq(r)):(e=e.id,t=t[r].apply(t,n),postMessage("search"===r?{id:e,msg:t}:{id:e}))}(s=eq.prototype).append=function(e,t){return this.add(e,t,!0)},s.add=function(e,t,n,r){if(t&&(e||0===e)){if(!r&&!n&&this.register[e])return this.update(e,t);if(r=(t=this.encode(t)).length){let u=eC(),c=eC(),d=this.depth,h=this.D;for(let p=0;p<r;p++){let f=t[this.F?r-1-p:p];var i=f.length;if(f&&i>=this.B&&(d||!c[f])){var a=eG(h,r,p),o="";switch(this.G){case"full":if(2<i){for(a=0;a<i;a++)for(var s=i;s>a;s--)if(s-a>=this.B){var l=eG(h,r,p,i,a);eZ(this,c,o=f.substring(a,s),l,e,n)}break}case"reverse":if(1<i){for(s=i-1;0<s;s--)(o=f[s]+o).length>=this.B&&eZ(this,c,o,eG(h,r,p,i,s),e,n);o=""}case"forward":if(1<i){for(s=0;s<i;s++)(o+=f[s]).length>=this.B&&eZ(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,f,p)|0,h-1)),eZ(this,c,f,a,e,n),d&&1<r&&p<r-1){for(i=eC(),o=this.A,a=f,s=Math.min(d+1,r-p),i[a]=1,l=1;l<s;l++)if((f=t[this.F?r-1-p-l:p+l])&&f.length>=this.B&&!i[f]){i[f]=1;let t=this.l&&f>a;eZ(this,u,t?a:f,eG(o+(r/2>o?0:1),r,p,s-1,l-1),e,n,t?f:a)}}}}}this.m||(this.register[e]=1)}}return this},s.search=function(e,t,n){let r,i,a;n||(!t&&ej(e)?e=(n=e).query:ej(t)&&(n=t));let o=[],s,l,u=0;if(n){e=n.query||e,t=n.limit,u=n.offset||0;var c=n.context;l=n.suggest}if(e&&1<(s=(e=this.encode(""+e)).length)){n=eC();var d=[];for(let t=0,r=0,i;t<s;t++)if((i=e[t])&&i.length>=this.B&&!n[i])if(!this.s&&!l&&!this.map[i])return o;else d[r++]=i,n[i]=1;s=(e=d).length}if(!s)return o;for(t||(t=100),c=this.depth&&1<s&&!1!==c,n=0,c?(r=e[0],n=1):1<s&&e.sort(eE);n<s;n++){if(a=e[n],c?(i=eY(this,o,l,t,u,2===s,a,r),l&&!1===i&&o.length||(r=a)):i=eY(this,o,l,t,u,1===s,a),i)return i;if(l&&n===s-1){if(!(d=o.length)){if(c){c=0,n=-1;continue}return o}if(1===d)return eK(o[0],t,u)}}return eH(o,t,u,l)},s.contain=function(e){return!!this.register[e]},s.update=function(e,t){return this.remove(e).add(e,t)},s.remove=function(e,t){let n=this.register[e];if(n){if(this.m)for(let t=0,r;t<n.length;t++)(r=n[t]).splice(r.indexOf(e),1);else eX(this.map,e,this.D,this.s),this.depth&&eX(this.h,e,this.A,this.s);if(t||delete this.register[e],this.cache){t=this.cache;for(let n=0,r;n<t.h.length;n++)r=t.h[n],t.cache[r].includes(e)&&(t.h.splice(n--,1),delete t.cache[r])}}return this},s.searchCache=eU,s.export=function(e,t,n,r,i,a){let o,s,l=!0;switch(void 0===a&&(l=new Promise(e=>{a=e})),i||(i=0)){case 0:if(o="reg",this.m)for(let e in s=eC(),this.register)s[e]=1;else s=this.register;break;case 1:o="cfg",s={doc:0,opt:+!!this.s};break;case 2:o="map",s=this.map;break;case 3:o="ctx",s=this.h;break;default:void 0===n&&a&&a();return}return eV(e,t||this,n,o,r,i,s,a),l},s.import=function(e,t){if(t)switch(eA(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}},eM(eq.prototype);let e0=0;function e1(e){var t;if(!(this instanceof e1))return new e1(e);e?ek(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let r="undefined"==typeof window&&self.exports,i=this;this.o=function(e,t,r){let i;try{i=t?new(n(1096)).Worker("//node/node.js"):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+eQ.toString()],{type:"text/javascript"}))):new Worker(eA(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=eC(),this.o&&(r?this.o.on("message",function(e){i.h[e.id](e.msg),delete i.h[e.id]}):this.o.onmessage=function(e){e=e.data,i.h[e.id](e.msg),delete i.h[e.id]},this.o.postMessage({task:"init",factory:t,options:e}))}function e2(e){e1.prototype[e]=e1.prototype[e+"Async"]=function(){let t,n=this,r=[].slice.call(arguments);var i=r[r.length-1];return ek(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++e0]=t,n.o.postMessage({task:e,id:e0,args:r})})}),t?(i.then(t),this):i}}function e3(e){if(!(this instanceof e3))return new e3(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=eC(),this.key=(t=n.key||n.id)&&e4(t,this.A)||"id",this.m=eF(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&eC(),this.I=(t=n.tag)&&e4(t,this.A),this.l=t&&eC(),this.cache=(t=e.cache)&&new ez(t),e.cache=!1,this.o=e.worker,this.async=!1,t=eC();let r=n.index||n.field||n;eA(r)&&(r=[r]);for(let n=0,i,a;n<r.length;n++)eA(i=r[n])||(a=i,i=i.field),a=ej(a)?Object.assign({},e,a):e,this.o&&(t[i]=new e1(a),t[i].o||(this.o=!1)),this.o||(t[i]=new eq(a,this.register)),this.K[n]=e4(i,this.A),this.h[n]=i;if(this.C)for(eA(e=n.store)&&(e=[e]),n=0;n<e.length;n++)this.C[n]=e4(e[n],this.A);this.index=t}function e4(e,t){let n=e.split(":"),r=0;for(let i=0;i<n.length;i++)0<=(e=n[i]).indexOf("[]")&&(e=e.substring(0,e.length-2))&&(t[r]=!0),e&&(n[r++]=e);return r<n.length&&(n.length=r),1<r?n:n[0]}function e6(e,t){if(eA(t))e=e[t];else for(let n=0;e&&n<t.length;n++)e=e[t[n]];return e}function e5(e,t,n,r){let i=this.l[e],a=i&&i.length-n;if(a&&0<a)return(a>t||n)&&(i=i.slice(n,n+t)),r&&(i=e8.call(this,i)),{tag:e,result:i}}function e8(e){let t=Array(e.length);for(let n=0,r;n<e.length;n++)r=e[n],t[n]={id:r,doc:this.store[r]};return t}e2("add"),e2("append"),e2("search"),e2("update"),e2("remove"),(s=e3.prototype).add=function(e,t,n){if(ej(e)&&(e=e6(t=e,this.key)),t&&(e||0===e)){if(!n&&this.register[e])return this.update(e,t);for(let r=0,i,a;r<this.h.length;r++)a=this.h[r],eA(i=this.K[r])&&(i=[i]),function e(t,n,r,i,a,o,s,l){if(t=t[s])if(i===n.length-1){if(t.constructor===Array){if(r[i]){for(n=0;n<t.length;n++)a.add(o,t[n],!0,!0);return}t=t.join(" ")}a.add(o,t,l,!0)}else if(t.constructor===Array)for(s=0;s<t.length;s++)e(t,n,r,i,a,o,s,l);else s=n[++i],e(t,n,r,i,a,o,s,l)}(t,i,this.A,0,this.index[a],e,i[0],n);if(this.I){let r=e6(t,this.I),i=eC();eA(r)&&(r=[r]);for(let t=0,a,o;t<r.length;t++)if(!i[a=r[t]]&&(i[a]=1,o=this.l[a]||(this.l[a]=[]),!n||!o.includes(e))&&(o[o.length]=e,this.m)){let t=this.register[e]||(this.register[e]=[]);t[t.length]=o}}if(this.store&&(!n||!this.store[e])){let n;if(this.C){n=eC();for(let e=0,r;e<this.C.length;e++)eA(r=this.C[e])?n[r]=t[r]:function e(t,n,r,i,a){if(t=t[a],i===r.length-1)n[a]=t;else if(t)if(t.constructor===Array)for(n=n[a]=Array(t.length),a=0;a<t.length;a++)e(t,n,r,i,a);else n=n[a]||(n[a]=eC()),a=r[++i],e(t,n,r,i,a)}(t,n,r,0,r[0])}this.store[e]=n||t}}return this},s.append=function(e,t){return this.add(e,t,!0)},s.update=function(e,t){return this.remove(e).add(e,t)},s.remove=function(e){if(ej(e)&&(e=e6(e,this.key)),this.register[e]){for(var t=0;t<this.h.length&&(this.index[this.h[t]].remove(e,!this.o),!this.m);t++);if(this.I&&!this.m)for(let n in this.l){let r=(t=this.l[n]).indexOf(e);-1!==r&&(1<t.length?t.splice(r,1):delete this.l[n])}this.store&&delete this.store[e],delete this.register[e]}return this},s.search=function(e,t,n,r){n||(!t&&ej(e)?(n=e,e=""):ej(t)&&(n=t,t=0));let i=[],a=[],o,s,l,u,c,d,h=0;if(n)if(n.constructor===Array)l=n,n=null;else{if(e=n.query||e,l=(o=n.pluck)||n.index||n.field,u=n.tag,s=this.store&&n.enrich,c="and"===n.bool,t=n.limit||t||100,d=n.offset||0,u&&(eA(u)&&(u=[u]),!e)){for(let e=0,n;e<u.length;e++)(n=e5.call(this,u[e],t,d,s))&&(i[i.length]=n,h++);return h?i:[]}eA(l)&&(l=[l])}l||(l=this.h),c=c&&(1<l.length||u&&1<u.length);let p=!r&&(this.o||this.async)&&[];for(let o=0,f,m,g;o<l.length;o++){let x;if(eA(m=l[o])||(m=(x=m).field,e=x.query||e,t=x.limit||t,s=x.enrich||s),p)p[o]=this.index[m].searchAsync(e,t,x||n);else{if(g=(f=r?r[o]:this.index[m].search(e,t,x||n))&&f.length,u&&g){let e=[],n=0;c&&(e[0]=[f]);for(let t=0,r,i;t<u.length;t++)r=u[t],(g=(i=this.l[r])&&i.length)&&(n++,e[e.length]=c?[i]:i);n&&(g=(f=c?eH(e,t||100,d||0):function(e,t){let n=eC(),r=eC(),i=[];for(let t=0;t<e.length;t++)n[e[t]]=1;for(let e=0,a;e<t.length;e++){a=t[e];for(let e=0,t;e<a.length;e++)n[t=a[e]]&&!r[t]&&(r[t]=1,i[i.length]=t)}return i}(f,e)).length)}if(g)a[h]=m,i[h++]=f;else if(c)return[]}}if(p){let r=this;return new Promise(function(i){Promise.all(p).then(function(a){i(r.search(e,t,n,a))})})}if(!h)return[];if(o&&(!s||!this.store))return i[0];for(let e=0,t;e<a.length;e++){if((t=i[e]).length&&s&&(t=e8.call(this,t)),o)return t;i[e]={field:a[e],result:t}}return i},s.contain=function(e){return!!this.register[e]},s.get=function(e){return this.store[e]},s.set=function(e,t){return this.store[e]=t,this},s.searchCache=eU,s.export=function(e,t,n,r,i,a){let o;if(void 0===a&&(o=new Promise(e=>{a=e})),i||(i=0),r||(r=0),r<this.h.length){let n=this.h[r],o=this.index[n];t=this,setTimeout(function(){o.export(e,t,i?n:"",r,i++,a)||(r++,i=1,t.export(e,t,n,r,i,a))})}else{let t,o;switch(i){case 1:t="tag",o=this.l,n=null;break;case 2:t="store",o=this.store,n=null;break;default:a();return}eV(e,this,n,t,r,i,o,a)}return o},s.import=function(e,t){if(t)switch(eA(t)&&(t=JSON.parse(t)),e){case"tag":this.l=t;break;case"reg":this.m=!1,this.register=t;for(let e=0,n;e<this.h.length;e++)(n=this.index[this.h[e]]).register=t,n.m=!1;break;case"store":this.store=t;break;default:let n=(e=e.split("."))[0];e=e[1],n&&e&&this.index[n].import(e,t)}},eM(e3.prototype);let e7=[eP("[\xe0\xe1\xe2\xe3\xe4\xe5]"),"a",eP("[\xe8\xe9\xea\xeb]"),"e",eP("[\xec\xed\xee\xef]"),"i",eP("[\xf2\xf3\xf4\xf5\xf6ő]"),"o",eP("[\xf9\xfa\xfb\xfcű]"),"u",eP("[\xfdŷ\xff]"),"y",eP("\xf1"),"n",eP("[\xe7c]"),"k",eP("\xdf"),"s",eP(" & ")," and "];function e9(e){var t=e=""+e;return t.normalize&&(t=t.normalize("NFD").replace(eT,"")),eS.call(this,t.toLowerCase(),!e.normalize&&e7)}let te=/[^a-z0-9]+/,tt={b:"p",v:"f",w:"f",z:"s",x:"s",ß:"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function tn(e){e=e9.call(this,e).join(" ");let t=[];if(e){let n=e.split(te),r=n.length;for(let i=0,a,o=0;i<r;i++)if((e=n[i])&&(!this.filter||!this.filter[e])){let n=tt[a=e[0]]||a,r=n;for(let t=1;t<e.length;t++){let i=tt[a=e[t]]||a;i&&i!==r&&(n+=i,r=i)}t[o++]=n}}return t}let tr=[eP("ae"),"a",eP("oe"),"o",eP("sh"),"s",eP("th"),"t",eP("ph"),"f",eP("pf"),"f",eP("(?![aeo])h(?![aeo])"),"",eP("(?!^[aeo])h(?!^[aeo])"),""];function ti(e,t){return e&&(2<(e=tn.call(this,e).join(" ")).length&&(e=eB(e,tr)),t||(1<e.length&&(e=eL(e)),e&&(e=e.split(" ")))),e||[]}let ta=eP("(?!\\b)[aeo]");e$["latin:default"]={encode:eO,F:!1,G:""},e$["latin:simple"]={encode:e9,F:!1,G:""},e$["latin:balance"]={encode:tn,F:!1,G:"strict"},e$["latin:advanced"]={encode:ti,F:!1,G:""},e$["latin:extra"]={encode:function(e){return e&&(1<(e=ti.call(this,e,!0)).length&&(e=e.replace(ta,"")),1<e.length&&(e=eL(e)),e&&(e=e.split(" "))),e||[]},F:!1,G:""};let to={"###":"72c9c372"};var ts=n(5378);let tl=e=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",...e,children:[(0,u.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,u.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,u.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]});var tu=!1;if("undefined"!=typeof window){var tc={get passive(){tu=!0;return}};window.addEventListener("testPassive",null,tc),window.removeEventListener("testPassive",null,tc)}var td="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),th=[],tp=!1,tf=-1,tm=void 0,tg=void 0,tx=void 0,tv=function(e){return th.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},ty=function(e){var t=e||window.event;return!!tv(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},tb=function(e){if(void 0===tx){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);tx=document.body.style.paddingRight,document.body.style.paddingRight=r+n+"px"}}void 0===tm&&(tm=document.body.style.overflow,document.body.style.overflow="hidden")},tD=function(){void 0!==tx&&(document.body.style.paddingRight=tx,tx=void 0),void 0!==tm&&(document.body.style.overflow=tm,tm=void 0)},tF=function(){if(void 0!==tg){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=tg.position,document.body.style.top=tg.top,document.body.style.left=tg.left,window.scrollTo(t,e),tg=void 0}},tw=function(e,t){var n=e.targetTouches[0].clientY-tf;return!tv(e.target)&&(t&&0===t.scrollTop&&n>0?ty(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?ty(e):(e.stopPropagation(),!0))},tC=function(e,t){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");!th.some(function(t){return t.targetElement===e})&&(th=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(th),[{targetElement:e,options:t||{}}]),td?window.requestAnimationFrame(function(){if(void 0===tg){tg={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,r=e.innerHeight;document.body.style.position="fixed",document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=r-window.innerHeight;e&&t>=r&&(document.body.style.top=-(t+e))})},300)}}):tb(t),td&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(tf=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&tw(t,e)},tp||(document.addEventListener("touchmove",ty,tu?{passive:!1}:void 0),tp=!0)))},tE=function(){td&&(th.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),tp&&(document.removeEventListener("touchmove",ty,tu?{passive:!1}:void 0),tp=!1),tf=-1),td?tF():tD(),th=[]};let tA=e=>(0,u.jsx)("svg",{width:18,height:18,viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6 2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.7 14.7 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.5 16.5 0 0 0 3 5.58A16.8 16.8 0 0 1 3 18l.75 1.86A18.5 18.5 0 0 0 9.53 16a16.9 16.9 0 0 0 5.76 3.84L16 18a14.5 14.5 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})}),tj=e=>(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})}),tk=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{d:"M12.1 22h-.9c-5.5-.5-9.5-5.4-9-10.9.4-4.8 4.2-8.6 9-9 .4 0 .8.2 1 .5s.2.8-.1 1.1c-2 2.7-1.4 6.4 1.3 8.4 2.1 1.6 5 1.6 7.1 0 .3-.2.7-.3 1.1-.1.3.2.5.6.5 1-.2 2.7-1.5 5.1-3.6 6.8-1.9 1.4-4.1 2.2-6.4 2.2M9.3 4.4c-2.9 1-5 3.6-5.2 6.8-.4 4.4 2.8 8.3 7.2 8.7 2.1.2 4.2-.4 5.8-1.8 1.1-.9 1.9-2.1 2.4-3.4-2.5.9-5.3.5-7.5-1.1-2.8-2.2-3.9-5.9-2.7-9.2"})}),tS=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{d:"M12 18c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6m0-10c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4M12 4c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1M12 24c-.6 0-1-.4-1-1v-2c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1M5.6 6.6c-.3 0-.5-.1-.7-.3L3.5 4.9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.1.2-.4.3-.7.3M19.8 20.8c-.3 0-.5-.1-.7-.3l-1.4-1.4c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.2.2-.5.3-.7.3M3 13H1c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1M23 13h-2c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1M4.2 20.8c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.4.3-.7.3M18.4 6.6c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.5.3-.7.3"})});var tN=n(114);let tT=e=>(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})}),tI=e=>(0,u.jsx)("svg",{width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"var(--rp-c-gray)",d:"m29 27.586-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9"})}),tB=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M24 9.4 22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6z"})}),tP=e=>(0,u.jsx)("svg",{width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,u.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,u.jsx)("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Z",children:(0,u.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,u.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,u.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,u.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})}),tL=()=>{},tO=e=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",...e,children:[(0,u.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M24 5v6m7 1 4-4m-18 4-4-4m27 33H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"}),(0,u.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]}),t_=e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M13.414 17.586 18 22.172V8H8V6h10a2 2 0 0 1 2 2v14.172l4.586-4.586L26 19l-7 7-7-7Z"})});function t$(){let{siteData:{themeConfig:e}}=(0,d.Vi)(),t=e.hideNavbar??"never",[n,r]=(0,p.useState)(!1),{pathname:i}=(0,d.TH)(),a=(0,p.useRef)(0);return"never"!==t&&("always"===t||((0,p.useEffect)(()=>{r(!1);let e=z(()=>{let{scrollTop:e}=document.documentElement;e!==a.current&&(r(a.current>0&&e-a.current>0),a.current=e<=0?0:e)},200);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[i]),n))}function tM(){let e=(0,d.Vi)(),{page:{lang:t}}=e,n=e?.siteData?.themeConfig??{},r=e.siteData.lang??"",i=n?.locales;return i&&0!==i.length?{...i.find(e=>e.lang===t),langRoutePrefix:t===r?"/":(0,f.mi)(t)}:{nav:n.nav,sidebar:n.sidebar,prevPageText:n.prevPageText,nextPageText:n.nextPageText,sourceCodeText:n.sourceCodeText,searchPlaceholderText:n.searchPlaceholderText,searchNoResultsText:n.searchNoResultsText,searchSuggestedQueryText:n.searchSuggestedQueryText,overview:n.overview}}function tR(){let{page:e,siteData:t}=(0,d.Vi)(),{frontmatter:n}=e,{themeConfig:r}=t,i=tM(),a=(0,d.TH)(),o=n?.overview??!1,s=()=>{let e="undefined"==typeof window||window.top===window.self;return(n?.outline??r?.outline??e)&&!o},[l,u]=function(){let{siteData:{themeConfig:e},page:{frontmatter:t={}}}=(0,d.Vi)(),n=(t?.navbar??!0)&&e?.hideNavbar!=="always",[r,i]=(0,p.useState)(n);return[r,i]}(),c=t$(),[h,f]=(0,p.useState)(s()),[m,g]=(0,p.useState)(n?.footer??!0),x=i.sidebar||{},v=n?.sidebar!==!1&&Object.keys(x).length>0,{width:y}=(0,d.iP)(),b=y<=960||y<=1280&&e.toc.length>0;(0,p.useEffect)(()=>{f(s())},[e,t]),(0,p.useEffect)(()=>{let e=new URLSearchParams(a.search),t=document.documentElement.style,n=t.getPropertyValue("--rp-sidebar-width"),r=t.getPropertyValue("--rp-aside-width"),i=e.get("navbar"),o=e.get("sidebar"),s=e.get("outline"),c=e.get("footer");return"0"===i&&u(!1),"0"===o&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===s&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===c&&g(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",n),document.documentElement.style.setProperty("--rp-aside-width",r),u(l),g(m)}},[a.search]);let D=c?0:y<=768?56:72,F=46*!!b;return{showAside:h,showNavbar:l,showSidebar:v,showSidebarMenu:b,showDocFooter:m,navbarHeight:D,sidebarMenuHeight:F,scrollPaddingTop:D+F}}function tH(e,t){let n=Number.parseInt(window.getComputedStyle(e).paddingTop,10);return Math.round(window.scrollY+e.getBoundingClientRect().top-t-n)}function tz(e,t,n){window.scrollTo({left:0,top:tH(e,n),...t?{behavior:"smooth"}:{}})}function tU(e){let{scrollPaddingTop:t}=tR();(0,p.useEffect)(()=>{let n=document.getElementById("aside-container"),r=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>e.parentElement?.tagName!=="H1");if(!n||!r.length||!e.length)return;let i=null,a=(e,t)=>{if(e[t]){let r=e[t].getAttribute("href"),a=n?.querySelector(`a[href="#${r?.slice(1)}"]`);a&&(i&&i.classList.remove("aside-active"),(i=a).classList.add("aside-active"))}},o=()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)a(r,r.length-1);else for(let e=0;e<r.length;e++){let n=r[e],i=r[e+1],o=Math.ceil(window.scrollY),s=tH(n.parentElement,t);if(0===e&&o<s||0===o){a(r,0);break}if(!i){a(r,e);break}let l=tH(i.parentElement,t);if(o>=s&&o<l){a(r,e);break}}},s=z(o,100);return window.addEventListener("scroll",s),o(),()=>{i&&i.classList.remove("aside-active"),window.removeEventListener("scroll",s)}},[t,e.length])}function tW(){if((0,f._f)()){let{scrollPaddingTop:e}=tR();(0,p.useEffect)(()=>{window.addEventListener("click",t=>{let n=t.target.closest("a");if(!n)return;let{origin:r,hash:i,target:a,pathname:o,search:s}=n,l=window.location;i&&"_blank"!==a&&r===l.origin&&(o===l.pathname&&s===l.search&&i&&n.classList.contains("header-anchor")?(t.preventDefault(),history.pushState(null,"",i),function(e,t,n=!1,r){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t.slice(1)))}catch(e){console.warn(e)}i&&tz(i,n,r)}(n,i,!0,e),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&tz(document.getElementById(location.hash.slice(1)),!1,e)}))},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()})},[e])}}function tV(e){return e?"number"==typeof e?e:/<([a-z]+)([^<]*)(?:>(.*?)<\/\1>|\s*\/>)/i.test(e)?U(e):e.replace(/\\</g,"<").replace(/\\>/g,">").replace(/&lt;/g,"<").replace(/&gt;/g,">"):""}let tq=/`(.*?)`/g,tG=/\*{2}(?!\*)(.*?)\*{2}(?!\*)/g,tZ=/\*(?!\*)(.*?)\*(?!\*)/g,tY=/\~{2}(.*?)\~{2}/g;function tK(e){return tV(e.replace(/`[^`]+`/g,e=>e.replace(/</g,"&lt;")).replace(tG,"<strong>$1</strong>").replace(tZ,"<em>$1</em>").replace(tY,"<del>$1</del>").replace(tq,"<code>$1</code>"))}let tJ=({header:e,baseHeaderLevel:t})=>(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:`#${e.id}`,title:e.text.replace(tG,"$1").replace(tZ,"$1").replace(tY,"$1").replace(tq,"$1"),className:"aside-link transition-all duration-300 hover:text-text-1 text-text-2 block",style:{marginLeft:(e.depth-t)*12,fontWeight:"semibold"},onClick:t=>{t.preventDefault(),window.location.hash=e.id},children:(0,u.jsx)("span",{className:"aside-link-text block",children:tK(e.text)})})});function tX({headers:e,outlineTitle:t}){let{scrollPaddingTop:n}=tR(),r=e[0]?.depth||2,{hash:i="",pathname:a}=(0,d.TH)(),o=(0,p.useMemo)(()=>decodeURIComponent(i),[i]);return tU(e),(0,p.useEffect)(()=>{if(0===o.length)window.scrollTo(0,0);else{let e=document.getElementById(o.slice(1));e&&tz(e,!1,n)}},[o,e,a]),(0,u.jsx)("div",{className:"flex flex-col",children:(0,u.jsxs)("div",{id:"aside-container",className:"relative text-sm font-medium",children:[(0,u.jsx)("div",{className:"leading-7 block text-sm font-semibold pl-3",children:t}),(0,u.jsx)("nav",{className:"mt-1",children:(0,u.jsx)("ul",{className:"relative",children:e.map(e=>(0,u.jsx)(tJ,{baseHeaderLevel:r,header:e},`${a}#${e.id}`))})})]})})}let tQ=(e,t)=>{let n=(0,d.pJ)(e);if(n===t)return!0;let r=(0,f.mi)(n);if(t.startsWith(r))return!0;let i=`${n}.`;return t.startsWith(i)};function t0(e,t){let n=(0,d.Tm)((0,d.pJ)(e)),r=(0,d.Tm)(t);return null!==(0,d.LX)(n,r)}let t1=(e,t)=>{for(let n of Object.keys(e).sort((e,t)=>t.length-e.length))if(tQ(n,t))return e[n];return[]};function t2(){let{sidebar:e}=tM(),{pathname:t}=(0,d.TH)(),n=decodeURIComponent(t);return(0,p.useMemo)(()=>t1(e,n),[e,n])}function t3(){let{prevPage:e,nextPage:t}=function(){let{pathname:e}=(0,d.TH)(),t=t2(),n=[],r=e=>{"items"in e?(e.link&&n.push({text:e.text,link:e.link}),e.items.forEach(e=>{"dividerType"in e||r(e)})):n.push(e)};t.forEach(e=>!("dividerType"in e)&&r(e));let i=n.findIndex(t=>(0,d.pV)((0,d.pJ)(t.link),e));return{prevPage:n[i-1]||null,nextPage:n[i+1]||null}}(),{lastUpdated:n=!1}=tM(),{siteData:r}=(0,d.Vi)(),{themeConfig:i}=r,a=i.lastUpdated||n;return(0,u.jsxs)("footer",{className:"mt-8",children:[(0,u.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:a&&(0,u.jsx)(rD,{})}),(0,u.jsx)("div",{className:"flex flex-col",children:(0,u.jsx)(rp,{})}),(0,u.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,u.jsx)("div",{className:"prev_c92d1 flex flex-col",children:e?(0,u.jsx)(r2,{type:"prev",text:e.text,href:(0,d.AP)(e.link)}):null}),(0,u.jsx)("div",{className:"next_c11be flex flex-col",children:t?(0,u.jsx)(r2,{type:"next",text:t.text,href:(0,d.AP)(t.link)}):null})]})]})}let t4={hidden:"hidden_f8586",container:"container_e4235",navContainer:"navContainer_d18b1",relative:"relative_bb7f1",sticky:"sticky_ddfa7",leftNav:"leftNav_e6722",rightNav:"rightNav_a2fea",singleItem:"singleItem_c1154",activeItem:"activeItem_a28b5",navBarTitle:"navBarTitle_c5f07",menuItem:"menu-item_b8238",mobileNavMenu:"mobileNavMenu_e7045"},t6=()=>{let{siteData:e}=(0,d.Vi)(),t=tM(),{logo:n,logoText:r}=e,i=t.title??e.title,a=(0,p.useMemo)(()=>n?"string"==typeof n?(0,u.jsx)("img",{src:(0,d.i6)(n),alt:"logo",id:"logo",className:"rspress-logo"}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("img",{src:(0,d.i6)(n.light),alt:"logo",id:"logo",className:"rspress-logo dark:hidden"}),(0,u.jsx)("img",{src:(0,d.i6)(n.dark),alt:"logo",id:"logo",className:"rspress-logo hidden dark:block"})]}):null,[n]);return(0,u.jsx)("div",{className:`${t4.navBarTitle}`,children:(0,u.jsxs)(nm,{href:t.langRoutePrefix,className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:[a&&(0,u.jsx)("div",{className:"mr-1 min-w-8",children:a}),r&&(0,u.jsx)("span",{children:r}),!a&&!r&&(0,u.jsx)("span",{children:i})]})})};function t5(e){let{depth:t,dividerType:n}=e;return(0,u.jsx)("div",{className:`${"dashed"===n?"border-dashed":"border-solid"} border-t border-divider-light my-3`,style:{marginLeft:0===t?0:"18px"}})}function t8({icon:e,...t}){return e?"string"==typeof e?(0,u.jsx)("img",{src:e,alt:"",...t}):(0,u.jsx)(e,{...t}):null}let t7={navTitleMask:"navTitleMask_fb17c",sidebar:"sidebar_dd719",sidebarContent:"sidebarContent_da296",open:"open_becbd",menuLink:"menuLink_bb039",menuItem:"menuItem_ac22e",collapseContainer:"collapseContainer_d6e4e",menuItemActive:"menuItemActive_de63c"},t9=e=>"dividerType"in e,ne=e=>!("items"in e)&&"link"in e,nt=e=>"sectionHeaderText"in e,nn=e=>"link"in e&&(0,f.xf)(e.link),nr=e=>{let t=(0,d.Ww)(e);t&&t.preload()},ni=()=>{let{pathname:e}=(0,d.TH)();return(0,p.useCallback)(t=>t0(t,decodeURIComponent(e)),[e])};function na(e){let{item:t,depth:n=0,activeMatcher:r,id:i,setSidebarData:a}=e,o=(0,d.s0)(),s=(0,p.useRef)(null),l=(0,p.useRef)(),c=(0,p.useRef)(null),h=(0,p.useRef)(!0),f=(0,p.useRef)("collapsed"in t&&t.collapsed),m=t.link&&r(t.link),{collapsed:g,collapsible:x=!0}=t,v=(0,u.jsx)("div",{style:{cursor:"pointer",transition:"transform 0.2s ease-out",transform:g?"rotate(0deg)":"rotate(90deg)"},children:(0,u.jsx)(t8,{icon:W})});(0,p.useEffect)(()=>{if(h.current||!s.current||!c.current)return;l.current&&clearTimeout(l.current);let e=s.current,t=c.current,n=t.clientHeight+4;g?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",l.current=window.setTimeout(()=>{s.current&&(s.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",l.current=window.setTimeout(()=>{s.current&&s.current.style.removeProperty("max-height")},300))},[g]),(0,p.useEffect)(()=>{h.current=!1},[]);let y=e=>{e.stopPropagation(),a(e=>{let t=[...e],n=i.split("-").map(Number),r=t[n.shift()];for(let e of n)r=r.items[e];return"items"in r&&(r.collapsed=!r.collapsed),t})};return(0,u.jsxs)("section",{className:"rspress-sidebar-section mt-0.5 block","data-context":t.context,style:{marginLeft:0===n?0:"18px"},children:[(0,u.jsxs)("div",{className:`rspress-sidebar-collapse flex justify-between items-center ${m?t7.menuItemActive:t7.menuItem}`,"data-context":t.context,onMouseEnter:()=>t.link&&nr(t.link),onClick:e=>{t.link&&o((0,d.pJ)((0,d.AP)(t.link))),x&&y(e)},style:{borderRadius:0===n?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:x||t.link?"pointer":"normal"},children:[(0,u.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:{...0===n?nl:{}},children:[(0,u.jsx)(il,{tag:t.tag}),(0,u.jsx)("span",{className:"flex-center",style:{fontSize:0===n?"14px":"13px"},children:tK(t.text)})]}),x&&(0,u.jsx)("div",{className:`${t7.collapseContainer} p-2 rounded-xl`,onClick:y,children:v})]}),(0,u.jsx)("div",{ref:s,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:f.current?0:void 0},children:(0,u.jsx)("div",{ref:c,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:+!f.current,marginLeft:0===n?"12px":0},children:t?.items?.map((t,r)=>t9(t)?(0,u.jsx)(t5,{depth:n+1,dividerType:t.dividerType},r):(0,u.jsx)("div",{className:"rspress-sidebar-item","data-context":t.context,children:(0,u.jsx)(no,{...e,item:t,depth:n+1,id:`${i}-${r}`})},r))})})]},i)}function no(e){let{item:t,depth:n=0,activeMatcher:r,id:i,setSidebarData:a}=e,o="link"in t&&t.link&&r(t.link),s=(0,p.useRef)(null);return((0,p.useEffect)(()=>{o&&s.current?.scrollIntoView({block:"center"})},[]),"items"in t)?(0,u.jsx)(na,{id:i,activeMatcher:r,item:t,depth:n,collapsed:t.collapsed,setSidebarData:a},`${t.text}-${i}`):(0,u.jsx)(nm,{href:(0,d.AP)(t.link),className:t7.menuLink,children:(0,u.jsxs)("div",{ref:s,className:`${o?t7.menuItemActive:t7.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:{fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0",...0===n?nl:{}},children:[(0,u.jsx)(il,{tag:t.tag}),(0,u.jsx)("span",{children:tK(t.text)})]})})}function ns({sectionHeaderText:e,tag:t}){return(0,u.jsxs)("div",{className:"rspress-sidebar-section-header",children:[(0,u.jsx)(il,{tag:t}),(0,u.jsx)("span",{children:tK(e)})]})}let nl={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},nu=new WeakMap;function nc(e){let{isSidebarOpen:t,beforeSidebar:n,afterSidebar:i,uiSwitch:a,navTitle:o}=e,{pathname:s}=(0,d.TH)(),l=t2(),[c,h]=(0,p.useState)(()=>l.filter(Boolean).flat()),m=decodeURIComponent(s),g=ni();return(0,p.useEffect)(()=>((0,f._f)()&&(t?(r=document.body.style.overflow,document.body.style.overflow="hidden"):document.body.style.overflow=r||""),()=>{(0,f._f)()&&(document.body.style.overflow=r||"")}),[t]),(0,p.useEffect)(()=>{if(l===c)return;nu=new WeakMap;let e=t=>nu.has(t)?nu.get(t):"link"in t&&t.link&&g(t.link)||"items"in t&&t.items.some(t=>e(t))?(nu.set(t,!0),!0):(nu.set(t,!1),!1),t=n=>{"items"in n&&(n.items.forEach(t),e(n)&&(n.collapsed=!1))},n=l.filter(Boolean).flat();n.forEach(t),h(n)},[l,m]),(0,u.jsxs)("aside",{className:`${t7.sidebar} rspress-sidebar ${t?t7.open:""}`,children:[a?.showNavbar?(0,u.jsx)("div",{className:t7.navTitleMask,children:o||(0,u.jsx)(t6,{})}):null,(0,u.jsx)("div",{className:`rspress-scrollbar ${t7.sidebarContent}`,children:(0,u.jsxs)("nav",{className:"pb-2",children:[n,(0,u.jsx)(nd,{sidebarData:c,setSidebarData:h}),i]})})]})}function nd({sidebarData:e,setSidebarData:t}){let n=ni();return(0,u.jsx)(u.Fragment,{children:e.map((e,r)=>(0,u.jsx)(nh,{item:e,index:r,setSidebarData:t,activeMatcher:n},r))})}function nh(e){let{item:t,index:n,setSidebarData:r,activeMatcher:i}=e;return t9(t)?(0,u.jsx)(t5,{depth:0,dividerType:t.dividerType},n):nt(t)?(0,u.jsx)(ns,{sectionHeaderText:t.sectionHeaderText,tag:t.tag},n):nn(t)?(0,u.jsx)("div",{className:"rspress-sidebar-item rspress-sidebar-custom-link","data-context":t.context,children:(0,u.jsx)(no,{id:String(n),item:t,depth:0,collapsed:t.collapsed??!0,setSidebarData:r,activeMatcher:i},n)},n):(0,u.jsx)(no,{id:String(n),item:t,depth:0,activeMatcher:i,collapsed:t.collapsed??!0,setSidebarData:r},n)}let np={link:"link_a7cea"},nf=(e,t)=>{let{hash:n}=window.location,r=decodeURIComponent(n),i=r.length>1&&document.getElementById(r.slice(1));r&&i&&tz(i,e,t)};function nm(e){let{href:t="/",children:n,className:r="",onNavigate:i,onClick:a}=e,o=(0,d.s0)(),{pathname:s}=(0,d.TH)(),{scrollPaddingTop:l}=tR(),c=(0,p.useMemo)(()=>(0,d.pJ)((0,d.AP)(t)),[t]),h=(0,f.xf)(t),m=t.startsWith("#");if(h)return(0,u.jsx)("a",{...e,href:t,target:"_blank",rel:"noopener noreferrer",className:`${np.link} ${r}`,children:n});if(m)return(0,u.jsx)("a",{...e,href:t,className:`${np.link} ${r}`,children:n});let g=async e=>{if(0===e.button&&(!e.currentTarget.target||"_self"===e.currentTarget.target)&&!e.metaKey&&!e.shiftKey&&!e.altKey&&!e.ctrlKey){if(e.preventDefault(),!t0(c,s)){let e=(0,d.Ww)(c);if(e){let t=setTimeout(()=>{q.start()},200);await e.preload(),clearTimeout(t),q.done()}}i?.(),o(c,{replace:!1}),setTimeout(()=>{nf(!1,l)},100)}};return(0,u.jsx)("a",{...e,href:c,className:`${np.link} ${r}`,onMouseEnter:()=>nr(c),onClick:e=>{a?.(e),g(e)},children:n})}q.configure({showSpinner:!1});let ng=({header:e,onItemClick:t})=>(0,u.jsx)("li",{children:(0,u.jsx)(nm,{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:()=>{t?.(e)},children:(0,u.jsx)("span",{className:"rspress-toc-link-text block",children:tK(e.text)})})});function nx({onItemClick:e}){let{page:t}=(0,d.Vi)();return t.toc.length>0&&(0,u.jsx)("ul",{children:t.toc.map(t=>(0,u.jsx)(ng,{header:t,onItemClick:e},t.id))})}function nv({isSidebarOpen:e,onIsSidebarOpenChange:t,outlineTitle:n,uiSwitch:r}){let{page:i}=(0,d.Vi)(),a=(0,p.useRef)(null),o=(0,p.useRef)(null),[s,l]=(0,p.useState)(!1),{pathname:c}=(0,d.TH)();(0,p.useEffect)(()=>{t(!1)},[c]),(0,p.useEffect)(()=>(document.addEventListener("mouseup",h),document.addEventListener("touchend",h),()=>{document.addEventListener("mouseup",h),document.removeEventListener("touchend",h)}),[]);let h=(0,p.useCallback)(e=>{let{current:t}=o;if(t?.contains(e.target))return;let{current:n}=a;n&&!n.contains(e.target)&&l(!1)},[]),f=(0,p.useCallback)(()=>{l(!1)},[]),m=i.toc.length>0;return(0,u.jsx)("div",{className:`rspress-sidebar-menu-container ${m?"":"no-toc"}`,children:(0,u.jsxs)("div",{className:"rspress-sidebar-menu",children:[r?.showSidebar&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("button",{type:"button",onClick:function(){t(!0)},className:"flex-center mr-auto",children:[(0,u.jsx)("div",{className:"text-md mr-2",children:(0,u.jsx)(t8,{icon:V})}),(0,u.jsx)("span",{className:"text-sm",children:"Menu"})]}),e&&(0,u.jsx)("div",{onClick:function(){t(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}})]}),r?.showAside&&m&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("button",{type:"button",onClick:()=>l(e=>!e),className:"flex-center ml-auto",ref:o,children:[(0,u.jsx)("span",{className:"text-sm",children:n}),(0,u.jsx)("div",{className:"text-md mr-2",style:{transform:s?"rotate(90deg)":"rotate(0deg)",transition:"transform 0.2s ease-out",marginTop:"2px"},children:(0,u.jsx)(t8,{icon:W})})]}),(0,u.jsx)("div",{className:`rspress-local-toc-container ${s?"rspress-local-toc-container-show":""}`,children:(0,u.jsx)(nx,{onItemClick:f})})]})]})})}let ny=(0,p.createContext)({tabData:{},setTabData:()=>{}}),nb="title_fb7eb",nD=e=>{let{href:t="",className:n=""}=e,{normalizeLinkHref:r}=function(){let e=(0,d.Jr)(),t=(0,d.aw)(),n=(0,d.Vi)(),r=n.siteData.lang,i=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let a=n;if((r||i)&&!(0,f.xf)(a)&&!a.startsWith("#")){let n=(a=(0,d.E9)(a)).split("/").filter(Boolean),o="",s="",l="";return i&&(t!==i?(o=t,n[0]===t&&n.shift()):n[0]===i&&n.shift()),r&&(e!==r?(s=e,n[0]===e&&n.shift()):n[0]===r&&n.shift()),l=n.join("/"),(0,d.AP)((0,d.pJ)([o,s,l].filter(Boolean).join("/")))}return a}}}();return(0,u.jsx)(nm,{...e,className:`${n} link_a9ef4 inline-link_f855c`,href:r(t)})},nF=e=>(0,u.jsx)("h1",{...e,className:`rspress-doc-title text-3xl mb-10 leading-10 tracking-tight ${nb}`}),nw=e=>(0,u.jsx)("h2",{...e,className:`mt-12 mb-6 pt-8 text-2xl tracking-tight border-t-[1px] border-divider-light ${nb}`}),nC=e=>(0,u.jsx)("h3",{...e,className:`mt-10 mb-2 leading-7 text-xl ${nb}`}),nE=e=>(0,u.jsx)("h4",{...e,className:`mt-8 leading-6 text-lg ${nb}`}),nA=e=>(0,u.jsx)("h5",{...e,className:nb}),nj=e=>(0,u.jsx)("h6",{...e,className:nb}),nk={asideContainer:"aside-container_bc5fa",content:"content_ff766",docLayout:"docLayout_af141"};function nS(e){let{beforeDocFooter:t,afterDocFooter:n,beforeDoc:r,afterDoc:i,beforeDocContent:a,afterDocContent:o,beforeOutline:s,afterOutline:l,beforeSidebar:f,afterSidebar:m,uiSwitch:g,navTitle:x,components:v}=e,{siteData:y,page:b}=(0,d.Vi)(),{headingTitle:D,title:F,toc:w=[],frontmatter:C}=b,[E,A]=(0,p.useState)({}),{themeConfig:j}=y,k=j.enableScrollToTop??!1,S=tM(),N=S?.outlineTitle||j?.outlineTitle||"ON THIS PAGE",T=C?.overview??!1,I={...nJ(),...v},B=(0,u.jsx)(ny.Provider,{value:{tabData:E,setTabData:A},children:(0,u.jsx)(c.Zo,{components:I,children:(0,u.jsx)(d.VY,{})})}),P=(0,p.useMemo)(()=>{var e;let t=F&&("string"!=typeof(e=F)?"":(e=e.toLowerCase()).replace(h,"").replace(/ /g,"-"));return!1!==y.themeConfig.fallbackHeadingTitle&&!D&&t&&(0,u.jsxs)(nF,{id:t,children:[F,(0,u.jsx)(nD,{className:"header-anchor",href:`#${t}`,"aria-hidden":!0,children:"#"})]})},[D,F,y.themeConfig.fallbackHeadingTitle]),[L,O]=(0,p.useState)(!1);return(0,u.jsxs)("div",{className:`${nk.docLayout} pt-0`,style:{...g?.showNavbar?{}:{marginTop:0}},children:[r,g?.showSidebar&&(0,u.jsx)(nc,{isSidebarOpen:L,beforeSidebar:f,afterSidebar:m,uiSwitch:g,navTitle:x}),(0,u.jsxs)("div",{className:"flex-1 relative min-w-0",children:[(0,u.jsx)(nv,{isSidebarOpen:L,onIsSidebarOpenChange:O,outlineTitle:N,uiSwitch:g}),(0,u.jsxs)("div",{className:`${nk.content} rspress-doc-container flex`,children:[(0,u.jsx)("div",{className:`flex-1 ${T?"":"overflow-x-auto"}`,children:T?(0,u.jsxs)(u.Fragment,{children:[a,(0,u.jsx)(r0,{content:B}),o]}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"rspress-doc",children:[a,P,B,o]}),(0,u.jsxs)("div",{className:"rspress-doc-footer",children:[t,g?.showDocFooter&&(0,u.jsx)(t3,{}),n]})]})}),k&&(0,u.jsx)(d.ri,{children:(0,u.jsx)(r4,{})}),g?.showAside&&w.length>0&&(0,u.jsxs)("div",{className:nk.asideContainer,style:g?.showNavbar?void 0:{marginTop:0,paddingTop:"32px"},children:[s,(0,u.jsx)(tX,{headers:w,outlineTitle:N}),l]})]})]}),i]})}let nN=(e,t)=>t?(e=e.trim(),(t=t.trim()).startsWith("-")||t.startsWith("|"))?`${e} ${t}`:`${e} - ${t}`:e,nT={"code-button-group":"code-button-group_fb445",codeButtonGroup:"code-button-group_fb445","code-copy-button":"code-copy-button_c5089",codeCopyButton:"code-copy-button_c5089","icon-success":"icon-success_d5ec0",iconSuccess:"icon-success_d5ec0","code-copied":"code-copied_e2224",codeCopied:"code-copied_e2224","icon-copy":"icon-copy_ef942",iconCopy:"icon-copy_ef942","icon-wrapped":"icon-wrapped_fb89b",iconWrapped:"icon-wrapped_fb89b","wrapped-btn":"wrapped-btn_a2562",wrappedBtn:"wrapped-btn_a2562","icon-wrap":"icon-wrap_ccd3d",iconWrap:"icon-wrap_ccd3d"},nI=new Map;function nB({codeBlockRef:e}){let t=(0,p.useRef)(null);return(0,u.jsxs)("button",{className:nT.codeCopyButton,onClick:()=>(function(e,t){let n="";if(!e)return;let r=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),i=r.nextNode();for(;i;)i.parentElement.classList.contains("linenumber")||(n+=i.nodeValue),i=r.nextNode();if(X(n)&&t){t.classList.add(nT.codeCopied),clearTimeout(nI.get(t));let e=setTimeout(()=>{t.classList.remove(nT.codeCopied),t.blur(),nI.delete(t)},2e3);nI.set(t,e)}})(e.current,t.current),ref:t,title:"Copy code",children:[(0,u.jsx)(t8,{icon:K,className:nT.iconCopy}),(0,u.jsx)(t8,{icon:J,className:nT.iconSuccess})]})}let nP={doctype:{color:"var(--code-token-text)",fontStyle:"italic"},token:{color:"var(--code-token-text)"},comment:{color:"var(--code-token-comment)"},punctuation:{color:"var(--code-token-punctuation)"},property:{color:"var(--code-token-parameter)"},constant:{color:"var(--code-token-constant)"},string:{color:"var(--code-token-string)"},symbol:{color:"var(--code-token-symbol)"},variable:{color:"var(--code-token-variable)"},"attr-name":{color:"var(--code-token-symbol)"},"attr-value":{color:"var(--code-token-string-expression)"},builtin:{color:"var(--code-token-symbol)"},function:{color:"var(--code-token-function)"},keyword:{color:"var(--code-token-keyword)"},tag:{color:"var(--code-token-function)"},inserted:{color:"var(--code-token-inserted)"},deleted:{color:"var(--code-token-deleted)"},regex:{color:"var(--code-token-keyword)"},key:{color:"var(--code-token-variable)"},title:{color:"var(--code-token-keyword)"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},table:{display:"content"}},nL=!1;function nO(e){let{siteData:t}=(0,d.Vi)(),{meta:n,language:r,codeWrap:i}=e,{showLineNumbers:a}=t.markdown,o="",s=[];return n&&(o=/{[\d,-]*}/i.exec(n)?.[0]||"")&&(s=o.replace(/[{}]/g,"").split(",").map(e=>{let[t,n]=e.split("-");return n?Array.from({length:Number(n)-Number(t)+1},(e,n)=>n+Number(t)):Number(t)}).flat()),nL||(Object.keys(eD).forEach(e=>{ey.registerLanguage(e,eD[e])}),ey.alias(eb),nL=!0),(0,u.jsx)(ey,{language:r,style:nP,wrapLines:!0,className:"code",wrapLongLines:i,customStyle:{backgroundColor:"inherit"},showLineNumbers:a||s.length>0,lineProps:e=>({style:{...s.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{},display:"block",padding:"0 1.25rem"}}),children:String(e.children).trim()})}function n_(e){let{siteData:t}=(0,d.Vi)(),n=e.codeHighlighter??t.markdown.codeHighlighter,{defaultWrapCode:r}=t.markdown,[i,a]=(0,p.useState)(r),o=(0,p.useRef)(null),s=(0,p.useRef)(null),{className:l}=e,c=l?.replace(/language-/,"");if(!c)return(0,u.jsx)("code",{...e});let h=e=>{i?e?.classList.remove(nT.wrappedBtn):e?.classList.add(nT.wrappedBtn),a(!i)};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:s,children:"prism"===n?(0,u.jsx)(nO,{...e,language:c,codeWrap:i}):(0,u.jsx)("pre",{...e,style:{overflowX:"auto"},children:(0,u.jsx)("code",{style:{whiteSpace:i?"pre-wrap":"pre"},children:e.children})})}),(0,u.jsxs)("div",{className:nT.codeButtonGroup,children:[(0,u.jsxs)("button",{ref:o,className:nT.codeWrapButton,onClick:()=>h(o.current),title:"Toggle code wrap",children:[(0,u.jsx)(t8,{icon:Y,className:nT.iconWrapped}),(0,u.jsx)(t8,{icon:Z,className:nT.iconWrap})]}),(0,u.jsx)(nB,{codeBlockRef:s})]})]})}let n$=e=>(0,u.jsx)("hr",{...e,className:"my-12 border-t border-solid border-divider-light"}),nM=e=>(0,u.jsx)("img",{...e,src:(0,d.i6)(e.src||"")}),nR=e=>(0,u.jsx)("ol",{...e,className:"list-decimal pl-5 my-4 leading-7"}),nH=e=>(0,u.jsx)("ul",{...e,className:"list-disc pl-5 my-4 leading-7"}),nz=e=>(0,u.jsx)("li",{...e,className:"[&:not(:first-child)]:mt-2"}),nU=e=>(0,u.jsx)("p",{...e,className:"my-4 leading-7"}),nW=e=>(0,u.jsx)("blockquote",{...e,className:"border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 blockquote_f1063"}),nV=e=>(0,u.jsx)("strong",{...e,className:"font-semibold"});function nq({children:e}){let t=e=>{let{className:t,meta:n}=e.props,r=function(e){if(!e)return"";let t=e,n=/{[\d,-]*}/i;return n.exec(e)?.[0]&&(t=e.replace(n,"").trim()),t=t.split("=")[1]??"",t?.replace(/["'`]/g,"")}(n);return(0,u.jsxs)("div",{className:t||"language-bash",children:[r&&(0,u.jsx)("div",{className:"rspress-code-title",children:r}),(0,u.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})};return Array.isArray(e)?(0,u.jsx)("div",{children:e.map(e=>t(e))}):t(e)}let nG=e=>(0,u.jsx)("table",{...e,className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-3 dark:border-divider"}),nZ=e=>(0,u.jsx)("tr",{...e,className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-3 dark:border-divider"}),nY=e=>(0,u.jsx)("td",{...e,className:"border border-solid px-4 py-2 border-gray-light-3 dark:border-divider"}),nK=e=>(0,u.jsx)("th",{...e,className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-3 dark:border-divider"});function nJ(){return{h1:nF,h2:nw,h3:nC,h4:nE,h5:nA,h6:nj,ul:nH,ol:nR,li:nz,table:nG,td:nY,th:nK,tr:nZ,hr:n$,p:nU,blockquote:nW,strong:nV,a:nD,code:n_,pre:nq,img:nM}}let nX="default",nQ=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u,n0=/[\u0400-\u04FF]/u;function n1(e){let t=e.toString().toLowerCase().normalize("NFD");if(n0.test(String(e)))return t.normalize("NFC");let n=t.replace(/[\u0300-\u036f]/g,"");return nQ.test(String(e))?n.normalize("NFC"):n}function n2(e){return e.replace(/https?:\/\/[^/]+/,"")}function n3(e){return e.charCodeAt(0)>255?3:1}let n4=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function n6(e,t){let n=0,r=0;for(let i=0;i<e.length&&!(r>=t);i++)r+=n3(e.charAt(i)),n++;return n}function n5(e){let t=0;for(let n=0;n<e.length;n++)t+=n3(e.charAt(n));return t}let n8=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]|[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\u3041-\u3096]|[\u30A1-\u30FA]/giu,n7=/[\u0400-\u04FF]/g;function n9(e,t){let n=[],r=null;do(r=t.exec(e))&&n.push(r[0]);while(r);return n}class re{#e;#t;#n;#r;async #i(e,t){let r=`${t??""}###${e??""}`;if(!to[r])return[];let i=t?`.${t.replace(".","_")}`:"",a=e?`.${e}`:"",o=`${(0,f.Qj)(n.p)}/static/${f.t6}${i}${a}.${to[r]}.json`,s=e=>{console.error("Failed to fetch search index, please reload the page and try again."),console.error(e)};try{let e=await fetch(o);if(e.ok)return e.json();s(e)}catch(e){s(e)}return[]}async fetchSearchIndex(e){if(this.#r)return this.#r;let{currentLang:t,currentVersion:n}=e,r="remote"!==e.mode&&e.versioned;return this.#r=this.#i(t,r?n:""),this.#r}async init(e){let t=(await this.fetchSearchIndex(e)).map(e=>({...e,normalizedContent:n1(e.content),headers:e.toc.map(e=>n1(e.text)).join(" "),normalizedTitle:n1(e.title)})),n={tokenize:"full",document:{id:"id",store:!0,index:["normalizedTitle","headers","normalizedContent"]},cache:100};for(let e of(this.#e=new e3(n),this.#t=new e3({...n,tokenize:e=>n9(e,n8)}),this.#n=new e3({...n,tokenize:e=>n9(e,n7)}),t))this.#e.addAsync(e.id,e),this.#t.addAsync(e.id,e),this.#n.addAsync(e.id,e)}async search(e){let{keyword:t,limit:n}=e,r={enrich:!0,limit:n,index:["normalizedTitle","headers","normalizedContent"]},i=await Promise.all([this.#e?.searchAsync(t,r),this.#t?.searchAsync(t,r),this.#n?.searchAsync(t,r)]),a=[],o=new Set;return i.forEach(e=>{e&&function(e){for(let t of e)t.result.forEach(e=>{let t=e.id;o.has(t)||(o.add(t),a.push(e.doc))})}(e)}),[{index:nX,hits:a}]}}class rt{#a;async init(e){this.#a=e}async fetchSearchIndex(e){return[]}async search(e){let{apiUrl:t,searchIndexes:n}=this.#a,{keyword:r,limit:i}=e,a=Object.entries({keyword:r,limit:i.toString(),searchIndexes:n?.map(e=>"string"==typeof e?e:e.value).join(",")||"",lang:this.#a?.currentLang??""}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(await fetch(`${t}?${a}`)).json()}catch(e){return console.error(e),[]}}}var rn=((o={}).Default="default",o.Custom="custom",o);class rr{#a;#o=nX;#s;constructor(e){this.#a=e,this.#o=e.indexName??nX,"remote"===e.mode?this.#s=new rt:this.#s=new re}async init(){await this.#s?.init(this.#a)}async fetchSearchIndex(){return this.#s?.fetchSearchIndex(this.#a)}async match(e,t=7){let n=await this.#s?.search({keyword:e,limit:t}),r=n1(e),i=n?.find(e=>this.#l(e.index))||{index:nX,renderType:rn.Default,hits:[]};return[{group:this.#o,renderType:rn.Default,result:this.#u(r,i)},...(n?.filter(e=>!this.#l(e.index))||[]).map(e=>({group:e.index,renderType:rn.Default,result:this.#u(r,e)}))]}#u(e,t){let n=[];return t?.hits.forEach(t=>{this.#c(t,e,n);let r=this.#d(t,e,n);this.#h(t,e,n,r)}),n}#c(e,t,n){let{title:r=""}=e,i=n1(r);return!!i.includes(t)&&(n.push({type:"title",title:r,header:r,link:`${e.domain}${(0,d.AP)(e.routePath)}`,query:t,highlightInfoList:[{start:i.indexOf(t),length:n5(t)}]}),!0)}#d(e,t,n){let r=new WeakSet,{toc:i=[],domain:a="",title:o=""}=e;for(let[s,l]of i.entries())if(n1(l.text).includes(t)){let u=(function(e,t){let n=e[t],r=t,i=[n];for(;n&&n.depth>2;){let t=!1;for(let a=r-1;a>=0;a--){let o=e[a];if(o.depth>1&&o.depth===n.depth-1){n=o,r=a,i.unshift(n),t=!0;break}}if(!t)break}return i})(i,s).map(e=>e.text).join(" > "),c=n1(u).indexOf(t),h=`${o} > `;n.push({type:"header",title:e.title,header:`${h}${u}`,highlightInfoList:[{start:c+h.length,length:n5(t)}],link:`${a}${(0,d.AP)(e.routePath)}#${l.id}`,query:t}),r.add(l)}return r}#h(e,t,n,r){let{content:i,toc:a,domain:o}=e;if(!i.length)return;let s=n1(i),l=s.indexOf(t),u=a.map(e=>e.charIndex),c=e=>a[u.findIndex((t,n)=>{if(!(n<a.length-1))return t<e;{let r=u[n+1];if(t<=e&&r>=e)return!0}return!1})],h=e=>e&&r?.has(e);if(-1===l){let r=e._matchesPosition?.content;if(!r?.length)return;let a=e._matchesPosition.content[0].start,s=c(a);if(h(s))return;let l=n6(i,a),u=n6(i,a+100),p=i.slice(l,u),f=e._matchesPosition.content.filter(e=>e.start>=a&&e.start+e.length<=a+100).map(e=>({start:n6(i,e.start)-l+3,length:e.length}));n.push({type:"content",title:e.title,header:s?.text??e.title,link:`${o}${(0,d.AP)(e.routePath)}${s?`#${s.id}`:""}`,query:t,highlightInfoList:f,statement:`...${p}...`});return}for(;-1!==l;){let a=c(l),u=i.slice(0,l).lastIndexOf("\n");u=-1===u?0:u;let p=i.indexOf("\n\n",l+t.length),f=i.slice(u,p);f.length>100&&(f=this.#p(f,t));let m=n1(f).indexOf(t),g=[{start:m,length:n5(t)}];!h(a)&&(n.push({type:"content",title:e.title,header:a?.text??e.title,statement:f,highlightInfoList:g,link:`${o}${(0,d.AP)(e.routePath)}${a?`#${a.id}`:""}`,query:t}),a&&r?.add(a)),l=s.indexOf(t,l+f.length-m)}}#p(e,t){let n=n1(e).indexOf(n1(t)),r=Math.floor((100-t.length)/2),i=e.slice(0,n);i.length>r&&(i=`...${e.slice(n-r+3,n)}`);let a=e.slice(n+t.length);return a.length>r&&(a=`${e.slice(n+t.length,n+r-3)}...`),i+t+a}#l(e){return e===this.#o||e===nX}}let ri=e=>{let t=(0,p.useRef)(e);return t.current=e,(0,p.useRef)((...e)=>t.current(...e)).current},ra=e=>{let[t,n]=(0,p.useState)(()=>"undefined"!=typeof window&&window.matchMedia(e).matches);return(0,p.useEffect)(()=>{let t=window.matchMedia(e),r=e=>n(e.matches);return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e]),t},ro=(e,t)=>{let[n,r]=(0,p.useState)(()=>"undefined"==typeof window?t:localStorage.getItem(e)??t),i=(0,p.useCallback)(t=>{r(n=>{let r="function"==typeof t?t(n):t;return null==r?localStorage.removeItem(e):localStorage.setItem(e,r),r})},[e]);return(0,p.useEffect)(()=>{let n=n=>{n.key===e&&r(localStorage.getItem(e)??t)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}},[e,t]),[n,i]},rs=e=>["light","dark","auto"].includes(e)?e:"auto",rl=!1===ts.Z.themeConfig.darkMode,ru=()=>{let e=ra("(prefers-color-scheme: dark)"),[t,n]=ro(f.rp,"auto"),r=ri(()=>{if(rl)return"light";let n=rs(t);return"auto"===n?e?"dark":"light":n}),[i,a]=(0,p.useState)(()=>{if("undefined"==typeof window)return"light";let e=window.RSPRESS_THEME??window.MODERN_THEME;return e?"dark"===e?"dark":"light":r()}),o=(0,p.useCallback)((e,t=e)=>{rl||(a(e),n(t),l(!0))},[]);(0,p.useEffect)(()=>{document.documentElement.classList.toggle("dark","dark"===i),document.documentElement.style.colorScheme=i},[i]);let[s,l]=(0,p.useState)(!0);return(0,p.useEffect)(()=>{l(!1)},[s]),(0,p.useEffect)(()=>{s||o(r(),rs(t))},[t]),(0,p.useEffect)(()=>{s||o(e?"dark":"light","auto")},[e]),[i,o]},rc={button:"button_e8e0d",medium:"medium_fe00b",big:"big_f7033",brand:"brand_dc619",alt:"alt_b0249"};function rd(e){let{theme:t="brand",size:n="big",href:r="/",external:i=!1,className:a=""}=e,o=null;return"button"===e.type?o="button":"a"===e.type&&(o=i?"a":nm),p.createElement(o??"a",{className:`${rc.button} ${rc[t]} ${rc[n]} ${a}`,href:r},e.text)}let rh={editLink:"editLink_e1cfa"};function rp(){let e=function(){let{siteData:e,page:t}=(0,d.Vi)(),n=tM().editLink??e.themeConfig?.editLink??{};if(!n.docRepoBaseUrl||!n.text)return null;let{docRepoBaseUrl:r}=n;r.endsWith("/")||(r+="/");let i=t._relativePath.replace(/\\/g,"/"),a=`${r}${i}`;return{text:n.text,link:a}}();if(!e)return null;let{text:t,link:n}=e;return(0,u.jsx)("a",{href:n,target:"_blank",className:rh.editLink,children:t})}let rf={"grid-2":"grid-2_bce10",grid2:"grid-2_bce10","grid-4":"grid-4_bd059",grid4:"grid-4_bd059","grid-6":"grid-6_ce438",grid6:"grid-6_ce438","grid-3":"grid-3_bf296",grid3:"grid-3_bf296",featureCard:"featureCard_a17b6"},rm=e=>{let{span:t}=e;return`grid-${t||4}`};function rg({frontmatter:e,routePath:t}){let n=e?.features;return(0,u.jsx)("div",{className:"overflow-hidden m-auto flex flex-wrap max-w-6xl",children:n?.map(e=>{let{icon:n,title:r,details:i,link:a}=e,o=a;return a&&(o=(0,f.xf)(a)?a:(0,d.AP)((0,f.pJ)(a,t))),(0,u.jsx)("div",{className:`${rf[rm(e)]} rounded hover:var(--rp-c-brand)`,children:(0,u.jsx)("div",{className:"h-full p-2",children:(0,u.jsxs)("article",{className:`rspress-home-feature-card ${rf.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:o?"pointer":"auto"},onClick:()=>{o&&(window.location.href=o)},children:[n?(0,u.jsx)("div",{className:"flex-center",children:(0,u.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:tV(n)})}):null,(0,u.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:r}),(0,u.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:tV(i)})]},r)})},r)})})}function rx(){let{siteData:e}=(0,d.Vi)(),{message:t}=e.themeConfig.footer||{};return t?(0,u.jsx)("footer",{className:"absolute bottom-0 mt-12 py-8 px-6 sm:p-8 w-full border-t border-solid border-divider-light",children:(0,u.jsx)("div",{className:"m-auto w-full text-center",children:(0,u.jsx)("div",{className:"font-medium text-sm text-text-2",dangerouslySetInnerHTML:{__html:t}})})}):null}let rv={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function ry({frontmatter:e,routePath:t}){let n=e?.hero||rv,r=void 0!==n.image,i=r?"sm:max-w-xl":"sm:max-w-4xl",a=n.text?n.text.toString().split(/\n/g).filter(e=>""!==e):[],o="string"==typeof n.image?.src?{light:n.image.src,dark:n.image.src}:n.image?.src||{light:"",dark:""};return(0,u.jsxs)("div",{className:"m-auto pt-0 px-6 pb-12 sm:pt-10 sm:px-16 md:pt-16 md:px-16 md:pb-16 relative",children:[(0,u.jsx)("div",{className:"mask_bbaa6",style:{left:r?"75%":"50%"}}),(0,u.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,u.jsxs)("div",{className:"flex flex-col justify-center items-center text-center max-w-xl sm:max-w-4xl m-auto order-2 md:order-1",children:[(0,u.jsx)("h1",{className:"font-bold text-3xl pb-2 sm:text-6xl md:text-7xl m-auto sm:m-4 md:m-0 md:pb-3 lg:pb-2 leading-tight z-10",children:(0,u.jsx)("span",{className:"clip_aacad",style:{lineHeight:"1.3"},children:tV(n.name)})}),0!==a.length&&a.map(e=>(0,u.jsx)("p",{className:`rspress-home-hero-text mx-auto md:m-0 text-3xl sm:text-5xl md:text-6xl sm:pb-2 font-bold z-10 ${i}`,style:{lineHeight:"1.2"},children:tV(e)},e)),(0,u.jsx)("p",{className:`rspress-home-hero-tagline whitespace-pre-wrap pt-4 m-auto md:m-0 md:text-[1.5rem] text-text-2 font-medium z-10 ${i}`,children:tV(n.tagline)}),n.actions?.length&&(0,u.jsx)("div",{className:"grid md:flex md:flex-wrap md:justify-center gap-3 m--1.5 pt-6 sm:pt-8 z-10",children:n.actions.map(e=>{let n=(0,f.xf)(e.link)?e.link:(0,d.AP)((0,f.pJ)(e.link,t));return(0,u.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,u.jsx)(rd,{type:"a",href:n,text:tV(e.text),theme:e.theme,className:"w-full"})},n)})})]}),r?(0,u.jsxs)("div",{className:"rspress-home-hero-image md:flex-center m-auto order-1 md:order-2 sm:flex md:none lg:flex",children:[(0,u.jsx)("img",{src:(0,d.i6)(o.light),alt:n.image?.alt,srcSet:rb(n.image?.srcset),sizes:rb(n.image?.sizes),width:375,height:375,className:"dark:hidden"}),(0,u.jsx)("img",{src:(0,d.i6)(o.dark),alt:n.image?.alt,srcSet:rb(n.image?.srcset),sizes:rb(n.image?.sizes),width:375,height:375,className:"hidden dark:block"})]}):null]})]})}function rb(e){return(Array.isArray(e)?e:[e]).filter(Boolean).join(", ")||void 0}function rD(){let{lastUpdatedText:e="Last Updated"}=tM(),{page:{lastUpdatedTime:t},siteData:n}=(0,d.Vi)(),{themeConfig:r}=n,i=r?.lastUpdatedText||e;return(0,u.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,u.jsxs)("p",{children:[i,": ",(0,u.jsx)("span",{children:t})]})})}function rF(){let{nav:e}=tM(),t=(0,d.aw)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}function rw(e){let{pathname:t,base:n}=e,r=new RegExp(e.activeMatch||e.link).test((0,f.tz)(t,n));return(0,u.jsx)(nm,{href:(0,d.AP)(e.link),onClick:e.onClick,children:(0,u.jsxs)("div",{className:`rspress-nav-menu-item ${t4.singleItem} ${r?t4.activeItem:""} text-sm font-medium ${e.compact?"mx-0.5":"mx-1.5"} px-3 py-2 flex items-center break-keep`,children:[(0,u.jsx)(il,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}function rC(){let{siteData:e,page:t}=(0,d.Vi)(),n=(0,d.aw)(),{pathname:r,search:i}=(0,d.TH)(),a=e.lang||"",o=e.multiVersion.default||"",s=Object.values(e.locales||e.themeConfig.locales||{}),l=e.route?.cleanUrls||!1,c=s.length>1,{lang:h,pageType:p}=t,{base:m}=e;return c?{text:(0,u.jsx)(t8,{icon:tA,style:{width:"18px",height:"18px"}}),items:s.map(e=>({text:e?.label,link:(0,f.$U)(r+i,{current:h,target:e.lang,default:a},{current:n,default:o},m,l,"404"===p)})),activeValue:s.find(e=>h===e.lang)?.label}:{items:[]}}function rE(){let{siteData:e,page:t}=(0,d.Vi)(),n=(0,d.aw)(),{pathname:r}=(0,d.TH)(),i=e.route?.cleanUrls||!1,a=e.multiVersion.default||"",o=e.multiVersion.versions||[],{base:s}=e;return{items:o.map(e=>({text:e,link:(0,f.xM)(r,{current:n,target:e,default:a},s,i,"404"===t.pageType)})),text:n,activeValue:n}}let rA={socialLinksIcon:"social-links-icon_a4ad0",menuItem:"menu-item_e90a6"},rj=e=>{let{link:t,popperStyle:n={}}=e,{icon:r,mode:i="link",content:a}=t,o=(0,u.jsx)(u.Fragment,{});if(r){let e="string"==typeof r?({github:'<svg xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 24 24"><path fill="currentColor" d="M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>'})[r]:r.svg;o=(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})}let[s,l]=(0,p.useState)(!1),c=()=>{l(!0)},d=()=>{l(!1)};return"link"===i?(0,u.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,u.jsx)("div",{className:`${rA.socialLinksIcon}`,children:o})},a):"text"===i?(0,u.jsxs)("div",{className:`${rA.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:c,onMouseLeave:d,children:[o,s?(0,u.jsx)("div",{style:{boxShadow:"var(--rp-shadow-3)",border:"1px solid var(--rp-c-divider-light)",...n},className:"z-[1] p-3 w-50 absolute right-0 bg-white dark:bg-dark",children:(0,u.jsx)("div",{className:"text-md",children:a})}):null]}):"img"===i?(0,u.jsxs)("div",{className:`${rA.socialLinksIcon} cursor-pointer relative`,onMouseEnter:c,onMouseLeave:d,children:[o,s?(0,u.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:{boxShadow:"var(--rp-shadow-3)",...n},children:(0,u.jsx)("img",{src:a,alt:"img"})}):null]}):"dom"===i?(0,u.jsxs)("div",{className:`${rA.socialLinksIcon} cursor-pointer relative`,onMouseEnter:c,onMouseLeave:d,children:[o,s?(0,u.jsx)("div",{className:"break-all z-[1] p-3 absolute right-0 bg-white dark:bg-dark rounded-xl",style:{boxShadow:"var(--rp-shadow-3)",...n},children:(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})}):null]}):(0,u.jsx)("div",{})},rk=e=>{let{links:t}=e;return(0,u.jsx)("div",{style:{boxShadow:"var(--rp-shadow-3)",marginRight:"-2px",border:"1px solid var(--rp-c-divider-light)",background:"var(--rp-c-bg)"},className:"absolute top-8 right-0 z-1 p-3 w-32 rounded-2xl flex flex-wrap gap-4",children:t.map(e=>(0,u.jsx)(rj,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},rS=e=>{let{links:t,moreIconVisible:n=!1,mouseEnter:r}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,u.jsx)(rj,{link:e,popperStyle:{top:"2.5rem"}},t))}),n?(0,u.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:r,children:(0,u.jsx)(t8,{icon:tj})}):null]})},rN=({socialLinks:e})=>{let t=e.length>5,n=e.slice(0,5),r=e.slice(5),[i,a]=(0,p.useState)(!1),o=(0,p.useCallback)(()=>{a(!1)},[a]),s=(0,p.useCallback)(()=>{a(!0)},[a]);return(0,u.jsxs)("div",{className:`social-links ${rA.menuItem} flex-center relative`,onMouseLeave:o,children:[(0,u.jsx)(rS,{links:n,moreIconVisible:t,mouseEnter:s}),i?(0,u.jsx)(rk,{links:r}):null]})},rT=()=>"function"==typeof document?.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches,rI=()=>{let e=document.createElement("style");return e.innerHTML=`
3
- .rspress-doc {
4
- view-transition-name: none !important;
5
- }
6
- `,document.head.appendChild(e),()=>{document.head.removeChild(e)}};function rB({onClick:e}){let{theme:t,setTheme:n=()=>{}}=(0,p.useContext)(d.Ni);return(0,u.jsx)("div",{onClick:r=>{let i=rT(),a=ts.Z?.themeConfig?.enableAppearanceAnimation,o="dark"===t?"light":"dark",s="dark"===o;if(i&&a){let t=r.clientX,i=r.clientY,a=Math.hypot(Math.max(t,innerWidth-t+200),Math.max(i,innerHeight-i+200)),l=rI(),u=document.startViewTransition(async()=>{(0,tN.flushSync)(()=>{n(o),e?.()})}),c=[`circle(0px at ${t}px ${i}px)`,`circle(${a}px at ${t}px ${i}px)`];u.ready.then(()=>{document.documentElement.animate({clipPath:s?[...c].reverse():c},{duration:400,easing:"ease-in",pseudoElement:s?"::view-transition-old(root)":"::view-transition-new(root)",id:""}).finished.then(()=>{l()})})}else n(o),e?.()},className:"md:mr-2 rspress-nav-appearance",children:(0,u.jsxs)("div",{className:"p-1 border border-solid border-gray-300 text-gray-400 cursor-pointer rounded-md hover:border-gray-600 hover:text-gray-600 dark:hover:border-gray-200 dark:hover:text-gray-200 transition-all duration-300 w-7 h-7",children:[(0,u.jsx)(t8,{className:"dark:hidden",icon:tS,width:"18",height:"18",fill:"currentColor"}),(0,u.jsx)(t8,{className:"hidden dark:block",icon:tk,width:"18",height:"18",fill:"currentColor"})]})})}let rP={navScreen:"navScreen_ec30c",active:"active_d804e",container:"container_c935d",navMenu:"navMenu_b887b",navMenuItem:"navMenuItem_e7978",navAppearance:"navAppearance_bf893",socialAndAppearance:"socialAndAppearance_eda28",navScreenMenuGroup:"navScreenMenuGroup_e771d",open:"open_aaab4",button:"button_ea41e",buttonSpan:"buttonSpan_f4b8f",items:"items_dd149",down:"down_f631a"};function rL(e){let{activeValue:t}=e,[n,r]=(0,p.useState)(!1);function i({item:e}){return(0,u.jsx)("div",{className:"p-1 text-center",children:(0,u.jsx)("span",{className:"text-brand",children:e.text})})}function a({item:e}){return(0,u.jsx)("div",{className:"py-1 font-medium",children:(0,u.jsx)(nm,{href:e.link,children:(0,u.jsx)("div",{children:(0,u.jsx)("div",{className:"flex justify-center",children:(0,u.jsx)("span",{children:e.text})})})})})}let o=e=>t===e.text?(0,u.jsx)(i,{item:e},e.link):(0,u.jsx)(a,{item:e},e.link),s=e=>(0,u.jsxs)("div",{children:["link"in e?o(e):(0,u.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(o)]});return(0,u.jsxs)("div",{className:`${n?rP.open:""} ${rP.navScreenMenuGroup} relative`,children:[(0,u.jsxs)("button",{className:rP.button,onClick:()=>{r(!n)},children:[(0,u.jsx)("span",{className:rP.buttonSpan,children:e.text}),(0,u.jsx)(tT,{className:`${n?rP.open:""} ${rP.down} `})]}),(0,u.jsx)("div",{children:(0,u.jsx)("div",{className:rP.items,children:e.items.map(e=>(0,u.jsx)("div",{children:"items"in e?s(e):o(e)},e.text))})})]})}let rO=()=>{let e=rC();return(0,u.jsx)("div",{className:"flex text-sm font-bold justify-center",children:(0,u.jsx)("div",{className:"mx-1.5 my-1",children:(0,u.jsx)(rL,{...e})})})},r_=()=>{let e=rE();return(0,u.jsx)("div",{className:`${rP.navTranslations} flex text-sm font-bold justify-center`,children:(0,u.jsx)("div",{className:"mx-1.5 my-1",children:(0,u.jsx)(rL,{...e})})})},r$=()=>(0,u.jsx)("div",{className:`mt-2 ${rP.navAppearance} flex justify-center`,children:(0,u.jsx)(d.ri,{children:(0,u.jsx)(rB,{})})}),rM=({menuItems:e,pathname:t,base:n,langs:r,toggleScreen:i})=>(0,u.jsx)("div",{className:rP.navMenu,children:e.map(e=>(0,u.jsx)("div",{className:`${rP.navMenuItem} w-full`,children:"link"in e?(0,u.jsx)(rw,{pathname:t,base:n,langs:r,onClick:i,...e},e.text):(0,u.jsx)("div",{className:"mx-3 last:mr-0",children:(0,u.jsx)(rL,{...e,items:"items"in e?e.items:e})},e.text)},e.text))});function rR(e){let{isScreenOpen:t,toggleScreen:n,siteData:r,pathname:i}=e,a=(0,p.useRef)(null),o=r.themeConfig.locales||[],s=o.length>1,l=r.multiVersion.versions.length>1,c=rF(),d=!1!==r.themeConfig.darkMode,h=r?.themeConfig?.socialLinks||[],f=h.length>0,m=o.map(e=>e.lang||"zh")||[],{base:g}=r;return(0,p.useEffect)(()=>(a.current&&t&&tC(a.current,{reserveScrollBarGap:!0}),()=>{tE()}),[t]),(0,u.jsx)("div",{className:`${rP.navScreen} ${t?rP.active:""} rspress-nav-screen`,ref:a,id:"navScreen",children:(0,u.jsxs)("div",{className:rP.container,children:[(0,u.jsx)(rM,{menuItems:c,base:g,langs:m,pathname:i,toggleScreen:n}),(0,u.jsxs)("div",{className:"flex-center flex-col gap-2",children:[d&&(0,u.jsx)(r$,{}),s&&(0,u.jsx)(rO,{}),l&&(0,u.jsx)(r_,{}),f&&(0,u.jsx)(rN,{socialLinks:h})]})]})})}let rH={navHamburger:"navHamburger_ac64c",active:"active_bc9a1"};function rz(e){let{siteData:t,pathname:n}=e,{isScreenOpen:r,toggleScreen:i}=function(){let{pathname:e}=(0,d.TH)(),[t,n]=(0,p.useState)(!1);function r(){n(!0),window.addEventListener("resize",a)}function i(){n(!1),window.removeEventListener("resize",a)}function a(){window.outerWidth>=768&&i()}return(0,p.useEffect)(()=>{i()},[e]),{isScreenOpen:t,openScreen:r,closeScreen:i,toggleScreen:function(){t?i():r()}}}();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(rR,{isScreenOpen:r,toggleScreen:i,siteData:t,pathname:n}),(0,u.jsx)("button",{onClick:i,"aria-label":"mobile hamburger",className:`${r?rH.active:""} rspress-mobile-hamburger ${rH.navHamburger} text-gray-500`,children:(0,u.jsx)(t8,{icon:tl,fill:"currentColor"})})]})}function rU({item:e}){return(0,u.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,u.jsx)(il,{tag:e.tag}),(0,u.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function rW({item:e,isGroupItem:t}){return(0,u.jsx)("div",{className:"font-medium my-1",children:(0,u.jsx)(nm,{href:e.link,children:(0,u.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem",...t?{color:"var(--rp-c-text-2)"}:{}},children:(0,u.jsxs)("div",{className:"flex",children:[e.tag&&(0,u.jsx)(il,{tag:e.tag}),(0,u.jsx)("span",{children:e.text})]})})})},e.link)}function rV(e){let{activeValue:t,items:n,base:r="",link:i="",pathname:a=""}=e,[o,s]=(0,p.useState)(!1),l=(0,p.useRef)(),c=()=>{l.current&&(clearTimeout(l.current),l.current=void 0)},d=(e,n=!1)=>{let i=new RegExp(e.activeMatch||e.link).test((0,f.tz)(a,r));return t===e.text||!t&&i?(0,u.jsx)(rU,{item:e},e.link):(0,u.jsx)(rW,{item:e,isGroupItem:n},e.link)},h=e=>(0,u.jsxs)("div",{className:"my-2",children:["link"in e&&e.link.length>1?d(e,!0):(0,u.jsx)("p",{className:"font-sm text-gray-400 my-3 not:first:border px-2",style:{color:"var(--rp-c-text-1)"},children:e.text}),e.items.map(e=>d(e,!0))]});return(0,u.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>{l.current=window.setTimeout(()=>{s(!1)},150)},children:[(0,u.jsx)("button",{onMouseEnter:()=>{c(),s(!0)},className:"rspress-nav-menu-group-button flex-center items-center font-medium text-sm text-text-1 hover:text-text-2 transition-colors duration-200",children:i?(0,u.jsx)(rw,{...e,rightIcon:(0,u.jsx)(t8,{icon:tT})}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("span",{className:"text-sm font-medium flex break-keep",style:{marginRight:"2px"},children:[(0,u.jsx)(il,{tag:e.tag}),e.text]}),(0,u.jsx)(t8,{icon:tT})]})}),(0,u.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:+!!o,visibility:o?"visible":"hidden",right:0,top:"52px"},onMouseEnter:c,children:(0,u.jsx)("div",{className:"p-3 pr-2 w-full h-full max-h-100vh whitespace-nowrap",style:{boxShadow:"var(--rp-shadow-3)",zIndex:100,border:"1px solid var(--rp-c-divider-light)",borderRadius:"var(--rp-radius-large)",background:"var(--rp-c-bg)"},children:n.map(e=>(0,u.jsx)("div",{children:"items"in e?h(e):d(e)},e.text))})})]})}function rq(){let e=rC();return(0,u.jsx)("div",{className:`translation ${t4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,u.jsx)("div",{children:(0,u.jsx)(rV,{...e})})})}function rG(){let e=rE();return(0,u.jsx)("div",{className:`translation ${t4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,u.jsx)("div",{children:(0,u.jsx)(rV,{...e})})})}function rZ(e){let{beforeNavTitle:t,afterNavTitle:n,beforeNav:r,afterNavMenu:i,navTitle:a}=e,{siteData:o,page:s}=(0,d.Vi)(),{base:l}=o,{pathname:c}=(0,d.TH)(),{width:h}=(0,d.iP)(),p=t$(),f=h<1280,m=Object.values(o.locales||o.themeConfig.locales||{}),g=m.length>1,x=o.multiVersion.versions.length>1,v=o.themeConfig.socialLinks||[],y=v.length>0,b=m.map(e=>e.lang||"")||[],D=({menuItems:e})=>(0,u.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(t=>"items"in t||Array.isArray(t)?(0,u.jsx)("div",{className:"mx-3 last:mr-0",children:(0,u.jsx)(rV,{...t,base:l,pathname:c,langs:b,items:"items"in t?t.items:t})},t.text):(0,u.jsx)(rw,{pathname:c,langs:b,base:l,compact:e.length>5,...t},t.link))}),F=rF(),w=e=>e.position??"right",C=F.filter(e=>"left"===w(e)),E=F.filter(e=>"right"===w(e)),A=o?.themeConfig?.search!==!1,j=!1!==o.themeConfig.darkMode;return(0,u.jsxs)(u.Fragment,{children:[r,(0,u.jsx)("div",{className:`${t4.navContainer} rspress-nav px-6 ${p&&!f?t4.hidden:""} ${!f||!p||"doc"!==s.pageType?t4.sticky:t4.relative}`,children:(0,u.jsxs)("div",{className:`${t4.container} flex justify-between items-center h-full`,children:[t,a||(0,u.jsx)(t6,{}),n,(0,u.jsxs)("div",{className:"flex flex-1 justify-end items-center",children:[C.length>0?(0,u.jsx)("div",{className:t4.leftNav,children:(0,u.jsx)(D,{menuItems:C})}):null,(0,u.jsxs)("div",{className:t4.rightNav,children:[A&&(0,u.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,u.jsx)(is,{})}),(0,u.jsx)(D,{menuItems:E}),(0,u.jsxs)("div",{className:"flex-center flex-row",children:[g&&(0,u.jsx)(rq,{}),x&&(0,u.jsx)(rG,{}),j&&(0,u.jsx)("div",{className:"mx-2",children:(0,u.jsx)(rB,{})}),y&&(0,u.jsx)(rN,{socialLinks:v})]})]}),i,(0,u.jsxs)("div",{className:t4.mobileNavMenu,children:[f&&A&&(0,u.jsx)(is,{}),(0,u.jsx)(rz,{siteData:o,pathname:c})]})]})]})})]})}let rY={"header-anchor":"header-anchor_d4f17",headerAnchor:"header-anchor_d4f17","overview-groups":"overview-groups_ced08",overviewGroups:"overview-groups_ced08","overview-group-li":"overview-group-li_e0f17",overviewGroupLi:"overview-group-li_e0f17","level-2":"level-2_e4d63",level2:"level-2_e4d63","level-3":"level-3_b489a",level3:"level-3_b489a","level-4":"level-4_a9543",level4:"level-4_a9543","overview-group":"overview-group_f8331",overviewGroup:"overview-group_f8331",header:"header_ba4f6"},rK=e=>e.toLowerCase().replace(/-/g," "),rJ=(e,t)=>rK(e).includes(rK(t)),rX=({query:e,setQuery:t,searchRef:n,filterNameText:r,filterPlaceholderText:i})=>(0,u.jsxs)("div",{className:"flex items-center justify-start gap-4",children:[(0,u.jsx)("label",{htmlFor:"api-filter",children:r}),(0,u.jsx)("input",{ref:n,type:"search",placeholder:i,id:"api-filter",value:e,onChange:e=>t(e.target.value),className:"border border-gray-300 dark:border-gray-700 rounded-lg px-3 py-2 transition-shadow duration-250 ease-in-out focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-opacity-50"})]}),rQ=({group:e,styles:t})=>(0,u.jsxs)("div",{className:"mb-16",children:[(0,u.jsx)("h2",{children:tK(e.name)}),(0,u.jsx)("div",{className:t.overviewGroups,children:e.items.map(e=>(0,u.jsxs)("div",{className:t.overviewGroup,children:[(0,u.jsx)("div",{className:"flex",children:(0,u.jsx)("h3",{style:{marginBottom:8},children:(0,u.jsx)(nm,{href:(0,d.AP)(e.link),children:tK(e.text)})})}),(0,u.jsx)("ul",{className:"list-none",children:e.headers?.map(n=>(0,u.jsx)("li",{className:`${t.overviewGroupLi} ${t[`level${n.depth}`]} first:mt-2`,children:(0,u.jsx)(nm,{href:`${(0,d.AP)(e.link)}#${n.id}`,children:tK(n.text)})},n.id))})]},e.link))})]},e.name);function r0(e){let{siteData:t,page:{routePath:n,title:r,frontmatter:i}}=(0,d.Vi)(),{content:a,groups:o,defaultGroupTitle:s="Others"}=e,[l,c]=(0,p.useState)(""),h=(0,p.useRef)(null);(0,p.useEffect)(()=>{h.current?.focus()},[]);let f=e=>(0,d.pJ)(e).startsWith(n.replace(/overview$/,""))&&!(0,d.pV)((0,d.pJ)(e),n),m=e=>"link"in e&&e.link?e.link:"items"in e?m(e.items[0]):"",{pages:g}=t,x=g.filter(e=>f(e.routePath)),v=t2(),{overview:{filterNameText:y="Filter",filterPlaceholderText:b="Enter keyword",filterNoResultText:D="No matching API found"}={}}=tM();function F(t,r,i){if(t9(t)||(0,d.pJ)(t.link)===`${n}index`&&i?.overview===!0)return!1;let a=e?.overviewHeaders??t.overviewHeaders??i?.overviewHeaders??r?.overviewHeaders??[2],o=x.find(e=>(0,d.pV)(e.routePath,(0,d.pJ)(t.link||""))),s=m(t);return{...t,link:s,headers:o?.toc?.filter(e=>a.some(t=>e.depth===t))||[]}}v[0]?.link!==n&&(v=function e(t,n){let r,i=t.findIndex(e=>(function(e){if(t9(e))return!1;let t=(0,d.pJ)(e.link),r=t.endsWith("/index")?t.slice(0,-5):t,i=n.replace(/\/$/,"");return t===n||r===n||t===i||r===i})(e));if(-1===i)return t.map(t=>"items"in t?e(t.items,n):[]).flat();let a=t[i];if("items"in a&&Array.isArray(r=a.items)&&r.length>=1)return a.items.every(e=>!("items"in e))?[a]:a.items.filter(e=>!t9(e));let o=[...t];return"items"in a||o.splice(i,1),o.filter(e=>!t9(e))}(v,n));let w=o??(0,p.useMemo)(()=>v.filter(e=>Array.isArray(e?.items)?e.items.filter(e=>f(m(e))).length>0:!!(ne(e)&&f(m(e)))).map(e=>{let t=[];return e?.items?t=e?.items?.map(t=>F(t,e,i)).filter(Boolean):ne(e)&&(t=[F({link:e.link,text:e.text||"",tag:e.tag,_fileKey:e._fileKey,overviewHeaders:e.overviewHeaders},void 0,i)]),{name:e.text||"",items:t}}),[v,n,i]),C=(0,p.useMemo)(()=>l?w.map(e=>{if(rJ(e.name,l))return e;let t=e.items.map(e=>{if(rJ(e.text||"",l))return e;let t=e.headers?.filter(({text:e})=>rJ(e,l));return t?.length?{...e,headers:t}:null}).filter(Boolean);return t.length?{...e,items:t}:null}).filter(Boolean):w,[w,l]);return(0,u.jsxs)("div",{className:"overview-index mx-auto",children:[(0,u.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between mb-10",children:[(0,u.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:r||"Overview"}),(0,u.jsx)(rX,{query:l,setQuery:c,searchRef:h,filterNameText:y,filterPlaceholderText:b})]}),a,C.length>0?C.map(e=>(0,u.jsx)(rQ,{group:e,styles:rY},e?.name)):(0,u.jsx)("div",{className:"text-lg text-gray-500 text-center mt-9 pt-9 border-t border-gray-200 dark:border-gray-800",children:`${D}: ${l}`})]})}let r1={pagerLink:"pager-link_e0d2d",title:"title_a3acb",next:"next_ad355",desc:"desc_dcc01"};function r2(e){let{type:t,text:n,href:r}=e,{prevPageText:i="Previous Page",nextPageText:a="Next Page"}=tM(),o="prev"===t?r1.pagerLink:`${r1.pagerLink} ${r1.next}`;return(0,u.jsxs)(nm,{href:r,className:o,children:[(0,u.jsx)("span",{className:r1.desc,children:"prev"===t?i:a}),(0,u.jsx)("span",{className:r1.title,children:n})]})}let r3={scrollToTop:"scroll-to-top_e22be",entered:"entered_c8faf"};function r4(){let[e,t]=(0,p.useState)(!1),n=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,p.useEffect)(()=>{window.addEventListener("scroll",n)},[]),(0,u.jsx)("button",{className:`${r3.scrollToTop} ${e?r3.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,u.jsx)("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"})})})}let r6={container:"container_df5ed",tabList:"tab-list_ccbcc",tab:"tab_cae68",notSelected:"not-selected_dab7a",selected:"selected_f5c1e",noScrollbar:"no-scrollbar_db61f"},r5=e=>e&&"object"==typeof e&&"label"in e?e.label||e.value:e,r8=(0,p.forwardRef)((e,t)=>{let{values:n,defaultValue:r,onChange:i,children:a,groupId:o,tabPosition:s="left",tabContainerClassName:l}=e,c=p.Children.toArray(a).filter(e=>"string"!=typeof e||""!==e.trim()),d=n||[];0===d.length&&(d=p.Children.map(c,e=>(0,p.isValidElement)(e)?{label:e.props?.label,value:e.props?.value||e.props?.label}:{label:void 0,value:void 0}));let{tabData:h,setTabData:f}=(0,p.useContext)(ny),[m,g]=(0,p.useState)(()=>void 0===r?0:d.findIndex(e=>"string"==typeof e?e===r:!!e&&"object"==typeof e&&"value"in e&&e.value===r)),[x,v]=ro(`rspress.tabs.${o}`,m.toString()),y=(0,p.useMemo)(()=>o?void 0!==h[o]?h[o]:Number.parseInt(x):m,[o&&h[o]]);(0,p.useEffect)(()=>{if(o){let e=Number.parseInt(x);y!==e&&f({...h,[o]:e})}},[x]);let b=o?y:m;return(0,u.jsxs)("div",{className:r6.container,ref:t,children:[(0,u.jsx)("div",{className:l,children:d.length?(0,u.jsx)("div",{className:`${r6.tabList} ${r6.noScrollbar}`,style:{justifyContent:"center"===s?"center":"flex-start"},children:d.map((e,t)=>(0,u.jsx)("div",{className:`${r6.tab} ${b===t?r6.selected:r6.notSelected}`,onClick:()=>{i?.(t),o?(f({...h,[o]:t}),v(t.toString())):g(t)},children:r5(e)},t))}):null}),(0,u.jsx)("div",{children:p.Children.toArray(c)[b]})]})});function r7({children:e,...t}){return(0,u.jsx)("div",{...t,className:"rounded px-2",children:e})}function r9({query:e}){let{searchNoResultsText:t="No results for",searchSuggestedQueryText:n="Please try again with a different keyword"}=tM();return(0,u.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,u.jsx)(t8,{icon:tO,className:"mb-4 opacity-80"}),(0,u.jsxs)("p",{className:"mb-2",children:[t," ",(0,u.jsxs)("b",{children:['"',e,'"']})]}),(0,u.jsx)("p",{children:n})]})}let ie={mask:"mask_ac6b3",modal:"modal_e4a04",inputForm:"inputForm_d4ba2",input:"input_f8add",close:"close_bee84",searchHits:"searchHits_dc1b2",groupTitle:"groupTitle_fe27c",navSearchButton:"navSearchButton_df1fb",searchWord:"searchWord_af2c1",suggestItem:"suggestItem_b1e66",suggestItemContainer:"suggestItemContainer_f5e47",contentWrapper:"contentWrapper_efb78",mark:"mark_b6cd5",titleForContent:"titleForContent_f2995",actionIcon:"actionIcon_f4ffd",current:"current_eb655",tabClassName:"tabClassName_b3f85",mobileNavSearchButton:"mobileNavSearchButton_d85a9"},it={title:e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M4 4a2 2 0 0 1 2-2h8a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm13.586 4L14 4.414V8zM12 4H6v16h12V10h-5a1 1 0 0 1-1-1z"})}),header:e=>(0,u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})}),content:e=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:[(0,u.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,u.jsx)("path",{fill:"none",d:"M22 28a4 4 0 1 1 4-4 4.004 4.004 0 0 1-4 4m0-6a2 2 0 1 0 2 2 2.003 2.003 0 0 0-2-2"}),(0,u.jsx)("path",{fill:"currentColor",d:"M29.777 23.479A8.64 8.64 0 0 0 22 18a8.64 8.64 0 0 0-7.777 5.479L14 24l.223.521A8.64 8.64 0 0 0 22 30a8.64 8.64 0 0 0 7.777-5.479L30 24ZM22 28a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4"}),(0,u.jsx)("path",{fill:"currentColor",d:"M12 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v4h2v-6a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h4Zm6-23.6 5.6 5.6H18Z"})]})};function ir({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:r,inCurrentDocIndex:i,scrollTo:a,onMouseMove:o}){let s=it[e.type],l=i&&!(0,d.yv)()?n2(e.link):e.link,c=(0,p.useRef)(null);n&&c.current?.offsetTop&&a(c.current?.offsetTop,c.current?.offsetHeight);let h=(e,t)=>{let n=[],r=0;for(let i of t){let{start:t,length:a}=i,o=e.slice(r,t),s=function(e,t,n){var r=e.slice(t);let i="",a=0,o=r.length;for(let e=0;e<o&&!((a+=n3(r.charAt(e)))>0+n);e++)a>0&&(i+=r.charAt(e));return i}(e,t,a);n.push(o),n.push((0,u.jsx)("span",{className:ie.mark,children:s},t)),r=t+s.length}return r<e.length&&n.push(e.slice(r)),n},f=null;switch(e.type){case"title":case"header":f=(()=>{if("header"===e.type||"title"===e.type){let{header:t,highlightInfoList:n}=e;return(0,u.jsx)("div",{className:"font-medium",children:h(t,n)})}return(0,u.jsx)("div",{className:"font-medium",children:e.header})})();break;case"content":f=(0,u.jsxs)(u.Fragment,{children:[(()=>{if("content"!==e.type)return(0,u.jsx)("div",{});let{statement:t,highlightInfoList:n}=e;return(0,u.jsx)("div",{className:"text-sm text-gray-light w-full",children:h(t,n)})})(),(0,u.jsx)("p",{className:ie.titleForContent,children:e.title})]})}return(0,u.jsx)("li",{className:`rspress-search-suggest-item ${ie.suggestItem} ${n?ie.current:""}`,onMouseEnter:r,onMouseMove:o,ref:c,children:(0,u.jsx)("a",{href:l,onClick:e=>{t(),e.stopPropagation()},target:i?"_self":"_blank",children:(0,u.jsxs)("div",{className:ie.suggestItemContainer,children:[(0,u.jsx)("div",{className:ie.hitIcon,children:(0,u.jsx)(t8,{icon:s})}),(0,u.jsx)("div",{className:ie.contentWrapper,children:(0,u.jsx)("span",{children:f})}),(0,u.jsx)("div",{className:ie.actionIcon,children:(0,u.jsx)(t8,{icon:t_})})]})})},e.link)}let ii={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"},ia=e=>{let t=(0,p.useRef)(e);return t.current=e,(0,p.useCallback)(H((...e)=>t.current(...e),150),[])};function io({focused:e,setFocused:t}){let[n,r]=(0,p.useState)(""),[i,a]=(0,p.useState)([]),o=(0,p.useRef)(null),[s,c]=(0,p.useState)(!1),[h,m]=(0,p.useState)(0),[g,x]=(0,p.useState)(0),v=(0,p.useRef)(null),y=(0,p.useRef)(null),[b,D]=(0,p.useState)("initial"),F=(0,p.useRef)(null),w=(0,p.useRef)(null),C=(0,p.useRef)({pageX:null,pageY:null}),[E,A]=(0,p.useState)(!1),j=(e,t)=>{let n=F.current?.offsetHeight,r=F.current?.scrollTop;if(E&&void 0!==n&&void 0!==r){let a=e+t-n-(1===i.length?50:-10);a>r&&F.current?.scrollTo({top:a});let o=1===i.length?e-70:e-10;o<r&&F.current?.scrollTo({top:o})}},{siteData:k,page:{lang:S,version:N}}=(0,d.Vi)(),{searchPlaceholderText:T="Search Docs"}=tM(),{search:I,title:B}=k,P=I&&"remote"!==I.mode&&I.versioned,L=[{group:B,result:[],renderType:rn.Default}],O=i[h]?.result??[],_=i[h]?.renderType??rn.Default;if(!1===I)return null;let $=()=>{if(v.current)return v.current;let e={currentLang:S,currentVersion:N};return v.current=new rr({indexName:B,...I,...e}),y.current=e,v.current};async function M(){if("initial"!==b)return;let e=$();D("initing"),await e.init(),D("inited");let t=o.current?.value;t&&(a(await e.match(t)||L),c(!1))}let R=()=>{t(!1),m(0),x(0)};(0,p.useEffect)(()=>{let n=n=>{switch(n.code){case ii.SEARCH:(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t(!e));break;case ii.ARROW_DOWN:if(n.isComposing)return;e&&(n.preventDefault(),O&&_===rn.Default&&(A(!0),x((g+1)%O.length)));break;case ii.ARROW_UP:if(n.isComposing)return;if(e&&(n.preventDefault(),_===rn.Default)){let e=O.length;A(!0),x((g-1+e)%e)}break;case ii.ENTER:if(n.isComposing)return;if(g>=0&&_===rn.Default){let e=[...Object.values(z(O))].flat()[g];0===h?window.location.href=(0,f.yv)()?e.link:n2(e.link):window.open(e.link),R()}break;case ii.ESC:R()}};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[x,t,e,h,O,g]),(0,p.useEffect)(()=>{e?(a(L),M()):r("")},[e]),(0,p.useEffect)(()=>{"requestIdleCallback"in window&&!v.current&&window.requestIdleCallback(()=>{$().fetchSearchIndex()})},[]),(0,p.useEffect)(()=>{let{currentLang:e,currentVersion:t}=y.current??{},n=P&&N!==t;(S!==e||n)&&(D("initial"),v.current=null,$().fetchSearchIndex())},[S,N,P]);let H=ia(async e=>{let t=e;if(r(t),I&&"remote"===I.mode&&I.searchLoading&&c(!0),t){let e=[];if("beforeSearch"in l){let e=await l.beforeSearch(t);e&&(t=e)}let n=await v.current?.match(t);if(n&&e.push(...n),"onSearch"in l){let n=await l.onSearch(t,e);n&&e.push(...n.map(e=>({renderType:rn.Custom,...e})))}"afterSearch"in l&&await l.afterSearch(t,e),o.current?.value===t&&(a(e||L),c(!1))}}),z=e=>e.reduce((e,t)=>{let n=t.title;return e[n]||(e[n]=[]),e[n].push(t),e},{}),U=(e,t,n)=>{if(n)return(0,u.jsx)("div",{className:"flex flex-col items-center",children:(0,u.jsx)(t8,{icon:tP,className:"m-8 opacity-80"})});if(0===e.length&&"inited"===b)return(0,u.jsx)(r9,{query:t});let r=z(e),i=-1;return(0,u.jsx)("ul",{className:ie.suggestList,children:Object.keys(r).map(e=>{let t=r[e]||[];return(0,u.jsx)("li",{children:(0,u.jsx)("ul",{className:"pb-2",children:t.map(e=>{let t=++i;return(0,u.jsx)(ir,{suggestion:e,isCurrent:t===g,setCurrentSuggestionIndex:e=>{(C.current.pageX!==e.pageX||C.current.pageY!==e.pageY)&&(A(!1),x(t))},onMouseMove:e=>{C.current={pageX:e.pageX,pageY:e.pageY}},closeSearch:()=>{R()},inCurrentDocIndex:0===h,scrollTo:j},`${e.title}-${t}`)})})},e)})})};return(0,u.jsx)(u.Fragment,{children:e&&(0,tN.createPortal)((0,u.jsx)("div",{className:ie.mask,onClick:()=>{R()},children:(0,u.jsxs)("div",{className:`${ie.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,u.jsxs)("div",{className:"flex items-center",children:[(0,u.jsxs)("div",{className:ie.inputForm,children:[(0,u.jsx)("label",{children:(0,u.jsx)(t8,{icon:tI})}),(0,u.jsx)("input",{className:`rspress-search-panel-input ${ie.input}`,ref:o,placeholder:T,"aria-label":"SearchPanelInput",autoComplete:"off",autoFocus:!0,onChange:e=>H(e.target.value)}),(0,u.jsx)("label",{children:(0,u.jsx)(t8,{icon:tB,className:ie.close,onClick:e=>{o.current&&(e.stopPropagation(),n?(o.current.value="",r("")):R())}})})]}),(0,u.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),R()},children:"Cancel"})]}),n&&"inited"===b?(0,u.jsx)("div",{className:`${ie.searchHits} rspress-scrollbar`,ref:F,children:((e,t,r)=>{if(1===e.length){let t=e[0].result;return 0!==t.length||r?(0,u.jsx)("div",{ref:w,children:U(t,n,r)}):(0,u.jsx)(r9,{query:n})}let i=e.map(e=>t&&"remote"===t.mode?n4(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,u.jsx)(r8,{values:i,tabContainerClassName:ie.tabClassName,onChange:e=>{m(e),x(0)},ref:w,children:e.map(e=>(0,u.jsxs)(r7,{children:[e.renderType===rn.Default&&U(e.result,n,r),e.renderType===rn.Custom&&l.render(e.result)]},e.group))})})(i,I,s)}):null]})}),document.getElementById("search-container"))})}function is(){let[e,t]=(0,p.useState)(!1),[n,r]=(0,p.useState)(null),{searchPlaceholderText:i="Search"}=tM();return(0,p.useEffect)(()=>{r(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl")},[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:`rspress-nav-search-button ${ie.navSearchButton}`,onClick:()=>t(!0),children:(0,u.jsxs)("button",{children:[(0,u.jsx)(t8,{icon:tI,width:"18",height:"18"}),(0,u.jsx)("p",{className:ie.searchWord,children:i}),(0,u.jsxs)("div",{style:{opacity:+!!n},children:[(0,u.jsx)("span",{children:n}),(0,u.jsx)("span",{children:"K"})]})]})}),(0,u.jsx)("div",{className:ie.mobileNavSearchButton,onClick:()=>t(!0),children:(0,u.jsx)(t8,{icon:tI})}),(0,u.jsx)(io,{focused:e,setFocused:t})]})}let il=({tag:e})=>e?e.trim().startsWith("<svg")?(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:e},style:{width:20,marginRight:4}}):(0,u.jsx)("img",{src:e}):null,iu={Layout:e=>{let{top:t,bottom:n,beforeDocFooter:r,afterDocFooter:i,beforeDoc:a,afterDoc:o,beforeDocContent:s,afterDocContent:l,beforeSidebar:c,afterSidebar:h,beforeOutline:f,afterOutline:m,beforeNavTitle:g,afterNavTitle:x,navTitle:v,beforeNav:y,beforeHero:b,afterHero:D,beforeFeatures:F,afterFeatures:w,afterNavMenu:C,components:E}=e,A={beforeDocFooter:r,afterDocFooter:i,beforeDocContent:s,afterDocContent:l,beforeDoc:a,afterDoc:o,beforeSidebar:c,afterSidebar:h,beforeOutline:f,afterOutline:m,components:E},j={beforeHero:b,afterHero:D,beforeFeatures:F,afterFeatures:w},{siteData:k,page:S}=(0,d.Vi)(),{pageType:N,lang:T,title:I,frontmatter:B={}}=S,P=tM();tW();let{siteData:L,page:O}=(0,d.Vi)(),_=L.lang||"",$=Object.values(L.themeConfig.locales||{}).map(e=>e.lang)||[],M=O.lang;(0,p.useEffect)(()=>{let e,t=L.themeConfig.localeRedirect??"auto";if("never"===t||!_||/bot|spider|crawl|lighthouse/i.test(window.navigator.userAgent))return;let{pathname:n,search:r}=window.location,i=(0,d.E9)(n),a="rspress-visited";if(localStorage.getItem(a))return;localStorage.setItem(a,"1");let o=window.navigator.language.split("-")[0];$.includes(o)&&o!==M&&(o===_?e=n.replace(`/${M}`,""):M===_?e=(0,d.pJ)(`/${o}${i}`):"auto"===t&&(e=n.replace(`/${M}`,`/${o}`)),e&&window.location.replace(e+r))},[]);let R=B.title??I,H=k.title||P.title||"";R=R&&"doc"===N?nN(R,B.titleSuffix||H):"home"===N?nN(H,B.titleSuffix):"404"===N?nN("404",H):H;let z=B?.description||k.description||P.description,U={...tR(),...e.uiSwitch};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(G.ql,{htmlAttributes:{lang:T||"en"},children:[R?(0,u.jsx)("title",{children:R}):null,z?(0,u.jsx)("meta",{name:"description",content:z}):null]}),t,"blank"!==N&&U.showNavbar&&(0,u.jsx)(rZ,{beforeNavTitle:g,afterNavTitle:x,navTitle:v,beforeNav:y,afterNavMenu:C}),(0,u.jsx)("section",{children:(()=>{switch(N){case"home":return(0,u.jsx)(iu.HomeLayout,{...j});case"doc":return(0,u.jsx)(nS,{...A,uiSwitch:U,navTitle:v});case"404":return(0,u.jsx)(iu.NotFoundLayout,{});case"custom":case"blank":return(0,u.jsx)(d.VY,{});default:return(0,u.jsx)(nS,{...A})}})()}),n]})},NotFoundLayout:function(){let{siteData:e,page:t}=(0,d.Vi)(),n=e.lang,r=e.multiVersion.default;if(n&&"undefined"!=typeof window&&location.pathname.includes(`/${n}/`)){let e=location.pathname.replace(`/${n}/`,"/");return window.location.replace(e),(0,u.jsx)(u.Fragment,{})}let i="/";return r&&t.version!==r&&(i+=`${t.version}/`),n&&t.lang!==n&&(i+=`${t.lang}/`),(0,u.jsxs)("div",{className:"m-auto mt-50 p-16 sm:p-8 sm:pt-24 sm:pb-40 text-center flex-center flex-col",children:[(0,u.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,u.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,u.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,u.jsx)("div",{className:"pt-5",children:(0,u.jsx)("a",{className:"py-2 px-4 rounded-2xl inline-block border-solid border-brand text-brand font-medium hover:border-brand-dark hover:text-brand-dark transition-colors duration-300",href:(0,d.pJ)(i),"aria-label":"go to home",children:"Take me home"})})]})},HomeLayout:function(e){let{beforeHero:t,afterHero:n,beforeFeatures:r,afterFeatures:i}=e,{page:{frontmatter:a,routePath:o}}=(0,d.Vi)();return(0,u.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,u.jsxs)("div",{className:"pb-12",children:[t,(0,u.jsx)(ry,{frontmatter:a,routePath:o}),n,r,(0,u.jsx)(rg,{frontmatter:a,routePath:o}),i]}),(0,u.jsx)(rx,{})]})},useBindingAsideScroll:tU,useSetup:tW}},102:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},4396:function(e){"use strict";e.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')}}]);