diff --git a/404.html b/404.html index 8379c282..0b2844a7 100644 --- a/404.html +++ b/404.html @@ -4,10 +4,10 @@ Page Not Found | Fhenix - - + + -
Skip to main content

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.

+
Skip to main content

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.

\ No newline at end of file diff --git a/assets/js/1fe64db5.9e0d0498.js b/assets/js/1fe64db5.9f4eb7c9.js similarity index 97% rename from assets/js/1fe64db5.9e0d0498.js rename to assets/js/1fe64db5.9f4eb7c9.js index 9400631a..b2fd6592 100644 --- a/assets/js/1fe64db5.9e0d0498.js +++ b/assets/js/1fe64db5.9f4eb7c9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkfhenix_docs=self.webpackChunkfhenix_docs||[]).push([[1232],{9659:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>o,metadata:()=>d,toc:()=>u});var r=t(4848),s=t(8453),i=t(1470),a=t(9365);const o={sidebar_position:1,description:"Installation of contracts and creation of a basic contract"},c="\ud83d\udc24 Getting Started",d={id:"devdocs/Writing Smart Contracts/FHE-sol",title:"\ud83d\udc24 Getting Started",description:"Installation of contracts and creation of a basic contract",source:"@site/docs/devdocs/Writing Smart Contracts/FHE-sol.mdx",sourceDirName:"devdocs/Writing Smart Contracts",slug:"/devdocs/Writing Smart Contracts/FHE-sol",permalink:"/docs/devdocs/Writing Smart Contracts/FHE-sol",draft:!1,unlisted:!1,editUrl:"https://github.com/fhenixprotocol/fhenix-docs/tree/main/docs/devdocs/Writing Smart Contracts/FHE-sol.mdx",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"Installation of contracts and creation of a basic contract"},sidebar:"docsSidebar",previous:{title:"FHE Contracts",permalink:"/docs/category/fhe-contracts"},next:{title:"\ud83d\udc49 Inputs",permalink:"/docs/devdocs/Writing Smart Contracts/User-Inputs"}},l={},u=[{value:"Installation",id:"installation",level:2},{value:"Usage",id:"usage",level:2},{value:"Key Concepts and Types",id:"key-concepts-and-types",level:3},{value:"euintxx - Encrypted Unsigned Integers",id:"euintxx---encrypted-unsigned-integers",level:3},{value:"ebool - Encrypted Boolean",id:"ebool---encrypted-boolean",level:3},{value:"eaddress - Encrypted Address",id:"eaddress---encrypted-address",level:3},{value:"inEuintxx - Input Encrypted Unsigned Integers",id:"ineuintxx---input-encrypted-unsigned-integers",level:3},{value:"inEbool - Input Encrypted Boolean",id:"inebool---input-encrypted-boolean",level:3},{value:"inEaddress - Input Encrypted Address",id:"ineaddress---input-encrypted-address",level:3},{value:"Core Functions of FHE.sol",id:"core-functions-of-fhesol",level:2},{value:"asEuint - Convert to Encrypted Unsigned Integer",id:"aseuint---convert-to-encrypted-unsigned-integer",level:3},{value:"asEbool - Convert to Encrypted Unsigned Integer",id:"asebool---convert-to-encrypted-unsigned-integer",level:3},{value:"asEaddress - Convert to Encrypted Unsigned Integer",id:"aseaddress---convert-to-encrypted-unsigned-integer",level:3},{value:"decrypt - Decrypt Encrypted Data",id:"decrypt---decrypt-encrypted-data",level:3},{value:"Arithmetic Operations",id:"arithmetic-operations",level:3},{value:"Comparison Operations",id:"comparison-operations",level:3},{value:"Example Use Cases",id:"example-use-cases",level:2},{value:"Encrypting a Value",id:"encrypting-a-value",level:3},{value:"Decrypting a Value",id:"decrypting-a-value",level:3},{value:"Performing Encrypted Arithmetic",id:"performing-encrypted-arithmetic",level:3},{value:"Conditional Logic with Encrypted Values",id:"conditional-logic-with-encrypted-values",level:3},{value:"Integrating FHE into Smart Contracts",id:"integrating-fhe-into-smart-contracts",level:2}];function p(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"-getting-started",children:"\ud83d\udc24 Getting Started"}),"\n",(0,r.jsxs)(n.p,{children:["A core component of the Fhenix ecosystem is the ",(0,r.jsx)(n.code,{children:"FHE.sol"})," Solidity library."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"FHE.sol"})," is a Solidity library designed to facilitate the use of Fully Homomorphic Encryption (FHE) within Ethereum smart contracts. FHE enables computations to be performed on encrypted data (ciphertexts) without needing to decrypt them first. The results of such computations, when decrypted, are identical to what would have been obtained if the operations had been performed on the unencrypted data (plaintexts)."]}),"\n",(0,r.jsxs)(n.p,{children:["A full list and description of Fhenix functions are provided in ",(0,r.jsx)(n.a,{href:"/docs/devdocs/Solidity%20API/FHE",children:"FHE.sol documentation"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,r.jsxs)(n.p,{children:["To get started with ",(0,r.jsx)(n.code,{children:"FHE.sol"}),", first install FHE.sol as a dependency in your Solidity project. Do this using npm, yarn or pnpm. Open the terminal and navigate to the project's directory. Now, run one of the following:"]}),"\n",(0,r.jsxs)(i.A,{children:[(0,r.jsx)(a.A,{value:"npm",label:"npm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm install @fhenixprotocol/contracts;\n"})})}),(0,r.jsx)(a.A,{value:"yarn",label:"yarn",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"yarn install @fhenixprotocol/contracts;\n"})})}),(0,r.jsx)(a.A,{value:"pnpm",label:"pnpm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"pnpm install @fhenixprotocol/contracts;\n"})})})]}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"key-concepts-and-types",children:"Key Concepts and Types"}),"\n",(0,r.jsxs)(n.h3,{id:"euintxx---encrypted-unsigned-integers",children:[(0,r.jsx)(n.code,{children:"euintxx"})," - Encrypted Unsigned Integers"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted unsigned integer. This type is used for encrypted variables within smart contracts.\nThe currently supported types are: ",(0,r.jsx)(n.code,{children:"euint8"}),", ",(0,r.jsx)(n.code,{children:"euint16"}),", ",(0,r.jsx)(n.code,{children:"euint32"}),", ",(0,r.jsx)(n.code,{children:"euint64"}),", ",(0,r.jsx)(n.code,{children:"euint128"})," & ",(0,r.jsx)(n.code,{children:"euint256"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and manipulate encrypted values within smart contracts."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ebool---encrypted-boolean",children:[(0,r.jsx)(n.code,{children:"ebool"})," - Encrypted Boolean"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted boolean value. This type can be used as an encrypted variable and for encrypted logical\noperations upon other encrypted variables e.g. by using ",(0,r.jsx)(n.code,{children:"select"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and manipulate encrypted values within smart contracts. Use in encrypted conditional statements."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"eaddress---encrypted-address",children:[(0,r.jsx)(n.code,{children:"eaddress"})," - Encrypted Address"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted address. This type can be used to hide the address variables within contracts."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and compare encrypted addresses."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ineuintxx---input-encrypted-unsigned-integers",children:[(0,r.jsx)(n.code,{children:"inEuintxx"})," - Input Encrypted Unsigned Integers"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": A type used for passing encrypted values as function arguments. It's the format in which encrypted data is input into the smart contract functions that process encrypted values.\nThe currently supported types are ",(0,r.jsx)(n.code,{children:"inEuint8"}),", ",(0,r.jsx)(n.code,{children:"inEuint16"}),", ",(0,r.jsx)(n.code,{children:"inEuint32"}),", ",(0,r.jsx)(n.code,{children:"inEuint64"}),", ",(0,r.jsx)(n.code,{children:"inEuint128"})," & ",(0,r.jsx)(n.code,{children:"inEuint256"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted values as function arguments."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"inebool---input-encrypted-boolean",children:[(0,r.jsx)(n.code,{children:"inEbool"})," - Input Encrypted Boolean"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Similarly as with ",(0,r.jsx)(n.code,{children:"inEuint"})," the ",(0,r.jsx)(n.code,{children:"inEbool"})," type is used for passing encrypted boolean values as function arguments."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted boolean values as function arguments."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ineaddress---input-encrypted-address",children:[(0,r.jsx)(n.code,{children:"inEaddress"})," - Input Encrypted Address"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Similarly as with ",(0,r.jsx)(n.code,{children:"inEuint"})," the ",(0,r.jsx)(n.code,{children:"inEaddress"})," type is used for passing encrypted address values as function arguments"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted address values as function arguments."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"core-functions-of-fhesol",children:"Core Functions of FHE.sol"}),"\n",(0,r.jsxs)(n.h3,{id:"aseuint---convert-to-encrypted-unsigned-integer",children:[(0,r.jsx)(n.code,{children:"asEuint"})," - Convert to Encrypted Unsigned Integer"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEuint"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"euint"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"asebool---convert-to-encrypted-unsigned-integer",children:[(0,r.jsx)(n.code,{children:"asEbool"})," - Convert to Encrypted Unsigned Integer"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEbool"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"ebool"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"aseaddress---convert-to-encrypted-unsigned-integer",children:[(0,r.jsx)(n.code,{children:"asEaddress"})," - Convert to Encrypted Unsigned Integer"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEaddress"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"eaddress"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"decrypt---decrypt-encrypted-data",children:[(0,r.jsx)(n.code,{children:"decrypt"})," - Decrypt Encrypted Data"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Decrypts ",(0,r.jsx)(n.code,{children:"euint"}),", ",(0,r.jsx)(n.code,{children:"ebool"})," or ",(0,r.jsx)(n.code,{children:"eaddress"})," encrypted value back to its plaintext form. If the value should only be revealed to a specific address, the ",(0,r.jsx)(n.code,{children:"sealoutput"})," function should be used instead. Learn more abut sealing ",(0,r.jsx)(n.a,{href:"/docs/devdocs/Writing%20Smart%20Contracts/Returning-Data",children:"here"}),"."]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"arithmetic-operations",children:"Arithmetic Operations"}),"\n",(0,r.jsxs)(n.p,{children:["FHE.sol supports encrypted arithmetic operations like addition and subtraction. These operations can be performed directly on ",(0,r.jsx)(n.code,{children:"euint"})," types, enabling encrypted computations."]}),"\n",(0,r.jsx)(n.h3,{id:"comparison-operations",children:"Comparison Operations"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Perform comparisons between encrypted values (e.g., greater than, less than)."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage Example"}),": Make decisions based on encrypted values without revealing their contents."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"example-use-cases",children:"Example Use Cases"}),"\n",(0,r.jsx)(n.h3,{id:"encrypting-a-value",children:"Encrypting a Value"}),"\n",(0,r.jsxs)(n.p,{children:["To encrypt a value, convert a plaintext ",(0,r.jsx)(n.code,{children:"uint32"})," into an ",(0,r.jsx)(n.code,{children:"euint32"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"uint32 plaintextValue = 123;\neuint32 encryptedValue = FHE.asEuint32(plaintextValue);\n"})}),"\n",(0,r.jsx)(n.h3,{id:"decrypting-a-value",children:"Decrypting a Value"}),"\n",(0,r.jsx)(n.p,{children:"To decrypt an encrypted value back to plaintext, use the following syntax:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"uint32 decryptedValue = FHE.decrypt(encryptedValue);\n"})}),"\n",(0,r.jsx)(n.admonition,{type:"warning",children:(0,r.jsx)(n.p,{children:"Decrypt data with caution. Be careful not to expose decrypted data to unauthorized parties."})}),"\n",(0,r.jsx)(n.h3,{id:"performing-encrypted-arithmetic",children:"Performing Encrypted Arithmetic"}),"\n",(0,r.jsx)(n.p,{children:"You can perform arithmetic operations directly on encrypted values. For example, adding two encrypted values:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"euint32 sum = encryptedValue1 + encryptedValue2;\n"})}),"\n",(0,r.jsx)(n.h3,{id:"conditional-logic-with-encrypted-values",children:"Conditional Logic with Encrypted Values"}),"\n",(0,r.jsx)(n.p,{children:"Use a comparison operation to implement logic based on encrypted values. Consider the following code:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"euint32 result = FHE.select(encryptedValue1.gt(encryptedValue2), encryptedValue1, encryptedValue2);\n"})}),"\n",(0,r.jsxs)(n.p,{children:["This example chooses between encryptedValue1 and encryptedValue2 by comparing their encrypted values with the ",(0,r.jsx)(n.code,{children:"gt"})," function."]}),"\n",(0,r.jsx)(n.h2,{id:"integrating-fhe-into-smart-contracts",children:"Integrating FHE into Smart Contracts"}),"\n",(0,r.jsxs)(n.p,{children:["When incorporating ",(0,r.jsx)(n.code,{children:"FHE.sol"})," into your smart contracts, consider the following:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Privacy vs. Gas Cost"}),": FHE provides strong privacy guarantees but is computationally intensive and can lead to high gas costs. Balance the need for privacy with its cost."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Data Types"}),": Ensure that your use cases are compatible with the data types and operations supported by FHE.sol."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Security"}),": Understand the security model of FHE and how it fits into the overall security posture of your application."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},9365:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4164);const s={tabItem:"tabItem_Ymn6"};var i=t(4848);function a(e){let{children:n,hidden:t,className:a}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.A)(s.tabItem,a),hidden:t,children:n})}},1470:(e,n,t)=>{t.d(n,{A:()=>E});var r=t(6540),s=t(4164),i=t(3104),a=t(6347),o=t(205),c=t(7485),d=t(1682),l=t(679);function u(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:n,children:t}=e;return(0,r.useMemo)((()=>{const e=n??function(e){return u(e).map((e=>{let{props:{value:n,label:t,attributes:r,default:s}}=e;return{value:n,label:t,attributes:r,default:s}}))}(t);return function(e){const n=(0,d.X)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,t])}function h(e){let{value:n,tabValues:t}=e;return t.some((e=>e.value===n))}function x(e){let{queryString:n=!1,groupId:t}=e;const s=(0,a.W6)(),i=function(e){let{queryString:n=!1,groupId:t}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!t)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:n,groupId:t});return[(0,c.aZ)(i),(0,r.useCallback)((e=>{if(!i)return;const n=new URLSearchParams(s.location.search);n.set(i,e),s.replace({...s.location,search:n.toString()})}),[i,s])]}function y(e){const{defaultValue:n,queryString:t=!1,groupId:s}=e,i=p(e),[a,c]=(0,r.useState)((()=>function(e){let{defaultValue:n,tabValues:t}=e;if(0===t.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!h({value:n,tabValues:t}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const r=t.find((e=>e.default))??t[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:n,tabValues:i}))),[d,u]=x({queryString:t,groupId:s}),[y,g]=function(e){let{groupId:n}=e;const t=function(e){return e?`docusaurus.tab.${e}`:null}(n),[s,i]=(0,l.Dv)(t);return[s,(0,r.useCallback)((e=>{t&&i.set(e)}),[t,i])]}({groupId:s}),j=(()=>{const e=d??y;return h({value:e,tabValues:i})?e:null})();(0,o.A)((()=>{j&&c(j)}),[j]);return{selectedValue:a,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);c(e),u(e),g(e)}),[u,g,i]),tabValues:i}}var g=t(2303);const j={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var m=t(4848);function v(e){let{className:n,block:t,selectedValue:r,selectValue:a,tabValues:o}=e;const c=[],{blockElementScrollPositionUntilNextRender:d}=(0,i.a_)(),l=e=>{const n=e.currentTarget,t=c.indexOf(n),s=o[t].value;s!==r&&(d(n),a(s))},u=e=>{let n=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const t=c.indexOf(e.currentTarget)+1;n=c[t]??c[0];break}case"ArrowLeft":{const t=c.indexOf(e.currentTarget)-1;n=c[t]??c[c.length-1];break}}n?.focus()};return(0,m.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,s.A)("tabs",{"tabs--block":t},n),children:o.map((e=>{let{value:n,label:t,attributes:i}=e;return(0,m.jsx)("li",{role:"tab",tabIndex:r===n?0:-1,"aria-selected":r===n,ref:e=>c.push(e),onKeyDown:u,onClick:l,...i,className:(0,s.A)("tabs__item",j.tabItem,i?.className,{"tabs__item--active":r===n}),children:t??n},n)}))})}function f(e){let{lazy:n,children:t,selectedValue:s}=e;const i=(Array.isArray(t)?t:[t]).filter(Boolean);if(n){const e=i.find((e=>e.props.value===s));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,m.jsx)("div",{className:"margin-top--md",children:i.map(((e,n)=>(0,r.cloneElement)(e,{key:n,hidden:e.props.value!==s})))})}function b(e){const n=y(e);return(0,m.jsxs)("div",{className:(0,s.A)("tabs-container",j.tabList),children:[(0,m.jsx)(v,{...n,...e}),(0,m.jsx)(f,{...n,...e})]})}function E(e){const n=(0,g.A)();return(0,m.jsx)(b,{...e,children:u(e.children)},String(n))}},8453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>o});var r=t(6540);const s={},i=r.createContext(s);function a(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkfhenix_docs=self.webpackChunkfhenix_docs||[]).push([[1232],{9659:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>o,metadata:()=>d,toc:()=>u});var r=t(4848),s=t(8453),i=t(1470),a=t(9365);const o={sidebar_position:1,description:"Installation of contracts and creation of a basic contract"},c="\ud83d\udc24 Getting Started",d={id:"devdocs/Writing Smart Contracts/FHE-sol",title:"\ud83d\udc24 Getting Started",description:"Installation of contracts and creation of a basic contract",source:"@site/docs/devdocs/Writing Smart Contracts/FHE-sol.mdx",sourceDirName:"devdocs/Writing Smart Contracts",slug:"/devdocs/Writing Smart Contracts/FHE-sol",permalink:"/docs/devdocs/Writing Smart Contracts/FHE-sol",draft:!1,unlisted:!1,editUrl:"https://github.com/fhenixprotocol/fhenix-docs/tree/main/docs/devdocs/Writing Smart Contracts/FHE-sol.mdx",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"Installation of contracts and creation of a basic contract"},sidebar:"docsSidebar",previous:{title:"FHE Contracts",permalink:"/docs/category/fhe-contracts"},next:{title:"\ud83d\udc49 Inputs",permalink:"/docs/devdocs/Writing Smart Contracts/User-Inputs"}},l={},u=[{value:"Installation",id:"installation",level:2},{value:"Usage",id:"usage",level:2},{value:"Key Concepts and Types",id:"key-concepts-and-types",level:3},{value:"euintxx - Encrypted Unsigned Integers",id:"euintxx---encrypted-unsigned-integers",level:3},{value:"ebool - Encrypted Boolean",id:"ebool---encrypted-boolean",level:3},{value:"eaddress - Encrypted Address",id:"eaddress---encrypted-address",level:3},{value:"inEuintxx - Input Encrypted Unsigned Integers",id:"ineuintxx---input-encrypted-unsigned-integers",level:3},{value:"inEbool - Input Encrypted Boolean",id:"inebool---input-encrypted-boolean",level:3},{value:"inEaddress - Input Encrypted Address",id:"ineaddress---input-encrypted-address",level:3},{value:"Core Functions of FHE.sol",id:"core-functions-of-fhesol",level:2},{value:"asEuint - Convert to Encrypted Unsigned Integer",id:"aseuint---convert-to-encrypted-unsigned-integer",level:3},{value:"asEbool - Convert to Encrypted Unsigned Boolean",id:"asebool---convert-to-encrypted-unsigned-boolean",level:3},{value:"asEaddress - Convert to Encrypted Unsigned Address",id:"aseaddress---convert-to-encrypted-unsigned-address",level:3},{value:"decrypt - Decrypt Encrypted Data",id:"decrypt---decrypt-encrypted-data",level:3},{value:"Arithmetic Operations",id:"arithmetic-operations",level:3},{value:"Comparison Operations",id:"comparison-operations",level:3},{value:"Example Use Cases",id:"example-use-cases",level:2},{value:"Encrypting a Value",id:"encrypting-a-value",level:3},{value:"Decrypting a Value",id:"decrypting-a-value",level:3},{value:"Performing Encrypted Arithmetic",id:"performing-encrypted-arithmetic",level:3},{value:"Conditional Logic with Encrypted Values",id:"conditional-logic-with-encrypted-values",level:3},{value:"Integrating FHE into Smart Contracts",id:"integrating-fhe-into-smart-contracts",level:2}];function p(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"-getting-started",children:"\ud83d\udc24 Getting Started"}),"\n",(0,r.jsxs)(n.p,{children:["A core component of the Fhenix ecosystem is the ",(0,r.jsx)(n.code,{children:"FHE.sol"})," Solidity library."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"FHE.sol"})," is a Solidity library designed to facilitate the use of Fully Homomorphic Encryption (FHE) within Ethereum smart contracts. FHE enables computations to be performed on encrypted data (ciphertexts) without needing to decrypt them first. The results of such computations, when decrypted, are identical to what would have been obtained if the operations had been performed on the unencrypted data (plaintexts)."]}),"\n",(0,r.jsxs)(n.p,{children:["A full list and description of Fhenix functions are provided in ",(0,r.jsx)(n.a,{href:"/docs/devdocs/Solidity%20API/FHE",children:"FHE.sol documentation"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,r.jsxs)(n.p,{children:["To get started with ",(0,r.jsx)(n.code,{children:"FHE.sol"}),", first install FHE.sol as a dependency in your Solidity project. Do this using npm, yarn or pnpm. Open the terminal and navigate to the project's directory. Now, run one of the following:"]}),"\n",(0,r.jsxs)(i.A,{children:[(0,r.jsx)(a.A,{value:"npm",label:"npm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"npm install @fhenixprotocol/contracts;\n"})})}),(0,r.jsx)(a.A,{value:"yarn",label:"yarn",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"yarn install @fhenixprotocol/contracts;\n"})})}),(0,r.jsx)(a.A,{value:"pnpm",label:"pnpm",children:(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"pnpm install @fhenixprotocol/contracts;\n"})})})]}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsx)(n.h3,{id:"key-concepts-and-types",children:"Key Concepts and Types"}),"\n",(0,r.jsxs)(n.h3,{id:"euintxx---encrypted-unsigned-integers",children:[(0,r.jsx)(n.code,{children:"euintxx"})," - Encrypted Unsigned Integers"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted unsigned integer. This type is used for encrypted variables within smart contracts.\nThe currently supported types are: ",(0,r.jsx)(n.code,{children:"euint8"}),", ",(0,r.jsx)(n.code,{children:"euint16"}),", ",(0,r.jsx)(n.code,{children:"euint32"}),", ",(0,r.jsx)(n.code,{children:"euint64"}),", ",(0,r.jsx)(n.code,{children:"euint128"})," & ",(0,r.jsx)(n.code,{children:"euint256"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and manipulate encrypted values within smart contracts."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ebool---encrypted-boolean",children:[(0,r.jsx)(n.code,{children:"ebool"})," - Encrypted Boolean"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted boolean value. This type can be used as an encrypted variable and for encrypted logical\noperations upon other encrypted variables e.g. by using ",(0,r.jsx)(n.code,{children:"select"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and manipulate encrypted values within smart contracts. Use in encrypted conditional statements."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"eaddress---encrypted-address",children:[(0,r.jsx)(n.code,{children:"eaddress"})," - Encrypted Address"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Represents an encrypted address. This type can be used to hide the address variables within contracts."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Store and compare encrypted addresses."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ineuintxx---input-encrypted-unsigned-integers",children:[(0,r.jsx)(n.code,{children:"inEuintxx"})," - Input Encrypted Unsigned Integers"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": A type used for passing encrypted values as function arguments. It's the format in which encrypted data is input into the smart contract functions that process encrypted values.\nThe currently supported types are ",(0,r.jsx)(n.code,{children:"inEuint8"}),", ",(0,r.jsx)(n.code,{children:"inEuint16"}),", ",(0,r.jsx)(n.code,{children:"inEuint32"}),", ",(0,r.jsx)(n.code,{children:"inEuint64"}),", ",(0,r.jsx)(n.code,{children:"inEuint128"})," & ",(0,r.jsx)(n.code,{children:"inEuint256"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted values as function arguments."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"inebool---input-encrypted-boolean",children:[(0,r.jsx)(n.code,{children:"inEbool"})," - Input Encrypted Boolean"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Similarly as with ",(0,r.jsx)(n.code,{children:"inEuint"})," the ",(0,r.jsx)(n.code,{children:"inEbool"})," type is used for passing encrypted boolean values as function arguments."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted boolean values as function arguments."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ineaddress---input-encrypted-address",children:[(0,r.jsx)(n.code,{children:"inEaddress"})," - Input Encrypted Address"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Description"}),": Similarly as with ",(0,r.jsx)(n.code,{children:"inEuint"})," the ",(0,r.jsx)(n.code,{children:"inEaddress"})," type is used for passing encrypted address values as function arguments"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage"}),": Pass typed encrypted address values as function arguments."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"core-functions-of-fhesol",children:"Core Functions of FHE.sol"}),"\n",(0,r.jsxs)(n.h3,{id:"aseuint---convert-to-encrypted-unsigned-integer",children:[(0,r.jsx)(n.code,{children:"asEuint"})," - Convert to Encrypted Unsigned Integer"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEuint"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"euint"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"asebool---convert-to-encrypted-unsigned-boolean",children:[(0,r.jsx)(n.code,{children:"asEbool"})," - Convert to Encrypted Unsigned Boolean"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEbool"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"ebool"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"aseaddress---convert-to-encrypted-unsigned-address",children:[(0,r.jsx)(n.code,{children:"asEaddress"})," - Convert to Encrypted Unsigned Address"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Converts a plaintext number, encrypted variable or an ",(0,r.jsx)(n.code,{children:"inEaddress"})," encrypted input into an ",(0,r.jsx)(n.code,{children:"eaddress"})," type."]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"decrypt---decrypt-encrypted-data",children:[(0,r.jsx)(n.code,{children:"decrypt"})," - Decrypt Encrypted Data"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Decrypts ",(0,r.jsx)(n.code,{children:"euint"}),", ",(0,r.jsx)(n.code,{children:"ebool"})," or ",(0,r.jsx)(n.code,{children:"eaddress"})," encrypted value back to its plaintext form. If the value should only be revealed to a specific address, the ",(0,r.jsx)(n.code,{children:"sealoutput"})," function should be used instead. Learn more abut sealing ",(0,r.jsx)(n.a,{href:"/docs/devdocs/Writing%20Smart%20Contracts/Returning-Data",children:"here"}),"."]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"arithmetic-operations",children:"Arithmetic Operations"}),"\n",(0,r.jsxs)(n.p,{children:["FHE.sol supports encrypted arithmetic operations like addition and subtraction. These operations can be performed directly on ",(0,r.jsx)(n.code,{children:"euint"})," types, enabling encrypted computations."]}),"\n",(0,r.jsx)(n.h3,{id:"comparison-operations",children:"Comparison Operations"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Purpose"}),": Perform comparisons between encrypted values (e.g., greater than, less than)."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Usage Example"}),": Make decisions based on encrypted values without revealing their contents."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"example-use-cases",children:"Example Use Cases"}),"\n",(0,r.jsx)(n.h3,{id:"encrypting-a-value",children:"Encrypting a Value"}),"\n",(0,r.jsxs)(n.p,{children:["To encrypt a value, convert a plaintext ",(0,r.jsx)(n.code,{children:"uint32"})," into an ",(0,r.jsx)(n.code,{children:"euint32"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"uint32 plaintextValue = 123;\neuint32 encryptedValue = FHE.asEuint32(plaintextValue);\n"})}),"\n",(0,r.jsx)(n.h3,{id:"decrypting-a-value",children:"Decrypting a Value"}),"\n",(0,r.jsx)(n.p,{children:"To decrypt an encrypted value back to plaintext, use the following syntax:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"uint32 decryptedValue = FHE.decrypt(encryptedValue);\n"})}),"\n",(0,r.jsx)(n.admonition,{type:"warning",children:(0,r.jsx)(n.p,{children:"Decrypt data with caution. Be careful not to expose decrypted data to unauthorized parties."})}),"\n",(0,r.jsx)(n.h3,{id:"performing-encrypted-arithmetic",children:"Performing Encrypted Arithmetic"}),"\n",(0,r.jsx)(n.p,{children:"You can perform arithmetic operations directly on encrypted values. For example, adding two encrypted values:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"euint32 sum = encryptedValue1 + encryptedValue2;\n"})}),"\n",(0,r.jsx)(n.h3,{id:"conditional-logic-with-encrypted-values",children:"Conditional Logic with Encrypted Values"}),"\n",(0,r.jsx)(n.p,{children:"Use a comparison operation to implement logic based on encrypted values. Consider the following code:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-solidity",children:"euint32 result = FHE.select(encryptedValue1.gt(encryptedValue2), encryptedValue1, encryptedValue2);\n"})}),"\n",(0,r.jsxs)(n.p,{children:["This example chooses between encryptedValue1 and encryptedValue2 by comparing their encrypted values with the ",(0,r.jsx)(n.code,{children:"gt"})," function."]}),"\n",(0,r.jsx)(n.h2,{id:"integrating-fhe-into-smart-contracts",children:"Integrating FHE into Smart Contracts"}),"\n",(0,r.jsxs)(n.p,{children:["When incorporating ",(0,r.jsx)(n.code,{children:"FHE.sol"})," into your smart contracts, consider the following:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Privacy vs. Gas Cost"}),": FHE provides strong privacy guarantees but is computationally intensive and can lead to high gas costs. Balance the need for privacy with its cost."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Data Types"}),": Ensure that your use cases are compatible with the data types and operations supported by FHE.sol."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Security"}),": Understand the security model of FHE and how it fits into the overall security posture of your application."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},9365:(e,n,t)=>{t.d(n,{A:()=>a});t(6540);var r=t(4164);const s={tabItem:"tabItem_Ymn6"};var i=t(4848);function a(e){let{children:n,hidden:t,className:a}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.A)(s.tabItem,a),hidden:t,children:n})}},1470:(e,n,t)=>{t.d(n,{A:()=>E});var r=t(6540),s=t(4164),i=t(3104),a=t(6347),o=t(205),c=t(7485),d=t(1682),l=t(679);function u(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function p(e){const{values:n,children:t}=e;return(0,r.useMemo)((()=>{const e=n??function(e){return u(e).map((e=>{let{props:{value:n,label:t,attributes:r,default:s}}=e;return{value:n,label:t,attributes:r,default:s}}))}(t);return function(e){const n=(0,d.X)(e,((e,n)=>e.value===n.value));if(n.length>0)throw new Error(`Docusaurus error: Duplicate values "${n.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[n,t])}function h(e){let{value:n,tabValues:t}=e;return t.some((e=>e.value===n))}function x(e){let{queryString:n=!1,groupId:t}=e;const s=(0,a.W6)(),i=function(e){let{queryString:n=!1,groupId:t}=e;if("string"==typeof n)return n;if(!1===n)return null;if(!0===n&&!t)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return t??null}({queryString:n,groupId:t});return[(0,c.aZ)(i),(0,r.useCallback)((e=>{if(!i)return;const n=new URLSearchParams(s.location.search);n.set(i,e),s.replace({...s.location,search:n.toString()})}),[i,s])]}function y(e){const{defaultValue:n,queryString:t=!1,groupId:s}=e,i=p(e),[a,c]=(0,r.useState)((()=>function(e){let{defaultValue:n,tabValues:t}=e;if(0===t.length)throw new Error("Docusaurus error: the component requires at least one children component");if(n){if(!h({value:n,tabValues:t}))throw new Error(`Docusaurus error: The has a defaultValue "${n}" but none of its children has the corresponding value. Available values are: ${t.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return n}const r=t.find((e=>e.default))??t[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:n,tabValues:i}))),[d,u]=x({queryString:t,groupId:s}),[y,g]=function(e){let{groupId:n}=e;const t=function(e){return e?`docusaurus.tab.${e}`:null}(n),[s,i]=(0,l.Dv)(t);return[s,(0,r.useCallback)((e=>{t&&i.set(e)}),[t,i])]}({groupId:s}),j=(()=>{const e=d??y;return h({value:e,tabValues:i})?e:null})();(0,o.A)((()=>{j&&c(j)}),[j]);return{selectedValue:a,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);c(e),u(e),g(e)}),[u,g,i]),tabValues:i}}var g=t(2303);const j={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var m=t(4848);function v(e){let{className:n,block:t,selectedValue:r,selectValue:a,tabValues:o}=e;const c=[],{blockElementScrollPositionUntilNextRender:d}=(0,i.a_)(),l=e=>{const n=e.currentTarget,t=c.indexOf(n),s=o[t].value;s!==r&&(d(n),a(s))},u=e=>{let n=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const t=c.indexOf(e.currentTarget)+1;n=c[t]??c[0];break}case"ArrowLeft":{const t=c.indexOf(e.currentTarget)-1;n=c[t]??c[c.length-1];break}}n?.focus()};return(0,m.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,s.A)("tabs",{"tabs--block":t},n),children:o.map((e=>{let{value:n,label:t,attributes:i}=e;return(0,m.jsx)("li",{role:"tab",tabIndex:r===n?0:-1,"aria-selected":r===n,ref:e=>c.push(e),onKeyDown:u,onClick:l,...i,className:(0,s.A)("tabs__item",j.tabItem,i?.className,{"tabs__item--active":r===n}),children:t??n},n)}))})}function f(e){let{lazy:n,children:t,selectedValue:s}=e;const i=(Array.isArray(t)?t:[t]).filter(Boolean);if(n){const e=i.find((e=>e.props.value===s));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,m.jsx)("div",{className:"margin-top--md",children:i.map(((e,n)=>(0,r.cloneElement)(e,{key:n,hidden:e.props.value!==s})))})}function b(e){const n=y(e);return(0,m.jsxs)("div",{className:(0,s.A)("tabs-container",j.tabList),children:[(0,m.jsx)(v,{...n,...e}),(0,m.jsx)(f,{...n,...e})]})}function E(e){const n=(0,g.A)();return(0,m.jsx)(b,{...e,children:u(e.children)},String(n))}},8453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>o});var r=t(6540);const s={},i=r.createContext(s);function a(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.ef62e994.js b/assets/js/main.3eaff169.js similarity index 99% rename from assets/js/main.ef62e994.js rename to assets/js/main.3eaff169.js index b45c3704..ffb1509d 100644 --- a/assets/js/main.ef62e994.js +++ b/assets/js/main.3eaff169.js @@ -1,2 +1,2 @@ -/*! For license information please see main.ef62e994.js.LICENSE.txt */ -(self.webpackChunkfhenix_docs=self.webpackChunkfhenix_docs||[]).push([[8792],{9188:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(6540);function o(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),o=n.n(r),a=n(4054);const i={"0058b4c6":[()=>n.e(849).then(n.t.bind(n,6164,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",6164],"00afa580":[()=>n.e(1512).then(n.bind(n,6749)),"@site/docs/devdocs/Setting Up Your Environment/Remix.md",6749],"00f5830c":[()=>n.e(4500).then(n.bind(n,7941)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/intro.md",7941],"07f4335f":[()=>n.e(2953).then(n.bind(n,2176)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Connecting-To.md",2176],"09235513":[()=>n.e(6717).then(n.bind(n,3851)),"@site/docs/devdocs/Writing Smart Contracts/Converting-between-Types.md",3851],"093f45f0":[()=>n.e(7966).then(n.bind(n,7619)),"@site/docs/devdocs/Writing Smart Contracts/Parallel-Decryptions.md",7619],"0ba8c2c3":[()=>n.e(7775).then(n.bind(n,414)),"@site/docs/devdocs/Setting Up Your Environment/intro.md",414],"1059f392":[()=>n.e(7946).then(n.bind(n,1603)),"@site/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE.md",1603],"112a29e8":[()=>n.e(3466).then(n.t.bind(n,6127,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-details-efb.json",6127],14662712:[()=>Promise.all([n.e(1869),n.e(3416)]).then(n.bind(n,3342)),"@site/docs/devdocs/Tutorials/Basic/Deploying.mdx",3342],"14eb3368":[()=>Promise.all([n.e(1869),n.e(6969)]).then(n.bind(n,4136)),"@theme/DocCategoryGeneratedIndexPage",4136],17896441:[()=>Promise.all([n.e(1869),n.e(2490),n.e(8401)]).then(n.bind(n,3652)),"@theme/DocItem",3652],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,4604)),"@theme/SearchPage",4604],"1ad947e3":[()=>n.e(4519).then(n.bind(n,3467)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Permissions.md",3467],"1dea5faf":[()=>Promise.all([n.e(1869),n.e(5182)]).then(n.bind(n,5474)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Setting Up.mdx",5474],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(9412),n.e(4583)]).then(n.bind(n,5579)),"@site/src/pages/index.tsx",5579],"1e5cdb82":[()=>n.e(3925).then(n.bind(n,610)),"@site/versioned_docs/version-Helium/devdocs/Examples and References/Templates.md",610],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(2490),n.e(6061)]).then(n.bind(n,7973)),"@theme/MDXPage",7973],"1f64340d":[()=>n.e(2885).then(n.t.bind(n,8416,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-shielded-erc-20-token-f8b.json",8416],"1fe64db5":[()=>Promise.all([n.e(1869),n.e(1232)]).then(n.bind(n,9659)),"@site/docs/devdocs/Writing Smart Contracts/FHE-sol.mdx",9659],"24da45cd":[()=>Promise.all([n.e(1869),n.e(3912)]).then(n.bind(n,9052)),"@site/docs/devdocs/FhenixJS/Fhenix-JS.mdx",9052],"264701c0":[()=>n.e(8352).then(n.bind(n,9359)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Converting-between-Types.md",9359],"2b1dc6dd":[()=>n.e(8543).then(n.bind(n,1014)),"@site/docs/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin.md",1014],"2b741ebd":[()=>Promise.all([n.e(1869),n.e(9922)]).then(n.bind(n,7262)),"@site/src/pages/getting-started.tsx",7262],"2f529342":[()=>n.e(292).then(n.bind(n,5999)),"@site/versioned_docs/version-Helium/devdocs/Setting Up Your Environment/Gitpod.mdx",5999],"2fc3947b":[()=>n.e(685).then(n.t.bind(n,524,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-tutorials-22f.json",524],"31f76593":[()=>Promise.all([n.e(1869),n.e(4177)]).then(n.bind(n,552)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Network Keys.mdx",552],"34645dc1":[()=>n.e(4055).then(n.bind(n,5220)),"@site/docs/devdocs/Solidity API/Experimental/IFHERC20.md",5220],"35aed986":[()=>n.e(5210).then(n.bind(n,3634)),"@site/versioned_docs/version-Helium/devdocs/Setting Up Your Environment/intro.md",3634],"3847f788":[()=>Promise.all([n.e(1869),n.e(3376)]).then(n.bind(n,7748)),"@site/docs/devdocs/FhenixJS/Network Keys.mdx",7748],"393be207":[()=>n.e(4134).then(n.bind(n,633)),"@site/src/pages/markdown-page.md",633],"399804c2":[()=>n.e(8439).then(n.bind(n,1359)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md",1359],"3a1f197c":[()=>n.e(6782).then(n.bind(n,4047)),"@site/docs/devdocs/Encryption and Privacy/Privacy-Web3.md",4047],"3c4ddc80":[()=>n.e(6654).then(n.bind(n,9702)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Returning-Data.md",9702],"3cdf1dab":[()=>n.e(5877).then(n.bind(n,638)),"@site/docs/devdocs/Setting Up Your Environment/Hardhat.md",638],"3d6c9eb5":[()=>n.e(9070).then(n.bind(n,8151)),"@site/docs/devdocs/Tutorials/Your-First-FHE-Contract.md",8151],"4091a161":[()=>n.e(7336).then(n.bind(n,5196)),"@site/docs/devdocs/Tools and Utilities/Fhenix-Encryption-UI.md",5196],"40c8d1c5":[()=>n.e(3187).then(n.bind(n,459)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Select.md",459],"41a4e207":[()=>n.e(3215).then(n.bind(n,3551)),"@site/docs/devdocs/Fhenix Testnet/Details/Changelog.md",3551],"41f39c68":[()=>n.e(5901).then(n.bind(n,8024)),"@site/docs/devdocs/Fhenix Testnet/Details/Fhenix-Differences.md",8024],42246441:[()=>n.e(7064).then(n.bind(n,2300)),"@site/docs/devdocs/FhenixJS/Catching Errors.md",2300],44625589:[()=>n.e(2192).then(n.bind(n,9091)),"@site/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md",9091],"48d608ee":[()=>Promise.all([n.e(1869),n.e(2535)]).then(n.bind(n,2600)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Fhenix-JS.mdx",2600],"4f2033fe":[()=>n.e(5978).then(n.t.bind(n,4847,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-shielded-erc-20-token-260.json",4847],"4f7734c6":[()=>Promise.all([n.e(1869),n.e(9861)]).then(n.bind(n,2448)),"@site/docs/devdocs/Tutorials/Basic/Writing-The-Contract.md",2448],"50376bd6":[()=>n.e(644).then(n.t.bind(n,2318,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-fhe-contracts-fc3.json",2318],"52b9fcd1":[()=>n.e(6509).then(n.bind(n,473)),"@site/docs/devdocs/Tutorials/Basic/intro.md",473],"548b4f8e":[()=>n.e(1913).then(n.bind(n,3120)),"@site/versioned_docs/version-Helium/devdocs/Solidity API/Experimental/IFHERC20.md",3120],"5502e32c":[()=>n.e(7146).then(n.bind(n,8412)),"@site/docs/devdocs/Fhenix Testnet/Connecting-To.md",8412],"5555e52f":[()=>n.e(8709).then(n.bind(n,6203)),"@site/docs/devdocs/FhenixJS/Encryption.md",6203],"57ea0922":[()=>n.e(1588).then(n.bind(n,8168)),"@site/docs/devdocs/Tutorials/Basic/Adding View Functions.md",8168],"597dd8b5":[()=>n.e(8375).then(n.bind(n,194)),"@site/docs/devdocs/Writing Smart Contracts/Returning-Data.md",194],"5cc6e2f6":[()=>Promise.all([n.e(1869),n.e(2005)]).then(n.bind(n,4832)),"@site/docs/devdocs/Tutorials/Basic/Exploring the Template.mdx",4832],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"63ad909b":[()=>n.e(923).then(n.bind(n,7223)),"@site/docs/devdocs/Writing Smart Contracts/Randomness.md",7223],"63dd6a68":[()=>n.e(3031).then(n.bind(n,1616)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Permits.md",1616],"6403d4e9":[()=>n.e(8172).then(n.bind(n,5371)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Your-First-FHE-Contract.md",5371],"65be5726":[()=>n.e(7499).then(n.bind(n,42)),"@site/docs/devdocs/Writing Smart Contracts/Types-and-Operators.md",42],"65fe27ff":[()=>n.e(7562).then(n.bind(n,3823)),"@site/versioned_docs/version-Helium/devdocs/Solidity API/FHE.md",3823],"6630608f":[()=>n.e(1878).then(n.bind(n,5384)),"@site/docs/devdocs/Fhenix Testnet/Threshold-Network.md",5384],"69eebc34":[()=>n.e(5430).then(n.bind(n,2999)),"@site/docs/devdocs/Writing Smart Contracts/Permissions.md",2999],"6a05cc2f":[()=>n.e(3219).then(n.t.bind(n,5285,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-98d.json",5285],"6aab3ca4":[()=>n.e(2388).then(n.bind(n,6867)),"@site/docs/devdocs/Solidity API/FHE.md",6867],"6b8bf644":[()=>n.e(2329).then(n.bind(n,9695)),"@site/versioned_docs/version-Helium/devdocs/Tools and Utilities/Fhenix-Remix-Plugin.md",9695],"6c36c959":[()=>n.e(3915).then(n.bind(n,351)),"@site/docs/devdocs/Writing Smart Contracts/Requires.md",351],"6deb773c":[()=>n.e(7456).then(n.bind(n,7649)),"@site/docs/devdocs/Solidity API/Experimental/FHERC20.md",7649],"6ebc6907":[()=>n.e(169).then(n.bind(n,5365)),"@site/docs/devdocs/Setting Up Your Environment/Foundry.md",5365],"7073baf1":[()=>n.e(8780).then(n.bind(n,2856)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Catching Errors.md",2856],"79f7dbea":[()=>n.e(6222).then(n.t.bind(n,2618,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-fhe-contracts-b21.json",2618],"79fe8b70":[()=>n.e(3631).then(n.bind(n,3175)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Adding View Functions.md",3175],"7b18d337":[()=>n.e(2518).then(n.bind(n,78)),"@site/docs/devdocs/Solidity API/Permissioned.md",78],"7bfbc29d":[()=>n.e(3664).then(n.bind(n,2787)),"@site/versioned_docs/version-Helium/devdocs/Encryption and Privacy/Privacy-Web3.md",2787],"7c00667b":[()=>Promise.all([n.e(1869),n.e(42)]).then(n.bind(n,6606)),"@site/docs/devdocs/Tutorials/Basic/Setting Up.mdx",6606],"7c323151":[()=>n.e(7768).then(n.bind(n,3067)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Details/Changelog.md",3067],"7ec24e7b":[()=>n.e(1434).then(n.bind(n,5240)),"@site/docs/devdocs/Examples and References/Examples-fheDapps.md",5240],"834753a0":[()=>n.e(2176).then(n.bind(n,7618)),"@site/versioned_docs/version-Helium/devdocs/Solidity API/Permissioned.md",7618],"87c0125c":[()=>n.e(3520).then(n.bind(n,1039)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Fhenix-T-FHE.md",1039],"8dfb72aa":[()=>n.e(2142).then(n.bind(n,4053)),"@site/docs/devdocs/FhenixJS/Sending-a-Transaction.md",4053],"8e2a4e2c":[()=>n.e(5081).then(n.bind(n,8655)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Encryption.md",8655],90678636:[()=>n.e(6812).then(n.t.bind(n,2631,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-tutorials-edc.json",2631],"915f7d83":[()=>n.e(5338).then(n.t.bind(n,6364,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-fhenixjs-59c.json",6364],"941ead3f":[()=>n.e(6314).then(n.t.bind(n,7566,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-fhenix-nitrogen-testnet-46b.json",7566],"94799ecf":[()=>n.e(1329).then(n.t.bind(n,9492,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-helium-category-fhenix-helium-testnet-a73.json",9492],"951026e7":[()=>n.e(8114).then(n.bind(n,3646)),"@site/docs/devdocs/Examples and References/Templates.md",3646],"978597a0":[()=>n.e(8097).then(n.bind(n,2558)),"@site/docs/devdocs/Encryption and Privacy/Permits-Access-Control.md",2558],99174024:[()=>n.e(1231).then(n.bind(n,2121)),"@site/versioned_docs/version-Helium/devdocs/Setting Up Your Environment/Foundry.md",2121],"9a0ff0ce":[()=>n.e(2649).then(n.bind(n,1098)),"@site/versioned_docs/version-Helium/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin.md",1098],"9cc604ee":[()=>n.e(3370).then(n.bind(n,8162)),"@site/docs/devdocs/Fhenix Testnet/Details/Architecture.md",8162],"9fe41e62":[()=>Promise.all([n.e(1869),n.e(6723)]).then(n.bind(n,1372)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Exploring the Template.mdx",1372],a739edad:[()=>n.e(1875).then(n.bind(n,7316)),"@site/docs/devdocs/FhenixJS/Permits.md",7316],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a74d882b:[()=>n.e(3307).then(n.bind(n,4304)),"@site/docs/devdocs/intro.md",4304],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a7e0b53d:[()=>n.e(3046).then(n.bind(n,5652)),"@site/docs/devdocs/Writing Smart Contracts/Debug-Logging.md",5652],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],ab0b140b:[()=>n.e(6297).then(n.bind(n,2030)),"@site/docs/devdocs/Encryption and Privacy/Exposed-Encrypted-Variables.md",2030],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],adb31473:[()=>n.e(7036).then(n.bind(n,2393)),"@site/versioned_docs/version-Helium/devdocs/Setting Up Your Environment/Remix.md",2393],b2ae20a9:[()=>Promise.all([n.e(1869),n.e(8737)]).then(n.bind(n,9119)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/FHE-sol.mdx",9119],b63e8afa:[()=>n.e(6897).then(n.bind(n,8212)),"@site/versioned_docs/version-Helium/devdocs/intro.md",8212],b677db35:[()=>n.e(4027).then(n.bind(n,7788)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/User-Inputs.md",7788],b72b8402:[()=>n.e(6512).then(n.bind(n,2120)),"@site/versioned_docs/version-Helium/devdocs/Tools and Utilities/Fhenix-Encryption-UI.md",2120],baea39d2:[()=>n.e(9352).then(n.bind(n,5392)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Debug-Logging.md",5392],be55c8c2:[()=>n.e(1624).then(n.bind(n,1904)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Details/Limitations.md",1904],c11ae9aa:[()=>n.e(2305).then(n.bind(n,9625)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Sending-a-Transaction.md",9625],c141421f:[()=>n.e(957).then(n.t.bind(n,936,19)),"@generated/docusaurus-theme-search-algolia/default/__plugin.json",936],c1ee0fbb:[()=>n.e(8935).then(n.bind(n,6419)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Requires.md",6419],c29eeca1:[()=>n.e(9648).then(n.bind(n,7826)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Integration.md",7826],c35c524d:[()=>n.e(4552).then(n.bind(n,7604)),"@site/docs/devdocs/Fhenix Testnet/Details/Limitations.md",7604],c7c98221:[()=>n.e(6492).then(n.t.bind(n,4922,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-fhenixjs-390.json",4922],c9623b07:[()=>n.e(5343).then(n.bind(n,6628)),"@site/docs/devdocs/Writing Smart Contracts/Useful-Tips.md",6628],ccba1d6d:[()=>n.e(643).then(n.bind(n,2634)),"@site/docs/devdocs/Fhenix Testnet/FHE-Overview.md",2634],cfa1f075:[()=>n.e(4972).then(n.bind(n,7028)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Details/Fhenix-Differences.md",7028],d3836e8b:[()=>Promise.all([n.e(1869),n.e(3386)]).then(n.bind(n,7050)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Deploying.mdx",7050],d88fff1b:[()=>n.e(8696).then(n.bind(n,7466)),"@site/versioned_docs/version-Helium/devdocs/Encryption and Privacy/Permits-Access-Control.md",7466],d947cca9:[()=>n.e(7073).then(n.bind(n,1016)),"@site/docs/devdocs/Writing Smart Contracts/User-Inputs.md",1016],d9ab9a35:[()=>n.e(609).then(n.bind(n,8934)),"@site/docs/devdocs/Fhenix Testnet/Integration.md",8934],dfbb1b1d:[()=>n.e(3127).then(n.bind(n,2497)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/FHE-Overview.md",2497],e11920bd:[()=>n.e(9731).then(n.t.bind(n,8907,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-details-b86.json",8907],e4d6daf3:[()=>n.e(2214).then(n.bind(n,6983)),"@site/docs/devdocs/FhenixJS/Decryption.md",6983],e7912bf4:[()=>n.e(9207).then(n.bind(n,236)),"@site/versioned_docs/version-Helium/devdocs/Examples and References/Examples-fheDapps.md",236],efe9b862:[()=>n.e(5914).then(n.bind(n,170)),"@site/versioned_docs/version-Helium/devdocs/Setting Up Your Environment/Hardhat.md",170],f2e2dc26:[()=>n.e(2485).then(n.bind(n,1508)),"@site/docs/devdocs/Tutorials/Basic/Testing.md",1508],f4b774c8:[()=>n.e(2576).then(n.bind(n,5203)),"@site/docs/devdocs/Setting Up Your Environment/Gitpod.mdx",5203],f4bf702b:[()=>n.e(5016).then(n.bind(n,149)),"@site/versioned_docs/version-Helium/devdocs/Solidity API/Experimental/FHERC20.md",149],f60bfdad:[()=>n.e(4736).then(n.bind(n,5307)),"@site/versioned_docs/version-Helium/devdocs/FhenixJS/Decryption.md",5307],f75917f4:[()=>n.e(4214).then(n.bind(n,2366)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Types-and-Operators.md",2366],f978f6d9:[()=>Promise.all([n.e(1869),n.e(5112)]).then(n.bind(n,3804)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Writing-The-Contract.md",3804],fc128ddc:[()=>n.e(3164).then(n.bind(n,5051)),"@site/docs/devdocs/Tools and Utilities/Fhenix-Remix-Plugin.md",5051],fd76e1b6:[()=>n.e(8284).then(n.bind(n,7891)),"@site/versioned_docs/version-Helium/devdocs/Tutorials/Basic/Testing.md",7891],fe357ca8:[()=>n.e(9529).then(n.bind(n,6992)),"@site/versioned_docs/version-Helium/devdocs/Writing Smart Contracts/Useful-Tips.md",6992],fe47fcd9:[()=>n.e(8223).then(n.bind(n,8047)),"@site/docs/devdocs/Writing Smart Contracts/Select.md",8047],ff09db4b:[()=>n.e(1302).then(n.bind(n,9227)),"@site/docs/devdocs/Writing Smart Contracts/Security-Zones.md",9227],ffa92196:[()=>n.e(3959).then(n.bind(n,4702)),"@site/versioned_docs/version-Helium/devdocs/Fhenix Testnet/Details/Architecture.md",4702]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],h=(0,c.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(a,{...o,...l,...n})})}})}const p=[{path:"/getting-started",component:d("/getting-started","345"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","3d7"),exact:!0},{path:"/search",component:d("/search","5de"),exact:!0},{path:"/docs",component:d("/docs","fae"),routes:[{path:"/docs/helium",component:d("/docs/helium","3b9"),routes:[{path:"/docs/helium",component:d("/docs/helium","a31"),routes:[{path:"/docs/helium/category/details",component:d("/docs/helium/category/details","d9a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/category/fhe-contracts",component:d("/docs/helium/category/fhe-contracts","280"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/category/fhenix-helium-testnet",component:d("/docs/helium/category/fhenix-helium-testnet","fc1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/category/fhenixjs",component:d("/docs/helium/category/fhenixjs","ebf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/category/shielded-erc20-token",component:d("/docs/helium/category/shielded-erc20-token","1a1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/category/tutorials",component:d("/docs/helium/category/tutorials","364"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Encryption and Privacy/Permits-Access-Control",component:d("/docs/helium/devdocs/Encryption and Privacy/Permits-Access-Control","b63"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Encryption and Privacy/Privacy-Web3",component:d("/docs/helium/devdocs/Encryption and Privacy/Privacy-Web3","1cf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Examples and References/Examples-fheDapps",component:d("/docs/helium/devdocs/Examples and References/Examples-fheDapps","228"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Examples and References/Templates",component:d("/docs/helium/devdocs/Examples and References/Templates","5de"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Connecting-To",component:d("/docs/helium/devdocs/Fhenix Testnet/Connecting-To","f2a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Details/Architecture",component:d("/docs/helium/devdocs/Fhenix Testnet/Details/Architecture","8bb"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Details/Changelog",component:d("/docs/helium/devdocs/Fhenix Testnet/Details/Changelog","e79"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Details/Fhenix-Differences",component:d("/docs/helium/devdocs/Fhenix Testnet/Details/Fhenix-Differences","c5d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Details/Limitations",component:d("/docs/helium/devdocs/Fhenix Testnet/Details/Limitations","ccd"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/FHE-Overview",component:d("/docs/helium/devdocs/Fhenix Testnet/FHE-Overview","ca0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Fhenix-T-FHE",component:d("/docs/helium/devdocs/Fhenix Testnet/Fhenix-T-FHE","2c2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Fhenix Testnet/Integration",component:d("/docs/helium/devdocs/Fhenix Testnet/Integration","b52"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Catching Errors",component:d("/docs/helium/devdocs/FhenixJS/Catching Errors","9c9"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Decryption",component:d("/docs/helium/devdocs/FhenixJS/Decryption","aec"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Encryption",component:d("/docs/helium/devdocs/FhenixJS/Encryption","35d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Fhenix-JS",component:d("/docs/helium/devdocs/FhenixJS/Fhenix-JS","7d9"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Network Keys",component:d("/docs/helium/devdocs/FhenixJS/Network Keys","a9c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Permits",component:d("/docs/helium/devdocs/FhenixJS/Permits","032"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/FhenixJS/Sending-a-Transaction",component:d("/docs/helium/devdocs/FhenixJS/Sending-a-Transaction","d03"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/intro",component:d("/docs/helium/devdocs/intro","259"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Setting Up Your Environment/Foundry",component:d("/docs/helium/devdocs/Setting Up Your Environment/Foundry","302"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Setting Up Your Environment/Gitpod",component:d("/docs/helium/devdocs/Setting Up Your Environment/Gitpod","633"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Setting Up Your Environment/Hardhat",component:d("/docs/helium/devdocs/Setting Up Your Environment/Hardhat","ed4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Setting Up Your Environment/intro",component:d("/docs/helium/devdocs/Setting Up Your Environment/intro","2f9"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Setting Up Your Environment/Remix",component:d("/docs/helium/devdocs/Setting Up Your Environment/Remix","01f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Solidity API/Experimental/FHERC20",component:d("/docs/helium/devdocs/Solidity API/Experimental/FHERC20","c3e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Solidity API/Experimental/IFHERC20",component:d("/docs/helium/devdocs/Solidity API/Experimental/IFHERC20","0fd"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Solidity API/FHE",component:d("/docs/helium/devdocs/Solidity API/FHE","0e8"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Solidity API/Permissioned",component:d("/docs/helium/devdocs/Solidity API/Permissioned","281"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tools and Utilities/Fhenix-Encryption-UI",component:d("/docs/helium/devdocs/Tools and Utilities/Fhenix-Encryption-UI","707"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin",component:d("/docs/helium/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","633"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tools and Utilities/Fhenix-Remix-Plugin",component:d("/docs/helium/devdocs/Tools and Utilities/Fhenix-Remix-Plugin","6d6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Adding View Functions",component:d("/docs/helium/devdocs/Tutorials/Basic/Adding View Functions","e6c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Deploying",component:d("/docs/helium/devdocs/Tutorials/Basic/Deploying","813"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Exploring the Template",component:d("/docs/helium/devdocs/Tutorials/Basic/Exploring the Template","223"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/intro",component:d("/docs/helium/devdocs/Tutorials/Basic/intro","791"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Setting Up",component:d("/docs/helium/devdocs/Tutorials/Basic/Setting Up","c0f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Testing",component:d("/docs/helium/devdocs/Tutorials/Basic/Testing","6ed"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Basic/Writing-The-Contract",component:d("/docs/helium/devdocs/Tutorials/Basic/Writing-The-Contract","651"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Tutorials/Your-First-FHE-Contract",component:d("/docs/helium/devdocs/Tutorials/Your-First-FHE-Contract","6e4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Converting-between-Types",component:d("/docs/helium/devdocs/Writing Smart Contracts/Converting-between-Types","60e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Debug-Logging",component:d("/docs/helium/devdocs/Writing Smart Contracts/Debug-Logging","839"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/FHE-sol",component:d("/docs/helium/devdocs/Writing Smart Contracts/FHE-sol","69b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Gas-and-Benchmarks",component:d("/docs/helium/devdocs/Writing Smart Contracts/Gas-and-Benchmarks","713"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Permissions",component:d("/docs/helium/devdocs/Writing Smart Contracts/Permissions","411"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Requires",component:d("/docs/helium/devdocs/Writing Smart Contracts/Requires","a4b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Returning-Data",component:d("/docs/helium/devdocs/Writing Smart Contracts/Returning-Data","527"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Select",component:d("/docs/helium/devdocs/Writing Smart Contracts/Select","ff5"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Types-and-Operators",component:d("/docs/helium/devdocs/Writing Smart Contracts/Types-and-Operators","ff1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/Useful-Tips",component:d("/docs/helium/devdocs/Writing Smart Contracts/Useful-Tips","a7d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/helium/devdocs/Writing Smart Contracts/User-Inputs",component:d("/docs/helium/devdocs/Writing Smart Contracts/User-Inputs","9ef"),exact:!0,sidebar:"docsSidebar"}]}]},{path:"/docs",component:d("/docs","551"),routes:[{path:"/docs",component:d("/docs","271"),routes:[{path:"/docs/category/details",component:d("/docs/category/details","da1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/category/fhe-contracts",component:d("/docs/category/fhe-contracts","dfd"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/category/fhenix-nitrogen-testnet",component:d("/docs/category/fhenix-nitrogen-testnet","51b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/category/fhenixjs",component:d("/docs/category/fhenixjs","975"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/category/shielded-erc20-token",component:d("/docs/category/shielded-erc20-token","75b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/category/tutorials",component:d("/docs/category/tutorials","25c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Encryption and Privacy/Exposed-Encrypted-Variables",component:d("/docs/devdocs/Encryption and Privacy/Exposed-Encrypted-Variables","0ff"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Encryption and Privacy/Permits-Access-Control",component:d("/docs/devdocs/Encryption and Privacy/Permits-Access-Control","a3d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Encryption and Privacy/Privacy-Web3",component:d("/docs/devdocs/Encryption and Privacy/Privacy-Web3","d03"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Examples and References/Examples-fheDapps",component:d("/docs/devdocs/Examples and References/Examples-fheDapps","e7c"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Examples and References/Templates",component:d("/docs/devdocs/Examples and References/Templates","ee7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Connecting-To",component:d("/docs/devdocs/Fhenix Testnet/Connecting-To","489"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Details/Architecture",component:d("/docs/devdocs/Fhenix Testnet/Details/Architecture","957"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Details/Changelog",component:d("/docs/devdocs/Fhenix Testnet/Details/Changelog","fd6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Details/Fhenix-Differences",component:d("/docs/devdocs/Fhenix Testnet/Details/Fhenix-Differences","cb6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Details/Limitations",component:d("/docs/devdocs/Fhenix Testnet/Details/Limitations","80a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/FHE-Overview",component:d("/docs/devdocs/Fhenix Testnet/FHE-Overview","f18"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE",component:d("/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE","7ef"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Integration",component:d("/docs/devdocs/Fhenix Testnet/Integration","105"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Fhenix Testnet/Threshold-Network",component:d("/docs/devdocs/Fhenix Testnet/Threshold-Network","ec2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Catching Errors",component:d("/docs/devdocs/FhenixJS/Catching Errors","7b3"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Decryption",component:d("/docs/devdocs/FhenixJS/Decryption","61e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Encryption",component:d("/docs/devdocs/FhenixJS/Encryption","232"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Fhenix-JS",component:d("/docs/devdocs/FhenixJS/Fhenix-JS","aa1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Network Keys",component:d("/docs/devdocs/FhenixJS/Network Keys","bb3"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Permits",component:d("/docs/devdocs/FhenixJS/Permits","f74"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/FhenixJS/Sending-a-Transaction",component:d("/docs/devdocs/FhenixJS/Sending-a-Transaction","ad2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/intro",component:d("/docs/devdocs/intro","6ea"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Setting Up Your Environment/Foundry",component:d("/docs/devdocs/Setting Up Your Environment/Foundry","e11"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Setting Up Your Environment/Gitpod",component:d("/docs/devdocs/Setting Up Your Environment/Gitpod","f70"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Setting Up Your Environment/Hardhat",component:d("/docs/devdocs/Setting Up Your Environment/Hardhat","d97"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Setting Up Your Environment/intro",component:d("/docs/devdocs/Setting Up Your Environment/intro","2c5"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Setting Up Your Environment/Remix",component:d("/docs/devdocs/Setting Up Your Environment/Remix","62d"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Solidity API/Experimental/FHERC20",component:d("/docs/devdocs/Solidity API/Experimental/FHERC20","29b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Solidity API/Experimental/IFHERC20",component:d("/docs/devdocs/Solidity API/Experimental/IFHERC20","1ae"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Solidity API/FHE",component:d("/docs/devdocs/Solidity API/FHE","a7f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Solidity API/Permissioned",component:d("/docs/devdocs/Solidity API/Permissioned","cfd"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tools and Utilities/Fhenix-Encryption-UI",component:d("/docs/devdocs/Tools and Utilities/Fhenix-Encryption-UI","ae6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin",component:d("/docs/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","249"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tools and Utilities/Fhenix-Remix-Plugin",component:d("/docs/devdocs/Tools and Utilities/Fhenix-Remix-Plugin","db8"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Adding View Functions",component:d("/docs/devdocs/Tutorials/Basic/Adding View Functions","1f7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Deploying",component:d("/docs/devdocs/Tutorials/Basic/Deploying","a66"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Exploring the Template",component:d("/docs/devdocs/Tutorials/Basic/Exploring the Template","fd0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/intro",component:d("/docs/devdocs/Tutorials/Basic/intro","4d6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Setting Up",component:d("/docs/devdocs/Tutorials/Basic/Setting Up","fcf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Testing",component:d("/docs/devdocs/Tutorials/Basic/Testing","6b8"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Basic/Writing-The-Contract",component:d("/docs/devdocs/Tutorials/Basic/Writing-The-Contract","d87"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Tutorials/Your-First-FHE-Contract",component:d("/docs/devdocs/Tutorials/Your-First-FHE-Contract","57e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Converting-between-Types",component:d("/docs/devdocs/Writing Smart Contracts/Converting-between-Types","1bf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Debug-Logging",component:d("/docs/devdocs/Writing Smart Contracts/Debug-Logging","43b"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/FHE-sol",component:d("/docs/devdocs/Writing Smart Contracts/FHE-sol","334"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks",component:d("/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks","c94"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Parallel-Decryptions",component:d("/docs/devdocs/Writing Smart Contracts/Parallel-Decryptions","8ba"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Permissions",component:d("/docs/devdocs/Writing Smart Contracts/Permissions","aa1"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Randomness",component:d("/docs/devdocs/Writing Smart Contracts/Randomness","4d6"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Requires",component:d("/docs/devdocs/Writing Smart Contracts/Requires","38f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Returning-Data",component:d("/docs/devdocs/Writing Smart Contracts/Returning-Data","f40"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Security-Zones",component:d("/docs/devdocs/Writing Smart Contracts/Security-Zones","b27"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Select",component:d("/docs/devdocs/Writing Smart Contracts/Select","a52"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Types-and-Operators",component:d("/docs/devdocs/Writing Smart Contracts/Types-and-Operators","311"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/Useful-Tips",component:d("/docs/devdocs/Writing Smart Contracts/Useful-Tips","caf"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/devdocs/Writing Smart Contracts/User-Inputs",component:d("/docs/devdocs/Writing Smart Contracts/User-Inputs","195"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(6540),o=n(4848);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})}},8536:(e,t,n)=>{"use strict";var r=n(6540),o=n(5338),a=n(545),i=n(4625),s=n(4784),l=n(8193);const c=[n(119),n(6134),n(6294),n(1043)];var u=n(8328),d=n(6347),p=n(2831),f=n(4848);function h(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var m=n(5260),g=n(4586),b=n(6025),v=n(6342),y=n(9024),x=n(2131),S=n(4090),w=n(2967),k=n(440),E=n(1463);function T(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,x.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(m.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 C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,k.applyTrailingSlash)((0,b.Ay)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,f.jsxs)(m.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,v.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(m.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:S.w})]}),n&&(0,f.jsx)(y.be,{image:n}),(0,f.jsx)(C,{}),(0,f.jsx)(T,{}),(0,f.jsx)(E.A,{tag:w.Cy,locale:e}),(0,f.jsx)(m.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const A=new Map;var F=n(6125),P=n(6988),R=n(205);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const j=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,R.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function L(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(j,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const O=I,D="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container";function U(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${D}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return A.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return A.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(O,{location:e,children:G})}function J(){return(0,f.jsx)(W.A,{children:(0,f.jsx)(P.l,{children:(0,f.jsxs)(F.x,{children:[(0,f.jsxs)(h,{children:[(0,f.jsx)(H,{}),(0,f.jsx)(_,{}),(0,f.jsx)($,{}),(0,f.jsx)(q,{})]}),(0,f.jsx)(Y,{})]})})})}var K=n(4054);const Q=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Z=n(6921);const X=new Set,ee=new Set,te=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ne={prefetch:e=>{if(!(e=>!te()&&!ee.has(e)&&!X.has(e))(e))return!1;X.add(e);const t=(0,p.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(K).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Z.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!te()&&!ee.has(e))(e)&&(ee.add(e),L(e))},re=Object.freeze(ne);function oe(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const ae=Boolean(!0);if(l.A.canUseDOM){window.docusaurus=re;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(a.vd,{children:(0,f.jsx)(oe,{children:(0,f.jsx)(J,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ae)window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n});else{const r=o.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};L(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),o=n(4784);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Nitrogen","isLast":true,"path":"/docs","mainDocId":"devdocs/intro","docs":[{"id":"devdocs/Encryption and Privacy/Exposed-Encrypted-Variables","path":"/docs/devdocs/Encryption and Privacy/Exposed-Encrypted-Variables","sidebar":"docsSidebar"},{"id":"devdocs/Encryption and Privacy/Permits-Access-Control","path":"/docs/devdocs/Encryption and Privacy/Permits-Access-Control","sidebar":"docsSidebar"},{"id":"devdocs/Encryption and Privacy/Privacy-Web3","path":"/docs/devdocs/Encryption and Privacy/Privacy-Web3","sidebar":"docsSidebar"},{"id":"devdocs/Examples and References/Examples-fheDapps","path":"/docs/devdocs/Examples and References/Examples-fheDapps","sidebar":"docsSidebar"},{"id":"devdocs/Examples and References/Templates","path":"/docs/devdocs/Examples and References/Templates","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Connecting-To","path":"/docs/devdocs/Fhenix Testnet/Connecting-To","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Architecture","path":"/docs/devdocs/Fhenix Testnet/Details/Architecture","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Changelog","path":"/docs/devdocs/Fhenix Testnet/Details/Changelog","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Fhenix-Differences","path":"/docs/devdocs/Fhenix Testnet/Details/Fhenix-Differences","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Limitations","path":"/docs/devdocs/Fhenix Testnet/Details/Limitations","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/FHE-Overview","path":"/docs/devdocs/Fhenix Testnet/FHE-Overview","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Fhenix-T-FHE","path":"/docs/devdocs/Fhenix Testnet/Fhenix-T-FHE","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Integration","path":"/docs/devdocs/Fhenix Testnet/Integration","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Threshold-Network","path":"/docs/devdocs/Fhenix Testnet/Threshold-Network","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Catching Errors","path":"/docs/devdocs/FhenixJS/Catching Errors","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Decryption","path":"/docs/devdocs/FhenixJS/Decryption","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Encryption","path":"/docs/devdocs/FhenixJS/Encryption","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Fhenix-JS","path":"/docs/devdocs/FhenixJS/Fhenix-JS","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Network Keys","path":"/docs/devdocs/FhenixJS/Network Keys","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Permits","path":"/docs/devdocs/FhenixJS/Permits","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Sending-a-Transaction","path":"/docs/devdocs/FhenixJS/Sending-a-Transaction","sidebar":"docsSidebar"},{"id":"devdocs/intro","path":"/docs/devdocs/intro","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Foundry","path":"/docs/devdocs/Setting Up Your Environment/Foundry","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Gitpod","path":"/docs/devdocs/Setting Up Your Environment/Gitpod","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Hardhat","path":"/docs/devdocs/Setting Up Your Environment/Hardhat","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/intro","path":"/docs/devdocs/Setting Up Your Environment/intro","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Remix","path":"/docs/devdocs/Setting Up Your Environment/Remix","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Experimental/FHERC20","path":"/docs/devdocs/Solidity API/Experimental/FHERC20","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Experimental/IFHERC20","path":"/docs/devdocs/Solidity API/Experimental/IFHERC20","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/FHE","path":"/docs/devdocs/Solidity API/FHE","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Permissioned","path":"/docs/devdocs/Solidity API/Permissioned","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Encryption-UI","path":"/docs/devdocs/Tools and Utilities/Fhenix-Encryption-UI","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","path":"/docs/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Remix-Plugin","path":"/docs/devdocs/Tools and Utilities/Fhenix-Remix-Plugin","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Adding View Functions","path":"/docs/devdocs/Tutorials/Basic/Adding View Functions","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Deploying","path":"/docs/devdocs/Tutorials/Basic/Deploying","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Exploring the Template","path":"/docs/devdocs/Tutorials/Basic/Exploring the Template","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/intro","path":"/docs/devdocs/Tutorials/Basic/intro","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Setting Up","path":"/docs/devdocs/Tutorials/Basic/Setting Up","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Testing","path":"/docs/devdocs/Tutorials/Basic/Testing","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Writing-The-Contract","path":"/docs/devdocs/Tutorials/Basic/Writing-The-Contract","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Your-First-FHE-Contract","path":"/docs/devdocs/Tutorials/Your-First-FHE-Contract","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Converting-between-Types","path":"/docs/devdocs/Writing Smart Contracts/Converting-between-Types","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Debug-Logging","path":"/docs/devdocs/Writing Smart Contracts/Debug-Logging","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/FHE-sol","path":"/docs/devdocs/Writing Smart Contracts/FHE-sol","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Gas-and-Benchmarks","path":"/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Parallel-Decryptions","path":"/docs/devdocs/Writing Smart Contracts/Parallel-Decryptions","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Permissions","path":"/docs/devdocs/Writing Smart Contracts/Permissions","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Randomness","path":"/docs/devdocs/Writing Smart Contracts/Randomness","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Requires","path":"/docs/devdocs/Writing Smart Contracts/Requires","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Returning-Data","path":"/docs/devdocs/Writing Smart Contracts/Returning-Data","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Security-Zones","path":"/docs/devdocs/Writing Smart Contracts/Security-Zones","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Select","path":"/docs/devdocs/Writing Smart Contracts/Select","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Types-and-Operators","path":"/docs/devdocs/Writing Smart Contracts/Types-and-Operators","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Useful-Tips","path":"/docs/devdocs/Writing Smart Contracts/Useful-Tips","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/User-Inputs","path":"/docs/devdocs/Writing Smart Contracts/User-Inputs","sidebar":"docsSidebar"},{"id":"/category/fhenix-nitrogen-testnet","path":"/docs/category/fhenix-nitrogen-testnet","sidebar":"docsSidebar"},{"id":"/category/details","path":"/docs/category/details","sidebar":"docsSidebar"},{"id":"/category/fhe-contracts","path":"/docs/category/fhe-contracts","sidebar":"docsSidebar"},{"id":"/category/fhenixjs","path":"/docs/category/fhenixjs","sidebar":"docsSidebar"},{"id":"/category/tutorials","path":"/docs/category/tutorials","sidebar":"docsSidebar"},{"id":"/category/shielded-erc20-token","path":"/docs/category/shielded-erc20-token","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/devdocs/intro","label":"devdocs/intro"}}}},{"name":"Helium","label":"Helium","isLast":false,"path":"/docs/helium","mainDocId":"devdocs/intro","docs":[{"id":"devdocs/Encryption and Privacy/Permits-Access-Control","path":"/docs/helium/devdocs/Encryption and Privacy/Permits-Access-Control","sidebar":"docsSidebar"},{"id":"devdocs/Encryption and Privacy/Privacy-Web3","path":"/docs/helium/devdocs/Encryption and Privacy/Privacy-Web3","sidebar":"docsSidebar"},{"id":"devdocs/Examples and References/Examples-fheDapps","path":"/docs/helium/devdocs/Examples and References/Examples-fheDapps","sidebar":"docsSidebar"},{"id":"devdocs/Examples and References/Templates","path":"/docs/helium/devdocs/Examples and References/Templates","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Connecting-To","path":"/docs/helium/devdocs/Fhenix Testnet/Connecting-To","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Architecture","path":"/docs/helium/devdocs/Fhenix Testnet/Details/Architecture","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Changelog","path":"/docs/helium/devdocs/Fhenix Testnet/Details/Changelog","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Fhenix-Differences","path":"/docs/helium/devdocs/Fhenix Testnet/Details/Fhenix-Differences","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Details/Limitations","path":"/docs/helium/devdocs/Fhenix Testnet/Details/Limitations","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/FHE-Overview","path":"/docs/helium/devdocs/Fhenix Testnet/FHE-Overview","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Fhenix-T-FHE","path":"/docs/helium/devdocs/Fhenix Testnet/Fhenix-T-FHE","sidebar":"docsSidebar"},{"id":"devdocs/Fhenix Testnet/Integration","path":"/docs/helium/devdocs/Fhenix Testnet/Integration","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Catching Errors","path":"/docs/helium/devdocs/FhenixJS/Catching Errors","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Decryption","path":"/docs/helium/devdocs/FhenixJS/Decryption","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Encryption","path":"/docs/helium/devdocs/FhenixJS/Encryption","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Fhenix-JS","path":"/docs/helium/devdocs/FhenixJS/Fhenix-JS","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Network Keys","path":"/docs/helium/devdocs/FhenixJS/Network Keys","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Permits","path":"/docs/helium/devdocs/FhenixJS/Permits","sidebar":"docsSidebar"},{"id":"devdocs/FhenixJS/Sending-a-Transaction","path":"/docs/helium/devdocs/FhenixJS/Sending-a-Transaction","sidebar":"docsSidebar"},{"id":"devdocs/intro","path":"/docs/helium/devdocs/intro","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Foundry","path":"/docs/helium/devdocs/Setting Up Your Environment/Foundry","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Gitpod","path":"/docs/helium/devdocs/Setting Up Your Environment/Gitpod","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Hardhat","path":"/docs/helium/devdocs/Setting Up Your Environment/Hardhat","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/intro","path":"/docs/helium/devdocs/Setting Up Your Environment/intro","sidebar":"docsSidebar"},{"id":"devdocs/Setting Up Your Environment/Remix","path":"/docs/helium/devdocs/Setting Up Your Environment/Remix","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Experimental/FHERC20","path":"/docs/helium/devdocs/Solidity API/Experimental/FHERC20","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Experimental/IFHERC20","path":"/docs/helium/devdocs/Solidity API/Experimental/IFHERC20","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/FHE","path":"/docs/helium/devdocs/Solidity API/FHE","sidebar":"docsSidebar"},{"id":"devdocs/Solidity API/Permissioned","path":"/docs/helium/devdocs/Solidity API/Permissioned","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Encryption-UI","path":"/docs/helium/devdocs/Tools and Utilities/Fhenix-Encryption-UI","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","path":"/docs/helium/devdocs/Tools and Utilities/Fhenix-Hardhat-Plugin","sidebar":"docsSidebar"},{"id":"devdocs/Tools and Utilities/Fhenix-Remix-Plugin","path":"/docs/helium/devdocs/Tools and Utilities/Fhenix-Remix-Plugin","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Adding View Functions","path":"/docs/helium/devdocs/Tutorials/Basic/Adding View Functions","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Deploying","path":"/docs/helium/devdocs/Tutorials/Basic/Deploying","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Exploring the Template","path":"/docs/helium/devdocs/Tutorials/Basic/Exploring the Template","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/intro","path":"/docs/helium/devdocs/Tutorials/Basic/intro","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Setting Up","path":"/docs/helium/devdocs/Tutorials/Basic/Setting Up","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Testing","path":"/docs/helium/devdocs/Tutorials/Basic/Testing","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Basic/Writing-The-Contract","path":"/docs/helium/devdocs/Tutorials/Basic/Writing-The-Contract","sidebar":"docsSidebar"},{"id":"devdocs/Tutorials/Your-First-FHE-Contract","path":"/docs/helium/devdocs/Tutorials/Your-First-FHE-Contract","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Converting-between-Types","path":"/docs/helium/devdocs/Writing Smart Contracts/Converting-between-Types","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Debug-Logging","path":"/docs/helium/devdocs/Writing Smart Contracts/Debug-Logging","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/FHE-sol","path":"/docs/helium/devdocs/Writing Smart Contracts/FHE-sol","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Gas-and-Benchmarks","path":"/docs/helium/devdocs/Writing Smart Contracts/Gas-and-Benchmarks","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Permissions","path":"/docs/helium/devdocs/Writing Smart Contracts/Permissions","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Requires","path":"/docs/helium/devdocs/Writing Smart Contracts/Requires","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Returning-Data","path":"/docs/helium/devdocs/Writing Smart Contracts/Returning-Data","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Select","path":"/docs/helium/devdocs/Writing Smart Contracts/Select","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Types-and-Operators","path":"/docs/helium/devdocs/Writing Smart Contracts/Types-and-Operators","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/Useful-Tips","path":"/docs/helium/devdocs/Writing Smart Contracts/Useful-Tips","sidebar":"docsSidebar"},{"id":"devdocs/Writing Smart Contracts/User-Inputs","path":"/docs/helium/devdocs/Writing Smart Contracts/User-Inputs","sidebar":"docsSidebar"},{"id":"/category/fhenix-helium-testnet","path":"/docs/helium/category/fhenix-helium-testnet","sidebar":"docsSidebar"},{"id":"/category/details","path":"/docs/helium/category/details","sidebar":"docsSidebar"},{"id":"/category/fhe-contracts","path":"/docs/helium/category/fhe-contracts","sidebar":"docsSidebar"},{"id":"/category/fhenixjs","path":"/docs/helium/category/fhenixjs","sidebar":"docsSidebar"},{"id":"/category/tutorials","path":"/docs/helium/category/tutorials","sidebar":"docsSidebar"},{"id":"/category/shielded-erc20-token","path":"/docs/helium/category/shielded-erc20-token","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/helium/devdocs/intro","label":"devdocs/intro"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.4.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.4.0"}}}');var c=n(4848);const u={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(6540),o=n(8193),a=n(5260),i=n(440),s=n(3194),l=n(3102),c=n(4848);function u(e){let{error:t,tryAgain:n}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,c.jsx)(l.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(m,{fallback:()=>(0,c.jsx)(u,{error:t,tryAgain:n}),children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.A,{children:(0,c.jsx)(u,{error:t,tryAgain:n})})]})})}const h=e=>(0,c.jsx)(f,{...e});class m extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??h)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(545),o=n(4848);function a(e){return(0,o.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),o=n(4625),a=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(3427),u=n(6025),d=n(4848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:h,isActive:m,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...v}=e;const{siteConfig:y}=(0,i.A)(),{trailingSlash:x,baseUrl:S}=y,w=y.future.experimental_router,{withBaseUrl:k}=(0,u.hH)(),E=(0,c.A)(),T=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>T.current));const C=p||f;const _=(0,s.A)(C),A=C?.replace("pathname://","");let F=void 0!==A?(P=A,b&&(e=>e.startsWith("/"))(P)?k(P):P):void 0;var P;"hash"===w&&F?.startsWith("./")&&(F=F?.slice(1)),F&&_&&(F=(0,a.applyTrailingSlash)(F,{trailingSlash:x,baseUrl:S}));const R=(0,r.useRef)(!1),N=n?o.k2:o.N_,j=l.A.canUseIntersectionObserver,L=(0,r.useRef)(),I=()=>{R.current||null==F||(window.docusaurus.preload(F),R.current=!0)};(0,r.useEffect)((()=>(!j&&_&&null!=F&&window.docusaurus.prefetch(F),()=>{j&&L.current&&L.current.disconnect()})),[L,F,j,_]);const O=F?.startsWith("#")??!1,D=!v.target||"_self"===v.target,M=!F||!_||!D;return g||!O&&M||E.collectLink(F),v.id&&E.collectAnchor(v.id),M?(0,d.jsx)("a",{ref:T,href:F,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...v}):(0,d.jsx)(N,{...v,onMouseEnter:I,onTouchStart:I,innerRef:e=>{T.current=e,j&&e&&_&&(L.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(L.current.unobserve(e),L.current.disconnect(),null!=F&&window.docusaurus.prefetch(F))}))})),L.current.observe(e))},to:F,...n&&{isActive:m,activeClassName:h}})}const f=r.forwardRef(p)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(6540),o=n(4848);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(6540),o=n(4586),a=n(6654);function i(){const{siteConfig:e}=(0,o.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:o=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,a.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(o)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const l=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+l:l}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6988);function a(){return(0,r.useContext)(o.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6125);function a(){return(0,r.useContext)(o.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);const o=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?`${o}.${a}`:a;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>a});var r=n(6540),o=n(4848);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>b,vT:()=>f,gk:()=>h,Gy:()=>d,HW:()=>v,ht:()=>p,r7:()=>g,jh:()=>m});var r=n(6347),o=n(4586),a=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function c(e,t){const n=l(e,t),o=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const u={},d=()=>i("docusaurus-plugin-content-docs")??u,p=e=>{try{return function(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function f(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function h(e){void 0===e&&(e={});const t=f(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:l(t.pluginData,n)}}function m(e){return p(e).versions}function g(e){const t=p(e);return s(t)}function b(e){const t=p(e),{pathname:n}=(0,r.zy)();return c(t,n)}function v(e){const t=p(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:c(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),o=n(4784);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(3845)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(4164),o=n(1312),a=n(6342),i=n(8774),s=n(3427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(4848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,a.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,o.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.A)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(4848);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},3194:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ot});var r=n(6540),o=n(4164),a=n(7489),i=n(9024),s=n(6347),l=n(1312),c=n(5062),u=n(4848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),b=n(4090);const v={skipToContent:"skipToContent_fXgn"};function y(){return(0,u.jsx)(m,{className:v.skipToContent})}var x=n(6342),S=n(5041);function w(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:o,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const k={closeButton:"closeButton_CVFx"};function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.A)("clean-btn close",k.closeButton,e.className),children:(0,u.jsx)(w,{width:14,height:14,strokeWidth:3.1})})}const T={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,x.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,o.A)(T.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const _={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function A(){const{announcementBar:e}=(0,x.p)(),{isActive:t,close:n}=(0,S.M)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,u.jsxs)("div",{className:_.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,u.jsx)("div",{className:_.announcementBarPlaceholder}),(0,u.jsx)(C,{className:_.announcementBarContent}),a&&(0,u.jsx)(E,{onClick:n,className:_.announcementBarClose})]})}var F=n(2069),P=n(3104);var R=n(9532),N=n(5600);const j=r.createContext(null);function L(e){let{children:t}=e;const n=function(){const e=(0,F.M)(),t=(0,N.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,R.ZC)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,u.jsx)(j.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function O(){const e=(0,r.useContext)(j);if(!e)throw new R.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,N.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function D(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=O();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,o.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(5293),B=n(2303);function U(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function z(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const $={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function H(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,B.A)(),s=(0,l.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,o.A)($.toggle,t),children:(0,u.jsxs)("button",{className:(0,o.A)("clean-btn",$.toggleButton,!i&&$.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,u.jsx)(U,{className:(0,o.A)($.toggleIcon,$.lightToggleIcon)}),(0,u.jsx)(z,{className:(0,o.A)($.toggleIcon,$.darkToggleIcon)})]})})}const W=r.memo(H),V={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Y(e){let{className:t}=e;const n=(0,x.p)().navbar.style,r=(0,x.p)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.G)();return r?null:(0,u.jsx)(W,{className:t,buttonClassName:"dark"===n?V.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var G=n(3465);function q(){return(0,u.jsx)(G.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function J(){const e=(0,F.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(w,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(q,{}),(0,u.jsx)(Y,{className:"margin-right--md"}),(0,u.jsx)(J,{})]})}var Q=n(8774),Z=n(6025),X=n(6654),ee=n(1252),te=n(3186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const d=(0,Z.Ay)(r),p=(0,Z.Ay)(t),f=(0,Z.Ay)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,X.A)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[a,h&&(0,u.jsx)(te.A,{...s&&{width:12,height:12}})]})};return o?(0,u.jsx)(Q.A,{href:l?f:o,...c,...m}):(0,u.jsx)(Q.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,ee.G)(n,t.pathname):t.pathname.startsWith(p)},...c,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,u.jsx)(ne,{className:(0,o.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,o.A)("menu__link",t),...r})})}function ae(e){let{mobile:t=!1,position:n,...r}=e;const o=t?oe:re;return(0,u.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(1422),se=n(9169),le=n(4586);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!(0,ee.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:a,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,u.jsxs)("div",{ref:l,className:(0,o.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.A)("navbar__link",a),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(qe,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:a,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:h}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&h(!d)}),[c,d,h]),(0,u.jsxs)("li",{className:(0,o.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,o.A)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,u.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(qe,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var he=n(2131);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var be=n(961);function ve(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var ye=n(9188),xe=["translations"];function Se(){return Se=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Te="Ctrl";var Ce=r.forwardRef((function(e,t){var n=e.translations,o=void 0===n?{}:n,a=Ee(e,xe),i=o.buttonText,s=void 0===i?"Search":i,l=o.buttonAriaLabel,c=void 0===l?"Search":l,u=we((0,r.useState)(null),2),d=u[0],p=u[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?p("\u2318"):p(Te))}),[]),r.createElement("button",Se({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},a,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(ye.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},s)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement(_e,{reactsToKey:d===Te?Te:"Meta"},d===Te?r.createElement(ve,null):d),r.createElement(_e,{reactsToKey:"k"},"K"))))}));function _e(e){var t=e.reactsToKey,n=e.children,o=we((0,r.useState)(!1),2),a=o[0],i=o[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:a?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}var Ae=n(5260),Fe=n(4255),Pe=n(1062),Re=n(2967);const Ne={button:{buttonText:(0,l.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,l.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,l.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,l.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,l.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,l.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,l.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,l.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,l.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,l.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,l.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,l.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,l.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,l.T)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,l.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,l.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,l.T)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,l.T)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,l.T)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,l.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,l.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,l.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,l.T)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,l.T)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,l.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,l.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,l.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let je=null;function Le(e){let{hit:t,children:n}=e;return(0,u.jsx)(Q.A,{to:t.url,children:n})}function Ie(e){let{state:t,onClose:n}=e;const r=(0,Fe.w)();return(0,u.jsx)(Q.A,{to:r(t.query),onClick:n,children:(0,u.jsx)(l.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Oe(e){let{contextualSearch:t,externalUrlRegex:o,...a}=e;const{siteMetadata:i}=(0,le.A)(),l=(0,Pe.C)(),c=function(){const{locale:e,tags:t}=(0,Re.af)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),d=a.searchParameters?.facetFilters??[],p=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(c,d):d,f={...a.searchParameters,facetFilters:p},h=(0,s.W6)(),m=(0,r.useRef)(null),g=(0,r.useRef)(null),[b,v]=(0,r.useState)(!1),[y,x]=(0,r.useState)(void 0),S=(0,r.useCallback)((()=>je?Promise.resolve():Promise.all([n.e(9462).then(n.bind(n,9462)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,8913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,416))]).then((e=>{let[{DocSearchModal:t}]=e;je=t}))),[]),w=(0,r.useCallback)((()=>{if(!m.current){const e=document.createElement("div");m.current=e,document.body.insertBefore(e,document.body.firstChild)}}),[]),k=(0,r.useCallback)((()=>{w(),S().then((()=>v(!0)))}),[S,w]),E=(0,r.useCallback)((()=>{v(!1),g.current?.focus()}),[]),T=(0,r.useCallback)((e=>{e.preventDefault(),x(e.key),k()}),[k]),C=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,ee.G)(o,t)?window.location.href=t:h.push(t)}}).current,_=(0,r.useRef)((e=>a.transformItems?a.transformItems(e):e.map((e=>({...e,url:l(e.url)}))))).current,A=(0,r.useMemo)((()=>e=>(0,u.jsx)(Ie,{...e,onClose:E})),[E]),F=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,o=e.onClose,a=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;(27===e.keyCode&&t||"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?o():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&a&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&a(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,o,a,i])}({isOpen:b,onOpen:k,onClose:E,onInput:T,searchButtonRef:g}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ae.A,{children:(0,u.jsx)("link",{rel:"preconnect",href:`https://${a.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,u.jsx)(Ce,{onTouchStart:S,onFocus:S,onMouseOver:S,onClick:k,ref:g,translations:Ne.button}),b&&je&&m.current&&(0,be.createPortal)((0,u.jsx)(je,{onClose:E,initialScrollY:window.scrollY,initialQuery:y,navigator:C,transformItems:_,hitComponent:Le,transformSearchClient:F,...a.searchPagePath&&{resultsFooterComponent:A},...a,searchParameters:f,placeholder:Ne.placeholder,translations:Ne.modal}),m.current)]})}function De(){const{siteConfig:e}=(0,le.A)();return(0,u.jsx)(Oe,{...e.themeConfig.algolia})}function Me({apiKey:e,alwaysOpen:t,noFastMode:n}){return(0,r.useLayoutEffect)((()=>{const r=window?.document?.getElementById?.("__cookbook");if(!window?.document||r)return;const o=window.document.createElement("div");o.id="__cookbook",o.setAttribute("data-api-key",e),t&&o.setAttribute("data-always-open",""),n&&o.setAttribute("data-no-fast",""),window.document.body.appendChild(o);const a=window.document.createElement("script");return a.src="https://cdn.jsdelivr.net/npm/@cookbookdev/docsbot/dist/standalone/index.cjs.js",a.defer=!0,document.head.appendChild(a),()=>{try{if(!window?.document)return;window.document.body&&window.document.body.contains(o)&&window.document.body.removeChild(o),window.document.head&&window.document.head.contains(a)&&window.document.head.removeChild(a)}catch(e){console.error("error while cleaning up AskCookbook",e)}}}),[]),null}const Be="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2NjhkNGVmMTQ5ODQ2YjcxMDdjYzEyZDUiLCJpYXQiOjE3MjA1MzY4MTcsImV4cCI6MjAzNjExMjgxN30.RArVfTI-iEvHuTH8gRzfwHuFHeETUv8YIsvDp2Kv3sE";function Ue(e){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(De,{...e}),(0,u.jsx)(Me,{apiKey:Be})]})}const ze={navbarSearchContainer:"navbarSearchContainer_Bca1"};function $e(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,o.A)(n,ze.navbarSearchContainer),children:t})}var He=n(4070),We=n(4142);var Ve=n(5597);const Ye=e=>e.docs.find((t=>t.id===e.mainDocId));const Ge={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,le.A)(),p=(0,he.o)(),{search:f,hash:h}=(0,s.zy)(),m=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${h}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...a,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:ge}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)($e,{className:n,children:(0,u.jsx)(Ue,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,u.jsx)(i,{className:(0,o.A)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,He.zK)(r),i=(0,We.QB)(t,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,He.zK)(r),i=(0,We.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,We.Vd)(r)[0],i=t??a.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,u.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:d}=(0,s.zy)(),p=(0,He.zK)(n),f=(0,He.jh)(n),{savePreferredVersionName:h}=(0,Ve.g1)(n),m=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Ye(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}})),...a],g=(0,We.Vd)(n)[0],b=t&&m.length>1?(0,l.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,v=t&&m.length>1?void 0:Ye(g).path;return m.length<=1?(0,u.jsx)(ae,{...i,mobile:t,label:b,to:v,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:v,items:m,isActive:r?()=>!1:void 0})}};function qe(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Ge[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(o,{...n})}function Je(){const e=(0,F.M)(),t=(0,x.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(qe,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ke(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(l.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Qe(){const e=0===(0,x.p)().navbar.items.length,t=O();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Ke,{onClick:()=>t.hide()}),t.content]})}function Ze(){const e=(0,F.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(D,{header:(0,u.jsx)(K,{}),primaryMenu:(0,u.jsx)(Je,{}),secondaryMenu:(0,u.jsx)(Qe,{})}):null}const Xe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function et(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,o.A)("navbar-sidebar__backdrop",e.className)})}function tt(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,x.p)(),i=(0,F.M)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,P.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+c{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,u.jsxs)("nav",{ref:s,"aria-label":(0,l.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[Xe.navbarHideable,!d&&Xe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(et,{onClick:i.toggle}),(0,u.jsx)(Ze,{})]})}var nt=n(440);const rt={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function ot(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(l.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 at(e){let{error:t}=e;const n=(0,nt.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:rt.errorBoundaryError,children:n})}class it extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const st="right";function lt(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function ct(){const{toggle:e,shown:t}=(0,F.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,l.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,u.jsx)(lt,{})})}const ut={colorModeToggle:"colorModeToggle_DEke"};function dt(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(it,{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,u.jsx)(qe,{...e})},t)))})}function pt(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function ft(){const e=(0,F.M)(),t=(0,x.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??st)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,u.jsx)(pt,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(ct,{}),(0,u.jsx)(q,{}),(0,u.jsx)(dt,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(dt,{items:r}),(0,u.jsx)(Y,{className:ut.colorModeToggle}),!o&&(0,u.jsx)($e,{children:(0,u.jsx)(Ue,{})})]})})}function ht(){return(0,u.jsx)(tt,{children:(0,u.jsx)(ft,{})})}function mt(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,Z.Ay)(n),l=(0,Z.Ay)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Q.A,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,X.A)(r)&&(0,u.jsx)(te.A,{})]})}function gt(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(mt,{item:t})},t.href??t.to)}function bt(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(gt,{item:e},t)))})]})}function vt(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(bt,{column:e},t)))})}function yt(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function xt(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(mt,{item:t})}function St(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(xt,{item:e}),t.length!==n+1&&(0,u.jsx)(yt,{})]},n)))})})}function wt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(vt,{columns:t}):(0,u.jsx)(St,{links:t})}var kt=n(1122);const Et={footerLogoLink:"footerLogoLink_BH7S"};function Tt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,Z.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(kt.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Ct(e){let{logo:t}=e;return t.href?(0,u.jsx)(Q.A,{href:t.href,className:Et.footerLogoLink,target:t.target,children:(0,u.jsx)(Tt,{logo:t})}):(0,u.jsx)(Tt,{logo:t})}function _t(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function At(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,u.jsx)("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function Ft(){const{footer:e}=(0,x.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,u.jsx)(At,{style:o,links:n&&n.length>0&&(0,u.jsx)(wt,{links:n}),logo:r&&(0,u.jsx)(Ct,{logo:r}),copyright:t&&(0,u.jsx)(_t,{copyright:t})})}const Pt=r.memo(Ft),Rt=(0,R.fM)([M.a,S.o,P.Tv,Ve.VQ,i.Jx,function(e){let{children:t}=e;return(0,u.jsx)(N.y_,{children:(0,u.jsx)(F.e,{children:(0,u.jsx)(L,{children:t})})})}]);function Nt(e){let{children:t}=e;return(0,u.jsx)(Rt,{children:t})}var jt=n(1107);function Lt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(jt.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(l.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(ot,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(at,{error:t})})]})})})}const It={mainWrapper:"mainWrapper_z2l0"};function Ot(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,b.J)(),(0,u.jsxs)(Nt,{children:[(0,u.jsx)(i.be,{title:s,description:l}),(0,u.jsx)(y,{}),(0,u.jsx)(A,{}),(0,u.jsx)(ht,{}),(0,u.jsx)("div",{id:d,className:(0,o.A)(g.G.wrapper.main,It.mainWrapper,r),children:(0,u.jsx)(a.A,{fallback:e=>(0,u.jsx)(Lt,{...e}),children:t})}),!n&&(0,u.jsx)(Pt,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8774),o=n(6025),a=n(4586),i=n(6342),s=n(1122),l=n(4848);function c(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,l.jsx)(s.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,a.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,o.Ay)(s?.href||"/"),h=n?"":t,m=s?.alt??h;return(0,l.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:m,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(5260),o=n(4848);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})]})}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6540),o=n(4164),a=n(2303),i=n(5293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(4848);function c(e){let{className:t,children:n}=e;const c=(0,a.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function u(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(c,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,u:()=>c});var r=n(6540),o=n(8193),a=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(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 u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u: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??l}`,height:`${t}px`}}function s(){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?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.A.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:u,style:c?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&c(t)}),[o,t]),o?(0,s.jsx)(m,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{M:()=>m,o:()=>h});var r=n(6540),o=n(2303),a=n(679),i=n(9532),s=n(6342),l=n(4848);const c=(0,a.Wf)("docusaurus.announcement.dismiss"),u=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.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=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>b,a:()=>g});var r=n(6540),o=n(8193),a=n(9532),i=n(679),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,h=e=>o.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[o,a]=(0,r.useState)(h(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&&m(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!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(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||l.current?l.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,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>b,XK:()=>x,g1:()=>y});var r=n(6540),o=n(4070),a=n(7065),i=n(6342),s=n(4142),l=n(9532),c=n(679),u=n(4848);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{s(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),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,u.jsx)(h.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return s.C5?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function v(){const e=(0,r.useContext)(h);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,i]=v(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function x(){const e=(0,o.Gy)(),[t]=v();function n(n){const r=e[n],{preferredVersionName:o}=t[n];return r.versions.find((e=>e.name===o))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),o=n(9532),a=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(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)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(6540),o=n(5600),a=n(4581),i=n(7485),s=n(6342),l=n(9532),c=n(4848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[l,c]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(l)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:l})),[e,n,u,l])}function p(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(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 l(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(6540);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)}}),[])}},4255:(e,t,n)=>{"use strict";n.d(t,{b:()=>s,w:()=>l});var r=n(6540),o=n(4586),a=n(7485);const i="q";function s(){return(0,a.l)(i)}function l(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,o.A)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),o=n(8193);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(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}},7559:(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"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4142:(e,t,n)=>{"use strict";n.d(t,{$S:()=>m,B5:()=>C,C5:()=>p,Nr:()=>h,OF:()=>w,QB:()=>T,Vd:()=>k,Y:()=>x,cC:()=>f,d1:()=>_,fW:()=>E,w8:()=>v});var r=n(6540),o=n(6347),a=n(2831),i=n(4070),s=n(5597),l=n(2252),c=n(6588),u=n(1682),d=n(9169);const p=!!i.Gy;function f(e){const t=(0,l.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function h(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=h(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,o.zy)(),t=(0,c.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=S({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const g=(e,t)=>void 0!==e&&(0,d.ys)(e,t),b=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||b(e.items,t))}function y(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||v(e,t);default:return!0}}function x(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function S(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,c.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?S({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,s.g1)(e),o=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,u.s)([t,n,o].filter(Boolean))),[t,n,o])}function E(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 T(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- ${(0,u.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function C(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,o.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.v)(i),sidebarName:c,sidebarItems:u}}function _(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!h(e)))}},481:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(4586);function o(e){const{siteConfig:t}=(0,r.A)(),{title:n,titleDelimiter:o}=t;return e?.trim().length?`${e.trim()} ${o} ${n}`:n}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>l,l:()=>c});var r=n(6540),o=n(6347),a=n(9532);function i(e){!function(e){const t=(0,o.W6)(),n=(0,a._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,o.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function l(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}function c(e){const t=l(e)??"",n=function(e){const t=(0,o.W6)();return(0,r.useCallback)(((n,r)=>{const o=new URLSearchParams(t.location.search);n?o.set(e,n):o.delete(e),(r?.push?t.push:t.replace)({search:o.toString()})}),[e,t])}(e);return[t,n]}},1682:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function o(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>o})},9024:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>h});var r=n(6540),o=n(4164),a=n(5260),i=n(3102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(6025),c=n(481),u=n(4848);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const s=(0,c.s)(t),{withBaseUrl:d}=(0,l.hH)(),p=o?d(o,{absolute:!0}):void 0;return(0,u.jsxs)(a.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.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),s=(0,o.A)(i,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(a.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,o.A)(r,a),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),o=n(205),a=n(4848);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 s(e){const t=(0,r.useRef)();return(0,o.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),o=n(8328),a=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>u,a_:()=>h,gk:()=>m});var r=n(6540),o=n(8193),a=n(2303),i=n(205),s=n(9532),l=n(4848);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const p=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),o=(0,r.useRef)(p()),a=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function h(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),o=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:o}}function m(){const e=(0,r.useRef)(null),t=(0,a.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>l,tU:()=>s});var r=n(4070),o=n(4586),a=n(5597);const i="default";function s(e,t){return`docs-${e}-${t}`}function l(){const{i18n:e}=(0,o.A)(),t=(0,r.Gy)(),n=(0,r.gk)(),l=(0,a.XK)();const c=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,o=l[e],a=t[e].versions.find((e=>e.isLast));return s(e,(r??o??a).name)}))];return{locale:e.currentLocale,tags:c}}},679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u,Dv:()=>d});var r=n(6540);const o=JSON.parse('{"N":"localStorage","M":""}'),a=o.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function s(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${o.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const r=s(t?.persistence);return null===r?c:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}function d(e,t){const n=(0,r.useRef)((()=>null===e?c:u(e,t))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),o=n(6347),a=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:l}=(0,o.zy)(),c=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),o=n(6347),a=n(9532);function i(e){const t=(0,o.zy)(),n=(0,a.ZC)(t),i=(0,a._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(4586);function o(){return(0,r.A)().siteConfig.themeConfig}},8126:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(4586);function o(){const{siteConfig:{themeConfig:e}}=(0,r.A)();return e}},1062:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(6540),o=n(1252),a=n(6025),i=n(8126);function s(){const{withBaseUrl:e}=(0,a.hH)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const a=new URL(r);if((0,o.G)(t,a.href))return r;const i=`${a.pathname+a.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,n?o(l):a(l));var l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>x,TM:()=>C,yJ:()=>f,sC:()=>A,AO:()=>p});var r=n(9668);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,m(),x.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(x.entries[x.index]=o,d({action:r,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=x.index+e;return t>=0&&t{"use strict";var r=n(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},9700:()=>{!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,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=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(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++o;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),v=[];m&&v.push.apply(v,i([m])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(v)):c.content=v}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},3537:()=>{Prism.languages.solidity=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),Prism.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),Prism.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),Prism.languages.sol=Prism.languages.solidity},3845:(e,t,n)=>{var r={"./prism-solidity":3537};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=3845},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n