1(globalThis.webpackChunkdocs=globalThis.webpackChunkdocs||[]).push([[1233],{5048(e,t,n){"use strict";n.d(t,{A:()=>a});n(96540);var s=n(74848);function a(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}},14115(e,t,n){"use strict";n.d(t,{A:()=>a});n(96540);var s=n(74848);function a(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}},18426(e,t){function n(e){let t,n=[];for(let s of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,a,r]=t;if(s&&r){s=parseInt(s),r=parseInt(r);const e=s<r?1:-1;"-"!==a&&".."!==a&&"\u2025"!==a||(r+=e);for(let t=s;t!==r;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},26058(e,t,n){"use strict";n.d(t,{A:()=>r});var s=n(95293),a=n(6342);function r(){const{prism:e}=(0,a.p)(),{colorMode:t}=(0,s.G)(),n=e.theme,r=e.darkTheme||n;return"dark"===t?r:n}},28453(e,t,n){"use strict";n.d(t,{R:()=>o,x:()=>c});var s=n(96540);const a={},r=s.createContext(a);function o(e){const t=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),s.createElement(r.Provider,{value:t},e.children)}},34291(e,t,n){"use strict";n.d(t,{M$:()=>b,Ph:()=>N,l8:()=>_,mU:()=>g});var s=n(96540),a=n(15066),r=n(18426),o=n.n(r),c=n(89532),i=n(74848);const l=/title=(?<quote>["'])(?<title>.*?)\1/,d=/\{(?<range>[\d,-]+)\}/,u={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},h={...u,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},p=Object.keys(u);function m(e,t){const n=e.map(e=>{const{start:n,end:s}=h[e];return`(?:${n}\\s*(${t.flatMap(e=>[e.line,e.block?.start,e.block?.end].filter(Boolean)).join("|")})\\s*${s})`}).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function x({showLineNumbers:e,metastring:t}){return"boolean"==typeof e?e?1:void 0:"number"==typeof e?e:function(e){const t=e?.split(" ").find(e=>e.startsWith("showLineNumbers"));if(t){if(t.startsWith("showLineNumbers=")){const e=t.replace("showLineNumbers=","");return parseInt(e,10)}return 1}}(t)}function f(e,t){const{language:n,magicComments:s}=t;if(void 0===n)return{lineClassNames:{},code:e};const a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return m(["js","jsBlock"],t);case"jsx":case"tsx":return m(["js","jsBlock","jsx"],t);case"html":return m(["js","jsBlock","html"],t);case"python":case"py":case"bash":return m(["bash"],t);case"markdown":case"md":return m(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return m(["tex"],t);case"lua":case"haskell":return m(["lua"],t);case"sql":return m(["lua","jsBlock"],t);case"wasm":return m(["wasm"],t);case"vb":case"vba":case"visual-basic":return m(["vb","rem"],t);case"vbnet":return m(["vbnet","rem"],t);case"batch":return m(["rem"],t);case"basic":return m(["rem","f90"],t);case"fsharp":return m(["js","ml"],t);case"ocaml":case"sml":return m(["ml"],t);case"fortran":return m(["f90"],t);case"cobol":return m(["cobol"],t);default:return m(p,t)}}(n,s),r=e.split(/\r?\n/),c=Object.fromEntries(s.map(e=>[e.className,{start:0,range:""}])),i=Object.fromEntries(s.filter(e=>e.line).map(({className:e,line:t})=>[t,e])),l=Object.fromEntries(s.filter(e=>e.block).map(({className:e,block:t})=>[t.start,e])),d=Object.fromEntries(s.filter(e=>e.block).map(({className:e,block:t})=>[t.end,e]));for(let o=0;o<r.length;
1){const e=r[o].match(a);if(!e){o+=1;continue}const t=e.slice(1).find(e=>void 0!==e);i[t]?c[i[t]].range+=`${o},`:l[t]?c[l[t]].start=o:d[t]&&(c[d[t]].range+=`${c[d[t]].start}-${o-1},`),r.splice(o,1)}const u={};return Object.entries(c).forEach(([e,{range:t}])=>{o()(t).forEach(t=>{u[t]??=[],u[t].push(e)})}),{code:r.join("\n"),lineClassNames:u}}function j(e,t){const n=e.replace(/\r?\n$/,"");return function(e,{metastring:t,magicComments:n}){if(t&&d.test(t)){const s=t.match(d).groups.range;if(0===n.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${t}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const a=n[0].className,r=o()(s).filter(e=>e>0).map(e=>[e-1,[a]]);return{lineClassNames:Object.fromEntries(r),code:e}}return null}(n,{...t})??f(n,{...t})}function g(e){const t=function(e){return t=e.language??function(e){if(!e)return;const t=e.split(" ").find(e=>e.startsWith("language-"));return t?.replace(/language-/,"")}(e.className)??e.defaultLanguage,t?.toLowerCase()??"text";var t}({language:e.language,defaultLanguage:e.defaultLanguage,className:e.className}),{lineClassNames:n,code:s}=j(e.code,{metastring:e.metastring,magicComments:e.magicComments,language:t}),r=function({className:e,language:t}){return(0,a.A)(e,t&&!e?.includes(`language-${t}`)&&`language-${t}`)}({className:e.className,language:t}),o=(c=e.metastring,(c?.match(l)?.groups.title??"")||e.title);var c;const i=x({showLineNumbers:e.showLineNumbers,metastring:e.metastring});return{codeInput:e.code,code:s,className:r,language:t,title:o,lineNumbersStart:i,lineClassNames:n}}function b(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach(([e,s])=>{const a=t[e];a&&"string"==typeof s&&(n[a]=s)}),n}const C=(0,s.createContext)(null);function _({metadata:e,wordWrap:t,children:n}){const a=(0,s.useMemo)(()=>({metadata:e,wordWrap:t}),[e,t]);return(0,i.jsx)(C.Provider,{value:a,children:n})}function N(){const e=(0,s.useContext)(C);if(null===e)throw new c.dV("CodeBlockContextProvider");return e}},48879(e,t,n){"use strict";n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"reference/api/data_context/types/base/DataContextConfig_class","title":"DataContextConfig","description":"{`","source":"@site/docs/reference/api/data_context/types/base/DataContextConfig_class.mdx","sourceDirName":"reference/api/data_context/types/base","slug":"/reference/api/data_context/types/base/DataContextConfig_class","permalink":"/docs/reference/api/data_context/types/base/DataContextConfig_class","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"DataContextConfig","sidebar_label":"DataContextConfig"},"sidebar":"gx_apis","previous":{"title":"DataContextVariables","permalink":"/docs/reference/api/data_context/data_context_variables/DataContextVariables_class"},"next":{"title":"FilesystemStoreBackendDefaults","permalink":"/docs/reference/api/data_context/types/base/FilesystemStoreBackendDefaults_class"}}');var a=n(74848),r=n(28453),o=n(66190);const c={title:"DataContextConfig",sidebar_label:"DataContextConfig"},i=void 0,l={},d=[];function u(e){const t={p:"p",...(0,r.R)(),...e.components};return(0,a.jsx)("section",{class:"sphinx-api-doc",id:"datacontextconfig",children:(0,a.jsxs)("dl",{class:"py class",children:[(0,a.jsx)(o.A,{language:"python",title:"Signature",children:"\nclass great_expectations.data_context.types.base.DataContextConfig(\n config_version: Optional[float] = None,\n fluent_datasources: Optional[dict] = None,\n expectations_store_name: Optional[str] = None,\n validation_results_store_name: Optional[str] = None,\n checkpoint_store_name: Optional[str] = None,\n plugins_directory: Optional[str] = None,\n stores: Optional[Dict] = None,\n data_docs_sites: Optional[Dict] = None,\n config_variables_file_path: Optional[str] = None,\n analytics_enabled: Optional[bool] = None,\n data_context_id: Optional[uuid.UUID] = None,\n store_backend_defaults: Optional[great_expectations.data_context.types.base.BaseStoreBackendDefaults] = None,\n commented_map: Optional[ruamel.yaml.comments.CommentedMap] = None,\n progress_bars: Optional[great_expectations.data_context.types.base.ProgressBarsConfig] = None\n)\n"}),(0,a.jsxs)("dd",{children:[(0,a.jsx)("p",{children:"Config class for DataContext."}),(0,a.jsx)("p",{children:"The DataContextConfig holds all associated configuration parameters to build a Data Context. There are defaults set\nfor minimizing configuration in typical cases, but every parameter is configurable and all defaults are overridable."}),(0,a.jsx)("p",{children:"In cases where the DataContext is instantitated without a yml file, the DataContextConfig can be instantiated directly."}),(0,a.jsxs)("dl",{class:"simple",children:[(0,a.jsx)("dt",{children:"Relevant Documentation Links"}),(0,a.jsx)("dd",{children:(0,a.jsx)("ul",{class:"simple",children:(0,a.jsx)("li",{children:(0,a.jsx)("p",{children:(0,a.jsx)("a",{class:"reference external",href:"https://docs.greatexpectations.io/docs/guides/setup/configuring_data_contexts/how_to_instantiate_a_data_context_without_a_yml_file/",children:"How To Instantiate A Data Context Without A Yml File"})})})})})]}),(0,a.jsx)("dl",{class:"field-list simple"}),(0,a.jsx)("h4",{children:"Parameters"}),(0,a.jsxs)("table",{class:"table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Description"})]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"config_version (Optional[float])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"config version of this DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"fluent_datasources (Optional[dict])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"temporary placeholder for Experimental Datasources."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"expectations_store_name (Optional[str])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"name of ExpectationStore to be used by DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"val
1idation_results_store_name (Optional[str])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"name of ValidationResultsStore to be used by DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"checkpoint_store_name (Optional[str])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"name of CheckpointStore to be used by DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"plugins_directory (Optional[str])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"the directory in which custom plugin modules should be placed."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"stores (Optional[dict])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"single holder for all Stores associated with this DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"data_docs_sites (Optional[dict])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"DataDocs sites associated with DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"config_variables_file_path (Optional[str])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"path for config_variables file, if used."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"analytics_enabled (Optional[bool])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"whether or not to send usage statistics to the Great Expectations team."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"data_context_id (Optional[UUID])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"unique identifier for the DataContext."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"store_backend_defaults (Optional[BaseStoreBackendDefaults])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"define base defaults for platform specific StoreBackendDefaults.\nFor example, if you plan to store expectations, validations, and data_docs in s3 use the S3StoreBackendDefaults\nand you may be able to specify fewer parameters."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"commented_map (Optional[CommentedMap])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"the CommentedMap associated with DataContext configuration. Used when\ninstantiating with yml file."})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"progress_bars (Optional[ProgressBarsConfig])"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"allows progress_bars to be enabled or disabled globally or for metrics calculations."})})]})]})]})]}),(0,a.jsxs)("div",{id:"methods",children:[(0,a.jsx)("h2",{children:"Methods"}),(0,a.jsxs)("dl",{class:"py method",children:[(0,a.jsx)("h3",{children:"to_json_dict"}),(0,a.jsx)(o.A,{language:"python",title:"Signature",children:"\nto_json_dict() \u2192 Dict[str,\n JSONValues]\n"}),(0,a.jsxs)("dd",{children:[(0,a.jsx)("p",{children:"Returns a JSON-serializable dict representation of this DataContextConfig."}),(0,a.jsx)("dl",{class:"field-list simple"}),(0,a.jsx)("h4",{children:"Returns"}),(0,a.jsxs)("table",{class:"table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Description"})]})}),(0,a.jsx)("tbody",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"Dict[str,\nJSONValues]"})}),(0,a.jsx)("td",{children:(0,a.jsx)(t.p,{children:"A JSON-serializable dict representation of this DataContextConfig."})})]})})]})]})]})]})]})})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(u,{...e})}):u(e)}},66190(e,t,n){"use strict";n.d(t,{A:()=>G});var s=n(96540),a=n(92303),r=n(20053),o=n(26058),c=n(17559),i=n(34291);const l="codeBlockContainer_APcc";var d=n(74848);function u({as:e,...t}){const n=(0,o.A)(),s=(0,i.M$)(n);return(0,d.jsx)(e,{...t,style:s,className:(0,r.A)(t.className,l,c.G.common.codeBlock)})}const h="codeBlock_qGQc",p="codeBlockStandalone_zC50",m="codeBlockLines_p187",x="codeBlockLinesWithNumbering_OFgW";function f({children:e,className:t}){return(0,d.jsx)(u,{as:"pre",tabIndex:0,className:(0,r.A)(p,"thin-scrollbar",t),children:(0,d.jsx)("code",{className:m,children:e})})}var j=n(6342),g=n(96591);function b({children:e}){return e}var C=n(78181);function _({line:e,token:t,...n}){return(0,d.jsx)("span",{...n})}const N="codeLine_iPqp",y="codeLineNumber_F4P7",v="codeLineContent_pOih";function k({line:e,classNames:t,showLineNumbers:n,getLineProps:s,getTokenProps:a}
1){if(t?.includes("code-block-hide-line"))return null;const o=function(e){const t=1===e.length&&"\n"===e[0].content?e[0]:void 0;return t?[{...t,content:""}]:e}(e),c=s({line:o,className:(0,r.A)(t,n&&N)}),i=o.map((e,t)=>{const n=a({token:e});return(0,d.jsx)(_,{...n,line:o,token:e,children:n.children},t)});return(0,d.jsxs)("span",{...c,children:[n?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:y}),(0,d.jsx)("span",{className:v,children:i})]}):i,(0,d.jsx)("br",{})]})}const w=s.forwardRef((e,t)=>(0,d.jsx)("pre",{ref:t,tabIndex:0,...e,className:(0,r.A)(e.className,h,"thin-scrollbar")}));function B(e){const{metadata:t}=(0,i.Ph)();return(0,d.jsx)("code",{...e,className:(0,r.A)(e.className,m,void 0!==t.lineNumbersStart&&x),style:{...e.style,counterReset:void 0===t.lineNumbersStart?void 0:"line-count "+(t.lineNumbersStart-1)}})}function D({className:e}){const{metadata:t,wordWrap:n}=(0,i.Ph)(),s=(0,o.A)(),{code:a,language:c,lineNumbersStart:l,lineClassNames:u}=t;return(0,d.jsx)(C.f4,{theme:s,code:a,language:c,children:({className:t,style:s,tokens:a,getLineProps:o,getTokenProps:c})=>(0,d.jsx)(w,{ref:n.codeBlockRef,className:(0,r.A)(e,t),style:s,children:(0,d.jsx)(B,{children:a.map((e,t)=>(0,d.jsx)(k,{line:e,getLineProps:o,getTokenProps:c,classNames:u[t],showLineNumbers:void 0!==l},t))})})})}var A=n(78478),O=n(21312);function S({className:e,...t}){return(0,d.jsx)("button",{type:"button",...t,className:(0,r.A)("clean-btn",e)})}var L=n(81473),E=n(14115);const T={copyButtonCopied:"copyButtonCopied_KAEU",copyButtonIcons:"copyButtonIcons_CCmD",copyButtonIcon:"copyButtonIcon_cWY_",copyButtonSuccessIcon:"copyButtonSuccessIcon_YaqN"};function P(e){return e?(0,O.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,O.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"})}function I({className:e}){const{copyCode:t,isCopied:n}=function(){const{metadata:{code:e}}=(0,i.Ph)(),[t,n]=(0,s.useState)(!1),a=(0,s.useRef)(void 0),r=(0,s.useCallback)(t=>{const s=t?.currentTarget,r=function(e,t){if(!t)return e;const n=t.closest('[class*="codeBlockContent"]');if(!n)return e;const s=n.querySelector("code");if(!s)return e;const a=s.cloneNode(!0);return a.querySelectorAll(".code-block-hide-line").forEach(e=>{const t=e.nextSibling;t&&"BR"===t.nodeName&&t.remove(),e.remove()}),a.querySelectorAll("br").forEach(e=>{e.replaceWith("\n")}),a.textContent||a.innerText||e}(e,s);navigator.clipboard.writeText(r).then(()=>{n(!0),a.current=window.setTimeout(()=>{n(!1)},1e3)})},[e]);return(0,s.useEffect)(()=>()=>window.clearTimeout(a.current),[]),{copyCode:r,isCopied:t}}();return(0,d.jsx)(S,{"aria-label":P(n),title:(0,O.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.A)(e,T.copyButton,n&&T.copyButtonCopied),onClick:t,children:(0,d.jsxs)("span",{className:T.copyButtonIcons,"aria-hidden":"true",children:[(0,d.jsx)(L.A,{className:T.copyButtonIcon}),(0,d.jsx)(E.A,{className:T.copyButtonSuccessIcon})]})})}var M=n(5048);const W="wordWrapButtonIcon_zAao",R="wordWrapButtonEnabled_RxZc";function $({className:e}){const{wordWrap:t}=(0,i.Ph)();if(!(t.isEnabled||t.isCodeScrollable))return!1;const n=(0,O.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,d.jsx)(S,{onClick:()=>t.toggle(),className:(0,r.A)(e,t.isEnabled&&R),"aria-label":n,title:n,children:(0,d.jsx)(M.A,{className:W,"aria-hidden":"true"})})}const V="buttonGroup_VWRw";function q({className:e}){return(0,d.jsx)(A.A,{children:()=>(0,d.jsxs)("div",{className:(0,r.A)(e,V),children:[(0,d.jsx)($,{}),(0,d.jsx)(I,{})]})})}const H="codeBlockContent_bxn0",z="codeBlockTitle_d3dP";function F({className:e}){const{metadata:t}=(0,i.Ph)();return(0,d.jsxs)(u,{as:"div",className:(0,r.A)(e,t.className),children:[t.title&&(0,d.jsx)("div",{className:z,children:(0,d.jsx)(b,{children:t.title})}),(0,d.jsxs)("div",{className:H,children:[(0,d.jsx)(D,{}),(0,d.jsx)(q,{})]})]})}function U(e){const t=function(e){const{prism:t}=(0,j.p)();return(0,i.mU)({code:e.children,className:e.className,metastring:e.metastring,magicComments:t.magicComments,defaultLanguage:t.defaultLanguage,language:e.language,title:e.title,showLineNumbers:e.showLineNumbers})}(e),n=(0,g.f)();return(0,d.jsx)(i.l8,{metadata:t,wordWrap:n,children:(0,d.jsx)(F,{})})}function G({children:e,...t}){const n=(0,a.A)(),r=function(e){return s.Children.toArray(e).some(e=>(0,s.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e}(e),o="string"==typeof r?U:f;return(0,d.jsx)(o,{...t,children:r},String(n))}},78478(e,t,n){"use strict";n.d(t,{A:()=>r});n(96540);var s=n(92303),a=n(74848);function r({children:e,fallback:t}){return(0,s.A)()?(0,a.jsx)(a.Fragment,{children:e?.()}):t??null}},81473(e,t,n){"use strict";n.d(t,{A:()=>a});n(96540);var s=n(74848);function a(e){return(0,s.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,s.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}}
1,96591(e,t,n){"use strict";n.d(t,{f:()=>c});var s=n(96540),a=n(89532);const r={attributes:!0,characterData:!0,childList:!0,subtree:!0};function o(e,t){const[n,o]=(0,s.useState)(),c=(0,s.useCallback)(()=>{o(e.current?.closest("[role=tabpanel][hidden]"))},[e,o]);(0,s.useEffect)(()=>{c()},[c]),function(e,t,n=r){const o=(0,a._q)(t),c=(0,a.Be)(n);(0,s.useEffect)(()=>{const t=new MutationObserver(o);return e&&t.observe(e,c),()=>t.disconnect()},[e,o,c])}(n,e=>{e.forEach(e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),c())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}function c(){const[e,t]=(0,s.useState)(!1),[n,a]=(0,s.useState)(!1),r=(0,s.useRef)(null),c=(0,s.useCallback)(()=>{const n=r.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e)},[r,e]),i=(0,s.useCallback)(()=>{const{scrollWidth:e,clientWidth:t}=r.current,n=e>t||r.current.querySelector("code").hasAttribute("style");a(n)},[r]);return o(r,i),(0,s.useEffect)(()=>{i()},[e,i]),(0,s.useEffect)(()=>(window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("resize",i)}),[i]),{codeBlockRef:r,isEnabled:e,isCodeScrollable:n,toggle:c}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.