Live status
History
All Systems Operational
Stripe API Operational
90 days ago
100.0 % uptime
Today
Global payments ? Operational
Revenue and finance automation ? Operational
Banking-as-a-service ? Operational
Stripe core components ? Operational
Acquirers and payment methods ? Operational
Operational
Degraded Performance
Partial Outage
Major Outage
Maintenance
Major outage
Partial outage
No downtime recorded on this day.
No data exists for this day.
had a major outage.
had a partial outage.
Scheduled Maintenance
Scheduled maintenance for Swish - SEB Dec 5, 2024 04:00-05:00 UTC
Swish - SEB has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 26, 2024 - 15:32 UTC
Scheduled maintenance for Swish - Marginalen Bank Dec 7, 2024 23:00 - Dec 8, 2024 02:00 UTC
Swish - Marginalen Bank has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Dec 02, 2024 - 11:41 UTC
Scheduled maintenance for Swish - Nordea Dec 8, 2024 01:00-05:00 UTC
Swish - Nordea has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Dec 03, 2024 - 11:22 UTC
Scheduled maintenance for Bancontact Dec 8, 2024 06:00-10:00 UTC
Bancontact has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 25, 2024 - 13:22 UTC
Scheduled maintenance for Multibanco Dec 9, 2024 03:00-04:30 UTC
Multibanco has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Dec 02, 2024 - 03:31 UTC
Scheduled maintenance for Swish - ICA Banken Dec 9, 2024 22:30 - Dec 10, 2024 01:30 UTC
Swish - ICA Banken has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 22, 2024 - 09:31 UTC
Scheduled maintenance for Bancontact Dec 10, 2024 00:30-05:00 UTC
Bancontact has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 29, 2024 - 08:30 UTC
Scheduled maintenance for Swish Dec 10, 2024 02:00-05:00 UTC
Swish has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 11, 2024 - 12:52 UTC
Swish - Skandiabanken has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Dec 03, 2024 - 11:22 UTC
Swish - Sparbanken Syd has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 27, 2024 - 15:42 UTC
Scheduled maintenance for Swish Jan 14, 2025 02:00-05:00 UTC
Swish has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Dec 03, 2024 - 14:22 UTC
Swish - Sparbanken Syd has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Posted on Nov 28, 2024 - 10:01 UTC
Past Incidents
Dec 4, 2024
Completed - The scheduled maintenance has been completed.
Dec 4, 05:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Dec 4, 02:00 UTC
Scheduled - Swish has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Oct 23, 06:32 UTC
Completed - The scheduled maintenance has been completed.
Dec 4, 03:45 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Dec 4, 02:45 UTC
Scheduled - Swish - Swedbank has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 29, 13:12 UTC
Dec 3, 2024
Completed - The scheduled maintenance has been completed.
Dec 3, 04:30 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Dec 3, 03:00 UTC
Scheduled - Bancontact has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 25, 13:22 UTC
Dec 2, 2024
Resolved - We have been working with our banking partner through the weekend to minimize payout delays for European users. We have confirmed that Euro payouts have been processed as of 10:30 UTC Monday, December 2nd. We expect all impacted payouts due on Friday, November 29th to become available in merchant bank accounts today.
Dec 2, 11:57 UTC
Monitoring - We are investigating a delay for manual and automatic Euro payouts with a scheduled arrival date of Friday, November 29th. This delay is due to a technical issue with one of our banking partners and we are working closely with them to resolve the issue as quickly as possible. No action is required on your part. Future payouts remain unaffected by this issue.
Nov 29, 19:09 UTC
Completed - The scheduled maintenance has been completed.
Dec 2, 04:30 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Dec 2, 03:00 UTC
Scheduled - Multibanco has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 25, 02:21 UTC
Dec 1, 2024
Completed - The scheduled maintenance has been completed.
Dec 1, 04:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Dec 1, 02:00 UTC
Scheduled - Swish - Nordea has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 30, 13:51 UTC
Nov 30, 2024

No incidents reported.

Nov 29, 2024
Resolved - Between 10:24 UTC on November 28th and 17:10 UTC on November 29th, we saw service disruptions for Issuers and Acquirers in Italy. This issue was caused by damage to the physical infrastructure used to provide internet service to Italy. All repairs have been completed and transactions are now processing as expected. This issue is considered resolved although we will continue to monitor.
Nov 29, 20:39 UTC
Update - We are continuing to monitor and will post updates as they become available. There are no issues with Stripe systems at this time.
Nov 29, 14:30 UTC
Identified - As of 10:24 UTC on November 28th, we have seen service disruption to Issuers and Acquirers in Italy. Stripe remains operational. The issue seems to be impacting multiple banks in the region. We are continuing to monitor and will post further updates as they become available.
Nov 29, 12:57 UTC
Nov 28, 2024

No incidents reported.

Nov 27, 2024

No incidents reported.

Nov 26, 2024
Completed - The scheduled maintenance has been completed.
Nov 26, 06:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 26, 02:00 UTC
Scheduled - Bancontact has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 21, 14:31 UTC
Resolved - From 20:28 November 25th – 03:28 November 26th UTC, we saw elevated errors on Affirm payments. This is now resolved.
Nov 26, 04:48 UTC
Identified - As of 20:28 UTC, we're seeing elevated errors on Affirm payments. We've identified this to be caused by Affirm, and are continuing to monitor the issue.
Nov 26, 02:44 UTC
Nov 25, 2024
Completed - The scheduled maintenance has been completed.
Nov 25, 04:30 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 25, 03:00 UTC
Scheduled - Multibanco has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 18, 02:11 UTC
Nov 24, 2024
Completed - The scheduled maintenance has been completed.
Nov 24, 08:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 24, 01:00 UTC
Scheduled - P24 - mBank has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 22, 03:10 UTC
Completed - The scheduled maintenance has been completed.
Nov 24, 05:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 23, 22:30 UTC
Scheduled - P24 - ING Bank Śląski has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 21, 02:10 UTC
Nov 23, 2024
Completed - The scheduled maintenance has been completed.
Nov 23, 06:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 23, 01:00 UTC
Scheduled - P24 - Bank Pocztowy has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 21, 02:10 UTC
Completed - The scheduled maintenance has been completed.
Nov 23, 01:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 22, 23:30 UTC
Scheduled - Bancontact has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 21, 14:21 UTC
Completed - The scheduled maintenance has been completed.
Nov 23, 01:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
Nov 22, 21:00 UTC
Scheduled - P24 - BGŻ BNP Paribas Polska has an upcoming scheduled maintenance.

Note: Stripe retrieves payment method planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

Nov 21, 02:10 UTC
Nov 22, 2024
Nov 21, 2024
Resolved - From 11:38 –13:00 UTC, we saw elevated errors on Paypal payments. This is now resolved.
Nov 21, 13:16 UTC
Identified - As of 11:38 UTC, we’re seeing elevated errors on Paypal payments. We’ve identified this to be caused by Paypal, and are continuing to monitor the issue.
Nov 21, 12:38 UTC
Nov 20, 2024

No incidents reported.

'),$("body").prepend('
'),$(".custom-header-container").each(function(){$("#content-container").append(this)}),$("#content-container").append('
'),$(".StatusSiteUptimeSection").append('

Loading page…

'),$(".StatusSiteUptimeSection").append('')}),c.push(function(e){var t=e.pageInfo;switch(t.name){case"home":$(".container").remove(),$(".updates-dropdown-container").remove(),$(".StatusSiteUptimeSection").prepend('
'),$(".top-bar-container").appendTo(".StatusSite__statusContainer"),$(".top-bar-container").removeClass("top-bar-container-hidden"),$(".StatusSite__statusContainer").append('
'),$(".StatusSite__statusContainer").append('
'),$(".column-grid-container").append('
'),$(".column-grid-container").append('
'),$(".StatusSite__statusContainer").append('
'),$("#status-right-column").append('
Active incidents
'),$("#status-right-column").append('
Recently resolved
'),$("#status-right-column").append('
Payment partner maintenance
'),$("#status-left-column").append('
System status
');break;case"subscription":$(".StatusSiteUptimeSection").prepend('
'),$(".subscription-content-container").append('
'),$(".subscription-content-container").append(`

Back to live status

`);var n=t.subscriptionId;$(".subscription-content-container").append(`
`),$(".subscription-form").append(` `),$(".subscription-form").append('
');break;default:window.location.replace("/")}});const d={no_outage:"#14D433",partial_outage:"#FAB000",major_outage:"#E46602"};function rectangleWidthForDays(e){return e*(r+l)-l}function generateRectangle(e,t,n,a){var e=d[e],i=rectangleWidthForDays(n.length),s=n.map(e=>e.outages&&e.outages.m?parseInt(""+e.outages.m):0).reduce((e,t)=>e+t,0),o=n.map(e=>e.outages&&e.outages.p?parseInt(""+e.outages.p):0).reduce((e,t)=>e+t,0);return``}const r=8,l=4;function getOutageType(e){return e.outages&&e.outages.m?"major_outage":e.outages&&e.outages.p?"partial_outage":"no_outage"}function formatDateForTooltip(e){e=new Date(Date.parse(e));return t[e.getUTCMonth()]+" "+e.getUTCDate()}function displayTime(e){var t=Math.floor(e/3600);return(t?t+"h ":"")+Math.floor(e%3600/60)+"m"}function resizeCallback(){var a=$(".uptime-bar-svg");if(a){var i=$(window).width(),a=parseInt(a.attr("data-num-rectangles"));let e=a,t=!1;i<630?(e=30,t=!0):i<930&&(e=60);var s=(a-e)*(r+l),a=rectangleWidthForDays(a);$(".uptime-bar-svg").attr("viewBox",s+` 0 ${a-s} `+28),$(".uptime-bar-detail-text").text(`99.999% uptime for the last ${e} days`);let n=document.getElementById("rectangle-1");i<630?n=document.getElementById("rectangle-61"):i<930&&(n=document.getElementById("rectangle-31")),n&&(a=formatDateForTooltip(n.getAttribute("data-first-date")),$("#uptime-bar-date").text(""+a)),function responsiveUIChanges(e){e?($(".legend-container").addClass("legend-container-small"),$(".uptime-bar-container").addClass("uptime-bar-container-small"),$(".uptime-bar-title-detail-container").addClass("uptime-bar-title-detail-container-small")):($(".legend-container").removeClass("legend-container-small"),$(".uptime-bar-container").removeClass("uptime-bar-container-small"),$(".uptime-bar-title-detail-container").removeClass("uptime-bar-title-detail-container-small"))}(t)}}function getIncidentTimestamp(e){return Date.parse(e.resolved_at||e.updated_at||e.display_at||e.created_at)}function filterEntriesToDisplay(e,t,n){return e.slice(0,t).filter(e=>Date.now()-getIncidentTimestamp(e)<24*n*3600*1e3)}c.push(function(e){var{components:e,pageInfo:t}=e;"home"===t.name&&($(".components-section").append('
'),e.forEach(e=>{var t=e.id,n=e.name,a=e.description,i=e.status;if(e.showcase)try{var s=uptimeData[t];$(".main-uptime-bar-container").append(function generateUptimeBar(e,t,n){var a=function generateRectangles(e,t){var n=e.days;$.map(e.days,function(e,t){});let a="",i=(r,0),s=0;for(let e=1;e ${a} `}(n,!1),i=$(window).width();return`

${t}

99.999% uptime for the last 90 days

${a}

${formatDateForTooltip((i<630?n.days[60]:i<930?n.days[30]:n.days[0]).date)}

Today

Legend:
Operational
Partial degradation
Severe degradation
`}(0,n,s)),resizeCallback()}catch(e){console.error(e)}else $(".component-list-container").append(function generateComponent(e,t,n){return icons={operational:` `,degraded_performance:` `,partial_outage:` `,major_outage:` `,under_maintenance:` `},display_names={operational:"Online",degraded_performance:"Partial degradation",partial_outage:"Partial degradation",major_outage:"Severe degradation",under_maintenance:"Scheduled maintenance"},`
${icons[e]}
${t}
${n||""}
`}(i,n,a))}),$(".uptime-bar-status-bars").append('
'),$(".stripe-uptime-rect").on("mouseenter",function(e){var t,n,a,e=$(e.target);e&&e.hasClass("stripe-uptime-rect")&&($(".tooltip-box").html(function makeTooltipContent(e){var t=formatDateForTooltip(e.attr("data-first-date")),n=formatDateForTooltip(e.attr("data-last-date"));let a=t;n!==t&&(a+=" - "+n);t=parseInt(""+e.attr("data-partial-outage-time")),n=parseInt(""+e.attr("data-major-outage-time"));let i="tooltip-text-no-outage",s="100% uptime";return 0"+outageTime):0"+outageTime),`

${a}

${s}

`}(e)),t=$(".uptime-bar-svg").position().left,n=e.position().left,a=e.width()/2,$(".tooltip-box").css({left:Math.floor(-65+n-t+a)}),$(".tooltip-box").addClass("tooltip-box-shown"),e.attr({y:0,height:28}))}),$(".stripe-uptime-rect").on("mouseleave",function(e){e=$(e.target);e&&e.hasClass("stripe-uptime-rect")&&($(".tooltip-box").removeClass("tooltip-box-shown"),e.attr({y:2,height:24}))}))}),$(window).resize(function(){resizeCallback()}),c.push(function(e){var{incidents:e,recentMaintenances:t,pageInfo:n}=e;"home"===n.name&&(n=e.filter(e=>!a.includes(e.status)),e=filterEntriesToDisplay(e.filter(e=>a.includes(e.status)),15,91),t=filterEntriesToDisplay(t.filter(e=>"scheduled"!==e.status),15,25),n.map(e=>incidentToHtml(e)).forEach(e=>{$(".all-incidents-container").append(e)}),e.concat(t).sort((e,t)=>getIncidentTimestamp(e)-getIncidentTimestamp(t)).reverse().map(e=>incidentToHtml(e)).forEach(e=>{$(".all-incidents-container").append(e)}))});const a=["resolved","postmortem"],i=["2ry92bnk9r40","nws2gwjgck8y","p6r2bshjfxd7","6wftq4swt98d"];function incidentToHtml(e){let s=[];return e.incident_updates.forEach(e=>{var t=e.id,n=e.body,a=e.display_at||e.created_at||e.updated_at,i=formatDateOnly(a),a=function formatTimeOnly(e){return formatTimeOnlyWithoutTZ(e)+" UTC"}(a),e=e.status;s.push({updateId:t,updateText:n,updateDate:i,updateTime:a,updateStatus:e})}),function generateIncident(e,t){return openIncidentParts=[`
`,e,"
",'
'],t.forEach(e=>{e.updateId&&i.includes(e.updateId)||openIncidentParts.push(function generateUpdateSection(e){var{updateText:e,updateDate:t,updateTime:n,updateStatus:a}=e;return`
${t}
${n}
${{investigating:"Investigating",identified:"Identified",monitoring:"Monitoring",resolved:"Resolved",postmortem:"Postmortem",scheduled:"Scheduled",in_progress:"In Progress",completed:"Completed"}[a]||"Unknown status"}
${e}
`}(e))}),openIncidentParts.push("
"),openIncidentParts.join("")}(e.name,s)}function formatMaintenanceDate(e){return formatDateOnly(e)+" "+formatTimeOnlyWithoutTZ(e)}function generateMaintenance(e,t=!1){var n=e.name.replace(/^scheduled maintenance( (for|by))?/i,""),a=new Date(Date.parse(e.scheduled_for)),e=new Date(Date.parse(e.scheduled_until)),i="In progress",s="",o="";return t&&(i="Scheduled",s="maintenance-status-badge-scheduled",o="maintenance-content-scheduled"),`
${i}

${n}

${formatMaintenanceDate(a)}—${formatMaintenanceDate(e)} UTC

`}function selectTab(e,t){$(`[data-tab-content-id="${e}"]`).removeClass("tab-content-hidden"),$(`[data-tab-id="${e}"]`).addClass("tab-container-selected"),t.forEach(e=>{$(`[data-tab-content-id="${e}"]`).addClass("tab-content-hidden"),$("[data-tab-id="+e).removeClass("tab-container-selected")})}function liveStatusTab(){selectTab("live-status",["history"])}function historyTab(){selectTab("history",["live-status"])}function updateFormSelectedComponents(e){$('[data-input="components"]').attr("value",e.join(","))}function updateButtonDisplay(e){!function setsEqual(t,n){return t.every(e=>n.includes(e))&&n.every(e=>t.includes(e))}($(".component-list-container").attr("data-initial-components").split(","),e)?($("#stripe-subscription-save").removeAttr("disabled"),$("#stripe-subscription-cancel").removeClass("button-link-hidden")):($("#stripe-subscription-save").attr("disabled",""),$("#stripe-subscription-cancel").addClass("button-link-hidden"))}c.push(function(e){var{incidents:e,pageInfo:t}=e;"home"===t.name&&((t=e.filter(e=>!a.includes(e.status))).length||$(".unresolved-incidents").append('

All systems operational

'),t.map(e=>incidentToHtml(e)).forEach(e=>{$(".unresolved-incidents").append(e)}))}),c.push(function(e){var{incidents:e,pageInfo:t}=e;if("home"===t.name){let t=!1;e.filter(e=>a.includes(e.status)).forEach(e=>{!function shouldHideFromRecentIncidents(e){let t=null;return e.incident_updates.forEach(e=>{e=e.display_at||e.created_at||e.updated_at;t=t?Math.max(t,Date.parse(e)):Date.parse(e)}),t&&432e5No recent incidents')}}),c.push(function(e){var{activeMaintenances:e,upcomingMaintenances:t,pageInfo:n}=e;"home"===n.name&&($(".all-maintenances").append('
\n

Note: Stripe retrieves payment partner planned maintenance information from payment method partners and the information may not be complete, accurate, or up to date.

\n

Maintenance information is shown for Bancontact, EPS, GiroPay, iDEAL, Multibanco, OXXO, P24, Sofort, Swish, and ZIP local payment methods.

\n
'),$("#maintenance-disclaimer-icon").on({mouseenter:function(){$("#maintenance-disclaimer-text").css("visibility","visible")},mouseleave:function(){$("#maintenance-disclaimer-text").css("visibility","hidden")}}),0===e.length&&0===t.length?$(".all-maintenances").append('

No maintenance scheduled

'):(e.slice(0,15).forEach(function(e){$(".all-maintenances").append(generateMaintenance(e,!1))}),(n=15-e.length)<=0||t.slice(0,n).forEach(function(e){$(".all-maintenances").append(generateMaintenance(e,!0))})))}),c.push(function(e){"home"===e.pageInfo.name&&($('[data-tab-id="live-status"]').click(liveStatusTab),$('[data-tab-id="history"]').click(historyTab))});const o={"#success-email":"You have successfully subscribed to email updates! If you haven't already, check your inbox and confirm your email address.","#success-sms":"You have successfully subscribed to SMS updates! If you haven't already, be sure to confirm your phone number.","#success-save":"Your subscription preferences have been saved!"};c.push(function(e){var{components:e,pageInfo:t,pageId:n}=e;if(function registerSlackButton(e){$("#stripe-slack-subscribe-button").click(function(){window.open("https://subscriptions.statuspage.io/slack_authentication/kickoff?page_code="+e,"_blank")})}(n),function registerAjaxRedirect(){const s=window.location;$(document).on("ajaxComplete",function(e,t,n){try{if(t.responseJSON&&t.responseJSON.text&&"error"===t.responseJSON.type&&function displaySubscriptionErrorMessage(e){$(".error-message").text(e),$(".error-message").removeClass("error-message-hidden")}(t.responseJSON.text),t.responseJSON&&t.responseJSON.redirect_to){var a=new URL(t.responseJSON.redirect_to,window.location.href),i=getPageInfo(a.pathname,a.search);let e="";$('[data-update-tab-button-id="email"][aria-selected="true"]').length?e="#success-email":$('[data-update-tab-button-id="sms"][aria-selected="true"]').length&&(e="#success-sms"),"subscription"===i.name?s.assign(`/subscriptions/${i.subscriptionId}/edit`+e):window.open(t.responseJSON.redirect_to)}}catch(e){console.error(e),window.open(t.responseJSON.redirect_to)}})}(),"subscription"===t.name){const a=e.map(e=>e.id);n=t.subscriptionId,t=(function getSubscribedComponents(){var e=$('input[name="subscriber[component_ids]"]');if(!e.length)return null;try{return e.attr("value").split(",")}catch(e){return null}}()||[]).filter(e=>a.includes(e)&&!e.showcase);(function renderSubscriptionFlow(e,t,n){!function updateSubscriptionMessage(){var e=window.location.hash;e&&o[e]?($(".subscription-banner").text(o[e]),$(".subscription-banner").removeClass("subscription-banner-hidden")):$(".subscription-banner").addClass("subscription-banner-hidden")}(),$(".subscription-selection-container").append(`
Choose which systems to get status updates for
You can select the individual systems to get notifications about when they are affected in an incident or maintenance.
`),$(".subscription-selection-container").append('
');const i=$(".component-list-container"),a=(i.attr("data-initial-components",n.join(",")),(t=t.filter(e=>!e.showcase)).map(e=>e.id)),s=n.filter(e=>a.includes(e));t.forEach(e=>{const{id:t,name:n,description:a}=e;e=$(function generateComponentSubscriptionBox(e,t,n,a){return`
${a?`
`:'
'}
${t}
${n||""}
`}(t,n,a,s.includes(t)));e.appendTo(i),e.click(()=>function toggleComponent(t){var e,n=$(`.checkbox-container[data-component-id="${t}"]`),a=function getFormSelectedComponents(){return($('[data-input="components"]').attr("value")||"").split(",")}();n.attr("data-checked")?(n.removeAttr("data-checked"),n.html('
'),updateButtonDisplay(e=a.filter(e=>e!==t)),updateFormSelectedComponents(e)):(n.attr("data-checked","true"),n.html(`
`),updateButtonDisplay(e=a.concat([t])),updateFormSelectedComponents(e))}(t))}),$(".subscription-selection-container").append(``),$(".subscription-selection-container").append(``),$(".subscription-selection-container").append(``)})(n,e,t.length?t:a),function registerSaveButton(e){$("#stripe-subscription-save").on("click",function(){$.ajax({url:"/subscriptions/"+e,type:"post",data:$("#stripe-subscription-form").serialize(),success:function(){window.location.hash="#success-save",window.location.reload()}})})}(n)}});const s=["email","sms","slack","twitter","rss"];c.push(function(e){"home"===e.pageInfo.name&&($("html").click(function(e){e=$(e.target);e.closest(".updates-dropdown").length||(e.closest(".subscribe-to-updates").length&&$(".dropdown-hidden").length?function openUpdatesDropdown(){$(".updates-dropdown").removeClass("dropdown-hidden")}:function closeUpdatesDropdown(){$(".updates-dropdown").addClass("dropdown-hidden")})()}),s.forEach(e=>{$(`[data-update-tab-button-id=${e}]`).click(()=>function selectUpdatesTab(t){s.filter(e=>e!==t).forEach(e=>{$(`[data-update-tab-id=${e}]`).removeClass("updates-dropdown-content-selected");e=$(`[data-update-tab-button-id=${e}]`);e.attr("tabindex","-1"),e.attr("aria-selected","false"),e.removeClass("updates-tab-selected")}),$(`[data-update-tab-id=${t}]`).addClass("updates-dropdown-content-selected");var e=$(`[data-update-tab-button-id=${t}]`);e.removeAttr("tabindex"),e.attr("aria-selected","true"),e.addClass("updates-tab-selected"),function clearSubscriptionErrorMessage(){$(".error-message").addClass("error-message-hidden")}()}(e))}))}),c.push(function(e){$(".loading").remove(),$(".loading-hidden").removeClass("loading-hidden")}),$(function(){e.forEach(e=>{try{e()}catch(e){console.error(e)}}),async function loadData(){let[e,t,n,a,i]=await Promise.all([async function loadIncidentsAndPageId(){var e=await(await fetch("/api/v2/incidents.json")).json();if(e.incidents)return[e.incidents,e.page.id];throw new Error("Could not load incidents")}(),async function loadComponents(){var e=await(await fetch("/api/v2/components.json")).json();if(e.components)return e.components;throw new Error("Could not load components")}(),async function loadActiveMaintenances(){var e=await(await fetch("/api/v2/scheduled-maintenances/active.json")).json();if(e.scheduled_maintenances)return e.scheduled_maintenances;throw new Error("Could not load active scheduled maintenances")}(),async function loadUpcomingMaintenances(){var e=await(await fetch("/api/v2/scheduled-maintenances/upcoming.json")).json();if(e.scheduled_maintenances)return e.scheduled_maintenances;throw new Error("Could not load upcoming scheduled maintenances")}(),async function loadRecentMaintenances(){var e=await(await fetch("/api/v2/scheduled-maintenances.json")).json();if(e.scheduled_maintenances)return e.scheduled_maintenances;throw new Error("Could not load recent scheduled maintenances")}()]);const s=e[0],o=e[1],d=getPageInfo(window.location.pathname,window.location.search);c.forEach(e=>{try{e({incidents:s,components:t,activeMaintenances:n,upcomingMaintenances:a,recentMaintenances:i,pageId:o,pageInfo:d})}catch(e){console.error(e)}})}().catch(e=>{$(".loading").addClass("loading-error"),$(".loading").html("There was an error loading the page. Please refresh and try again.")})});