@apolitical/component-library 8.9.2 → 8.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -33,7 +33,7 @@ Check the top-level render call using <`+Ce+">.")}return pe}}function Ge(V,pe){{
33
33
 
34
34
  Please explain why you're reporting this post. Reasons could include: inappropriate language, harassment, spam, hate speech, false information, among others. Include as much detail as you feel comfortable.
35
35
 
36
- Thank you for helping to protect the Apolitical community from abusive content.`,discussionFormCard_placeholder:"Create post",discussionFormCard_placeholder_long:"Write a post or ask a question...",discussionFormCard_overlay_title:"Discard post",discussionFormCard_overlay_text:"Are you sure you want to leave without posting? Changes you have made will not be saved.",discussionFormCard_overlay_cta_discard:"Discard",discussionFormCard_overlay_cta_continue:"Continue editing",discussion_form_postType_label:"Post type","discussion_form__postType_no-category":"Post",discussion_form_isAnonymous_label:"Post anonymously",discussion_form_isAnonymous_tooltip_content:"Your name, job title and profile picture will be hidden from other users. Only moderators can see your identity.",discussion_form_member_anonymous_infoMsg:"Your identity will be hidden",discussion_form_title:"Write your {action}",discussion_form_titleField_label:"Title",discussion_form_titleField_placeholder:"Write something...",discussion_form_titleField_error:"Please enter a title or a body for your post.",discussion_form_question_label:"Question",discussion_form_question_placeholder:"Question",discussion_form_option_label:"Options",discussion_form_option_placeholder:"Option {number}",discussion_form_option_cta:"Add option",discussion_form_multiplePollAnswers:"Allow multiple answers",discussion_form_placeholder:"Write a {action}...",discussion_form_label:"Body",discussion_form_label_action:"Your {action}",discussion_form_explainer:"Try to make your {action} specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_success:"Your {action} has been submitted.",discussion_form_post:"Create post",discussion_form_posting:"Posting...",discussion_form_save:"Save",discussion_form_saving:"Saving...",discussion_form_cancel:"Cancel",discussion_form_submitting:"Submitting...",discussion_form_placeholder_post:"Share a question, insight, or announcement with the community",discussion_form_error:"We are unable to process your {action} right now. Please try again later or contact us if the problem persists",discussion_form_error_tooLong:"Please keep your content to {maxLength, plural, one {1 character} other {# characters}}.",discussion_form_error_tooMany:"You have posted too many times in a row. Please wait and try again.",discussion_form_error_loggedOut:"Please log in to submit your {action}.",discussion_form_error_noPermission:"You do not have permission to {action}.",discussion_form_error_alreadyExists:"This {action} already exists.",discussion_form_title_question:"Start a conversation",discussion_form_placeholder_question:"Ask your question here",discussion_form_explainer_question:"Unsure what you can post? See our <a>community guidelines</a>.",discussion_likes:"{number, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_likes_short:"{number}",discussion_likes_showAll:"Show all...",discussion_likes_like:"Like this {action}",discussion_likes_unlike:"Unlike {action}",discussion_likes_show:"Show who liked this {action}",discussion_moreMenu_edit:"Edit",discussion_moreMenu_delete:"Delete",discussion_moreMenu_pin:"Pin post",discussion_moreMenu_unpin:"Unpin post",discussion_moreMenu_report:"Report",discussion_comments_screenReader:"See {count, plural, =0 {0 comments} one {# comment} other {# comments}}",discussion_comments:"{count, plural, =0 {0 comments} one {# comment} other {# comments}}",discussion_comments_loading:"... comments",discussion_responses_answer:"Answers",discussion_responses_comment:"Comments",discussion_responses_title:"{action} ({count})",discussion_responses_empty:"Be the first to respond",discussion_responses_empty_answer:"Be the first to answer this question",discussion_responses_placeholder:"Write a comment...",discussion_share_copy_link:"Copy link",discussion_share_copy_link_success:"Link copied to clipboard",discussion_thread_show:"Show {count} {count, select, 1 {reply} other {replies}}",discussion_thread_hide:"Hide replies",discussion_translation_seeOriginal:"See original",discussion_translation_translate:"Translate to {locale}",discussion_translation_translate_loading:"Translating to {locale}",discussion_translation_translated:"AI translated from {originalLocale}",discussion_translation_translate_error:"There was an error. Please try again.",discussion_translation_coming_soon:"Translation coming soon",discussion_thread_loadMore:"Load more replies",profileModalLauncher_successMessage:"Your post has been created",profileModalLauncher_title:"Your profile is incomplete",profileModalLauncher_text:"A complete profile builds trust and amplifies your voice across the community. Ensure all your details are up to date including a photo and a bio.",contactFooter_title:"Contact us",contactFooter_text:"We're always open to new ideas, so please reach out to see how we can collaborate.",contactFooter_phone:"+44 203 608 2241",contactFooter_email:"hello@apolitical.co",contactForm_name:"Name",contactForm_email:"Email address",contactForm_organisation:"Government department or organisation",contactForm_interests:"I'm interested in",contactForm_interests_publishingCourse:"Publishing or creating a course",contactForm_interests_buyingCourse:"Buying courses for my team",contactForm_interests_learningExperience:"Customised learning experiences",contactForm_interests_somethingElse:"Something else",contactForm_message:"Message",dropdown_menu_multiselect_all:"All",dropdown_menu_multiselect_none:"None",emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_fieldWrapper_characterLimit_aria_default:"You have {remaining, plural, =0 {no characters} one {1 character} other {# characters}} remaining.",form_fieldWrapper_characterLimit_aria_over:"You are {over, plural, one {1 character} other {# characters}} over the limit. Please shorten your text to {limit} characters.",form_fieldWrapper_characterLimit_info:"You can enter up to {limit} characters",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_error_multipleInputs_same:"Please enter a unique value into each field",form_cancel:"Cancel",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",form_success:"Thank you for submitting the form!",form_multipleInputs_label:"Input {number}",form_multipleInputs_filledInCount:"{number}/{total}",form_multipleInputs_filledInCount_aria:"{number} out of {total} available inputs have been filled in",form_multipleInputs_remove:"Remove this input",inviteForm_email_placeholder:"Add email addresses...",inviteForm_title:"Know someone who might like to join this workshop?",inviteForm_label:"Invite your colleagues by typing or pasting their email addresses below",inviteForm_message_label:"Add an invitation note",inviteForm_message_placeholder:"Add a personal note to your invitation...",inviteForm_ctaMessage:"Send",inviteForm_success:"Invitation Sent!",inviteForm_error:"Something went wrong!",inviteForm_ctaTryAgain:"Try again!",inviteForm_ctaSendMoreInvites:"Send more invites",inviteForm_ctaDone:"Done",inputAutocomplete_placeholder:"Start typing...",passwordRules_unmatched_text:"Passwords do not match",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",passwordRules_currentPassword_label:"Current password",passwordRules_newPassword_label:"New password",passwordRules_confirmPassword_label:"Confirm new password",profileForm_image:"Upload photo",profileForm_name:"Full name",profileForm_name_placeholder:"What's your name, so people can recognise you?",profileForm_jobTitle:"Job title",profileForm_jobTitle_placeholder:"What's your current job title?",profileForm_organization:"Organisation",profileForm_organization_placeholder:"Where do you work?",profileForm_location:"Location",profileForm_location_placeholder:"Add your city",profileForm_location_error:"Please choose a location from the list.",profileForm_bio:"Bio",profileForm_bio_placeholder:"Tell us more about yourself...",profileForm_cta:"Save",profileForm_cta_submitting:"Saving...",profileForm_cta_submitted:"Saved",profileImageChange_cta_uploading:"Uploading image...",profileImageChange_cta_change:"Change photo",profileImageChange_cta_upload:"+ Add profile photo",profileImageChange_error:"There was an error uploading the image. Please try a different file format or reduce the file size to less than 5MB. Contact us if problem persists.",publishArticleForm_title_label:"Title",publishArticleForm_title_placeholder:"Write a snappy title",publishArticleForm_subtitle_label:"Subtitle",publishArticleForm_subtitle_placeholder:"Your topic, in a nutshell",publishArticleForm_body_label:"Body",publishArticleForm_body_placeholder:"Type or paste your article here",publishArticleForm_tags_label:"Tags (select up to three)",publishArticleForm_cover_image_label:"Cover image",publishArticleForm__tags_topic_CitiesAndLocalGovernment:"Cities and local government",publishArticleForm__tags_topic_Climate:"Energy and climate",publishArticleForm__tags_topic_DigitalAndData:"Digital, data and AI",publishArticleForm__tags_topic_Education:"Education",publishArticleForm__tags_topic_EquityJusticeAndInclusion:"Inclusion",publishArticleForm__tags_topic_HealthAndSocialCare:"Health and social care",publishArticleForm__tags_topic_Innovation:"Innovation",publishArticleForm__tags_topic_LeadershipAndSkills:"Leadership and skills",publishArticleForm__tags_topic_LifeInGovernment:"Life in government",publishArticleForm__tags_topic_Policymaking:"Policymaking",publishArticleForm__tags_topic_TransportAndInfrastructure:"Transport and infrastructure",publishArticleForm__tags_topic_WorkAndTheEconomy:"Work and the economy",publishArticleForm_tags_error_over_three:"You must select no more than three options.",publishArticleForm_tags_error_required:"Please select at least one option.",publishArticleForm_disclaimer:"Ready to publish? Before you do, consider the following: Have you thoroughly proofread your writing? Are you confident in your arguments? Have you included hyperlinks to the necessary resources to support your article?",publishArticleForm_cta_submit:"Publish article",publishArticleForm_cta_submit_edit:"Save",publishArticleForm_cta_submitting:"Publishing...",publishArticleForm_cta_submitting_edit:"Saving...",publishArticleForm_cta_submitted:"Published!",publishArticleForm_cta_submitted_edit:"Saved!",publishArticleForm_aria_success:"Your article is being published. You will be redirected to your article in a moment.",publishArticleForm_aria_success_edit:"Your article is being saved. You will be redirected to your article in a moment.",publishArticleForm_error:"Sorry, something went wrong.",publishArticleForm_error_underMinLength:"Please add at least {length, plural, one {1 character} other {# characters}}.",publishArticleForm_error_loggedOut:"You need to be logged in to publish an article. Please log in and try again.",publishArticleForm_progressBar:"Your article is being published",publishArticleForm_selectImage_button:"Select a cover image",publishArticleForm_replaceImage_button:"Replace Image",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",richTextEditor_placeholder:"Write something...",richTextEditor_toolbar:"Formatting options",richTextEditor_bold:"Bold",richTextEditor_heading_three:"Heading",richTextEditor_italic:"Italic",richTextEditor_strikeThrough:"Strikethrough",richTextEditor_link:"Link",richTextEditor_link_text:"Text:",richTextEditor_link_text_aria:"Text to be linked:",richTextEditor_link_url:"Link:",richTextEditor_link_placeholder:"Type or paste URL",richTextEditor_link_error_required:"Please enter a URL to link to",richTextEditor_link_open:"Open: {link}",richTextEditor_link_open_text:"Opens in a new window",richTextEditor_link_edit:"Edit",richTextEditor_link_remove:"Remove",richTextEditor_link_button:"Add link",richTextEditor_link_enrichedUrl_aria:"Remove this preview for {title}",richTextEditor_link_enrichedUrl_aria_fallback:"the link",richTextEditor_link_enrichedUrl_aria_live:"The link preview has been removed from your post",richTextEditor_ol_list:"Numbered list",richTextEditor_ul_list:"Bullet-point list",richTextEditor_block_quote:"Quote",richTextEditor_mention_fallback:"Can't find who you're looking for? Invite them to the community",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",showpassword_show:"Show",showpassword_hide:"Hide",showpassword_aria_show:"Your password is hidden. Click to show.",showpassword_aria_hide:"Your password is visible. Click to hide.",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",poll_instructions:"Select one{allowMultipleVotes, select, true { or more} other {}}",poll_num_votes:"{number, plural, one {# vote} other {# votes}}",poll_remove_vote_button:"Remove vote{number, plural, =0 {} one {} other {s}}",poll_aria_votes:"You have {number, plural, =0 {not voted on this poll} other {voted for:}}",replies_feed_missing_polls_vote_message:"Please vote above to view all the comments",tableOfContents:"Table of contents",timeToComplete_hours:"{time, plural, =0 {} one {1 hour} other {# hours}}",timeToComplete_hours_short:"{time}h",timeToComplete_minutes:"{time, plural, =0 {} one {1 minute} other {# minutes}}",timeToComplete_minutes_short:"{time}m",timeToComplete_range:"{early} - {late}",timeToComplete_range_aria:"between {early} and {late}",tooltip_loading:"Loading...",return_to_nav_button:"Back to top",progressTracker:"Step {current} of {total}",cookieBanner_title:"Cookies and your privacy",cookieBanner_text:"We take your trust and privacy very seriously. Apolitical uses safe cookies (small files on your device) to run the site. You can reject non-essential cookies, but some site features may not work without them.",cookieBanner_buttons_settings:"Change my settings",cookieBanner_buttons_reject:"Reject all",cookieBanner_buttons_accept:"Accept all",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_platform_communities:"Communities",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_news:"News",footer_company_insights:"Insights",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_ai:"AI principles",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_london:"London address",footer_contact_london_address:"251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_washington:"Washington DC Address",footer_contact_washington_address:"1100 15th St NW{br}Washington, DC 20005{br}United States",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",header_skip:"Skip to main content",header_language_switcher:"Change language",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_communities:"Communities",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_explore_communities:"Communities",header_topics_topics:"Topics",header_topics_topics_climate:"Energy and climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital, data and AI",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",header_language_unavailable_en:"This page is only available in English. <link>Learn more →</link>",header_language_unavailable_vi:"Trang này chỉ có sẵn bằng tiếng Anh. <link>Tìm hiểu thêm →</link>","header_language_unavailable_sr-Cyrl":"Ова страница је доступна само на енглеском. <link>Сазнајте више →</link>",header_language_unavailable_de:"Diese Seite ist nur auf Englisch verfügbar. <link>Mehr erfahren →</link>","header_language_unavailable_fr-CA":"Cette page est uniquement disponible en anglais. <link>En savoir plus →</link>",header_language_unavailable_ko:"이 페이지는 영어로만 제공됩니다. <link>자세히 알아보기 →</link>",header_language_unavailable_it:"Questa pagina è disponibile solo in inglese. <link>Scopri di più →</link>",header_language_unavailable_pl:"Ta strona jest dostępna tylko w języku angielskim. <link>Dowiedz się więcej →</link>",header_language_unavailable_ja:"このページは英語でのみ利用可能です。<link>詳細はこちら →</link>",header_language_unavailable_ar:"هذه الصفحة متوفرة باللغة الإنجليزية فقط. <link>اعرف المزيد →</link>",header_language_unavailable_es:"Esta página sólo está disponible en inglés. <link>Más información →</link>",header_language_unavailable_fr:"Cette page est uniquement disponible en anglais. <link>En savoir plus →</link>",header_language_unavailable_pt:"Esta página está disponível apenas em inglês. <link>Saiba mais →</link>",header_language_unavailable_id:"Halaman ini tidak tersedia dalam bahasa yang dipilih. <link>Pelajari lebih lanjut →</link>","header_language_unavailable_pt-BR":"Esta página não está disponível no idioma selecionado. <link>Saiba mais →</link>","header_language_unavailable_es-419":"Esta página sólo está disponible en inglés. <link>Más información →</link>",pageLayout_browserTooSmall:"Sorry, your device is too small to view this content properly. Please change to a different orientation or another device.",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",progressBar:"{number}% loaded",discussionFormModal_title:"Create a post",discussionFormModal_cta:"Create post",inviteModal_title:"You’re registered",inviteModal_formTitle:"Know someone who might like to join this workshop?",inviteModal_formLabel:"Invite your colleagues by typing or pasting their email addresses below.",inviteModal_cta:"Send",overlay_close:"Close",profileModal_title:"Update your profile",breadcrumbs_label:"Go back to:",breadcrumbs_currentPage:"Current page:",filters_all:"Show all",filters_disabled:"{name} - no results",languageSwitcher_label:"I would like to read this article in...",languageSwitcher_translation_original:"original language",languageSwitcher_translation_human:"translated by person",languageSwitcher_translation_machine:"translated by machine",languageSwitcher_selected:"{language} - currently selected",languageSwitcher_disclaimer:"This content is machine translated and will occasionally get gendered language or other direct translations wrong. We’re trying to resolve this but in the meantime, if you notice something very wrong, let us know at <link>{email}</link>",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",moreMenu:"See more options",navigationMenu_links_homepage:"Home",navigationMenu_links_events:"Events",navigationMenu_links_microcourses:"Courses","navigationMenu_links_q-and-a":"Q&A",navigationMenu_links_articles:"Articles",navigationMenu_links_communities:"Communities",shareLinks_label:"Share",shareLinks_link_linkedin:"Share on LinkedIn",shareLinks_link_twitter:"Share on Twitter",shareLinks_link_facebook:"Share on Facebook",shareLinks_link_email:"Share by email","shareLinks_link_clipboard-copy":"Copy the link",tags_community:"From the community",editSection_placeholder_description:"Add some details",editSection_placeholder_cta:"add",editSection_edit:"Edit",notFoundError_title:"We can't find that page",notFoundError_text:"Sorry about that. We all mess up sometimes - read some ‘fail’ stories below.",notFoundError_post_1:"Why public servants must learn to fail — and 3 tips for how to do it",notFoundError_post_2:"What failure has taught me",notFoundError_post_3:"How to learn from failure without causing a scandal",notFoundError_cta:"View more articles",collapsibleSection_summary:"Find out more",contentTypeLabel_event:"Event",contentTypeLabel_learningHub:"Programme",contentTypeLabel_listPage:"List",contentTypeLabel_microcourse:"Course",contentTypeLabel_qaQuestion:"Q&A",contentTypeLabel_solutionArticle:"Article",contentTypeLabel_communityPage:"Community",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip_survey:"Skip past survey",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",markdown_iframe_survey:"Survey",member_connection_accept:"Accept",member_connection_cancel:"Cancel Request",member_connection_connect:"Connect",member_connection_connected:"Connected",member_connection_pending:"Pending",member_connection_remove:"Remove Connection",member_connection_requested:"Requested",member_show_email_hide:"Email visible only to connections",member_show_email_private:"Private profile email hidden",member_show_email_show:"Show contact info",member_show_email_tooltip:"Copy email address",member_show_email_tooltip_copied:"Email copied to clipboard",member_show_email_tooltip_mine:"Visible only to your connections",member_show_email_tooltip_private:"The privacy setting for this profile is private"},Dx={...an,languageSwitcher_label:"Me gustaría leer este artículo en...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traducido por un humano",languageSwitcher_translation_machine:"traducido por máquina",languageSwitcher_disclaimer:"Este contenido fue traducido automáticamente y ocasionalmente tendrá errores de género u otras traducciones directas. Estamos intentando resolver este problema, pero mientras tanto, si notas algún error grave, escríbenos a <link>{email}</link>"},Ox={...an,languageSwitcher_label:"Je voudrais lire cet article dans...",languageSwitcher_translation_original:"langue originale",languageSwitcher_translation_human:"traduit par un humain",languageSwitcher_translation_machine:"traduit par machine",languageSwitcher_disclaimer:"Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>",collapsibleSection_summary:"En savoir plus"},Nx={...an,languageSwitcher_label:"Eu gostaria de ler este artigo em...",languageSwitcher_translation_original:"linguagem original",languageSwitcher_translation_human:"traduzido por um humano",languageSwitcher_translation_machine:"traduzido por máquina",languageSwitcher_disclaimer:"Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"},Ix={...an,languageSwitcher_label:"Saya ingin membaca artikel ini dalam...",languageSwitcher_translation_original:"bahasa asli",languageSwitcher_translation_human:"diterjemahkan oleh manusia",languageSwitcher_translation_machine:"diterjemahkan oleh mesin",languageSwitcher_disclaimer:"Konten ini telah diterjemahkan secara otomatis dan terkadang mungkin terdapat kesalahan dalam penerjemahan gender atau terjemahan langsung lainnya. Kami sedang berusaha memperbaiki hal ini, tetapi jika Anda menemukan kesalahan, mohon beri tahu kami di <link>{email}</link>"},Px={...an,languageSwitcher_label:"Eu gostaria de ler este artigo em...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traduzido por humano",languageSwitcher_translation_machine:"traduzido por máquina",languageSwitcher_disclaimer:"Este conteúdo foi traduzido automaticamente e, ocasionalmente, podem ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos trabalhando para resolver isso, mas se você perceber algo errado, por favor nos avise em <link>{email}</link>"},Rx={...an,languageSwitcher_label:"Me gustaría leer este artículo en...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traducido por un humano",languageSwitcher_translation_machine:"traducido por máquina",languageSwitcher_disclaimer:"Este contenido fue traducido automáticamente y ocasionalmente tendrá errores de género u otras traducciones directas. Estamos intentando resolver este problema, pero mientras tanto, si notas algún error grave, escríbenos a <link>{email}</link>"},Fx={...an,languageSwitcher_label:"أود قراءة هذه المقالة بـ...",languageSwitcher_translation_original:"اللغة الأصلية",languageSwitcher_translation_human:"مترجمة بواسطة إنسان",languageSwitcher_translation_machine:"مترجمة آلياً",languageSwitcher_disclaimer:"تمت ترجمة هذا المحتوى تلقائياً وقد يحتوي على أخطاء في النوع أو ترجمات حرفية أخرى. نحن نحاول معالجة هذه المشكلة، ولكن في الوقت الحالي، إذا لاحظت خطأً مهماً، يرجى إعلامنا على <link>{email}</link>",collapsibleSection_summary:"اقرأ المزيد"},Bx={...an,languageSwitcher_label:"この記事を以下の言語で読みたい...",languageSwitcher_translation_original:"原文",languageSwitcher_translation_human:"人による翻訳",languageSwitcher_translation_machine:"機械翻訳",languageSwitcher_disclaimer:"このコンテンツは自動的に翻訳されており、性別の誤りや直訳などが含まれている可能性があります。現在、これらの問題の解決に取り組んでいますが、重大な誤りにお気づきの場合は、<link>{email}</link> までご連絡ください。",collapsibleSection_summary:"もっと読む"},Mx={...an,languageSwitcher_label:"Chciał(a)bym przeczytać ten artykuł w...",languageSwitcher_translation_original:"język oryginalny",languageSwitcher_translation_human:"przetłumaczone przez człowieka",languageSwitcher_translation_machine:"przetłumaczone maszynowo",languageSwitcher_disclaimer:"Treść została przetłumaczona automatycznie i może zawierać błędy związane z rodzajem gramatycznym lub inne dosłowne tłumaczenia. Pracujemy nad ich poprawą, ale jeśli zauważysz poważny błąd, daj nam znać na adres <link>{email}</link>",collapsibleSection_summary:"Czytaj więcej"},Lx={...an,languageSwitcher_label:"Vorrei leggere questo articolo in...",languageSwitcher_translation_original:"lingua originale",languageSwitcher_translation_human:"tradotto da un essere umano",languageSwitcher_translation_machine:"tradotto automaticamente",languageSwitcher_disclaimer:"Questo contenuto è stato tradotto automaticamente e potrebbe contenere errori di genere o altre traduzioni letterali. Stiamo lavorando per risolvere questi problemi, ma se noti un errore importante, faccelo sapere a <link>{email}</link>",collapsibleSection_summary:"Scopri di più"},$x={...an,languageSwitcher_label:"Желео бих да читам овај чланак на...",languageSwitcher_translation_original:"оригиналном језику",languageSwitcher_translation_human:"превео човек",languageSwitcher_translation_machine:"машински превод",languageSwitcher_disclaimer:"Овај садржај је аутоматски преведен и може садржати грешке у роду или друге дословне преводе. Трудимо се да решимо овај проблем, али у међувремену, ако приметите озбиљну грешку, јавите нам на <link>{email}</link>",collapsibleSection_summary:"Сазнајте више"},jx={...an,languageSwitcher_label:"이 기사를 다음 언어로 읽고 싶습니다...",languageSwitcher_translation_original:"원본 언어",languageSwitcher_translation_human:"사람이 번역함",languageSwitcher_translation_machine:"기계 번역",languageSwitcher_disclaimer:"이 콘텐츠는 자동으로 번역되었으며, 성별 오류나 직역 등 부정확한 부분이 포함될 수 있습니다. 저희는 이 문제를 해결하기 위해 노력하고 있으며, 중요한 오류를 발견하셨다면 <link>{email}</link>로 알려주세요.",collapsibleSection_summary:"자세히 보기"},Hx={...an,languageSwitcher_label:"Je voudrais lire cet article dans...",languageSwitcher_translation_original:"langue originale",languageSwitcher_translation_human:"traduit par un humain",languageSwitcher_translation_machine:"traduit par machine",languageSwitcher_disclaimer:"Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>",collapsibleSection_summary:"En savoir plus"},Ux={...an,languageSwitcher_label:"Ich möchte diesen Artikel lesen auf...",languageSwitcher_translation_original:"Originalsprache",languageSwitcher_translation_human:"von einem Menschen übersetzt",languageSwitcher_translation_machine:"maschinell übersetzt",languageSwitcher_disclaimer:"Dieser Inhalt wurde automatisch übersetzt und kann Fehler bei der Geschlechtszuordnung oder andere Ungenauigkeiten enthalten. Wir arbeiten daran, diese Probleme zu beheben. Wenn Ihnen ein schwerwiegender Fehler auffällt, informieren Sie uns bitte unter <link>{email}</link>.",collapsibleSection_summary:"Mehr erfahren"},zx={...an,languageSwitcher_label:"Tôi muốn đọc bài viết này bằng...",languageSwitcher_translation_original:"ngôn ngữ gốc",languageSwitcher_translation_human:"bản dịch do con người thực hiện",languageSwitcher_translation_machine:"bản dịch tự động",languageSwitcher_disclaimer:"Nội dung này được dịch tự động và có thể chứa một số lỗi về ngữ pháp hoặc cách diễn đạt. Chúng tôi đang nỗ lực cải thiện, nhưng nếu bạn phát hiện lỗi nghiêm trọng, vui lòng thông báo cho chúng tôi tại <link>{email}</link>",collapsibleSection_summary:"Tìm hiểu thêm"},m1=(e,t=an)=>e in t,Ar=(e,t,n,r,i={})=>{let a="";return m1(`${t}_${n}`)?a=e({id:`${t}_${n}`},i):a=e({id:t},{[r]:n,...i}),a},qx=(e,t,n)=>{if(!e||e===0)return"0";t||(t=0),n||(n=["k","m","b","t"]);let r=e.toString();t=Math.pow(10,t);for(let i=n.length-1;i>=0;i--){const a=Math.pow(10,(i+1)*3);if(a<=e){e=Math.round(e*t/a)/t,e===1e3&&i<n.length-1&&(e=1,i++),r=`${e}${n[i]}`;break}}return r},hc=(e,t)=>E.Children.map(e,n=>Object.is(n,null)?n:E.cloneElement(n,{...t})),k4=(e=0)=>{setTimeout(()=>{const t=document.querySelector(".splash-screen");t&&t.remove(),window.prerenderReady=!0},e)},Wx=e=>{var a,s;const n=["name","organization","jobTitle","biography"].every(o=>{const l=e[o];return l!=null&&l!==""}),r=((a=e.image)==null?void 0:a.thumbnail)!==void 0,i=((s=e.location)==null?void 0:s.en)!==void 0;return n&&r&&i},Vx=(e,t,n)=>!t.id||!t.name?"":t.error?n.replace(/{{name}}/g,Tl).replace(/{{id}}/g,Tl):n.replace(/{{name}}/g,t.name).replace(/{{id}}/g,t.id),D4=async({text:e,template:t,mentions:n,listMembers:r=()=>Promise.resolve([])})=>{var a;if(!n)return e;const i=e.match($a);if(!i)return e;for(const s of i){const o=s.replace($a,(c,d)=>d),l=n[o];if(!l)continue;const u={};if(typeof l=="object")u.name=l.error?l.error:((a=l==null?void 0:l.data)==null?void 0:a.name)||"",u.id=l.id||"",u.error=l.error;else{const c=l;if(c.startsWith(Th))try{const d=c.replace(Th,"");u.id=d,await r({id:d}).then(f=>{const{name:p,error:g}=f;u.name=g||p||"",u.error=g})}catch{e.replace(s,"@");continue}else continue}e=e.replace(s,u.name?Vx(e,u,t):s)}return e},Pp=e=>{const t=e.startsWith("http")?e:`https://${e}`,r=new URL(t).hostname;return{full:t,pretty:r}},O4=e=>new URLSearchParams(window.location.search).get(e),_l=(e="")=>e.replace(/\s+/g,"").length>0,Ch=e=>{const t=e.length>8,n=/[0-9]/.test(e)&&/[`!@#$%^&*()_+\-=[\]{}£;':"\\|,.<>/?~]/.test(e),r=new RegExp("^(?=.*?[A-Z])(?=.*?[a-z])").test(e);return{isValid:t&&n&&r,matchingRules:{isMoreThanEightCharacters:t,includesNumberAndSymbol:n,includesLowerAndUppercase:r}}};function Si(e){return window!=null&&window.btoa?window.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode("0x"+n))):(console.error("window.btoa is not supported"),e)}const Ka=()=>{const{id:e}=E.useContext(Ut);if(!e)return La.DEFAULT_LOCALE;const t=S4(Op);return t||La.DEFAULT_LOCALE},g1=()=>{const{id:e}=E.useContext(Ut),[t,n]=E.useState(void 0);return E.useEffect(()=>{if(!e){n("/home/");return}const r=S4(Op);if(r){n(`/${r}`);return}n(`/${La.DEFAULT_LOCALE}`)},[e]),t},N4=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:n=()=>{},scrollUp:r=()=>{}}})=>{if(!window)return;const[i,a]=E.useState({current:0,past:0})||[!1,()=>{}],[s,o]=E.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];E.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,d=i.current,f=c-d,p=f>0?"down":"up";if(a({current:c,past:d}),p==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||f>t.up)&&(n(),o({scrollUp:!1,scrollDown:!0}));return}Math.abs(f)>=t.up&&!s.scrollUp&&(r(),o({scrollUp:!0,scrollDown:!1}))},u=y4(()=>{l()},250);return i},Rp=(e=[],t=!0)=>{e=Array.isArray(e)?e:[e];const n=E.useRef(!1);Us(()=>{if(window&&window.location&&window.location.hash){if(n.current)return;const r=document.getElementById(window.location.hash.replace("#",""));r&&(r.scrollIntoView(t?{behavior:"smooth"}:null),n.current=!0)}},e)},Fp=(e=!1)=>{if(!e)return{showTooltip:!1,tooltipProps:{}};const[t,n]=E.useState(!1);return{showTooltip:t,tooltipProps:{onClick:()=>n(!0),onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),n(!t))},onMouseOver:()=>n(!0),onMouseOut:()=>n(!1),onFocus:()=>n(!0),onBlur:()=>n(!1)}}};const ng={},Kx=E.forwardRef(({id:e,styling:t={},isOpen:n=!1,isLoading:r=!1,children:i,className:a="",functions:s={},callbacks:o={},accessibility:l={},...u},c)=>{const d=ue.useIntl(),[f]=E.useState(e||Date.now().toString()),p=E.useRef(null),g=c||p,[m,y]=E.useState(n?"open":"hidden"),{extraPadding:v=!0,hasPointer:b=!1,hasForm:T=!1}=t,{onOpen:w=()=>{},onClose:_=()=>{}}=o,{readToScreenreadersWhenClosed:x=!1,...k}=l,I=ng[f];E.useEffect(()=>{const O=g==null?void 0:g.current;if(O)return O.addEventListener("transitionend",B),()=>{O.removeEventListener("transitionend",B)}},[]),E.useEffect(()=>{if(m!=="open")return;const O=S=>{S.key==="Escape"&&(S.stopPropagation(),S.preventDefault(),y("closed"))};return document.addEventListener("keyup",O),()=>{document.removeEventListener("keyup",O)}},[m]);const B=({propertyName:O})=>{O==="opacity"&&(I!==!1&&clearTimeout(I),y(S=>(S==="open"?w():S==="closed"&&_(),S==="opening"?"open":S==="closing"?"closed":S==="closed"?"hidden":S)))};Us(()=>{I!==!1&&clearTimeout(I);let O="open";n?y("opening"):(y("closing"),O="hidden"),ng[f||""]=setTimeout(()=>{y(O)},300)},[n]);const F={"aria-live":"polite",...u,...k};s&&s.onBlur&&(F.onBlur=s.onBlur);const R={className:"content"};return x?R.className=ne("content",{hidden:m==="hidden"}):R.hidden=m==="hidden",h.jsx("aside",{ref:g,id:f,className:ne("tooltip text-medium",m,a,{loading:r,"extra-padding":v,"has-pointer":b,bottom:b==="bottom","has-form":T}),...F,children:h.jsx("div",{...R,children:r?h.jsx("p",{children:d.formatMessage({id:"tooltip_loading"})}):typeof i=="string"?h.jsx("p",{children:i}):i})})}),ki=E.memo(Kx);const Be=({variant:e="primary",size:t="medium",styling:n={muted:!1,fullWidth:!1},icon:r=!1,href:i=!1,element:a="button",onClick:s=!1,className:o="",disabled:l=!1,tooltip:u="",forceTooltip:c=!1,screenreaderText:d=!1,children:f=!1,...p})=>{const m=ia(typeof t=="object"),{showTooltip:y,tooltipProps:v}=Fp(!!u);if(typeof t=="object"&&typeof m=="number"){const _=Object.assign({},t),x=E4(Object.keys(_));t=b4(m,x,_)}!l&&u&&!c&&(u="");const b=[];typeof t=="string"&&b.push(t),r&&(b.push("icon"),typeof r=="object"?(b.push(r.icon),r.position?b.push(r.position):b.push("left"),r.hover&&b.push(`hover_${r.hover}`),r.animate&&(b.push("animate"),typeof r.animate=="string"&&b.push(r.animate))):(b.push(r),!r.includes("right")&&!r.includes("left")&&b.push("left")));const T={...p,className:ne(e,o,b,{"no-text":!f,disabled:l,button:i,muted:n.muted,"full-width":n.fullWidth}),onClick:_=>{(!i||i[0]==="#")&&s&&(_.preventDefault(),_.stopPropagation()),s&&s(_)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};i&&(a="a",T.href=i);const w=E.createElement(a,T,f||(d?h.jsx(pt,{showOnFocus:!1,children:d}):null));return c||l&&u?h.jsxs("span",{className:"button-container",...v,children:[h.jsx(ki,{isOpen:y,accessibility:{readToScreenreadersWhenClosed:!0},children:u}),w]}):w},no=({buttons:e,wrappers:t=[],className:n="",...r})=>{const i=e.length>1?"ul":"p",a=e.map((s,o)=>{var l;return i==="p"?h.jsx(Be,{...s},o):h.jsx("li",{className:((l=t[o])==null?void 0:l.className)||"",children:h.jsx(Be,{...s})},o)});return E.createElement(i,{className:ne("button-wrapper",n),...r,children:a})};const Or=({className:e="",maxWidth:t=!1})=>{const n=t?{"--max-width":`${t/16}rem`}:{};return h.jsx("hr",{className:ne(e,{"has-max-width":t}),style:n})},rg={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},highlightSection:{range:[{height:200,width:674},{height:400,width:1348},{height:1e3,width:1e3},{height:2e3,width:2e3}],sizes:"(max-width: 500px) 674px, (max-width: 1024px) 1348px, (max-width: 1200px) 1000px, 2000px"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"}},Gx=({aspect:e,range:t,sizes:n})=>{const{range:r,sizes:i}=e?rg[e]:rg.fallback;return{range:t&&t.length>0?t:r,sizes:n||i}},Yx=({format:e,height:t,query:n,width:r})=>{let i=`w=${r}&h=${t}`;return i=e?`${i}&fm=${e}`:i,i=n?`${i}&${n}`:i,i},ld=({format:e,range:t,url:n,query:r})=>t.map(({height:i,width:a})=>`${n}?${Yx({format:e,height:i,query:r,width:a})} ${a}w`).join(", ");const aa=({image:e,className:t,testId:n})=>{const{description:r,height:i,type:a,color:s,query:o,url:l,width:u,loading:c,decoding:d,fetchPriority:f}=e,{range:p,sizes:g}=Gx(e),m=ld({format:"avif",query:o,range:p,url:l}),y=ld({format:"webp",query:o,range:p,url:l}),v=ld({format:"",query:o,range:p,url:l});let b={};return s&&(b={"--color":s}),a&&a.includes("svg")?h.jsx("picture",{className:t,style:b,children:h.jsx("img",{src:l,alt:r,loading:c||"lazy",decoding:d||"async",fetchpriority:f||"auto",width:u,height:i,"data-testid":n||"image"})}):h.jsxs("picture",{className:t,style:b,children:[a!=="image/gif"&&h.jsx("source",{type:"image/avif",srcSet:m,sizes:g,"data-testid":"source"}),h.jsx("source",{type:"image/webp",srcSet:y,sizes:g,"data-testid":"source"}),h.jsx("img",{srcSet:v,sizes:g,src:l,alt:r,loading:c||"lazy",decoding:d||"async",fetchpriority:f||"auto",width:u,height:i,"data-testid":n||"image"})]})};const Zx=({image:e,className:t="",testId:n})=>h.jsx("div",{className:`image-container ${t}`,"data-testid":n||"image-container",children:e&&h.jsx(aa,{image:{...e},className:"image"})}),sa=({href:e,children:t,fallbackElement:n,meta:r,className:i="",onClick:a,gtmContext:s,gtmType:o,...l})=>{const{forceOnClick:u=!1}=r||{};if(e){const d={...l};return a&&(d.onClick=a),s&&(d["data-gtm-event-context"]=s),o&&(d["data-gtm-event-type"]=o),h.jsx("a",{href:e,className:ne("gtm-trackable",i),...d,children:t})}const c={};return u&&(c.onClick=a),n?E.createElement(n,{children:t,className:i,...l,...c}):h.jsx(h.Fragment,{children:t})};const I4=E.forwardRef(({className:e="",children:t},n)=>{const r=E.useRef(null),i=n||r;return h.jsx("aside",{ref:i,className:ne("popover",e),"aria-live":"polite",children:t})}),ro=({parent:e=document.body,children:t})=>typeof document=="object"?kp.createPortal(t,e):null,Qx=Object.freeze(Object.defineProperty({__proto__:null,default:ro},Symbol.toStringTag,{value:"Module"}));const Xx=({currentStep:e=1,steps:t=1})=>h.jsxs(h.Fragment,{children:[h.jsx(pt,{children:h.jsx(ue.FormattedMessage,{id:"progressTracker",values:{current:e,total:t}})}),h.jsx("div",{className:"progress-tracker",children:h.jsx("div",{className:"dots-wrapper",children:new Array(t).fill("").map((n,r)=>{const i=r+1;return h.jsxs("div",{className:"dot-wrapper",children:[h.jsx("div",{className:ne("dot",{active:i===e,completed:i<e}),"data-testid":"progress-dot"}),h.jsx("div",{className:ne("line",{active:i<e})})]},r)})})})]});const Jx=({elementId:e,offset:t=20})=>{const n=ue.useIntl(),r=()=>{const i=document.getElementById(e);if(!i)return;const a=document.getElementById("header");a&&window.scrollTo({top:i.offsetTop-a.clientHeight-t})};return h.jsx(Be,{variant:"secondary",className:"return-to-nav",onClick:r,"data-gtm-event-context":"ListPageMobile","data-gtm-event-type":"back-to-nav-button-click",screenreaderText:n.formatMessage({id:"return_to_nav_button"})})};const e7=({items:e,className:t="",...n})=>h.jsx("ul",{className:ne("buckets",t),...n,children:e.map(({title:r,text:i,link:a,...s},o)=>h.jsx("li",{className:"bucket text-medium",children:h.jsxs("a",{href:a,...s,children:[h.jsx("p",{className:"title",children:r}),h.jsx("p",{children:i})]})},o))}),ig=300,ag="ease-in-out";class t7{constructor(t){this.el=t,this.summary=t.querySelector("summary"),this.content=t.querySelector(".content"),this.animation=null,this.isClosing=!1,this.isExpanding=!1,this.summary.addEventListener("click",n=>this.onClick(n))}cleanUp(){this.summary.removeEventListener("click",t=>this.onClick(t))}onClick(t){t.preventDefault(),t.stopPropagation(),this.el.style.overflow="hidden",this.isClosing||!this.el.open?this.open():(this.isExpanding||this.el.open)&&this.shrink()}shrink(){this.isClosing=!0;const t=`${this.el.offsetHeight}px`,n=`${this.summary.offsetHeight}px`;this.animation&&this.animation.cancel(),this.animation=this.el.animate({height:[t,n]},{duration:ig,easing:ag}),this.animation.onfinish=()=>this.onAnimationFinish(!1),this.animation.oncancel=()=>this.isClosing=!1}open(){this.el.style.height=`${this.el.offsetHeight}px`,this.el.open=!0,window.requestAnimationFrame(()=>this.expand())}expand(){this.isExpanding=!0;const t=`${this.el.offsetHeight}px`,n=`${this.summary.offsetHeight+this.content.offsetHeight}px`;this.animation&&this.animation.cancel(),this.animation=this.el.animate({height:[t,n]},{duration:ig,easing:ag}),this.animation.onfinish=()=>this.onAnimationFinish(!0),this.animation.oncancel=()=>this.isExpanding=!1}onAnimationFinish(t){this.el.open=t,this.animation=null,this.isClosing=!1,this.isExpanding=!1,this.el.style.height=this.el.style.overflow=""}}const v1=({label:e=!1,className:t="",children:n,shouldAnimate:r=!1})=>{const i=ue.useIntl(),a=E.useRef(null);return E.useEffect(()=>{let s;return r&&(s=new t7(a.current)),()=>{r&&s&&s.cleanUp()}},[]),h.jsxs("details",{ref:a,className:ne("collapsible-section",t,{"should-animate":r}),children:[h.jsx("summary",{children:e||i.formatMessage({id:"collapsibleSection_summary"})}),h.jsx("div",{className:"content",children:n})]})},sg={cube:"box",graduationCap:"graduation-cap",person:"user",speech:"speech-bubble_round",star:"star_empty_thin"},n7=e=>{let t=e;return Object.keys(sg).includes(e)&&(t=sg[e]),`url(${dr}icons/${t}.svg)`};const og={customCard:"custom",microcourse:"course",courseJourney:"course",solutionArticle:"article",qaQuestion:"question",listPage:"list",learningHub:"learning-hub",communityPage:"communityPage"},P4=({contentType:e,customIcon:t,customLabel:n,className:r=""})=>{const i=ue.useIntl(),a=t?{"--custom-icon":n7(t)}:{},s=m1(`contentTypeLabel_${e}`)?i.formatMessage({id:`contentTypeLabel_${e}`}):!1;return!n&&!s?null:h.jsx("small",{className:ne("content-type-label text-small",e in og?og[e]:e,r,{"has-custom-icon":t}),style:a,"data-testid":"content-type-label",children:n||s})};const Kn=({variant:e="primary",icon:t,styling:n={},className:r="",children:i,...a})=>{const{showHighlight:s=!1,background:o="default"}=n,l=t?{"--icon":`url(${dr}icons/${t}.svg)`}:{};return h.jsx("div",{className:ne("highlighted-text-box",e,r,{"has-icon":t,"show-highlight":s,[o]:o!=="default"}),style:l,...a,children:i})};const Xr=({variant:e="empty",text:t=!1,button:n=!1,className:r=""})=>{let i=n&&!!Object.keys(n).length;const a=typeof n=="object"&&"breakpoints"in n,s=ia(a);if(a&&typeof n=="object"&&typeof s=="number"){const d=Object.assign({},n.breakpoints),f=E4(Object.keys(d));i=b4(s,f,d)}const{breakpoints:o,text:l="",component:u,...c}=n;return h.jsx(Kn,{variant:"subtle",className:ne("empty-state-box",e,r),children:h.jsxs(h.Fragment,{children:[t&&typeof t=="string"?h.jsx(Vr,{options:{forceBlock:!0},children:t}):t,i&&typeof n=="object"&&(u||h.jsx(Be,{...c,variant:n.variant?n.variant:"secondary",children:l}))]})})};const xh=({children:e,...t})=>h.jsx("p",{...t,children:e}),R4={q:xh,blockquote:xh};for(let e=1;e<=6;e++)R4[`h${e}`]={component:xh,props:{className:"title"}};const F4=({type:e="default",className:t="",heading:n=!1,children:r,...i})=>h.jsxs("div",{...i,className:ne("helper-text-box text-small",e,t),children:[n&&h.jsx("p",{className:"title",children:n}),typeof r=="string"?h.jsx(Vr,{options:{wrapper:E.Fragment,forceBlock:!0,overrides:R4},children:r}):h.jsx("p",{children:r})]});const B4=({id:e,className:t="",show:n=!1,hide:r=!1,text:i,markdownOptions:a,fadeStyle:s="default",children:o})=>{const l=ue.useIntl(),u=E.useRef(null);e||(e=Date.now().toString());const[c,d]=E.useState(""),[f,p]=E.useState("closed");E.useEffect(()=>{const y=u.current;if(y)return y.addEventListener("transitionend",g),()=>{y.removeEventListener("transitionend",g)}},[]),E.useEffect(()=>{if(!i||typeof i!="string")return;const y=i.split(`
36
+ Thank you for helping to protect the Apolitical community from abusive content.`,discussionFormCard_placeholder:"Create post",discussionFormCard_placeholder_long:"Write a post or ask a question...",discussionFormCard_overlay_title:"Discard post",discussionFormCard_overlay_text:"Are you sure you want to leave without posting? Changes you have made will not be saved.",discussionFormCard_overlay_cta_discard:"Discard",discussionFormCard_overlay_cta_continue:"Continue editing",discussion_form_postType_label:"Post type","discussion_form__postType_no-category":"Post",discussion_form_isAnonymous_label:"Post anonymously",discussion_form_isAnonymous_tooltip_content:"Your name, job title and profile picture will be hidden from other users. Only moderators can see your identity.",discussion_form_member_anonymous_infoMsg:"Your identity will be hidden",discussion_form_title:"Write your {action}",discussion_form_titleField_label:"Title",discussion_form_titleField_placeholder:"Write something...",discussion_form_titleField_error:"Please enter a title or a body for your post.",discussion_form_question_label:"Question",discussion_form_question_placeholder:"Question",discussion_form_option_label:"Options",discussion_form_option_placeholder:"Option {number}",discussion_form_option_cta:"Add option",discussion_form_multiplePollAnswers:"Allow multiple answers",discussion_form_placeholder:"Write a {action}...",discussion_form_label:"Body",discussion_form_label_action:"Your {action}",discussion_form_explainer:"Try to make your {action} specific and practical. Be respectful and kind. See our <a>community guidelines</a>",discussion_form_success:"Your {action} has been submitted.",discussion_form_post:"Create post",discussion_form_posting:"Posting...",discussion_form_save:"Save",discussion_form_saving:"Saving...",discussion_form_cancel:"Cancel",discussion_form_submitting:"Submitting...",discussion_form_placeholder_post:"Share a question, insight, or announcement with the community",discussion_form_error:"We are unable to process your {action} right now. Please try again later or contact us if the problem persists",discussion_form_error_tooLong:"Please keep your content to {maxLength, plural, one {1 character} other {# characters}}.",discussion_form_error_tooMany:"You have posted too many times in a row. Please wait and try again.",discussion_form_error_loggedOut:"Please log in to submit your {action}.",discussion_form_error_noPermission:"You do not have permission to {action}.",discussion_form_error_alreadyExists:"This {action} already exists.",discussion_form_title_question:"Start a conversation",discussion_form_placeholder_question:"Ask your question here",discussion_form_explainer_question:"Unsure what you can post? See our <a>community guidelines</a>.",discussion_likes:"{number, plural, =0 {0 likes} one {# like} other {# likes}}",discussion_likes_short:"{number}",discussion_likes_showAll:"Show all...",discussion_likes_like:"Like this {action}",discussion_likes_unlike:"Unlike {action}",discussion_likes_show:"Show who liked this {action}",discussion_moreMenu_edit:"Edit",discussion_moreMenu_delete:"Delete",discussion_moreMenu_pin:"Pin post",discussion_moreMenu_unpin:"Unpin post",discussion_moreMenu_report:"Report",discussion_comments_screenReader:"See {count, plural, =0 {0 comments} one {# comment} other {# comments}}",discussion_comments:"{count, plural, =0 {0 comments} one {# comment} other {# comments}}",discussion_comments_loading:"... comments",discussion_responses_answer:"Answers",discussion_responses_comment:"Comments",discussion_responses_title:"{action} ({count})",discussion_responses_empty:"Be the first to respond",discussion_responses_empty_answer:"Be the first to answer this question",discussion_responses_placeholder:"Write a comment...",discussion_share_copy_link:"Copy link",discussion_share_copy_link_success:"Link copied to clipboard",discussion_thread_show:"Show {count} {count, select, 1 {reply} other {replies}}",discussion_thread_hide:"Hide replies",discussion_translation_seeOriginal:"See original",discussion_translation_translate:"Translate to {locale}",discussion_translation_translate_loading:"Translating to {locale}",discussion_translation_translated:"AI translated from {originalLocale}",discussion_translation_translate_error:"There was an error. Please try again.",discussion_translation_coming_soon:"Translation coming soon",discussion_thread_loadMore:"Load more replies",profileModalLauncher_successMessage:"Your post has been created",profileModalLauncher_title:"Your profile is incomplete",profileModalLauncher_text:"A complete profile builds trust and amplifies your voice across the community. Ensure all your details are up to date including a photo and a bio.",contactFooter_title:"Contact us",contactFooter_text:"We're always open to new ideas, so please reach out to see how we can collaborate.",contactFooter_phone:"+44 203 608 2241",contactFooter_email:"hello@apolitical.co",contactForm_name:"Name",contactForm_email:"Email address",contactForm_organisation:"Government department or organisation",contactForm_interests:"I'm interested in",contactForm_interests_publishingCourse:"Publishing or creating a course",contactForm_interests_buyingCourse:"Buying courses for my team",contactForm_interests_learningExperience:"Customised learning experiences",contactForm_interests_somethingElse:"Something else",contactForm_message:"Message",dropdown_menu_multiselect_all:"All",dropdown_menu_multiselect_none:"None",emailHelperTextBox_fallback_title:"Who can join",emailHelperTextBox_fallback_text:"Apolitical is a private community for public servants and policymakers.",emailHelperTextBox_default_title:"Who can join",emailHelperTextBox_default_text:"Apolitical is a private community for public servants and policymakers. <link>Learn more</link>.",emailHelperTextBox_autoApproved_title:"Email check",emailHelperTextBox_autoApproved_text:"Great! Looks like you are using a **government email domain we recognise.** You will be **auto-approved** once you sign up.",emailHelperTextBox_unrecognisedEmail_title:"Not a recognised government email",emailHelperTextBox_unrecognisedEmail_text:"To confirm you work in government or policy, please add more details below. <link>Learn more</link>.",emailHelperTextBox_pendingApproval_title:"Email is pending approval",emailHelperTextBox_pendingApproval_text:"Looks like this email has been used to sign up to Apolitical before, but <strong>we have not yet approved it.</strong> If you cannot wait to join, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_emailUnverified_title:"Hello again!",emailHelperTextBox_emailUnverified_text:"It looks like you're already an Apolitical member. To access your account, please verify your email address. <link>Click here to get a verification code sent to your email</link>.",emailHelperTextBox_emailAlreadyExists_title:"Email is already registered",emailHelperTextBox_emailAlreadyExists_text:"Looks like this email has been used to sign up to Apolitical before, try <link>logging in</link> instead. If you're still having issues, contact <mail>concierge@apolitical.co</mail>.",emailHelperTextBox_error_verificationFailedToSend_title:"Verification code failed to send",emailHelperTextBox_error_verificationFailedToSend_text:"Error details: <em>{error}</em>{br}<link>Click here to try again</link>.{br}If you continue to have problems, contact us at <mail>concierge@apolitical.co</mail>",emailHelperTextBox_error_noFunction:"Cannot resend verification code.",form_fieldWrapper_required:"required",form_fieldWrapper_characterLimit:"Character limit:",form_fieldWrapper_characterLimit_aria_default:"You have {remaining, plural, =0 {no characters} one {1 character} other {# characters}} remaining.",form_fieldWrapper_characterLimit_aria_over:"You are {over, plural, one {1 character} other {# characters}} over the limit. Please shorten your text to {limit} characters.",form_fieldWrapper_characterLimit_info:"You can enter up to {limit} characters",form_error_generalError:"Sorry, something has gone. Please refresh the page and try again.",form_error_required:"Please fill in this required field",form_error_numbers:"Numbers are not allowed in this text field",form_error_email:"Please enter a valid email address",form_error_url:"Please enter a valid URL",form_error_multipleInputs_same:"Please enter a unique value into each field",form_cancel:"Cancel",form_submit:"Submit",form_submitting:"Submitting form...",form_submitted:"Submitted",form_success:"Thank you for submitting the form!",form_multipleInputs_label:"Input {number}",form_multipleInputs_filledInCount:"{number}/{total}",form_multipleInputs_filledInCount_aria:"{number} out of {total} available inputs have been filled in",form_multipleInputs_remove:"Remove this input",inviteForm_email_placeholder:"Add email addresses...",inviteForm_title:"Know someone who might like to join this workshop?",inviteForm_label:"Invite your colleagues by typing or pasting their email addresses below",inviteForm_message_label:"Add an invitation note",inviteForm_message_placeholder:"Add a personal note to your invitation...",inviteForm_ctaMessage:"Send",inviteForm_success:"Invitation Sent!",inviteForm_error:"Something went wrong!",inviteForm_ctaTryAgain:"Try again!",inviteForm_ctaSendMoreInvites:"Send more invites",inviteForm_ctaDone:"Done",inputAutocomplete_placeholder:"Start typing...",passwordRules_unmatched_text:"Passwords do not match",passwordRules_intro:"We advise you not to use your name or email in your password.",passwordRules_rule_label:"Password",passwordRules_rule_8Characters:"must be longer than 8 characters",passwordRules_rule_numberSymbol:"must include a number and a symbol",passwordRules_rule_lowercaseUppercase:"must include both lower and upper case characters",passwordRules_notMet:"Your password does not meet this requirement",passwordRules_currentPassword_label:"Current password",passwordRules_newPassword_label:"New password",passwordRules_confirmPassword_label:"Confirm new password",profileForm_image:"Upload photo",profileForm_name:"Full name",profileForm_name_placeholder:"What's your name, so people can recognise you?",profileForm_jobTitle:"Job title",profileForm_jobTitle_placeholder:"What's your current job title?",profileForm_organization:"Organisation",profileForm_organization_placeholder:"Where do you work?",profileForm_location:"Location",profileForm_location_placeholder:"Add your city",profileForm_location_error:"Please choose a location from the list.",profileForm_bio:"Bio",profileForm_bio_placeholder:"Tell us more about yourself...",profileForm_cta:"Save",profileForm_cta_submitting:"Saving...",profileForm_cta_submitted:"Saved",profileImageChange_cta_uploading:"Uploading image...",profileImageChange_cta_change:"Change photo",profileImageChange_cta_upload:"+ Add profile photo",profileImageChange_error:"There was an error uploading the image. Please try a different file format or reduce the file size to less than 5MB. Contact us if problem persists.",publishArticleForm_title_label:"Title",publishArticleForm_title_placeholder:"Write a snappy title",publishArticleForm_subtitle_label:"Subtitle",publishArticleForm_subtitle_placeholder:"Your topic, in a nutshell",publishArticleForm_body_label:"Body",publishArticleForm_body_placeholder:"Type or paste your article here",publishArticleForm_tags_label:"Tags (select up to three)",publishArticleForm_cover_image_label:"Cover image",publishArticleForm__tags_topic_CitiesAndLocalGovernment:"Cities and local government",publishArticleForm__tags_topic_Climate:"Energy and climate",publishArticleForm__tags_topic_DigitalAndData:"Digital, data and AI",publishArticleForm__tags_topic_Education:"Education",publishArticleForm__tags_topic_EquityJusticeAndInclusion:"Inclusion",publishArticleForm__tags_topic_HealthAndSocialCare:"Health and social care",publishArticleForm__tags_topic_Innovation:"Innovation",publishArticleForm__tags_topic_LeadershipAndSkills:"Leadership and skills",publishArticleForm__tags_topic_LifeInGovernment:"Life in government",publishArticleForm__tags_topic_Policymaking:"Policymaking",publishArticleForm__tags_topic_TransportAndInfrastructure:"Transport and infrastructure",publishArticleForm__tags_topic_WorkAndTheEconomy:"Work and the economy",publishArticleForm_tags_error_over_three:"You must select no more than three options.",publishArticleForm_tags_error_required:"Please select at least one option.",publishArticleForm_disclaimer:"Ready to publish? Before you do, consider the following: Have you thoroughly proofread your writing? Are you confident in your arguments? Have you included hyperlinks to the necessary resources to support your article?",publishArticleForm_cta_submit:"Publish article",publishArticleForm_cta_submit_edit:"Save",publishArticleForm_cta_submitting:"Publishing...",publishArticleForm_cta_submitting_edit:"Saving...",publishArticleForm_cta_submitted:"Published!",publishArticleForm_cta_submitted_edit:"Saved!",publishArticleForm_aria_success:"Your article is being published. You will be redirected to your article in a moment.",publishArticleForm_aria_success_edit:"Your article is being saved. You will be redirected to your article in a moment.",publishArticleForm_error:"Sorry, something went wrong.",publishArticleForm_error_underMinLength:"Please add at least {length, plural, one {1 character} other {# characters}}.",publishArticleForm_error_loggedOut:"You need to be logged in to publish an article. Please log in and try again.",publishArticleForm_progressBar:"Your article is being published",publishArticleForm_selectImage_button:"Select a cover image",publishArticleForm_replaceImage_button:"Replace Image",ratings_text:"Rate answer",ratings_stars:"{number} out of {total}",ratings_low:"this is incorrect or confusing",ratings_high:"this is a fantastic answer",ratings_success:"Thank you!",richTextEditor_placeholder:"Write something...",richTextEditor_toolbar:"Formatting options",richTextEditor_bold:"Bold",richTextEditor_heading_three:"Heading",richTextEditor_italic:"Italic",richTextEditor_strikeThrough:"Strikethrough",richTextEditor_link:"Link",richTextEditor_link_text:"Text:",richTextEditor_link_text_aria:"Text to be linked:",richTextEditor_link_url:"Link:",richTextEditor_link_placeholder:"Type or paste URL",richTextEditor_link_error_required:"Please enter a URL to link to",richTextEditor_link_open:"Open: {link}",richTextEditor_link_open_text:"Opens in a new window",richTextEditor_link_edit:"Edit",richTextEditor_link_remove:"Remove",richTextEditor_link_button:"Add link",richTextEditor_link_enrichedUrl_aria:"Remove this preview for {title}",richTextEditor_link_enrichedUrl_aria_fallback:"the link",richTextEditor_link_enrichedUrl_aria_live:"The link preview has been removed from your post",richTextEditor_ol_list:"Numbered list",richTextEditor_ul_list:"Bullet-point list",richTextEditor_block_quote:"Quote",richTextEditor_mention_fallback:"Can't find who you're looking for? Invite them to the community",search_label:"Search for:",search_placeholder:"Ask Apolitical",search_clear:"Clear search",search_cta:"Search",showpassword_show:"Show",showpassword_hide:"Hide",showpassword_aria_show:"Your password is hidden. Click to show.",showpassword_aria_hide:"Your password is visible. Click to hide.",signup_title:"Sign up",signup_full_name:"Full name",signup_full_name_placeholder:"Lionel Messi",signup_email_address:"Work email",signup_email_address_placeholder:"lionel.messi@argentina.gov",signup_job_title:"Job title",signup_job_title_placeholder:"e.g. Senior Policy Advisor",signup_organization:"Organisation",signup_organization_placeholder:"e.g. Department of Justice",signup_url:"Link to official government bio / LinkedIn <small>(optional)</small>",signup_url_placeholder:"https://organisation.com/bio",signup_expectation:"What do you want to know<small>Optional, but we will use your response to build the session!</small>",signup_expectation_placeholder:"What do you want to know?",signup_terms:"I accept Apolitical's <terms>Terms of Service</terms>, <privacy>Privacy Policy</privacy> and that I'll get essential emails for my use of Apolitical",signup_error:"We're really sorry, but we've had a problem trying to sign you up. This could be an issue with our system, so we suggest you try again later.",signup_button_join:"Join for free",signup_button_login:"Log in",signup_submitting:"Submitting form...",signup_success_title:"Thank you for applying to join Apolitical!",signup_success_text:"<p>Once we've vetted your application, you'll get a secure login link to help you get started.</p><p>Please note that trust is everything to our community, so you can't login until your identity has been verified.</p>",poll_instructions:"Select one{allowMultipleVotes, select, true { or more} other {}}",poll_num_votes:"{number, plural, one {# vote} other {# votes}}",poll_remove_vote_button:"Remove vote{number, plural, =0 {} one {} other {s}}",poll_aria_votes:"You have {number, plural, =0 {not voted on this poll} other {voted for:}}",replies_feed_missing_polls_vote_message:"Please vote above to view all the comments",tableOfContents:"Table of contents",timeToComplete_hours:"{time, plural, =0 {} one {1 hour} other {# hours}}",timeToComplete_hours_short:"{time}h",timeToComplete_minutes:"{time, plural, =0 {} one {1 minute} other {# minutes}}",timeToComplete_minutes_short:"{time}m",timeToComplete_range:"{early} - {late}",timeToComplete_range_aria:"between {early} and {late}",tooltip_loading:"Loading...",return_to_nav_button:"Back to top",progressTracker:"Step {current} of {total}",cookieBanner_title:"Cookies and your privacy",cookieBanner_text:"We take your trust and privacy very seriously. Apolitical uses safe cookies (small files on your device) to run the site. You can reject non-essential cookies, but some site features may not work without them.",cookieBanner_buttons_settings:"Change my settings",cookieBanner_buttons_reject:"Reject all",cookieBanner_buttons_accept:"Accept all",footer_platform:"Platform",footer_platform_events:"Events",footer_platform_courses:"Courses",footer_platform_qanda:"Q&A",footer_platform_articles:"Articles",footer_platform_communities:"Communities",footer_community:"Community",footer_community_support:"Support FAQ",footer_community_post:"Post on Apolitical",footer_community_join:"Who can join",footer_community_guidelines:"Guidelines & values",footer_company:"Company",footer_company_news:"News",footer_company_insights:"Insights",footer_company_story:"Our story",footer_company_team:"Meet our team",footer_company_careers:"Careers",footer_company_partner:"Partner with us",footer_company_contact:"Get in touch",footer_legal:"Legal",footer_legal_privacy:"Privacy policy",footer_legal_terms:"Terms & conditions",footer_legal_cookie:"Cookie policy",footer_legal_accessibility:"Accessibility statement",footer_legal_ai:"AI principles",footer_legal_dataProtection:"Data protection officer",footer_legal_euDataProtection:"EU data protection officer",footer_contact:"Contact",footer_contact_london:"London address",footer_contact_london_address:"Church House Westminster{br}Deans Yard{br}London, SW1P 3NZ{br}United Kingdom",footer_contact_registered:"Registered address",footer_contact_registered_address:"20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",footer_contact_berlin:"Berlin address",footer_contact_berlin_address:"Torstraße 220{br}10115 Berlin{br}Germany",footer_contact_washington:"Washington DC Address",footer_contact_washington_address:"1100 15th St NW{br}Washington, DC 20005{br}United States",footer_contact_support:"For platform support",footer_contact_business:"For business inquiries",footer_social_linkedin:"LinkedIn",footer_social_twitter:"Twitter",footer_social_facebook:"Facebook",footer_copyright:"Copyright © {currentYear} Apolitical Group Limited",header_skip:"Skip to main content",header_language_switcher:"Change language",header_search_show:"Show search bar",header_search_hide:"Close search bar",header_menu_show:"Show navigation",header_menu_hide:"Close navigation",header_home_loggedOut:"Home",header_home_loggedIn:"My Home",header_communities:"Communities",header_topics:"Topics",header_topics_explore:"Explore",header_topics_explore_events:"Events",header_topics_explore_courses:"Courses","header_topics_explore_q-and-a":"Q&A",header_topics_explore_articles:"Articles",header_topics_explore_communities:"Communities",header_topics_topics:"Topics",header_topics_topics_climate:"Energy and climate","header_topics_topics_cities-and-local-government":"Cities and local government","header_topics_topics_digital-and-data":"Digital, data and AI",header_topics_topics_education:"Education","header_topics_topics_equity-justice-and-inclusion":"Inclusion","header_topics_topics_health-and-social-care":"Health and social care",header_topics_topics_innovation:"Innovation","header_topics_topics_leadership-and-skills":"Leadership and skills","header_topics_topics_life-in-government":"Life in government",header_topics_topics_policymaking:"Policymaking","header_topics_topics_transport-and-infrastructure":"Transport and infrastructure","header_topics_topics_work-and-the-economy":"Work and the economy",header_partners:"For partners",header_account:"My account",header_account_show:"Show account menu",header_account_hide:"Close account menu",header_account_profile:"My profile",header_account_settings:"Settings & privacy","header_account_log-out":"Log out",header_buttons_login:"Log in",header_buttons_signup:"Sign up",header_language_unavailable_en:"This page is only available in English. <link>Learn more →</link>",header_language_unavailable_vi:"Trang này chỉ có sẵn bằng tiếng Anh. <link>Tìm hiểu thêm →</link>","header_language_unavailable_sr-Cyrl":"Ова страница је доступна само на енглеском. <link>Сазнајте више →</link>",header_language_unavailable_de:"Diese Seite ist nur auf Englisch verfügbar. <link>Mehr erfahren →</link>","header_language_unavailable_fr-CA":"Cette page est uniquement disponible en anglais. <link>En savoir plus →</link>",header_language_unavailable_ko:"이 페이지는 영어로만 제공됩니다. <link>자세히 알아보기 →</link>",header_language_unavailable_it:"Questa pagina è disponibile solo in inglese. <link>Scopri di più →</link>",header_language_unavailable_pl:"Ta strona jest dostępna tylko w języku angielskim. <link>Dowiedz się więcej →</link>",header_language_unavailable_ja:"このページは英語でのみ利用可能です。<link>詳細はこちら →</link>",header_language_unavailable_ar:"هذه الصفحة متوفرة باللغة الإنجليزية فقط. <link>اعرف المزيد →</link>",header_language_unavailable_es:"Esta página sólo está disponible en inglés. <link>Más información →</link>",header_language_unavailable_fr:"Cette page est uniquement disponible en anglais. <link>En savoir plus →</link>",header_language_unavailable_pt:"Esta página está disponível apenas em inglês. <link>Saiba mais →</link>",header_language_unavailable_id:"Halaman ini tidak tersedia dalam bahasa yang dipilih. <link>Pelajari lebih lanjut →</link>","header_language_unavailable_pt-BR":"Esta página não está disponível no idioma selecionado. <link>Saiba mais →</link>","header_language_unavailable_es-419":"Esta página sólo está disponible en inglés. <link>Más información →</link>",pageLayout_browserTooSmall:"Sorry, your device is too small to view this content properly. Please change to a different orientation or another device.",pageLayout_error:"An error occurred while rendering this page. Please refresh the page or try again later.",loadingBlock_loading:"Loading...",loadingBlock_almostDone:"Almost done...",loadingBlock_complete:"Complete!",progressBar:"{number}% loaded",discussionFormModal_title:"Create a post",discussionFormModal_cta:"Create post",inviteModal_title:"You’re registered",inviteModal_formTitle:"Know someone who might like to join this workshop?",inviteModal_formLabel:"Invite your colleagues by typing or pasting their email addresses below.",inviteModal_cta:"Send",overlay_close:"Close",profileModal_title:"Update your profile",breadcrumbs_label:"Go back to:",breadcrumbs_currentPage:"Current page:",filters_all:"Show all",filters_disabled:"{name} - no results",languageSwitcher_label:"I would like to read this article in...",languageSwitcher_translation_original:"original language",languageSwitcher_translation_human:"translated by person",languageSwitcher_translation_machine:"translated by machine",languageSwitcher_selected:"{language} - currently selected",languageSwitcher_disclaimer:"This content is machine translated and will occasionally get gendered language or other direct translations wrong. We’re trying to resolve this but in the meantime, if you notice something very wrong, let us know at <link>{email}</link>",loadMore_button:"Load more",loadMore_endOfFeed:"You're all caught up",loadMore_error:"We're having trouble loading more content. Please refresh the page or try again later.",moreMenu:"See more options",navigationMenu_links_homepage:"Home",navigationMenu_links_events:"Events",navigationMenu_links_microcourses:"Courses","navigationMenu_links_q-and-a":"Q&A",navigationMenu_links_articles:"Articles",navigationMenu_links_communities:"Communities",shareLinks_label:"Share",shareLinks_link_linkedin:"Share on LinkedIn",shareLinks_link_twitter:"Share on Twitter",shareLinks_link_facebook:"Share on Facebook",shareLinks_link_email:"Share by email","shareLinks_link_clipboard-copy":"Copy the link",tags_community:"From the community",editSection_placeholder_description:"Add some details",editSection_placeholder_cta:"add",editSection_edit:"Edit",notFoundError_title:"We can't find that page",notFoundError_text:"Sorry about that. We all mess up sometimes - read some ‘fail’ stories below.",notFoundError_post_1:"Why public servants must learn to fail — and 3 tips for how to do it",notFoundError_post_2:"What failure has taught me",notFoundError_post_3:"How to learn from failure without causing a scandal",notFoundError_cta:"View more articles",collapsibleSection_summary:"Find out more",contentTypeLabel_event:"Event",contentTypeLabel_learningHub:"Programme",contentTypeLabel_listPage:"List",contentTypeLabel_microcourse:"Course",contentTypeLabel_qaQuestion:"Q&A",contentTypeLabel_solutionArticle:"Article",contentTypeLabel_communityPage:"Community",hideShowTextBox_hide:"View less",hideShowTextBox_show:"View more",markdown_collapsibleSection_summary:"Resources",markdown_skip_video:"Skip past video",markdown_skip_padlet:"Skip past interactive board",markdown_skip_poll:"Skip past poll",markdown_skip_survey:"Skip past survey",markdown_skip:"Skip to next section",markdown_iframe_title:"Course information",markdown_iframe_video:"Video",markdown_iframe_padlet:"Interactive board",markdown_iframe_poll:"Poll",markdown_iframe_survey:"Survey",member_connection_accept:"Accept",member_connection_cancel:"Cancel Request",member_connection_connect:"Connect",member_connection_connected:"Connected",member_connection_pending:"Pending",member_connection_remove:"Remove Connection",member_connection_requested:"Requested",member_show_email_hide:"Email visible only to connections",member_show_email_private:"Private profile email hidden",member_show_email_show:"Show contact info",member_show_email_tooltip:"Copy email address",member_show_email_tooltip_copied:"Email copied to clipboard",member_show_email_tooltip_mine:"Visible only to your connections",member_show_email_tooltip_private:"The privacy setting for this profile is private"},Dx={...an,languageSwitcher_label:"Me gustaría leer este artículo en...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traducido por un humano",languageSwitcher_translation_machine:"traducido por máquina",languageSwitcher_disclaimer:"Este contenido fue traducido automáticamente y ocasionalmente tendrá errores de género u otras traducciones directas. Estamos intentando resolver este problema, pero mientras tanto, si notas algún error grave, escríbenos a <link>{email}</link>"},Ox={...an,languageSwitcher_label:"Je voudrais lire cet article dans...",languageSwitcher_translation_original:"langue originale",languageSwitcher_translation_human:"traduit par un humain",languageSwitcher_translation_machine:"traduit par machine",languageSwitcher_disclaimer:"Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>",collapsibleSection_summary:"En savoir plus"},Nx={...an,languageSwitcher_label:"Eu gostaria de ler este artigo em...",languageSwitcher_translation_original:"linguagem original",languageSwitcher_translation_human:"traduzido por um humano",languageSwitcher_translation_machine:"traduzido por máquina",languageSwitcher_disclaimer:"Este conteúdo foi traduzido automaticamente e, ocasionalmente, poderão ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos tentando resolver isso, porém se perceber algo errado por favor nos avise em <link>{email}</link>"},Ix={...an,languageSwitcher_label:"Saya ingin membaca artikel ini dalam...",languageSwitcher_translation_original:"bahasa asli",languageSwitcher_translation_human:"diterjemahkan oleh manusia",languageSwitcher_translation_machine:"diterjemahkan oleh mesin",languageSwitcher_disclaimer:"Konten ini telah diterjemahkan secara otomatis dan terkadang mungkin terdapat kesalahan dalam penerjemahan gender atau terjemahan langsung lainnya. Kami sedang berusaha memperbaiki hal ini, tetapi jika Anda menemukan kesalahan, mohon beri tahu kami di <link>{email}</link>"},Px={...an,languageSwitcher_label:"Eu gostaria de ler este artigo em...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traduzido por humano",languageSwitcher_translation_machine:"traduzido por máquina",languageSwitcher_disclaimer:"Este conteúdo foi traduzido automaticamente e, ocasionalmente, podem ocorrer erros de linguagem de gênero ou outras traduções diretas. Estamos trabalhando para resolver isso, mas se você perceber algo errado, por favor nos avise em <link>{email}</link>"},Rx={...an,languageSwitcher_label:"Me gustaría leer este artículo en...",languageSwitcher_translation_original:"idioma original",languageSwitcher_translation_human:"traducido por un humano",languageSwitcher_translation_machine:"traducido por máquina",languageSwitcher_disclaimer:"Este contenido fue traducido automáticamente y ocasionalmente tendrá errores de género u otras traducciones directas. Estamos intentando resolver este problema, pero mientras tanto, si notas algún error grave, escríbenos a <link>{email}</link>"},Fx={...an,languageSwitcher_label:"أود قراءة هذه المقالة بـ...",languageSwitcher_translation_original:"اللغة الأصلية",languageSwitcher_translation_human:"مترجمة بواسطة إنسان",languageSwitcher_translation_machine:"مترجمة آلياً",languageSwitcher_disclaimer:"تمت ترجمة هذا المحتوى تلقائياً وقد يحتوي على أخطاء في النوع أو ترجمات حرفية أخرى. نحن نحاول معالجة هذه المشكلة، ولكن في الوقت الحالي، إذا لاحظت خطأً مهماً، يرجى إعلامنا على <link>{email}</link>",collapsibleSection_summary:"اقرأ المزيد"},Bx={...an,languageSwitcher_label:"この記事を以下の言語で読みたい...",languageSwitcher_translation_original:"原文",languageSwitcher_translation_human:"人による翻訳",languageSwitcher_translation_machine:"機械翻訳",languageSwitcher_disclaimer:"このコンテンツは自動的に翻訳されており、性別の誤りや直訳などが含まれている可能性があります。現在、これらの問題の解決に取り組んでいますが、重大な誤りにお気づきの場合は、<link>{email}</link> までご連絡ください。",collapsibleSection_summary:"もっと読む"},Mx={...an,languageSwitcher_label:"Chciał(a)bym przeczytać ten artykuł w...",languageSwitcher_translation_original:"język oryginalny",languageSwitcher_translation_human:"przetłumaczone przez człowieka",languageSwitcher_translation_machine:"przetłumaczone maszynowo",languageSwitcher_disclaimer:"Treść została przetłumaczona automatycznie i może zawierać błędy związane z rodzajem gramatycznym lub inne dosłowne tłumaczenia. Pracujemy nad ich poprawą, ale jeśli zauważysz poważny błąd, daj nam znać na adres <link>{email}</link>",collapsibleSection_summary:"Czytaj więcej"},Lx={...an,languageSwitcher_label:"Vorrei leggere questo articolo in...",languageSwitcher_translation_original:"lingua originale",languageSwitcher_translation_human:"tradotto da un essere umano",languageSwitcher_translation_machine:"tradotto automaticamente",languageSwitcher_disclaimer:"Questo contenuto è stato tradotto automaticamente e potrebbe contenere errori di genere o altre traduzioni letterali. Stiamo lavorando per risolvere questi problemi, ma se noti un errore importante, faccelo sapere a <link>{email}</link>",collapsibleSection_summary:"Scopri di più"},$x={...an,languageSwitcher_label:"Желео бих да читам овај чланак на...",languageSwitcher_translation_original:"оригиналном језику",languageSwitcher_translation_human:"превео човек",languageSwitcher_translation_machine:"машински превод",languageSwitcher_disclaimer:"Овај садржај је аутоматски преведен и може садржати грешке у роду или друге дословне преводе. Трудимо се да решимо овај проблем, али у међувремену, ако приметите озбиљну грешку, јавите нам на <link>{email}</link>",collapsibleSection_summary:"Сазнајте више"},jx={...an,languageSwitcher_label:"이 기사를 다음 언어로 읽고 싶습니다...",languageSwitcher_translation_original:"원본 언어",languageSwitcher_translation_human:"사람이 번역함",languageSwitcher_translation_machine:"기계 번역",languageSwitcher_disclaimer:"이 콘텐츠는 자동으로 번역되었으며, 성별 오류나 직역 등 부정확한 부분이 포함될 수 있습니다. 저희는 이 문제를 해결하기 위해 노력하고 있으며, 중요한 오류를 발견하셨다면 <link>{email}</link>로 알려주세요.",collapsibleSection_summary:"자세히 보기"},Hx={...an,languageSwitcher_label:"Je voudrais lire cet article dans...",languageSwitcher_translation_original:"langue originale",languageSwitcher_translation_human:"traduit par un humain",languageSwitcher_translation_machine:"traduit par machine",languageSwitcher_disclaimer:"Ce contenu est traduit automatiquement et contiendra d’évantuelles erreurs de genre ou d’autres traductions directes. Nous essayons de résoudre ce problème, mais en attendant, si vous remarquez une erreur importante, faites-le nous savoir à <link>{email}</link>",collapsibleSection_summary:"En savoir plus"},Ux={...an,languageSwitcher_label:"Ich möchte diesen Artikel lesen auf...",languageSwitcher_translation_original:"Originalsprache",languageSwitcher_translation_human:"von einem Menschen übersetzt",languageSwitcher_translation_machine:"maschinell übersetzt",languageSwitcher_disclaimer:"Dieser Inhalt wurde automatisch übersetzt und kann Fehler bei der Geschlechtszuordnung oder andere Ungenauigkeiten enthalten. Wir arbeiten daran, diese Probleme zu beheben. Wenn Ihnen ein schwerwiegender Fehler auffällt, informieren Sie uns bitte unter <link>{email}</link>.",collapsibleSection_summary:"Mehr erfahren"},zx={...an,languageSwitcher_label:"Tôi muốn đọc bài viết này bằng...",languageSwitcher_translation_original:"ngôn ngữ gốc",languageSwitcher_translation_human:"bản dịch do con người thực hiện",languageSwitcher_translation_machine:"bản dịch tự động",languageSwitcher_disclaimer:"Nội dung này được dịch tự động và có thể chứa một số lỗi về ngữ pháp hoặc cách diễn đạt. Chúng tôi đang nỗ lực cải thiện, nhưng nếu bạn phát hiện lỗi nghiêm trọng, vui lòng thông báo cho chúng tôi tại <link>{email}</link>",collapsibleSection_summary:"Tìm hiểu thêm"},m1=(e,t=an)=>e in t,Ar=(e,t,n,r,i={})=>{let a="";return m1(`${t}_${n}`)?a=e({id:`${t}_${n}`},i):a=e({id:t},{[r]:n,...i}),a},qx=(e,t,n)=>{if(!e||e===0)return"0";t||(t=0),n||(n=["k","m","b","t"]);let r=e.toString();t=Math.pow(10,t);for(let i=n.length-1;i>=0;i--){const a=Math.pow(10,(i+1)*3);if(a<=e){e=Math.round(e*t/a)/t,e===1e3&&i<n.length-1&&(e=1,i++),r=`${e}${n[i]}`;break}}return r},hc=(e,t)=>E.Children.map(e,n=>Object.is(n,null)?n:E.cloneElement(n,{...t})),k4=(e=0)=>{setTimeout(()=>{const t=document.querySelector(".splash-screen");t&&t.remove(),window.prerenderReady=!0},e)},Wx=e=>{var a,s;const n=["name","organization","jobTitle","biography"].every(o=>{const l=e[o];return l!=null&&l!==""}),r=((a=e.image)==null?void 0:a.thumbnail)!==void 0,i=((s=e.location)==null?void 0:s.en)!==void 0;return n&&r&&i},Vx=(e,t,n)=>!t.id||!t.name?"":t.error?n.replace(/{{name}}/g,Tl).replace(/{{id}}/g,Tl):n.replace(/{{name}}/g,t.name).replace(/{{id}}/g,t.id),D4=async({text:e,template:t,mentions:n,listMembers:r=()=>Promise.resolve([])})=>{var a;if(!n)return e;const i=e.match($a);if(!i)return e;for(const s of i){const o=s.replace($a,(c,d)=>d),l=n[o];if(!l)continue;const u={};if(typeof l=="object")u.name=l.error?l.error:((a=l==null?void 0:l.data)==null?void 0:a.name)||"",u.id=l.id||"",u.error=l.error;else{const c=l;if(c.startsWith(Th))try{const d=c.replace(Th,"");u.id=d,await r({id:d}).then(f=>{const{name:p,error:g}=f;u.name=g||p||"",u.error=g})}catch{e.replace(s,"@");continue}else continue}e=e.replace(s,u.name?Vx(e,u,t):s)}return e},Pp=e=>{const t=e.startsWith("http")?e:`https://${e}`,r=new URL(t).hostname;return{full:t,pretty:r}},O4=e=>new URLSearchParams(window.location.search).get(e),_l=(e="")=>e.replace(/\s+/g,"").length>0,Ch=e=>{const t=e.length>8,n=/[0-9]/.test(e)&&/[`!@#$%^&*()_+\-=[\]{}£;':"\\|,.<>/?~]/.test(e),r=new RegExp("^(?=.*?[A-Z])(?=.*?[a-z])").test(e);return{isValid:t&&n&&r,matchingRules:{isMoreThanEightCharacters:t,includesNumberAndSymbol:n,includesLowerAndUppercase:r}}};function Si(e){return window!=null&&window.btoa?window.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode("0x"+n))):(console.error("window.btoa is not supported"),e)}const Ka=()=>{const{id:e}=E.useContext(Ut);if(!e)return La.DEFAULT_LOCALE;const t=S4(Op);return t||La.DEFAULT_LOCALE},g1=()=>{const{id:e}=E.useContext(Ut),[t,n]=E.useState(void 0);return E.useEffect(()=>{if(!e){n("/home/");return}const r=S4(Op);if(r){n(`/${r}`);return}n(`/${La.DEFAULT_LOCALE}`)},[e]),t},N4=({scrollPosition:e=0,offset:t={down:0,up:10},callbacks:{scrollDown:n=()=>{},scrollUp:r=()=>{}}})=>{if(!window)return;const[i,a]=E.useState({current:0,past:0})||[!1,()=>{}],[s,o]=E.useState({scrollDown:!1,scrollUp:!1})||[!1,()=>{}];E.useEffect(()=>(l(),window.addEventListener("scroll",u),()=>{u.flush(),window.removeEventListener("scroll",u)}),[]);const l=()=>{const c=window.scrollY,d=i.current,f=c-d,p=f>0?"down":"up";if(a({current:c,past:d}),p==="down"){c>=e+t.down&&!s.scrollDown&&(!s.scrollUp||f>t.up)&&(n(),o({scrollUp:!1,scrollDown:!0}));return}Math.abs(f)>=t.up&&!s.scrollUp&&(r(),o({scrollUp:!0,scrollDown:!1}))},u=y4(()=>{l()},250);return i},Rp=(e=[],t=!0)=>{e=Array.isArray(e)?e:[e];const n=E.useRef(!1);Us(()=>{if(window&&window.location&&window.location.hash){if(n.current)return;const r=document.getElementById(window.location.hash.replace("#",""));r&&(r.scrollIntoView(t?{behavior:"smooth"}:null),n.current=!0)}},e)},Fp=(e=!1)=>{if(!e)return{showTooltip:!1,tooltipProps:{}};const[t,n]=E.useState(!1);return{showTooltip:t,tooltipProps:{onClick:()=>n(!0),onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),n(!t))},onMouseOver:()=>n(!0),onMouseOut:()=>n(!1),onFocus:()=>n(!0),onBlur:()=>n(!1)}}};const ng={},Kx=E.forwardRef(({id:e,styling:t={},isOpen:n=!1,isLoading:r=!1,children:i,className:a="",functions:s={},callbacks:o={},accessibility:l={},...u},c)=>{const d=ue.useIntl(),[f]=E.useState(e||Date.now().toString()),p=E.useRef(null),g=c||p,[m,y]=E.useState(n?"open":"hidden"),{extraPadding:v=!0,hasPointer:b=!1,hasForm:T=!1}=t,{onOpen:w=()=>{},onClose:_=()=>{}}=o,{readToScreenreadersWhenClosed:x=!1,...k}=l,I=ng[f];E.useEffect(()=>{const O=g==null?void 0:g.current;if(O)return O.addEventListener("transitionend",B),()=>{O.removeEventListener("transitionend",B)}},[]),E.useEffect(()=>{if(m!=="open")return;const O=S=>{S.key==="Escape"&&(S.stopPropagation(),S.preventDefault(),y("closed"))};return document.addEventListener("keyup",O),()=>{document.removeEventListener("keyup",O)}},[m]);const B=({propertyName:O})=>{O==="opacity"&&(I!==!1&&clearTimeout(I),y(S=>(S==="open"?w():S==="closed"&&_(),S==="opening"?"open":S==="closing"?"closed":S==="closed"?"hidden":S)))};Us(()=>{I!==!1&&clearTimeout(I);let O="open";n?y("opening"):(y("closing"),O="hidden"),ng[f||""]=setTimeout(()=>{y(O)},300)},[n]);const F={"aria-live":"polite",...u,...k};s&&s.onBlur&&(F.onBlur=s.onBlur);const R={className:"content"};return x?R.className=ne("content",{hidden:m==="hidden"}):R.hidden=m==="hidden",h.jsx("aside",{ref:g,id:f,className:ne("tooltip text-medium",m,a,{loading:r,"extra-padding":v,"has-pointer":b,bottom:b==="bottom","has-form":T}),...F,children:h.jsx("div",{...R,children:r?h.jsx("p",{children:d.formatMessage({id:"tooltip_loading"})}):typeof i=="string"?h.jsx("p",{children:i}):i})})}),ki=E.memo(Kx);const Be=({variant:e="primary",size:t="medium",styling:n={muted:!1,fullWidth:!1},icon:r=!1,href:i=!1,element:a="button",onClick:s=!1,className:o="",disabled:l=!1,tooltip:u="",forceTooltip:c=!1,screenreaderText:d=!1,children:f=!1,...p})=>{const m=ia(typeof t=="object"),{showTooltip:y,tooltipProps:v}=Fp(!!u);if(typeof t=="object"&&typeof m=="number"){const _=Object.assign({},t),x=E4(Object.keys(_));t=b4(m,x,_)}!l&&u&&!c&&(u="");const b=[];typeof t=="string"&&b.push(t),r&&(b.push("icon"),typeof r=="object"?(b.push(r.icon),r.position?b.push(r.position):b.push("left"),r.hover&&b.push(`hover_${r.hover}`),r.animate&&(b.push("animate"),typeof r.animate=="string"&&b.push(r.animate))):(b.push(r),!r.includes("right")&&!r.includes("left")&&b.push("left")));const T={...p,className:ne(e,o,b,{"no-text":!f,disabled:l,button:i,muted:n.muted,"full-width":n.fullWidth}),onClick:_=>{(!i||i[0]==="#")&&s&&(_.preventDefault(),_.stopPropagation()),s&&s(_)},disabled:typeof l=="object"&&"isClickable"in l?!l.isClickable:l};i&&(a="a",T.href=i);const w=E.createElement(a,T,f||(d?h.jsx(pt,{showOnFocus:!1,children:d}):null));return c||l&&u?h.jsxs("span",{className:"button-container",...v,children:[h.jsx(ki,{isOpen:y,accessibility:{readToScreenreadersWhenClosed:!0},children:u}),w]}):w},no=({buttons:e,wrappers:t=[],className:n="",...r})=>{const i=e.length>1?"ul":"p",a=e.map((s,o)=>{var l;return i==="p"?h.jsx(Be,{...s},o):h.jsx("li",{className:((l=t[o])==null?void 0:l.className)||"",children:h.jsx(Be,{...s})},o)});return E.createElement(i,{className:ne("button-wrapper",n),...r,children:a})};const Or=({className:e="",maxWidth:t=!1})=>{const n=t?{"--max-width":`${t/16}rem`}:{};return h.jsx("hr",{className:ne(e,{"has-max-width":t}),style:n})},rg={card:{range:[{height:320,width:320},{height:425,width:687},{height:510,width:768}],sizes:"(min-width: 1024px) 720px, 30vw"},responsiveCard:{range:[{height:125,width:200},{height:188,width:300},{height:313,width:500}],sizes:"(min-width: 1024px) 720px, 30vw"},banner:{range:[{height:124,width:425},{height:320,width:768},{height:510,width:1368}],sizes:"(min-width: 1024px) 975px, 50vw"},feed:{range:[{height:270,width:124},{height:320,width:425},{height:425,width:687}],sizes:"(min-width: 1024px) 510px, 20vw"},highlightSection:{range:[{height:200,width:674},{height:400,width:1348},{height:1e3,width:1e3},{height:2e3,width:2e3}],sizes:"(max-width: 500px) 674px, (max-width: 1024px) 1348px, (max-width: 1200px) 1000px, 2000px"},thumbnail:{range:[{height:124,width:124},{height:320,width:320},{height:510,width:510}],sizes:"(min-width: 1024px) 453px, 20vw"},fallback:{range:[{height:124,width:375},{height:320,width:687},{height:510,width:990}],sizes:"(min-width: 1024px) 885px, 35vw"}},Gx=({aspect:e,range:t,sizes:n})=>{const{range:r,sizes:i}=e?rg[e]:rg.fallback;return{range:t&&t.length>0?t:r,sizes:n||i}},Yx=({format:e,height:t,query:n,width:r})=>{let i=`w=${r}&h=${t}`;return i=e?`${i}&fm=${e}`:i,i=n?`${i}&${n}`:i,i},ld=({format:e,range:t,url:n,query:r})=>t.map(({height:i,width:a})=>`${n}?${Yx({format:e,height:i,query:r,width:a})} ${a}w`).join(", ");const aa=({image:e,className:t,testId:n})=>{const{description:r,height:i,type:a,color:s,query:o,url:l,width:u,loading:c,decoding:d,fetchPriority:f}=e,{range:p,sizes:g}=Gx(e),m=ld({format:"avif",query:o,range:p,url:l}),y=ld({format:"webp",query:o,range:p,url:l}),v=ld({format:"",query:o,range:p,url:l});let b={};return s&&(b={"--color":s}),a&&a.includes("svg")?h.jsx("picture",{className:t,style:b,children:h.jsx("img",{src:l,alt:r,loading:c||"lazy",decoding:d||"async",fetchpriority:f||"auto",width:u,height:i,"data-testid":n||"image"})}):h.jsxs("picture",{className:t,style:b,children:[a!=="image/gif"&&h.jsx("source",{type:"image/avif",srcSet:m,sizes:g,"data-testid":"source"}),h.jsx("source",{type:"image/webp",srcSet:y,sizes:g,"data-testid":"source"}),h.jsx("img",{srcSet:v,sizes:g,src:l,alt:r,loading:c||"lazy",decoding:d||"async",fetchpriority:f||"auto",width:u,height:i,"data-testid":n||"image"})]})};const Zx=({image:e,className:t="",testId:n})=>h.jsx("div",{className:`image-container ${t}`,"data-testid":n||"image-container",children:e&&h.jsx(aa,{image:{...e},className:"image"})}),sa=({href:e,children:t,fallbackElement:n,meta:r,className:i="",onClick:a,gtmContext:s,gtmType:o,...l})=>{const{forceOnClick:u=!1}=r||{};if(e){const d={...l};return a&&(d.onClick=a),s&&(d["data-gtm-event-context"]=s),o&&(d["data-gtm-event-type"]=o),h.jsx("a",{href:e,className:ne("gtm-trackable",i),...d,children:t})}const c={};return u&&(c.onClick=a),n?E.createElement(n,{children:t,className:i,...l,...c}):h.jsx(h.Fragment,{children:t})};const I4=E.forwardRef(({className:e="",children:t},n)=>{const r=E.useRef(null),i=n||r;return h.jsx("aside",{ref:i,className:ne("popover",e),"aria-live":"polite",children:t})}),ro=({parent:e=document.body,children:t})=>typeof document=="object"?kp.createPortal(t,e):null,Qx=Object.freeze(Object.defineProperty({__proto__:null,default:ro},Symbol.toStringTag,{value:"Module"}));const Xx=({currentStep:e=1,steps:t=1})=>h.jsxs(h.Fragment,{children:[h.jsx(pt,{children:h.jsx(ue.FormattedMessage,{id:"progressTracker",values:{current:e,total:t}})}),h.jsx("div",{className:"progress-tracker",children:h.jsx("div",{className:"dots-wrapper",children:new Array(t).fill("").map((n,r)=>{const i=r+1;return h.jsxs("div",{className:"dot-wrapper",children:[h.jsx("div",{className:ne("dot",{active:i===e,completed:i<e}),"data-testid":"progress-dot"}),h.jsx("div",{className:ne("line",{active:i<e})})]},r)})})})]});const Jx=({elementId:e,offset:t=20})=>{const n=ue.useIntl(),r=()=>{const i=document.getElementById(e);if(!i)return;const a=document.getElementById("header");a&&window.scrollTo({top:i.offsetTop-a.clientHeight-t})};return h.jsx(Be,{variant:"secondary",className:"return-to-nav",onClick:r,"data-gtm-event-context":"ListPageMobile","data-gtm-event-type":"back-to-nav-button-click",screenreaderText:n.formatMessage({id:"return_to_nav_button"})})};const e7=({items:e,className:t="",...n})=>h.jsx("ul",{className:ne("buckets",t),...n,children:e.map(({title:r,text:i,link:a,...s},o)=>h.jsx("li",{className:"bucket text-medium",children:h.jsxs("a",{href:a,...s,children:[h.jsx("p",{className:"title",children:r}),h.jsx("p",{children:i})]})},o))}),ig=300,ag="ease-in-out";class t7{constructor(t){this.el=t,this.summary=t.querySelector("summary"),this.content=t.querySelector(".content"),this.animation=null,this.isClosing=!1,this.isExpanding=!1,this.summary.addEventListener("click",n=>this.onClick(n))}cleanUp(){this.summary.removeEventListener("click",t=>this.onClick(t))}onClick(t){t.preventDefault(),t.stopPropagation(),this.el.style.overflow="hidden",this.isClosing||!this.el.open?this.open():(this.isExpanding||this.el.open)&&this.shrink()}shrink(){this.isClosing=!0;const t=`${this.el.offsetHeight}px`,n=`${this.summary.offsetHeight}px`;this.animation&&this.animation.cancel(),this.animation=this.el.animate({height:[t,n]},{duration:ig,easing:ag}),this.animation.onfinish=()=>this.onAnimationFinish(!1),this.animation.oncancel=()=>this.isClosing=!1}open(){this.el.style.height=`${this.el.offsetHeight}px`,this.el.open=!0,window.requestAnimationFrame(()=>this.expand())}expand(){this.isExpanding=!0;const t=`${this.el.offsetHeight}px`,n=`${this.summary.offsetHeight+this.content.offsetHeight}px`;this.animation&&this.animation.cancel(),this.animation=this.el.animate({height:[t,n]},{duration:ig,easing:ag}),this.animation.onfinish=()=>this.onAnimationFinish(!0),this.animation.oncancel=()=>this.isExpanding=!1}onAnimationFinish(t){this.el.open=t,this.animation=null,this.isClosing=!1,this.isExpanding=!1,this.el.style.height=this.el.style.overflow=""}}const v1=({label:e=!1,className:t="",children:n,shouldAnimate:r=!1})=>{const i=ue.useIntl(),a=E.useRef(null);return E.useEffect(()=>{let s;return r&&(s=new t7(a.current)),()=>{r&&s&&s.cleanUp()}},[]),h.jsxs("details",{ref:a,className:ne("collapsible-section",t,{"should-animate":r}),children:[h.jsx("summary",{children:e||i.formatMessage({id:"collapsibleSection_summary"})}),h.jsx("div",{className:"content",children:n})]})},sg={cube:"box",graduationCap:"graduation-cap",person:"user",speech:"speech-bubble_round",star:"star_empty_thin"},n7=e=>{let t=e;return Object.keys(sg).includes(e)&&(t=sg[e]),`url(${dr}icons/${t}.svg)`};const og={customCard:"custom",microcourse:"course",courseJourney:"course",solutionArticle:"article",qaQuestion:"question",listPage:"list",learningHub:"learning-hub",communityPage:"communityPage"},P4=({contentType:e,customIcon:t,customLabel:n,className:r=""})=>{const i=ue.useIntl(),a=t?{"--custom-icon":n7(t)}:{},s=m1(`contentTypeLabel_${e}`)?i.formatMessage({id:`contentTypeLabel_${e}`}):!1;return!n&&!s?null:h.jsx("small",{className:ne("content-type-label text-small",e in og?og[e]:e,r,{"has-custom-icon":t}),style:a,"data-testid":"content-type-label",children:n||s})};const Kn=({variant:e="primary",icon:t,styling:n={},className:r="",children:i,...a})=>{const{showHighlight:s=!1,background:o="default"}=n,l=t?{"--icon":`url(${dr}icons/${t}.svg)`}:{};return h.jsx("div",{className:ne("highlighted-text-box",e,r,{"has-icon":t,"show-highlight":s,[o]:o!=="default"}),style:l,...a,children:i})};const Xr=({variant:e="empty",text:t=!1,button:n=!1,className:r=""})=>{let i=n&&!!Object.keys(n).length;const a=typeof n=="object"&&"breakpoints"in n,s=ia(a);if(a&&typeof n=="object"&&typeof s=="number"){const d=Object.assign({},n.breakpoints),f=E4(Object.keys(d));i=b4(s,f,d)}const{breakpoints:o,text:l="",component:u,...c}=n;return h.jsx(Kn,{variant:"subtle",className:ne("empty-state-box",e,r),children:h.jsxs(h.Fragment,{children:[t&&typeof t=="string"?h.jsx(Vr,{options:{forceBlock:!0},children:t}):t,i&&typeof n=="object"&&(u||h.jsx(Be,{...c,variant:n.variant?n.variant:"secondary",children:l}))]})})};const xh=({children:e,...t})=>h.jsx("p",{...t,children:e}),R4={q:xh,blockquote:xh};for(let e=1;e<=6;e++)R4[`h${e}`]={component:xh,props:{className:"title"}};const F4=({type:e="default",className:t="",heading:n=!1,children:r,...i})=>h.jsxs("div",{...i,className:ne("helper-text-box text-small",e,t),children:[n&&h.jsx("p",{className:"title",children:n}),typeof r=="string"?h.jsx(Vr,{options:{wrapper:E.Fragment,forceBlock:!0,overrides:R4},children:r}):h.jsx("p",{children:r})]});const B4=({id:e,className:t="",show:n=!1,hide:r=!1,text:i,markdownOptions:a,fadeStyle:s="default",children:o})=>{const l=ue.useIntl(),u=E.useRef(null);e||(e=Date.now().toString());const[c,d]=E.useState(""),[f,p]=E.useState("closed");E.useEffect(()=>{const y=u.current;if(y)return y.addEventListener("transitionend",g),()=>{y.removeEventListener("transitionend",g)}},[]),E.useEffect(()=>{if(!i||typeof i!="string")return;const y=i.split(`
37
37
  `);d(y.length<3?`${i.substring(0,400)}...`:y.slice(0,3).join(`
38
38
  `))},[i]),E.useEffect(()=>{f==="ready-to-close"&&p("closing")},[f]);const g=({propertyName:y})=>{y==="max-height"&&p(v=>v==="opening"?"open":v==="closing"?"closed":v)},m=["opening","open"].includes(f);return h.jsxs(Kn,{variant:"subtle",className:ne("hide-show-text-box",t),children:[h.jsx("div",{ref:u,id:e,className:ne("content",f,s),children:i?h.jsxs(h.Fragment,{children:[h.jsx(Vr,{options:{forceBlock:!0,...a},children:f==="closed"?c:i}),f!=="closed"&&o]}):o}),h.jsx("p",{className:"cta",children:h.jsx(Be,{variant:"tertiary",icon:{icon:"navigation_arrow",position:"left",animate:!0},styling:{muted:!0},className:ne({"rotate-180":m}),onClick:()=>{p(m?"ready-to-close":"opening")},"aria-expanded":m,"aria-controls":e,children:m?r||l.formatMessage({id:"hideShowTextBox_hide"}):n||l.formatMessage({id:"hideShowTextBox_show"})})})]})};const r7=({element:e="ul",layout:t="vertical",variant:n="default",items:r=[],styling:i={},className:a=""})=>{const{hasBorder:s=!1,zebraStriping:o=!1}=i;return E.createElement(e,{className:ne("icon-bulleted-list text-medium",n,a,{"has-border":s,"has-zebra-stripes":o,[t]:e!=="dl"}),children:r.map((l,u)=>{const c={wrapper:E.Fragment,forceInline:!0},d={"--icon":`url(${dr}icons/${l.icon}.svg)`};return e==="dl"?h.jsxs(E.Fragment,{children:[h.jsx("dt",{style:d,children:h.jsx(Vr,{options:c,children:l.dt||""})},`dt-${u}`),h.jsx("dd",{children:typeof l.text=="string"?h.jsx(Vr,{options:c,children:l.text}):l.text},`dd-${u}`)]},`dl-${u}`):h.jsx("li",{style:d,children:typeof l.text=="string"?h.jsx(Vr,{options:c,children:l.text}):l.text},u)})})},sn=()=>E.Fragment,i7=({children:e})=>h.jsx(Kn,{variant:"secondary",children:e}),a7=({children:e})=>typeof e=="object"&&Object.keys(e||{}).length===1?h.jsx("p",{className:"center",children:e}):h.jsx("div",{className:"center",children:e}),s7=["span","strong","h1","h2","h3","h4","h5","h6","p"],o7=({children:e})=>{const t=ue.useIntl();if(!e)return null;let n=t.formatMessage({id:"markdown_collapsibleSection_summary"});const r=[];for(const a of E.Children.toArray(e))if(!(!a||typeof a=="string"||typeof a=="number"))if(E.isValidElement(a)&&a.type==="summary"){if(a.props&&a.props.children){for(const s of E.Children.toArray(a.props.children))if(!(!s||typeof s=="string"||typeof s=="number")&&E.isValidElement(s)){const o=s.type;if(s7.includes(o)){for(n=s.props.children;typeof n!="string"&&(Array.isArray(n)&&n[0].props&&n[0].props.children&&n[0].props.children[0]);)n=n[0].props.children[0];break}}}}else r.push(a);const i=n?n.toString():"";return h.jsx(v1,{label:i,className:["Sources","Resources"].includes(i)?"discrete-links":"",children:r.map(a=>a)})},l7=({children:e,...t})=>{if(t.class)switch(t.class){case"casestudy":return h.jsx(Kn,{variant:"secondary",children:e});case"general-textbox":case"highlight-box":return h.jsx(Kn,{variant:"primary",children:e});case"pink-textbox":return h.jsx(Kn,{variant:"tertiary",children:e});case"content":return typeof e=="object"&&Object.keys(e||{}).length===1?h.jsx("p",{children:e}):e;default:return h.jsx("div",{...t,children:e})}return h.jsx("div",{...t,children:e})},rr=({children:e})=>h.jsx(h.Fragment,{children:e}),Bp=E.createContext({badges:[],isLoading:!0});function M4(){return E.useContext(Bp)}const L4=({children:e,badges:t})=>h.jsx(Bp.Provider,{value:t,children:e}),$4=({showDevTools:e=!0,children:t})=>{const n=new Tt.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:6e4}}});return h.jsxs(Tt.QueryClientProvider,{client:n,children:[t,e&&h.jsx(dx.ReactQueryDevtools,{initialIsOpen:!1})]})};var Mp=E.createContext({client:Es});function j4(e,t,n){if(n===void 0&&(n=new WeakMap),e===t)return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(n.has(e)&&n.get(e)===t)return!0;n.set(e,t);var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0,s=r;a<s.length;a++){var o=s[a];if(!i.includes(o)||!j4(e[o],t[o],n))return!1}return!0}function u7(e){var t=e.children,n=e.client,r=e.apiKey,i=e.options,a=E.useRef(null),s=E.useMemo(function(){return n?(r&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),i&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),n):(r||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),Es)},[n,r,JSON.stringify(i)]);return E.useEffect(function(){if(!n){var o=a.current;o?(r!==o.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),i&&!j4(i,o.options)&&Es.set_config(i),a.current={apiKey:r,options:i??{}}):(Es.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),Es.init(r,i),a.current={apiKey:r,options:i??{}})}},[n,r,JSON.stringify(i)]),E.createElement(Mp.Provider,{value:{client:s}},t)}var c7=function(){var e=E.useContext(Mp).client;return e};function $c(e){var t=c7(),n=E.useState(function(){return t.isFeatureEnabled(e)}),r=n[0],i=n[1];return E.useEffect(function(){return t.onFeatureFlags(function(){i(t.isFeatureEnabled(e))})},[t,e]),r}var wh=function(e,t){return wh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},wh(e,t)};function d7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wh(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ud=function(e){return typeof e=="function"},f7={componentStack:null,exceptionEvent:null,error:null},h7={INVALID_FALLBACK:"[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."};(function(e){d7(t,e);function t(n){var r=e.call(this,n)||this;return r.state=f7,r}return t.prototype.componentDidCatch=function(n,r){var i=this.props.additionalProperties,a;ud(i)?a=i(n):typeof i=="object"&&(a=i);var s=this.context.client,o=s.captureException(n,a),l=r.componentStack;this.setState({error:n,componentStack:l,exceptionEvent:o})},t.prototype.render=function(){var n=this.props,r=n.children,i=n.fallback,a=this.state;if(a.componentStack==null)return ud(r)?r():r;var s=ud(i)?E.createElement(i,{error:a.error,componentStack:a.componentStack,exceptionEvent:a.exceptionEvent}):i;return E.isValidElement(s)?s:(console.warn(h7.INVALID_FALLBACK),E.createElement(E.Fragment,null))},t.contextType=Mp,t})(E.Component);const H4=({children:e,user:t,disableSessionRecording:n=!1})=>t.isLoading?null:process.env.REACT_APP_PUBLIC_POSTHOG_KEY?h.jsx(u7,{apiKey:atob(process.env.REACT_APP_PUBLIC_POSTHOG_KEY),options:{api_host:"/ph",autocapture:!1,persistence_name:"flags",secure_cookie:!0,ui_host:"eu.posthog.com",bootstrap:{distinctID:t.id||"00000000-0000-0000-0000-000000000000",isIdentifiedID:!!t.id},disable_session_recording:n,session_recording:{maskAllInputs:!0,maskTextSelector:"*",maskTextFn:(r,i)=>(i==null?void 0:i.dataset.phunmask)==="true"?r:"*".repeat((r||"").trim().length)}},children:e}):h.jsx(h.Fragment,{children:e});var U4=(e=>(e.COMMUNITY_RANKING="community-ranking",e))(U4||{});const p7={en:an,es:Dx,fr:Ox,pt:Nx,id:Ix,"pt-BR":Px,"es-419":Rx,vi:zx,"sr-Cyrl":$x,de:Ux,"fr-CA":Hx,ko:jx,it:Lx,pl:Mx,ja:Bx,ar:Fx},z4=({children:e,locale:t,messages:n})=>{const r=t||La.DEFAULT_LOCALE,i={...p7[r],...n||{}};return h.jsx(ue.IntlProvider,{locale:r,messages:i,children:e})},Lp=E.createContext({}),Ut=E.createContext({isLoading:!0});function y1(){return E.useContext(Ut)}const q4=({children:e,user:t,updateDetails:n})=>h.jsx(Ut.Provider,{value:{...t,updateDetails:n},children:e}),$p=E.createContext({registerOverlay:()=>{},unregisterOverlay:()=>{}}),W4=()=>E.useContext($p),V4=({children:e})=>{const[t,n]=E.useState([]);E.useEffect(()=>{t.length>0?document.body.classList.add("has-overlay"):document.body.classList.remove("has-overlay")},[t]);const r=E.useCallback(a=>{n(s=>[...s,a])},[]),i=E.useCallback(a=>{n(s=>s.filter(o=>o!==a))},[]);return h.jsx($p.Provider,{value:{registerOverlay:r,unregisterOverlay:i},children:e})},m7=({bootstrap:e,children:t,intl:n,showDevTools:r})=>{const[i,a]=E.useState({isLoading:!0}),[s,o]=E.useState({badges:[],isLoading:!0}),l=(n==null?void 0:n.locale)||localStorage.getItem("language")||"en",[u,c]=E.useState(l),d=f=>{localStorage.setItem("language",f),c(f)};return E.useEffect(()=>{e().then(f=>{Array.isArray(f)?(a({...f[0],isLoading:!1}),o({badges:f[1],isLoading:!1})):a({...f,isLoading:!1}),k4(5e3)}).catch(f=>{f.message===x4&&window.location.pathname!=="/logout"&&(window.location.href="/logout"),a({isLoading:!1}),o({badges:[],isLoading:!1})})},[]),h.jsx(Lp.Provider,{value:{language:u,updateLanguage:d},children:h.jsx(z4,{locale:u,messages:n==null?void 0:n.messages,children:h.jsx(Dp.CookiesProvider,{children:h.jsx(q4,{user:i,updateDetails:a,children:h.jsx(L4,{badges:s,children:h.jsx(V4,{children:h.jsx($4,{showDevTools:r,children:h.jsx(H4,{user:i,children:t})})})})})})})})},g7=e=>{const t=ue.useIntl(),n=Date.now().toString(),r=E.useContext(Ut);let i="default",a=e.src;a.includes("youtube")||a.includes("vimeo")?i="video":a.includes("riddle")||a.includes("sli.do")?i="poll":a.includes("padlet")?i="padlet":a.includes("surveysparrow")&&(i="survey",r!=null&&r.id&&(a=`${a}&user_id=${r.id}`));const s=`content-after-iframe-${n}`;return h.jsxs(h.Fragment,{children:[h.jsx(pt,{element:"a",href:`#${s}`,onClick:o=>{o.preventDefault(),o.stopPropagation();const l=document.getElementById(s);l==null||l.scrollIntoView({behavior:"smooth"}),l==null||l.focus()},children:t.formatMessage({id:`markdown_skip${i==="default"?"":`_${i}`}`})}),h.jsx("iframe",{...e,src:a,title:t.formatMessage({id:`markdown_iframe${i==="default"?"":`_${i}`}`})}),h.jsx("span",{id:s,tabIndex:0})]})},lg=e=>{let t="";return e&&typeof e!="string"&&typeof e!="number"&&typeof e!="boolean"&&"type"in e&&(t=e.type),t},v7=({children:e,...t})=>{const n=ue.useIntl();let r={...t};t.href&&(t.href.includes("http:")||t.href.includes("https:"))&&!t.target&&(r.target="_blank");let i=e,a=!1;for(const o of E.Children.toArray(e))if(!(!o||typeof o=="string"||typeof o=="number")&&E.isValidElement(o)){const l=o.type;if(["button","center","span","strong"].includes(l)&&o.props&&o.props.children&&o.props.children[0])for((l==="button"||lg(o.props.children[0])==="button")&&(a=!0),i=o.props.children[0];i&&typeof i!="string"&&!(typeof i=="boolean"||typeof i=="number"||!E.isValidElement(i));)if(i.props&&i.props.children&&i.props.children[0])i=i.props.children[0],i&&lg(i)==="button"&&(a=!0);else break}const s=`@${Tl}`;return i===s||Array.isArray(i)&&i[0]===s?(delete r.href,delete r.target,h.jsxs("span",{...r,className:"mention deleted-user",children:["@",n.formatMessage({id:"member_deleted"})]})):a?(r={...r,className:"button primary medium"},h.jsx("p",{className:"center",children:h.jsx(Be,{variant:"primary",size:"medium",...r,children:i})})):h.jsx("a",{...r,children:i})},Ah=({children:e,...t})=>h.jsx("span",{className:ne({url:t==null?void 0:t.href}),children:e});const y7={default:{a:v7,CollapsibleSection:v1,TextBox:Kn,CaseStudy:i7,style:sn,details:o7,div:l7,iframe:g7,center:a7,script:sn},"text-only":{h1:sn,h2:sn,h3:sn,h4:sn,h5:sn,h6:sn,style:sn,details:sn,div:sn,TextBox:sn,CollapsibleSection:sn,CaseStudy:sn,blockquote:sn,iframe:sn,button:sn}},ja=({element:e="div",className:t="",options:n={},children:r,overrideType:i="default",styling:a={}})=>{if(!r)return null;const{highlightTitles:s=!1}=a;r=r.replace(/^<br\/?>/,"");const o={wrapper:E.Fragment,forceBlock:!0};let l=y7[i];return n.overrides&&(l={...l,...n.overrides}),E.createElement(e,{className:ne("markdown-text",t,{"highlight-titles":s}),children:h.jsx(Vr,{options:{...o,...n,overrides:l},children:r})})};const K4=({maxWidth:e=!1,title:t,subtitle:n,children:r,className:i="",ctaButton:a})=>{const s=e?{"--max-width":`${e/16}rem`}:{};return h.jsxs("section",{className:ne("page-heading",i),children:[h.jsxs("div",{className:ne("content",{"has-max-width":e}),style:s,children:[h.jsxs("div",{className:ne("content-wrapper",{"has-max-width":e}),children:[t&&t.text&&E.createElement(t.element||"h1",{className:"title"},t.text),n&&n.text&&E.createElement(n.element||"h2",{className:"text-medium"},n.text)]}),a&&h.jsx(Be,{...a,className:ne("cta-button","gtm-trackable"),"data-gtm-event-context":"CreateNewArticle","data-gtm-event-type":"create-article-click",children:a.text})]}),r]})};const Kr=({size:e="medium",variant:t="default",className:n="",icon:r,tooltip:i="",children:a,element:s="span",...o})=>{const l={"--icon":`url(${dr}icons/${r}.svg)`},{showTooltip:u,tooltipProps:c}=Fp(!!i),d={},f=i?typeof i=="string"?`tooltip-${Si(i)}`:i.id:void 0,p=i?typeof i=="string"?i:i.text:void 0;i&&f&&(d["aria-describedby"]=f);const g=E.createElement(i?"button":s,{className:ne("pill",e,t,n,{"has-icon":r}),style:l,children:a,...c,...d,...o});return i?E.createElement(s,{className:"pill-wrapper"},h.jsxs(h.Fragment,{children:[g,h.jsx(ki,{id:f,isOpen:u,children:p})]})):g};const zs=({element:e="p",children:t=null,className:n="",...r})=>E.createElement(e,{...r,className:ne("status-banner text-small",n),"aria-live":"assertive"},t),E7={globe:"globe",heart:"heart_empty_thick",pencil:"pencil",star:"star_empty","speech-bubble":"speech-bubble_round"};const b7=e=>e.toLowerCase().replace(/\s+/g,"-"),G4=({slug:e})=>{const t=ue.useIntl(),n="badgeName",{badges:r}=M4(),i=r==null?void 0:r.find(d=>d.slug===e);if(!i)return null;const{name:a,icon:s,colour:o,description:l}=i,u=b7(a),c=t.formatMessage({id:`${n}_${u}`,defaultMessage:a});return h.jsx(Kr,{className:ne("user-badge",o==null?void 0:o.toLowerCase()),icon:s&&E7[s],element:"li",tooltip:l,children:c})};var pn=(e=>(e.Communities="communities",e.Platform="platform",e))(pn||{});const Y4=({userBadges:e,badgeOptions:{scopes:t}})=>{if(Object.keys(e).length===0||!t)return;const n=t.flatMap(r=>{var i;return(i=e==null?void 0:e[r.scope])==null?void 0:i[r.area]}).filter(Boolean);return h.jsx("ul",{className:"badges-list",children:n.map((r,i)=>h.jsx(G4,{slug:r},`${i}-${r}`))})};var jp=(e=>(e.Accepted="accepted",e.Cancelled="cancelled",e.Declined="declined",e.Pending="pending",e.Removed="removed",e))(jp||{}),Hp=(e=>(e.In="in",e.Out="out",e))(Hp||{});const{In:T7,Out:ug}=Hp,{Pending:cd,Accepted:cg,Cancelled:_7,Removed:C7}=jp,Z4=({functions:e,connection:t={status:null,direction:null},disableConnect:n=!1,meta:{topLevelButton:r=!1}={},...i})=>{const{formatMessage:a}=ue.useIntl(),{status:s,direction:o}=t,{onAccept:l,onCancel:u,onRemove:c,onRequest:d}=e,[f,p]=E.useState(!1),[g,m]=E.useState(s),[y,v]=E.useState(o);E.useEffect(()=>{m(s),v(o)},[s,o]);const b=async(T,w)=>{try{p(!0),await T()&&(w!=null&&w.status&&m(w.status),w!=null&&w.direction&&v(w.direction))}finally{p(!1)}};return g===cd&&y===ug?h.jsx(Be,{onClick:async()=>{await b(l,{status:cg})},disabled:f,variant:r?"primary":"secondary",size:"small",icon:{icon:"user-plus"},...i,children:a({id:"member_connection_accept"})}):g===cd&&y===T7?h.jsxs("div",{className:"connection-cta-wrapper",children:[h.jsx("span",{className:"button secondary connection-cta pending small icon clock left",...i,children:a({id:"member_connection_pending"})}),u&&h.jsx(t1,{options:[{onClick:async()=>{await b(u,{status:_7})},text:a({id:"member_connection_cancel"})}]})]}):g===cg?h.jsxs("div",{className:"connection-cta-wrapper",children:[h.jsx("span",{className:"button secondary connection-cta connected small icon tick left",...i,children:a({id:"member_connection_connected"})}),c&&h.jsx(t1,{options:[{onClick:async()=>{await b(c,{status:C7})},text:a({id:"member_connection_remove"})}]})]}):!g&&d&&!n?h.jsx(Be,{onClick:async()=>{await b(d,{status:cd,direction:ug})},variant:r?"primary":"secondary",size:"small",disabled:f,icon:{icon:"user-plus"},...i,children:a({id:"member_connection_connect"})}):h.jsx(h.Fragment,{})};const x7=({styling:e={},progress:t=0,text:n=!1,className:r=""})=>{const i=ue.useIntl(),{showText:a=!1,layout:s="bar",size:o="default",color:l="default"}=e,u=t>75?100:t>50?75:t>25?50:t>5?25:0,c={"--progress":`${t}%`};return h.jsx("span",{className:ne(`progress-bar section-${u}`,s,r,{[o]:o!=="default",[l!=="default"?l:""]:l!=="default"}),style:c,children:E.createElement(a?"span":pt,{className:a?"text":"",children:n||i.formatMessage({id:"progressBar"},{number:t})})})},Up=E.memo(x7);const dd="loadingBlock_",w7=({progress:e=0,steps:t=!1,className:n=""})=>{const r=ue.useIntl();t||(t={0:{text:r.formatMessage({id:`${dd}loading`})},75:{text:r.formatMessage({id:`${dd}almostDone`})},100:{text:r.formatMessage({id:`${dd}complete`})}});let i=null;const a=Object.keys(t);for(let o=0;o<a.length&&!(e<parseInt(a[o]));o++)i=a[o];const s=i&&t[i].icon?{"--icon":`url(${dr}icons/${t[i].icon}.svg)`}:{};return h.jsxs(Kn,{className:ne("loading-block",n,{"has-icon":i&&t[i].icon}),variant:"subtle",style:s,children:[i&&h.jsx("span",{className:"step",children:t[i].text}),h.jsx(Up,{progress:e})]})},Q4=E.memo(w7);const mr=({element:e="div",className:t="",...n})=>h.jsx(p1,{element:e,className:ne("loading-placeholder",t),...n});const Sh={header:["logo","link","link","search"],sidebar:["text","text","text","text","text"],"cards-section":["subtitle","cards"],heading:["title"],cards:["card","card","card","card"],carousel:["cards","controls"],"carousel-with-title":["title","cards","controls"],answers:["text","text","text"],"text-page":["title","text","text","text","text","subtitle","text","text","text","text","subtitle","text","text","text","text"],"form-with-answers":["question","subtitle","form","answers","answers","answers","answers","answers"],"general-website-page":["banner","text-page"],"overview-page":["header","sidebar","title","text","cards-section","cards-section","footer"],member:["profile-picture","text","text"],"course-navigation":["button","button"],"course-lesson-page":["breadcrumb","course-navigation","text-page"],"course-lesson-quiz":["text-page","quiz-box"]},X4=(e,t)=>e in Sh?h.jsx("div",{className:e,children:Sh[e].map((n,r)=>X4(n,r))},t):h.jsx(mr,{className:e},t),E1=({layout:e="overview-page",...t})=>h.jsx("div",{className:ne("loading-state",e),...t,children:Sh[e].map((n,r)=>X4(n,r))}),J4=e=>{const t=e&&e.toUpperCase().trim().split(" ");return Array.isArray(t)&&t.length>1&&t[0]!==""?t[1]===""?t[0][0]:t[0][0]+t[t.length-1][0]:e?e.substr(0,1):""},ou=["#5AB6A3","#A2D7AF","#806056","#3962B3"],A7=e=>{const t=Math.ceil(26/ou.length),n=J4(e).toLowerCase();if(n==="")return ou[0];const r=n.charCodeAt(0)-96;for(let i=0;i<ou.length;i++)if(r<=t*(i+1))return ou[i]};const dg=256,Di=({className:e="",src:t="",name:n,alt:r,width:i=dg,height:a=dg,showInitials:s=!0,...o})=>{const[l,u]=E.useState(!1),c=E.useRef(null),d=r??n;E.useEffect(()=>{const p=c.current;if(!p)return;const g=p.getContext("2d");if(!g)return;const m=i,y=a;typeof window<"u"&&window.devicePixelRatio&&(p.width=m*window.devicePixelRatio,p.height=y*window.devicePixelRatio,g.scale(window.devicePixelRatio,window.devicePixelRatio)),g.fillStyle=A7(n),g.fillRect(0,0,m,y),g.font=`${m/3}px Arial`,g.textAlign="center",g.fillStyle="white",g.fillText(J4(n),m/2,y/1.6)},[n]);let f=!1;return t&&t!==""&&!l&&(t.includes("http")||t.includes("//"))&&(f=!0),h.jsx("figure",{className:ne("profile-picture","ph-no-capture",e,{error:l}),...o,children:f?h.jsx("img",{src:t,alt:d,onError:()=>{u(!0)},width:i,height:a}):s?h.jsx("canvas",{ref:c}):h.jsx("span",{className:"fallback"})})};var en=(e=>(e.DISCUSSION_FORM_SUBMITTED="discussionFormSubmitted",e.DISCUSSION_POST_ADDED="discussionPostAdded",e.DISCUSSION_POST_CLICKED="discussionPostClicked",e.MEMBER_CLICKED="memberClicked",e))(en||{});const b1=e=>e==="anonymous"?{image:`${dr}logos/member_anonymous.png`}:e==="apolitical"?{image:`${dr}logos/member_apolitical.svg`}:e==="community"||e==="deleted"||typeof e=="object"&&!e.name?{image:`${dr}logos/member_community.svg`}:{name:e.name,role:e.jobTitle||"",organisation:e.organization||"",country:e.location&&e.location.en||"",url:`/profiles/${e.id}`,image:e.image&&e.image.thumbnail,badges:e.badges},S7=({role:e="",organisation:t="",country:n="",maximumCharacters:r=80})=>{const i=e!=="",a=t!=="",s=n!=="";if(!i&&!a&&!s)return"";const o=`${e}${i&&a?` — ${t}`:t}`;let l=`${o}${(i||a)&&s?`, ${n}`:n}`;return l.length>r&&(l=o),l.length>r&&(l=El(l,r)),l};const k7=E.lazy(()=>Promise.resolve().then(()=>Qx)),D7=E.lazy(()=>Promise.resolve().then(()=>Rie));let lu=null;const Ti=({element:e="div",member:t="community",alt:n="",additionalContent:r=!1,styling:i={},functions:a={},gtmContext:s="member",gtmType:o="member-click",className:l="",badges:u,connection:c,...d})=>{var z,P,te,ee,D,C;const f=ue.useIntl(),{profile:p,connections:g,...m}=a,{size:y="medium",variant:v="inline",isCondensed:b=!0,additionalContentNewLine:T=!1}=i,w=E.useContext(Ut),_=p&&w&&typeof w.id=="string",[x,k]=E.useState(!1),I=b1(t);I.name||(I.name=f.formatMessage({id:`member_${typeof t=="string"?t:"community"}`}));const{name:B,image:F}=I;let{url:R}=I;typeof t=="object"&&t.link!==void 0&&(t.link===!1?R=void 0:R=t.link);const O=S7(I),S=r&&r.createdAt?_h(r.createdAt):!1,M=r&&r.createdAt?Ip(r.createdAt):"",$=!R&&_;return E.createElement(e,{...d,className:ne("member text-medium",y,v,l,{"has-profile-link":_}),...m,children:h.jsxs(h.Fragment,{children:[h.jsxs(sa,{href:R,className:ne({"details-wrapper":$}),fallbackElement:$?"div":void 0,gtmType:o,gtmContext:s,meta:{forceOnClick:!0},onClick:W=>{if(W==null||W.preventDefault(),W==null||W.stopPropagation(),!R){$&&k(!0);return}lu&&clearTimeout(lu),lu=setTimeout(()=>{window.location.href=R},150);const L=new CustomEvent(en.MEMBER_CLICKED,{detail:{link:R,timeout:lu}});document.dispatchEvent(L)},children:[h.jsx(Di,{name:B,src:F,alt:n}),h.jsxs("div",{className:"details",children:[h.jsxs("div",{className:ne("name",{"new-line":T}),"data-testid":"member-name",children:[h.jsx("span",{children:B}),(u==null?void 0:u.showBadges)&&(I==null?void 0:I.badges)&&h.jsx(Y4,{userBadges:I.badges,badgeOptions:u}),r&&h.jsxs("span",{className:ne("additional-content",{"new-line":T}),children:[r.createdAt&&S&&!((z=r==null?void 0:r.customMessage)!=null&&z.text)&&h.jsx("span",{className:"date",title:M,"aria-label":M,"data-testid":"date",children:f.formatMessage({id:`dates_${S.path}`},{number:S.number})}),r.createdAt&&S&&((P=r==null?void 0:r.customMessage)==null?void 0:P.text)&&h.jsx("span",{children:f.formatMessage({id:S.path==="now"?(te=r.customMessage)==null?void 0:te.nowText:(ee=r.customMessage)==null?void 0:ee.text},{time:f.formatMessage({id:`dates_${S.path}`},{number:S.number}),community:(C=(D=r.customMessage)==null?void 0:D.link)==null?void 0:C.text,link:W=>{var L,H;return h.jsx("a",{href:`${(H=(L=r.customMessage)==null?void 0:L.link)==null?void 0:H.url}`,onClick:j=>j.stopPropagation(),children:W})}})}),r.didEdit&&h.jsx("em",{children:f.formatMessage({id:"discussion_edited"})})]})]}),O&&!T&&h.jsx("small",{className:ne({"text-medium":y==="large"}),"data-testid":"member-details",children:b?O:h.jsxs(h.Fragment,{children:[I.role,I.organisation?` — ${I.organisation}`:h.jsx(h.Fragment,{}),h.jsx("span",{className:"location",children:I.country})]})})]})]}),g&&h.jsx(Z4,{connection:c,functions:g}),O&&p&&_?h.jsxs(h.Fragment,{children:[h.jsx(Be,{variant:"tertiary",size:"small",onClick:W=>{W.preventDefault(),W.stopPropagation(),k(!0)},"data-testid":"profile-button",children:f.formatMessage({id:"member_profile"})}),h.jsx(k7,{children:h.jsx(D7,{form:p,showModal:x,content:{title:f.formatMessage({id:"member_profile"})},functions:{onClose:()=>{k(!1)}},className:"in-portal"})})]}):h.jsx(h.Fragment,{})]})})},O7=Object.freeze(Object.defineProperty({__proto__:null,default:Ti},Symbol.toStringTag,{value:"Module"}));const fg={small:24,medium:48},zp=({element:e="div",contributors:{total:t,data:n}={total:void 0,data:[]},styling:{showText:r,size:i,showGap:a,showPlaceholders:s}={showText:!0,size:"medium",showGap:!0,showPlaceholders:!1},cutoff:o=2,multipleText:l,className:u="",...c})=>{const d=ue.useIntl();return!n||n.length===0?null:E.createElement(e,{...c,className:ne("contributors",u,i,{"has-gap":a}),children:h.jsxs(h.Fragment,{children:[h.jsx("ul",{children:n.map((f,p)=>{let g,m="";if(p<o){const{name:y="",image:v=""}=b1(f);if(s)return h.jsx(mr,{element:"li",className:"contributor"},p);g=h.jsx(Di,{name:y,src:v,width:fg[i||"medium"],height:fg[i||"medium"]})}else if(p===o){const y=(t||n.length)-o;g=h.jsxs("small",{className:ne({"large-number":y>99}),children:["+",qx(y,0)]}),m="number-left"}return g?h.jsx("li",{className:ne("contributor",m),children:g},p):null})}),r&&h.jsx("span",{className:"label",children:typeof r=="string"?r:n.length===1?typeof n[0]=="string"?d.formatMessage({id:`member_${n[0]}`}):El(n[0].name||"",20):l||null})]})})};const qp=({element:e="section",children:t,className:n,variant:r,additionalContent:i,...a})=>{let s=typeof t=="string"?h.jsx("p",{children:t}):t;return i&&(s=h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"modal-content",children:typeof t=="string"?h.jsx("p",{children:t}):t}),h.jsx("div",{className:"modal-additional-content",children:typeof i=="string"?h.jsx("p",{children:i}):i})]})),E.createElement(e,{className:ne("modal",n,{"success-section":r==="success"}),children:s,...a})};var kh={exports:{}},uu={exports:{}},Ct={};/** @license React v16.13.1
39
39
  * react-is.production.min.js
package/index.mjs CHANGED
@@ -1416,7 +1416,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1416
1416
  footer_legal_euDataProtection: "EU data protection officer",
1417
1417
  footer_contact: "Contact",
1418
1418
  footer_contact_london: "London address",
1419
- footer_contact_london_address: "251 Southwark Bridge Road{br}London, SE1 6FL{br}United Kingdom",
1419
+ footer_contact_london_address: "Church House Westminster{br}Deans Yard{br}London, SW1P 3NZ{br}United Kingdom",
1420
1420
  footer_contact_registered: "Registered address",
1421
1421
  footer_contact_registered_address: "20–22 Wenlock Road{br}London, N1 7GU{br}United Kingdom",
1422
1422
  footer_contact_berlin: "Berlin address",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apolitical/component-library",
3
- "version": "8.9.2",
3
+ "version": "8.9.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -513,6 +513,11 @@ $font-size-md: 1rem;
513
513
  padding-bottom: 2.5rem; /* 40px */
514
514
  }
515
515
 
516
+ .u-py-12 {
517
+ padding-top: 3rem; /* 48px */
518
+ padding-bottom: 3rem; /* 48px */
519
+ }
520
+
516
521
  .u-px-0 {
517
522
  padding-left: 0;
518
523
  padding-right: 0;