Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index da72953..2c5e166 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
",children:[(0,c.jsx)(d,{}),(0,c.jsx)("main",{style:{textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",marginTop:-30},children:(0,c.jsx)("img",{src:"/devtools/img/devtool-screenshot.png",alt:"Hero",style:{width:"800px",borderRadius:8,border:"1px solid #676767"}})})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[583],{6066:(e,t,s)=>{s.r(t),s.d(t,{default:()=>u});var o=s(4357),n=s(2436),i=s(396),l=s(6047),r=s(4441);const a={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};var c=s(1085);function d(){const{siteConfig:e}=(0,i.A)();return(0,c.jsx)("header",{className:(0,o.A)(a.heroBanner),children:(0,c.jsxs)("div",{className:"container",children:[(0,c.jsx)(r.A,{as:"h1",children:(0,c.jsx)("img",{src:"/devtools/img/logo-main.svg",alt:"Logo",width:"50%"})}),(0,c.jsx)("p",{className:"hero__subtitle",style:{marginTop:-30},children:e.tagline}),(0,c.jsxs)("div",{className:a.buttons,children:[(0,c.jsx)(n.A,{className:"button button--primary button--lg",style:{color:"white"},to:"/docs/guide/installation",children:"Get Started"}),(0,c.jsx)(n.A,{className:"button button--primary button--lg",style:{color:"white"},to:"/docs/guide/features/scene",children:"Features"})]})]})})}function u(){const{siteConfig:e}=(0,i.A)();return(0,c.jsxs)(l.A,{title:`${e.title}`,description:"Description will go into a meta tag in
",children:[(0,c.jsx)(d,{}),(0,c.jsx)("main",{style:{textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",marginTop:-30},children:(0,c.jsx)("img",{src:"/devtools/img/devtool-screenshot.png",alt:"Hero",style:{width:"800px",borderRadius:8,border:"1px solid #676767"}})})]})}}}]);
\ No newline at end of file
diff --git a/assets/js/4a148559.0799df64.js b/assets/js/4a148559.0799df64.js
new file mode 100644
index 0000000..56dc5f4
--- /dev/null
+++ b/assets/js/4a148559.0799df64.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[746],{2617:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>l,toc:()=>h});var t=s(1085),o=s(1184);const i={sidebar_position:3},r="F.A.Q",l={id:"guide/faq",title:"F.A.Q",description:"The PixiJS Devtools don't show up",source:"@site/docs/guide/faq.md",sourceDirName:"guide",slug:"/guide/faq",permalink:"/devtools/docs/guide/faq",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/faq.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"guide",previous:{title:"Assets",permalink:"/devtools/docs/guide/features/assets"}},d={},h=[{value:"The PixiJS Devtools don't show up",id:"the-pixijs-devtools-dont-show-up",level:2},{value:"Scene isn't updating in the Devtools",id:"scene-isnt-updating-in-the-devtools",level:2},{value:"Property is not displayed",id:"property-is-not-displayed",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",hr:"hr",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"faq",children:"F.A.Q"}),"\n",(0,t.jsx)(n.h2,{id:"the-pixijs-devtools-dont-show-up",children:"The PixiJS Devtools don't show up"}),"\n",(0,t.jsx)(n.p,{children:"Here are some troubleshooting steps to help you if you don't the PixiJS devtools in your browser:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Check if the extension is installed and enabled:"}),"\n",(0,t.jsxs)(n.p,{children:["Open the Chrome extensions page by typing ",(0,t.jsx)(n.code,{children:"chrome://extensions"})," in the address bar. Make sure the PixiJS Devtools extension is installed and enabled.\nIf it's not installed, please read the ",(0,t.jsx)(n.a,{href:"/docs/guide/installation",children:"installation guide"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Try closing the devtools pane, refreshing the page and opening the devtools pane again**."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Try restarting the browser or the computer."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"If you have multiple pages with the PixiJS Devtools open, try closing all of them and opening a new one."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"If you have multiple versions of the devtools installed, it's recommended to disable/remove the others. n"}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Look for errors in the browser Console."}),"\n",(0,t.jsxs)(n.p,{children:["If you see any errors, please report them in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"scene-isnt-updating-in-the-devtools",children:"Scene isn't updating in the Devtools"}),"\n",(0,t.jsx)(n.p,{children:"If the scene isn't updating in the devtools, try the following steps:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"Close the devtools pane."}),"\n",(0,t.jsx)(n.li,{children:"Refresh the page."}),"\n",(0,t.jsx)(n.li,{children:"Open the devtools pane again."}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"If the scene still isn't updating, try looking for errors in the console:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:["Open the browser console, you can do this by pressing ",(0,t.jsx)(n.code,{children:"ESC"})]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:'Look for errors in the devtools Console.\nYou can open the devtools console by right-clicking on the devtools pane and selecting "Inspect".'}),"\n",(0,t.jsxs)(s,{children:[(0,t.jsx)("summary",{children:"How to open the devtools console"}),(0,t.jsx)("img",{src:"/devtools/gif/devtool-right-click.gif",alt:"Right click on the devtools pane and select Inspect"})]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["If you see any errors, please report them in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"property-is-not-displayed",children:"Property is not displayed"}),"\n",(0,t.jsx)(n.p,{children:"If a property is not displayed in the devtools, it might be because the property is not set on the object."}),"\n",(0,t.jsxs)(n.p,{children:["For example, the ",(0,t.jsx)(n.code,{children:"filterArea"})," property is not displayed in the devtool until it's set on the object in your code.\nTo get the property to display, you can set it on the object like this:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",children:"const sprite = new Sprite(texture);\nsprite.filterArea = new Rectangle(0, 0, 100, 100);\n"})}),"\n",(0,t.jsxs)(n.p,{children:["If you think a property should be displayed, please report it in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]})]})}function p(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>l});var t=s(4041);const o={},i=t.createContext(o);function r(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/4a148559.d3416eeb.js b/assets/js/4a148559.d3416eeb.js
deleted file mode 100644
index f684baa..0000000
--- a/assets/js/4a148559.d3416eeb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[746],{2617:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>l,toc:()=>h});var t=s(1085),o=s(1184);const i={sidebar_position:3},r="F.A.Q",l={id:"guide/faq",title:"F.A.Q",description:"The PixiJS Devtools don't show up",source:"@site/docs/guide/faq.md",sourceDirName:"guide",slug:"/guide/faq",permalink:"/devtools/docs/guide/faq",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/faq.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"guide",previous:{title:"Features",permalink:"/devtools/docs/guide/features"}},d={},h=[{value:"The PixiJS Devtools don't show up",id:"the-pixijs-devtools-dont-show-up",level:2},{value:"Scene isn't updating in the Devtools",id:"scene-isnt-updating-in-the-devtools",level:2},{value:"Property is not displayed",id:"property-is-not-displayed",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",hr:"hr",li:"li",p:"p",pre:"pre",ul:"ul",...(0,o.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"faq",children:"F.A.Q"}),"\n",(0,t.jsx)(n.h2,{id:"the-pixijs-devtools-dont-show-up",children:"The PixiJS Devtools don't show up"}),"\n",(0,t.jsx)(n.p,{children:"Here are some troubleshooting steps to help you if you don't the PixiJS devtools in your browser:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Check if the extension is installed and enabled:"}),"\n",(0,t.jsxs)(n.p,{children:["Open the Chrome extensions page by typing ",(0,t.jsx)(n.code,{children:"chrome://extensions"})," in the address bar. Make sure the PixiJS Devtools extension is installed and enabled.\nIf it's not installed, please read the ",(0,t.jsx)(n.a,{href:"/docs/guide/installation",children:"installation guide"}),"."]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Try closing the devtools pane, refreshing the page and opening the devtools pane again**."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Try restarting the browser or the computer."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"If you have multiple pages with the PixiJS Devtools open, try closing all of them and opening a new one."}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"If you have multiple versions of the devtools installed, it's recommended to disable/remove the others. n"}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:"Look for errors in the browser Console."}),"\n",(0,t.jsxs)(n.p,{children:["If you see any errors, please report them in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"scene-isnt-updating-in-the-devtools",children:"Scene isn't updating in the Devtools"}),"\n",(0,t.jsx)(n.p,{children:"If the scene isn't updating in the devtools, try the following steps:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"Close the devtools pane."}),"\n",(0,t.jsx)(n.li,{children:"Refresh the page."}),"\n",(0,t.jsx)(n.li,{children:"Open the devtools pane again."}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"If the scene still isn't updating, try looking for errors in the console:"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsxs)(n.p,{children:["Open the browser console, you can do this by pressing ",(0,t.jsx)(n.code,{children:"ESC"})]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:["\n",(0,t.jsx)(n.p,{children:'Look for errors in the devtools Console.\nYou can open the devtools console by right-clicking on the devtools pane and selecting "Inspect".'}),"\n",(0,t.jsxs)(s,{children:[(0,t.jsx)("summary",{children:"How to open the devtools console"}),(0,t.jsx)("img",{src:"/devtools/gif/devtool-right-click.gif",alt:"Right click on the devtools pane and select Inspect"})]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["If you see any errors, please report them in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"property-is-not-displayed",children:"Property is not displayed"}),"\n",(0,t.jsx)(n.p,{children:"If a property is not displayed in the devtools, it might be because the property is not set on the object."}),"\n",(0,t.jsxs)(n.p,{children:["For example, the ",(0,t.jsx)(n.code,{children:"filterArea"})," property is not displayed in the devtool until it's set on the object in your code.\nTo get the property to display, you can set it on the object like this:"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-js",children:"const sprite = new Sprite(texture);\nsprite.filterArea = new Rectangle(0, 0, 100, 100);\n"})}),"\n",(0,t.jsxs)(n.p,{children:["If you think a property should be displayed, please report it in the ",(0,t.jsx)(n.a,{href:"https://github.com/pixijs/devtools/issues",children:"GitHub issues"}),"."]})]})}function p(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>r,x:()=>l});var t=s(4041);const o={},i=t.createContext(o);function r(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/5a4245e4.f23128c8.js b/assets/js/5a4245e4.f23128c8.js
new file mode 100644
index 0000000..9863df0
--- /dev/null
+++ b/assets/js/5a4245e4.f23128c8.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[465],{2123:(e,i,n)=>{n.r(i),n.d(i,{Gif:()=>d,assets:()=>a,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>r,toc:()=>c});var o=n(1085),t=n(1184);n(4041);const s={sidebar_position:0,title:"Scene"},l="Scene Panel",r={id:"guide/features/scene",title:"Scene",description:"The Scene Panel is a powerful tool that allows you to inspect and manipulate the scene graph of your PixiJS application in real-time.",source:"@site/docs/guide/features/scene.mdx",sourceDirName:"guide/features",slug:"/guide/features/scene",permalink:"/devtools/docs/guide/features/scene",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/features/scene.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"Scene"},sidebar:"guide",previous:{title:"Installation",permalink:"/devtools/docs/guide/installation"},next:{title:"Assets",permalink:"/devtools/docs/guide/features/assets"}},a={},d=({src:e,alt:i})=>{const n={div:"div",img:"img",...(0,t.R)()};return(0,o.jsx)(n.div,{style:{display:"flex",justifyContent:"center",padding:"2rem 4rem",paddingTop:"1rem"},children:(0,o.jsx)(n.img,{src:e,alt:i,style:{maxWidth:"100%",borderRadius:"0.5rem",border:"1px solid #676767"}})})},c=[{value:"Editing PixiJS Objects",id:"editing-pixijs-objects",level:2},{value:"Searching for PixiJS Objects",id:"searching-for-pixijs-objects",level:3},{value:"Overlay Highlight",id:"overlay-highlight",level:2},{value:"Selection",id:"selection",level:2},{value:"$pixi",id:"pixi",level:3},{value:"Stats",id:"stats",level:2},{value:"Rename Nodes",id:"rename-nodes",level:2},{value:"Deleting Nodes",id:"deleting-nodes",level:2},{value:"Reparenting Nodes",id:"reparenting-nodes",level:2},{value:"Locking Nodes",id:"locking-nodes",level:2},{value:"Copying Properties",id:"copying-properties",level:2},{value:"Ignoring Nodes",id:"ignoring-nodes",level:2}];function h(e){const i={admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.h1,{id:"scene-panel",children:"Scene Panel"}),"\n",(0,o.jsx)(i.p,{children:"The Scene Panel is a powerful tool that allows you to inspect and manipulate the scene graph of your PixiJS application in real-time.\nIt provides a visual representation of the scene graph, allowing you to view and edit the properties of PixiJS objects, search for objects, and more."}),"\n",(0,o.jsx)(i.p,{children:"See below for a detailed overview of the features available in the Scene Panel."}),"\n",(0,o.jsx)(i.h2,{id:"editing-pixijs-objects",children:"Editing PixiJS Objects"}),"\n",(0,o.jsx)(i.p,{children:"The PixiJS Devtools allows you to edit the properties of PixiJS objects in real-time."}),"\n",(0,o.jsx)(i.p,{children:"You can change the properties of a PixiJS object and see the changes reflected in the scene immediately.\nThis includes properties such as position, scale, rotation, and more."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-properties.gif",alt:"Editing PixiJS objects in the PixiJS Devtools"}),"\n",(0,o.jsxs)(i.admonition,{type:"info",children:[(0,o.jsx)(i.p,{children:"By default pixi properties that do not exist on the object are not shown."}),(0,o.jsxs)(i.p,{children:["For example ",(0,o.jsx)(i.code,{children:"filterArea"})," is not shown in the devtools until it's set on the object in your code."]}),(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-js",children:"const sprite = new Sprite(texture);\nsprite.filterArea = new Rectangle(0, 0, 100, 100);\n"})})]}),"\n",(0,o.jsx)(i.h3,{id:"searching-for-pixijs-objects",children:"Searching for PixiJS Objects"}),"\n",(0,o.jsx)(i.p,{children:"The search feature in the PixiJS Devtools allows you to search for specific PixiJS objects in the scene by their name or other properties,\nmaking it easier to locate and edit objects in complex scenes."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-search.gif",alt:"Searching for PixiJS objects in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"overlay-highlight",children:"Overlay Highlight"}),"\n",(0,o.jsx)(i.p,{children:"The overlay feature in the PixiJS Devtools allows you to highlight the bounds of a PixiJS object in the scene.\nThis is useful for debugging layout and alignment issues."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-highlight.gif",alt:"Highlight overlay for the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"selection",children:"Selection"}),"\n",(0,o.jsx)(i.p,{children:"The selection feature in the PixiJS Devtools allows you to select specific PixiJS objects in the scene, enabling focused editing and inspection."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-selection.gif",alt:"Selecting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.h3,{id:"pixi",children:"$pixi"}),"\n",(0,o.jsxs)(i.p,{children:["When a PixiJS object is selected in the PixiJS Devtools, you can access it in the console using the ",(0,o.jsx)(i.code,{children:"$pixi"})," variable."]}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"stats",children:"Stats"}),"\n",(0,o.jsx)(i.p,{children:"The stats feature in the PixiJS Devtools allows you to view the total number of PixiJS objects in the scene.\nThis can help you identify performance issues and optimize your application."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-stats.gif",alt:"Viewing stats in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"rename-nodes",children:"Rename Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The rename nodes feature in the PixiJS Devtools allows you to rename specific PixiJS objects in the scene,\nwhich is particularly useful for organizing and managing your scene graph."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-rename.gif",alt:"Renaming nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"deleting-nodes",children:"Deleting Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The delete nodes feature in the PixiJS Devtools allows you to delete specific PixiJS objects from the scene, helping you to manage debug your scene graph."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-delete.gif",alt:"Deleting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"reparenting-nodes",children:"Reparenting Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The reparent nodes feature in the PixiJS Devtools allows you to move your PixiJS objects around the scene.\nThis can be useful for debugging layout issues."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-reparent.gif",alt:"Reparenting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"locking-nodes",children:"Locking Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The lock nodes feature in the PixiJS Devtools allows you to lock specific PixiJS objects in the scene."}),"\n",(0,o.jsx)(i.p,{children:"This means that the node can no longer by edited, moved, deleted, or selected using the selection tool."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-lock.gif",alt:"Locking nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"copying-properties",children:"Copying Properties"}),"\n",(0,o.jsx)(i.p,{children:"The copy properties feature in the PixiJS Devtools allows you to copy specific properties of a PixiJS object and paste them back into your code, saving you time and effort."}),"\n",(0,o.jsx)(d,{src:"/devtools/gif/devtool-copy.gif",alt:"Copying properties in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"ignoring-nodes",children:"Ignoring Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The ignore nodes feature in the PixiJS Devtools allows you to hide specific PixiJS objects in the scene.\nThis can be useful when you have a large number of objects in the scene and you are seeing performance issues with the devtools."}),"\n",(0,o.jsx)(i.p,{children:"You have the option to ignore a node and its children, or just its children."}),"\n",(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-js",children:"// Example of ignoring a node\nconst manyChildren = new Container();\nmanyChildren.__devtoolsIgnore = true;\nmanyChildren.__devtoolsIgnoreChildren = true;\n"})}),"\n",(0,o.jsx)(i.admonition,{type:"info",children:(0,o.jsxs)(i.p,{children:["Installing ",(0,o.jsx)(i.code,{children:"@pixi/devtools"})," will automatically add the ",(0,o.jsx)(i.code,{children:"__devtoolsIgnore"})," and ",(0,o.jsx)(i.code,{children:"__devtoolsIgnoreChildren"})," types"]})})]})}function p(e={}){const{wrapper:i}={...(0,t.R)(),...e.components};return i?(0,o.jsx)(i,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1184:(e,i,n)=>{n.d(i,{R:()=>l,x:()=>r});var o=n(4041);const t={},s=o.createContext(t);function l(e){const i=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),o.createElement(s.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/8b0130ea.8c61cca7.js b/assets/js/8b0130ea.8c61cca7.js
deleted file mode 100644
index 0578009..0000000
--- a/assets/js/8b0130ea.8c61cca7.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[663],{6754:(e,i,n)=>{n.r(i),n.d(i,{Gif:()=>c,assets:()=>d,contentTitle:()=>l,default:()=>g,frontMatter:()=>s,metadata:()=>r,toc:()=>a});var o=n(1085),t=n(1184);n(4041);const s={sidebar_position:2,title:"Features"},l="Features",r={id:"guide/features",title:"Features",description:"Editing PixiJS Objects",source:"@site/docs/guide/features.mdx",sourceDirName:"guide",slug:"/guide/features",permalink:"/devtools/docs/guide/features",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/features.mdx",tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2,title:"Features"},sidebar:"guide",previous:{title:"Installation",permalink:"/devtools/docs/guide/installation"},next:{title:"F.A.Q",permalink:"/devtools/docs/guide/faq"}},d={},c=({src:e,alt:i})=>{const n={div:"div",img:"img",...(0,t.R)()};return(0,o.jsx)(n.div,{style:{display:"flex",justifyContent:"center",padding:"2rem 4rem",paddingTop:"1rem"},children:(0,o.jsx)(n.img,{src:e,alt:i,style:{maxWidth:"100%",borderRadius:"0.5rem",border:"1px solid #676767"}})})},a=[{value:"Editing PixiJS Objects",id:"editing-pixijs-objects",level:2},{value:"Searching for PixiJS Objects",id:"searching-for-pixijs-objects",level:3},{value:"$pixi",id:"pixi",level:3},{value:"Overlay Highlight",id:"overlay-highlight",level:2},{value:"Selection",id:"selection",level:2},{value:"Stats",id:"stats",level:2},{value:"Rename Nodes",id:"rename-nodes",level:2},{value:"Deleting Nodes",id:"deleting-nodes",level:2},{value:"Reparenting Nodes",id:"reparenting-nodes",level:2},{value:"Locking Nodes",id:"locking-nodes",level:2},{value:"Copying Properties",id:"copying-properties",level:2},{value:"Ignoring Nodes",id:"ignoring-nodes",level:2}];function h(e){const i={admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.h1,{id:"features",children:"Features"}),"\n",(0,o.jsx)(i.h2,{id:"editing-pixijs-objects",children:"Editing PixiJS Objects"}),"\n",(0,o.jsx)(i.p,{children:"The PixiJS Devtools allows you to edit the properties of PixiJS objects in real-time."}),"\n",(0,o.jsx)(i.p,{children:"You can change the properties of a PixiJS object and see the changes reflected in the scene immediately.\nThis includes properties such as position, scale, rotation, and more."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-properties.gif",alt:"Editing PixiJS objects in the PixiJS Devtools"}),"\n",(0,o.jsxs)(i.admonition,{type:"info",children:[(0,o.jsx)(i.p,{children:"By default pixi properties that do not exist on the object are not shown."}),(0,o.jsxs)(i.p,{children:["For example ",(0,o.jsx)(i.code,{children:"filterArea"})," is not shown in the devtools until it's set on the object in your code."]}),(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-js",children:"const sprite = new Sprite(texture);\nsprite.filterArea = new Rectangle(0, 0, 100, 100);\n"})})]}),"\n",(0,o.jsx)(i.h3,{id:"searching-for-pixijs-objects",children:"Searching for PixiJS Objects"}),"\n",(0,o.jsx)(i.p,{children:"The search feature in the PixiJS Devtools allows you to search for specific PixiJS objects in the scene by their name or other properties,\nmaking it easier to locate and edit objects in complex scenes."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-search.gif",alt:"Searching for PixiJS objects in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h3,{id:"pixi",children:"$pixi"}),"\n",(0,o.jsxs)(i.p,{children:["When a PixiJS object is selected in the PixiJS Devtools, you can access it in the console using the ",(0,o.jsx)(i.code,{children:"$pixi"})," variable."]}),"\n",(0,o.jsx)(i.h2,{id:"overlay-highlight",children:"Overlay Highlight"}),"\n",(0,o.jsx)(i.p,{children:"The overlay feature in the PixiJS Devtools allows you to highlight the bounds of a PixiJS object in the scene.\nThis is useful for debugging layout and alignment issues."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-highlight.gif",alt:"Highlight overlay for the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"selection",children:"Selection"}),"\n",(0,o.jsx)(i.p,{children:"The selection feature in the PixiJS Devtools allows you to select specific PixiJS objects in the scene, enabling focused editing and inspection."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-selection.gif",alt:"Selecting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"stats",children:"Stats"}),"\n",(0,o.jsx)(i.p,{children:"The stats feature in the PixiJS Devtools allows you to view the total number of PixiJS objects in the scene.\nThis can help you identify performance issues and optimize your application."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-stats.gif",alt:"Viewing stats in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"rename-nodes",children:"Rename Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The rename nodes feature in the PixiJS Devtools allows you to rename specific PixiJS objects in the scene,\nwhich is particularly useful for organizing and managing your scene graph."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-rename.gif",alt:"Renaming nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"deleting-nodes",children:"Deleting Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The delete nodes feature in the PixiJS Devtools allows you to delete specific PixiJS objects from the scene, helping you to manage debug your scene graph."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-delete.gif",alt:"Deleting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"reparenting-nodes",children:"Reparenting Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The reparent nodes feature in the PixiJS Devtools allows you to move your PixiJS objects around the scene.\nThis can be useful for debugging layout issues."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-reparent.gif",alt:"Reparenting nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"locking-nodes",children:"Locking Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The lock nodes feature in the PixiJS Devtools allows you to lock specific PixiJS objects in the scene."}),"\n",(0,o.jsx)(i.p,{children:"This means that the node can no longer by edited, moved, deleted, or selected using the selection tool."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-lock.gif",alt:"Locking nodes in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"copying-properties",children:"Copying Properties"}),"\n",(0,o.jsx)(i.p,{children:"The copy properties feature in the PixiJS Devtools allows you to copy specific properties of a PixiJS object and paste them back into your code, saving you time and effort."}),"\n",(0,o.jsx)(c,{src:"/devtools/gif/devtool-copy.gif",alt:"Copying properties in the PixiJS Devtools"}),"\n",(0,o.jsx)(i.hr,{}),"\n",(0,o.jsx)(i.h2,{id:"ignoring-nodes",children:"Ignoring Nodes"}),"\n",(0,o.jsx)(i.p,{children:"The ignore nodes feature in the PixiJS Devtools allows you to hide specific PixiJS objects in the scene.\nThis can be useful when you have a large number of objects in the scene and you are seeing performance issues with the devtools."}),"\n",(0,o.jsx)(i.p,{children:"You have the option to ignore a node and its children, or just its children."}),"\n",(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-js",children:"// Example of ignoring a node\nconst manyChildren = new Container();\nmanyChildren.__devtoolsIgnore = true;\nmanyChildren.__devtoolsIgnoreChildren = true;\n"})}),"\n",(0,o.jsx)(i.admonition,{type:"info",children:(0,o.jsxs)(i.p,{children:["Installing ",(0,o.jsx)(i.code,{children:"@pixi/devtools"})," will automatically add the ",(0,o.jsx)(i.code,{children:"__devtoolsIgnore"})," and ",(0,o.jsx)(i.code,{children:"__devtoolsIgnoreChildren"})," types"]})})]})}function g(e={}){const{wrapper:i}={...(0,t.R)(),...e.components};return i?(0,o.jsx)(i,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1184:(e,i,n)=>{n.d(i,{R:()=>l,x:()=>r});var o=n(4041);const t={},s=o.createContext(t);function l(e){const i=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function r(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),o.createElement(s.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/d12cf10f.844e6a03.js b/assets/js/d12cf10f.844e6a03.js
deleted file mode 100644
index ef75561..0000000
--- a/assets/js/d12cf10f.844e6a03.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[990],{4355:(e,o,n)=>{n.r(o),n.d(o,{CustomLink:()=>h,CustomLinks:()=>p,assets:()=>c,contentTitle:()=>a,default:()=>g,frontMatter:()=>l,metadata:()=>d,toc:()=>u});var t=n(1085),i=n(1184),s=n(4041),r=n(2727);const l={sidebar_position:1,title:"Installation"},a="Installation",d={id:"guide/installation",title:"Installation",description:"hoverLogo = hoverLogo || logo;",source:"@site/docs/guide/installation.mdx",sourceDirName:"guide",slug:"/guide/installation",permalink:"/devtools/docs/guide/installation",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/installation.mdx",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,title:"Installation"},sidebar:"guide",next:{title:"Features",permalink:"/devtools/docs/guide/features"}},c={},h=({logo:e,hoverLogo:o,label:n,href:l,external:a})=>{const d={a:"a",img:"img",...(0,i.R)()},[c,h]=s.useState(!1),{colorMode:p}=(0,r.G)();o=o||e;const u="dark"===p?"var(--ifm-color-primary-darker)":"var(--ifm-color-primary-light)",x={border:"1px solid #f3f4f6",borderRadius:"0.375rem",display:"flex",alignItems:"center",gap:"1rem",padding:"1rem",textDecoration:"none",color:c?"white":"inherit",backgroundColor:c?u:"transparent",borderColor:c?u:"#f3f4f6"};return(0,t.jsxs)(d.a,{href:l,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,style:x,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:[(0,t.jsx)(d.img,{src:c?o:e,alt:n,style:{maxWidth:"2rem",maxHeight:"2rem"}}),n]})},p=({links:e})=>{const o={div:"div",...(0,i.R)()};return(0,t.jsx)(o.div,{style:{display:"flex",flexDirection:"column",gap:"1rem",justifyContent:"center"},children:e.map(((e,o)=>(0,t.jsx)(h,{...e},o)))})},u=[{value:"Extensions",id:"extensions",level:2},{value:"Application Setup",id:"application-setup",level:2},{value:"Automatic Setup",id:"automatic-setup",level:3},{value:"Manual Setup",id:"manual-setup",level:3},{value:"LastRenderedObject",id:"lastrenderedobject",level:3},{value:"Unofficial Setup",id:"unofficial-setup",level:3}];function x(e){const o={admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"installation",children:"Installation"}),"\n",(0,t.jsx)(o.admonition,{title:"PixiJS Support",type:"info",children:(0,t.jsxs)(o.p,{children:["This extension is designed to work with PixiJS ",(0,t.jsx)(o.code,{children:"v7"}),"/",(0,t.jsx)(o.code,{children:"v8"})," applications."]})}),"\n",(0,t.jsx)(o.h2,{id:"extensions",children:"Extensions"}),"\n",(0,t.jsx)(o.p,{children:"Install the PixiJS Devtools extension through the Chrome Web Store, or download the latest release from GitHub."}),"\n",(0,t.jsx)(p,{links:[{label:"Install on Chrome",logo:"/devtools/img/logo-chrome.svg",hoverLogo:"/devtools/img/logo-chrome-light.svg",href:"https://chrome.google.com/webstore/detail/pixijs-devtools/dlkffcaaoccbofklocbjcmppahjjboce",external:!0},{label:"Install latest release",logo:"/devtools/img/logo.svg",hoverLogo:"/devtools/img/logo-light.svg",href:"https://github.com/pixijs/devtools/releases",external:!0}]}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h2,{id:"application-setup",children:"Application Setup"}),"\n",(0,t.jsx)(o.p,{children:"To use the extension, you need to set up the devtool in your application. There are a couple of ways to do this:"}),"\n",(0,t.jsx)(o.h3,{id:"automatic-setup",children:"Automatic Setup"}),"\n",(0,t.jsxs)(o.p,{children:["The preferred method for setting up the devtool is to install the ",(0,t.jsx)(o.code,{children:"@pixi/devtools"})," package."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-bash",children:"npm install @pixi/devtools\n"})}),"\n",(0,t.jsxs)(o.p,{children:["To enable the devtool, you need to configure it with your PixiJS application. This is done by setting the ",(0,t.jsx)(o.code,{children:"app"})," property in the configuration object,\nor you can pass the ",(0,t.jsx)(o.code,{children:"stage"})," and ",(0,t.jsx)(o.code,{children:"renderer"})," properties directly if you are not using the ",(0,t.jsx)(o.code,{children:"Application"})," class."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"import { initDevtools } from '@pixi/devtools';\n\ninitDevtools({ app });\n// or\ninitDevtools({ stage, renderer });\n"})}),"\n",(0,t.jsxs)(o.p,{children:["The benefit of using the ",(0,t.jsx)(o.code,{children:"@pixi/devtools"})," package is that you get TypeScript support for extension development,\nand the package will automatically import ",(0,t.jsx)(o.code,{children:"pixi.js"})," dynamically if you do not provide pixi in the configuration."]}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"manual-setup",children:"Manual Setup"}),"\n",(0,t.jsxs)(o.p,{children:["Alternatively, you can manually set up the devtool by configuring the ",(0,t.jsx)(o.code,{children:"window.__PIXI_DEVTOOLS__"})," object directly."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n app\n};\n"})}),"\n",(0,t.jsxs)(o.p,{children:["If you are not using the PixiJS ",(0,t.jsx)(o.code,{children:"Application"})," class, you can set the ",(0,t.jsx)(o.code,{children:"stage"})," and ",(0,t.jsx)(o.code,{children:"renderer"})," properties directly."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n stage,\n renderer\n};\n"})}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"lastrenderedobject",children:"LastRenderedObject"}),"\n",(0,t.jsxs)(o.p,{children:["If you do not provide a ",(0,t.jsx)(o.code,{children:"stage"})," then the devtool will use the last rendered object as the root of the tree. This is less accurate than providing the ",(0,t.jsx)(o.code,{children:"stage"})," directly,\nso it is recommended to provide the ",(0,t.jsx)(o.code,{children:"stage"})," if possible."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n renderer\n};\n"})}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"unofficial-setup",children:"Unofficial Setup"}),"\n",(0,t.jsxs)(o.p,{children:["Before the PixiJS team released our extension, there was an unofficial ",(0,t.jsx)(o.code,{children:"pixi-inspector"})," extension available. Due to the popularity of this extension we have made an effort to\nmake the same setup work with the our extension."]}),"\n",(0,t.jsx)(o.p,{children:"The setup below is not recommended but is still available for those who are using the other extension."}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_APP__ = app;\n// or\nwindow.__PIXI_STAGE__ = yourContainer;\nwindow.__PIXI_RENDERER__ = yourRenderer;\n"})})]})}function g(e={}){const{wrapper:o}={...(0,i.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(x,{...e})}):x(e)}},1184:(e,o,n)=>{n.d(o,{R:()=>r,x:()=>l});var t=n(4041);const i={},s=t.createContext(i);function r(e){const o=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function l(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(s.Provider,{value:o},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/d12cf10f.bf2fde4b.js b/assets/js/d12cf10f.bf2fde4b.js
new file mode 100644
index 0000000..7dc9df4
--- /dev/null
+++ b/assets/js/d12cf10f.bf2fde4b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[990],{4355:(e,o,n)=>{n.r(o),n.d(o,{CustomLink:()=>h,CustomLinks:()=>p,assets:()=>c,contentTitle:()=>a,default:()=>g,frontMatter:()=>l,metadata:()=>d,toc:()=>u});var t=n(1085),i=n(1184),s=n(4041),r=n(2727);const l={sidebar_position:0,title:"Installation"},a="Installation",d={id:"guide/installation",title:"Installation",description:"hoverLogo = hoverLogo || logo;",source:"@site/docs/guide/installation.mdx",sourceDirName:"guide",slug:"/guide/installation",permalink:"/devtools/docs/guide/installation",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/installation.mdx",tags:[],version:"current",sidebarPosition:0,frontMatter:{sidebar_position:0,title:"Installation"},sidebar:"guide",next:{title:"Scene",permalink:"/devtools/docs/guide/features/scene"}},c={},h=({logo:e,hoverLogo:o,label:n,href:l,external:a})=>{const d={a:"a",img:"img",...(0,i.R)()},[c,h]=s.useState(!1),{colorMode:p}=(0,r.G)();o=o||e;const u="dark"===p?"var(--ifm-color-primary-darker)":"var(--ifm-color-primary-light)",x={border:"1px solid #f3f4f6",borderRadius:"0.375rem",display:"flex",alignItems:"center",gap:"1rem",padding:"1rem",textDecoration:"none",color:c?"white":"inherit",backgroundColor:c?u:"transparent",borderColor:c?u:"#f3f4f6"};return(0,t.jsxs)(d.a,{href:l,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,style:x,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:[(0,t.jsx)(d.img,{src:c?o:e,alt:n,style:{maxWidth:"2rem",maxHeight:"2rem"}}),n]})},p=({links:e})=>{const o={div:"div",...(0,i.R)()};return(0,t.jsx)(o.div,{style:{display:"flex",flexDirection:"column",gap:"1rem",justifyContent:"center"},children:e.map(((e,o)=>(0,t.jsx)(h,{...e},o)))})},u=[{value:"Extensions",id:"extensions",level:2},{value:"Application Setup",id:"application-setup",level:2},{value:"Automatic Setup",id:"automatic-setup",level:3},{value:"Manual Setup",id:"manual-setup",level:3},{value:"LastRenderedObject",id:"lastrenderedobject",level:3},{value:"Unofficial Setup",id:"unofficial-setup",level:3}];function x(e){const o={admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"installation",children:"Installation"}),"\n",(0,t.jsx)(o.admonition,{title:"PixiJS Support",type:"info",children:(0,t.jsxs)(o.p,{children:["This extension is designed to work with PixiJS ",(0,t.jsx)(o.code,{children:"v7"}),"/",(0,t.jsx)(o.code,{children:"v8"})," applications."]})}),"\n",(0,t.jsx)(o.h2,{id:"extensions",children:"Extensions"}),"\n",(0,t.jsx)(o.p,{children:"Install the PixiJS Devtools extension through the Chrome Web Store, or download the latest release from GitHub."}),"\n",(0,t.jsx)(p,{links:[{label:"Install on Chrome",logo:"/devtools/img/logo-chrome.svg",hoverLogo:"/devtools/img/logo-chrome-light.svg",href:"https://chrome.google.com/webstore/detail/pixijs-devtools/dlkffcaaoccbofklocbjcmppahjjboce",external:!0},{label:"Install latest release",logo:"/devtools/img/logo.svg",hoverLogo:"/devtools/img/logo-light.svg",href:"https://github.com/pixijs/devtools/releases",external:!0}]}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h2,{id:"application-setup",children:"Application Setup"}),"\n",(0,t.jsx)(o.p,{children:"To use the extension, you need to set up the devtool in your application. There are a couple of ways to do this:"}),"\n",(0,t.jsx)(o.h3,{id:"automatic-setup",children:"Automatic Setup"}),"\n",(0,t.jsxs)(o.p,{children:["The preferred method for setting up the devtool is to install the ",(0,t.jsx)(o.code,{children:"@pixi/devtools"})," package."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-bash",children:"npm install @pixi/devtools\n"})}),"\n",(0,t.jsxs)(o.p,{children:["To enable the devtool, you need to configure it with your PixiJS application. This is done by setting the ",(0,t.jsx)(o.code,{children:"app"})," property in the configuration object,\nor you can pass the ",(0,t.jsx)(o.code,{children:"stage"})," and ",(0,t.jsx)(o.code,{children:"renderer"})," properties directly if you are not using the ",(0,t.jsx)(o.code,{children:"Application"})," class."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"import { initDevtools } from '@pixi/devtools';\n\ninitDevtools({ app });\n// or\ninitDevtools({ stage, renderer });\n"})}),"\n",(0,t.jsxs)(o.p,{children:["The benefit of using the ",(0,t.jsx)(o.code,{children:"@pixi/devtools"})," package is that you get TypeScript support for extension development,\nand the package will automatically import ",(0,t.jsx)(o.code,{children:"pixi.js"})," dynamically if you do not provide pixi in the configuration."]}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"manual-setup",children:"Manual Setup"}),"\n",(0,t.jsxs)(o.p,{children:["Alternatively, you can manually set up the devtool by configuring the ",(0,t.jsx)(o.code,{children:"window.__PIXI_DEVTOOLS__"})," object directly."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n app\n};\n"})}),"\n",(0,t.jsxs)(o.p,{children:["If you are not using the PixiJS ",(0,t.jsx)(o.code,{children:"Application"})," class, you can set the ",(0,t.jsx)(o.code,{children:"stage"})," and ",(0,t.jsx)(o.code,{children:"renderer"})," properties directly."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n stage,\n renderer\n};\n"})}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"lastrenderedobject",children:"LastRenderedObject"}),"\n",(0,t.jsxs)(o.p,{children:["If you do not provide a ",(0,t.jsx)(o.code,{children:"stage"})," then the devtool will use the last rendered object as the root of the tree. This is less accurate than providing the ",(0,t.jsx)(o.code,{children:"stage"})," directly,\nso it is recommended to provide the ",(0,t.jsx)(o.code,{children:"stage"})," if possible."]}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_DEVTOOLS__ = {\n renderer\n};\n"})}),"\n",(0,t.jsx)(o.hr,{}),"\n",(0,t.jsx)(o.h3,{id:"unofficial-setup",children:"Unofficial Setup"}),"\n",(0,t.jsxs)(o.p,{children:["Before the PixiJS team released our extension, there was an unofficial ",(0,t.jsx)(o.code,{children:"pixi-inspector"})," extension available. Due to the popularity of this extension we have made an effort to\nmake the same setup work with the our extension."]}),"\n",(0,t.jsx)(o.p,{children:"The setup below is not recommended but is still available for those who are using the other extension."}),"\n",(0,t.jsx)(o.pre,{children:(0,t.jsx)(o.code,{className:"language-js",children:"window.__PIXI_APP__ = app;\n// or\nwindow.__PIXI_STAGE__ = yourContainer;\nwindow.__PIXI_RENDERER__ = yourRenderer;\n"})})]})}function g(e={}){const{wrapper:o}={...(0,i.R)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(x,{...e})}):x(e)}},1184:(e,o,n)=>{n.d(o,{R:()=>r,x:()=>l});var t=n(4041);const i={},s=t.createContext(i);function r(e){const o=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function l(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),t.createElement(s.Provider,{value:o},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/e69dd2f0.be96db53.js b/assets/js/e69dd2f0.be96db53.js
new file mode 100644
index 0000000..e6b5be1
--- /dev/null
+++ b/assets/js/e69dd2f0.be96db53.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[874],{7484:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"guide":[{"type":"link","label":"Installation","href":"/devtools/docs/guide/installation","docId":"guide/installation","unlisted":false},{"type":"category","label":"Features","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Scene","href":"/devtools/docs/guide/features/scene","docId":"guide/features/scene","unlisted":false},{"type":"link","label":"Assets","href":"/devtools/docs/guide/features/assets","docId":"guide/features/assets","unlisted":false}]},{"type":"link","label":"F.A.Q","href":"/devtools/docs/guide/faq","docId":"guide/faq","unlisted":false}],"plugin":[{"type":"link","label":"Getting Started","href":"/devtools/docs/plugin/","docId":"plugin/index","unlisted":false},{"type":"category","label":"Scene Extensions","items":[{"type":"link","label":"Properties","href":"/devtools/docs/plugin/properties","docId":"plugin/properties","unlisted":false},{"type":"link","label":"Overlay","href":"/devtools/docs/plugin/overlay","docId":"plugin/overlay","unlisted":false},{"type":"link","label":"Stats","href":"/devtools/docs/plugin/stats","docId":"plugin/stats","unlisted":false},{"type":"link","label":"Tree","href":"/devtools/docs/plugin/tree","docId":"plugin/tree","unlisted":false}],"collapsed":false,"collapsible":false}]},"docs":{"guide/faq":{"id":"guide/faq","title":"F.A.Q","description":"The PixiJS Devtools don\'t show up","sidebar":"guide"},"guide/features/assets":{"id":"guide/features/assets","title":"Assets","description":"The Asset Panel in PixiJS provides a detailed view of all assets currently utilized by your application. This tool is invaluable for monitoring GPU memory usage","sidebar":"guide"},"guide/features/scene":{"id":"guide/features/scene","title":"Scene","description":"The Scene Panel is a powerful tool that allows you to inspect and manipulate the scene graph of your PixiJS application in real-time.","sidebar":"guide"},"guide/installation":{"id":"guide/installation","title":"Installation","description":"hoverLogo = hoverLogo || logo;","sidebar":"guide"},"plugin/index":{"id":"plugin/index","title":"Getting Started","description":"This guide will help you create your own extensions for the devtools.","sidebar":"plugin"},"plugin/overlay":{"id":"plugin/overlay","title":"Overlay","description":"The overlay extension allows you to highlight the bounds of a PixiJS object in the scene. This is useful for debugging layout and alignment issues.","sidebar":"plugin"},"plugin/properties":{"id":"plugin/properties","title":"Properties","description":"The Properties extension enhances the PixiJS Devtools by enabling you to display and edit the properties of any node within the devtools interface. This powerful feature provides flexibility and customization options, allowing you to:","sidebar":"plugin"},"plugin/stats":{"id":"plugin/stats","title":"Stats","description":"The stats extension allows you to provided valuable insights into the current scene by displaying various metrics, such as the number of specific nodes or any other data you wish to track. This tool enhances your ability to monitor and optimize your PixiJS application.","sidebar":"plugin"},"plugin/tree":{"id":"plugin/tree","title":"Tree","description":"The Tree extension allows you to filter and display the scene graph in a tree view. This extension is useful for navigating complex scenes and debugging issues related to the structure of your PixiJS application.","sidebar":"plugin"}}}}')}}]);
\ No newline at end of file
diff --git a/assets/js/e69dd2f0.d2c47ae0.js b/assets/js/e69dd2f0.d2c47ae0.js
deleted file mode 100644
index b8667cb..0000000
--- a/assets/js/e69dd2f0.d2c47ae0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[874],{7484:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"guide":[{"type":"link","label":"Installation","href":"/devtools/docs/guide/installation","docId":"guide/installation","unlisted":false},{"type":"link","label":"Features","href":"/devtools/docs/guide/features","docId":"guide/features","unlisted":false},{"type":"link","label":"F.A.Q","href":"/devtools/docs/guide/faq","docId":"guide/faq","unlisted":false}],"plugin":[{"type":"link","label":"Getting Started","href":"/devtools/docs/plugin/","docId":"plugin/index","unlisted":false},{"type":"category","label":"Scene Extensions","items":[{"type":"link","label":"Properties","href":"/devtools/docs/plugin/properties","docId":"plugin/properties","unlisted":false},{"type":"link","label":"Overlay","href":"/devtools/docs/plugin/overlay","docId":"plugin/overlay","unlisted":false},{"type":"link","label":"Stats","href":"/devtools/docs/plugin/stats","docId":"plugin/stats","unlisted":false},{"type":"link","label":"Tree","href":"/devtools/docs/plugin/tree","docId":"plugin/tree","unlisted":false}],"collapsed":false,"collapsible":false}]},"docs":{"guide/faq":{"id":"guide/faq","title":"F.A.Q","description":"The PixiJS Devtools don\'t show up","sidebar":"guide"},"guide/features":{"id":"guide/features","title":"Features","description":"Editing PixiJS Objects","sidebar":"guide"},"guide/installation":{"id":"guide/installation","title":"Installation","description":"hoverLogo = hoverLogo || logo;","sidebar":"guide"},"plugin/index":{"id":"plugin/index","title":"Getting Started","description":"This guide will help you create your own extensions for the devtools.","sidebar":"plugin"},"plugin/overlay":{"id":"plugin/overlay","title":"Overlay","description":"The overlay extension allows you to highlight the bounds of a PixiJS object in the scene. This is useful for debugging layout and alignment issues.","sidebar":"plugin"},"plugin/properties":{"id":"plugin/properties","title":"Properties","description":"The Properties extension enhances the PixiJS Devtools by enabling you to display and edit the properties of any node within the devtools interface. This powerful feature provides flexibility and customization options, allowing you to:","sidebar":"plugin"},"plugin/stats":{"id":"plugin/stats","title":"Stats","description":"The stats extension allows you to provided valuable insights into the current scene by displaying various metrics, such as the number of specific nodes or any other data you wish to track. This tool enhances your ability to monitor and optimize your PixiJS application.","sidebar":"plugin"},"plugin/tree":{"id":"plugin/tree","title":"Tree","description":"The Tree extension allows you to filter and display the scene graph in a tree view. This extension is useful for navigating complex scenes and debugging issues related to the structure of your PixiJS application.","sidebar":"plugin"}}}}')}}]);
\ No newline at end of file
diff --git a/assets/js/ff0a531e.a161f894.js b/assets/js/ff0a531e.a161f894.js
new file mode 100644
index 0000000..108204e
--- /dev/null
+++ b/assets/js/ff0a531e.a161f894.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[524],{908:(e,t,s)=>{s.r(t),s.d(t,{Gif:()=>d,assets:()=>l,contentTitle:()=>o,default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var i=s(1085),n=s(1184);s(4041);const r={sidebar_position:1,title:"Assets"},o="Asset Panel",a={id:"guide/features/assets",title:"Assets",description:"The Asset Panel in PixiJS provides a detailed view of all assets currently utilized by your application. This tool is invaluable for monitoring GPU memory usage",source:"@site/docs/guide/features/assets.mdx",sourceDirName:"guide/features",slug:"/guide/features/assets",permalink:"/devtools/docs/guide/features/assets",draft:!1,unlisted:!1,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/docs/guide/features/assets.mdx",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,title:"Assets"},sidebar:"guide",previous:{title:"Scene",permalink:"/devtools/docs/guide/features/scene"},next:{title:"F.A.Q",permalink:"/devtools/docs/guide/faq"}},l={},d=({src:e,alt:t})=>{const s={div:"div",img:"img",...(0,n.R)()};return(0,i.jsx)(s.div,{style:{display:"flex",justifyContent:"center",padding:"2rem 4rem",paddingTop:"1rem"},children:(0,i.jsx)(s.img,{src:e,alt:t,style:{maxWidth:"100%",borderRadius:"0.5rem",border:"1px solid #676767"}})})},u=[{value:"Texture Inspection",id:"texture-inspection",level:2},{value:"Texture Search",id:"texture-search",level:2},{value:"Texture Sorting",id:"texture-sorting",level:2}];function c(e){const t={h1:"h1",h2:"h2",p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.h1,{id:"asset-panel",children:"Asset Panel"}),"\n",(0,i.jsx)(t.p,{children:"The Asset Panel in PixiJS provides a detailed view of all assets currently utilized by your application. This tool is invaluable for monitoring GPU memory usage\nand identifying which textures are loaded onto the GPU."}),"\n",(0,i.jsx)(t.p,{children:"By visualizing your assets, the Asset Panel becomes a powerful resource for debugging and optimizing your PixiJS application. It helps you detect and remove\nunused assets that are still loaded on the GPU, ensuring efficient memory usage and improved performance."}),"\n",(0,i.jsx)(t.h2,{id:"texture-inspection",children:"Texture Inspection"}),"\n",(0,i.jsx)(t.p,{children:"The Asset Panel displays all textures currently loaded onto the GPU. You can view the texture's dimensions, format, and memory usage. The panel also provides\na preview of the texture, making it easy to identify the asset."}),"\n",(0,i.jsx)(d,{src:"/devtools/gif/devtool-asset-selection.gif",alt:"Selecting texture"}),"\n",(0,i.jsx)(t.h2,{id:"texture-search",children:"Texture Search"}),"\n",(0,i.jsx)(t.p,{children:"The Asset Panel includes a search feature that allows you to quickly find a specific texture."}),"\n",(0,i.jsx)(d,{src:"/devtools/gif/devtool-asset-search.gif",alt:"Searching for texture"}),"\n",(0,i.jsx)(t.h2,{id:"texture-sorting",children:"Texture Sorting"}),"\n",(0,i.jsx)(t.p,{children:"You can sort the textures in the Asset Panel by various criteria, such as memory usage or dimensions. This feature helps you identify large textures that may\nbe impacting your application's performance."}),"\n",(0,i.jsx)(d,{src:"/devtools/gif/devtool-asset-sorting.gif",alt:"Sorting textures"})]})}function p(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},1184:(e,t,s)=>{s.d(t,{R:()=>o,x:()=>a});var i=s(4041);const n={},r=i.createContext(n);function o(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/assets/js/main.30236a31.js b/assets/js/main.30236a31.js
new file mode 100644
index 0000000..aff7f21
--- /dev/null
+++ b/assets/js/main.30236a31.js
@@ -0,0 +1,2 @@
+/*! For license information please see main.30236a31.js.LICENSE.txt */
+(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[792],{8415:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(4041),o=n(1085);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},7059:(e,t,n)=>{"use strict";var r=n(4041),o=n(5873),a=n(2004),i=n(3664),l=n(4784),s=n(9531);const u=[n(1255),n(2200),n(5268),n(5080)];var c=n(7694),d=n(6090),p=n(8150),f=n(1085);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(9058),h=n(396),y=n(5215),b=n(2520),v=n(145),w=n(1893),k=n(9924),x=n(7789),S=n(2102),E=n(6613);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.A)(),r=(0,w.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(g.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.applyTrailingSlash)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function A(){const{i18n:{currentLocale:e}}=(0,h.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(_,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.A,{tag:x.Cy,locale:e}),(0,f.jsx)(g.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;var j=n(8415),N=n(4553),L=n(3351);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r Your Docusaurus site did not load properly. A very common reason is a wrong site baseUrl configuration. Current configured baseUrl = ${e} ${"/"===e?" (default value)":""} We suggest trying baseUrl = {const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(Q(t,e)),o=(0,c.useRef)(),a=(0,c.useRef)();return(0,c.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(Q(t,e)))}),[e,t]),n})(a,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof o&&(l.style=S(S({},l.style||{}),o)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.A)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(l.style=S(S({},l.style||{}),a)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:u,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||A,theme:e.theme||U,code:e.code,language:e.language}))},7730:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"PixiJS Devtools",tagline:"Browser devtools extension for debugging PixiJS applications",favicon:"img/favicon.png",url:"https://pixijs.io",baseUrl:"/devtools/",organizationName:"pixijs",projectName:"devtools",deploymentBranch:"gh-pages",trailingSlash:!0,onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/"},blog:{showReadingTime:!0,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/ogimage.jpg",colorMode:{defaultMode:"dark",disableSwitch:!0,respectPrefersColorScheme:!1},navbar:{title:"Devtools",logo:{alt:"PixiJS Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"guide",position:"left",label:"Guide"},{type:"docSidebar",sidebarId:"plugin",position:"left",label:"Extensions"},{href:"https://opencollective.com/pixijs",className:"header-link header-open-col-link","aria-label":"Open Collective",position:"right"},{href:"https://twitter.com/pixijs",position:"right",className:"header-link header-twitter-link","aria-label":"Twitter account"},{href:"https://discord.gg/CPTjeb28nH",position:"right",className:"header-link header-discord-link","aria-label":"Discord server"},{href:"https://github.com/pixijs/devtools",position:"right",className:"header-link header-github-link","aria-label":"GitHub repository"}],hideOnScroll:!1},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/devtools/docs/-dc9":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/devtools/docs/-01f":{"__comp":"a7bd4aaa","__props":"e69dd2f0"},"/devtools/docs/-509":{"__comp":"a94703ab"},"/devtools/docs/guide/faq/-d19":{"__comp":"17896441","content":"4a148559"},"/devtools/docs/guide/features/assets/-dbc":{"__comp":"17896441","content":"ff0a531e"},"/devtools/docs/guide/features/scene/-10f":{"__comp":"17896441","content":"5a4245e4"},"/devtools/docs/guide/installation/-4db":{"__comp":"17896441","content":"d12cf10f"},"/devtools/docs/plugin/-0cd":{"__comp":"17896441","content":"03adb305"},"/devtools/docs/plugin/overlay/-836":{"__comp":"17896441","content":"5bb1b958"},"/devtools/docs/plugin/properties/-93a":{"__comp":"17896441","content":"e996f0d2"},"/devtools/docs/plugin/stats/-9f4":{"__comp":"17896441","content":"ee162cae"},"/devtools/docs/plugin/tree/-038":{"__comp":"17896441","content":"a2dc670e"},"/devtools/-b6e":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[869],(()=>{return t=7059,e(e.s=t);var t}));e.O()}]);
\ No newline at end of file
diff --git a/assets/js/main.f08e5992.js.LICENSE.txt b/assets/js/main.30236a31.js.LICENSE.txt
similarity index 100%
rename from assets/js/main.f08e5992.js.LICENSE.txt
rename to assets/js/main.30236a31.js.LICENSE.txt
diff --git a/assets/js/main.f08e5992.js b/assets/js/main.f08e5992.js
deleted file mode 100644
index e2fce35..0000000
--- a/assets/js/main.f08e5992.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see main.f08e5992.js.LICENSE.txt */
-(self.webpackChunk_devtool_docs=self.webpackChunk_devtool_docs||[]).push([[792],{8415:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(4041),o=n(1085);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},7059:(e,t,n)=>{"use strict";var r=n(4041),o=n(5873),a=n(2004),i=n(3664),l=n(4784),s=n(9531);const u=[n(1255),n(2200),n(5268),n(5080)];var c=n(7694),d=n(6090),p=n(8150),f=n(1085);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var g=n(9058),h=n(396),y=n(5215),b=n(2520),v=n(145),w=n(1893),k=n(9924),x=n(7789),S=n(2102),E=n(6613);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.A)(),r=(0,w.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(g.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function _(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.applyTrailingSlash)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function A(){const{i18n:{currentLocale:e}}=(0,h.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(g.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(_,{}),(0,f.jsx)(C,{}),(0,f.jsx)(E.A,{tag:x.Cy,locale:e}),(0,f.jsx)(g.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;var j=n(8415),N=n(4553),L=n(3351);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r Your Docusaurus site did not load properly. A very common reason is a wrong site baseUrl configuration. Current configured baseUrl = ${e} ${"/"===e?" (default value)":""} We suggest trying baseUrl = {const a=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,c.useState)(Q(t,e)),o=(0,c.useRef)(),a=(0,c.useRef)();return(0,c.useEffect)((()=>{t===o.current&&e===a.current||(o.current=t,a.current=e,r(Q(t,e)))}),[e,t]),n})(a,r),l=(e=>(0,c.useCallback)((t=>{var n=t,{className:r,style:o,line:a}=n,i=C(n,["className","style","line"]);const l=E(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(l.style=e.plain),"object"==typeof o&&(l.style=S(S({},l.style||{}),o)),l}),[e]))(i),s=(e=>{const t=(0,c.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,c.useCallback)((e=>{var n=e,{token:r,className:o,style:a}=n,i=C(n,["token","className","style"]);const l=E(S({},i),{className:(0,d.A)("token",...r.types,o),children:r.content,style:t(r)});return null!=a&&(l.style=S(S({},l.style||{}),a)),l}),[t])})(i),u=(({prism:e,code:t,grammar:n,language:r})=>{const o=(0,c.useRef)(e);return(0,c.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return o.current.hooks.run("before-tokenize",e),e.tokens=o.current.tokenize(t,n),o.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:o,language:a,code:n,grammar:o.languages[a]});return e({tokens:u,className:`prism-code language-${a}`,style:null!=i?i.root:{},getLineProps:l,getTokenProps:s})},ee=e=>(0,c.createElement)(J,E(S({},e),{prism:e.prism||A,theme:e.theme||U,code:e.code,language:e.language}))},7730:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=!0,o="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,a=n?"".concat(o,": ").concat(n):o;throw new Error(a)}}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"PixiJS Devtools",tagline:"Browser devtools extension for debugging PixiJS applications",favicon:"img/favicon.png",url:"https://pixijs.io",baseUrl:"/devtools/",organizationName:"pixijs",projectName:"devtools",deploymentBranch:"gh-pages",trailingSlash:!0,onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/"},blog:{showReadingTime:!0,editUrl:"https://github.com/pixijs/devtools/tree/main/packages/docs/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/ogimage.jpg",colorMode:{defaultMode:"dark",disableSwitch:!0,respectPrefersColorScheme:!1},navbar:{title:"Devtools",logo:{alt:"PixiJS Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"guide",position:"left",label:"Guide"},{type:"docSidebar",sidebarId:"plugin",position:"left",label:"Extensions"},{href:"https://opencollective.com/pixijs",className:"header-link header-open-col-link","aria-label":"Open Collective",position:"right"},{href:"https://twitter.com/pixijs",position:"right",className:"header-link header-twitter-link","aria-label":"Twitter account"},{href:"https://discord.gg/CPTjeb28nH",position:"right",className:"header-link header-discord-link","aria-label":"Discord server"},{href:"https://github.com/pixijs/devtools",position:"right",className:"header-link header-github-link","aria-label":"GitHub repository"}],hideOnScroll:!1},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,future:{experimental_storage:{type:"localStorage",namespace:!1},experimental_router:"browser"},onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0},anchors:{maintainCase:!1}}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/devtools/docs/-4f2":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/devtools/docs/-1de":{"__comp":"a7bd4aaa","__props":"e69dd2f0"},"/devtools/docs/-022":{"__comp":"a94703ab"},"/devtools/docs/guide/faq/-d19":{"__comp":"17896441","content":"4a148559"},"/devtools/docs/guide/features/-263":{"__comp":"17896441","content":"8b0130ea"},"/devtools/docs/guide/installation/-4db":{"__comp":"17896441","content":"d12cf10f"},"/devtools/docs/plugin/-0cd":{"__comp":"17896441","content":"03adb305"},"/devtools/docs/plugin/overlay/-836":{"__comp":"17896441","content":"5bb1b958"},"/devtools/docs/plugin/properties/-93a":{"__comp":"17896441","content":"e996f0d2"},"/devtools/docs/plugin/stats/-9f4":{"__comp":"17896441","content":"ee162cae"},"/devtools/docs/plugin/tree/-038":{"__comp":"17896441","content":"a2dc670e"},"/devtools/-b6e":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[869],(()=>{return t=7059,e(e.s=t);var t}));e.O()}]);
\ No newline at end of file
diff --git a/assets/js/runtime~main.44bead55.js b/assets/js/runtime~main.44bead55.js
new file mode 100644
index 0000000..9cd9c7c
--- /dev/null
+++ b/assets/js/runtime~main.44bead55.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,t,r,a,o,n={},d={};function f(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=n,f.c=d,e=[],f.O=(t,r,a,o)=>{if(!r){var n=1/0;for(l=0;l{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!d&&Ne.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Le,{onClick:i.toggle}),(0,c.jsx)(je,{})]})}var Pe=n(2102);const Oe={errorBoundaryError:"errorBoundaryError_FiLL",errorBoundaryFallback:"errorBoundaryFallback_lv4I"};function De(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ie(e){let{error:t}=e;const n=(0,Pe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Oe.errorBoundaryError,children:n})}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Fe="right";function ze(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,j.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_Hg9V"};function Ue(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Me,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(Ce,{...e})},t)))})}function qe(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,j.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Fe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(qe,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Be,{}),(0,c.jsx)(Q,{}),(0,c.jsx)(Ue,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ue,{items:r}),(0,c.jsx)(V,{className:$e.colorModeToggle}),!o&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.A,{})})]})})}function Ge(){return(0,c.jsx)(Re,{children:(0,c.jsx)(He,{})})}function Ve(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,l=(0,X.Ay)(n),s=(0,X.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:a?s:r}:{to:l},...i,children:[o,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function We(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(Ve,{item:t})},t.href??t.to)}function Qe(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(We,{item:e},t)))})]})}function Ke(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(Qe,{column:e},t)))})}function Ye(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ze(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(Ve,{item:t})}function Xe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Ze,{item:e}),t.length!==n+1&&(0,c.jsx)(Ye,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ke,{columns:t}):(0,c.jsx)(Xe,{links:t})}var et=n(1220);const tt={footerLogoLink:"footerLogoLink_zxYv"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(et.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,c.jsx)(nt,{logo:t})}):(0,c.jsx)(nt,{logo:t})}function ot(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function at(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function it(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(at,{style:o,links:n&&n.length>0&&(0,c.jsx)(Je,{links:n}),logo:r&&(0,c.jsx)(rt,{logo:r}),copyright:t&&(0,c.jsx)(ot,{copyright:t})})}const lt=r.memo(it),st=(0,L.fM)([F.a,k.o,N.Tv,xe.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(R.y_,{children:(0,c.jsx)(j.e,{children:(0,c.jsx)(O,{children:t})})})}]);function ut(e){let{children:t}=e;return(0,c.jsx)(st,{children:t})}var ct=n(4441);function dt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(ct.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(De,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Ie,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_UyTV"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.J)(),(0,c.jsxs)(ut,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(T,{}),(0,c.jsx)(Ge,{}),(0,c.jsx)("div",{id:d,className:(0,o.A)(h.G.wrapper.main,pt.mainWrapper,r),children:(0,c.jsx)(a.A,{fallback:e=>(0,c.jsx)(dt,{...e}),children:t})}),!n&&(0,c.jsx)(lt,{})]})}},1631:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(4041);var r=n(2436),o=n(5215),a=n(396),i=n(2520),l=n(1220),s=n(1085);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Ay)(t.src),dark:(0,o.Ay)(t.srcDark||t.src)},i=(0,s.jsx)(l.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,a.A)(),{navbar:{title:n,logo:l}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,o.Ay)(l?.href||"/"),m=n?"":t,g=l?.alt??m;return(0,s.jsxs)(r.A,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:g,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},6613:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(4041);var r=n(9058),o=n(1085);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.A,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},1220:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4041),o=n(4357),a=n(213),i=n(2727);const l={themedComponent:"themedComponent_DHUr","themedComponent--light":"themedComponent--light_DIHH","themedComponent--dark":"themedComponent--dark_Bv2M"};var s=n(1085);function u(e){let{className:t,children:n}=e;const u=(0,a.A)(),{colorMode:c}=(0,i.G)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},6476:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(4041),o=n(9531),a=n(3351),i=n(2631),l=n(1085);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.A.canUseDOM)return e?c:d}function g(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:a}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:o})}function h(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&u(t)}),[o,t]),o?(0,l.jsx)(g,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?h:g;return(0,l.jsx)(r,{...n})}},9303:(e,t,n)=>{"use strict";n.d(t,{M:()=>g,o:()=>m});var r=n(4041),o=n(213),a=n(8821),i=n(1786),l=n(2520),s=n(1085);const u=(0,a.Wf)("docusaurus.announcement.dismiss"),c=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},2727:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>h});var r=n(4041),o=n(9531),a=n(1786),i=n(8821),l=n(2520),s=n(1085);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&g(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},9599:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>v});var r=n(4041),o=n(8016),a=n(467),i=n(2520),l=n(5096),s=n(1786),u=n(8821),c=n(1085);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function g(){const e=(0,o.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=g();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.C5?(0,c.jsx)(h,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},7186:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4041),o=n(1786),a=n(1085);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},6738:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(4041),o=n(1786),a=n(1085);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},2106:(e,t,n)=>{"use strict";n.d(t,{e:()=>f,M:()=>m});var r=n(4041),o=n(7226),a=n(1187),i=n(6090),l=n(1786);function s(e){!function(e){const t=(0,i.W6)(),n=(0,l._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(2520),c=n(1085);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,u.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=p();return(0,c.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},7226:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(4041),o=n(1786),a=n(1085);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,l]=a,s=(0,o.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9924:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(4041);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},1187:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(4041),o=n(9531);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!o.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7473:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},2631:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},5096:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>f,w8:()=>h,C5:()=>p,B5:()=>E,Vd:()=>k,QB:()=>S,fW:()=>x,OF:()=>w,Y:()=>b});var r=n(4041),o=n(6090),a=n(8150),i=n(8016),l=n(9599),s=n(6738),u=n(7186);function c(e){return Array.from(new Set(e))}var d=n(4271);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),g=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||g(e.items,t))}function y(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function w(){const e=(0,u.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),o=(0,i.r7)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,s.r)(),i=t.routes,l=i.find((e=>(0,o.B6)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.v)(i),sidebarName:u,sidebarItems:c}}},145:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(4041),o=n(4357),a=n(9058),i=n(4720);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(5215),u=n(396);var c=n(1085);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.hH)(),p=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,o.A)(i,t);return(0,c.jsxs)(p.Provider,{value:l,children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,o.A)(r,a),children:t})}},1786:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(4041),o=n(3351),a=n(1085);function i(e){const t=(0,r.useRef)(e);return(0,o.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.A)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?.comment
can become .namespace--comment
) or replace them with your defined ones (like .editor__comment
). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll
and highlightAllUnder
methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2677:(e,t,n)=>{const r=n(1750),o=n(4275),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(7850).resolve(t)],delete Prism.languages[e],n(7850)(t),a.add(e)}))}i.silent=!1,e.exports=i},1803:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s{"use strict";e.exports=n(4304)},1085:(e,t,n)=>{"use strict";e.exports=n(3335)},2568:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(A),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]/g,(function(){return n})).replace(/*\/?)?>/.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(/{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!d&&Ne.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Le,{onClick:i.toggle}),(0,c.jsx)(je,{})]})}var Pe=n(2102);const Oe={errorBoundaryError:"errorBoundaryError_FiLL",errorBoundaryFallback:"errorBoundaryFallback_lv4I"};function De(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ie(e){let{error:t}=e;const n=(0,Pe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Oe.errorBoundaryError,children:n})}class Me extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Fe="right";function ze(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,j.M)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_Hg9V"};function Ue(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Me,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(Ce,{...e})},t)))})}function qe(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,j.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Fe)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(qe,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Be,{}),(0,c.jsx)(Q,{}),(0,c.jsx)(Ue,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ue,{items:r}),(0,c.jsx)(V,{className:$e.colorModeToggle}),!o&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.A,{})})]})})}function Ge(){return(0,c.jsx)(Re,{children:(0,c.jsx)(He,{})})}function Ve(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,l=(0,X.Ay)(n),s=(0,X.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Z.A,{className:"footer__link-item",...r?{href:a?s:r}:{to:l},...i,children:[o,r&&!(0,J.A)(r)&&(0,c.jsx)(te.A,{})]})}function We(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(Ve,{item:t})},t.href??t.to)}function Qe(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(We,{item:e},t)))})]})}function Ke(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(Qe,{column:e},t)))})}function Ye(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ze(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(Ve,{item:t})}function Xe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Ze,{item:e}),t.length!==n+1&&(0,c.jsx)(Ye,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ke,{columns:t}):(0,c.jsx)(Xe,{links:t})}var et=n(1220);const tt={footerLogoLink:"footerLogoLink_zxYv"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(et.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,c.jsx)(Z.A,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,c.jsx)(nt,{logo:t})}):(0,c.jsx)(nt,{logo:t})}function ot(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function at(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function it(){const{footer:e}=(0,w.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(at,{style:o,links:n&&n.length>0&&(0,c.jsx)(Je,{links:n}),logo:r&&(0,c.jsx)(rt,{logo:r}),copyright:t&&(0,c.jsx)(ot,{copyright:t})})}const lt=r.memo(it),st=(0,L.fM)([F.a,k.o,N.Tv,xe.VQ,i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(R.y_,{children:(0,c.jsx)(j.e,{children:(0,c.jsx)(O,{children:t})})})}]);function ut(e){let{children:t}=e;return(0,c.jsx)(st,{children:t})}var ct=n(4441);function dt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(ct.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(De,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Ie,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_UyTV"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.J)(),(0,c.jsxs)(ut,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(T,{}),(0,c.jsx)(Ge,{}),(0,c.jsx)("div",{id:d,className:(0,o.A)(h.G.wrapper.main,pt.mainWrapper,r),children:(0,c.jsx)(a.A,{fallback:e=>(0,c.jsx)(dt,{...e}),children:t})}),!n&&(0,c.jsx)(lt,{})]})}},1631:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(4041);var r=n(2436),o=n(5215),a=n(396),i=n(2520),l=n(1220),s=n(1085);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Ay)(t.src),dark:(0,o.Ay)(t.srcDark||t.src)},i=(0,s.jsx)(l.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,a.A)(),{navbar:{title:n,logo:l}}=(0,i.p)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,o.Ay)(l?.href||"/"),m=n?"":t,g=l?.alt??m;return(0,s.jsxs)(r.A,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:g,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},6613:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(4041);var r=n(9058),o=n(1085);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.A,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},1220:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(4041),o=n(4357),a=n(213),i=n(2727);const l={themedComponent:"themedComponent_DHUr","themedComponent--light":"themedComponent--light_DIHH","themedComponent--dark":"themedComponent--dark_Bv2M"};var s=n(1085);function u(e){let{className:t,children:n}=e;const u=(0,a.A)(),{colorMode:c}=(0,i.G)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},6476:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>u});var r=n(4041),o=n(9531),a=n(3351),i=n(2631),l=n(1085);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.A.canUseDOM)return e?c:d}function g(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:a}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:o})}function h(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&u(t)}),[o,t]),o?(0,l.jsx)(g,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?h:g;return(0,l.jsx)(r,{...n})}},9303:(e,t,n)=>{"use strict";n.d(t,{M:()=>g,o:()=>m});var r=n(4041),o=n(213),a=n(8821),i=n(1786),l=n(2520),s=n(1085);const u=(0,a.Wf)("docusaurus.announcement.dismiss"),c=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},2727:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>h});var r=n(4041),o=n(9531),a=n(1786),i=n(8821),l=n(2520),s=n(1085);const u=r.createContext(void 0),c="theme",d=(0,i.Wf)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&g(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},9599:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>v});var r=n(4041),o=n(8016),a=n(467),i=n(2520),l=n(5096),s=n(1786),u=n(8821),c=n(1085);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function g(){const e=(0,o.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=g();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.C5?(0,c.jsx)(h,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},7186:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4041),o=n(1786),a=n(1085);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},6738:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,r:()=>s});var r=n(4041),o=n(1786),a=n(1085);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},2106:(e,t,n)=>{"use strict";n.d(t,{e:()=>f,M:()=>m});var r=n(4041),o=n(7226),a=n(1187),i=n(6090),l=n(1786);function s(e){!function(e){const t=(0,i.W6)(),n=(0,l._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(2520),c=n(1085);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,u.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=p();return(0,c.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},7226:(e,t,n)=>{"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(4041),o=n(1786),a=n(1085);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,l]=a,s=(0,o.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9924:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(4041);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},1187:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(4041),o=n(9531);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!o.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7473:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},2631:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},5096:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>f,w8:()=>h,C5:()=>p,B5:()=>E,Vd:()=>k,QB:()=>S,fW:()=>x,OF:()=>w,Y:()=>b});var r=n(4041),o=n(6090),a=n(8150),i=n(8016),l=n(9599),s=n(6738),u=n(7186);function c(e){return Array.from(new Set(e))}var d=n(4271);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),g=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||g(e.items,t))}function y(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function w(){const e=(0,u.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),o=(0,i.r7)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,s.r)(),i=t.routes,l=i.find((e=>(0,o.B6)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.v)(i),sidebarName:u,sidebarItems:c}}},145:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(4041),o=n(4357),a=n(9058),i=n(4720);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(5215),u=n(396);var c=n(1085);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.hH)(),p=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,o.A)(i,t);return(0,c.jsxs)(p.Provider,{value:l,children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,o.A)(r,a),children:t})}},1786:(e,t,n)=>{"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(4041),o=n(3351),a=n(1085);function i(e){const t=(0,r.useRef)(e);return(0,o.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.A)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?.comment
can become .namespace--comment
) or replace them with your defined ones (like .editor__comment
). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll
and highlightAllUnder
methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2677:(e,t,n)=>{const r=n(1750),o=n(4275),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(7850).resolve(t)],delete Prism.languages[e],n(7850)(t),a.add(e)}))}i.silent=!1,e.exports=i},1803:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s{"use strict";e.exports=n(4304)},1085:(e,t,n)=>{"use strict";e.exports=n(3335)},2568:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(A),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]/g,(function(){return n})).replace(/*\/?)?>/.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(/