PageSourceSearch

https://www.cv.lv/_next/static/chunks/pages/update-language/[requestId]-a48bf92ce6680cbb.js

js cv.lv collected 2026-10-04 00:28:26 UTC 8,568 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6862],{52444:function(e,t,r){"use strict";r.d(t,{$u:function(){return y},Cp:function(){return f},Cr:function(){return T},D0:function(){return g},G3:function(){return D},Nz:function(){return E},OW:function(){return h},UK:function(){return I},Uk:function(){return v},X8:function(){return O},c6:function(){return m},eu:function(){return d},fO:function(){return b},fm:function(){return l},h8:function(){return p},ii:function(){return _},tR:function(){return j},us:function(){return S},vM:function(){return N}});r(69358),r(59749),r(38077),r(60228),r(81919),r(47522),r(99474);var n=r(59499),c=(r(34338),r(64043),r(9873),r(57267),r(18569)),s=r(55472),o=r(60921),u=r(29803);r(8089);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e,t,r){var n=(0,s.WT)("/authentication/password/change-password");return{types:[c.dl0,c.Pvb,c.H2e],promise:function(r){return r.post(n,{oldPassword:e,newPassword:t})},expectedErrors:["INVALID_CREDENTIALS"],afterSuccess:function(e){(0,o.s$)("changePassword.success.message")(e),r&&r()},afterFailure:function(e,t,r){var n=r.response,c=void 0===n?{}:n;c.data&&"INVALID_CREDENTIALS"===c.data.errorType&&(0,o.x2)("changePassword.error.INVALID_CREDENTIALS")(e)}}};function p(){var e=(0,s.WT)("/authentication/user/delete");return{types:[c.frt,c.uJD,c.qVx],promise:function(t){return t.delete(e)},afterSuccess:function(e){e((0,u.kS)())}}}var d=function(e,t,r){var n=(0,s.WT)("/authentication/user/name");return{types:[c._jw,c.nMv,c.N9R],promise:function(r){return r.post(n,{firstName:e,lastName:t})},afterSuccess:function(){return r&&r()}}},l=function(e){var t={};e&&(t={headers:(0,s.lJ)(e)});var r=(0,s.WT)("/authentication/admin/user/additional-data",e);return{types:[c.dJW,c.RHv,c.hG7],promise:function(e){return e.get(r,t)}}},h=function(e,t){var r=(0,s.WT)("/authentication/admin/user/phone");return{types:[c.MGX,c.Xx8,c.lCK],promise:function(t){return t.post(r,{phone:e})},afterSuccess:function(e){t&&t(),e(l())}}},m=function(e,t){var r=(0,s.WT)("/authentication/admin/user/photo");return{types:[c.yq0,c.VoW,c.PzY],promise:function(t){return t.post(r,{photo:e})},afterSuccess:function(e){t&&t(),e(l())}}},g=function(e,t){var r=(0,s.WT)("/authentication/user/language/".concat(e));return{types:[c.nrL,c.Idd,c.FVb],promise:function(e){return e.post(r)},afterSuccess:function(){return t&&t()}}},v=function(e,t,r){var n={headers:(0,s.lJ)(),"Accept-Language":t},u=(0,s.WT)("/authentication/email");return{types:[c.i0p,c.E8J,c.rkx],promise:function(t){return t.post(u,{email:e},n)},afterSuccess:function(e){(0,o.s$)("changeEmail.success.message")(e),r&&r()}}};function E(e,t){var r={headers:(0,s.lJ)(t)},n=(0,s.WT)("/authentication/email/".concat(e),t);return{types:[c.vbO,c.xVg,c.jgn],promise:function(e){return e.get(n,r)}}}function O(e){var t={headers:(0,s.lJ)(e)},r=(0,s.WT)("/authentication/user/password-exists",e);return{types:[c.izN,c.z$U,c.TOj],promise:function(e){return e.get(r,t)}}}function y(e){var t={headers:(0,s.lJ)(e)},r=(0,s.WT)("/authentication/user/methods",e);return{types:[c.Mf1,c.TYH,c.tR8],promise:function(e){return e.get(r,t)}}}function T(e,t,r,n){var u=e.split(" "),i=u[0].replace("+",""),f=u[1],p=(0,s.WT)("/authentication/mid/start-attach");return{types:[c.W99,c.DkB,c.jH7],promise:function(e){return e.post(p,{areaCode:i,phone:f,idCode:t,locale:r})},expectedErrors:["DUPLICATE_PHONE","DUPLICATE_ID_CODE","TIMEOUT","NOT_MID_CLIENT","USER_CANCELLED","SIGNATURE_HASH_MISMATCH","PHONE_ABSENT","DELIVERY_ERROR","SIM_ERROR"],afterSuccess:function(e,t,u){e(function(e,t,r){var n=(0,s.WT)("/authentication/mid/complete-attach"),u={headers:a(a({},(0,s.lJ)()),{},{"Accept-Language":r})};return{types:[c.Jed,c.qsV,c.Do],promise:function(t){return t.post(n,e,u)},expectedErrors:["TIMEOUT","NOT_MID_CLIENT","USER_CANCELLED","SIGNATURE_HASH_MISMATCH","PHONE_ABSENT","DELIVERY_ERROR","SIM_ERROR"],afterSuccess:function(r){r({type:c.i6P,result:e}),(0,o.s$)("midAttach.success.message")(r),t&&t()}}}(u.data,n,r))}}}function b(e,t){var r=(0,s.WT)("/authentication/user/attach-id-card");return{types:[c.ANN,c.zb5,c.cwd],promise:function(t){return t.post(r,e)},expectedErrors:["DUPLICATE_ID_CODE"],afterSuccess:function(e){(0,o.s$)("idCardAttach.success.message")(e),t&&t()},afterFailure:function(e,t,r){var n=r.response;(void 0===n?{}:n).data&&(0,o.x2)("registration.form.error.DUPLICATE_ID_CODE")(e)}}}function j(e){var t={headers:(0,s.lJ)(e)},r=(0,s.WT)("/employers-service/blocked",e);return{types:[c.i8i,c.$GZ,c.FKn],promise:function(e){return e.get(r,t)}}}function _(e,t,r,n){var o={headers:(0,s.lJ)(n)},u=(0,s.WT)("/employers-service/allowed?searchTerm=".concat(e,"&page=").concat(t,"&pageSize=").concat(r),n);return{types:[c.g8I,c.NZi,c.VgQ],promise:function(e){return e.get(u,o)}}}
1function D(e){var t=(0,s.WT)("/employers-service/blocked/add/".concat(e));return{types:[c.wqy,c.mDx,c.kEq],promise:function(e){return e.put(t)},employerId:e,afterSuccess:function(e){e((0,o.s$)("settings.blocked.added"))}}}function N(e){var t=(0,s.WT)("/employers-service/blocked/remove/".concat(e));return{types:[c.SIp,c.BDY,c.j9V],promise:function(e){return e.put(t)},employerId:e,afterSuccess:function(e){e((0,o.s$)("settings.blocked.removed"))}}}var S=function(e){var t={headers:(0,s.lJ)(e)},r=(0,s.WT)("/authentication/user-preferences/subscription",e);return{types:[c.DjC,c.zXS,c.DfE],promise:function(e){return e.get(r,t)}}},I=function(e){var t=(0,s.WT)("/authentication/user-preferences/subscription/update?activate=".concat(e));return{types:[c.CYb,c.XCb,c.KNC],promise:function(e){return e.post(t)},activate:e,afterSuccess:function(t){t((0,o.s$)("settings.spam.".concat(e?"enabled":"disabled")))}}}},21147:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return y}});r(69358),r(59749),r(38077),r(60228),r(81919),r(47522),r(99474);var n=r(59499),c=(r(67294),r(2664)),s=r(37808),o=r(9008),u=r.n(o),i=r(96253),a=r(21137),f=r(89373),p=r(52444),d=r(11163),l=r(97724),h=r(86896),m=r(70700),g=r(85893);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(e){return(0,g.jsx)("svg",E(E({},e),{},{children:(0,g.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,g.jsx)("circle",{cx:"24",cy:"24",r:"23",stroke:"#FFF",strokeWidth:"2"}),(0,g.jsxs)("g",{fill:"#FFF",children:[(0,g.jsx)("path",{d:"m14.42 23.647 8.165 8.166-1.414 1.414-8.165-8.165z"}),(0,g.jsx)("path",{d:"m36.142 18.257-14.97 14.97-1.347-1.347 14.97-14.97z"})]})]})}))};O.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48"};var y=!0;t.default=(0,c.$j)((function(e){return{settings:e.settings}}),{confirmNewEmail:p.Nz})((function(e){var t=(0,d.useRouter)(),r=(0,h.Z)(),n=e.settings,c=e.alma,o=t.query,p=o.requestId,v=o.iso;if(!p||!v)return(0,g.jsx)(m.default,{errorType:"RESOURCE_NOT_FOUND",statusCode:404});var E=n.error;return(0,g.jsxs)(a.Z,{alma:c,intl:r,error:E,children:[(0,g.jsx)(u(),{children:(0,g.jsx)("meta",{name:"description",content:r.formatMessage({id:"description.".concat((0,i.ge)()),defaultMessage:"CV-Online"})})}),(0,g.jsx)(f.Z,{children:(0,g.jsx)("div",{className:"confirm-language",children:(0,g.jsx)(l.Z,{visible:!0,children:(0,g.jsxs)("p",{children:[(0,g.jsx)(O,{})," ",(0,g.jsx)("br",{}),(0,g.jsx)(s.Z,{id:"language.preferences.updated"})]})})})})]})}))},78623:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/update-language/[requestId]",function(){return r(21147)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=78623,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.