(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8840],{4767:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[blog_post]",function(){return n(27208)}])},33238:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none"},e),r.createElement("path",{d:"M6 6.134v11.732c0 .895 1.03 1.438 1.822.951l9.628-5.866c.733-.441.733-1.46 0-1.914L7.822 5.183C7.029 4.696 6 5.239 6 6.134z",fill:"currentColor"}))}},24918:function(e,t,n){"use strict";n.d(t,{_M:function(){return TooltipBox}});var r=n(24043),l=n(82729),o=n(67294),a=n(84305),i=n(62802),s=n(36086),c=n(62372),d=n(91033),u=n(31666),m=n(62290);function _templateObject(){var e=(0,l._)(["\n background-color: ",";\n color: ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n z-index: 1100;\n padding: "," ",";\n z-index: ",";\n"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,l._)(["\n background-color: ",";\n border-radius: 3px;\n color: ",";\n ",";\n ",";\n padding-left: ",";\n padding-right: ",";\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,l._)(["\n display: ",";\n ",";\n &:focus-visible {\n // Note: 0px solid transparent prevents focus rings from disappearing for -ms-high-contrast.\n // TODO(LNS-183): Provide more robust polyfill/support for :focus for older versions of Safari, which don't support :focus-visible\n outline: 0px solid transparent;\n box-shadow: var(--lns-formFieldBorderShadowFocus);\n }\n"]);return _templateObject2=function(){return e},e}var __rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},h={topLeft:"top-start",topCenter:"top-center",topRight:"top-end",bottomLeft:"bottom-start",bottomCenter:"bottom-center",bottomRight:"bottom-end",leftTop:"left-start",leftCenter:"left-center",leftBottom:"left-end",rightTop:"right-start",rightCenter:"right-center",rightBottom:"right-end"},p=m.iH.small.fontSize*m.iH.small.lineHeight,f=u.Z.div(_templateObject(),(0,s.Rv)("background"),(0,s.Rv)("body"),(0,s.H5)("large"),(0,s.On)("bold"),(0,s.y3)("small"),(0,s.Xj)("medium"),function(e){return(0,s.ap)("max-width",e.maxWidth)},(0,s.u)((4-p)/2),(0,s.u)(1.5),function(e){return e.zIndex}),x=u.Z.div(_templateObject1(),(0,s.Rv)("backgroundActive"),(0,s.Rv)("grey3"),(0,s.On)("bold"),(0,s.y3)("small"),(0,s.u)(.5),(0,s.u)(.5)),ShortcutBox=function(e){var t=e.children;return o.createElement(x,null,t)},TooltipBox=function(e){var t=e.children,n=e.maxWidth,r=e.onMouseEnter,l=e.onMouseLeave,a=e.layerProps,i=e.zIndex,s=__rest(e,["children","maxWidth","onMouseEnter","onMouseLeave","layerProps","zIndex"]);return o.createElement(f,Object.assign({"data-lens-theme":"dark",maxWidth:n,onMouseEnter:r,onMouseLeave:l,zIndex:i},a,s),t)},b=u.Z.div(_templateObject2(),function(e){return e.isInline?"inline-block":"block"},function(e){return e.verticalAlign&&"vertical-align: ".concat(e.verticalAlign)});Object.keys(h),t.ZP=function(e){var t=e.children,n=e.content,l=e.shortcut,s=e.placement,u=e.keepOpen,m=e.triggerOffset,p=e.maxWidth,f=e.isInline,x=e.isDisabled,g=e.container,v=e.tabIndex,j=e.zIndex,y=e.verticalAlign,w=e.delay,_=__rest(e,["children","content","shortcut","placement","keepOpen","triggerOffset","maxWidth","isInline","isDisabled","container","tabIndex","zIndex","verticalAlign","delay"]),N=(0,r._)((0,c.XI)({delayEnter:function(e){switch(e){case"immediate":default:return 200;case"long":return 800}}(void 0===w?"immediate":w),delayLeave:200}),2),k=N[0],O=N[1],E=(0,r._)((0,o.useState)(!1),2),S=E[0],C=E[1],P=(0,r._)((0,o.useState)(!1),2),F=P[0],I=P[1],L=(0,o.useRef)(),R=!n||x;(0,o.useEffect)(function(){if(R){I(!1);return}var e=S&&u;(k||e)&&I(!0),k||e||I(!1)},[n,x,S,R,u,I,k]);var handleBlur=function(){I(!1)};(0,o.useEffect)(function(){if(F){var keyListener=function(e){"Escape"===e.key&&(e.preventDefault(),handleBlur())};return window.addEventListener("keydown",keyListener),function(){window.removeEventListener("keydown",keyListener)}}},[F,I]);var B=(0,c.sJ)({isOpen:F,placement:h[void 0===s?"topCenter":s],ResizeObserver:d.Z,triggerOffset:void 0===m?4:m,container:g,auto:!0}),T=B.layerProps,Z=B.triggerProps,z=B.renderLayer;return o.createElement(o.Fragment,null,o.createElement(b,Object.assign({},Z,O,{onFocus:function(){R||I(!0)},onBlur:handleBlur,isInline:void 0===f||f,verticalAlign:void 0===y?"middle":y,tabIndex:R?-1:void 0===v?0:v,ref:(0,c.lq)(Z.ref,L)}),t),F&&z(o.createElement("div",Object.assign({},T,{style:Object.assign(Object.assign({},T.style),{zIndex:void 0===j?1100:j})}),o.createElement(TooltipBox,Object.assign({maxWidth:void 0===p?26:p,onMouseEnter:function(){return C(!0)},onMouseLeave:function(){return C(!1)}},_),o.createElement(a.Z,{gap:"small"},o.createElement(i.ZP,{size:"small",fontWeight:"bold"},n),l&&o.createElement(a.Z,{gap:"xsmall"},l.map(function(e,t){return o.createElement(ShortcutBox,{key:t},e)})))))))}},27208:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return T},default:function(){return BlogPost}});var r,l,o,a,i=n(75766),s=n(24043),c=n(85893),d=n(86437),u=n(32924),m=n(24918),h=n(93967),p=n.n(h),f=n(5152),x=n.n(f),b=n(11163),g=n(67294),v=n(7482),j=n(6710),y=n(27320),w=n(66017),_=n(68197),N=n(85729),k=n(81989),O=n(2031),E=n(16544),S=n(65970);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t