"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12539],{69246:function(e,a,t){var i=t(68472),s=t.n(i),r=t(67294),l=t(45697),o=t.n(l),c=t(93926),n=t(155),d=t(78109);const{getTitle:m}=c,g=e=>{const{social:a,tweet:t,facebook:i,linkedIn:l,reddit:o,email:c,print:g,blogPage:p,topicHeading:h,translateContent:b,horizontalLayout:v,blog_author:x}=e;let{heading:u}=e;b&&void 0!==b?u=b?.content?b?.content:b:u?.content&&(u=u?.content);const w=e=>{e&&e.preventDefault(),window.print()};return(0,r.useEffect)((()=>{const e=encodeURIComponent(`https://www.elastic.co${document.location.pathname}`);let a=document.querySelector('meta[property="og:title"]')?.getAttribute("content");void 0===a&&(a=document.querySelector("title").textContent.trim()),a=encodeURIComponent(a);const s=x?i:`https://www.facebook.com/sharer/sharer.php?u=${e}`,r=x?t:`https://twitter.com/share?text=${a}&url=${e}&via=elastic`,n=x?l:`https://www.linkedin.com/sharing/share-offsite?url=${e}`,d=x?o:`https://www.reddit.com/submit?title=${a}&url=${e}`,m=x?`mailto:${c}?subject=${a}&body=${e}`:`mailto:?subject=${a}&body=${e}`;window.onload=()=>{document.querySelectorAll(".social-btn.facebook").forEach((e=>{e.addEventListener("click",(()=>(window.open(s,"Facebook","width=626, height=436"),!1)))})),document.querySelectorAll(".social-btn.twitter").forEach((e=>{e.addEventListener("click",(()=>(window.open(r,"Twitter","width=626, height=436"),!1)))})),document.querySelectorAll(".social-btn.linkedin").forEach((e=>{e.addEventListener("click",(()=>(window.open(n,"LinkedIn","width=626, height=436"),!1)))})),document.querySelectorAll(".social-btn.reddit")?.forEach((e=>{e.addEventListener("click",(()=>(window.open(d,"reddit","width=626, height=436"),!1)))})),document.querySelectorAll(".social-btn.email").forEach((e=>{e.addEventListener("click",(()=>(window.location.href=m,!1)))}))}})),r.createElement(r.Fragment,null,p?x?(e?.facebook||e?.tweet||e?.email||e?.linkedIn)&&r.createElement("div",{className:"jsx-3582162638 social-card container"},r.createElement("div",{className:"jsx-3582162638 blogauthorcard text-center"},r.createElement("div",{className:"jsx-3582162638 card-body"},u&&h&&r.createElement(d.Z,{className:"mb-4"},u?m(u,"Share"):"Share"),r.createElement("ul",{className:"jsx-3582162638 mt-2"},a&&a.twitter||t&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"#",className:"social-btn twitter"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-twitter-grey.svg",alt:"Twitter",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/icon-twitter-24-black.svg",alt:"Twitter",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Twitter"))),a&&a.linkedin||l&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"#",className:"social-btn linkedin"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-linkedIn-grey.svg",alt:"LinkedIn",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/icon-linkedIn-black.svg",alt:"LinkedIn",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on LinkedIn"))),a&&a.facebook||i&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"#",className:"social-btn facebook"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-facebook-grey.svg",alt:"Facebook",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-facebook-black.svg",alt:"Facebook",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Facebook"))),a&&a.reddit||o&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"#",className:"social-btn reddit"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-reddit-grey.svg",alt:"reddit",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-reddit-black.svg",alt:"reddit",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Reddit"))),a&&a.email||c&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"#",className:"social-btn email"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-mail-24-lighterInk.svg",alt:"email",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-mail-24-black.svg",alt:"email",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share by Email"))),a&&a.print||g&&r.createElement("li",{className:"jsx-3582162638"},r.createElement("a",{href:g,onClick:e=>w(e),className:"jsx-3582162638 social-btn print"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-print-24-lighterInk.svg",alt:"print",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-print-24-black.svg",alt:"print",className:"jsx-3582162638 active"}))))))):r.createElement("div",{className:"jsx-3582162638 social-card container"},r.createElement("div",{className:"jsx-3582162638 card text-center"},r.createElement("div",{className:"jsx-3582162638 card-body"},u&&h&&r.createElement(d.Z,{className:"mb-4"},u?m(u,"Share"):"Share"),r.createElement("ul",{className:"jsx-3582162638 mt-2"},a&&a.twitter||t&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"javascript:void(0)",className:"social-btn twitter"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-twitter-grey.svg",alt:"Twitter",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg//blogsvgs/icon-twitter-white.svg",alt:"Twitter",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Twitter")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-twitter"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Share on Twitter"):"Share on Twitter"))),a&&a.linkedin||l&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"javascript:void(0)",className:"social-btn linkedin"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-linkedIn-grey.svg",alt:"LinkedIn",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-linkedIn-white.svg",alt:"LinkedIn",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on LinkedIn")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-linkedin"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Share on LinkedIn"):"Share on LinkedIn"))),a&&a.facebook||i&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"javascript:void(0)",className:"social-btn facebook"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-facebook-grey.svg",alt:"Facebook",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-facebook-white.svg",alt:"Facebook",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Facebook")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-facebook"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Share on Facebook"):"Share on Facebook"))),a&&a.reddit||o&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"javascript:void(0)",className:"social-btn reddit"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-reddit-grey.svg",alt:"reddit",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-reddit-white.svg",alt:"reddit",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Reddit")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-reddit"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Share on Reddit"):"Share on Reddit"))),a&&a.email||c&&r.createElement("li",{className:"jsx-3582162638"},r.createElement(n.default,{href:"javascript:void(0)",className:"social-btn email"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-mail-24-lighterInk.svg",alt:"email",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-mail-24-white.svg",alt:"email",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share by Email")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-email"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Share by email"):"Share by email"))),a&&a.print||g&&r.createElement("li",{className:"jsx-3582162638"},r.createElement("a",{href:"javascript:void(0)",onClick:e=>w(e),className:"jsx-3582162638 social-btn print"},r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-print-24-lighterInk.svg",alt:"print",className:"jsx-3582162638 inactive"}),r.createElement("img",{src:"/static-res/images/svg/blogsvgs/icon-print-24-white.svg",alt:"print",className:"jsx-3582162638 active"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Print this page")),r.createElement("div",{className:"jsx-3582162638 tooltips tooltip-bottom tooltip-print"},r.createElement("p",{className:"jsx-3582162638"},u?m(u,"Print"):"Print"))))))):a&&r.createElement("ul",{className:"jsx-3582162638 "+((v?"horizontalLayout social-media":" social-media")||"")},a.twitter&&r.createElement("li",{title:u?m(u,"Share on Twitter"):"Share on Twitter",className:"jsx-3582162638 social-btn twitter"},r.createElement(n.default,{href:"#",alt:u?m(u,"Share on Twitter"):"Share on Twitter"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Twitter")),a.facebook&&r.createElement("li",{title:u?m(u,"Share on Facebook"):"Share on Facebook",className:"jsx-3582162638 social-btn facebook"},r.createElement(n.default,{href:"#",alt:u?m(u,"Share on Facebook"):"Share on Facebook"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Facebook")),a.linkedin&&r.createElement("li",{title:u?m(u,"Share on LinkedIn"):"Share on LinkedIn",className:"jsx-3582162638 social-btn linkedin"},r.createElement(n.default,{href:"#",alt:u?m(u,"Share on LinkedIn"):"Share on LinkedIn"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on LinkedInr")),a.reddit&&r.createElement("li",{title:u?m(u,"Share on Reddit"):"Share on Reddit",className:"jsx-3582162638 social-btn reddit"},r.createElement(n.default,{href:"#",alt:u?m(u,"Share on Reddit"):"Share on Reddit"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share on Reddit")),a.email&&r.createElement("li",{title:u?m(u,"Share by Email"):"Share by Email",className:"jsx-3582162638 social-btn email"},r.createElement(n.default,{href:"#",alt:u?m(u,"Share by Email"):"Share by Email"}),r.createElement("span",{className:"jsx-3582162638 sr-only"},"Share by Email"))),r.createElement(s(),{id:"3582162638"},[".social-media{position:relative;z-index:1;}",".social-media .social-btn{width:24px;height:24px;cursor:pointer;margin:14px 0;display:block;position:relative;}",'.social-media .social-btn::before,.social-media .social-btn::after{content:"";position:absolute;width:24px;height:24px;transition:opacity 300ms;}',".social-media .social-btn::before{opacity:1;background-size:cover;}",".social-media .social-btn::after{opacity:0;}",".social-media .social-btn:hover::before{opacity:0;}",".social-media .social-btn:hover::after{opacity:1;}",".social-media .social-btn.twitter::before{background:url(/static-res/images/svg/icon-twitter-inactive.svg) no-repeat;}",".social-media .social-btn.twitter::after{background:url(/static-res/images/svg/icon-twitter-active.svg) no-repeat;}",".social-media .social-btn.facebook::before{background:url(/static-res/images/svg/icon-facebook-inactive.svg) no-repeat;}",".social-media .social-btn.facebook::after{background:url(/static-res/images/svg/icon-facebook-active.svg) no-repeat;}",".social-media .social-btn.linkedin::before{background:url(/static-res/images/svg/icon-linkedin-inactive.svg) no-repeat;}",".social-media .social-btn.linkedin::after{background:url(/static-res/images/svg/icon-linkedin-active.svg) no-repeat;}",".social-media .social-btn.reddit::before{background:url(/static-res/images/svg/icon-reddit-inactive.svg) no-repeat;}",".social-media .social-btn.reddit::after{background:url(/static-res/images/svg/icon-reddit.svg) no-repeat;}",".social-media .social-btn.email::before{background:url(/static-res/images/svg/icon-email-inactive.svg) no-repeat;}",".social-media .social-btn.email::after{background:url(/static-res/images/svg/icon-email.svg) no-repeat;}",".social-media.horizontalLayout{display:flex;}",".social-media.horizontalLayout .social-btn{margin-right:14px;}",".social-card .blogauthorcard .card-body ul{padding:none !important;display:flex;justify-content:center;}",".social-card .blogauthorcard .card-body ul li{position:relative;}",".social-card .blogauthorcard .card-body ul li:last-child{margin-right:unset;}",".social-card .blogauthorcard .card-body ul li a{display:inline-block;width:32px;height:32px;display:flex;justify-content:center;align-items:center;}",".social-card .blogauthorcard .card-body ul li a img{position:absolute;padding:4px;height:32px;width:32px;}",".social-card .blogauthorcard .card-body ul li a img.active{display:none;}",".social-card .blogauthorcard .card-body ul li a:hover img.inactive{display:none;}",".social-card .blogauthorcard .card-body ul li a:hover img.active{display:block;}",".social-card .card{max-width:748px;border-radius:10px;border:1px solid var(--color-dark-gray);overflow:hidden;padding:0;margin:0 auto;}",'.social-card .card:before{content:"";height:6px;background-color:var(--color-elastic-blue);border-top-left-radius:10px;border-top-right-radius:10px;}',".social-card .card .card-body{padding:32px;}",".social-card .card .card-body ul{display:flex;justify-content:center;}",".social-card .card .card-body ul li{margin-right:16px;position:relative;}",".social-card .card .card-body ul li:last-child{margin-right:unset;}",".social-card .card .card-body ul li a{display:inline-block;border-radius:50%;border:1px solid var(--color-light-gray);background-color:var(--color-light-gray);width:48px;height:48px;display:flex;justify-content:center;align-items:center;}",".social-card .card .card-body ul li a img{position:absolute;padding:4px;height:32px;width:32px;}",".social-card .card .card-body ul li a img.active{display:none;}",".social-card .card .card-body ul li a:hover{border:1px solid var(--color-ink);background-color:var(--color-ink);}",".social-card .card .card-body ul li a:hover img.inactive{display:none;}",".social-card .card .card-body ul li a:hover img.active{display:block;}",".social-card .card .card-body ul li .tooltips{width:max-content;border:1px solid var(--color-dark-gray);background-color:var(--color-white);box-shadow:0 2px 10px 0 rgba(152,162,179,0.16);text-align:center;padding:4px 8px;position:absolute;top:135%;left:50%;opacity:0;z-index:0;transition:all 0.5s ease-out;transform:translate(-50%,0);}",'.social-card .card .card-body ul li .tooltips:before{content:"";position:absolute;left:0%;bottom:auto;right:0%;top:-5px;z-index:9;width:8px;height:8px;margin-right:auto;margin-left:auto;border-right:1px solid var(--color-dark-gray);border-bottom:1px solid var(--color-dark-gray);background-color:var(--color-white);-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg);}',".social-card .card .card-body ul li .tooltips p{font-size:0.75rem;line-height:1.125rem;margin-bottom:0;}",".social-card .card .card-body ul li:hover .tooltips{opacity:1;z-index:1;transform:translate(-50%,-10px);}","@media screen and (min-width:768px){.social-card{max-width:684px;}}","@media screen and (max-width:480px){.social-card{max-width:311px;}}","@media screen and (max-width:320px){.social-card{max-width:260px;}}"]))};g.propTypes={social:o().object,tweet:o().bool,facebook:o().bool,linkedIn:o().bool,email:o().bool,print:o().bool,heading:o().string,blogPage:o().bool,topicHeading:o().bool,translateContent:o().oneOfType([o().object,o().array]),reddit:o().bool,horizontalLayout:o().bool,blog_author:o().bool},a.Z=g},97403:function(e,a,t){var i=t(67294),s=t(45697);const r=e=>{const a=e.size?e.size:"layout-07";return i.createElement("div",{className:`layout ${a}`})};r.propTypes={size:t.n(s)().string},a.Z=r},17198:function(e,a,t){t.r(a);var i=t(68472),s=t.n(i),r=t(67294),l=t(30653),o=t(45697),c=t.n(o),n=t(7197);const d=e=>{let a;return a="string"===typeof e.children?(0,l.ZP)(e.children):e.children,r.createElement("div",{className:"jsx-1955866259 title-wrapper"},"H1"===e.tag&&r.createElement("h1",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),"H2"===e.tag&&r.createElement("h2",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),"H3"===e.tag&&r.createElement("h3",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),"H4"===e.tag&&r.createElement("h4",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),"H5"===e.tag&&r.createElement("h5",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),"H6"===e.tag&&r.createElement("h6",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),!e.tag&&r.createElement("h2",{tag:e.tag,id:e.id?n.default.stringToId(e.id):n.default.stringToId(a),className:"jsx-1955866259 "+(e.className||"")},a),r.createElement(s(),{id:"1955866259"},[".title-wrapper h1,.title-wrapper h2,.title-wrapper h3,.title-wrapper h4,.title-wrapper h5,.title-wrapper h6,.title-wrapper .h1,.title-wrapper .h2,.title-wrapper .h3,.title-wrapper .h4,.title-wrapper .h5,.title-wrapper .h6{margin:0;box-sizing:border-box;display:block;position:relative;}",".title-wrapper h1 a,.title-wrapper h2 a,.title-wrapper h3 a,.title-wrapper h4 a,.title-wrapper h5 a,.title-wrapper h6 a,.title-wrapper .h1 a,.title-wrapper .h2 a,.title-wrapper .h3 a,.title-wrapper .h4 a,.title-wrapper .h5 a,.title-wrapper .h6 a{font-weight:400;text-decoration:none;font-weight:unset;}",".title-wrapper h1 a:hover,.title-wrapper h2 a:hover,.title-wrapper h3 a:hover,.title-wrapper h4 a:hover,.title-wrapper h5 a:hover,.title-wrapper h6 a:hover,.title-wrapper .h1 a:hover,.title-wrapper .h2 a:hover,.title-wrapper .h3 a:hover,.title-wrapper .h4 a:hover,.title-wrapper .h5 a:hover,.title-wrapper .h6 a:hover{text-decoration:none;}",".blog h2,.press-detail .press-content h2{margin-top:64px;}",".blog h3,.blog h4,.blog h5,.blog h6,.press-detail .press-content h3,.press-detail .press-content h4,.press-detail .press-content h5,.press-detail .press-content h6{margin-top:32px;}"]))};d.propTypes={tag:c().string,className:c().string,children:c().oneOfType([c().string,c().array,c().object,c().any]),id:c().string},a.default=d}}]);