/home/bdqbpbxa/demo-subdomains/ping-proxies.goodface.com.ua/build/static/js/510.eb1ea44b.chunk.js
"use strict";(self.webpackChunkping_proxies=self.webpackChunkping_proxies||[]).push([[510],{7275:(e,t,s)=>{s.d(t,{r:()=>r});var i,n,a=s(2791);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i])}return e},l.apply(this,arguments)}function c(e,t){let{title:s,titleId:c,...r}=e;return a.createElement("svg",l({width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},r),s?a.createElement("title",{id:c},s):null,i||(i=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 10C3 9.44772 3.44772 9 4 9H16C16.5523 9 17 9.44772 17 10C17 10.5523 16.5523 11 16 11H4C3.44772 11 3 10.5523 3 10Z"})),n||(n=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3C10.5523 3 11 3.44772 11 4V16C11 16.5523 10.5523 17 10 17C9.44772 17 9 16.5523 9 16V4C9 3.44772 9.44772 3 10 3Z"})))}const r=a.forwardRef(c);s.p},7236:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(8445),n=s(4420),a=s(184);const l=e=>{let{SideText:t,children:s}=e;const l=(0,n.v9)(i.Ju);return(0,a.jsx)("div",{className:"inner-container",children:(0,a.jsxs)("div",{className:"with-sidetext-layout",children:[(0,a.jsx)("div",{className:"with-sidetext-layout__left ".concat(l?"":"with-sidetext-layout__left--with-banner"),children:t}),(0,a.jsx)("div",{className:"with-sidetext-layout__right",children:s})]})})}},6605:(e,t,s)=>{s.d(t,{Z:()=>p});var i=s(4270),n=s(2791),a=s(7275),l=s(4112),c=s(184);const r=e=>{let{item:t}=e;const{title:s,text:i}=t,[r,d]=(0,n.useState)(!1),o=(0,n.useRef)(null),[x,h]=(0,n.useState)("0px");return(0,c.jsxs)("div",{className:"faq-item ".concat(r?"--open":""),onClick:function(){d(!r),h(r?"0px":"".concat(o.current.scrollHeight,"px"))},children:[(0,c.jsxs)("div",{className:"faq-item__header ",children:[(0,c.jsx)("div",{className:"description2",children:s}),(0,c.jsx)("div",{className:"faq-item__header-cross",children:(0,c.jsx)(a.r,{})})]}),(0,c.jsx)("div",{ref:o,style:{maxHeight:"".concat(x)},className:"faq-item__body",children:i&&(0,c.jsx)("div",{className:"body2",children:(0,l.FB)(i)})})]})},d=e=>{let{questions:t}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.q,{script:[{type:"application/ld+json",innerHTML:JSON.stringify({"@context":"http://schema.org","@type":"FAQPage",mainEntity:t.map((e=>({"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:e.text}})))})}]}),(0,c.jsx)("div",{className:"faq-items",children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,c.jsx)(r,{item:e},t)))})]})};var o=s(3734),x=s(1087),h=s(6596);const p=e=>{let{sections:t,sideText:s}=e;const i=(0,h.Z)("max-width: 640px"),{help_link:n,title:a,help_link_text:l}=s;return(0,c.jsxs)("div",{className:"faq-section",children:[t&&t.map(((e,t)=>(0,c.jsxs)("div",{className:"faq-section-items",children:[e.tag&&(0,c.jsx)("div",{className:"body1",children:e.tag}),(0,c.jsx)(d,{questions:e.question})]},t))),i&&(0,c.jsxs)("div",{className:"faq-sidetext__stills",children:[(0,c.jsx)("div",{className:"body2",children:a}),(0,c.jsxs)(x.rU,{to:n,"aria-label":"Contact with us",className:"button-text",children:[(0,c.jsx)(o.r,{})," ",l]})]})]})}},4510:(e,t,s)=>{s.r(t),s.d(t,{default:()=>m});var i=s(5727),n=s(9074),a=s(7236),l=s(3734),c=s(1172),r=s(2791),d=s(4420),o=s(1087),x=s(2612),h=s(184);const p=e=>{let{data:t}=e;const{title:s,desc:i,button_link:n,button_text:a}=t,p=(0,r.useRef)(),u=(0,d.v9)(x.Q0);return(0,c._7)({items:[".faq-page__stills"],container:p,dependencies:[u]}),(0,h.jsx)("div",{ref:p,children:(0,h.jsxs)("div",{className:"faq-page__stills",children:[(0,h.jsx)("div",{className:"description2",children:s}),(0,h.jsx)("div",{className:"body2",children:i}),(0,h.jsxs)(o.rU,{to:n,className:"button-text",children:[(0,h.jsx)(l.r,{})," ",a]})]})})};var u=s(6605);const m=()=>{const e=(0,d.I0)(),t=(0,d.v9)(x.Q0),s=(0,d.v9)(x.IQ),l=(0,d.v9)(x.qi);(0,r.useEffect)((()=>{e((0,x.d7)())}),[e]);const o=(0,r.useRef)();if((0,c._7)({items:[".faq-page-title h1",".faq-page-title .body1",".faq-section-items"],container:o,dependencies:[t]}),!s)return null;const m={title:s.faq.help_title,desc:s.faq.help_text,button_text:s.faq.help_link_text,button_link:s.faq.help_link};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("section",{ref:o,className:"inner-container faq-page-title",children:[(0,h.jsx)(i.Z,{page:"FAQ"}),(0,h.jsx)("h1",{children:s.title}),(0,h.jsx)("div",{className:"body1",children:s.description})]}),(0,h.jsx)("section",{ref:o,children:(0,h.jsx)(a.Z,{SideText:(0,h.jsx)(p,{data:m}),children:(0,h.jsx)(u.Z,{sections:l,sideText:m})})}),(0,h.jsx)(n.Z,{cta:s.cta,isLoading:t})]})}}}]);
//# sourceMappingURL=510.eb1ea44b.chunk.js.map