1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49818],{53343:function(e,n,t){"use strict";var a=t(85893),o=t(67294),i=t(93967),r=t.n(i),s=t(41664),l=t.n(s),c=t(94930),d=t.n(c),h=t(11163);let _={"red-70":d().RedBackground,"orange-70":d().OrangeBackground,"yellow-70":d().YellowBackground,"green-70":d().GreenBackground,"acqua-70":d().AcquaBackground,"lightBlue-70":d().LightBlueBackground,"darkBlue-70":d().DarkBlueBackground,"indigo-70":d().IndigoBackground,"gray-70":d().GrayBackground,unset:d().TransparentBackground};n.Z=e=>{let n,{img:t,dark:i,icon:s,background:c,color:u,rotate:g,size:m,link:C,title:p,text:x,borderColor:w}=e,[k,v]=(0,o.useState)("light-mode"),I="full"===m?d().Full:"half"===m?d().Half:"third"===m?d().Third:"two-third"===m?d().TwoThirds:d().Third;(0,o.useEffect)(()=>(window.addEventListener("ChangeTheme",f),()=>{window.removeEventListener("ChangeTheme",f)}),[]);let f=()=>{v(document.body.dataset.theme)};n=t?(0,a.jsx)("img",{src:t,className:d().Icon}):(0,a.jsx)("i",{className:r()("material-icons-sharp",d().Icon),children:s||"downloading"});let j=_[c],N=(0,h.useRouter)();return(0,a.jsx)("div",{className:r()(d().Container,I||"third",j),children:(0,a.jsxs)(l(),{href:{pathname:C||"/",query:N.query},className:r()("not-link",d().Link),children:[n,(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:d().Title,children:p||"Install Streamlit"}),(0,a.jsx)("p",{className:d().Text,children:x||"Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia."})]})]})})}},62058:function(e,n,t){"use strict";t.d(n,{Z:function(){return z}});var a=t(85893),o=t(67294),i=t(23279),r=t.n(i),s=t(93967),l=t.n(s),c=t(41664),d=t.n(c),h=t(5152),_=t.n(h),u=t(97766),g=t(11163),m=t.n(g),C=t(76151),p=t.n(C),x=()=>{let[e,n]=(0,o.useState)(!1),t=()=>{e&&(u.Z.emit(e?"streamlit_nav_closed":"streamlit_nav_open"),e?document.documentElement.classList.remove("nav-open"):document.documentElement.classList.add("nav-open"),n(!1))};return(0,o.useEffect)(()=>{m().events.on("routeChangeComplete",t)},[]),(0,a.jsx)("button",{className:p().MobileNav,onClick:()=>{u.Z.emit(e?"streamlit_nav_closed":"streamlit_nav_open"),e?document.documentElement.classList.remove("nav-open"):document.documentElement.classList.add("nav-open"),n(!e)},children:(0,a.jsx)("i",{className:p().Icon,children:"menu"})})},w=t(32939),k=t(51746),v=t.n(k),I=t(73935),f=t(54483),j=t.n(f),N=t(51526),y=t(43495),b=t(67191),B=t.n(b),S=t(13554),L=t(33181),H=t(56843),T=t(34859),A=t(95861),D=t(14606),E=t(81373),V=t.n(E);let G={"red-70":V().RedHighlight,"orange-70":V().OrangeHighlight,"yellow-70":V().YellowHighlight,"green-70":V().GreenHighlight,"acqua-70":V().AcquaHighlight,"lightBlue-70":V().LightBlueHighlight,"darkBlue-70":V().DarkBlueHighlight,"indigo-70":V().IndigoHighlight,"gray-70":V().GrayHighlight,unset:V().TransparentHighlight}
1,M={"red-70":V().RedIcon,"orange-70":V().OrangeIcon,"yellow-70":V().YellowIcon,"green-70":V().GreenIcon,"acqua-70":V().AcquaIcon,"lightBlue-70":V().LightBlueIcon,"darkBlue-70":V().DarkBlueIcon,"indigo-70":V().IndigoIcon,"gray-70":V().GrayIcon,unset:V().TransparentIcon};var O=(0,g.withRouter)(()=>{let e;let[n,t]=(0,o.useState)(!1),[i,r]=(0,o.useState)(""),[s,c]=(0,o.useState)(null),[d,h]=(0,o.useState)(0),_=(0,g.useRouter)(),u=e=>{e&&e.currentTarget!==e.target||t(!n)},m=()=>{setTimeout(function(){document.getElementsByClassName("ais-SearchBox-input")[0].focus()},100)},C=e=>{if("k"===e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),t(!0),m()),"Escape"===e.key&&t(!1),!0===n){let n=document.querySelectorAll(".ais-Hits-item").length,t=d;"Enter"===e.key&&x(),"ArrowUp"===e.key?(h(t=t>1?t-1:1),p()):"ArrowDown"===e.key?(h(t=t<n?t+1:n),p()):h(t=0)}},p=()=>{let e=d;e<=0&&(e=1,h(1));let n=document.querySelectorAll(".ais-Hits-item article");n.length>0&&n.length>=e&&n[e-1].scrollIntoView(!1)},x=()=>{let e=d;e<=0&&(e=1,h(1));let n=document.querySelectorAll(".ais-Hits-item article");if(n.length>0&&n.length>=e){let t=n[e-1].querySelector("a").getAttribute("href");u(),_.push(t)}};(0,o.useEffect)(()=>{c(window.innerWidth),window.innerWidth>1024&&(-1!=window.navigator.platform.indexOf("Mac")?r("âK"):-1!=window.navigator.platform.indexOf("Win")?r("Ctrl-K"):-1!=window.navigator.platform.indexOf("Linux")&&r("Ctrl-K")),document.addEventListener("keydown",C)},[]);let w=B()("XNXFGO6BQ1","dd82fd414de60db7ffbcbf30eca68013");return n&&(e=(0,a.jsx)(N.M,{children:n&&(0,a.jsx)(y.E.section,{initial:{opacity:0}
1,animate:{opacity:1,transition:{ease:"easeInOut",duration:.01}},exit:{opacity:0},className:V().ModalContainer,children:(0,a.jsx)(j(),{children:(0,a.jsx)("div",{className:V().Modal,onClick:u,onKeyDown:C,children:(0,a.jsx)("section",{className:V().ContentContainer,style:{maxWidth:"36rem",maxHeight:"40rem"},tabIndex:"-1",children:(0,a.jsx)("div",{className:"ais-InstantSearch",children:(0,a.jsx)(H.Z,{indexName:"documentation",searchClient:w,children:(0,a.jsxs)("div",{className:"right-panel",children:[(0,a.jsx)(T.Z,{facets:["*","version"],facetFilters:["version:latest"],hitsPerPage:10}),(0,a.jsx)(A.Z,{id:"search-box small"}),(0,a.jsx)(D.Z,{hitComponent:function(e){let n;let t=e.hit.icon?e.hit.icon:"text_snippet",o=e.hit.color?e.hit.color:"orange-70",i=e.hit.category?e.hit.category:"Page";return e.hit._snippetResult&&"none"!==e.hit._snippetResult.content.matchLevel&&(n=(0,a.jsx)(S.Z,{attribute:"content",hit:e.hit})),(0,a.jsx)("article",{className:l()(V().HitContainer,e.hit.__position===d?V().ActiveHit:""),tabIndex:"-1",children:(0,a.jsxs)("a",{className:l()("not-link",V().HitLink),href:e.hit.url,children:[(0,a.jsx)("section",{className:l()(V().IconContainer,M[o]),children:(0,a.jsx)("div",{className:l()(V().ImageContainer,`icon-${t}`),children:(0,a.jsx)("i",{className:V().Icon,children:t})})}),(0,a.jsxs)("section",{className:l()(V().TextContainer,G[o]),children:[(0,a.jsx)("p",{className:V().HitCategory,children:i}),(0,a.jsx)("h5",{className:V().HitTitle,children:(0,a.jsx)(L.Z,{hit:e.hit,attribute:"title"})}),n]})]})})}})]})})})})})})})})),(0,a.jsxs)("section",{className:V().SearchBarContainer,children:[(0,a.jsxs)("section",{className:l()("group",V().SearchBar),onClick:()=>{t(!0),m()},children:[(0,a.jsx)("i",{className:V().SearchIcon,style:{transform:"rotateY(180deg)"},children:"search"}),(0,a.jsx)("p",{className:V().SearchText,children:"Search"}),s>1024&&(0,a.jsx)("p",{className:V().HotKey,children:i})]}),"undefined"!=typeof document&&e?(0,I.createPortal)(e,document.body):null]})});let q=_()(()=>Promise.all([t.e(90234),t.e(83432)]).then(t.bind(t,83432)),{loadableGenerated:{webpack:()=>[83432]},ssr:!1});var Z=e=>{let n,{isSticky:t,versionProps:i}=e,[s,c]=(0,o.useState)(),h=()=>{c(window.innerWidth)},_=r()(h,200);return(0,o.useEffect)(()=>(h(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[]),s<=1024&&(n=(0,a.jsx)(x,{})),(0,a.jsx)("header",{className:l()(v().Container,t?v().stickyContainer:v().standardContainer),children:(0,a.jsxs)("nav",{className:v().Navigation,id:"main-header",children:[(0,a.jsxs)(d(),{href:"/",className:l()(v().LogoContainer,"not-link"),children:[(0,a.jsx)("img",{src:"/logo.svg",alt:""}),(0,a.jsx)("h4",{className:v().LogoText,children:"Documentation"})]}),(0,a.jsxs)("section",{className:v().NavigationContainer,children:[i&&(0,a.jsx)(w.Z,{...i,isMobile:!0}),(0,a.jsx)(O,{}),(0,a.jsx)(q,{}),n]})]})})},R=t(45842),Y=t.n(R),$=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{id:"kapa-ai",type:"button",className:Y().AskButton,onMouseOver:()=>{let e=document.getElementsByClassName(Y().Tooltip);e.length>0&&(e[0].style.display="block")},onMouseOut:()=>{let e=document.getElementsByClassName(Y().Tooltip);e.length>0&&(e[0].style.display="none")},children:[(0,a.jsx)("i",{className:Y().AskIcon,children:"forum"})," Ask AI"]}),(0,a.jsx)("script",{src:"https://widget.kapa.ai/kapa-widget.bundle.js","data-website-id":"e81c2b35-6c03-4576-a56c-3c825f866e06","data-project-name":"Streamlit","data-project-color":"#000000","data-project-logo":"https://docs.streamlit.io/logo.svg","data-modal-title":"Streamlit docs assistant (beta)","data-modal-disclaimer":" This AI chatbot is powered by kapa.ai and public Streamlit information. Answers may be inaccurate, inefficient, or biased. Any use or decisions based on such answers should include reasonable practices including human oversight to ensure they are safe, accurate, and suitable for your intended purpose. Streamlit is not liable for any actions, losses, or damages resulting from the use of the chatbot. You are hereby notified that this chat may be recorded, monitored, and stored to improve our services. Do not enter any private, sensitive, personal, or regulated data. By using this chatbot, you consent to such monitoring and recording. You further acknowledge and agree that input you provide and answers you receive (collectively, âContentâ) may be used by Streamlit and kapa.ai to provide, maintain, develop, and improve their respective offerings. For more information on how kapa.ai may use your Content, see https://www.kapa.ai/content/terms-of-service.","data-button-hide":"true","data-modal-override-open-id":"kapa-ai","data-modal-lock-scroll":"false","data-modal-border-radius":"12px","data-modal-image-height":"18px","data-answer-feedback-button-active-border":"1px solid #808495","data-user-analytics-cookie-enabled":"false"})]}),F=t(7159),P=t.n(F),K=()=>(0,a.jsx)("div",{className:l()(P().Container),children:(0,a.jsx)($,{})}),W=t(98338),X=t.n(W),z=e=>{let{children:n,versionProps:t}=e,[i,r]=(0,o.useState)(!1),s=()=>{window.scrollY>20?r(!0):r(!1)};return(0,o.useEffect)(()=>(window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}),[]),(0,a.jsxs)("main",{id:"root",className:"dark:bg-gray-100",children:[(0,a.jsx)(Z,{isSticky:i,versionProps:t}),(0,a.jsx)("div",{className:i?X().stickyPageWrapper:void 0,children:n}),(0,a.jsx)(K,{})]})}},61794:function(e,n,t){"use strict";var a=t(85893),o=t(6628),i=t.n(o);n.Z=e=>{let{layout:n,children:t}=e,o="list"==n?i().ListContainer:i().GridContainer;return(0,a.jsx)("section",{className:o,children:t})}},53199:function(e,n,t){"use strict";var a=t(85893),o=t(41664),i=t.n(o),r=t(5152),s=t.n(r),l=t(82201),c=t.n(l);let d=s()(()=>t.e(16103).then(t.bind(t,16103)),{loadableGenerated:{webpack:()=>[16103]},ssr:!1});n.Z=()=>(0,a.jsx)("footer",{className:c().Container,children:(0,a.jsxs)("section",{className:c().InnerContainer,children:[(0,a.jsx)("hr",{className:c().Separator}),(0,a.jsxs)("nav",{className:c().Navigation,children:[(0,a.jsx)(i(),{href:"/",className:` 2 not-link 3 ${c().Link} 4 `,children:"Home"}),(0,a.jsx)(i(),{href:"mailto:[email protected]?subject=Contact%20from%20
4documentation%20",className:` 5 not-link 6 ${c().Link} 7 `,children:"Contact Us"}),(0,a.jsx)("a",{className:` 8 not-link 9 ${c().Link} 10 `,href:"https://discuss.streamlit.io",target:"_blank",rel:"noopener noreferrer",children:"Community"})]}),(0,a.jsxs)("section",{className:c().SocialNetworks,children:[(0,a.jsx)("a",{className:` 11 group 12 not-link 13 ${c().IconLink} 14 `,href:"https://github.com/streamlit",target:"_blank",title:"GitHub",children:(0,a.jsx)("i",{className:c().IconContainer,children:(0,a.jsx)("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:` 15 ${c().Icon} 16 ${c().GitHubIcon} 17 `,children:(0,a.jsx)("path",{d:"M12.8513 14.5613C13.2388 14.4967 13.56 14.4506 13.8718 14.3768C16.168 13.8508 17.3491 12.4668 17.4908 10.1508C17.5664 8.98815 17.368 7.91781 16.5837 6.99511C16.5081 6.90283 16.5081 6.70907 16.5459 6.57989C16.716 5.8694 16.6688 5.17737 16.4609 4.48534C16.3759 4.20853 16.2152 4.07013 15.9601 4.1624C15.242 4.42075 14.5427 4.71602 13.8246 4.97438C13.5978 5.05742 13.3238 5.13124 13.0876 5.0851C11.6135 4.78984 10.1489 4.79906 8.6843 5.09433C8.46697 5.14047 8.21184 5.06665 7.99451 4.98361C7.32363 4.72525 6.67164 4.42075 6.00075 4.18085C5.62279 4.04244 5.33932 4.20853 5.32042 4.62375C5.29207 5.27887 5.30152 5.92477 5.28262 6.57989C5.28262 6.73675 5.28262 6.92129 5.19758 7.04124C3.00539 10.1323 4.70623 13.9246 8.56146 14.5059C8.6654 14.5244 8.77879 14.5336 8.86383 14.5428C8.70319 14.9581 8.55201 15.3733 8.37248 15.77C8.32523 15.8715 8.17405 15.9638 8.05121 16.0007C7.01181 16.3698 6.0858 16.0653 5.44326 15.1887C5.19758 14.8566 4.92356 14.5152 4.58339 14.2937C4.31882 14.1184 3.94085 14.0999 3.61013 14.0446C3.52509 14.0261 3.37391 14.1092 3.34556 14.1738C3.31721 14.2384 3.37391 14.4044 3.44005 14.4506C4.28102 14.9304 4.60229 15.7793 5.07474 16.5451C5.55665 17.3386 6.41651 17.4401 7.27638 17.4401C7.6071 17.4401 7.92837 17.394 8.32523 17.3571C8.32523 18.003 8.34413 18.612 8.31578 19.221C8.29688 19.6177 7.94727 19.8023 7.50316 19.6085C6.69054 19.2579 5.84957 18.9165 5.11254 18.4367C1.58803 16.1484 -0.112807 11.9408 0.803755 7.90858C1.71087 3.88558 5.07474 0.776064 9.23234 0.130169C14.4671 -0.69104 19.5319 2.51075 20.8642 7.49337C22.2059 12.4944 19.4563 17.717 14.5522 19.5162C13.7018 19.83 13.4655 19.6639 13.4655 18.7781C13.475 18.1783 13.475 17.5785 13.4844 16.9788C13.5033 16.1299 13.5033 15.2902 12.8513 14.5613Z"})})})}),(0,a.jsx)("a",{className:` 18 group 19 not-link 20 ${c().IconLink} 21 `,href:"https://www.youtube.com/channel/UC3LD42rjj-Owtxsa6PwGU5Q",target:"_blank",title:"YouTube",children:(0,a.jsx)("i",{className:c().IconContainer,children:(0,a.jsx)("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:` 22 ${c().Icon} 23 ${c().YouTubeIcon} 24 `,children:(0,a.jsx)("path",{d:"M12.8276 17.8757C11.0323 17.845 9.2319 17.845 7.43665 17.7734C6.06686 17.7172 4.69189 17.6251 3.33767 17.4308C1.63581 17.1853 0.546208 16.0449 0.333476 14.3471C0.17263 13.0227 0.058481 11.6879 0.0221609 10.3532C-0.0193478 8.93159 0.0117837 7.50995 0.0792353 6.0883C0.125933 5.13713 0.271213 4.19107 0.411305 3.25012C0.634414 1.74666 2.0509 0.723891 3.25984 0.57559C4.56736 0.417061 5.89045 0.284101 7.20835 0.253418C10.1555 0.186939 13.1026 0.156256 16.0445 0.181825C17.8398 0.197166 19.635 0.325012 21.4251 0.422175C21.8972 0.447744 22.3694 0.514224 22.8364 0.606273C24.284 0.892648 25.1609 1.77223 25.4722 3.18364C25.7627 4.49279 25.8406 5.8275 25.908 7.16221C26.017 9.37138 25.9495 11.5703 25.6745 13.7642C25.5863 14.4443 25.5085 15.1449 25.1401 15.7483C24.5123 16.7711 23.568 17.3592 22.3746 17.4666C20.8024 17.6098 19.2251 17.7274 17.6478 17.7785C16.0445 17.8297 14.4309 17.7888 12.8276 17.7888C12.8276 17.8245 12.8276 17.8501 12.8276 17.8757ZM10.4875 12.9511C12.6667 11.6266 14.8096 10.3277 16.994 9.00319C14.7993 7.67359 12.6564 6.37468 10.4875 5.05531C10.4875 7.70427 10.4875 10.3021 10.4875 12.9511Z"})})})}),(0,a.jsx)("a",{className:` 25 group 26 not-link 27 ${c().IconLink} 28 `,href:"https://twitter.com/streamlit",target:"_blank",title:"Twitter",children:(0,a.jsx)("i",{className:c().IconContainer,children:(0,a.jsx)("svg",{width:"24",height:"18",viewBox:"0 0 24 18",xmlns:"http://www.w3.org/2000/svg",className:` 29 ${c().Icon} 30 ${c().TwitterIcon} 31 `,children:(0,a.jsx)("path",{d:"M22.9683 0.526535C22.5928 1.56402 21.8955 2.36683 20.9031 2.95968C21.368 2.91851 21.8239 2.83205 22.271 2.71678C22.7225 2.60562 23.1561 2.45741 23.5986 2.28449C23.5986 2.32566 23.5763 2.34625 23.5629 2.36683C22.946 3.19435 22.1994 3.91071 21.3233 4.51179C21.2428 4.56943 21.207 4.61883 21.2115 4.71764C21.2651 6.1133 21.0595 7.47603 20.6214 8.81405C20.1029 10.3867 19.3072 11.8277 18.2119 13.1287C16.9334 14.6478 15.3554 15.8376 13.469 16.6693C12.3156 17.1798 11.1042 17.5174 9.8391 17.7068C9.10597 17.8138 8.37284 17.8673 7.63078 17.8797C5.98571 17.9044 4.38982 17.6656 2.83863 17.1674C1.87305 16.8545 0.952171 16.4428 0.0804651 15.9365C0.0536434 15.92 0.0178811 15.9118 0 15.8788C2.633 16.1217 5.00672 15.5206 7.11669 14.0426C5.87395 13.9809 4.79662 13.5774 3.89362 12.787C3.29907 12.2682 2.87886 11.6465 2.62406 10.9178C3.34824 11.0372 4.05902 11.02
3108 4.79215 10.8478C3.3393 10.5308 2.24408 9.7939 1.52437 8.61232C1.10863 7.93301 0.920879 7.19607 0.925349 6.40149C1.60483 6.7432 2.32008 6.92847 3.10238 6.9614C2.93698 6.84201 2.78052 6.7432 2.64194 6.62793C1.82835 5.96921 1.29638 5.15404 1.07287 4.18243C0.822532 3.09554 0.992403 2.06218 1.5646 1.08645C1.61824 0.991756 1.62271 0.995873 1.69424 1.0741C2.70452 2.19392 3.88468 3.13259 5.23917 3.88189C6.67413 4.67647 8.22085 5.20756 9.87039 5.4834C10.4113 5.57398 10.9567 5.63161 11.5065 5.66043C11.5914 5.66455 11.6183 5.66043 11.6004 5.56574C11.3053 4.10009 11.6674 2.79088 12.7403 1.67106C13.5271 0.843544 14.5284 0.357738 15.7131 0.221878C17.1167 0.0571976 18.3729 0.398908 19.4726 1.23054C19.6022 1.32935 19.7184 1.43227 19.8347 1.54343C19.8749 1.58049 19.9106 1.58872 19.9732 1.58049C21.0059 1.38699 21.9714 1.04116 22.8834 0.559471C22.9057 0.543003 22.9236 0.522418 22.9683 0.526535Z"})})})}),(0,a.jsx)("a",{className:` 32 group 33 not-link 34 ${c().IconLink} 35 `,href:"https://www.linkedin.com/company/streamlit",target:"_blank",title:"LinkedIn",children:(0,a.jsx)("i",{className:c().IconContainer,children:(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:` 36 ${c().Icon} 37 ${c().LinkedInIcon} 38 `,children:(0,a.jsx)("path",{d:"M22.228 0H1.772A1.772 1.772 0 0 0 0 1.772v20.456A1.772 1.772 0 0 0 1.772 24h20.456A1.772 1.772 0 0 0 24 22.228V1.772A1.772 1.772 0 0 0 22.228 0ZM7.153 20.445H3.545V8.983h3.608v11.462ZM5.347 7.395a2.072 2.072 0 1 1 2.083-2.07 2.042 2.042 0 0 1-2.083 2.07Zm15.106 13.06h-3.606v-6.262c0-1.846-.785-2.416-1.799-2.416-1.07 0-2.12.806-2.12 2.463v6.215H9.32V8.992h3.47v1.588h.047c.348-.705 1.568-1.91 3.43-1.91 2.013 0 4.188 1.195 4.188 4.695l-.002 7.09Z"})})})}),(0,a.jsx)("a",{className:` 39 group 40 not-link 41 ${c().IconLink} 42 `,href:"https://info.snowflake.com/streamlit-newsletter-sign-up.html",target:"_blank",title:"Newsletter",children:(0,a.jsx)("i",{className:c().IconContainer,children:(0,a.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:` 43 ${c().Icon} 44 ${c().NewsletterIcon} 45 `,children:(0,a.jsx)("path",{d:"M21.75 6.75v10.5a1.5 1.5 0 0 1-1.5 1.5H3.75a1.5 1.5 0 0 1-1.5-1.5V6.75m19.5 0a1.5 1.5 0 0 0-1.5-1.5H3.75a1.5 1.5 0 0 0-1.5 1.5m19.5 0-8.896 6.159a1.5 1.5 0 0 1-1.708 0L2.25 6.75",stroke:"#a3a8b8",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})})]}),(0,a.jsxs)("div",{className:c().Copyright,children:[(0,a.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," Snowflake Inc."]}),(0,a.jsx)(d,{className:"hover:opacity-80 ml-2",children:"Cookie policy"})]})]})})},32939:function(e,n,t){"use strict";var a=t(85893),o=t(67294),i=t(93967),r=t.n(i),s=t(11163),l=t(11752),c=t.n(l),d=t(3392),h=t(17288),_=t.n(h);let{publicRuntimeConfig:u}=c()(),g=u.LATEST_VERSION,m=u.DEFAULT_VERSION,C=u.VERSIONS_LIST;n.Z=e=>{let{version:n,slug:t,goToLatest:i,isMobile:l=!1}=e,c=(0,s.useRouter)(),[h,u]=(0,o.useState)(!1),p=(0,o.useRef)(null),x=n==m?g:n,w=x!=g;(0,o.useEffect)(()=>{if(!h)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[h]);let k=e=>{u(!1);let n=t.slice();e!==x&&((0,d.k)(n[0])&&n.shift(),e!==g?n.unshift(e):i(),c.push(`/${n.join("/")}`))},v=l?_().MobileContainer:_().Container;return(0,a.jsxs)("div",{className:r()(v,{[_().OldVersion]:w}),children:[(0,a.jsx)("span",{className:_().Prefix,children:"Show API reference for"}),(0,a.jsxs)("div",{className:_().DropdownWrapper,ref:p,children:[(0,a.jsxs)("button",{type:"button",className:_().DropdownButton,onClick:()=>u(!h),"aria-haspopup":"listbox","aria-expanded":h,children:[w&&(0,a.jsx)("i",{className:r()("material-icons-sharp",_().WarningIcon),children:"priority_high"}),(0,a.jsxs)("span",{className:r()(_().SelectedValue,{[_().OldVersionText]:w}),children:[(0,a.jsx)("span",{className:_().VersionLabelFull,children:"Version "}),(0,a.jsx)("span",{className:_().VersionLabelShort,children:"v"}),x]}),(0,a.jsx)("i",{className:r()("material-icons-sharp",_().Arrow,{[_().ArrowOpen]:h}),children:"expand_more"})]}),h&&(0,a.jsx)("ul",{className:_().DropdownMenu,role:"listbox",children:C.map(e=>(0,a.jsxs)("li",{role:"option","aria-selected":e===x,tabIndex:0,className:r()(_().DropdownItem,{[_().DropdownItemSelected]:e===x}),onClick:()=>k(e),onKeyDown:n=>{("Enter"===n.key||" "===n.key)&&(n.preventDefault(),k(e))},children:[(0,a.jsxs)("span",{children:["Version ",e]}),e===x&&(0,a.jsx)("i",{className:r()("material-icons-sharp",_().CheckIcon),children:"check"})]},e))})]})]})}},97766:function(e,n,t){"use strict";
45var a=t(17187);n.Z=new a.EventEmitter},94930:function(e){e.exports={Container:"tile_Container__l7L7h",Link:"tile_Link__BdpAC",Title:"tile_Title__z69cr",Text:"tile_Text__grKVq",Icon:"tile_Icon__y0zfC",Full:"tile_Full__natpX",Half:"tile_Half__l2D_e",TwoThirds:"tile_TwoThirds__zrFc7",Third:"tile_Third__GphGX",RedBackground:"tile_RedBackground__BHtLq",OrangeBackground:"tile_OrangeBackground__J0sxK",YellowBackground:"tile_YellowBackground__cAttf",GreenBackground:"tile_GreenBackground__txrjE",AcquaBackground:"tile_AcquaBackground__hbgi9",LightBlueBackground:"tile_LightBlueBackground__h2sim",DarkBlueBackground:"tile_DarkBlueBackground__dBFz3",IndigoBackground:"tile_IndigoBackground__yXFVU",TransparentBackground:"tile_TransparentBackground__8jkUf"}},98338:function(e){e.exports={stickyPageWrapper:"globalTemplate_stickyPageWrapper__IhhXI"}},6628:function(e){e.exports={GridContainer:"tileContainer_GridContainer__NnjXC",ListContainer:"tileContainer_ListContainer__n32nc"}},7159:function(e){e.exports={Container:"chatSticky_Container__G7L0R"}},82201:function(e){e.exports={Container:"footer_Container__r6lKu",InnerContainer:"footer_InnerContainer__9_p3M",Separator:"footer_Separator__TSG4w",Navigation:"footer_Navigation__zXrVS",Link:"footer_Link__TT7vI",SocialNetworks:"footer_SocialNetworks__R4rxr",IconLink:"footer_IconLink__V7Rkz",IconContainer:"footer_IconContainer__ujaTd",Icon:"footer_Icon___CVBl",GitHubIcon:"footer_GitHubIcon__uXZXa",YouTubeIcon:"footer_YouTubeIcon__zFYFV",TwitterIcon:"footer_TwitterIcon__wmehw",LinkedInIcon:"footer_LinkedInIcon__5XBpv",NewsletterIcon:"footer_NewsletterIcon__16vXD",Copyright:"footer_Copyright__pxXlR"}},51746:function(e){e.exports={Container:"header_Container__HqLwQ",stickyContainer:"header_stickyContainer__BJcmG",standardContainer:"header_standardContainer__ogw62",Navigation:"header_Navigation__EVpxH",LogoContainer:"header_LogoContainer__FHkVy",LogoText:"header_LogoText__Lw8pf",NavigationContainer:"header_NavigationContainer__couJc"}},76151:function(e){e.exports={MobileNav:"mobileNav_MobileNav__81nfM",Icon:"mobileNav_Icon__mZK6G"}},45842:function(e){e.exports={AskButton:"kapa_AskButton__ds4p5",wiggle:"kapa_wiggle__f_Qnq",AskIcon:"kapa_AskIcon__fMtkD",group:"kapa_group__7Vrxv",Tooltip:"kapa_Tooltip__qtBcu"}},81373:function(e){e.exports={ModalContainer:"search_ModalContainer__Jw0_r",Modal:"search_Modal__7_oh_",ContentContainer:"search_ContentContainer__lAlwq",SearchBarContainer:"search_SearchBarContainer__ZbDRN",SearchBar:"search_SearchBar__e7yiR",SearchIcon:"search_SearchIcon__XiooP",group:"search_group__QC7Dp",SearchText:"search_SearchText__Jy9Yf",HotKey:"search_HotKey__J3nlr",HitContainer:"search_HitContainer__XwlIN",ActiveHit:"search_ActiveHit__8rMaM",HitLink:"search_HitLink__pNlpC",itemContainer:"search_itemContainer__ElK8q",IconContainer:"search_IconContainer__P9y_j",RedIcon:"search_RedIcon__U3rlq",OrangeIcon:"search_OrangeIcon__7wsoX",YellowIcon:"search_YellowIcon__0OJ67",GreenIcon:"search_GreenIcon__wjpDs",AcquaIcon:"search_AcquaIcon__RELhM",LightBlueIcon:"search_LightBlueIcon__ZqOGQ",DarkBlueIcon:"search_DarkBlueIcon__gyB5e",IndigoIcon:"search_IndigoIcon__OwCCm",GrayIcon:"search_GrayIcon__lQnVN",ImageContainer:"search_ImageContainer__IHdgv",Icon:"search_Icon__4NIsa",TextContainer:"search_TextContainer__JS8oM",RedHighlight:"search_RedHighlight__j_9Kp",OrangeHighlight:"search_OrangeHighlight__9S_te",YellowHighlight:"search_YellowHighlight__pP1_Z",GreenHighlight:"search_GreenHighlight__EYd9E",AcquaHighlight:"search_AcquaHighlight__ioUku",LightBlueHighlight:"search_LightBlueHighlight__QVgV5",DarkBlueHighlight:"search_DarkBlueHighlight__PDBIQ",IndigoHighlight:"search_IndigoHighlight__Afdiv",GrayHighlight:"search_GrayHighlight__3Hol4",HitCategory:"search_HitCategory__Iq4u_",HitTitle:"search_HitTitle__kB7lj"}},17288:function(e){e.exports={Container:"versionSelector_Container__961ej",Prefix:"versionSelector_Prefix__BuVzJ",DropdownWrapper:"versionSelector_DropdownWrapper__o3SNh",DropdownButton:"versionSelector_DropdownButton__Huz_2",SelectedValue:"versionSelector_SelectedValue__8NKOb",VersionLabelFull:"versionSelector_VersionLabelFull__r_rSG",VersionLabelShort:"versionSelector_VersionLabelShort__5q2ZF",Arrow:"versionSelector_Arrow__Hhnlq",ArrowOpen:"versionSelector_ArrowOpen__2zQZp",DropdownMenu:"versionSelector_DropdownMenu__rTdJW",DropdownItem:"versionSelector_DropdownItem__tLPvv",DropdownItemSelected:"versionSelector_DropdownItemSelected__DaJtv",CheckIcon:"versionSelector_CheckIcon__vwmYS",OldVersion:"versionSelector_OldVersion__bLdkl",OldVersionText:"versionSelector_OldVersionText__LNJ4U",WarningIcon:"versionSelector_WarningIcon__5OfZi",MobileContainer:"versionSelector_MobileContainer__mG_YU"}}}]);
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.