1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6771,9975],{18342:function(n,e,t){var r=t(82729),i=t(85893),o=t(15861),l=t(41796),c=t(80822),s=t(98539),u=t(56682),a=t(67294);function d(){let n=(0,r._)(["\n display: inline;\n background: ",";\n"]);return d=function(){return n},n}let f=(0,s.ZP)(o.Z).withConfig({componentId:"sc-702c3f5c-0"})(d(),n=>{let{$bg:e}=n;return"linear-gradient(transparent 55%, ".concat(e," 0 92%, transparent 0)")}),m=n=>{let{title:e,children:t,variant:r="h1",fontSize:o,fontWeight:s="bold",colors:d={text:u.I.PRM_MAIN,line:(0,l.Fq)(u.I.SEC_MAIN,.25)},textAlign:m="start"}=n,[h,p]=(0,a.useState)(void 0),x=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var n;if(!x)return;let e=null==x?void 0:null===(n=x.current)||void 0===n?void 0:n.getClientRects();if(e){if(e.length>1){let n=null==o?void 0:o.toString().match(/^([\d.]+)(\D+)$/);if(n){let t=Number(n[1]),r=n[2];e.length>1?p(t-1+r):e.length>2?p(t-1.5+r):e.length>3&&p(t-2+r)}}else p(o?o.toString():void 0)}},[x,o]),(0,i.jsx)(c.Z,{mb:"2rem",textAlign:m,children:(0,i.jsxs)(f,{ref:x,variant:r,color:d.text,fontSize:h,fontWeight:s,$bg:d.line,children:[t,e]})})};e.Z=m},9975:function(n,e,t){t.r(e),t.d(e,{default:function(){return A}});var r=t(82729),i=t(85893),o=t(67294),l=t(49424),c=t(90579),s=t(37570),u=t(87462),a=t(8394),d=o.forwardRef(function(n,e){return o.createElement(a.r,(0,u.Z)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:e}),o.createElement("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2z"}))});d.displayName="Bookmark";var f=o.forwardRef(function(n,e){return o.createElement(a.r,(0,u.Z)({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},n,{ref:e}),o.createElement("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15-5-2.18L7 18V5h10v13z"}))});f.displayName="BookmarkBorder";var m=t(98539),h=t(56682),p=t(41796),x=t(98396);function g(){let n=(0,r._)(["\n scroll-margin-top: 250px;\n width: ",";\n border: ",";\n border-radius: 10px;\n overflow: hidden;\n font-size: 1.75rem;\n /* box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2); */\n"]);return g=function(){return n},n}function v(){let n=(0,r._)(["\n display: flex;\n align-items: center;\n gap: 1.5rem;\n padding: 1rem;\n font-size: 2rem;\n color: ",";\n cursor: pointer;\n\n ",";\n\n .question {\n flex: 1;\n }\n\n svg {\n width: 30px;\n height: 30px;\n flex-shrink: 0;\n }\n"]);return v=function(){return n},n}function w(){let n=(0,r._)(["\n padding: 2.5rem;\n"]);return w=function(){return n},n}let b=m.ZP.div.withConfig({componentId:"sc-fc243cd0-0"})(g(),n=>{let{$isScreenSmall:e}=n;return e?"100%":"60%"},n=>{let{$isActive:e}=n;return e?"3px solid ".concat(h.I.PRM_LIGHT):"1px dashed ".concat(h.I.BORDER)}),j=m.ZP.div.withConfig({componentId:"sc-fc243cd0-1"})(v(),h.I.PRM_MAIN,n=>{let{$isActive:e}=n;return e&&{backgroundColor:(0,p.Fq)(h.I.BORDER,.05),fontWeight:"bold"}}),I=m.ZP.div.withConfig({componentId:"sc-fc243cd0-2"})(w()),C=n=>{let{faq:e,index:t,activeIndex:r,setActiveIndex:u}=n,a=(0,x.Z)(h.r.breakpoints.down("md")),m=(0,o.useRef)(null),p=r===t,g=()=>{if(p){u(-1);return}u(t),setTimeout(()=>{m.current&&m.current.scrollIntoView({behavior:"smooth",block:"start"})},400)};return(0,i.jsxs)(b,{ref:m,$isActive:p,$isScreenSmall:a,children:[(0,i.jsxs)(j,{$isActive:p,onClick:g,children:[p?(0,i.jsx)(d,{}):(0,i.jsx)(f,{}),(0,i.jsx)("span",{className:"question",children:e.question}),(0,i.jsx)(l.Z,{isExpanded:p})]}),(0,i.jsx)(c.Z,{isActive:p,children:(0,i.jsx)(I,{children:(0,i.jsx)(s.Z,{content:e.answerHtml||""})})})]})};var A=C},76771:function(n,e,t){t.r(e);var r=t(82729),i=t(85893),o=t(67294),l=t(23589),c=t(74097),s=t(18342),u=t(9975),a=t(98539);function d(){let n=(0,r._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 2.5rem;\n padding: 2.5rem;\n"]);return d=function(){return n},n}let f=n=>{if(!n)return[];let e=new DOMParser,t=e.parseFromString(n,"text/html"),r=[],i=Array.from(t.body.children),o="",l=[];if(i.forEach(n=>{if("h1"===n.tagName.toLowerCase()){if(o){let n=l.map(n=>n.outerHTML).join("");r.push({question:o.trim(),answerHtml:n.trim()})}o=n.textContent||"",l=[]}else o&&l.push(n)}),o){let n=l.map(n=>n.outerHTML).join("");r.push({question:o.trim(),answerHtml:n.trim()})}return r},m=a.ZP.div.withConfig({componentId:"sc-82fad4e3-0"})(d()),h=n=>{let{slug:e}=n,{getContext:t}=(0,l.V)(),{data:r,isFetching:a,isError:d}=(0,c.C)({slug:e||"FAQ"}),[h,p]=(0,o.useState)([]),[x,g]=(0,o.useState)(-1);if((0,o.useEffect)(()=>
1{if(r){let n=f(r.content);p(n)}},[r]),a||d||!r){var v;return null===(v=t("FAQ-default-title"))||void 0===v||v[0],(0,i.jsx)(m,{})}return(0,i.jsxs)(m,{children:[(0,i.jsx)(s.Z,{title:r.title}),h.map((n,e)=>(0,i.jsx)(u.default,{faq:n,index:e,activeIndex:x,setActiveIndex:g},e))]})};e.default=h},74097:function(n,e,t){t.d(e,{C:function(){return c},S:function(){return l}});var r=t(64251),i=t(77837);let o=new r.G(["blogs"]),l=n=>{let{params:e}=n;return(0,i.a)(["blogs",e],()=>o.fetchAll({params:e}))},c=n=>{let{slug:e}=n;return(0,i.a)(["blogs",e],()=>o.fetchOne({keys:[e]}))}}}]);
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.