PageSourceSearch

https://thenounproject.com/_next/static/chunks/pages/checkout/api/tiers/[apiKeyId]-7fb7c2da37574b08.js

js thenounproject.com collected 2026-09-24 07:24:28 UTC 2,347 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e2355ffc-5e36-405c-a31f-dbce39141d38",e._sentryDebugIdIdentifier="sentry-dbid-e2355ffc-5e36-405c-a31f-dbce39141d38")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[273],{12601:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return E}});var r=n(67294),l=n(86664),i=n(54465),o=n(66252),s=n(50319),c=n(82512),a=n(5736),u=n(49507),d=n(59503),f=n(71695),p=n(37100),m=n(82701),_=n(99327),y=n(83034);let h=null;var E=!0;t.default=({apiKeyId:e,stripeKey:t,username:n,savedCard:E,stripeSuggestAddress:b,callTier:g})=>{h||(h=(0,i.J)(t));let w=(0,o.x)(),[k,{data:I}]=(0,s.D)(m.H6,{variables:{apiKeyId:e,maximumMonthlyCalls:g.calls}}),[T,S]=(0,r.useState)(null),[A,v]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=(0,c.sx)();if(e){let t=sessionStorage.getItem("checkout_receipt_info")??"";sessionStorage.removeItem("checkout_receipt_info"),t&&(0,a.Y)({receiptInfo:t,username:n}),(0,c.qB)({client:w,paymentIntentId:e}).then(()=>{window.location.replace(`${_.ss}?checkout=tiers`)})}else k()},[]),(0,r.useEffect)(()=>{if(!I)return;let e=I.requestPaymentIntentForApiTierAdjustment;if(!e?.ok||e?.error){v(!0),console.error(e?.error||"Unable to retrieve payment intent");return}if(e.subscriptionAlreadyUpdated){window.location.replace(`${_.ss}?checkout=tiers`);return}S(e.clientSecret)},[I]),A)?r.createElement(f.Z,null):T&&I?r.createElement(r.Fragment,null,r.createElement(u.Z,{title:"Checkout",indexContent:"noindex, nofollow"}),r.createElement(l.Elements,{stripe:h,options:{clientSecret:T,appearance:y.Z}},r.createElement(p.VF,{chargedToday:I.requestPaymentIntentForApiTierAdjustment.amountToBill/100,chargedMonthly:g.price,calls:g.calls,variant:"tiers"},r.createElement(p.yE,{username:n,savedCard:E,clientSecret:T,stripeSuggestAddress:b,amountToBill:I.requestPaymentIntentForApiTierAdjustment.amountToBill})))):r.createElement(d.Z,null)}},9034:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/api/tiers/[apiKeyId]",function(){return n(12601)}])}},function(e){e.O(0,[4593,6330,9101,3419,9940,8146,2888,9774,179],function(){return e(e.s=9034)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.