1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0ae4f43-8023-4ed5-bb42-138564f5c482",e._sentryDebugIdIdentifier="sentry-dbid-d0ae4f43-8023-4ed5-bb42-138564f5c482")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3965],{23965:(e,t,i)=>{i.d(t,{A:()=>B});var r=i(73365),n=i(80601),l=i(96032),o=i(90041),d=i(29578),c=i(9101),s=i(15329),a=i(1702),p=i(72666),u=i(1521),g=i(63257),h=i(18197),x=i.n(h),f=i(25427);let m=(0,f.Ay)(p.VP).withConfig({componentId:"sc-6ec39a24-0"})(["width:294px;max-height:calc( 100vh - "," );overflow-y:auto;"],e=>{let{scrollDirection:t}=e;return"down"===t?"84px":"184px"}),y=f.Ay.div.withConfig({componentId:"sc-6ec39a24-1"})([""," height:24px;text-overflow:ellipsis;overflow:hidden;width:220px;white-space:pre;margin-left:2px;"],e=>{let{theme:t}=e;return t.typography.p14_600}),w=f.Ay.div.withConfig({componentId:"sc-6ec39a24-2"})(["padding:","px 10px;border-radius:","px;"," &:hover{background-color:#ecf0f5;cursor:pointer;}"],e=>{let{theme:t}=e;return t.spacing.mono},e=>{let{theme:t}=e;return t.spacing.double},e=>{let{isSelected:t,theme:i}=e;return t&&"\n background-color: ".concat(i.colorPalette.grey400,";\n ")}),b=f.Ay.div.withConfig({componentId:"sc-6ec39a24-3"})(["display:flex;align-items:center;min-height:28px;"]),v=f.Ay.div.withConfig({componentId:"sc-6ec39a24-4"})(["width:220px;text-overflow:ellipsis;overflow:hidden;font-size:14px;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:break-word;color:",";"],e=>{let{theme:t}=e;return t.colorPalette.grey800});f.Ay.div.withConfig({componentId:"sc-6ec39a24-5"})(["margin-left:","px;"],e=>{let{theme:t}=e;return t.spacing.quadruple});let j=f.Ay.div.withConfig({componentId:"sc-a28b8d56-0"})(["transform:rotate(-90deg);height:24px;display:flex;align-items:center;"," padding:","px;&:hover{cursor:pointer;background-color:#dae1ed;border-radius:","px;}"],e=>{let{isActive:t}=e;return t&&"transform: rotate(0deg);"},e=>{let{theme:t}=e;return t.spacing.mono},e=>{let{theme:t}=e;return t.spacing.mono}),I=(0,f.Ay)(p.VP).withConfig({componentId:"sc-a28b8d56-1"})(["width:100%;display:",";gap:2px;"],e=>{let{isExpanded:t}=e;return t?"flex":"none"}),C=f.Ay.div.withConfig({componentId:"sc-a28b8d56-2"})(["height:24px;display:flex;align-items:center;padding:","px;"],e=>{let{theme:t}=e;return t.spacing.mono}),_=f.Ay.div.withConfig({componentId:"sc-a28b8d56-3"})(["width:100%;display:flex;padding:","px ","px;border-radius:","px;overflow:hidden;gap:px;margin-top:2px;&:hover{background-color:",";cursor:pointer;*{color:"," !important;cursor:pointer;}}*{color:",";}"],e=>{let{theme:t}=e;return t.spacing.double},e=>{let{theme:t}=e;return t.spacing.mono},e=>{let{theme:t}=e;return t.spacing.double},e=>{let{theme:t}=e;return t.colorPalette.grey300},e=>{let{theme:t}=e;return t.colorPalette.grey800},e=>e.theme.colorPalette.grey800),A=e=>{let{size:t=24,color:i}=e;return(0,r.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M11.9993 13.172L7.04928 8.222L5.63528 9.636L11.9993 16L18.3633 9.636L16.9493 8.222L11.9993 13.172Z",fill:i})})};var P=i(48438),k=i(1133);let S=e=>{let{isSubcategory:t,categoryTextIsSelected:i,isExpanded:n,onArrowClick:l,isMouseOver:o,icon:d,custom_icon:c,primaryColor:s}=e,a=(0,f.DP)(),p=e=>{e.stopPropagation(),e.preventDefault(),l()},u=()=>(0,r.jsx)(j,{isActive:n,onClick:p,children:(0,r.jsx)(A,{size:16,color:i?a.colorPalette.grey900:a.colorPalette.grey700})});if(t)return(0,r.jsx)(u,{});let g=(0,P.s)(d);return(0,r.jsx)("div",{children:o?(0,r.jsx)(u,{}):(0,r.jsx)(C,{children:c?(0,r.jsx)(k.TC,{src:c,alt:"Category Icon",size:16}):(0,r.jsx)(g,{size:16,fill:s})})})},D=e=>{let{isSubcategory:t,categoryTextIsSelected:i,isExpanded:n,onArrowClick:l,icon:o,title:d,link:c,custom_icon:a}=e,{state:g}=(0,s.h)(),[h,f]=(0,u.useState)(!1);return(0,r.jsx)(x(),{href:c,children:(0,r.jsxs)(_,{isSelected:i,onMouseEnter:()=>{f(!0)},onMouseLeave:()=>{f(!1)},children:[(0,r.jsx)(p.VP,{children:(0,r.jsx)(S,{isSubcategory:t,categoryTextIsSelected:i,isExpanded:n,onArrowClick:l,isMouseOver:h,icon:o,primaryColor:g.page.knowledgeBasePrimaryColor,custom_icon:a})}),(0,r.jsx)(p.VP,{fullHeight:!0,fullWidth:!0,children:(0,r.jsx)(y,{children:d})})]})})},V=e=>{var t;let{menuItem:i,langCode:n,isSubcategory:l,categoryId:o,selectedCategoryId:d,selectedArticleId:c,selectedSubcategoryId:s,isArticlesPage:a}=e,h=l?s===i.id:d===i.id,[f,m]=(0,u.useState)(h),y=(0,u.useMemo)(()=>!!a||!!s,[a,s]);return(0,u.useEffect)(()=>{m(h&&y)},[h,y]),(0,u.useEffect)(()=>
1{if(c){var e;let t=document.querySelector(".selected-article");null==t||null==(e=t.scrollIntoViewIfNeeded)||e.call(t)}},[c]),(0,r.jsx)(p.VP,{children:(0,r.jsxs)(p.VP,{fullWidth:!0,children:[(0,r.jsx)(D,{isSubcategory:l,categoryTextIsSelected:h,isExpanded:f,onArrowClick:()=>{m(!f)},icon:i.icon,title:i.title,link:(e=>l?(0,g.cX)(e,o,n):(0,g.K)(e,n))(i),custom_icon:i.custom_icon}),(0,r.jsx)(p.fI,{customWidth:"calc(100% - 16px)",marginTop:l?"none":"mono",children:(0,r.jsxs)(I,{isExpanded:f,children:[i.articles.map(e=>(0,r.jsx)(w,{isSelected:e.id===c,className:e.id===c?"selected-article":"",children:(0,r.jsx)(x(),{href:(0,g.kX)(e,n),children:(0,r.jsx)(b,{children:(0,r.jsx)(v,{isSelected:e.id===c,children:e.title},e.id)})})},e.id)),null==i||null==(t=i.subcategories)?void 0:t.map(e=>(0,r.jsx)(V,{selectedSubcategoryId:s,selectedArticleId:c,menuItem:e,isSubcategory:!0,categoryId:i.id,langCode:n},e.id))]})})]})})},E=e=>{var t,i,n;let{menuItems:l,langCode:o}=e,{state:d}=(0,s.h)(),c=(0,a.usePathname)(),p=c.includes("/articles/"),u=null==d||null==(t=d.articleDetail)?void 0:t.id,g=p?null==d||null==(i=d.articleDetail)?void 0:i.category_id:(e=>{try{return parseInt(e.split("/categories/")[1].split("-")[0],10)}catch(e){return null}})(c),h=p?null==d||null==(n=d.articleDetail)?void 0:n.sub_category_id:(e=>{try{return parseInt(e.split("/categories/")[1].split("/")[1].split("-")[0],10)}catch(e){return null}})(c);return(0,r.jsx)(m,{scrollDirection:d.scrollDirection,children:l.map(e=>(0,r.jsx)(V,{selectedCategoryId:g,selectedArticleId:u,selectedSubcategoryId:h,langCode:o,menuItem:e,isArticlesPage:p},e.id))})};var M=i(37259),z=i(40202),L=i(6603);let T=(0,f.Ay)(p.VP).withConfig({componentId:"sc-46e5d112-0"})(["width:100%;align-items:center;box-sizing:border-box;padding:0px ","px 0 ","px;@media (max-width:","px){padding:","px;}z-index:-1;"],e=>{let{theme:t}=e;return t.spacing.quintuple},e=>{let{theme:t}=e;return t.spacing.quintuple},L.bm,e=>{let{theme:t}=e;return t.spacing.quintuple});f.Ay.div.withConfig({componentId:"sc-46e5d112-1"})([""]);let q=(0,f.Ay)(p.VP).withConfig({componentId:"sc-46e5d112-2"})(["position:sticky;top:","px;width:294px;height:100%;"],e=>{let{scrollDirection:t}=e;return"down"===t?84:184}),N=(0,f.Ay)(p.VP).withConfig({componentId:"sc-46e5d112-3"})(["width:100%;flex:1;min-height:calc(100vh - 200px);box-sizing:border-box;"]);(0,f.Ay)(p.VP).withConfig({componentId:"sc-46e5d112-4"})(["position:sticky;top:","px;width:192px;height:100%;"],184);let W=e=>{let{children:t,showSidemenu:i,langCode:n}=e,l=(0,c.Z)(),{state:{categories:a,subCategories:p,articles:u,page:g,orders:h,scrollDirection:x}}=(0,s.h)(),f=(0,z.t8)(u,a,p,h),m=f.filter(e=>"category"===e.type).map(e=>{let t=a.find(t=>t.id===e.id);return{title:t.title,id:t.id,icon:t.icon,custom_icon:t.custom_icon,articles:f.filter(e=>"article"===e.type&&e.category_id===t.id&&!e.sub_category_id).map(e=>{let t=u.find(t=>t.id===e.id);return{title:t.title,id:t.id}}),subcategories:f.filter(e=>"subcategory"===e.type&&e.category_id===t.id&&u.some(t=>t.sub_category_id===e.id)).map(e=>{let i=p.find(t=>t.id===e.id);return{title:i.title,id:i.id,articles:f.filter(e=>"article"===e.type&&e.category_id===t.id&&e.sub_category_id===i.id).map(e=>{let t=u.find(t=>t.id===e.id);return{title:t.title,id:t.id}})}})}}).filter(e=>!!e.title),y=(0,M.w)(g,n),w=!!(null==y?void 0:y.title);return(0,r.jsx)(T,{$hasTitleText:w,className:"content-wrapper-for-scrolling",children:(0,r.jsxs)(d.dF,{dir:"auto",elementsMarginRight:"sextuple",marginTop:l?"none":"quadruple",children:[i&&!l&&(0,r.jsx)(q,{id:o.n.sideMenu,scrollDirection:x,children:(0,r.jsx)(E,{langCode:n,menuItems:m})}),(0,r.jsx)(N,{id:o.n.contentColumn,children:t})]})})},B=e=>{let{children:t,langCode:i,showBreadcrumb:d=!0,showPageMapper:c=!0,showSidemenu:s=!0}=e;return(0,r.jsxs)("div",{id:o.n.pageWrapper,children:[(0,r.jsx)(l.A,{langCode:i}),(0,r.jsx)(W,{langCode:i,showBreadcrumb:d,showPageMapper:c,showSidemenu:s,children:t}),(0,r.jsx)(n.A,{langCode:i})]})}}}]);
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.