PageSourceSearch

https://www.cv.lv/_next/static/chunks/pages/settings/[[...page]]-15ac2db394aa1f6f.js

js cv.lv collected 2026-10-04 00:28:21 UTC 71,166 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6327],{52444:function(e,t,n){"use strict";n.d(t,{$u:function(){return j},Cp:function(){return d},Cr:function(){return y},D0:function(){return m},G3:function(){return N},Nz:function(){return b},OW:function(){return x},UK:function(){return P},Uk:function(){return g},X8:function(){return _},c6:function(){return f},eu:function(){return p},fO:function(){return w},fm:function(){return u},h8:function(){return h},ii:function(){return k},tR:function(){return v},us:function(){return O},vM:function(){return Z}});n(69358),n(59749),n(38077),n(60228),n(81919),n(47522),n(99474);var a=n(59499),i=(n(34338),n(64043),n(9873),n(57267),n(18569)),s=n(55472),o=n(60921),c=n(29803);n(8089);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e,t,n){var a=(0,s.WT)("/authentication/password/change-password");return{types:[i.dl0,i.Pvb,i.H2e],promise:function(n){return n.post(a,{oldPassword:e,newPassword:t})},expectedErrors:["INVALID_CREDENTIALS"],afterSuccess:function(e){(0,o.s$)("changePassword.success.message")(e),n&&n()},afterFailure:function(e,t,n){var a=n.response,i=void 0===a?{}:a;i.data&&"INVALID_CREDENTIALS"===i.data.errorType&&(0,o.x2)("changePassword.error.INVALID_CREDENTIALS")(e)}}};function h(){var e=(0,s.WT)("/authentication/user/delete");return{types:[i.frt,i.uJD,i.qVx],promise:function(t){return t.delete(e)},afterSuccess:function(e){e((0,c.kS)())}}}var p=function(e,t,n){var a=(0,s.WT)("/authentication/user/name");return{types:[i._jw,i.nMv,i.N9R],promise:function(n){return n.post(a,{firstName:e,lastName:t})},afterSuccess:function(){return n&&n()}}},u=function(e){var t={};e&&(t={headers:(0,s.lJ)(e)});var n=(0,s.WT)("/authentication/admin/user/additional-data",e);return{types:[i.dJW,i.RHv,i.hG7],promise:function(e){return e.get(n,t)}}},x=function(e,t){var n=(0,s.WT)("/authentication/admin/user/phone");return{types:[i.MGX,i.Xx8,i.lCK],promise:function(t){return t.post(n,{phone:e})},afterSuccess:function(e){t&&t(),e(u())}}},f=function(e,t){var n=(0,s.WT)("/authentication/admin/user/photo");return{types:[i.yq0,i.VoW,i.PzY],promise:function(t){return t.post(n,{photo:e})},afterSuccess:function(e){t&&t(),e(u())}}},m=function(e,t){var n=(0,s.WT)("/authentication/user/language/".concat(e));return{types:[i.nrL,i.Idd,i.FVb],promise:function(e){return e.post(n)},afterSuccess:function(){return t&&t()}}},g=function(e,t,n){var a={headers:(0,s.lJ)(),"Accept-Language":t},c=(0,s.WT)("/authentication/email");return{types:[i.i0p,i.E8J,i.rkx],promise:function(t){return t.post(c,{email:e},a)},afterSuccess:function(e){(0,o.s$)("changeEmail.success.message")(e),n&&n()}}};function b(e,t){var n={headers:(0,s.lJ)(t)},a=(0,s.WT)("/authentication/email/".concat(e),t);return{types:[i.vbO,i.xVg,i.jgn],promise:function(e){return e.get(a,n)}}}function _(e){var t={headers:(0,s.lJ)(e)},n=(0,s.WT)("/authentication/user/password-exists",e);return{types:[i.izN,i.z$U,i.TOj],promise:function(e){return e.get(n,t)}}}function j(e){var t={headers:(0,s.lJ)(e)},n=(0,s.WT)("/authentication/user/methods",e);return{types:[i.Mf1,i.TYH,i.tR8],promise:function(e){return e.get(n,t)}}}function y(e,t,n,a){var c=e.split(" "),r=c[0].replace("+",""),d=c[1],h=(0,s.WT)("/authentication/mid/start-attach");return{types:[i.W99,i.DkB,i.jH7],promise:function(e){return e.post(h,{areaCode:r,phone:d,idCode:t,locale:n})},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,c){e(function(e,t,n){var a=(0,s.WT)("/authentication/mid/complete-attach"),c={headers:l(l({},(0,s.lJ)()),{},{"Accept-Language":n})};return{types:[i.Jed,i.qsV,i.Do],promise:function(t){return t.post(a,e,c)},expectedErrors:["TIMEOUT","NOT_MID_CLIENT","USER_CANCELLED","SIGNATURE_HASH_MISMATCH","PHONE_ABSENT","DELIVERY_ERROR","SIM_ERROR"],afterSuccess:function(n){n({type:i.i6P,result:e}),(0,o.s$)("midAttach.success.message")(n),t&&t()}}}(c.data,a,n))}}}function w(e,t){var n=(0,s.WT)("/authentication/user/attach-id-card");return{types:[i.ANN,i.zb5,i.cwd],promise:function(t){return t.post(n,e)},expectedErrors:["DUPLICATE_ID_CODE"],afterSuccess:function(e){(0,o.s$)("idCardAttach.success.message")(e),t&&t()},afterFailure:function(e,t,n){var a=n.response;(void 0===a?{}:a).data&&(0,o.x2)("registration.form.error.DUPLICATE_ID_CODE")(e)}}}function v(e){var t={headers:(0,s.lJ)(e)},n=(0,s.WT)("/employers-service/blocked",e);return{types:[i.i8i,i.$GZ,i.FKn],promise:function(e){return e.get(n,t)}}}function k(e,t,n,a){var o={headers:(0,s.lJ)(a)},c=(0,s.WT)("/employers-service/allowed?searchTerm=".concat(e,"&page=").concat(t,"&pageSize=").concat(n),a);return{types:[i.g8I,i.NZi,i.VgQ],promise:function(e){return e.get(c,o)}}}
1function N(e){var t=(0,s.WT)("/employers-service/blocked/add/".concat(e));return{types:[i.wqy,i.mDx,i.kEq],promise:function(e){return e.put(t)},employerId:e,afterSuccess:function(e){e((0,o.s$)("settings.blocked.added"))}}}function Z(e){var t=(0,s.WT)("/employers-service/blocked/remove/".concat(e));return{types:[i.SIp,i.BDY,i.j9V],promise:function(e){return e.put(t)},employerId:e,afterSuccess:function(e){e((0,o.s$)("settings.blocked.removed"))}}}var O=function(e){var t={headers:(0,s.lJ)(e)},n=(0,s.WT)("/authentication/user-preferences/subscription",e);return{types:[i.DjC,i.zXS,i.DfE],promise:function(e){return e.get(n,t)}}},P=function(e){var t=(0,s.WT)("/authentication/user-preferences/subscription/update?activate=".concat(e));return{types:[i.CYb,i.XCb,i.KNC],promise:function(e){return e.post(t)},activate:e,afterSuccess:function(t){t((0,o.s$)("settings.spam.".concat(e?"enabled":"disabled")))}}}},92188:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});n(69358),n(59749),n(38077),n(60228),n(81919),n(47522),n(99474);var a=n(59499),i=n(95627),s=n.n(i),o=(n(67294),n(93967)),c=n.n(o),r=(n(34338),n(95952)),l=[".tag.jsx-263434816{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:22px;background:#ffffff;border:1px solid ".concat(r.O9.grey3,";border-radius:2px;padding:").concat(r.W0.xxs," ").concat(r.W0.xs,";outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}"),".tag--with-margin.jsx-263434816{margin:".concat(r.W0.xxs," 0 ").concat(r.W0.xxs," ").concat(r.W0.s,";}"),".tag__remove.jsx-263434816{background:none !important;padding:0;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-shadow:none;margin:0 0 0 ".concat(r.W0.xs," !important;cursor:pointer;}"),".tag__remove.jsx-263434816:hover g{fill:".concat(r.O9.active," !important;opacity:1 !important;}"),".tag__add-icon.jsx-263434816{top:".concat(r.W0.xxxs,";padding-left:").concat(r.W0.xxs,";position:relative;}"),".tag--blue.jsx-263434816{background:".concat(r.O9.blueBackground,";border:none;color:").concat(r.O9.brand,";}"),".tag--no-margin.jsx-263434816{margin:0;}"];l.__hash="263434816";var d=l,h=n(85893);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(e){return(0,h.jsx)("svg",u(u({},e),{},{children:(0,h.jsx)("path",{fill:"#040429",opacity:".3",d:"M8 6.586 5.172 3.757 3.757 5.172 6.586 8l-2.829 2.828 1.415 1.415L8 9.414l2.828 2.829 1.415-1.415L9.414 8l2.829-2.828-1.415-1.415L8 6.586zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z",fillRule:"evenodd"})}))};x.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var f=function(e){return(0,h.jsx)("svg",u(u({},e),{},{children:(0,h.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.5H7V7H2.5v2H7v4.5h2V9h4.5V7H9V2.5Z",color:"#B3B3BE"})}))};f.defaultProps={width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg"};var m=function(e){var t=e.children,n=e.value,a=e.onRemove,i=e.isAdd,o=e.clear,r=e.variant,l=e.noMargin,p=c()({tag:!0,"tag--with-margin":!o,"tag--blue":"blue"===r,"tag--no-margin":l});return(0,h.jsxs)("span",{className:"jsx-".concat(d.__hash)+" "+(p||""),children:[t,a&&(0,h.jsx)("button",{"aria-label":"X",type:"button",onClick:function(){a&&a(n)},className:"jsx-".concat(d.__hash)+" tag__remove",children:(0,h.jsx)(x,{})}),i&&(0,h.jsx)("span",{className:"jsx-".concat(d.__hash)+" tag__add-icon",children:(0,h.jsx)(f,{})}),(0,h.jsx)(s(),{id:d.__hash,children:d})]})};m.defaultProps={children:null,value:null,onRemove:null,isAdd:!1,clear:!1,noMargin:!1,variant:"default"};var g=m},28206:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var a=n(95627),i=n.n(a),s=(n(67294),n(37808)),o=n(86942),c=n(41664),r=n.n(c),l=n(81768),d=(n(34338),n(95952)),h=[".no-items.jsx-3325827790{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px;}",".no-items__content.jsx-3325827790{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:50%;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".no-items__title.jsx-3325827790{font-size:32px;color:".concat(d.O9.grey2,";text-align:center;}"),".no-items__text.jsx-3325827790{margin-top:8px;}",".no-items__link.jsx-3325827790{display:block;background:none;border:none;outline:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:16px;padding:0;cursor:pointer;}","@media screen and (max-width:".concat(d.J7.desktopCutoff,"){.no-items__content.jsx-3325827790{margin-top:").concat(d.W0.s,";width:100%;}.no-items__title.jsx-3325827790{font-size:24px;}.no-items__text.jsx-3325827790{text-align:center;}}")];h.__hash="3325827790";var p=h,u=n(85893),x=function(e){var t=e.titleKey,n=e.textKey,a=e.actionKey,c=e.path,d=e.action,h=e.isHTMLTextKey;return(0,u.jsxs)("div",{className:"jsx-".concat(p.__hash)+" no-items",children:[(0,u.jsxs)("div",{className:"jsx-".concat(p.__hash)+" no-items__content",children:[(0,u.jsx)("h1",{className:"jsx-".concat(p.__hash)+" no-items__title",children:(0,u.jsx)(s.Z,{id:t})}),(0,u.jsx)("p",{className:"jsx-".concat(p.__hash)+" no-items__text",children:h?(0,u.jsx)(o.Z,{id:n}):(0,u.jsx)(s.Z,{id:n})}),d&&(0,u.jsx)(l.Z,{onClick:d,children:(0,u.jsx)(s.Z,{id:a})}),c&&(0,u.jsx)(r(),{href:c,children:(0,u.jsx)(l.Z,{children:(0,u.jsx)(s.Z,{id:a})})})]}),(0,u.jsx)(i(),{id:p.__hash,children:p})]})};x.defaultProps={actionKey:"",path:null,action:null,isHTMLTextKey:!1};var f=x},48559:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});n(69358),n(59749),n(38077),n(81919),n(47522),n(99474);var a=n(59499),i=n(95627),s=n.n(i),o=(n(25728),n(60228),n(50886),n(67294)),c=n(93967),r=n.n(c),l=n(19723),d=n(11537),h=n(11163),p=(n(34338),n(95952)),u=[".tabbed-page{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}",".react-tabs__tab--mod{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;list-style:none;padding:0;cursor:pointer;font-size:16px;outline:none;}",".react-tabs__tab--mod:not(:last-of-type){border-bottom:1px solid ".concat(p.O9.grey3,";}"),".react-tabs__tab--selected-mod{background-color:rgba(47,141,252,0.2);}",".react-tabs__tab-list--mod{margin:0;padding:0;}",".tabbed-page__side-bar{width:25%;position:-webkit-sticky;position:sticky;top:10px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;}",".react-tabs__tab-panel{padding:0 !important;height:100%;}",".tabbed-page__additional{margin-top:".concat(p.W0.m,";border:1px solid ").concat(p.O9.grey3,";border-radius:2px;}"),".react-tabs__tab-list--mod{border:1px solid ".concat(p.O9.grey3,";border-radius:2px;}"),".tab-name{padding:16px 24px;}",".tabbed-page__content{width:75%;margin-left:15px;}",".tabbed-page__content-navigation{z-index:10;display:none !important;background:white;margin-top:-26px;margin-bottom:".concat(p.W0.l,";box-shadow:0 1px 8px 0 rgba(4,4,41,0.15);position:-webkit-sticky;position:sticky;top:0;padding-left:32px;padding-top:").concat(p.W0.s,";padding-bottom:").concat(p.W0.s,";}"),".tabbed-page__content-back-button{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:3px;}",".tabbed-page__content-back-button>svg{margin-right:".concat(p.W0.xs,";}"),".tabbed-page-header{margin-bottom:".concat(p.W0.m,";color:").concat(p.O9.secondary,";}"),"@media screen and (max-width:".concat(p.J7.desktopCutoff,"){.tabbed-page{margin-bottom:").concat(p.W0.l,";}.tabbed-page__content{border:0px;width:100%;margin:0;}.tabbed-page__side-bar{width:100%;}.tabbed-page__side-bar{padding:0 ").concat(p.J7.contentPadding,";}.tabbed-page__side-bar--hide-mobile{display:none;}.tabbed-page__content--hide-mobile{display:none;}
1.tabbed-page__content-navigation{display:block !important;padding:").concat(p.W0.s,";}.tabbed-page-header{padding:").concat(p.J7.contentPadding," 0;margin-bottom:0;}.tabbed-page-header--hidden{display:none;}}")];u.__hash="3545252514";var x=u,f=n(85893);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){return(0,f.jsx)("svg",g(g({},e),{},{children:(0,f.jsx)("path",{d:"M1 8c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7-7-3.14-7-7m15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM9.57 5.71 8.861 5 5.766 8.095l3.14 3.139.708-.709-2.43-2.43L9.57 5.71z",fillRule:"evenodd"})}))};b.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var _=function(e){var t=e.items,n=e.setPageNumber,a=e.pageLabel,i=e.additionalContent,c=(0,h.useRouter)(),p=c.query.page,u=0,m=!1;if(p){for(var _=Array.isArray(p)?p[0]:p,j=0,y=0;y<t.length;y+=1)t[y].id===_&&(j=y);u=j,m=!0}var w=(0,o.useState)(m),v=w[0],k=w[1],N=function(){k(!1),window.scrollTo({top:0,behavior:"smooth"}),n&&n(1)},Z=r()({"tabbed-page__side-bar":!0,"tabbed-page__side-bar--hide-mobile":v}),O=r()({"tabbed-page__content":!0,"tabbed-page__content--hide-mobile":!v}),P=r()({"tabbed-page-header":!0,"tabbed-page-header--hidden":v});return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(l.mQ,{defaultIndex:u,onSelect:function(e){var a=t.find((function(t,n){return n===e}));n&&n(1),a&&c.push({pathname:c.pathname,query:g(g({},c.query),{},{page:a.id})},null,{shallow:!0}),k(!0)},className:"tabbed-page",selectedTabClassName:"react-tabs__tab--selected-mod",children:[(0,f.jsxs)("aside",{className:"jsx-".concat(x.__hash)+" "+(Z||""),children:[(0,f.jsx)("h3",{className:"jsx-".concat(x.__hash)+" "+(P||""),children:a}),(0,f.jsx)(l.td,{className:"react-tabs__tab-list--mod",children:t.map((function(e){return(0,f.jsx)(l.OK,{className:"react-tabs__tab--mod",children:(0,f.jsx)("span",{className:"jsx-".concat(x.__hash)+" tab-name",children:e.buttonLabel})},e.id)}))}),i&&(0,f.jsx)("div",{className:"jsx-".concat(x.__hash)+" tabbed-page__additional",children:i})]}),(0,f.jsx)("div",{className:"jsx-".concat(x.__hash)+" "+(O||""),children:t.map((function(e){return(0,f.jsxs)(l.x4,{children:[(0,f.jsx)("div",{className:"jsx-".concat(x.__hash)+" tabbed-page__content-navigation",children:(0,f.jsx)(d.Z,{onClick:N,children:(0,f.jsxs)("div",{className:"jsx-".concat(x.__hash)+" tabbed-page__content-back-button",children:[(0,f.jsx)(b,{})," ",a]})})}),e.content]},e.id)}))})]}),(0,f.jsx)(s(),{id:x.__hash,children:x})]})};_.defaultProps={additionalContent:null,setPageNumber:null};var j=_},91091:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return ft},default:function(){return mt}});var a=n(17674),i=n(67294),s=n(2664),o=n(9008),c=n.n(o),r=n(96253),l=n(21137),d=n(89373),h=n(95627),p=n.n(h),u=(n(34338),n(37808)),x=(n(69358),n(59749),n(38077),n(60228),n(81919),n(47522),n(99474),n(59499)),f=n(81768),m=n(11537),g=n(27985),b=n(66449),_=n(82929),j=n(71321),y=n(69065),w=n(3419),v=n(95952),k=[".change-name-container.jsx-2608755263{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".change-name-container__form.jsx-2608755263{max-width:331px;width:100%;}",".change-name-container__form-buttons.jsx-2608755263{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".change-name-container__form-buttons.jsx-2608755263>:first-child{margin-right:".concat(v.W0.xs,";}")];k.__hash="2608755263";var N=k,Z=n(85893),O=function(e){var t=e.initialize,n=e.saveNameSettings,a=e.closeForm,s=e.handleSubmit,o=e.isLoading,c=e.user,r=c.firstName,l=c.lastName;(0,i.useEffect)((function(){t({firstName:r,lastName:l})}),[]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(N.__hash)+" change-name-container",children:(0,Z.jsxs)("form",{onSubmit:s((function(e){n(e.firstName,e.lastName,a)})),className:"jsx-".concat(N.__hash)+" change-name-container__form",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.name"}),(0,Z.jsx)(j.Z,{component:_.Z,name:"firstName",label:"settings.first.
1name",validate:[w.C1,w.wD],isFullWidth:!0}),(0,Z.jsx)(j.Z,{component:_.Z,name:"lastName",label:"settings.last.name",validate:[w.C1,w.wD],isFullWidth:!0}),(0,Z.jsxs)("div",{className:"jsx-".concat(N.__hash)+" change-name-container__form-buttons",children:[(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:a,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isLoading:o,type:"submit",isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"save"})})]})]})}),(0,Z.jsx)(p(),{id:N.__hash,children:N})]})},P={form:"settings-change-name",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};O.defaultProps={isLoading:!1};var E=(0,y.Z)(P)(O),S=n(55472),C=[".change-phone-container.jsx-2522115848{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".change-phone-container__form.jsx-2522115848{max-width:331px;width:100%;}",".change-phone-container__form-buttons.jsx-2522115848{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".change-phone-container__form-buttons.jsx-2522115848>:first-child{margin-right:".concat(v.W0.xs,";}")];C.__hash="2522115848";var L=C,W=function(e){var t=e.closeForm,n=e.handleSubmit,a=e.isLoading,s=e.initialize,o=e.phone,c=e.savePhoneSettings;(0,i.useEffect)((function(){s({phone:o})}),[]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(L.__hash)+" change-phone-container",children:(0,Z.jsxs)("form",{onSubmit:n((function(e){c(e.phone,t)})),className:"jsx-".concat(L.__hash)+" change-phone-container__form",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.phone"}),(0,Z.jsx)(j.Z,{component:_.Z,name:"phone",type:"tel",label:"settings.profile.user.info.phone",validate:[w.C5,w.Mn],isFullWidth:!0}),(0,Z.jsxs)("div",{className:"jsx-".concat(L.__hash)+" change-phone-container__form-buttons",children:[(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:t,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isLoading:a,type:"submit",isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"save"})})]})]})}),(0,Z.jsx)(p(),{id:L.__hash,children:L})]})},D={form:"settings-change-phone",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};W.defaultProps={isLoading:!1,phone:null};var F=(0,y.Z)(D)(W),A=n(99298),M=[".change-photo-container.jsx-3303735278{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".change-photo-container__form.jsx-3303735278{max-width:331px;width:100%;}",".change-photo-container__form-buttons.jsx-3303735278{margin-top:".concat(v.W0.s,";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}"),".change-photo-container__form-buttons.jsx-3303735278>:first-child{margin-right:".concat(v.W0.xs,";}")];M.__hash="3303735278";var I=M,T=function(e){var t=e.additionalUserData,n=e.initialize,a=e.changePhoto,s=e.closeForm,o=e.handleSubmit,c=e.isLoading;(0,i.useEffect)((function(){t&&t.photoId&&n({imageId:t.photoId})}),[]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(I.__hash)+" change-photo-container",children:(0,Z.jsxs)("form",{onSubmit:o((function(e){a(e.imageId,s)})),className:"jsx-".concat(I.__hash)+" change-photo-container__form",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.photo"}),(0,Z.jsx)(j.Z,{name:"imageId",fileName:t.photoName,fileId:t.photoId,component:A.Z,addButtonText:"personalData.addPhoto",changeButtonText:"personalData.changePhoto",accept:".jpg, .jpeg, .png",maxFileSizeInMB:5}),(0,Z.jsxs)("div",{className:"jsx-".concat(I.__hash)+" change-photo-container__form-buttons",children:[(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:s,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isLoading:c,type:"submit",isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"save"})})]})]})}),(0,Z.jsx)(p(),{id:I.__hash,children:I})]})},z={form:"settings-change-photo",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};T.defaultProps={isLoading:!1,additionalUserData:{}};var R=(0,y.Z)(z)(T),H=n(90116),U=(n(50886),n(19275)),V=[".change-language-container.jsx-2700533596{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".change-language-container__form.jsx-2700533596{max-width:331px;width:100%;}",".change-language-container__form-buttons.jsx-2700533596{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".change-language-container__form-buttons.jsx-2700533596>:first-child{margin-right:".concat(v.W0.xs,";}")];V.__hash="2700533596";var B=V,J=function(e){var t=e.initialize,n=e.user.preferredLanguage,a=e.intl,s=e.saveUserLanguage,o=e.closeForm,c=e.handleSubmit,l=e.isLoading;(0,i.useEffect)((function(){var e={};e.language=n||(0,r.sm)(),t(e)}),[]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(B.__hash)+" change-language-container",children:(0,Z.jsxs)("form",{onSubmit:c((function(e){s(e.language,o)})),className:"jsx-".concat(B.__hash)+" change-language-container__form",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.communication.language"}),(0,Z.jsx)(j.Z,{name:"language",component:U.Z,options:function(){var e=(0,r.sm)();return[{value:e,label:a.formatMessage({id:"language.".concat(e,".title")})}].concat((0,H.Z)(["ru","en"].map((function(e){return{value:e,label:a.formatMessage({id:"language.".concat(e,".title")})}}))))}()}),(0,Z.jsxs)("div",{className:"jsx-".concat(B.__hash)+" change-language-container__form-buttons",children:[(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:o,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isLoading:l,type:"submit",isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"save"})})]})]})}),(0,Z.jsx)(p(),{id:B.__hash,children:B})]})};J.defaultProps={isLoading:!1};var q={form:"settings-change-language",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}},K=(0,y.Z)(q)(J),$=(n(34284),n(22266)),G=[".change-password-form{margin:".concat(v.W0.m," auto;width:50%;}"),".change-password-form{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".change-password-form__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".actions__cancel{margin-right:auto;width:48%;}",".actions__save{margin-left:auto;width:48%;}","@media screen and (max-width:".concat(v.J7.desktopCutoff,"){.change-password-form{margin:").concat(v.W0.m," auto;width:70%;}}")];G.__hash="699717474";var X=G,Y=function(e){var t=e.closeForm,n=e.changePassword,a=e.handleSubmit,s=e.isLoading,o=(0,i.useState)(""),c=o[0],r=o[1],l=(0,i.useState)(""),d=l[0],h=l[1],x=(0,i.useState)(!0),m=x[0],g=x[1],b=function(e,t){var n=m;"oldPassword"===e?n=d!==t:"newPassword"===e&&(n=c!==t),g(n)};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"jsx-".concat(X.__hash)+" change-password-form",children:[(0,Z.jsx)(u.Z,{id:"settings.profile.login.password"}),(0,Z.jsxs)("form",{onSubmit:a,className:"jsx-".concat(X.__hash),children:[(0,Z.jsx)("div",{className:"jsx-".concat(X.__hash)+" change-password-form__old-password",children:(0,Z.jsx)(j.Z,{name:"oldPassword",type:"password",label:"password.old",component:$.Z,validate:[w.C1,w.wZ],isFullWidth:!0,onChange:function(e){return function(e){r(e.target.value),b(e.target.name,e.target.value)}(e)}})}),(0,Z.jsx)("div",{className:"jsx-".concat(X.__hash)+" change-password-form__new-password",children:(0,Z.jsx)(j.Z,{name:"newPassword",type:"password",label:"password.new",component:$.Z,validate:[w.C1,w.wZ,w.n3],isFullWidth:!0,onChange:function(e){return function(e){h(e.target.value),b(e.target.name,e.target.value)}(e)}})}),(0,Z.jsxs)("div",{className:"jsx-".concat(X.__hash)+" change-password-form__actions",children:[(0,Z.jsx)("span",{className:"jsx-".concat(X.__hash)+" actions__cancel",children:(0,Z.jsx)(f.Z,{isFullWidth:!0,isSecondary:!0,onClick:t,children:(0,Z.jsx)(u.Z,{id:"cancel"})})}),(0,Z.jsx)("span",{className:"jsx-".concat(X.__hash)+" actions__save",children:(0,Z.jsx)(f.Z,{isDisabled:!m||c.length<6||d.length<6,isLoading:s,isFullWidth:!0,onClick:a((function(e){n(e.oldPassword,e.newPassword,t)})),children:(0,Z.jsx)(u.Z,{id:"save"})})})]})]})]}),(0,Z.jsx)(p(),{id:X.__hash,children:X})]})},Q={form:"settings-change-password",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};Y.defaultProps={isLoading:!1};var ee=(0,y.Z)(Q)(Y),te=[".change-email-container.jsx-4124192931{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}",".change-email-container__form.jsx-4124192931{max-width:331px;width:100%;}",".change-email-container__form-buttons.jsx-4124192931{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".change-email-container__form-buttons.jsx-4124192931>:first-child{margin-right:".concat(v.W0.xs,";}")];te.__hash="4124192931";var ne=te,ae=function(e){var t=e.initialize,n=e.user.email,a=e.saveEmailSettings,s=e.closeForm,o=e.locale,c=e.handleSubmit,r=e.isLoading;(0,i.useEffect)((function(){t({email:n})}),[]);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(ne.__hash)+" change-email-container",children:(0,Z.jsxs)("form",{onSubmit:c((function(e){a(e.email,o,s)})),className:"jsx-".concat(ne.__hash)+" change-email-container__form",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.email"}),(0,Z.jsx)(j.Z,{component:_.Z,name:"email",type:"email",label:"settings.email",validate:[w.C1,w.Jh],isFullWidth:!0}),(0,Z.jsxs)("div",{className:"jsx-".concat(ne.__hash)+" change-email-container__form-buttons",children:[(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:s,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isLoading:r,type:"submit",isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"save"})})]})]})}),(0,Z.jsx)(p(),{id:ne.__hash,children:ne})]})},ie={form:"settings-change-email",enableReinitialize:!0,keepDirtyOnReinitialize:!0,onSubmitFail:function(e){console.warn("form submit fail",e)}};ae.defaultProps={isLoading:!1};var se=(0,y.Z)(ie)(ae),oe=n(66377),ce=n(59910),re=[".mobile-id-attach-form__content.jsx-1124238241{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;text-align:left;max-width:331px;margin:auto;}",".mobile-id-attach-form__fields.jsx-1124238241>*{margin:0 ".concat(v.W0.xs,";}"),".mobile-id-attach-form__description.jsx-1124238241{margin-top:".concat(v.W0.s,";display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;}"),".mobile-id-attach-form__btn.jsx-1124238241{display:inline-block;margin:0 ".concat(v.W0.m,";}"),".mobile-id-attach-form__footer.jsx-1124238241{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".mobile-id-attach-form__footer.jsx-1124238241 button:first-child{margin-right:".concat(v.W0.xxs,";}"),".mobile-id-attach-form__footer.jsx-1124238241 button:last-child{margin-left:".concat(v.W0.xxs,";}"),"@media screen and (max-width:".concat(v.J7.desktopCutoff,"){.mobile-id-attach-form__content.jsx-1124238241{margin:").concat(v.W0.s,";}.mobile-id-attach-form__footer.jsx-1124238241{left:0;bottom:0;right:0;}}")];re.__hash="1124238241";var le=re,de={form:"mobile-id-attach-form",onSubmitFail:function(e){console.warn("form submit fail",e)}},he=(0,y.Z)(de)((function(e){var t=e.startMidAttach,n=e.locale,a=e.closeForm,i=e.handleSubmit,s=e.settings,o=s.isLoading,c=s.verificationCode,r=s.error,l=null!==c;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("form",{onSubmit:i((function(e){t(e.phone,e.idCode,n,a)})),className:"jsx-".concat(le.__hash)+" mobile-id-attach-form",children:[(0,Z.jsx)("h2",{className:"jsx-".concat(le.__hash)+" mobile-id-attach-form__title",children:(0,Z.jsx)(u.Z,{id:"mobile.id.attach.form.title"})}),(0,Z.jsxs)("div",{className:"jsx-".concat(le.__hash)+" mobile-id-attach-form__content",children:[!l&&(0,Z.jsxs)(Z.Fragment,{children:[r&&r.errorType&&(0,Z.jsx)(ce.Z,{type:"error",contentKey:"registration.error.".concat(r.errorType)}),(0,Z.jsx)(j.Z,{name:"phone",type:"tel",label:"mobile.id.form.phone",mask:"+372 9999999?",maskChar:null,component:_.Z,validate:[w.C1,w.Mn,w.T9],autoComplete:"off",isFullWidth:!0}),(0,Z.jsx)(j.Z,{name:"idCode",type:"number",label:"mobile.id.form.id.code",component:_.Z,validate:[w.C1,w.nj],autoComplete:"off",isFullWidth:!0})]}),l?(0,Z.jsx)(oe.Z,{verificationCode:c}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("p",{className:"jsx-".concat(le.__hash)+" mobile-id-attach-form__description",children:(0,Z.jsx)(u.Z,{id:"mobile.id.form.description"})}),(0,Z.jsxs)("div",{className:"jsx-".concat(le.__hash)+" mobile-id-attach-form__footer",children:[(0,Z.jsx)(f.Z,{isFullWidth:!0,onClick:a,isSecondary:!0,children:(0,Z.jsx)(u.Z,{id:"form.button.back"})}),(0,Z.jsx)(f.Z,{isFullWidth:!0,isLoading:o,type:"submit",children:(0,Z.jsx)(u.Z,{id:"mobile.id.form.button.get.code"})})]})]})]})]}),(0,Z.jsx)(p(),{id:le.__hash,children:le})]})})),pe=n(50645),ue=[".id-card-attach-form.jsx-414770401{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;text-align:left;max-width:331px;margin:auto;}",".id-card-attach-form__content.jsx-414770401{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center;}",".id-card-attach-form__footer.jsx-414770401{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".id-card-attach-form__footer.jsx-414770401 button:first-child{margin-right:".concat(v.W0.xxs,";}"),".id-card-attach-form__footer.jsx-414770401 button:last-child{margin-left:".concat(v.W0.xxs,";}")];ue.__hash="414770401";var xe=ue,fe=function(e){var t=e.onBackClick,n=e.attachIDCard,a=(0,i.useState)(null),s=a[0],o=a[1];return(0,Z.jsxs)("div",{className:"jsx-".concat(xe.__hash)+" id-card-attach-form",children:[(0,Z.jsxs)("div",{className:"jsx-".concat(xe.__hash)+" id-card-attach-form__content",children:[!s&&(0,Z.jsx)(pe.Z,{onCancel:t,onSuccess:function(e){o(e)}}),s&&(0,Z.jsx)(u.Z,{tagName:"h3",id:"id.card.attach.confirmation"})]}),s&&(0,Z.jsxs)("div",{className:"jsx-".concat(xe.__hash)+" id-card-attach-form__footer",children:[(0,Z.jsx)(f.Z,{isFullWidth:!0,isSecondary:!0,onClick:t,children:(0,Z.jsx)(u.Z,{id:"cancel"})}),(0,Z.jsx)(f.Z,{isFullWidth:!0,onClick:function(){n(s,t)},children:(0,Z.jsx)(u.Z,{id:"general.attach"})})]}),(0,Z.jsx)(p(),{id:xe.__hash,children:xe})]})},me=[".reset-password-form{margin:".concat(v.W0.m," auto;width:50%;}"),".reset-password-form{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".reset-password-form__actions{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}",".actions__cancel{margin-right:auto;width:48%;}",".actions__save{margin-left:auto;width:48%;}"];me.__hash="2815769645";var ge=me,be=function(e){var t=e.closeForm,n=e.resetPasswordIsLoading,a=e.isForgotPasswordSent,i=e.user,s=e.requestNewPassword,o=e.locale;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"jsx-".concat(ge.__hash)+" reset-password-form",children:[a?(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.new.password.feedback"}):(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.new.password.description"}),(0,Z.jsxs)("div",{className:"jsx-".concat(ge.__hash)+" reset-password-form__actions",children:[(0,Z.jsx)("span",{className:"jsx-".concat(ge.__hash)+" actions__cancel",children:(0,Z.jsx)(f.Z,{isSecondary:!0,isFullWidth:!0,onClick:t,children:(0,Z.jsx)(u.Z,{id:"settings.new.password.cancel"})})}),(0,Z.jsx)("span",{className:"jsx-".concat(ge.__hash)+" actions__save",children:(0,Z.jsx)(f.Z,{isLoading:n,type:"submit",onClick:function(){s(i.email,o),t()},isFullWidth:!0,children:a?(0,Z.jsx)(u.Z,{id:"settings.new.password.submit.again"}):(0,Z.jsx)(u.Z,{id:"settings.new.password.submit.label"})})})]})]}),(0,Z.jsx)(p(),{id:ge.__hash,children:ge})]})};be.defaultProps={resetPasswordIsLoading:!1};var _e=be,je=[".settings-profile-user-info__name,.settings-profile-user-info__phone,.settings-profile-user-info__photo,.settings-profile-user-info__language,.settings-profile-login-info__email,.settings-profile__authentication{padding-bottom:".concat(v.W0.s,";border-bottom:1px solid ").concat(v.O9.grey3,";}"),".user-info,.settings-profile__authentication-options{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".settings-profile__authentication-options>.btn{padding:".concat(v.W0.xs," ").concat(v.W0.xxl,";}"),".settings-profile__authentication-options:last-child{margin-left:auto;}",".settings-profile__authentication-options-and{padding-right:25px;padding-left:25px;}",".settings-profile__authentication-options-info{padding-top:16px;}",".user-info__value{margin-right:auto;width:100%;overflow-wrap:break-word;}",".user-info__value-photo img,.user-info__value-photo svg{object-fit:contain;object-position:50% 50%;width:80px;height:80px;border:1px solid ".concat(v.O9.grey3,";}"),".user-info__change{margin-left:auto;width:50%;text-align:right;}",".settings-profile-login-info__password{border-bottom:1px solid ".concat(v.O9.grey3,";}"),".settings-profile-login-info__password>.user-info{margin:".concat(v.W0.m," auto;}"),".settings-profile-user-info__name>h4,.settings-profile-user-info__phone>h4,.settings-profile-user-info__photo>h4,.settings-profile-user-info__language>h4,.settings-profile-login-info__email>h4{margin:".concat(v.W0.s," 0px 0px 0px;}"),".settings-profile__login-info,.settings-profile__authentication,.settings-profile__delete{margin-top:".concat(v.W0.xl,";}"),".settings-profile__delete{width:-webkit-max-content;width:-moz-max-content;width:max-content;}",".account-delete{color:".concat(v.O9.negative," !important;}")];je.__hash="3822297026";var ye=je;function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?we(Object(n),!0).forEach((function(t){(0,x.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(e){return(0,Z.jsx)("svg",ve(ve({},e),{},{children:(0,Z.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,Z.jsx)("path",{fill:"#FFF",d:"M0 0h80v80H0z"}),(0,Z.jsxs)("g",{fillRule:"nonzero",children:[(0,Z.jsx)("path",{d:"M32.5 27.5h15V26a7.5 7.5 0 0 0-15 0v1.5z",stroke:"#B3B3BE",strokeWidth:"3"}),(0,Z.jsx)("path",{fill:"#B3B3BE",d:"M16 29h48v30H16z"}),(0,Z.jsx)("path",{d:"M16 26h48v4c0 6.627-5.373 12-12 12H28c-6.627 0-12-5.373-12-12v-4z",fill:"#DADADF"}),(0,Z.jsx)("path",{fill:"#B3B3BE",d:"M36 37h8v6h-8z"}),(0,Z.jsx)("path",{d:"M38 39h4v5a2 2 0 1 1-4 0v-5z",fill:"#F2F2F4"})]})]})}))};ke.defaultProps={width:"80",height:"80",xmlns:"http://www.w3.org/2000/svg"};var Ne=function(e){return(0,Z.jsxs)("svg",ve(ve({},e),{},{children:[(0,Z.jsx)("defs",{children:(0,Z.jsxs)("style",{children:[".cls-1","{","fill:#0099c9","}",".cls-5","{","fill:#455252","}",".cls-8","{","fill:#28211f","}"]})}),(0,Z.jsx)("path",{className:"cls-8",d:"M45.83 18.44h-6.61c.3 1.5 1.33 2.43 2.71 2.43.95 0 1.82-.4 2.47-1.13l1 1.19c-.85 1.04-2.1 1.64-3.62 1.64-2.69 0-4.47-1.99-4.47-4.91s1.82-4.93 4.42-4.95c3.07 0 4.32 2.23 4.09 5.73Zm-1.64-1.53c-.07-1.57-1-2.52-2.43-2.52s-2.35.97-2.56 2.52h5ZM52.42 9.72c2.89 0 4.55 1.59 4.55 4.36s-1.66 4.56-4.55 4.56h-2.64v3.85h-1.94V9.72h4.58Zm-2.64 6.99h2.56c1.77 0 2.78-.84 2.78-2.57s-1-2.48-2.78-2.48h-2.56v5.06ZM63.94 21.31c-.62.86-1.63 1.28-2.89 1.28-1.89 0-3.07-1.3-3.07-3.01s1.2-2.9 3.3-2.92h2.65v-.29c0-1.22-.71-1.95-2.09-1.95-.84 0-1.71.33-2.58.99l-.77-1.46c1.22-.8 2.1-1.22 3.76-1.22 2.25 0 3.52 1.28 3.53 3.41l.02 6.37h-1.86v-1.19Zm-.02-2.23v-.89h-2.37c-1.23 0-1.81.36-1.81 1.29 0 .88.64 1.44 1.69 1.44 1.35 0 2.38-.79 2.48-1.84ZM70.14 14.72c.59-1.31 1.64-2.01 3.02-2.01v2.01c-1.76-.11-2.87 1.04-3.02 2.7v5.08h-1.89v-9.71h1.89v1.93ZM79.53 21.31c-.62.86-1.63 1.28-2.89 1.28-1.89 0-3.07-1.3-3.07-3.01s1.2-2.9 3.3-2.92h2.64v-.29c0-1.22-.71-1.95-2.09-1.95-.84 0-1.71.33-2.58.99l-.77-1.46c1.22-.8 2.1-1.22 3.76-1.22 2.25 0 3.52 1.28 3.53 3.41l.02 6.37h-1.86v-1.19Zm-.02-2.23v-.89h-2.37c-1.23 0-1.81.36-1.81 1.29 0 .88.64 1.44 1.69 1.44 1.35 0 2.38-.79 2.48-1.84ZM85.81 19.78v2.72h-1.89V8.95h1.89v8.18l3.86-4.34h2.17l-3.24 3.76 3.48 5.95h-2.23l-2.56-4.45-1.48 1.73ZM99.05 13.68l-.69 1.55c-.77-.53-1.74-.86-2.51-.86s-1.28.27-1.28.97c0 1.79 4.65.82 4.63 4.34 0 1.99-1.59 2.88-3.35 2.88-1.28 0-2.65-.47-3.52-1.35l.67-1.5c.76.75 1.97 1.2 2.92 1.2.81 0 1.43-.31 1.43-1.04 0-1.99-4.6-.88-4.58-4.38 0-1.97 1.54-2.81 3.22-2.81 1.1 0 2.27.37 3.06.99ZM105.97 21.88c-.69.46-1.41.71-2.15.71-1.31 0-2.45-.84-2.45-2.83v-5.04h-1.23v-1.57h1.23v-2.66h1.87v2.66h2.58v1.57h-2.58v4.66c0 1 .35 1.31.94 1.31.39 0 .81-.15 1.31-.42l.48 1.61ZM113.3 13.68l-.69 1.55c-.77-.53-1.74-.86-2.51-.86s-1.28.27-1.28.97c0 1.79 4.65.82 4.63 4.34 0 1.99-1.59 2.88-3.35 2.88-1.28 0-2.65-.47-3.52-1.35l.67-1.5c.76.75 1.97 1.2 2.92 1.2.81 0 1.43-.31 1.43-1.04 0-1.99-4.6-.88-4.58-4.38 0-1.97 1.54-2.81 3.22-2.81 1.1 0 2.27.37 3.06.99Z"}),(0,Z.jsx)("path",{className:"cls-5",d:"M6.97 12.78h11.94v11.94H6.97z"}),(0,Z.jsx)("path",{style:{fill:"#28363b"},d:"M12.94 12.78h5.97v5.97h-5.97z"}),(0,Z.jsx)("path",{className:"cls-1",d:"M18.92 12.78h5.97v5.97h-5.97zM24.89 6.81h5.97v5.97h-5.97zM6.97.84h5.97v5.97H6.97z"}),(0,Z.jsx)("path",{style:{fill:"#60c4df"},d:"M18.92.84h5.97v11.94h-5.97z"}),(0,Z.jsx)("path",{style:{fill:"#ab6aa8"},d:"M12.94 24.73h5.97v5.97h-5.97z"}),(0,Z.jsx)("path",{className:"cls-1",d:"M12.94 6.81h5.97v5.97h-5.97z"}),(0,Z.jsx)("path",{className:"cls-5",d:"M1 24.73h5.97v5.97H1z"}),(0,Z.jsx)("path",{style:{fill:"#151b19"},d:"M12.94 18.75h5.97v5.97h-5.97z"}),(0,Z.jsx)("path",{style:{fill:"#dc5013"},d:"M18.92 18.75h5.97v5.97h-5.97z"})]}))};Ne.defaultProps={height:"24",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 114.43 31.54"};var Ze=function(e){var t=e.preferredLanguage;return t||(0,r.sm)()},Oe=function(e){var t=e.user,n=e.changeName,a=e.changePhone,s=e.changePhoto,o=e.changePassword,c=e.changeLanguage,l=e.changeEmail,d=e.deleteUser,h=e.getLvEIDAuthLink,x=e.settings,_=e.intl,j=e.startMidAttach,y=e.attachIDCard,w=e.requestNewPassword,v=e.isForgotPasswordSent,k=e.resetPasswordIsLoading,N=e.updateSpam,O=e.isAdmin,P=(0,i.useState)(!1),C=P[0],L=P[1],W=(0,i.useState)(!1),D=W[0],A=W[1],M=(0,i.useState)(!1),I=M[0],T=M[1],z=(0,i.useState)(!1),H=z[0],U=z[1],V=(0,i.useState)(!1),B=V[0],J=V[1],q=(0,i.useState)(!1),$=q[0],G=q[1],X=(0,i.useState)(!1),Y=X[0],Q=X[1],te=(0,i.useState)(!1),ne=te[0],ae=te[1],ie=function(){Q(!Y)},oe=function(){ae(!ne)},ce=function(){L(!1),A(!1),T(!1),U(!1),J(!1),G(!1),Q(!1),ae(!1)},re=C||I||D||H||B||$||Y||ne,le=x.loginMethods,de=x.isLoading,pe=x.passwordExists;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile",children:[(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__user-info",children:[(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__headline",children:(0,Z.jsx)(u.Z,{tagName:"h2",id:"settings.profile.user.info.header"})}),(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__name",children:H?(0,Z.jsx)(E,{saveNameSettings:n,user:t,closeForm:ce,isLoading:de}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.name"}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value",children:"".concat(t.firstName," ").concat(t.lastName)}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{disabled:!H&&re,onClick:function(){U(!0)},children:(0,Z.jsx)(u.Z,{id:"change"})})})]})]})}),O&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__phone",children:D?(0,Z.jsx)(F,{savePhoneSettings:a,closeForm:ce,isLoading:de,phone:x.additionalUserData&&x.additionalUserData.phone?x.additionalUserData.phone:null}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.phone"}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value",children:x.additionalUserData&&x.additionalUserData.phone&&x.additionalUserData.phone}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{disabled:!D&&re,onClick:function(){A(!0)},children:(0,Z.jsx)(u.Z,{id:"change"})})})]})]})}),(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__photo",children:I?(0,Z.jsx)(R,{changePhoto:s,additionalUserData:x.additionalUserData,closeForm:ce,isLoading:de}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.user.info.photo"}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsxs)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value user-info__value-photo",children:[x.additionalUserData&&x.additionalUserData.photoId?(0,Z.jsx)("img",{alt:x.additionalUserData.photoName,src:(0,S.WT)("/files-service/".concat(x.additionalUserData.photoId)),className:"jsx-".concat(ye.__hash)}):(0,Z.jsx)(ke,{}),(0,Z.jsx)("br",{className:"jsx-".concat(ye.__hash)}),x.additionalUserData.photoName]}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{disabled:!I&&re,onClick:function(){T(!0)},children:(0,Z.jsx)(u.Z,{id:"change"})})})]})]})})]}),(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__language",children:B?(0,Z.jsx)(K,{intl:_,isLoading:de,user:t,closeForm:ce,saveUserLanguage:c}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.communication.language"}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value",children:(0,Z.jsx)(u.Z,{id:"language.".concat(Ze(t),".title")})}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{onClick:function(){J(!0)},disabled:!B&&re,children:(0,Z.jsx)(u.Z,{id:"change"})})})]})]})})]}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__login-info",children:[(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-login-info__headline",children:(0,Z.jsx)(u.Z,{tagName:"h2",id:"settings.profile.login.info.label"})}),(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-login-info__email",children:$?(0,Z.jsx)(se,{saveEmailSettings:l,user:t,closeForm:ce,isLoading:de,locale:_.locale}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.login.info.email"}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{disabled:!$&&re,onClick:function(){G(!0)},children:(0,Z.jsx)(u.Z,{id:"change"})})})]}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value",children:t.email})]})}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-login-info__password",children:[!C&&(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" user-info",children:[(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__value",children:(0,Z.jsx)(u.Z,{tagName:"strong",id:"settings.profile.login.password"})}),(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" user-info__change",children:(0,Z.jsx)(m.Z,{disabled:!C&&re,onClick:function(){L(!0)},children:(0,Z.jsx)(u.Z,{id:"change"})})})]}),C&&pe&&(0,Z.jsx)(ee,{changePassword:o,closeForm:ce,isLoading:de}),C&&!pe&&(0,Z.jsx)(_e,{closeForm:ce,user:t,requestNewPassword:w,isForgotPasswordSent:v,resetPasswordIsLoading:k,locale:_.locale})]})]}),"EE"===(0,r.ge)()&&le&&(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication",children:[!Y&&!ne&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-headline",children:(0,Z.jsx)(u.Z,{tagName:"h2",id:"settings.profile.auth.options.label"})}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-options",children:[!le.idCode&&(0,Z.jsx)(f.Z,{isSecondary:!0,onClick:oe,children:(0,Z.jsx)(u.Z,{id:"authentication.option.id.card"})}),!le.idCode&&!le.mobileNumber&&(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-options-and",children:(0,Z.jsx)(u.Z,{id:"general.and"})}),!le.mobileNumber&&(0,Z.jsxs)(f.Z,{isSecondary:!0,onClick:ie,children:[le.idCode&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{id:"general.attach"}),"\xa0"]}),(0,Z.jsx)(u.Z,{id:"authentication.option.mobile.id"})]}),le.mobileNumber&&(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" secondary-text",children:(0,Z.jsx)(u.Z,{id:"settings.profile.auth.options.info",values:{value:le.mobileNumber}})}),!le.mobileNumber&&le.idCode&&(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" secondary-text",children:(0,Z.jsx)(u.Z,{id:"settings.profile.auth.options.id.card.info"})})]}),!le.mobileNumber&&!le.idCode&&(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-options-info secondary-text",children:(0,Z.jsx)(u.Z,{id:"settings.profile.auth.options.mobile.id.info"})})]}),Y&&(0,Z.jsx)(he,{locale:_.locale,closeForm:ie,startMidAttach:j,settings:x}),ne&&(0,Z.jsx)(fe,{attachIDCard:y,onBackClick:oe})]}),"LV"===(0,r.ge)()&&le&&(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication",children:!ne&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-headline",children:(0,Z.jsx)(u.Z,{tagName:"h2",id:"settings.profile.auth.option"})}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__authentication-options",children:[!le.hasLvEid&&(0,Z.jsx)(f.Z,{isSecondary:!0,onClick:function(){h&&h("ATTACH")},children:(0,Z.jsx)(Ne,{})}),le.hasLvEid&&(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" secondary-text",children:(0,Z.jsx)(u.Z,{id:"settings.profile.auth.options.lv.eid.card.info"})})]})]})}),(0,Z.jsxs)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile-user-info__spam",children:[(0,Z.jsx)(u.Z,{tagName:"h4",id:"settings.profile.spam"}),(0,Z.jsx)(u.Z,{id:"settings.spam.".concat(x.spam,".label")}),(0,Z.jsx)(f.Z,{isSecondary:x.spam,onClick:function(){return N(!x.spam)},children:(0,Z.jsx)(u.Z,{id:"settings.spam.".concat(x.spam,".change")})})]}),(0,Z.jsx)("div",{className:"jsx-".concat(ye.__hash)+" settings-profile__delete",children:(0,Z.jsx)("span",{className:"jsx-".concat(ye.__hash)+" account-delete",children:(0,Z.jsx)(b.Z,{action:function(){return(0,g.d8)("userDeleted",!0),void d()},buttonClass:"account-delete",iconMain:(0,Z.jsx)(u.Z,{id:"account.delete.label"}),iconActive:(0,Z.jsx)(u.Z,{id:"account.delete.label"}),textKey:"account.delete.label",primaryBtn:"account.delete.button"})})})]}),(0,Z.jsx)(p(),{id:ye.__hash,children:ye})]})};Oe.defaultProps={isAdmin:!1,getLvEIDAuthLink:null};var Pe=Oe,Ee=n(19549),Se=n(28206),Ce=n(52135),Le=(n(25728),n(92188)),We=[".notification-item.jsx-2006967374{border:1px solid ".concat(v.O9.grey3,";border-radius:2px;padding:").concat(v.W0.l,";margin-top:20px;}"),".notification-item__header.jsx-2006967374{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".notification-item__actions.jsx-2006967374{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-top:-".concat(v.W0.xs,";}"),".notification-item__actions.jsx-2006967374>*{margin-left:".concat(v.W0.s,";}"),".notification-item__content.jsx-2006967374>.tag{margin:".concat(v.W0.xs," ").concat(v.W0.xs," 0 0;}")];We.__hash="2006967374";var De=We;function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){(0,x.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me=function(e){return(0,Z.jsx)("svg",Ae(Ae({},e),{},{children:(0,Z.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,Z.jsx)("path",{stroke:"#EC2359",d:"m1.537 4.5.929 13h9.068l.929-13H1.537z"}),(0,Z.jsx)("path",{fill:"#EC2359",d:"M6 0h3v2h5v1H0V2h5V0h1zm0 1v1h2V1H6z"})]})}))};Me.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"18"};var Ie=function(e){return(0,Z.jsx)("svg",Ae(Ae({},e),{},{children:(0,Z.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,Z.jsx)("path",{fill:"#EC2359",d:"M6 0h3v2h5v1H0V2h5V0h1zm0 1v1h2V1H6zM1 4h12l-1 14H2L1 4z"}),(0,Z.jsx)("path",{stroke:"#EC2359",d:"M-5-3h24v24H-5z"})]})}))};Ie.defaultProps={width:"14",height:"18",xmlns:"http://www.w3.org/2000/svg"};var Te=function(e){var t=e.locations,n=e.item,a=e.edit,i=e.unsubscribe;return(0,Z.jsxs)("div",{className:"jsx-".concat(De.__hash)+" notification-item",children:[(0,Z.jsxs)("div",{className:"jsx-".concat(De.__hash)+" notification-item__header",children:[(0,Z.jsx)("h2",{className:"jsx-".concat(De.__hash),children:(0,r.uJ)(n.dateCreated)}),(0,Z.jsxs)("div",{className:"jsx-".concat(De.__hash)+" notification-item__actions",children:[(0,Z.jsx)(m.Z,{onClick:a,children:(0,Z.jsx)(u.Z,{id:"notification.item.edit"})}),(0,Z.jsx)(b.Z,{iconMain:(0,Z.jsx)(Me,{}),iconActive:(0,Z.jsx)(Ie,{}),action:function(){return i(n.uuid)}})]})]}),(0,Z.jsxs)("div",{className:"jsx-".concat(De.__hash)+" notification-item__content",children:[n.keywords&&n.keywords.map((function(e,t){return(0,Z.jsx)(Le.Z,{clear:!0,children:e},t)})),n.categories&&n.categories.map((function(e){return(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"workCategory.".concat(e,".label")})},e)})),n.languages&&n.languages.map((function(e){return(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"language.".concat(e,".title")})},e)})),n.workTimes&&n.workTimes.map((function(e){return(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"workTime.".concat(e,".label")})},e)})),n.remoteWorkTypes&&n.remoteWorkTypes.filter((function(e){return"ON_SITE"!==e})).map((function(e){return(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"HYBRID"===e?"searchForm.locations.hybrid":"searchForm.locations.fully.remote"})},e)})),n.isQuickApply&&(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"searchForm.quick.apply"})},"isQuickApply"),n.locations&&n.locations.map((function(e,n){var a=e.townId,i=e.countyId,s=e.countryId;if(a){var o=t.towns.find((function(e){return e.id===a}));if(o)return(0,Z.jsx)(Le.Z,{clear:!0,children:o.name},n)}if(i){var c=t.counties[i];if(c)return(0,Z.jsx)(Le.Z,{clear:!0,children:c.name},n)}if(s){var r=t.countries[s];if(r)return(0,Z.jsx)(Le.Z,{clear:!0,children:(0,Z.jsx)(u.Z,{id:"country.".concat(r.iso,".label")})},n)}return null})),n.salaryFrom&&(0,Z.jsxs)(Le.Z,{clear:!0,children:[(0,Z.jsx)(u.Z,{id:"searchFilter.salaryFrom.label",values:{value:n.salaryFrom}}),n.isHourlySalary&&(0,Z.jsx)(u.Z,{id:"vacancyItem.salary.hourly"})]},"salaryFrom")]}),(0,Z.jsx)(p(),{id:De.__hash,children:De})]})},ze=n(11163),Re=[".notifications.jsx-1767306335{margin-top:20px;}",".notifications-title.jsx-1767306335{height:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:end;
1-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".notifications-button{display:-webkit-box !important;display:-webkit-flex !important;display:-ms-flexbox !important;display:flex !important;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".notifications-button > svg{margin-bottom:2px;margin-right:5px;}",".notifications-button:hover path{fill:".concat(v.O9.activeGreen,";}"),".notifications-content.jsx-1767306335{border:1px solid ".concat(v.O9.grey3,";border-radius:2px;padding:").concat(v.W0.l,";margin-top:20px;}"),"@media screen and (max-width:".concat(v.J7.desktopCutoff,"){.notifications-title.jsx-1767306335{padding:0 ").concat(v.W0.s,";}}")];Re.__hash="1767306335";var He=Re;function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){(0,x.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be=function(e){return(0,Z.jsx)("svg",Ve(Ve({},e),{},{children:(0,Z.jsx)("path",{d:"M8 15c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7m.5-7.5V5h-1v2.5H5v1h2.5V11h1V8.5H11v-1H8.5zM8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z",fillRule:"evenodd"})}))};Be.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var Je=function(e){var t=(0,i.useState)(!1),n=t[0],a=t[1],s=(0,i.useState)(null),o=s[0],c=s[1],r=function(){a(!0)},l=function(){a(!1),c(null)},d=function(t){e.deleteAlert(t,"unsubscribe.success",!0)},h=e.notifications,x=e.intl,g=e.locations,b=e.availableLanguages,_=e.categories,j=e.saveAlert,y=e.analytics,w=e.user,v=(0,ze.useRouter)();return(0,Z.jsxs)("div",{className:"jsx-".concat(He.__hash)+" notifications",children:[(0,Z.jsx)("div",{className:"jsx-".concat(He.__hash)+" notifications-title hide-desktop",children:(0,Z.jsx)(f.Z,{onClick:r,isSecondary:!0,isFullWidth:!0,children:(0,Z.jsx)(u.Z,{id:"notifications.add.new"})})}),(0,Z.jsx)("div",{className:"jsx-".concat(He.__hash)+" notifications-title hide-mobile",children:(0,Z.jsxs)(m.Z,{onClick:r,className:"notifications-button",children:[(0,Z.jsx)(Be,{}),(0,Z.jsx)(u.Z,{id:"notifications.add.new"})]})}),h.length<1?(0,Z.jsx)("div",{className:"jsx-".concat(He.__hash)+" notifications-content",children:(0,Z.jsx)(Se.Z,{titleKey:"notifications.none.title",textKey:"notifications.none.text",actionKey:"notifications.create",action:r})}):h.map((function(e){return(0,Z.jsx)(Te,{locations:g,item:e,edit:function(){return t=e,a(!0),void c(t);var t},unsubscribe:d},e.id)})),(0,Z.jsx)(Ee.Z,{isOpen:n,onClose:l,isMaxHeight:!0,children:(0,Z.jsx)(Ce.Z,{notification:o,handleCloseModal:l,saveAlert:j,locations:g,availableLanguages:b,categories:_,intl:x,analytics:y,user:w,router:v})}),(0,Z.jsx)(p(),{id:He.__hash,children:He})]})},qe=n(48559),Ke=[".settings-page__content{border:1px solid ".concat(v.O9.grey3,";border-radius:2px;padding:").concat(v.W0.l,";margin-top:70px;}"),".settings-page__content--with-button{margin-top:20px;}",".settings-page__content-title{margin-top:20px;height:30px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".settings-page__content-button{display:-webkit-box !important;display:-webkit-flex !important;display:-ms-flexbox !important;display:flex !important;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}",".settings-page__content-button > svg{margin-bottom:2px;margin-right:5px;}
1",".settings-page__content-button:hover path{fill:".concat(v.O9.activeGreen,";}"),".settings-page__content--beedu{padding:".concat(v.W0.m,";}"),".settings-page__sidebar{top:120px;padding:0;border:1px solid ".concat(v.O9.grey3,";border-radius:2px;}"),".react-tabs__tab--mod{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-bottom:1px solid ".concat(v.O9.grey3,";position:relative;list-style:none;padding:0;cursor:pointer;font-size:16px;}"),"li:last-child{border-bottom:none;}",".react-tabs__tab--selected-mod{background-color:rgba(47,141,252,0.2);}",".react-tabs__tab-list--mod{margin:0;padding:0;}",".tab-name{padding:16px 24px;}","@media screen and (max-width:".concat(v.J7.desktopCutoff,"){.settings-page__sidebar{border:1px solid ").concat(v.O9.grey3,";}.settings-page__content{border:0px;padding:0 ").concat(v.W0.m,";margin-top:0;}.react-tabs__hide{display:none;}}")];Ke.__hash="4204650005";var $e=Ke,Ge=(n(76801),n(43843),n(86361)),Xe=[".blocked-employers.jsx-1042943041{border:1px solid ".concat(v.O9.grey3,";border-radius:2px;padding:").concat(v.W0.l,";margin-top:70px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}"),".blocked-employers__title.jsx-1042943041{color:".concat(v.O9.secondary,";margin-top:").concat(v.W0.m,";}"),".blocked-employers__item.jsx-1042943041{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:".concat(v.W0.xs," 0;}"),".blocked-employers__item.jsx-1042943041:not(:last-of-type){border-bottom:1px solid ".concat(v.O9.grey3,";}"),".blocked-employers__spinner.jsx-1042943041{width:100%;min-height:200px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}","@media screen and (max-width:".concat(v.J7.desktopCutoff,"){.blocked-employers.jsx-1042943041{padding:0 ").concat(v.W0.s,";margin:0;border:0;}}")];Xe.__hash="1042943041";var Ye=Xe;function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){(0,x.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tt=function(e){return(0,Z.jsx)("svg",et(et({},e),{},{children:(0,Z.jsx)("path",{fillRule:"evenodd",d:"M8 15c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7m0-7.707L6.232 5.525l-.707.707L7.293 8 5.525 9.768l.707.707L8 8.707l1.768 1.768.707-.707L8.707 8l1.768-1.768-.707-.707L8 7.293zM8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z"})}))};tt.defaultProps={width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg"};var nt=function(e){var t=(0,i.useState)(!1),n=t[0],a=t[1],s=e.allowedEmployers,o=e.blockedEmployers,c=e.blockEmployer,r=e.unblockEmployer,l=e.getAllowedEmployers;(0,i.useEffect)((function(){(s||o)&&a(!0)}),[s,o]);var d=null,h=(0,i.useMemo)((function(){return function(e){clearTimeout(d),d=setTimeout((function(){l(e,0,25)}),1e3)}}),[l]);if(!n)return(0,Z.jsxs)("div",{className:"jsx-".concat(Ye.__hash)+" blocked-employers",children:[(0,Z.jsx)("div",{className:"jsx-".concat(Ye.__hash)+" blocked-employers__spinner",children:(0,Z.jsx)(Ge.Z,{size:"16px"})}),(0,Z.jsx)(p(),{id:Ye.__hash,children:Ye})]});var x=o&&Object.keys(o).length>0,f=Object.keys(o||{});return(0,Z.jsxs)("div",{className:"jsx-".concat(Ye.__hash)+" blocked-employers",children:[s&&(0,Z.jsx)(j.Z,{name:"employerId",ignoreAccents:!1,component:U.Z,options:Object.keys(s).filter((function(e){return!f.includes(e)})).map((function(e){return{value:e,label:s[e]}})),showOptionsFrom:2,showItems:!0,displayedSelection:!0,displayedSelectionplaceholder:(0,Z.jsx)(u.Z,{id:"blocked.employers.select.company"}),onChange:function(e){return c(e)},handleInputChange:function(e){return h(e)}}),x&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("h2",{className:"jsx-".concat(Ye.__hash)+" blocked-employers__title",children:(0,Z.jsx)(u.Z,{id:"blocked.employers.title"})}),Object.keys(o).map((function(e){return(0,Z.jsxs)("div",{className:"jsx-".concat(Ye.__hash)+" blocked-employers__item",children:[o[e],(0,Z.jsx)(m.Z,{onClick:function(){return r(e)},children:(0,Z.jsx)(tt,{})})]},e)}))]}),(0,Z.jsx)(p(),{id:Ye.__hash,children:Ye})]})};nt.defaultProps={blockedEmployers:null,allowedEmployers:null};var at={form:"block-form",enableReinitialize:!0,keepDirtyOnReinitialize:!1,onSubmitFail:function(e){console.warn("form submit fail",e)}},it=(0,y.Z)(at)(nt),st=function(e){var t=e.changePassword,n=e.changeLanguage,a=e.changeName,i=e.changePhone,s=e.changePhoto,o=e.changeEmail,c=e.settings,r=e.user,l=e.intl,d=e.startMidAttach,h=e.attachIDCard,x=e.requestNewPassword,f=e.isForgotPasswordSent,m=e.resetPasswordIsLoading,g=e.locations,b=e.availableLanguages,_=e.categories,j=e.saveAlert,y=e.deleteAlert,w=e.notifications,v=e.blockedEmployers,k=e.allowedEmployers,N=e.blockEmployer,O=e.unblockEmployer,P=e.getAllowedEmployers,E=e.deleteUser,S=e.updateSpam,C=e.analytics,L=e.getLvEIDAuthLink,W=[{id:"profile",buttonLabel:(0,Z.jsx)(u.Z,{id:"settings.profile.label"}),content:(0,Z.jsxs)("div",{className:"jsx-".concat($e.__hash)+" settings-page__content",children:[(0,Z.jsx)(Pe,{isAdmin:"ADMIN"===r.userType,deleteUser:E,changePassword:t,changeLanguage:n,changeName:a,changePhone:i,changePhoto:s,changeEmail:o,requestNewPassword:x,settings:c,user:r,intl:l,startMidAttach:d,attachIDCard:h,isForgotPasswordSent:f,resetPasswordIsLoading:m,updateSpam:S,getLvEIDAuthLink:L}),(0,Z.jsx)(p(),{id:$e.__hash,children:$e})]})}],D=[{id:"notifications",buttonLabel:(0,Z.jsx)(u.Z,{id:"settings.new.job.alerts"}),content:(0,Z.jsx)(Je,{intl:l,notifications:w,locations:g,availableLanguages:b,categories:_,saveAlert:j,deleteAlert:y,user:r,analytics:C})},{id:"blocked",buttonLabel:(0,Z.jsx)(u.Z,{id:"settings.blocked.employers"}),content:(0,Z.jsx)(it,{getAllowedEmployers:P,blockedEmployers:v,allowedEmployers:k,blockEmployer:N,unblockEmployer:O})}],F="SEEKER"!==r.userType?W:W.concat(D);return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("div",{className:"jsx-".concat($e.__hash)+" settings-page",children:(0,Z.jsx)(qe.Z,{items:F,pageLabel:(0,Z.jsx)(u.Z,{id:"settings.title"})})}),(0,Z.jsx)(p(),{id:$e.__hash,children:$e})]})};st.defaultProps={blockedEmployers:null,allowedEmployers:null,getLvEIDAuthLink:null};var ot=st,ct=n(29803),rt=n(52444),lt=n(56926),dt=n(26692),ht=n(59720),pt=n(99733),ut=n(86896),xt=function(e){var t=e.settings,n=e.locations,o=e.availableLanguages,h=e.categories,p=e.notifications,u=e.alma,x=(0,ze.useRouter)(),f=(0,ut.Z)(),m=(0,s.v9)((function(e){return e.authentication}));(0,i.useEffect)((function(){var t=x.query.page,n="";(null===t||void 0===t?void 0:t.length)>0&&(n=(0,a.Z)(t,1)[0]);switch(n){case"notifications":e.getLocations(),e.getAvailableLanguages(),e.getCategories(),e.getAlerts();break;case"blocked":e.getBlockedEmployers(),e.getAllowedEmployers("",0,25);break;default:e.getLoginMethods(),e.passwordExists(),e.getUserSpam(),"ADMIN"===m.user.userType&&e.getAdditionalAdminData()}}),[x]);var g=t.allowedEmployers,b=t.blockedEmployers,_={},j=m.user,y=m.isLoading,w=m.isForgotPasswordSent;return j.id||(_.data={errorType:"NOT_AUTHENTICATED"},_.statusCode=401),(0,Z.jsxs)(l.Z,{alma:u,intl:f,error:_,title:f.formatMessage({id:"seeker.settings.page.title"}),children:[(0,Z.jsx)(c(),{children:(0,Z.jsx)("meta",{name:"description",content:f.formatMessage({id:"description.".concat((0,r.ge)()),defaultMessage:"CV-Online"})})}),(0,Z.jsx)(d.Z,{noMobilePadding:!0,children:(0,Z.jsx)(ot,{changePassword:e.changePassword,changeLanguage:e.changeLanguage,changeName:e.changeName,changePhone:e.changePhone,changePhoto:e.changePhoto,changeEmail:e.changeEmail,requestNewPassword:e.requestNewPassword,settings:t,user:j,isForgotPasswordSent:w,resetPasswordIsLoading:y,intl:f,startMidAttach:e.startMidAttach,attachIDCard:e.attachIDCard,getLoginMethods:e.getLoginMethods,router:x,locations:n,availableLanguages:o,categories:h,saveAlert:e.saveAlert,deleteAlert:e.deleteAlert,deleteUser:e.deleteUser,notifications:p,blockedEmployers:b,allowedEmployers:g,blockEmployer:e.blockEmployer,unblockEmployer:e.unblockEmployer,getAllowedEmployers:e.getAllowedEmployers,updateSpam:e.updateSpam,analytics:pt.Z}
1)})]})};xt.defaultProps={categories:{},notifications:[]};var ft=!0,mt=(0,s.$j)((function(e){return{authentication:e.authentication,locations:e.locations,availableLanguages:e.common.availableLanguages,categories:e.common.categories,settings:e.settings,notifications:e.alerts.notifications}}),{changePassword:rt.Cp,changeLanguage:rt.D0,changeName:rt.eu,changePhone:rt.OW,changePhoto:rt.c6,changeEmail:rt.Uk,getLoginMethods:rt.$u,startMidAttach:rt.Cr,attachIDCard:rt.fO,requestNewPassword:ct.hH,saveAlert:ht.M$,deleteAlert:ht.yo,getBlockedEmployers:rt.tR,getAllowedEmployers:rt.ii,blockEmployer:rt.G3,unblockEmployer:rt.vM,deleteUser:rt.h8,getUserSpam:rt.us,updateSpam:rt.UK,passwordExists:rt.X8,getLocations:lt.J,getAvailableLanguages:dt.Bz,getCategories:dt.CP,getAlerts:ht.sM,getAdditionalAdminData:rt.fm})(xt)},85449:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/[[...page]]",function(){return n(91091)}])}},function(e){e.O(0,[3157,9723,1640,9298,6199,9774,2888,179],(function(){return t=85449,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.