PageSourceSearch

https://pickvisa.ru/_next/static/chunks/5350-4bfc3e5b571b9326.js

js pickvisa.ru collected 2026-10-08 15:26:35 UTC 15,219 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5350],{93162:function(e,n,t){var a,o,r;o=[],a=function(){"use strict";function n(e,n){return"undefined"==typeof n?n={autoBom:!1}:"object"!=typeof n&&(console.warn("Deprecated: Expected third argument to be a object"),n={autoBom:!n}),n.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function a(e,n,t){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){c(a.response,n,t)},a.onerror=function(){console.error("could not download file")},a.send()}function o(e){var n=new XMLHttpRequest;n.open("HEAD",e,!1);try{n.send()}catch(e){}return 200<=n.status&&299>=n.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(a){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof t.g&&t.g.global===t.g?t.g:void 0,i=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!i?function(e,n,t){var i=s.URL||s.webkitURL,c=document.createElement("a");n=n||e.name||"download",c.download=n,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?r(c):o(c.href)?a(e,n,t):r(c,c.target="_blank")):(c.href=i.createObjectURL(e),setTimeout((function(){i.revokeObjectURL(c.href)}),4e4),setTimeout((function(){r(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,s){if(t=t||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(n(e,s),t);else if(o(e))a(e,t,s);else{var i=document.createElement("a");i.href=e,i.target="_blank",setTimeout((function(){r(i)}))}}:function(e,n,t,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return a(e,n,t);var r="application/octet-stream"===e.type,c=/constructor/i.test(s.HTMLElement)||s.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||r&&c||i)&&"undefined"!=typeof FileReader){var d=new FileReader;d.onloadend=function(){var e=d.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},d.readAsDataURL(e)}else{var u=s.URL||s.webkitURL,f=u.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});s.saveAs=c.saveAs=c,e.exports=c},void 0===(r="function"===typeof a?a.apply(n,o):a)||(e.exports=r)},78283:function(e,n,t){"use strict";var a=t(26042),o=t(69396),r=t(85893),s=(t(67294),t(13446)),i=t.n(s),c=t(11382),l=t(50888),d=(0,r.jsx)(l.Z,{style:{fontSize:20},spin:!0});n.Z=function(e){return(0,r.jsx)(r.Fragment,{children:e.loading?(0,r.jsxs)("button",(0,o.Z)((0,a.Z)({},e),{className:i().container.concat(" ",e.selected_class?e.selected_class:"").concat(" ",i().disabled).concat(" ",e.className?e.className:""),children:[(0,r.jsx)("div",{className:i().loader,children:(0,r.jsx)(c.Z,{indicator:d,spinning:e.loading})}),e.children]})):(0,r.jsx)("button",(0,o.Z)((0,a.Z)({},e),{className:i().container.concat(" ",e.selected_class?e.selected_class:"").concat(" ",e.disabled?i().disabled:"").concat(" ",e.className?e.className:""),children:e.children}))})}},55724:function(e,n,t){"use strict";var a=t(26042),o=t(69396),r=t(85893),s=t(67294),i=t(64549),c=t.n(i),l=t(49093),d=t(41664),u=t.n(d);n.Z=function(e){var n=(0,s.useState)(""),t=n[0],i=n[1];return(0,s.useEffect)((function(){if(void 0!==e.valueparam){var n=(0,l.s)(e.rules,e.label,e.valueparam);n.status?i(""):i(n.message)}}),[e.valueparam]),(0,r.jsxs)("div",{className:c().container.concat(" ",e.customContainer?e.customContainer:""),children:[e.label&&(0,r.jsx)("label",{htmlFor:e.name,children:e.label}),(0,r.jsxs)("div",{className:c().input,children:[e.link&&(0,r.jsx)("div",{className:c().link,children:(0,r.jsx)(u(),{href:e.link?e.link:"/",children:e.link_text})}),e.leftIcon&&(0,r.jsx)("div",{className:c().leftIcon,children:e.leftIcon}),(0,r.jsx)("textarea",(0,o.Z)((0,a.Z)({name:e.name,rows:e.rows?e.rows:4,placeholder:e.placeholder?e.placeholder:e.label,value:void 0!==e.valueparam?e.valueparam:"",className:e.leftIcon&&c().leftIconInput},e),{children:void 0!==e.valueparam?e.valueparam:""}))]}),t&&(0,r.jsx)("span",{className:c().error,style:t?{visibility:"visible"}:{visibility:"hidden"},children:t||"Error"})]})}},28315:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var a=t(70603),o=t(85893),r=t(67294),s=t(3430),i=t.n(s),c=t(45605),l=t
1(12461),d=t(6507),u=t.n(d),f=t(82071),p=t(32553),_=(t(45789),t(70920)),m=t(78283),g=t(74248),v=null,h=null,x=function(e){var n=e.open,t=e.setOpen,s=e.setImage,i=e.takePictureKey,c=void 0===i?null:i,l=(0,a.Z)(r.useState(null),2),d=l[0],x=l[1],k=(0,g.$G)().t;(0,r.useEffect)((function(){n?j():v&&h&&(v.pause(),v.src="",h.getTracks().forEach((function(e){return e.stop()})))}),[n]);var j=function(){v=document.querySelector("#video");var e={video:{facingMode:"user"},audio:!1};navigator.mediaDevices.getUserMedia(e).then((function(e){v.srcObject=e,h=e}))};return(0,o.jsx)(f.Z,{open:n,visible:n,footer:null,title:k("step2_passport_take"),className:u().modalContainer,onCancel:function(){return t(!1)},children:(0,o.jsxs)(p.X2,{style:{padding:30},children:[(0,o.jsx)(p.JX,{xs:12,style:{textAlign:"center"},children:(0,o.jsx)("video",{id:"video",width:"350",height:"320",autoPlay:!0})}),(0,o.jsx)(p.JX,{xs:12,style:{textAlign:"center"},children:(0,o.jsx)("canvas",{id:"canvas",width:"350",height:"240",style:d?{display:"initial"}:{display:"none"}})}),(0,o.jsxs)(p.JX,{xs:12,style:{marginTop:20},children:[(0,o.jsx)(m.Z,{onClick:function(){canvas.getContext("2d").drawImage(v,0,0,canvas.width,canvas.height);var e=canvas.toDataURL("image/jpeg");x(e)},style:{marginBottom:20},children:k("step2_passport_take")}),d&&(0,o.jsx)(_.Z,{onClick:function(){d&&(t(!1),s(d,c))},children:k("step2_passport_accept")})]})]})})},k=t(25675),j=t.n(k),b=function(e){var n=e.title,t=e.defaultUrl,s=e.fieldKey,d=e.desc,u=e.handleChangeInput,f=r.useRef(null),p=(0,r.useState)(t),_=p[0],m=p[1],v=(0,r.useState)(t&&"pdf"===t.split(".").pop()),h=v[0],k=v[1],b=(0,a.Z)(r.useState(!1),2),w=b[0],y=b[1],P=(0,a.Z)(r.useState(""),2),T=P[0],M=P[1],C=(0,g.$G)().t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:i().formItem,children:[(0,o.jsxs)("div",{className:i().formLabel,children:[(0,o.jsx)("span",{children:n}),(0,o.jsx)(c.Z,{})]}),(0,o.jsxs)("div",{className:i().nationalIdCard,children:[(0,o.jsx)("div",{className:i().nationalIdCardImg,children:_?h?(0,o.jsx)("a",{href:_,target:"_blank",children:(0,o.jsx)(j(),{src:"/static/images/icons/pdf-icon.svg",alt:"pdf file",width:30,height:30})}):(0,o.jsx)("img",{src:_,alt:"passport img"}):(0,o.jsx)("img",{src:"/static/images/backgrounds/national-card.png",alt:"passport img"})}),(0,o.jsx)("input",{type:"file",ref:f,accept:"image/*, application/pdf",style:{display:"none"},onChange:function(e){var n=e.target.files[0];if(n.size>10587860)l.ZP.error("Please upload less than 10MB file!");else{"application/pdf"===n.type?k(!0):k(!1);var t=URL.createObjectURL(n);m(t),function(e){return new Promise((function(n,t){var a=new FileReader;a.readAsDataURL(e),a.onload=function(){return n(a.result)},a.onerror=function(e){return t(e)}}))}(n).then((function(e){u(T,e,d)})),f.current.value=null}}}),(0,o.jsxs)("div",{className:i().buttons,children:[(0,o.jsx)("button",{onClick:function(){return e=s,f.current.click(),void M(e);var e},children:C("step2_passport_upload")}),(0,o.jsx)("button",{onClick:function(){return e=s,y(!0),void M(e);var e},children:C("step2_passport_take")})]})]})]}),(0,o.jsx)(x,{open:w,setOpen:y,setImage:function(e,n){u(n,e,d),m(e)},takePictureKey:T})]})}},30607:function(e,n,t){"use strict";var a=t(26042),o=t(69396),r=t(85893);t(67294);n.Z=function(e){return(0,r.jsx)("svg",(0,o.Z)((0,a.Z)({width:11,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,r.jsx)("path",{d:"M1.25 12.25h9m-8.5-6.5 4 3.5 4-3.5m-4-5v8.5",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}))}},9627:function(e,n,t){"use strict";var a=t(85893),o=t(67294),r=t(41664),s=t.n(r),i=t(12461),c=t(82071),l=t(40309),d=t.n(l),u=t(55724),f=t(45789),p=t(82609),_=t(85296),m=t(32553);n.Z=function(e){var n=e.open,t=e.onClose,r=e.order,l=(0,o.useState)(""),g=l[0],v=l[1],h=(0,o.useState)(!1),x=h[0],k=h[1],j=(0,o.useState)(!1),b=j[0],w=j[1];return(0,a.jsx)(c.Z,{open:n,visible:n,footer:null,title:"Refund",className:d().modalContainer,onCancel:function(){return t(!1)},children:(0,a.jsx)("div",{className:d().modal,children:(0,a.jsx)(p.Z,{loading:b,children:(0,a.jsx)(m.W2,{children:(0,a.jsxs)(m.X2,{className:d().modalRow,children:[(0,a.jsx)(m.JX,{md:5,className:d().leftSide,children:(0,a.jsx)("img",{src:"/static/images/backgrounds/refund-popup-image.png"})}),(0,a.jsx)(m.JX,{md:7,children:(0,a.jsxs)("div",{className:d().container,children:[(0,a.jsx)("h4",{children:"Type the reason for the refund request."}),(0,a.jsx)(u.Z,{name:"description",rows:7,valueparam:g,onChange:function(e){return v(e.target.value)}}),(0,a.jsxs)("div",{className:d().checkbox,children:[(0,a.jsx)("input",{type:"checkbox",checked:x,onChange:function(e){return k(!x)}}),(0,a.jsxs)("span",{children:["Please read ",(0,a.jsx)(s(),{href:"/legal#privacy",children:"Refund policy"})," to proceed with refund."]})]}),(0,a.jsxs)(m.X2,{children:[(0,a.jsx)(m.JX,{children:(0,a.jsx)(f.Z,{selected_class:d().cancel,loading:b,onClick:t,children:"Cancel"})}),(0,a.jsx)(m.JX,{children:(0,a.jsx)(f.Z,{selected_class:d().submit,loading:b,onClick:function(){if(x){var e={currency:r.payment_details.currency,description:g};(0,_.$c)(r.id,e,(function(e){w(!1),i.ZP.success(e.data.message),t(!0),v(""),k(!1)}),(function(e){w(!1),e.response&&e.response.data&&e.response.data.message&&i.ZP.error(e.response.data.message.message),t(!0),v(""),k(!1)}))}},children:"Submit"})})]})]})})]})})})})})}}
1,85296:function(e,n,t){"use strict";t.d(n,{$c:function(){return u},GN:function(){return f},L$:function(){return p},Mi:function(){return s},N3:function(){return l},Vz:function(){return i},s9:function(){return d},vw:function(){return c}});var a=t(84325),o=t(12461),r=t(84669);function s(e,n,t){var s=(0,r.cF)("sessionId");return(0,a.c3)("/users/orders/form/steps/2?service_id=".concat(e),"get",null,n,(function(e){e.response&&e.response.data&&e.response.data.message&&o.ZP.error(e.response.data.message),t(e)}),s?{"Session-Id":s}:{})}function i(e,n,t){var s=(0,r.cF)("sessionId");return(0,a.c3)("/users/orders/form/session","post",e,n,(function(e){e.response&&e.response.data&&e.response.data.message&&e.response.data.message.error&&o.ZP.error(e.response.data.message.error),t(e)}),s?{"Session-Id":(0,r.cF)("sessionId")}:{})}function c(e,n,t,s){var i=(0,r.cF)("sessionId");return(0,a.c3)("/users/orders/form/".concat(e,"?order_type=").concat(n),"get",null,t,(function(e){s(e),o.ZP.error("Something went wrong. Please try again later.")}),i?{"Session-Id":i}:{})}function l(e,n,t){var s=(0,r.cF)("sessionId");return(0,a.c3)("/users/orders/".concat(e),"get",null,n,(function(e){t(e),o.ZP.error("Something went wrong. Please try again later.")}),s?{"Session-Id":s}:{})}function d(e,n,t,s,i){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,l=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],d=(0,r.cF)("sessionId"),u=(0,r.Ww)(),f={};return d&&(f["Session-Id"]=d),u&&(f["X-Pickvisa-Checkout-Success"]=!0,f["X-Pickvisa-Service-Fee"]=c),(0,a.c3)("/users/orders/form/".concat(e),"post",{submit:l,form_type:n,fields:t},s,(function(e){o.ZP.error("Something went wrong. Please try again later."),i(e)}),f)}function u(e,n,t,o){return(0,a.c3)("/users/orders/".concat(e,"/refund-request"),"post",n,t,(function(e){o(e)}))}function f(e,n,t){return(0,a.c3)("/users/orders/".concat(e,"/refund"),"get",null,n,(function(e){t(e)}))}function p(e,n,t){return(0,a.c3)("/users/orders/".concat(e,"/refund-request"),"get",null,n,(function(e){t(e)}))}},17991:function(e,n,t){"use strict";t.d(n,{a:function(){return s},q:function(){return i}});var a=t(84325),o=t(12461),r=t(17217);function s(e,n,t,s,i){var c=(0,r.cw)();return(0,a.c3)("/users/orders/visa-type","post",{travel_to:e,citizen_of:n,resident_of:t,currency:c,language:"ru"},(function(e){s(e.data)}),(function(e){e.response&&e.response.data&&e.response.data.message&&("string"===typeof e.response.data.message?o.ZP.error(e.response.data.message):o.ZP.error("No combination found")),i(e)}))}function i(e,n,t){return(0,a.c3)("/users/orders/".concat(e,"/download/visa"),"post",null,(function(e){n(e)}),(function(e){e.response&&e.response.data&&e.response.data.message&&o.ZP.error(e.response.data.message),t(e)}),{},!1,"blob")}},13446:function(e){e.exports={container:"DefaultButton_container___samn",loader:"DefaultButton_loader__IcaSF",disabled:"DefaultButton_disabled__By_t6"}},64549:function(e){e.exports={container:"SimpleTextArea_container__9SFqC",input:"SimpleTextArea_input__EzAei",link:"SimpleTextArea_link__yoo3r",error:"SimpleTextArea_error__SOFuv"}},3430:function(e){e.exports={formItem:"PassportUploadComponent_formItem__uTeRS",formLabel:"PassportUploadComponent_formLabel__W_dvF",nationalIdCard:"PassportUploadComponent_nationalIdCard__NA7UP",nationalIdCardImg:"PassportUploadComponent_nationalIdCardImg__TVJ6S",buttons:"PassportUploadComponent_buttons__0tblE"}},40309:function(e){e.exports={modalContainer:"RefundModal_modalContainer__ZKwyh",modal:"RefundModal_modal__eyYXy",container:"RefundModal_container__iDxMD",submit:"RefundModal_submit__J8uvL",cancel:"RefundModal_cancel__GaXgQ",registerLink:"RefundModal_registerLink__1HaoG",checkbox:"RefundModal_checkbox__aHrHq",modalRow:"RefundModal_modalRow__0Ynep",leftSide:"RefundModal_leftSide__SSOp1"}},6507:function(e){e.exports={modalContainer:"TakePictureModal_modalContainer__636dS",modal:"TakePictureModal_modal__9wDzW",modalTitle:"TakePictureModal_modalTitle__7qCfb",modalContent:"TakePictureModal_modalContent__Itu_G",noteTitle:"TakePictureModal_noteTitle__VQU81",noteDesc:"TakePictureModal_noteDesc__OFcyg",docList:"TakePictureModal_docList__0agGF",icon:"TakePictureModal_icon__1DRn8",modalIncrementor:"TakePictureModal_modalIncrementor__9mews",incrementor:"TakePictureModal_incrementor__f318F",incrementorTitle:"TakePictureModal_incrementorTitle__QcPln",increment:"TakePictureModal_increment__vGAR_",minus:"TakePictureModal_minus__knaGv",content:"TakePictureModal_content__suAob",res:"TakePictureModal_res__ktFol",plus:"TakePictureModal_plus__S5enY",modalPricing:"TakePictureModal_modalPricing__pM9CB",feeContainer:"TakePictureModal_feeContainer__qL2ON",feeTitle:"TakePictureModal_feeTitle__nq7mj",feeDesc:"TakePictureModal_feeDesc__S3qzV",feeAmount:"TakePictureModal_feeAmount___cRzw",pricingContainer:"TakePictureModal_pricingContainer__1p3A6",pricingDesc:"TakePictureModal_pricingDesc__rnzV3",pricingAmou
1nt:"TakePictureModal_pricingAmount__6u3k_",totalPricing:"TakePictureModal_totalPricing__J2nSw",btn:"TakePictureModal_btn__2s8Vk",outlinedBtn:"TakePictureModal_outlinedBtn__YnQZO"}}}]);

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.