/home/bdqbpbxa/rc-subdomains/ping-proxies-rc.goodface.com.ua/build/static/js/405.1f47d5ae.chunk.js
"use strict";(self.webpackChunkping_proxies=self.webpackChunkping_proxies||[]).push([[405],{5285:(e,t,s)=>{s.d(t,{r:()=>c});var i,n,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 a(e,t){let{title:s,titleId:a,...c}=e;return l.createElement("svg",r({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},c),s?l.createElement("title",{id:a},s):null,i||(i=l.createElement("g",{id:"CalendarBlank",clipPath:"url(#clip0_743_7244)"},l.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"}))),n||(n=l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_743_7244"},l.createElement("rect",{width:14,height:14,fill:"white"})))))}const c=l.forwardRef(a);s.p},5774:(e,t,s)=>{s.d(t,{r:()=>c});var i,n,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 a(e,t){let{title:s,titleId:a,...c}=e;return l.createElement("svg",r({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},c),s?l.createElement("title",{id:a},s):null,i||(i=l.createElement("g",{id:"Clock",clipPath:"url(#clip0_743_7248)"},l.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"}))),n||(n=l.createElement("defs",null,l.createElement("clipPath",{id:"clip0_743_7248"},l.createElement("rect",{width:14,height:14,fill:"white"})))))}const c=l.forwardRef(a);s.p},2760:(e,t,s)=>{s.d(t,{Z:()=>c,r:()=>a});var i,n=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 r(e,t){let{title:s,titleId:r,...a}=e;return n.createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},a),s?n.createElement("title",{id:r},s):null,i||(i=n.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 a=n.forwardRef(r),c=s.p+"static/media/Letter.5b5d9766a4b3486f8bc331a1dc6132db.svg"},6401:(e,t,s)=>{s.d(t,{Z:()=>x});s(4829);var i=s(7815),n=s(3425),l=s(440),r=s(4112),a=s(1172),c=s(2791),o=s(4420),d=s(6713),u=s(2760),h=s(8883),m=s(1202),v=s(9813),p=s(6596),b=s(6393),g=s(184);const x=e=>{let{isLoading:t}=e;const s=(0,p.Z)("max-width: 768px"),{tag:x,title:j,description:f,email_placeholder:_,button_text:C,policy_text:w,success_title:y,success_description:N}=(0,o.v9)(d.tD),[Z,E]=(0,c.useState)(!1),[V,k]=(0,c.useState)(!0),[H,M]=(0,c.useState)(!0),[O,S]=(0,c.useState)({Email:"",termsCheck:!1}),B=(0,b.Z)({category:"User",action:"Submit Subscribe in Blog"}),R=(0,c.useRef)();return(0,a._7)({items:[".newsletter-subscriber h2",".newsletter-subscriber__desc",".input-container"],container:R,dependencies:[t]}),(0,a.zk)({items:[".newsletter-subscriber__bg"],container:R,dependencies:[t]}),(0,g.jsxs)("section",{ref:R,className:"container newsletter-subscriber ".concat(Z?"newsletter-subscriber-sent":""),children:[Z?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"newsletter-subscriber-label",children:(0,g.jsx)("img",{src:u.Z,alt:""})}),(0,g.jsx)("h2",{className:"h2",children:y}),(0,g.jsx)("div",{className:"body2 newsletter-subscriber__desc",children:N})]}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(i.Z,{text:x,type:"outline"}),(0,g.jsx)("h2",{className:"h2",children:j}),(0,g.jsx)("div",{className:"body2 newsletter-subscriber__desc",children:f}),(0,g.jsxs)("div",{className:"input-container",children:[(0,g.jsxs)("div",{className:"newsletter-subscriber__input",children:[(0,g.jsx)("input",{className:"input ".concat(V?"":"input--error"),type:"email",name:"Email",placeholder:_,value:O.Email,onChange:e=>{return t="Email",s=e.target.value,S((e=>({...e,[t]:s}))),void k(!0);var t,s}}),!V&&(0,g.jsx)("div",{className:"body3 error",children:"Incorrect value"})]}),(0,g.jsx)(n.Z,{type:"white",text:C,size:"L",hasArrow:!1,onClick:()=>{if(e=O.Email,!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return void k(!1);var e;if(!O.termsCheck)return void M(!1);B();const t={data:{email:O.Email}};(0,h.NS)({data:t}).then((e=>{E(!0)})).catch((e=>{console.error("Error:",e)})),E(!0)}})]}),(0,g.jsxs)("div",{className:"input-container",children:[(0,g.jsx)(l.Z,{id:"styledCheckbox",error:H,checked:O.termsCheck,onChange:e=>{S((t=>({...t,termsCheck:e}))),M(!0)}}),(0,g.jsx)("label",{htmlFor:"styledCheckbox",children:(0,g.jsx)("div",{className:"body4",children:(0,r.FB)(w)})})]})]}),(0,g.jsx)("img",{className:"newsletter-subscriber__bg",src:s?v.Z:m.Z,alt:""})]})}},395:(e,t,s)=>{s.d(t,{Z:()=>n});var i=s(184);const n=e=>{let{text:t,size:s="M"}=e;return(0,i.jsx)("div",{className:"tag tag--".concat(s),children:t})}},4941:(e,t,s)=>{s.d(t,{Z:()=>p});var i=s(2791),n=s(5285),l=s(5774),r=s(395),a=s(8155),c=s(4112),o=s(1087),d=s(184);const u=e=>{var t,s,i;let{data:u}=e;const{title:h,time_to_read:m,createdAt:v,image:p,tags:b,contents:g,slug:x}=null===u||void 0===u?void 0:u.attributes,j=(0,c.Jn)(p),f=(0,c.E5)(v),_=null===g||void 0===g||null===(t=g.find((e=>"componetns.rich-editor"===e.__component)))||void 0===t||null===(s=t.content)||void 0===s?void 0:s.find((e=>"paragraph"===e.type)),C=_?[_]:[];return(0,d.jsx)("li",{className:"blog-post-item__li",children:(0,d.jsxs)(o.rU,{to:"".concat(a.Z.blog,"/").concat(x),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===b||void 0===b||null===(i=b.data)||void 0===i?void 0:i.map((e=>{var t;return(0,d.jsx)(r.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,c.FB)(C)})]}),(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)(n.r,{}),f]}),(0,d.jsxs)("div",{className:"blog-post-item__body-info-item",children:[(0,d.jsx)(l.r,{}),m]})]})]})]})})};var h=s(6713),m=s(4420),v=s(1172);const p=e=>{let{posts:t=[]}=e;const s=(0,m.v9)(h.Vq),n=(0,i.useRef)();return(0,v._7)({items:[".blog-post-item__li"],container:n,dependencies:[s]}),(0,d.jsx)("ul",{id:"blog-posts",ref:n,className:"blog-posts",children:null===t||void 0===t?void 0:t.map((e=>(0,d.jsx)(u,{data:e},e.id)))})}},9405:(e,t,s)=>{s.r(t),s.d(t,{default:()=>x});s(6636);var i=s(6401),n=s(6713),l=s(5727),r=s(4420),a=s(2791),c=s(1172),o=s(184);const d=e=>{let{title:t,desc:s}=e;const i=(0,r.v9)(n.Vq),d=(0,a.useRef)();return(0,c._7)({items:[".blog-title-section h1",".blog-title-section .body1"],container:d,dependencies:[i]}),(0,o.jsxs)("section",{ref:d,className:"inner-container blog-title-section",children:[(0,o.jsx)(l.Z,{page:"Blog"}),(0,o.jsx)("h1",{children:t}),(0,o.jsx)("div",{className:"body1",children:s})]})};var u=s(4278);const h=e=>{let{tags:t,selectedTag:s,onClick:i}=e;const l=(0,r.v9)(n.Vq),d=(0,a.useRef)();(0,c._7)({items:[".blog-filter"],container:d,dependencies:[l]});const u=e=>{let{tag:t}=e;return(0,o.jsx)("button",{onClick:()=>i(t),className:"blog__tag-button link ".concat(t===s?"active":""),children:t})};return(0,o.jsx)("div",{ref:d,children:(0,o.jsx)("div",{className:"blog-filter",children:t.map((e=>(0,o.jsx)(u,{tag:e},e)))})})};var m=s(8921),v=s(4941),p=s(4112),b=s(4270);const g="Show All",x=()=>{var e;const t=(0,r.I0)(),[s,n]=(0,a.useState)(g),[l,x]=(0,a.useState)(1),{title:j,description:f}=(0,r.v9)(u.Se),_=(0,r.v9)(u.Fg),C=(0,r.v9)(u.Vq),{data:w,meta:y}=(0,r.v9)(u.do),N=(0,r.v9)(u.Ki),Z=(0,a.useRef)();(0,c._7)({items:[".blog-pagination"],container:Z,dependencies:[C]});const E=null===y||void 0===y||null===(e=y.pagination)||void 0===e?void 0:e.pageCount,V=[g,..._];(0,a.useEffect)((()=>{t((0,u.i5)()),t((0,u.hU)())}),[t]),(0,a.useEffect)((()=>{t((0,u.T6)({page:l,type:s===g?null:s}))}),[t,l,s]);const k=(0,p.sM)(null===N||void 0===N?void 0:N.tags,"meta"),H=(0,p.sM)(null===N||void 0===N?void 0:N.tags,"title");return!C&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b.Z,{title:H?"".concat(H):j,meta:k}),(0,o.jsx)(d,{title:j,desc:f}),(0,o.jsxs)("div",{ref:Z,className:"inner-container",children:[(0,o.jsx)(h,{tags:V,selectedTag:s,onClick:e=>{n(e),x(1)}}),(0,o.jsx)(v.Z,{posts:w}),l>=1&&E>1?(0,o.jsx)("div",{className:"blog-pagination",children:(0,o.jsx)(m.Z,{count:E,page:l,onChange:(e,t)=>{x(t),(0,p.Qj)("blog-filter")},boundaryCount:1,hidePrevButton:1===l,hideNextButton:l===E})}):(0,o.jsx)(o.Fragment,{})]})," ",(0,o.jsx)(i.Z,{isLoading:C})]})}},6636:()=>{}}]);
//# sourceMappingURL=405.1f47d5ae.chunk.js.map
/**
* Note: This file may contain artifacts of previous malicious infection.
* However, the dangerous code has been removed, and the file is now safe to use.
*/