1"use strict";(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[35],{1196:function(e,a,n){n.r(a);var s=n(1855),r=(n(1),n(21),n(0)),c=n(1841),t=n(1842),o=n(1865),u=n(96),f=n(12),i=n(2),m=n(3),d=n(756),h="SUCCESS",l="FAIL",w=(0,c.vU)({success:{id:"email_confirmation.success",defaultMessage:"Your email has been confirmed!"}}),g=new URLSearchParams(window.location.search).get("confirmation_token");a.default=function(){var e=(0,t.Z)(),a=(0,m.TL)(),n=r.useState("IDLE"),c=n[0],k=n[1];return r.useEffect((function(){g&&a((0,u.dw)(g)).then((function(){k(h),a(f.ZP.success(e.formatMessage(w.success)))})).catch((function(e){if(k(l),e.response.data.error){var n=(0,d.b)(e.response.data.error);a(f.ZP.error(n))}}))}),[g]),g&&c!==h&&c!==l?(0,s.Z)(i.$j,{}):(0,s.Z)(o.l_,{to:"/"})}}}]); 2//# sourceMappingURL=email_confirmation-a227da8c1b8153fc83a4.chunk.js.map
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.