PageSourceSearch

https://participa.minmineria.gob.cl/assets/Error.6m5YxTCA.chunk.js

js minmineria.gob.cl collected 2026-09-24 20:21:38 UTC 19,431 bytes, 90 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`826070`}}catch{}})();import{o as e}from"./chunk.CstErfI3.chunk.js";import{t}from"./react.DiunOz6f.chunk.js";import{E as n,j as r,n as i,o as a}from"./cl-intl.CZ-AK7iB.chunk.js";import{t as o}from"./jsx-runtime.DUeDyexA.chunk.js";import{N as s}from"./prop-types.BVr0g48j.chunk.js";import{$ as c,Et as l,Rt as u,Z as d,at as f,ht as p,lt as m}from"./component-library.DhAF4owQ.chunk.js";import{t as h}from"./uniqBy.CO_Z-_Jk.chunk.js";import{a as g,n as _}from"./Svg.BhtP_PRh.chunk.js";import{r as v,t as y}from"./useIdMethods.D9WiMOPE.chunk.js";var b=e(t()),x=n({blank:{id:`app.errors.generics.blank`,defaultMessage:`This field cannot be empty.`},invalid:{id:`app.errors.generics.invalid`,defaultMessage:`This field contains an invalid value.`},unsupported_locales:{id:`app.errors.generics.unsupported_locales`,defaultMessage:`This field does not support the current locale.`},taken:{id:`app.errors.generics.taken`,defaultMessage:`This field should be unique. Another instance with the same value already exists.`},locale_blank:{id:`app.errors.locale_blank`,defaultMessage:`Please choose a language`},locale_inclusion:{id:`app.errors.locale_inclusion`,defaultMessage:`Please choose a supported language`},too_short:{id:`app.errors.too_short`,defaultMessage:`Must be at least 8 characters long`},too_long:{id:`app.errors.too_long`,defaultMessage:`Please choose a shorter password (max 72 characters)`},too_common:{id:`app.errors.too_common`,defaultMessage:`This password can be easily guessed. Please choose a stronger password.`},too_weak:{id:`app.errors.too_weak`,defaultMessage:`This password can be easily guessed. Please choose a stronger password, for example by making it longer or using several unrelated words.`},confirmation_code_invalid:{id:`app.errors.confirmation_code_invalid`,defaultMessage:`Wrong code. Please check your email for the correct code or try 'Send New Code'`},confirmation_code_expired:{id:`app.errors.confirmation_code_expired`,defaultMessage:`Code expired. Please resend a new code.`},confirmation_code_too_many_retries:{id:`app.errors.confirmation_code_too_many_retries`,defaultMessage:`You've tried too many times. Please resend a code or try changing your email.`},confirmation_code_too_many_resets:{id:`app.errors.confirmation_code_too_many_resets`,defaultMessage:`You've resent the confirmation code too many times. Please contact us to receive an invitation code instead.`},resending_code_failed:{id:`app.errors.resending_code_failed`,defaultMessage:`Something went wrong while sending out the confirmation code.`},after_end_at:{id:`app.errors.after_end_at`,defaultMessage:`The start date occurs after the end date`},key_invalid:{id:`app.errors.key_invalid`,defaultMessage:`The key can only contain letters, numbers and underscores(_)`},unparseable_excel:{id:`app.errors.unparseable_excel`,defaultMessage:`The selected Excel file could not be processed.`},max_invites_limit_exceeded:{id:`app.errors.max_invites_limit_exceeded1`,defaultMessage:`The number of invitations exceeds the limit of 1000.`},no_invites_specified:{id:`app.errors.no_invites_specified`,defaultMessage:`Could not find any email addresses.`},unexpected_invite_error:{id:`app.errors.unexpected_invite_error`,defaultMessage:`Something went wrong while processing your invitations. Check the "All invitations" tab before trying again.`},unexpected_seats_count_error:{id:`app.errors.unexpected_seats_count_error`,defaultMessage:`Something went wrong while checking how many seats these invitations need. No invitations were sent. Please try again.`},unknown_group:{id:`app.errors.unknown_group`,defaultMessage:`The group {value} found in row {row} is not a known group`},malformed_admin_value:{id:`app.errors.malformed_admin_value`,defaultMessage:`The admin value {value} found in row {row} is not valid`},malformed_groups_value:{id:`app.errors.malformed_groups_value`,defaultMessage:`The group {value} found in row {row} is not a valid group`},unknown_locale:{id:`app.errors.unknown_locale`,defaultMessage:`The language {value}
1 found in row {row} is not a configured language`},invalid_email:{id:`app.errors.invalid_email`,defaultMessage:`The email {value} found in row {row} is not a valid email address`},invalid_row:{id:`app.errors.invalid_row`,defaultMessage:`An unknown error occured while trying to process row {row}`},email_already_invited:{id:`app.errors.email_already_invited`,defaultMessage:`The email address {value} found in row {row} was already invited`},email_already_active:{id:`app.errors.email_already_active`,defaultMessage:`The email address {value} found in row {row} already belongs to a registered user`},emails_duplicate:{id:`app.errors.emails_duplicate`,defaultMessage:`One or more duplicate values for the email address {value} were found in the following row(s): {rows}`},email_banned:{id:`app.errors.email_banned`,defaultMessage:`The email address {value} found in row {row} has been banned and cannot be invited`},invalid_first_name:{id:`app.errors.invalid_first_name`,defaultMessage:`First name {value} in row {row} is not valid`},invalid_last_name:{id:`app.errors.invalid_last_name`,defaultMessage:`Last name {value} in row {row} is not valid`},is_not_timeline_project:{id:`app.errors.is_not_timeline_project`,defaultMessage:`The current project does not support phases.`},has_other_overlapping_phases:{id:`app.errors.has_other_overlapping_phases`,defaultMessage:`Projects cannot have overlapping phases.`},group_ids_unauthorized_choice_moderator:{id:`app.errors.group_ids_unauthorized_choice_moderator`,defaultMessage:`As a project moderator, you can only email to people that can access your project(s)`},file_extension_whitelist_error:{id:`app.errors.file_extension_whitelist_error`,defaultMessage:`The format of the file you tried to upload is not supported.`},extension_whitelist_error:{id:`app.errors.extension_whitelist_error`,defaultMessage:`The format of the file you tried to upload is not supported.`},cant_change_after_first_response:{id:`app.errors.cant_change_after_first_response`,defaultMessage:`You can no longer change this, since some users already responded`},cannot_contain_ideas:{id:`app.errors.cannot_contain_ideas`,defaultMessage:`The participation method you selected does not support this type of input. Please edit your selection and try again.`},has_inputs:{id:`app.errors.has_inputs`,defaultMessage:`You cannot change the participation method because this phase already has inputs. Please remove all inputs first.`},slug_taken:{id:`app.errors.slug_taken`,defaultMessage:`This URL already exists. Please change the slug to something else.`},avatar_extension_whitelist_error:{id:`app.errors.avatar_extension_whitelist_error`,defaultMessage:`The file extension of the avatar image is not allowed. Allowed extensions are: jpg, jpeg, gif and png.`},avatar_extension_blacklist_error:{id:`app.errors.avatar_extension_blacklist_error`,defaultMessage:`The file extension of the avatar image is not allowed. Allowed extensions are: jpg, jpeg, gif and png.`},avatar_carrierwave_processing_error:{id:`app.errors.avatar_carrierwave_processing_error`,defaultMessage:`Could not process avatar.`},avatar_carrierwave_integrity_error:{id:`app.errors.avatar_carrierwave_integrity_error`,defaultMessage:`Avatar file is not of an allowed type.`},avatar_carrierwave_download_error:{id:`app.errors.avatar_carrierwave_download_error`,defaultMessage:`Could not download avatar file.`},token_invalid:{id:`app.errors.token_invalid`,defaultMessage:`Password reset links can only be used once and are valid for one hour after being sent. {passwordResetLink}.`},title_multiloc_blank:{id:`app.errors.title_multiloc_blank`,defaultMessage:`The title cannot be empty.`},email_taken:{id:`app.errors.email_taken`,defaultMessage:`This email is already taken. Please try another one.`},email_taken_by_invite:{id:`app.errors.email_taken_by_invite`,defaultMessage:`{value} is already taken by a pending invite. Check your spam folder or contact {supportEmail} if you can't find it.`},email_invalid:{id:`app.errors.email_invalid`,defaultMessage:`Please use a valid email address.`},email_domain_blacklisted:{id:`app.errors.email_domain_blacklisted`,defaultMessage:`Please use a different email domain to register.`},email_blank:{id:`app.errors.email_blank`,defaultMessage:`Please enter your email address`},email_sso_enforced_for_domain:{id:`app.errors.email_sso_enforced_for_domain`,defaultMessage:`You must sign in using single sign-on (SSO) for this email domain.`},first_name_blank:{id:`app.errors.first_name_blank`,defaultMessage:`Please enter your first name`},last_name_blank:{id:`app.errors.last_name_blank`,defaultMessage:`Please enter your last name`},password_blank:{id:`app.errors.password_blank`,defaultMessage:`Please enter a password`},password_too_short:{id:`app.errors.password_too_short`,defaultMessage:`The password must be at least 8 characters long`}
1,current_password_invalid:{id:`app.errors.password_invalid`,defaultMessage:`Please check your current password again.`},view_name_taken:{id:`app.errors.view_name_taken`,defaultMessage:`A view with this name already exists`},category_name_taken:{id:`app.errors.category_name_taken`,defaultMessage:`A category with this name already exists`},tag_name_taken:{id:`app.errors.tag_name_taken`,defaultMessage:`A tag with this name already exists`},bulk_import_maximum_ideas_exceeded:{id:`app.errors.bulk_import_maximum_ideas_exceeded`,defaultMessage:`The maximum of {value} ideas has been exceeded.`},bulk_import_malformed_pdf:{id:`app.errors.bulk_import_malformed_pdf`,defaultMessage:`The uploaded PDF file appears to be malformed. Try exporting the PDF again from your source and then upload again.`},bulk_import_pdf_parsing_timeout:{id:`app.errors.bulk_import_pdf_parsing_timeout`,defaultMessage:`The uploaded PDF is taking too long to process. Try exporting the PDF again from your source and then upload again.`},bulk_import_maximum_pdf_pages_exceeded:{id:`app.errors.bulk_import_maximum_pdf_pages_exceeded`,defaultMessage:`The maximum of {value} pages in a PDF has been exceeded.`},bulk_import_idea_not_valid:{id:`app.errors.bulk_import_idea_not_valid`,defaultMessage:`The resulting idea is not valid: {value}.`},bulk_import_publication_date_invalid_format:{id:`app.errors.bulk_import_publication_date_invalid_format`,defaultMessage:`Idea with invalid publication date format "{value}". This issue occurs in the row with ID {row}.`},bulk_import_location_point_blank_coordinate:{id:`app.errors.bulk_import_location_point_blank_coordinate`,defaultMessage:`Idea location with a missing coordinate in {value}. This issue occurs in the row with ID {row}.`},bulk_import_location_point_non_numeric_coordinate:{id:`app.errors.bulk_import_location_point_non_numeric_coordinate`,defaultMessage:`Idea location with a non-numeric coordinate in {value}. This issue occurs in the row with ID {row}.`},bulk_import_image_url_not_valid:{id:`app.errors.bulk_import_image_url_not_valid`,defaultMessage:`No image could be downloaded from {value}. Make sure the URL is valid and ends with a file extension such as .png or .jpg. This issue occurs in the row with ID {row}.`},bulk_import_not_enough_pdf_pages:{id:`app.errors.bulk_import_not_enough_pdf_pages`,defaultMessage:`The uploaded PDF does not have enough pages - it should have at least the same number of pages as the downloaded template.`},bulk_import_pdf_pages_not_divisible:{id:`app.errors.bulk_import_pdf_pages_not_divisible`,defaultMessage:`The total number of pages in the PDF must be evenly divisible by the specified number of pages per form.`},bulk_import_user_not_valid:{id:`app.errors.bulk_import_user_not_valid`,defaultMessage:`A user could not be created from the import data: {value}. This issue occurs in the row with ID {row}.`},uncaught_error:{id:`app.errors.uncaught_error`,defaultMessage:`An unknown error occurred.`},banner_cta_signed_in_text_multiloc_blank:{id:`app.errors.banner_cta_signed_in_text_multiloc_blank`,defaultMessage:`Enter a button text.`},banner_cta_signed_in_url_blank:{id:`app.errors.banner_cta_signed_in_url_blank`,defaultMessage:`Enter a link.`},banner_cta_signed_in_url_url:{id:`app.errors.banner_cta_signed_in_url_url`,defaultMessage:`Enter a valid link. Make sure the link starts with 'https://'.`},banner_cta_signed_out_text_multiloc_blank:{id:`app.errors.banner_cta_signed_out_text_multiloc_blank`,defaultMessage:`Enter a button text.`},banner_cta_signed_out_url_blank:{id:`app.errors.banner_cta_signed_out_url_blank`,defaultMessage:`Enter a link.`},banner_cta_signed_out_url_url:{id:`app.errors.banner_cta_signed_out_url_url`,defaultMessage:`Enter a valid link. Make sure the link starts with 'https://'.`},banner_cta_button_multiloc_blank:{id:`app.errors.banner_cta_button_multiloc_blank`,defaultMessage:`Enter a button text.`},banner_cta_button_url_blank:{id:`app.errors.banner_cta_button_url_blank`,defaultMessage:`Enter a link.`},banner_cta_button_url_url:{id:`app.errors.banner_cta_button_url_url`,defaultMessage:`Enter a valid link. Make sure the link starts with 'https://'.`},url:{id:`app.errors.url`,defaultMessage:`Enter a valid link. Make sure the link starts with https://`},maximum_attendees_greater_than_attendees_count:{id:`app.errors.maximum_attendees_greater_than_attendees_count1`,defaultMessage:`The maximum number of registrants must be greater than or equal to the current number of registrants.`},maximum_attendees_greater_than:{id:`app.errors.maximum_attendees_greater_than1`,defaultMessage:`The maximum number of registrants must be greater than 0.`},title_multiloc_includes_banned_words:{id:`app.errors.title_multiloc_includes_banned_words`,defaultMessage:`The title contains words that are considered inappropriate.`},body_multiloc_includes_banned_words:{id:`app.errors.body_multiloc_includes_banned_words`,defaultMessage:`The description contains words that are considered inappropriate.`},no_recipients:{id:`app.errors.no_recipients`,defaultMessage:`The campaign can't be sent out because there are no recipients. The group you're sending to is either empty, or nobody has consented to receiving emails.`},insufficient_sms_balance:{id:`app.errors.insufficient_sms_balance`,defaultMessage:`There are not enough SMS credits left to send this message. To purchase more credits, contact your GovSuccess Manager.`},sms_not_configured:{id:`app.errors.sms_not_configured`,defaultMessage:`Some of the SMS configuration is missing. Contact your GovSuccess Manager to have it completed.`},no_previewer_phone:{id:`app.errors.no_previewer_phone`,defaultMessage:`A preview goes to your own phone. Add a phone number to your profile first.`},verification_taken:{id:`app.errors.verification_taken`,defaultMessage:`Verification cannot be completed as another account has been verified using the same details.`},number_invalid:{id:`app.errors.number_invalid`,defaultMessage:`Please enter a valid number.`},base_includes_banned_words:{id:`app.errors.base_includes_banned_words`,defaultMessage:`You may have used one or more words that are considered profanity. Please alter your text to remove any profanities that might be present.`},something_went_wrong:{id:`app.errors.something_went_wrong`,defaultMessage:`Something went wrong. Please contact us if the problem persists.`},duration_too_short:{id:`app.errors.phase_too_short`,defaultMessage:`The phase is too short. It must be at least 24 hours.`},new_phone_blank:{id:`app.errors.new_phone_blank`,defaultMessage:`Please enter your phone number.`},new_phone_invalid:{id:`app.errors.new_phone_invalid`,defaultMessage:`Please enter a valid phone number.`},new_phone_taken:{id:`app.errors.new_phone_taken`,defaultMessage:`This phone number is already taken. Please try another one.`},file_too_large:{id:`app.errors.file_too_large`,defaultMessage:`"{value}" is too large. The maximum file size is {max_size_mb} MB. Please remove it and upload a smaller file.`}}),S=o(),C=350,w=g.div`
2  flex: 1 1 100%;
3  color: ${c.red600};
4  font-size: ${f.base}px;
5  line-height: normal;
6  font-weight: 400;
7
8  a {
9    color: ${c.red600};
10    font-weight: 500;
11    text-decoration: underline;
12
13    &:hover {
14      color: ${p(.2,c.red600)};
15      text-decoration: underline;
16    }
17  }
18
19  strong {
20    font-weight: 500;
21  }
22`,T=g(d)`
23  flex: 0 0 24px;
24  fill: ${c.red600};
25  padding: 0px;
26  margin: 0px;
27  margin-right: 10px;
28
29  ${m`
30    margin-right: 0;
31    margin-left: 10px;
32  `}
33`,E=g.div`
34  display: flex;
35  align-items: center;
36  justify-content: space-between;
37  padding: 0px 13px;
38  border-radius: ${e=>e.theme.borderRadius};
39  background: ${c.errorLight};
40  background: ${e=>
40e.showBackground?c.errorLight:`transparent`};
41
42  ${m`
43    flex-direction: row-reverse;
44 `}
45`,D=g.div`
46  position: relative;
47  overflow: hidden;
48
49  ${E} {
50    margin-top: ${e=>e.marginTop};
51    margin-bottom: ${e=>e.marginBottom};
52  }
53
54  &.error-enter {
55    max-height: 0px;
56    opacity: 0;
57
58    &.error-enter-active {
59      max-height: 60px;
60      opacity: 1;
61      transition: max-height ${C}ms cubic-bezier(0.165, 0.84, 0.44, 1),
62        opacity ${C}ms cubic-bezier(0.165, 0.84, 0.44, 1);
63    }
64  }
65
66  &.error-exit {
67    max-height: 100px;
68    opacity: 1;
69
70    &.error-exit-active {
71      max-height: 0px;
72      opacity: 0;
73      transition: max-height ${C}ms cubic-bezier(0.19, 1, 0.22, 1),
74        opacity ${C}ms cubic-bezier(0.19, 1, 0.22, 1);
75    }
76  }
77`,O=g.ul`
78  list-style: none;
79  padding: 0;
80  margin: 0;
81`,k=g.li`
82  display: flex;
83  align-items: flex-start;
84`,A=g.span`
85  font-size: ${f.xl}px;
86  font-weight: 500;
87  line-height: ${f.base}px;
88  margin-right: 8px;
89`,j=(e,t)=>{if(e&&x[`${e}_${t}`])return x[`${e}_${t}`];if(x[t])return x[t]},M=(e,t)=>{let n=e.payload??null,r=e?.inviter_email??t?.data.attributes.settings.core.reply_to_email,i={row:e.row??``,rows:e.rows?.join(`, `)??``,value:e.value??``,supportEmail:r??``,ideasCount:e.ideas_count??``};return n?{...n,...i}:i},N=(e,t,n)=>{if(e===`sso_enforced_for_domain`)return t?n(t):void 0},P=e=>{let t=(0,b.useRef)(null),{data:n}=r(),{data:o}=y(),{formatMessage:d}=i(),f=a(),p=v(o)?.attributes.enforced_email_domain_error_multiloc,{text:m,apiErrors:g,fieldName:x,marginTop:P=`3px`,marginBottom:F=`0px`,showIcon:I=!0,showBackground:L=!0,className:R=``,animate:z=!0,id:B,scrollIntoView:V=!0,liveRegion:H}=e,U=H??!0;if((0,b.useEffect)(()=>{V&&t.current?.scrollIntoView&&t.current.scrollIntoView({behavior:`smooth`,block:`center`})},[V]),!n)return null;let W=g&&s(g)&&!u(g)?h(g,`error`):void 0;return(0,S.jsx)(l,{classNames:`error`,in:!!(m||g),timeout:C,mountOnEnter:!0,unmountOnExit:!0,enter:z,exit:z,children:(0,S.jsx)(D,{className:`e2e-error-message ${R}`,id:B,marginTop:P,marginBottom:F,role:U?`alert`:void 0,"data-testid":`error-message`,children:(0,S.jsxs)(E,{ref:t,showBackground:L,className:`${g&&g.length>1&&`isList`}`,children:[I&&(0,S.jsx)(T,{name:`alert-circle`,fill:c.error,"data-testid":`error-icon`}),(0,S.jsx)(w,{"data-testid":`error-message-text`,children:(0,S.jsxs)(_,{py:`16px`,children:[m,W&&s(W)&&!u(W)&&(0,S.jsx)(O,{children:W.map((e,t)=>{let r=j(x,e.error),i=M(e,n),a=N(e.error,p,f)||r&&d(r,i);return a?(0,S.jsxs)(k,{children:[W.length>1&&(0,S.jsx)(A,{"aria-hidden":!0,children:`•`}),a]},t):null})})]})})]})})})};export{x as i,j as n,M as r,P as t};
90//# sourceMappingURL=Error.6m5YxTCA.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.