1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,22768,e=>{"use strict";var t=e.i(91398),n=e.i(91788),r=e.i(15891);e.i(30943);let a=[],i=[],s=["H1","H2","H3","H4","H5","H6","H7"];function o(e){return!e||!e.trim()}e.s(["ArticleNavigation",0,function(e){let[l,u]=(0,n.useState)(),c=(0,n.useRef)(null),[h,d]=(0,n.useState)(0),p=(0,n.useContext)(r.AppContext),f=()=>{d(e=>e+1)},g=e=>{let t=c?.current;if(!t||0==t.length)return;let n=null;for(let e=0;e<t.length;e++){let r=t[e];r.isHighlighted=!1,r.element.getBoundingClientRect().y<150&&(n=r)}n?n.isHighlighted=!0:t[0].isHighlighted=!0,f()};(0,n.useEffect)(()=>{let t=()=>{let t=[];e.articleDom&&function e(t,n,r=0){for(let a=0;a<t.children.length;a++){let i=t.children[a];-1===s.indexOf(i.tagName)||o(i.textContent)||n.push({element:i,isHighlighted:!1,index:a,uid:r}),e(i,n,++r)}}(e.articleDom,t),0===t.length&&a.length>0&&a.forEach((e,n)=>{o(e.textContent)||t.push({element:e,isHighlighted:!1,index:n,uid:n})}),u(t),c.current=t,g(0),f()};t();let n=setTimeout(()=>{t()},100),r=(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)});return()=>{clearTimeout(n),r()}},[e.articleDom,e.contentId]);let m=0,y=!1;if((0,n.useEffect)(()=>{let e=()=>{m=window.scrollY,y||(window.requestAnimationFrame(function(){g(m),y=!1}),y=!0)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),!l||l.length<=1)return null;let v=e=>{let t="";for(let n=0;n<e.childNodes.length;++n){let r=e.childNodes[n];"hash-btn"!=r.id&&(r.nodeType===Node.TEXT_NODE?t+=r.textContent:t+=v(r))}return t};return(0,t.jsxs)("div",{className:"text-sm text-gray-500 article-navigation pl-7",children:[(0,t.jsxs)("h5",{className:"mb-7",children:[(0,t.jsx)("i",{className:"fa-solid fa-bars-staggered"})," ",(0,t.jsx)("strong",{children:p?.tenant.texts.articleNavigationHeaderText})]}),l?.map((e,n)=>(0,t.jsx)("div",{className:`cursor-pointer hover:text-gray-700 mb-4 article-nav-link ${e.isHighlighted?"active":""}`,style:{marginLeft:(parseInt(e.element.tagName.substring(1))-1)*10+"px"},onClick:()=>{e.element.scrollIntoView({behavior:"smooth"})},children:v(e.element)},e.uid))]})}],22768)},33115,73830,47434,15249,e=>{"use strict";var t=e.i(91398),n=e.i(41158),r=e.i(91788),a=e.i(15891);let i=(0,r.createContext)(null);function s(e,t,n){let r=[];r.push(t.publishedContent.slug),r.push("article"),r.push(e);let a="",i=[];return n?.isEmbedMode&&i.push("embed=1"),n?.isNoNavMode&&i.push("nonav=1"),i.length>0&&(a="?"+i.join("&")),"/"+r.reverse().join("/")+a}function o(e,t,n){let r=[];"string"==typeof t?r.push(t):r.push(t.slug),r.push("category"),r.push(e);let a="",i=[];return n?.isEmbedMode&&i.push("embed=1"),n?.isNoNavMode&&i.push("nonav=1"),i.length>0&&(a="?"+i.join("&")),"/"+r.reverse().join("/")+a}function l(e,t){return t?.flags?.indexOf(e)!==-1}function u(e){let[s,u]=(0,r.useState)(!e.isCollapsed),c=(0,r.useContext)(i),h=(0,r.useContext)(a.AppContext);return c&&h?(0,t.jsxs)("div",{className:"article-menu-category",children:[l("kb_lcat",h.tenant.accountInfo)&&e.category.slug&&""!==e.category.slug.trim()?(0,t.jsxs)("div",{className:`pl-1 py-1 ${e.isSelected?"text-primary-bg":""}`,children:[(0,t.jsx)("span",{onClick:()=>u(e=>!e),className:`cursor-pointer inline-block transition-all hover:text-primary-bg ${s?"rotate-90":"rotate-0"}`,children:(0,t.jsx)("i",{className:"fa-solid fa-chevron-right"})}),(0,t.jsx)(n.default,{href:o(h.tenant.currentLocale,e.category,{isEmbedMode:h.tenant.isEmbedMode,isNoNavMode:h.tenant.isNoNavMode}),children:(0,t.jsx)("span",{onClick:()=>u(!0),className:"ltr:ml-2 rtl:mr-2 font-semibold cursor-pointer hover:text-primary-bg",children:e.category.title})})]}):(0,t.jsxs)("div",{onClick:()=>u(e=>!e),className:`cursor-pointer pl-1 py-1 ${e.isSelected?"active text-primary-bg":""}`,children:[(0,t.jsx)("span",{className:`inline-block transition-all ${s?"rotate-90":"rotate-0"}`,children:(0,t.jsx)("i",{className:"fa-solid fa-chevron-right"})}),(0,t.jsx)("span",{className:"ltr:ml-2 rtl:mr-2 font-semibold",children:e.category.title})]}),(0,t.jsx)("div",{className:`flex flex-col ml-4 space-y-2 mt-2 transition-all ${s?"":"hidden"}`,children:e.children})]}):null}function c(e){let o=(0,r.useContext)(i),l=(0,r.useContext)(a.AppContext);return o&&l?(0,t.jsx)(n.default,{href:s(l.tenant.currentLocale,e.article,{isEmbedMode:l.tenant.isEmbedMode,isNoNavMode:l.tenant.isNoNavMode}),onClick:e.onClick,className:`article-menu-link-${e.article?.publishedContent?.id} ${e.isSelected?"active text-primary-bg":""} 2 ${!e.isSelected?"hover:text-primary-bg":""} 3 pl-1 4 py-1 5 article-menu-item`,children:e.article.publishedContent.title}):null}function h(e,t){return e.order<t.order?-1:+(e.order>t.order)}e.s(["KbContext",0,i],73830),e.s(["makeDefaultUrlForCategory",0,function(e,t,n,r,a){if(a&&t.slug&&""!=t.slug.trim())return o(e,t,r);let[i]=n.filter(e=>e.categoryId==t.id).sort((e,t)=>
5e.order<t.order?-1:+(e.order>t.order));if(i)return s(e,i,r)},"makeUrlForArticle",0,s,"makeUrlForArticleContent",0,function(e,t){let n=[];return"string"==typeof t?n.push(t):n.push(t.slug),n.push("article"),n.push(e),"/"+n.reverse().join("/")},"makeUrlForCategory",0,o,"makeUrlForNews",0,function(e,t,n){return`/${e}/news/${t}-${function(e){if(!e)return"";let t=e;t=(t=t.replace(/^\s+|\s+$/g,"")).toLowerCase();let n="áäâà ãåÄçÄÄéÄëèêẽÄÈÄÃìîïıÅñóöòôõøðÅÅÅ¡ÅťúůüùûýÿžþÃÄÄÃÃa·/_,:;";for(var r=0,a=n.length;r<a;r++)t=t.replace(RegExp(n.charAt(r),"g"),"aaaaaacccdeeeeeeeegiiiiinnooooooorrsstuuuuuyyzbBDdBAa------".charAt(r));return t.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}(n)}`}],47434),e.s(["isFlagOn",0,l,"isInPricingPlan",0,function(e,t){return t?.isInTrial||t?.flags?.indexOf(e)!==-1}],15249),e.s(["ArticlesMenu",0,function(e){let n=t=>e.articles.filter(e=>e.categoryId==t&&e.publishedContent).sort(h),a=e.articles.filter(t=>t.publishedContent?.id==e.selectedArticleContent?.id)[0]?.categoryId,i=n=>(0,t.jsx)(c,{onClick:e.onArticleSelected,article:n,isSelected:!!e.selectedArticleContent&&n.publishedContent.id==e.selectedArticleContent.id},n.publishedContent.id.toString());return(0,r.useEffect)(()=>{"u">typeof document&&setTimeout(()=>{let t=document.querySelector(".article-menu-link-"+e.selectedArticleContent?.id);t&&t.scrollIntoView()},100)},[]),(0,t.jsx)("div",{className:"px-5",children:(0,t.jsxs)("div",{className:"flex flex-col space-y-2 text-sm articles-menu",children:[n(null).map(e=>i(e)),e.categories.map(r=>{let s=n(r.id);if(!(t=>{let[n]=e.categories.filter(e=>e.id==t);if(e.articles.filter(e=>e.categoryId==n.id&&e.publishedContent).length>0)return!0;if(!n.children)return!1;{let t=n.children.map(e=>e.id);return e.articles.filter(e=>t.includes(e.categoryId)&&e.publishedContent).length>0}})(r.id))return null;let o=a==r.id||r.children.some(e=>e.id==a),l=e.selectedCategory?.id==r.id,c=e.selectedCategory?.parentCategoryId==r.i
5d;return(0,t.jsxs)(u,{category:r,isCollapsed:!o&&!l&&!c&&r.isCollapsedByDefault,isSelected:e.selectedCategory?.id==r.id,children:[s.map(e=>i(e)),r.children.map(r=>{let a=n(r.id);return 0==a.length?null:(0,t.jsx)(u,{category:r,isCollapsed:!a.some(t=>t.publishedContent.id==e.selectedArticleContent?.id||t.categoryId==e.selectedCategory?.id),isSelected:e.selectedCategory?.id==r.id,children:a.map(e=>i(e))},r.id.toString())})]},r.id.toString())})]})})}],33115)},99471,e=>{"use strict";var t=e.i(91398),n=e.i(3828),r=e.i(91788),a=e.i(15891),i=e.i(41158),s=e.i(51535),o=e.i(33115),l=e.i(73830),u=e.i(15249),c=e.i(56206);function h(e){let r=(0,n.useRouter)();return(0,t.jsxs)("div",{className:"flex space-x-2",children:[" ",(0,t.jsxs)("a",{href:e.url,className:`shrink-0 block p-3 hover:border-b-primary-bg ${r.pathname===e.url||e.additinalActiveRoutes&&-1!==e.additinalActiveRoutes.indexOf(r.pathname)?"border-b-2 border-b-primary-bg":""} ${e.grow?"grow":""} ${e.additClass||""}`,children:[e.icon&&(0,t.jsx)("span",{className:"ltr:mr-2 rtl:ml-2",children:(0,t.jsx)("i",{className:e.icon})}),e.text]})]})}function d(e,t){return e?`${t?`/${t}/`:""}/auth/sign-out`:`${t?`/${t}/`:""}/auth/signin/?return=${window.location.pathname}`}function p(){let e=(0,n.useRouter)(),i=(0,a.useAuthContext)(),s=(0,r.useContext)(a.AppContext),o=s?.tenant?.currentLocale||"",l=(0,r.useCallback)(t=>{t.preventDefault(),e.push(d(i.auth?.isAuthenticated,o))},[i]);return(0,t.jsxs)("div",{className:"flex space-x-2",children:[" ",(0,t.jsxs)("a",{onClick:l,className:(0,c.default)("shrink-0 flex p-3 hover:border-b-primary-bg space-x-2","select-none cursor-pointer"),children:[(0,t.jsx)("i",{className:"fa fa-user mx-auto my-auto rtl:ml-2","aria-hidden":"true"}),(0,t.jsx)("div",{children:i?.auth?.isAuthenticated?s?.tenant.texts.authSignOut??"Sign out":s?.tenant.texts.authSignIn??"Sign in"})]})]})}function f(){let e=(0,n.useRouter)(),i=(0,r.useContext)(a.AppContext),s=(0,a.useAuthContext)(),o=i?.tenant?.currentLocale||"",l=(0,r.useCallback)(t=>{t.preventDefault(),e.push(d(s.auth?.isAuthenticated,o))},[s]);return(0,t.jsx)("div",{className:"flex space-x-2",children:(0,t.jsxs)("div",{className:"dropdown inline-block relative",children:[(0,t.jsx)("button",{className:(0,c.default)("font-semibold flex mx-auto ","items-center rounded-full shadow-sm w-7 h-7","my-auto border-primary-bg"),children:(0,t.jsx)("i",{className:"fa fa-user mx-auto my-auto","aria-hidden":"true"})}),(0,t.jsx)("ul",{className:(0,c.default)("dropdown-menu text-md absolute hidden ml-12 -mt-3","-translate-x-full rtl:translate-x-1/2 text-gray-700 pt-1 p-2 w-52"),children:(0,t.jsx)("li",{className:"p-2 bg-white rounded-sm shadow-md mt-2 select-none cursor-pointer",children:(0,t.jsxs)("a",{onClick:l,className:"hover:bg-gray-100 space-x-2 py-2 px-4 block whitespace-no-wrap",children:[(0,t.jsx)("i",{className:"fa fa-sign-in rtl:ml-2","aria-hidden":"true"}),(0,t.jsx)("span",{children:s?.auth?.isAuthenticated?i?.tenant.texts.authSignOut??"Sign out":i?.tenant.texts.authSignIn??"Sign in"})]})})})]})})}e.s(["MainMenu",0,function(e){let n=(0,r.useContext)(a.AppContext),c=(0,r.useContext)(l.KbContext),d=(0,a.useAuthContext)(),g=n?.tenant?.currentLocale||"",m=(0,u.isInPricingPlan)("ann_v2npv",n?.tenant?.accountInfo),[y,v]=(0,r.useState)(!1),x=()=>{v(e=>!e)};(0,r.useEffect)(()=>{y&&1?document.body.style.overflow="hidden":y||(document.body.style.overflow="")},[y]);let b=(()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=navigator.userAgent.toLowerCase();t(/^((?!chrome|android).)*safari/i.test(e))},[]),e})();return(0,t.jsxs)("div",{className:`main-menu 6 flex 7 items-center 8 justify-center 9 w-full 10 p-3 11 px-5 12 lg:px-10 13 shadow-softer 14 border-b-gray-borderlike 15 border-b 16 bg-white 17 `,children:[(0,t.jsxs)("div",{className:"flex max-w-[90rem] items-center flex-grow desktop-area",children:[(0,t.jsx)("div",{className:`${!b&&"flex-shrink-0"}`,children:(0,t.jsxs)(i.default,{href:`/${g}`,children:[n?.tenant.icons.logoFileId&&(0,t.jsx)("img",{src:"https://cdn-assets.productfruits.com/"+n?.tenant.icons.logoFileId,className:`${e.hasSearch?"min-w-[40px]":""} max-h-[2.5rem] w-full object-contain object-left`,style:{maxHeight:"40px",width:"100%"}}),!n?.tenant.icons.logoFileId&&(0,t.jsx)("span",{className:"text-xl font-bold",children:"Your Logo"})]})}),e.hasSearch&&(0,t.jsx)(s.ArticleDetailSearchField,{className:"ml-10 mr-10"}),!e.hasSearch&&(0,t.jsx)("div",{className:"w-full"}),(0,t.jsxs)("div",{className:"flex space-x-10 text-primary-bg flex-shrink-0",children:[(0,t.jsx)(h,{text:n?.tenant.texts.helpCenterLinkText||"",url:`/${g}`,additinalActiveRoutes:[`${g}/search`],icon:"fa-solid fa-book",additClass:"menu-item-contact-us"}),m&&n?.tenant.announcements?.enabled&&(0,t.jsx)(h,{text:n?.tenant.texts.announcementsMenuLinkText,url:`/${g}/news`,icon:"fa-solid fa-bullhorn",additClass:"menu-item-news"}),n?.tenant.menuItems?.map(e=>(0,t.jsx)(h,{text:e.title,url:e.url,icon:"fa-solid fa-up-right-from-square"},e.url+e.title)),n?.auth?.isAnyMethodEnabled&&(0,t.jsx)("div",{className:"flex my-auto mx-auto",children:(0,t.jsx)(f,{})})]})]}),(0,t.jsxs)("div",{className:"mobile-area w-full",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"mr-5",children:(0,t.jsx)("button",{onClick:()=>x(),children:(0,t.jsx)("i",{className:"fas fa-bars"})})}),(0,t.jsx)("div",{className:"grow ml-2 mr-2",children:(0,t.jsx)(s.ArticleDetailSearchField,{})})]}),(0,t.jsxs)("div",{className:`bg-white p-4 w-full fixed z-10 top-0 bottom-0 left-0 right-0 overflow-auto transition-transform ${y?"":"-translate-x-full"}`,children:[(0,t.jsx)("div",{className:"fixed z-20 right-[18px] top-[10px] text-lg",children:(0,t.jsx)("button",{onClick:()=>x(),children:(0,t.jsx)("i",{className:"fas fa-times"})})}),(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsxs)("div",{className:"flex text-sm flex-wrap",children:[(0,t.jsx)(h,{text:n?.tenant.texts.helpCenterLinkText||"",url:`/${g}`,additinalActiveRoutes:[`${g}/search`],icon:"fa-solid fa-book",grow:!0,additClass:"menu-item-contact-us menu-item-contact-mobile"}),m&&n?.tenant.announcements?.enabled&&(0,t.jsx)(h,{text:n?.tenant.texts.announcementsMenuLinkText,url:`/${g}/news`,icon:"fa-solid fa-bullhorn",additClass:"menu-item-news"}),n?.tenant.menuItems?.map(e=>(0,t.jsx)(h,{text:e.title,url:e.url,icon:"fa-solid fa-up-right-from-square",grow:!0},e.url+e.title)),d.auth?.isAnyMethodEnabled&&(0,t.jsx)(p,{})]}),y&&c&&(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(o.ArticlesMenu,{articles:c?.allArticles,categories:c?.treelizedCategories,onArticleSelected:()=>x()})})]})]})]})]})}],99471)}
17,51535,e=>{"use strict";var t=e.i(91398),n=e.i(3828),r=e.i(91788),a=e.i(15891);e.s(["ArticleDetailSearchField",0,function(e){let i=(0,r.useContext)(a.AppContext),s=(0,n.useRouter)(),[o,l]=(0,r.useState)(s.query.q),u=i?.tenant.currentLocale;return(0,t.jsx)("div",{className:`w-full relative ${e.className}`,children:(0,t.jsxs)("form",{action:`${u}/search`,method:"get",onSubmit:e=>{e.preventDefault(),s.push({pathname:"/[language]/search",query:{q:o,language:u}})},children:[(0,t.jsx)("input",{type:"text",name:"q",value:o,placeholder:i?.tenant.texts.searchPlaceholderText,onChange:e=>l(e.target.value),autoComplete:"off",className:"p-3 pr-10 border border-primary rounded-md w-full focus:outline-none focus:border-primary-bg"}),(0,t.jsx)("div",{className:"absolute top-0 right-2 grid place-items-center bottom-0",children:(0,t.jsx)("button",{type:"submit",className:"grid place-items-center text-gray-500 cursor-pointer hover:text-gray-300 transition-all",children:(0,t.jsx)("i",{className:"fa-solid fa-magnifying-glass"})})})]})})},"MainSearchField",0,function(e){let[i,s]=(0,r.useState)(e.q),o=(0,r.useContext)(a.AppContext),l=(0,n.useRouter)(),u=o?.tenant.currentLocale;return(0,t.jsx)("div",{className:"w-full relative",children:(0,t.jsxs)("form",{action:`${u}/search`,method:"get",onSubmit:e=>{e.preventDefault(),l.push({pathname:"/[language]/search",query:{q:i,language:u}})},children:[(0,t.jsx)("input",{type:"text",name:"q",value:i,placeholder:o?.tenant.texts.searchPlaceholderText,onChange:e=>s(e.target.value),autoComplete:"off",className:"transition-shadow text-2xl p-5 pr-20 rounded-3xl w-full shadow-nice-soft focus:outline-none focus:shadow-lg"}),(0,t.jsx)("div",{className:"absolute top-0 right-2 grid place-items-center bottom-0",children:(0,t.jsx)("button",{type:"submit",className:"rounded-full aspect-square w-[55px] grid place-items-center cursor-pointer transition-all",children:(0,t.jsx)("i",{className:"fa-solid fa-magnifying-glass"})})})]})})}])},37632,e=>{"use strict";var t=e.i(91398),n=e.i(91788);e.s(["useLightbox",0,function(){let[e,r]=(0,n.useState)(!1),[a,i]=(0,n.useState)("");(0,n.useEffect)(()=>{let e=e=>{let t=e.target;t?.tagName=="IMG"&&t?.dataset.lghtb==="true"&&(i(t.src),r(!0))};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]);let s=()=>{r(!1),i("")};return e?(0,t.jsxs)("div",{className:"fixed bg-[rgba(0,0,0,0.5)] top-0 bottom-0 right-0 left-0 grid place-items-center z-50 lightbox-holder",onClick:s,children:[(0,t.jsx)("img",{src:a,className:"max-w-[80vw] max-h-[80vh]",onClick:e=>e.stopPropagation()}),(0,t.jsx)("div",{className:"text-white lightbox-close-button absolute top-[30px] right-[30px] text-2xl cursor-pointer",onClick:s,children:(0,t.jsx)("i",{className:"fa-solid fa-xmark"})})]}):(0,t.jsx)(t.Fragment,{})}])},12879,e=>{"use strict";var t=e.i(91398),n=e.i(99471);e.s(["SectionLayout",0,function(e){return e.isEmbed?(0,t.jsx)("div",{children:e.children}):(0,t.jsx)("div",{className:"grid min-h-[85vh]",children:(0,t.jsxs)("div",{className:"mx-auto w-full",style:{gridColumn:1,gridRow:1},children:[(0,t.jsx)("div",{className:"sticky top-0 z-50 bg-bg bg-bg-gray print-hide",children:(0,t.jsx)(n.MainMenu,{hasSearch:!0})}),(0,t.jsx)("div",{className:"container max-w-[90rem] mx-auto w-full kb-content-container",children:e.children})]})})}])},15891,e=>{"use strict";var t=e.i(91788);let n=(0,t.createContext)(null),r=()=>(0,t.useContext)(n);e.s(["AppContext",0,n,"useAppContext",0,r,"useAuthContext",0,()=>{let e=r(),t=e?.auth?.isAnyMethodEnabled||e?.auth?.methods.isHmacEnabled;return{isAuthEnabled:t,auth:e?.auth,user:e?.auth?.user}}])},41705,(e,t,n)=>{"use strict";n._=function(e){return e&&e.__esModule?e:{default:e}}},52456,(e,t,n)=>{"use strict";function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}n._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(a,s,o):a[s]=e[s]}return a.default=e,n&&n.set(e,a),a}},56206,e=>{"use strict";e.s(["default",0,function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;
17n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r}])},17358,(e,t,n)=>{},20955,(e,t,n)=>{var r={156:function(e){var t,n,r,a=e.exports={};function i(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}var l=[],u=!1,c=-1;function h(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=o(h);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||o(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=f,a.addListener=f,a.once=f,a.off=f,a.removeListener=f,a.removeAllListeners=f,a.emit=f,a.prependListener=f,a.prependOnceListener=f,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}},s=!0;try{r[e](n,n.exports,i),s=!1}finally{s&&delete a[e]}return n.exports}i.ab="/ROOT/node_modules/next/dist/compiled/process/",t.exports=i(156)},50461,(e,t,n)=>{"use strict";var r,a;t.exports=(null==(r=e.g.process)?void 0:r.env)&&"object"==typeof(null==(a=e.g.process)?void 0:a.env)?e.g.process:e.r(20955)},13584,(e,t,n)=>{"use strict";e.i(50461),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"HeadManagerContext",{enumerable:!0,get:function(){return r}});let r=e.r(41705)._(e.r(91788)).default.createContext({})},25479,(e,t,n)=>{"use strict";e.i(50461),Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(41705)._(e.r(91788)).default.createContext(null)},93857,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},47852,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={HTML_LIMITED_BOT_UA_RE:function(){return i.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return c},isBot:function(){return u}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=e.r(93857),s=/Googlebot(?!-)|Googlebot$/i,o=i.HTML_LIMITED_BOT_UA_RE.source;function l(e){return i.HTML_LIMITED_BOT_UA_RE.test(e)}function u(e){return s.test(e)||l(e)}function c(e){return s.test(e)?"dom":l(e)?"html":void 0}},89129,(e,t,n)=>{"use strict";e.i(50461),Object.defineProperty(n,"__esModule",{value:!0});var r={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return g},ST:function(){return m},WEB_VITALS:function(){return i},execOnce:function(){return s},getDisplayName:function(){return h},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return f}
17,normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return S}};for(var a in r)Object.defineProperty(n,a,{enumerable:!0,get:r[a]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,n=!1;return(...r)=>(n||(n=!0,t=e(...r)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&o.test(e)};function u(){let{protocol:e,hostname:t,port:n}=window.location;return`${e}//${t}${n?":"+n:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function h(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&d(n))return r;if(!r)throw Object.defineProperty(Error(`"${h(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let g="u">typeof performance,m=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class x extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}},3828,(e,t,n)=>{t.exports=e.r(26990)},17176,(e,t,n)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},10432,(e,t,n)=>{"use strict";var r=e.r(17176);function a(){}function i(){}i.resetWarningCache=a,t.exports=function(){function e(e,t,n,a,i,s){if(s!==r){var o=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},91567,(e,t,n)=>{e.i(50461),t.exports=e.r(10432)()},83971,(e,t,n)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=u(e.r(45246)),i=u(e.r(91788)),s=u(e.r(58822)),o=u(e.r(3828)),l=u(e.r(91567));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){var e;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return p(h(e=u.call.apply(u,[this].concat(r))),"timer",null),p(h(e),"routeChangeStart",function(t,n){(!n.shallow||e.props.showOnShallow)&&(s.default.set(e.props.startPosition),s.default.start())}),p(h(e),"routeChangeEnd",function(t,n){(!n.shallow||e.props.showOnShallow)&&(clearTimeout(e.timer),e.timer=setTimeout(function(){s.default.done(!0)},e.props.stopDelayMs))}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e);var n,l,u=(n=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,a,i,s=d(t);return i=n?Reflect.construct(s,arguments,d(this).constructor):s.apply(this,arguments),e=this,(a=i)&&("object"===r(a)||"function"==typeof a)?a:h(e)});return l=[{key:"render",value:function(){var e=this.props,t=e.color,n=e.height;return i.default.createElement(a.default,{id:"2264455431",dynamic:[t,n,t,t,t,t]},"#nprogress{pointer-events:none;}#nprogress .bar{background:".concat(t,";position:fixed;z-index:9999;top:0;left:0;width:100%;height:").concat(n,"px;}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px ").concat(t,",0 0 5px ").concat(t,";opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);
17-ms-transform:rotate(3deg) translate(0px,-4px);-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px);}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px;}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:").concat(t,";border-left-color:").concat(t,";border-radius:50%;-webkit-animation:nprogresss-spinner 400ms linear infinite;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite;}.nprogress-custom-parent{overflow:hidden;position:relative;}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute;}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);}}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}"))}},{key:"componentDidMount",value:function(){var e=this.props.options;e&&s.default.configure(e),o.default.events.on("routeChangeStart",this.routeChangeStart),o.default.events.on("routeChangeComplete",this.routeChangeEnd),o.default.events.on("routeChangeError",this.routeChangeEnd)}},{key:"componentWillUnmount",value:function(){o.default.events.off("routeChangeStart",this.routeChangeStart),o.default.events.off("routeChangeComplete",this.routeChangeEnd),o.default.events.off("routeChangeError",this.routeChangeEnd)}}],function(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}(t.prototype,l),t}(i.default.Component);p(f,"defaultProps",{color:"#29D",startPosition:.3,stopDelayMs:200,height:3,showOnShallow:!0}),f.propTypes={color:l.default.string,startPosition:l.default.number,stopDelayMs:l.default.number,height:l.default.number,showOnShallow:l.default.bool,options:l.default.object},n.default=f},70409,(e,t,n)=>{t.exports=e.r(83971)},8481,(e,t,n)=>{"use strict";var r=Symbol.for("react.transitional.element");function a(e,t,n){var a=null;if(void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),"key"in t)for(var i in n={},t)"key"!==i&&(n[i]=t[i]);else n=t;return{$$typeof:r,type:e,key:a,ref:void 0!==(t=n.ref)?t:null,props:n}}n.Fragment=Symbol.for("react.fragment"),n.jsx=a,n.jsxs=a},91398,(e,t,n)=>{"use strict";e.i(50461),t.exports=e.r(8481)},61556,(e,t,n)=>{"use strict";var r=e.i(50461),a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),m=Symbol.for("react.view_transition"),y=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,b={};function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function S(){}function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=E.prototype;var j=w.prototype=new S;j.constructor=w,x(j,E.prototype),j.isPureReactComponent=!0;var C=Array.isArray;function k(){}var _={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function T(e,t,n){var r=n.ref;return{$$typeof:a,type:e,key:t,ref:void 0!==r?r:null,props:n}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var O=/\/+/g;function I(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function R(e,t,n){if(null==e)return e;var r=[],s=0;return!function e(t,n,r,s,o){var l,u,c,h=typeof t;("undefined"===h||"boolean"===h)&&(t=null);var d=!1;if(null===t)d=!0;else switch(h){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case a:case i:d=!0;break;case f:return e((d=t._init)(t._payload),n,r,s,o)}}if(d)return o=o(t),d=""===s?"."+I(t,0):s,C(o)?(r="",null!=d&&(r=d.replace(O,"$&/")+"/"),e(o,n,r,"",function(e){return e})):null!=o&&(A(o)&&(l=o,u=r+(null==o.key||t&&t.key===o.key?"":(""+o.key).replace(O,"$&/")+"/")+d,o=T(l.type,u,l.props)),n.push(o)),1;d=0;var p=""===s?".":s+":";if(C(t))for(var g=0;g<t.length;g++)h=p+I(s=t[g],g),d+=e(s,n,r,h,o);else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=y&&c[y]||c["@@iterator"])?c:null))for(t=g.call(t),g=0;!(s=t.next()).done;)h=p+I(s=s.value,g++),d+=e(s,n,r,h,o);else if("object"===h){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),n,r,s,o);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(n=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return d}(e,r,"","",function(e){return t.call(n,e,s++)}),r}function P(e){if(-1===e._status){var t=(0,e._result)();t.then(function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n,void 0===t.status&&(t.status="fulfilled",t.value=n))},function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n,void 0===t.status&&(t.status="rejected",t.reason=n))}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof r.default&&"function"==typeof r.default.emit)return void r.default.emit("uncaughtException",e);console.error(e)};function F(e){var t=_.T,n={};n.types=null!==t?t.types:null,_.T=n;try{var r=e(),a=_.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(k,M)}catch(e){M(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),_.T=t}}function L(e){var t=_.T;if(null!==t){var n=t.types;null===n?t.types=[e]:-1===n.indexOf(e)&&n.push(e)}else F(L.bind(null,e))}
17n.Activity=g,n.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=E,n.Fragment=s,n.Profiler=l,n.PureComponent=w,n.StrictMode=o,n.Suspense=d,n.ViewTransition=m,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,n.__COMPILER_RUNTIME={__proto__:null,c:function(e){return _.H.useMemoCache(e)}},n.addTransitionType=L,n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=x({},e.props),a=e.key;if(null!=t)for(i in void 0!==t.key&&(a=""+t.key),t)N.call(t,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&("ref"!==i||void 0!==t.ref)&&(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var s=Array(i),o=0;o<i;o++)s[o]=arguments[o+2];r.children=s}return T(e.type,a,r)},n.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:u,_context:e},e},n.createElement=function(e,t,n){var r,a={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)N.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var o=Array(s),l=0;l<s;l++)o[l]=arguments[l+2];a.children=o}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return T(e,i,a)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:h,render:e}},n.isValidElement=A,n.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},n.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},n.startTransition=F,n.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},n.use=function(e){return _.H.use(e)},n.useActionState=function(e,t,n){return _.H.useActionState(e,t,n)},n.useCallback=function(e,t){return _.H.useCallback(e,t)},n.useContext=function(e){return _.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,t){return _.H.useDeferredValue(e,t)},n.useEffect=function(e,t){return _.H.useEffect(e,t)},n.useEffectEvent=function(e){return _.H.useEffectEvent(e)},n.useId=function(){return _.H.useId()},n.useImperativeHandle=function(e,t,n){return _.H.useImperativeHandle(e,t,n)},n.useInsertionEffect=function(e,t){return _.H.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return _.H.useLayoutEffect(e,t)},n.useMemo=function(e,t){return _.H.useMemo(e,t)},n.useOptimistic=function(e,t){return _.H.useOptimistic(e,t)},n.useReducer=function(e,t,n){return _.H.useReducer(e,t,n)},n.useRef=function(e){return _.H.useRef(e)},n.useState=function(e){return _.H.useState(e)},n.useSyncExternalStore=function(e,t,n){return _.H.useSyncExternalStore(e,t,n)},n.useTransition=function(){return _.H.useTransition()},n.version="19.3.0"},91788,(e,t,n)=>{"use strict";e.i(50461),t.exports=e.r(61556)},92237,(e,t,n)=>{var r=e.i(50461);e.r(17358);var a=e.r(91788),i=a&&"object"==typeof a&&"default"in a?a:{default:a},s=void 0!==r.default&&r.default.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,a=t.optimizeForSpeed,i=void 0===a?s:a;u(o(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",u("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
17Sheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(u(o(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var n="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];u(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"u">
17typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&u(o(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return n?a.insertBefore(r,n):a.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},h={};function d(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return h[r]||(h[r]="jsx-"+c(e+"-"+n)),h[r]}function p(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return h[n]||(h[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),h[n]}var f=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,a=t.optimizeForSpeed,i=void 0!==a&&a;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),r&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,a=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var i=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=i,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var a=d(r,n);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return p(a,e)}):[p(a,t)]}}return{styleId:d(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),g=a.createContext(null);function m(){return new f}function y(){return a.useContext(g)}g.displayName="StyleSheetContext";var v=i.default.useInsertionEffect||i.default.useLayoutEffect,x="u">typeof window?m():void 0;function b(e){var t=x||y();return t&&("u"<typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},n.StyleRegistry=function(e){var t=e.registry,n=e.children,r=a.useContext(g),s=a.useState(function(){return r||t||m()})[0];return i.default.createElement(g.Provider,{value:s},n)},n.createStyleRegistry=m,n.style=b,n.useStyleRegistry=y},45246,(e,t,n)=>{t.exports=e.r(92237).style},58822,(e,t,n)=>
17{!function(r,a){if("function"==typeof define&&define.amd){let r;void 0!==(r=a(e.r,n,t))&&e.v(r)}else t.exports=a()}(e.e,function(){var e,t,n,r={};r.version="0.2.0";var a=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function i(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=i(e,a.minimum,1))?null:e;var n=r.render(!t),l=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,s(function(t){var i,s,h,d;""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),o(l,(i=e,s=u,h=c,(d="translate3d"===a.positionUsing?{transform:"translate3d("+(-1+i)*100+"%,0,0)"}:"translate"===a.positionUsing?{transform:"translate("+(-1+i)*100+"%,0)"}:{"margin-left":(-1+i)*100+"%"}).transition="all "+s+"ms "+h,d)),1===e?(o(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){o(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*i(Math.random()*t,.1,.95)),t=i(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,i=t.querySelector(a.barSelector),s=e?"-100":(-1+(r.status||0))*100,l=document.querySelector(a.parent);return o(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&d(n),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){var i;r=t[i=(i=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[i]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+i)in n)return r;return t}(i)),n.style[r]=a}return function(e,t){var r,a,i=arguments;if(2==i.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,i[1],i[2])}}();function l(e,t){return("string"==typeof e?e:h(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=h(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=h(e);l(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function h(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})},59355,e=>{"use strict";var t,n,r=e.i(91398),a=e.i(44674),i=e.i(58678),s=e.i(3828),o=e.i(91788),l=e.i(22768),u=e.i(33115),c=e.i(56206),h=e.i(25185),d=((t=d||{})[t.NoInteraction=0]="NoInteraction",t[t.WaitingForExtended=1]="WaitingForExtended",t[t.Done=2]="Done",t),p=((n=p||{})[n.Positive=0]="Positive",n[n.Neutral=1]="Neutral",n[n.Negative=2]="Negative",n);function f({isSelected:e,isDisabled:t,onClick:n,emoji:a}
17){return(0,r.jsx)("button",{className:(0,c.default)("border rounded p-1 text-xl border-gray-200 bg-white hover:border-gray-300 hover:bg-gray-50 font-[sans-serif]",e&&"border-primary-bg-soft-border bg-primary-bg-soft-bg"),type:"button",onClick:()=>n(),disabled:t,children:a})}function g(){let e=localStorage.getItem("articleFeedback.anonymousUserId");return e||(e="anonymous_"+Math.random().toString(36).substring(2)+Math.random().toString(36).substring(2),localStorage.setItem("articleFeedback.anonymousUserId",e)),e}function m({articleId:e,articleContentId:t,tenant:{texts:n,feedback:a,projectId:i,projectCode:s}}){let[l,u]=(0,o.useState)(0),[c,d]=(0,o.useState)(null),[p,y]=(0,o.useState)("");function v(n){0===n?u(2):u(1),d(n);try{(0,h.postJsonAsync)("/api/internal/articles/feedback",{articleId:e.toString(),articleContentId:t.toString(),projectId:i.toString(),projectCode:s,rating:0===n?1:2===n?-1:0,anonymousUserId:g()}).catch(e=>console.error(e))}catch(e){console.error(e)}}return(0,r.jsxs)("div",{className:"flex flex-col items-center py-10 my-10 gap-3 border-t border-gray-200",children:[(0,r.jsx)("h2",{className:"text-xl font-bold text-center text-gray-700",children:n.articleFeedbackTitle}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(f,{emoji:a.positiveEmoji,isSelected:0===c,onClick:()=>v(0)}),(0,r.jsx)(f,{emoji:a.neutralEmoji,isSelected:1===c,onClick:()=>v(1)}),(0,r.jsx)(f,{emoji:a.negativeEmoji,isSelected:2===c,onClick:()=>v(2)})]}),1===l&&(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,r.jsx)("p",{className:"text-xs text-gray-600 font-medium",children:n.articleFeedbackAdditionalQuestion}),(0,r.jsx)("textarea",{className:"w-80 p-2 border rounded border-gray-200 text-sm placeholder:text-gray-400 bg-white",placeholder:n.articleFeedbackAdditionalQuestionPlaceholder,value:p,onChange:e=>y(e.target.value)}),(0,r.jsx)("button",{type:"button",className:"border border-gray-200 p-2 rounded font-bold text-sm bg-white hover:border-gray-300 hover:bg-gray-50",onClick:function(){u(2);let n=p.trim();if(n.length>0)try{(0,h.postJsonAsync)("/api/internal/articles/feedback",{articleId:e.toString(),articleContentId:t.toString(),projectId:i.toString(),projectCode:s,text:n,anonymousUserId:g()}).catch(e=>console.error(e))}catch(e){console.error(e)}},children:n.articleFeedbackAdditionalQuestionSubmitButton})]}),2===l&&(0,r.jsx)("div",{className:"text-xs font-medium text-gray-600",children:n.articleFeedbackThankYouMessage})]})}var y=e.i(37632),v=e.i(12879),x=e.i(73830),b=e.i(19168),E=e.i(44429),S=e.i(21326),w=e.i(3115),j=e.i(13103);let C=["H2","H3","H4","H5","H6","H7"],k=!1,_=(0,a.withSuperJSONPage)(function(t){let[n,a]=(0,o.useState)(null),c=(0,o.useRef)(null),h=(0,s.useRouter)(),d=(0,y.useLightbox)(),p="1"==h.query.embed,f="1"==h.query.nonav;(0,E.removeQueryParamsFromRouter)(h,["r","lang_selector"]);let g=(0,S.default)(t.allCategories),_=(0,o.useMemo)(()=>({__html:(0,j.wrapImgWithSpan)(t.articleContent.content)}),[t.articleContent.content]),N=(0,o.useMemo)(()=>{let e=t.articleContent.lastUpdatedAt;if(!e)return null;let n=new Date(e);return isNaN(n.getTime())?null:new Intl.DateTimeFormat(t.tenant.currentLocale,{dateStyle:"short",timeStyle:"short"}).format(n)},[t.articleContent.lastUpdatedAt,t.tenant.currentLocale]);return(0,o.useEffect)(()=>{e.A(81474).then(e=>{e.default.highlightAll()})},[t.articleContent.id]),(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>{let e=c.current;if(e){try{let t=Array.from(e.querySelectorAll(C.join(",")));t.forEach(e=>{e.setAttribute("id",(e.textContent||"").toLowerCase().replaceAll(" ","-").replaceAll("#","-")),e.classList.add("hashed-header")}),function(e){let t=document.createElement("div"),n="";for(let r of(k&&document.contains(t)||(t.id="hash-btn",t.textContent="#",t.addEventListener("click",()=>{window.location.hash=n}),k=!0),e))r.addEventListener("mouseenter",e=>{let r=e.target;r&&r.classList&&r.classList.contains("hashed-header")&&(t.style.top="2px",t.style.left="-40px",t.style.display="flex",n=r.id,r.appendChild(t))},{passive:!0}),r.addEventListener("mouseleave",e=>{t.style.display="none",t.remove(),n=""})}(t),window?.location?.hash&&setTimeout(()=>{try{let e=decodeURIComponent(window.location.hash.slice(1)),t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})}catch(e){}},100)}catch(e){}
17try{Array.from(e.querySelectorAll("img")).forEach(e=>{e.dataset.lghtb="true"})}catch(e){}}});return()=>cancelAnimationFrame(e)},[t.articleContent.id]),(0,r.jsxs)(x.KbContext.Provider,{value:{allArticles:t.allArticles,allCategories:t.allCategories,treelizedCategories:g},children:[(0,r.jsxs)(i.default,{children:[(0,r.jsx)("title",{children:`${Array.isArray(t.articleContent.title)?t.articleContent.title.join(" "):t.articleContent.title} - ${t.tenant.title}`}),(0,r.jsx)("link",{rel:"icon",type:"image/png",href:(0,b.getFileUrl)(t.tenant.icons.favIconFileId)}),t.canonical?.usingCustomDomain&&(0,r.jsx)("link",{rel:"canonical",href:t.canonical?.canonicalUrl}),(0,r.jsx)("meta",{property:"og:image",content:(0,b.getFileUrl)(t.tenant.icons.logoFileId)}),t.articleContent.isHidden&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,r.jsxs)(v.SectionLayout,{isEmbed:p,children:[(0,r.jsx)("div",{className:"mt-10 kb-article-page",children:(0,r.jsxs)("div",{className:`${f?"":"content-grid"} w-full`,children:[!f&&(0,r.jsx)("div",{className:"h-full menu-column border-r border-r-slate-300 print-hide",children:(0,r.jsx)("div",{className:`fixed bottom-0 overflow-auto mb-10 z-20 ${!p?"top-[7rem]":"top-10"}`,children:(0,r.jsx)(u.ArticlesMenu,{categories:g,articles:t.allArticles,selectedArticleContent:t.articleContent})})}),(0,r.jsxs)("div",{className:"px-8 pr-10 kb-article-content-column",children:[(0,r.jsxs)("article",{className:`${"v2"===t.articleContent.version?"article-v2":"article ck-content"} shrink ${"v2"===t.articleContent.version&&t.articleContent.contentJson?"disable-code-styling":""}`,ref:e=>a(e),children:[(0,r.jsx)("h1",{className:"font-extrabold text-4xl mb-5",children:t.articleContent.title}),t.articleContent.lead&&(0,r.jsx)("div",{className:"mt-2 text-lg text-slate-500",children:t.articleContent.lead}),"v2"===t.articleContent.version&&t.articleContent.contentJson?(0,r.jsx)("div",{className:"prose-kb",ref:c,dangerouslySetInnerHTML:_},"article-content"):(0,r.jsx)("div",{ref:c,dangerouslySetInnerHTML:_},"article-content")]}),N&&t.tenant.articleDisplay.showLastUpdated&&(0,r.jsxs)("div",{className:"mt-10 text-sm text-gray-500 text-center",children:[t.tenant.texts.articleLastUpdatedText,": ",N]}),t.tenant.feedback.enabled&&(0,r.jsx)("div",{className:"print-hide",children:(0,r.jsx)(m,{tenant:t.tenant,articleId:t.articleContent.articleId,articleContentId:t.articleContent.id},t.articleContent.id.toString())})]}),!f&&(0,r.jsx)("div",{className:"border-l border--slate-300 menu-column abstract-column print-hide",children:(0,r.jsx)("div",{className:"fixed bottom-0 top-[8rem] overflow-auto pr-4 mb-10 z-20",children:(0,r.jsx)(l.ArticleNavigation,{articleDom:n,contentId:t.articleContent.id},t.articleContent.id.toString())})})]})}),d]}),(0,r.jsx)(w.Footer,{slugs:t.articleContent.slugs})]})});e.s(["__N_SSP",0,!0,"default",0,_],59355)},27994,(e,t,n)=>{let r="/[language]/article/[...slug]";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(59355)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},25185,e=>{"use strict";async function t(e,t){let r=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)});await n(r);let a=await r.text();try{return JSON.parse(a)}catch(e){return null}}async function n(e){if(401===e.status||403==e.status)throw Error("Unauthorised");if(400===e.status){var t="";try{(t=await e.text())&&""!=t||(t="Failed to process")}catch{t="Failed to process"}throw Error(t)}if(200!==e.status&&201!==e.status&&202!==e.status&&203!==e.status)throw Error("Failed to process")}async function r(e,t){let r=await fetch(e,{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)});await n(r);let a=await r.text();try{return JSON.parse(a)}catch(e){return null}}async function a(e){let t=await fetch(e,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});return await n(t),await t.json()}async function i(e){let t=await fetch(e,{method:"DELETE",headers:{Accept:"application/json","Content-Type":"application/json"}}),r=await t.text();await n(t);try{return JSON.parse(r)}catch(e){return null}}e.s(["deleteAsync",0,i,"getJsonAsync",0,a,"postJsonAsync",0,t,"putJsonAsync",0,r])},48101,(e,t,n)=>{t.exports={aa:"Afaraf",ab:"ÐÒ§ÑÑа",af:"Afrikaans",ak:"Akan",am:"á ááá",ar:"Ø§ÙØ¹Ø±Ø¨ÙØ©",an:"Aragonés",as:"à¦
সমà§à¦¯à¦¼à¦¾",av:"Ð°Ð²Ð°Ñ Ð¼Ð°ÑÓ",ay:"aymar aru",az:"azÉrbaycan dili",ba:"баÑҡоÑÑ Ñеле",be:"белаÑÑÑÐºÐ°Ñ Ð¼Ð¾Ð²Ð°",bg:"бÑлгаÑÑки език",bh:"à¤à¥à¤à¤ªà¥à¤°à¥",bi:"Bislama",bm:"bamanankan",bn:"বাà¦à¦²à¦¾",bo:"à½à½¼à½à¼à½¡à½²à½",br:"brezhoneg",bs:"bosanski jezik",ca:"català ",ce:"ноÑ
Ñийн моÑÑ",ch:"Chamoru",co:"corsu",cr:"áá¦ááááá£",cs:"ÄeÅ¡tina",cu:"ѩзÑÐºÑ ÑловѣнÑÑкÑ",cv:"ÑÓÐ²Ð°Ñ ÑÓлÑ
и",cy:"Cymraeg",da:"Dansk",de:"Deutsch",dv:"ÞÞ¨ÞÞ¬ÞÞ¨",dz:"རྫོà½à¼à½",ee:"EÊegbe",el:"Îλληνικά",en:"English",eo:"Esperanto",es:"Español",et:"eesti",eu:"euskara",fa:"ÙØ§Ø±Ø³Û",ff:"Fulfulde",fi:"suomi",fil:"Filipino",fj:"vosa Vakaviti",fo:"Føroyskt",fr:"Français",fy:"Frysk",ga:"Gaeilge",gd:"Gà idhlig",gl:"galego",gn:"Avañe'ẽ",gu:"àªà«àªàª°àª¾àª¤à«",gv:"Gaelg",ha:"ÙÙÙÙØ³Ù",he:"×¢×ר×ת",hi:"हिनà¥à¤¦à¥",ho:"Hiri Motu",hr:"Hrvatski",ht:"Kreyòl ayisyen",hu:"Magyar",hy:"ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶",hz:"Otjiherero",ia:"Interlingua",id:"Bahasa Indonesia",ie:"Interlingue",ig:"Asụsụ Igbo",ii:"êê ê¿ Nuosuhxop",ik:"Iñupiaq",i
17o:"Ido",is:"Ãslenska",it:"Italiano",iu:"áááááá¦",ja:"æ¥æ¬èª",jv:"basa Jawa",ka:"á¥áá áá£áá",kg:"KiKongo",ki:"GÄ©kÅ©yÅ©",kj:"Kuanyama",kk:"ÒÐ°Ð·Ð°Ò ÑÑлÑ",kl:"kalaallisut",km:"ááááá",kn:"à²à²¨à³à²¨à²¡",ko:"íêµì´",kr:"Kanuri",ks:"à¤à¤¶à¥à¤®à¥à¤°à¥",ku:"Kurdî",kv:"коми кÑв",kw:"Kernewek",ky:"ÐÑÑгÑзÑа",la:"latine",lb:"Lëtzebuergesch",lg:"Luganda",li:"Limburgs",ln:"Lingála",lo:"àºàº²àºªàº²àº¥àº²àº§",lt:"lietuvių kalba",lu:"Tshiluba",lv:"latvieÅ¡u valoda",mg:"Malagasy",mh:"Kajin M̧ajeļ",mi:"te reo MÄori",mk:"македонÑки Ñазик",ml:"മലയാളà´",mn:"монгол",mr:"मराठà¥",ms:"Bahasa Melayu",mt:"Malti",my:"ááá¬á
á¬",na:"EkakairÅ© Naoero",nb:"Norsk bokmÃ¥l",nd:"isiNdebele",ne:"नà¥à¤ªà¤¾à¤²à¥",ng:"Owambo",nl:"Nederlands",nn:"Norsk nynorsk",no:"Norsk",nr:"isiNdebele",nv:"Diné bizaad",ny:"chiCheŵa",oc:"occitan",oj:"ááááá¯á§áá",om:"Afaan Oromoo",or:"à¬à¬¡à¬¼à¬¿à¬",os:"иÑон æвзаг",pa:"ਪੰà¨à¨¾à¨¬à©",pi:"पाऴि",pl:"polski",ps:"Ù¾ÚØªÙ",pt:"Português",qu:"Runa Simi",rm:"rumantsch grischun",rn:"Ikirundi",ro:"RomânÄ",ru:"Ð ÑÑÑкий",rw:"Ikinyarwanda",sa:"सà¤à¤¸à¥à¤à¥à¤¤à¤®à¥",sc:"sardu",sd:"सिनà¥à¤§à¥",se:"Davvisámegiella",sg:"yângâ tî sängö",si:"à·à·à¶à·à¶½",sk:"SlovenÄina",sl:"slovenÅ¡Äina",sm:"gagana fa'a Samoa",sn:"chiShona",so:"Soomaaliga",sq:"Shqip",sr:"ÑÑпÑки Ñезик",ss:"SiSwati",st:"Sesotho",su:"Basa Sunda",sv:"Svenska",sw:"Kiswahili",ta:"தமிழà¯",te:"à°¤à±à°²à±à°à±",tg:"Ñоҷикӣ",th:"à¹à¸à¸¢",ti:"áµááá",tk:"Türkmen",tl:"Tagalog",tn:"Setswana",to:"faka Tonga",tr:"Türkçe",ts:"Xitsonga",tt:"ÑаÑÐ°Ñ Ñеле",tw:"Twi",ty:"Reo Tahiti",ug:"UyÆ£urqÉ",uk:"УкÑаÑнÑÑка",ur:"اردÙ",uz:"OÊ»zbek",ve:"Tshivená¸a",vi:"Tiếng Viá»t",vo:"Volapük",wa:"walon",wo:"Wollof",xh:"isiXhosa",yi:"××Ö´××ש",yo:"Yorùbá",za:"Saɯ cueÅÆ
",zh:"䏿",zu:"isiZulu"}},3115,e=>{"use strict";var t=e.i(91398),n=e.i(58678),r=e.i(70409),a=e.i(91788),i=e.i(3828),s=e.i(13103),o=e.i(15891),l=e.i(56206),u=e.i(48101);let c=[{English:"Afar",alpha2:"aa"},{English:"Abkhazian",alpha2:"ab"},{English:"Avestan",alpha2:"ae"},{English:"Afrikaans",alpha2:"af"},{English:"Akan",alpha2:"ak"},{English:"Amharic",alpha2:"am"},{English:"Aragonese",alpha2:"an"},{English:"Arabic",alpha2:"ar"},{English:"Assamese",alpha2:"as"},{English:"Avaric",alpha2:"av"},{English:"Aymara",alpha2:"ay"},{English:"Azerbaijani",alpha2:"az"},{English:"Bashkir",alpha2:"ba"},{English:"Belarusian",alpha2:"be"},{English:"Bulgarian",alpha2:"bg"},{English:"Bihari languages",alpha2:"bh"},{English:"Bislama",alpha2:"bi"},{English:"Bambara",alpha2:"bm"},{English:"Bengali",alpha2:"bn"},{English:"Tibetan",alpha2:"bo"},{English:"Breton",alpha2:"br"},{English:"Bosnian",alpha2:"bs"},{English:"Catalan; Valencian",alpha2:"ca"},{English:"Chechen",alpha2:"ce"},{English:"Chamorro",alpha2:"ch"},{English:"Corsican",alpha2:"co"},{English:"Cree",alpha2:"cr"},{English:"Czech",alpha2:"cs"},{English:"Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic",alpha2:"cu"},{English:"Chuvash",alpha2:"cv"},{English:"Welsh",alpha2:"cy"},{English:"Danish",alpha2:"da"},{English:"German",alpha2:"de"},{English:"Divehi; Dhivehi; Maldivian",alpha2:"dv"},{English:"Dzongkha",alpha2:"dz"},{English:"Ewe",alpha2:"ee"},{English:"Greek, Modern (1453-)",alpha2:"el"},{English:"English",alpha2:"en"},{English:"Esperanto",alpha2:"eo"},{English:"Spanish; Castilian",alpha2:"es"},{English:"Estonian",alpha2:"et"},{English:"Basque",alpha2:"eu"},{English:"Persian",alpha2:"fa"},{English:"Fulah",alpha2:"ff"},{English:"Finnish",alpha2:"fi"},{English:"Fijian",alpha2:"fj"},{English:"Faroese",alpha2:"fo"},{English:"French",alpha2:"fr"},{English:"Western Frisian",alpha2:"fy"},{English:"Irish",alpha2:"ga"},{English:"Gaelic; Scottish Gaelic",alpha2:"gd"},{English:"Galician",alpha2:"gl"},{English:"Guarani",alpha2:"gn"},{English:"Gujarati",alpha2:"gu"},{English:"Manx",alpha2:"gv"},{English:"Hausa",alpha2:"ha"},{English:"Hebrew",alpha2:"he"},{English:"Hindi",alpha2:"hi"},{English:"Hiri Motu",alpha2:"ho"},{English:"Croatian",alpha2:"hr"},{English:"Haitian; Haitian Creole",alpha2:"ht"},{English:"Hungarian",alpha2:"hu"},{English:"Armenian",alpha2:"hy"},{English:"Herero",alpha2:"hz"},{English:"Interlingua (International Auxiliary Language Association)",alpha2:"ia"},{English:"Indonesian",alpha2:"id"},{English:"Interlingue; Occidental",alpha2:"ie"},{English:"Igbo",alpha2:"ig"},{English:"Sichuan Yi; Nuosu",alpha2:"ii"},{English:"Inupiaq",alpha2:"ik"},{English:"Ido",alpha2:"io"},{English:"Icelandic",alpha2:"is"},{English:"Italian",alpha2:"it"},{English:"Inuktitut",alpha2:"iu"},{English:"Japanese",alpha2:"ja"}
17,{English:"Javanese",alpha2:"jv"},{English:"Georgian",alpha2:"ka"},{English:"Kongo",alpha2:"kg"},{English:"Kikuyu; Gikuyu",alpha2:"ki"},{English:"Kuanyama; Kwanyama",alpha2:"kj"},{English:"Kazakh",alpha2:"kk"},{English:"Kalaallisut; Greenlandic",alpha2:"kl"},{English:"Central Khmer",alpha2:"km"},{English:"Kannada",alpha2:"kn"},{English:"Korean",alpha2:"ko"},{English:"Kanuri",alpha2:"kr"},{English:"Kashmiri",alpha2:"ks"},{English:"Kurdish",alpha2:"ku"},{English:"Komi",alpha2:"kv"},{English:"Cornish",alpha2:"kw"},{English:"Kirghiz; Kyrgyz",alpha2:"ky"},{English:"Latin",alpha2:"la"},{English:"Luxembourgish; Letzeburgesch",alpha2:"lb"},{English:"Ganda",alpha2:"lg"},{English:"Limburgan; Limburger; Limburgish",alpha2:"li"},{English:"Lingala",alpha2:"ln"},{English:"Lao",alpha2:"lo"},{English:"Lithuanian",alpha2:"lt"},{English:"Luba-Katanga",alpha2:"lu"},{English:"Latvian",alpha2:"lv"},{English:"Malagasy",alpha2:"mg"},{English:"Marshallese",alpha2:"mh"},{English:"Maori",alpha2:"mi"},{English:"Macedonian",alpha2:"mk"},{English:"Malayalam",alpha2:"ml"},{English:"Mongolian",alpha2:"mn"},{English:"Marathi",alpha2:"mr"},{English:"Malay",alpha2:"ms"},{English:"Maltese",alpha2:"mt"},{English:"Burmese",alpha2:"my"},{English:"Nauru",alpha2:"na"},{English:"Bokmål, Norwegian; Norwegian Bokmål",alpha2:"nb"},{English:"Ndebele, North; North Ndebele",alpha2:"nd"},{English:"Nepali",alpha2:"ne"},{English:"Ndonga",alpha2:"ng"},{English:"Dutch; Flemish",alpha2:"nl"},{English:"Norwegian Nynorsk; Nynorsk, Norwegian",alpha2:"nn"},{English:"Norwegian",alpha2:"no"},{English:"Ndebele, South; South Ndebele",alpha2:"nr"},{English:"Navajo; Navaho",alpha2:"nv"},{English:"Chichewa; Chewa; Nyanja",alpha2:"ny"},{English:"Occitan (post 1500); Provençal",alpha2:"oc"},{English:"Ojibwa",alpha2:"oj"},{English:"Oromo",alpha2:"om"},{English:"Oriya",alpha2:"or"},{English:"Ossetian; Ossetic",alpha2:"os"},{English:"Panjabi; Punjabi",alpha2:"pa"},{English:"Pali",alpha2:"pi"},{English:"Polish",alpha2:"pl"},{English:"Pushto; Pashto",alpha2:"ps"},{English:"Portuguese",alpha2:"pt"},{English:"Quechua",alpha2:"qu"},{English:"Romansh",alpha2:"rm"},{English:"Rundi",alpha2:"rn"},{English:"Romanian; Moldavian; Moldovan",alpha2:"ro"},{English:"Russian",alpha2:"ru"},{English:"Kinyarwanda",alpha2:"rw"},{English:"Sanskrit",alpha2:"sa"},{English:"Sardinian",alpha2:"sc"},{English:"Sindhi",alpha2:"sd"},{English:"Northern Sami",alpha2:"se"},{English:"Sango",alpha2:"sg"},{English:"Sinhala; Sinhalese",alpha2:"si"},{English:"Slovak",alpha2:"sk"},{English:"Slovenian",alpha2:"sl"},{English:"Samoan",alpha2:"sm"},{English:"Shona",alpha2:"sn"},{English:"Somali",alpha2:"so"},{English:"Albanian",alpha2:"sq"},{English:"Serbian",alpha2:"sr"},{English:"Swati",alpha2:"ss"},{English:"Sotho, Southern",alpha2:"st"},{English:"Sundanese",alpha2:"su"},{English:"Swedish",alpha2:"sv"},{English:"Swahili",alpha2:"sw"},{English:"Tamil",alpha2:"ta"},{English:"Telugu",alpha2:"te"},{English:"Tajik",alpha2:"tg"},{English:"Thai",alpha2:"th"},{English:"Tigrinya",alpha2:"ti"},{English:"Turkmen",alpha2:"tk"},{English:"Tagalog",alpha2:"tl"},{English:"Tswana",alpha2:"tn"},{English:"Tonga (Tonga Islands)",alpha2:"to"},{English:"Turkish",alpha2:"tr"},{English:"Tsonga",alpha2:"ts"},{English:"Tatar",alpha2:"tt"},{English:"Twi",alpha2:"tw"},{English:"Tahitian",alpha2:"ty"},{English:"Uighur; Uyghur",alpha2:"ug"},{English:"Ukrainian",alpha2:"uk"},{English:"Urdu",alpha2:"ur"},{English:"Uzbek",alpha2:"uz"},{English:"Venda",alpha2:"ve"},{English:"Vietnamese",alpha2:"vi"},{English:"Volapük",alpha2:"vo"},{English:"Walloon",alpha2:"wa"},{English:"Wolof",alpha2:"wo"},{English:"Xhosa",alpha2:"xh"},{English:"Yiddish",alpha2:"yi"},{English:"Yoruba",alpha2:"yo"},{English:"Zhuang; Chuang",alpha2:"za"},{English:"Chinese",alpha2:"zh"},{English:"Zulu",alpha2:"zu"}];function h(e){let t=e.toLowerCase().split("-")[0];return u.default[t]??c.filter(t=>t.alpha2==e.toLowerCase())[0]?.English??e}function d(e){let n=(0,o.useAppContext)(),r=(0,i.useRouter)(),s=n?.tenant?.currentLocale??"en",u=(0,a.useMemo)(()=>!!r?.pathname?.includes("/article-preview"),[]),c=(0,a.useCallback)(t=>{if(!t)return;let{pathname:n,asPath:a,query:i}=r,s="/";if(n.startsWith("/[language]")){let n=a.split("/");if(e.slugs){let r=e.slugs.find(e=>e.locale==t);r&&(n[3]=r.slug)}let r=`/${t}/${n.slice(2).join("/")}`,o=new URL(window.location.origin+r);for(let[e,t]of(o.searchParams.set("lang_selector","true"),Object.entries(i)))"language"!==e&&o.searchParams.set(e,t);
17s=o.pathname+o.search}r.push(s)},[r,e?.slugs]);return u?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("div",{className:"footer relative p-5 w-full mt-10 text-slate-300 z-10 kb-footer flex",children:(0,t.jsxs)("div",{className:"flex flex-col mx-auto items-center space-y-2",children:[n?.tenant?.supportedLanguages&&n.tenant.supportedLanguages.length>1&&(0,t.jsx)("div",{className:"bg-primary-text text-primary-bg flex flex-row space-x-2 mx-auto text-sm",children:(0,t.jsxs)("div",{className:"dropdown inline-block relative group cursor-pointer",children:[(0,t.jsxs)("div",{className:"flex flex-row space-x-2",children:[(0,t.jsx)("i",{className:(0,l.default)("fa-solid fa-earth-americas text-xl group-hover:drop-shadow-xl cursor-pointer","bg-primary-text opacity-70 group-hover:opacity-100 transition-all duration-500 rtl:ml-2")}),(0,t.jsx)("div",{className:"flex my-auto",children:h(s)})]}),(0,t.jsx)("ul",{className:(0,l.default)("dropdown-menu text-md absolute hidden ml-12 -mt-3","-translate-y-full -translate-x-1/2 rtl:translate-x-1/3 text-gray-700 pt-1 p-2 w-52","rounded-sm shadow-md z-10 bg-white"),children:n?.tenant?.supportedLanguages.filter(e=>null!=e).map((e,n)=>(0,t.jsx)("li",{className:"p-2 bg-white rounded-sm select-none cursor-pointer",children:(0,t.jsx)("a",{onClick:t=>{t.preventDefault(),c(e)},className:"hover:bg-gray-100 py-1 px-2 mx-auto block whitespace-no-wrap",children:(0,t.jsx)("span",{className:"flex truncate overflow-hidden break-all",children:h(e)})})},n))})]})}),(0,t.jsx)("div",{className:"mx-auto max-w-5xl flex flex-row items-center text-sm",children:(0,t.jsx)("a",{href:"https://productfruits.com",children:n?.tenant?.texts?.poweredByText||"Powered by Product Fruits"})})]})})}e.s(["Footer",0,d,"default",0,function({Component:e,pageProps:l}){let u=(0,i.useRouter)(),{asPath:c}=u,h=c.split("/"),p="article"!==h[2]&&"category"!==h[2];(0,a.useEffect)(()=>{let e=()=>{l.tenant?.scripts.onNavigate&&Function(l.tenant?.scripts.onNavigate)()};return u.events.on("routeChangeComplete",e),()=>{u.events.off("routeChangeComplete",e)}},[u?.events]),(0,a.useEffect)(()=>{if(!u.isReady||void 0===u.query.hmac)return;let e={...u.query};delete e.hmac,u.replace({pathname:u.pathname,query:e},void 0,{shallow:!0})},[u.isReady,u.query.hmac]);let f=` 18 html { 19 --primary-bg-color: ${l.tenant?.colors.primaryColor}; 20 } 21 `;return(0,t.jsx)(o.AppContext.Provider,{value:{tenant:l.tenant,auth:l.auth},children:(0,t.jsxs)("div",{className:"flex flex-col h-full",dir:(0,s.isRtlLanguage)(l&&l.tenant?l.tenant.currentLocale:"en")?"rtl":"ltr",children:[(0,t.jsxs)(n.default,{children:[(0,t.jsx)("style",{children:f}),l.tenant?.metaTags?.map(e=>(0,t.jsx)("meta",{name:e.name,content:e.content},e.name))]}),(0,t.jsx)(r.default,{color:"var(--primary-bg-color)",height:2,options:{showSpinner:!1}}),(0,t.jsx)("div",{className:"grow",children:(0,t.jsx)(e,{...l})}),p&&(0,t.jsx)(d,{}),(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:l.tenant?.scripts.body||""}})]})})}],3115)},44429,e=>{"use strict";e.s(["removeQueryParamsFromRouter",0,(e,t=[])=>{{let n=e.query;if(0==Object.keys(n).length)return;t.length>0&&Object.keys(n).some(e=>t.some(t=>t==e))&&(t.forEach(t=>{delete e.query[t]}),e.replace({pathname:e.pathname,query:n},void 0,{shallow:!0}))}}])},21326,e=>{"use strict";e.s(["default",0,function(e){let t={children:[],description:"",title:"",id:BigInt(0),icon:null,parentCategoryId:null,order:0,featuredOrder:0,isFeatured:!1,slug:"",slugs:[]};return function e(t,n){let r=n.id===BigInt(0)?null:n.id;for(let a of t.filter(e=>e.parentCategoryId==r)){let r={children:[],description:a.description,id:a.id,title:a.title,icon:null,parentCategoryId:a.parentCategoryId,order:a.order,featuredOrder:a.featuredOrder,isFeatured:a.isFeatured,isCollapsedByDefault:a.isCollapsedByDefault,slug:a.slug,slugs:a.slugs};n.children.push(r),e(t,r)}}(e,t),t.children}])}]);
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.