/home/bdqbpbxa/demo-subdomains/ping-proxies.goodface.com.ua/build/static/js/900.9920610a.chunk.js
"use strict";(self.webpackChunkping_proxies=self.webpackChunkping_proxies||[]).push([[900],{5285:(e,t,s)=>{s.d(t,{r:()=>a});var i,l,r=s(2791);function n(){return n=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},n.apply(this,arguments)}function c(e,t){let{title:s,titleId:c,...a}=e;return r.createElement("svg",n({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},a),s?r.createElement("title",{id:c},s):null,i||(i=r.createElement("g",{id:"CalendarBlank",clipPath:"url(#clip0_743_7244)"},r.createElement("path",{id:"Vector",d:"M9.625 0.4375V2.1875M4.375 0.4375V2.1875M1.3125 4.8125H12.6875M1.82955 1.3125H12.1705C12.456 1.3125 12.6875 1.54399 12.6875 1.82955V12.1705C12.6875 12.456 12.456 12.6875 12.1705 12.6875H1.82955C1.54399 12.6875 1.3125 12.456 1.3125 12.1705V1.82955C1.3125 1.54399 1.54399 1.3125 1.82955 1.3125Z",stroke:"#0D1126",strokeWidth:1.5,strokeLinecap:"square"}))),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_743_7244"},r.createElement("rect",{width:14,height:14,fill:"white"})))))}const a=r.forwardRef(c);s.p},5774:(e,t,s)=>{s.d(t,{r:()=>a});var i,l,r=s(2791);function n(){return n=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},n.apply(this,arguments)}function c(e,t){let{title:s,titleId:c,...a}=e;return r.createElement("svg",n({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},a),s?r.createElement("title",{id:c},s):null,i||(i=r.createElement("g",{id:"Clock",clipPath:"url(#clip0_743_7248)"},r.createElement("path",{id:"Vector",d:"M7.75 3.9375V3.1875H6.25V3.9375H7.75ZM7 7H6.25V7.75H7V7ZM10.0625 7.75H10.8125V6.25H10.0625V7.75ZM11.9375 7C11.9375 9.72691 9.72691 11.9375 7 11.9375V13.4375C10.5553 13.4375 13.4375 10.5553 13.4375 7H11.9375ZM7 11.9375C4.27309 11.9375 2.0625 9.72691 2.0625 7H0.5625C0.5625 10.5553 3.44467 13.4375 7 13.4375V11.9375ZM2.0625 7C2.0625 4.27309 4.27309 2.0625 7 2.0625V0.5625C3.44467 0.5625 0.5625 3.44467 0.5625 7H2.0625ZM7 2.0625C9.72691 2.0625 11.9375 4.27309 11.9375 7H13.4375C13.4375 3.44467 10.5553 0.5625 7 0.5625V2.0625ZM6.25 3.9375V7H7.75V3.9375H6.25ZM7 7.75H10.0625V6.25H7V7.75Z",fill:"#0D1126"}))),l||(l=r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_743_7248"},r.createElement("rect",{width:14,height:14,fill:"white"})))))}const a=r.forwardRef(c);s.p},2760:(e,t,s)=>{s.d(t,{Z:()=>a,r:()=>c});var i,l=s(2791);function r(){return r=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},r.apply(this,arguments)}function n(e,t){let{title:s,titleId:n,...c}=e;return l.createElement("svg",r({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":n},c),s?l.createElement("title",{id:n},s):null,i||(i=l.createElement("path",{id:"Vector",fillRule:"evenodd",clipRule:"evenodd",d:"M3.72335 5.59835C2.625 6.6967 2.625 8.46447 2.625 12C2.625 15.5355 2.625 17.3033 3.72335 18.4017C4.8217 19.5 6.58947 19.5 10.125 19.5H13.875C17.4105 19.5 19.1783 19.5 20.2766 18.4017C21.375 17.3033 21.375 15.5355 21.375 12C21.375 8.46447 21.375 6.6967 20.2766 5.59835C19.1783 4.5 17.4105 4.5 13.875 4.5H10.125C6.58947 4.5 4.8217 4.5 3.72335 5.59835ZM18.1652 7.79987C18.4138 8.09819 18.3734 8.54156 18.0751 8.79016L16.0159 10.5062C15.185 11.1986 14.5115 11.7599 13.917 12.1422C13.2978 12.5405 12.6948 12.7921 12 12.7921C11.3052 12.7921 10.7022 12.5405 10.083 12.1422C9.48855 11.7599 8.81504 11.1987 7.98408 10.5062L5.92487 8.79016C5.62655 8.54156 5.58624 8.09819 5.83484 7.79987C6.08344 7.50155 6.52681 7.46124 6.82513 7.70984L8.84909 9.39648C9.72374 10.1254 10.331 10.6298 10.8437 10.9595C11.3399 11.2787 11.6765 11.3858 12 11.3858C12.3235 11.3858 12.6601 11.2787 13.1563 10.9595C13.669 10.6298 14.2763 10.1254 15.1509 9.39648L17.1749 7.70984C17.4732 7.46124 17.9166 7.50155 18.1652 7.79987Z",fill:"white"})))}const c=l.forwardRef(n),a=s.p+"static/media/Letter.5b5d9766a4b3486f8bc331a1dc6132db.svg"},7236:(e,t,s)=>{s.d(t,{Z:()=>n});var i=s(8445),l=s(4420),r=s(184);const n=e=>{let{SideText:t,children:s}=e;const n=(0,l.v9)(i.Ju);return(0,r.jsx)("div",{className:"inner-container",children:(0,r.jsxs)("div",{className:"with-sidetext-layout",children:[(0,r.jsx)("div",{className:"with-sidetext-layout__left ".concat(n?"":"with-sidetext-layout__left--with-banner"),children:t}),(0,r.jsx)("div",{className:"with-sidetext-layout__right",children:s})]})})}},6401:(e,t,s)=>{s.d(t,{Z:()=>j});s(4829);var i=s(7815),l=s(3425),r=s(440),n=s(4112),c=s(1172),a=s(2791),o=s(4420),d=s(6713),h=s(2760),m=s(8883),p=s(1202),u=s(9813),v=s(6596),x=s(6393),b=s(184);const j=e=>{let{isLoading:t}=e;const s=(0,v.Z)("max-width: 768px"),{tag:j,title:g,description:_,email_placeholder:f,button_text:y,policy_text:w,success_title:C,success_description:N}=(0,o.v9)(d.tD),[Z,E]=(0,a.useState)(!1),[k,V]=(0,a.useState)(!0),[H,M]=(0,a.useState)(!0),[S,O]=(0,a.useState)({Email:"",termsCheck:!1}),B=(0,x.Z)({category:"User",action:"Submit Subscribe in Blog"}),R=(0,a.useRef)();return(0,c._7)({items:[".newsletter-subscriber h2",".newsletter-subscriber__desc",".input-container"],container:R,dependencies:[t]}),(0,c.zk)({items:[".newsletter-subscriber__bg"],container:R,dependencies:[t]}),(0,b.jsxs)("section",{ref:R,className:"container newsletter-subscriber ".concat(Z?"newsletter-subscriber-sent":""),children:[Z?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"newsletter-subscriber-label",children:(0,b.jsx)("img",{src:h.Z,alt:""})}),(0,b.jsx)("h2",{className:"h2",children:C}),(0,b.jsx)("div",{className:"body2 newsletter-subscriber__desc",children:N})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(i.Z,{text:j,type:"outline"}),(0,b.jsx)("h2",{className:"h2",children:g}),(0,b.jsx)("div",{className:"body2 newsletter-subscriber__desc",children:_}),(0,b.jsxs)("div",{className:"input-container",children:[(0,b.jsxs)("div",{className:"newsletter-subscriber__input",children:[(0,b.jsx)("input",{className:"input ".concat(k?"":"input--error"),type:"email",name:"Email",placeholder:f,value:S.Email,onChange:e=>{return t="Email",s=e.target.value,O((e=>({...e,[t]:s}))),void V(!0);var t,s}}),!k&&(0,b.jsx)("div",{className:"body3 error",children:"Incorrect value"})]}),(0,b.jsx)(l.Z,{type:"white",text:y,size:"L",hasArrow:!1,onClick:()=>{if(e=S.Email,!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return void V(!1);var e;if(!S.termsCheck)return void M(!1);B();const t={data:{email:S.Email}};(0,m.NS)({data:t}).then((e=>{E(!0)})).catch((e=>{console.error("Error:",e)})),E(!0)}})]}),(0,b.jsxs)("div",{className:"input-container",children:[(0,b.jsx)(r.Z,{id:"styledCheckbox",error:H,checked:S.termsCheck,onChange:e=>{O((t=>({...t,termsCheck:e}))),M(!0)}}),(0,b.jsx)("label",{htmlFor:"styledCheckbox",children:(0,b.jsx)("div",{className:"body4",children:(0,n.FB)(w)})})]})]}),(0,b.jsx)("img",{className:"newsletter-subscriber__bg",src:s?u.Z:p.Z,alt:""})]})}},395:(e,t,s)=>{s.d(t,{Z:()=>l});var i=s(184);const l=e=>{let{text:t,size:s="M"}=e;return(0,i.jsx)("div",{className:"tag tag--".concat(s),children:t})}},3900:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var i=s(2791),l=(s(6636),s(7689)),r=s(1087),n=s(7236),c=s(6401),a=s(4112),o=s(1172),d=s(4420),h=s(4278),m=s(184);const p=e=>{let{image:t,content:s}=e;const l=(0,d.v9)(h.BC),r=(0,i.useRef)();return(0,o._7)({items:[".post-body__main-image",".post-body p",".post-body h1",".post-body h2",".post-body h3",".post-body h4",".post-body h5",".post-body h6",".post-body ul",".post-body ol",".post-body blockquote"],container:r,dependencies:[l]}),(0,m.jsxs)("div",{ref:r,className:"post-body",children:[(0,m.jsx)("img",{className:"post-body__main-image",src:t,alt:""}),(0,m.jsx)("div",{children:(0,a.FB)(s)})]})};var u=s(5727),v=s(5285),x=s(5774),b=s(395);const j=e=>{var t;let{title:s,tags:l,createdAt:r,readTime:n}=e;const c=(0,a.E5)(r),p=(0,d.v9)(h.BC),j=(0,i.useRef)();return(0,o._7)({items:[".post-title-tags",".post-title h2",".post-title-info"],container:j,dependencies:[p]}),(0,m.jsxs)("section",{ref:j,className:"inner-container post-title",children:[(0,m.jsx)(u.Z,{page:s,blog:!0}),(0,m.jsx)("div",{className:"post-title-tags",children:null===l||void 0===l||null===(t=l.data)||void 0===t?void 0:t.map((e=>(0,m.jsx)(b.Z,{text:e.attributes.name},e.id)))}),(0,m.jsxs)("h2",{children:[s," "]}),(0,m.jsxs)("div",{className:"post-title-info",children:[(0,m.jsxs)("div",{className:"post-title-info-item",children:[(0,m.jsx)(v.r,{}),c]}),(0,m.jsxs)("div",{className:"post-title-info-item",children:[(0,m.jsx)(x.r,{}),n]})]})]})};var g=s(6596),_=s(4941);const f=()=>{const{title:e,posts:t}=(0,d.v9)(h.Uj),s=(0,d.v9)(h.BC),l=(0,i.useRef)();return(0,o._7)({items:[".post-related h2"],container:l,dependencies:[s]}),t?(0,m.jsxs)("section",{ref:l,className:"inner-container post-related",children:[(0,m.jsx)("h2",{children:e}),(0,m.jsx)(_.Z,{posts:t.data})]}):null};var y=s(6393),w=s(2664),C=s(3425);const N=()=>{const e=(0,d.I0)(),{postSlug:t}=(0,l.UO)(),s=(0,l.s0)(),u=(0,d.v9)(h.Y4);console.log(u);const v=(0,d.v9)(h.BC),x=(0,g.Z)("max-width: 1024px"),b=(0,i.useRef)();(0,o._7)({items:[".post-anchors",".post-product"],container:b,dependencies:[v]});const{title:_,time_to_read:N,createdAt:Z,image:E,tags:k,content:V,product_widgets:H}=u;(0,i.useEffect)((()=>{t&&e((0,h.o5)({postSlug:t}))}),[e,t]);const M=(0,y.Z)({category:"User",action:"Purchase Proxies"}),S=(0,a.Jn)(E),O=null===V||void 0===V?void 0:V.filter((e=>e.level));if(!v&&0===Object.keys(u).length)return s("*"),null;const B=()=>O&&(0,m.jsxs)("div",{ref:b,children:[!x&&(0,m.jsx)("div",{className:"post-anchors",children:O.map(((e,t)=>(0,m.jsxs)("div",{className:"post-anchors-item ".concat(0===t?"active":""),onClick:()=>(e=>{const t=document.querySelector(".post-body").querySelectorAll("h1, h2, h3, h4, h5, h6");document.querySelectorAll(".post-anchors-item").forEach((e=>{e.classList.remove("active")})),document.querySelector(".post-anchors-item:nth-child("+(e+1)+")").classList.add("active"),window.scrollTo({top:t[e].getBoundingClientRect().top+window.scrollY-100,behavior:"smooth"})})(t),children:[e.children[0].text,(0,m.jsx)("div",{className:"post-anchors-item__dot"})]},t)))}),H.map(((e,t)=>(0,m.jsxs)(r.rU,{to:e.button_link,className:"post-product",onClick:M,children:[(0,m.jsx)("div",{className:"post-product__icon",children:(0,m.jsx)("img",{src:(0,a.Jn)(e.image),alt:""})}),(0,m.jsx)("div",{className:"post-product__info",children:(0,m.jsx)("div",{className:"description2 post-product__info-title",children:e.title})}),(0,m.jsx)("div",{className:"post-product__body",children:(0,m.jsxs)("div",{className:"post-product__body-2",children:[(0,m.jsx)(w.Z,{color:e.color_list_icon,lists:e.lists}),(0,m.jsx)(C.Z,{text:e.button_text})]})})]},t)))]});return!v&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(j,{title:_,tags:k,createdAt:Z,readTime:N}),(0,m.jsx)(n.Z,{SideText:!x&&(0,m.jsx)(B,{}),children:(0,m.jsx)(p,{image:S,content:V})}),x&&(0,m.jsx)("div",{className:"inner-container",children:(0,m.jsx)(B,{})}),(0,m.jsx)(f,{}),(0,m.jsx)(c.Z,{isLoading:v})]})}},4941:(e,t,s)=>{s.d(t,{Z:()=>v});var i=s(2791),l=s(5285),r=s(5774),n=s(395),c=s(8155),a=s(4112),o=s(1087),d=s(184);const h=e=>{var t,s;let{data:i}=e;const{title:h,time_to_read:m,createdAt:p,image:u,tags:v,content:x,slug:b}=null===i||void 0===i?void 0:i.attributes,j=(0,a.Jn)(u),g=(0,a.E5)(p),_=null===x||void 0===x||null===(t=x.filter((e=>"paragraph"===e.type)))||void 0===t?void 0:t[0],f=_?[_]:[];return(0,d.jsx)("li",{className:"blog-post-item__li",children:(0,d.jsxs)(o.rU,{to:"".concat(c.Z.blog,"/").concat(b),className:"blog-post-item",children:[(0,d.jsx)("div",{className:"blog-post-item__image",children:(0,d.jsx)("img",{src:j,alt:""})}),(0,d.jsxs)("div",{className:"blog-post-item__body",children:[(0,d.jsx)("div",{className:"blog-post-item__body-tags",children:null===v||void 0===v||null===(s=v.data)||void 0===s?void 0:s.map((e=>{var t;return(0,d.jsx)(n.Z,{text:null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.name},e.id)}))}),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"description2",children:h}),(0,d.jsx)("div",{className:"body2 blog-post-item__body-desc",children:(0,a.FB)(f)})]}),(0,d.jsxs)("div",{className:"blog-post-item__body-info",children:[(0,d.jsxs)("div",{className:"blog-post-item__body-info-item",children:[(0,d.jsx)(l.r,{}),g]}),(0,d.jsxs)("div",{className:"blog-post-item__body-info-item",children:[(0,d.jsx)(r.r,{}),m]})]})]})]})})};var m=s(6713),p=s(4420),u=s(1172);const v=e=>{let{posts:t=[]}=e;const s=(0,p.v9)(m.Vq),l=(0,i.useRef)();return(0,u._7)({items:[".blog-post-item__li"],container:l,dependencies:[s]}),(0,d.jsx)("ul",{id:"blog-posts",ref:l,className:"blog-posts",children:null===t||void 0===t?void 0:t.map((e=>(0,d.jsx)(h,{data:e},e.id)))})}},6636:()=>{}}]);
//# sourceMappingURL=900.9920610a.chunk.js.map