PageSourceSearch

https://studio.swapcard.com/login/_next/static/chunks/2290-f5adc2d36b4ffd19.js

js swapcard.com collected 2026-09-24 08:39:51 UTC 11,555 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]="89153cf1-9bcd-4f36-9d54-2c7eca76f2e0",e._sentryDebugIdIdentifier="sentry-dbid-89153cf1-9bcd-4f36-9d54-2c7eca76f2e0")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2290],{66432:function(e,t,n){!function(e,t){"use strict";function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var a=[],c=!0,u=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);c=!0);}catch(e){u=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(u)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(){}function s(){}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,s.resetWarningCache=i;var l,f,p=(l=f={exports:{}},f.exports,l.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i}
1;return n.PropTypes=n,n}(),f.exports),d=function(e){var n=t.useRef(e);return t.useEffect(function(){n.current=e},[e]),n.current},m=function(e){return null!==e&&"object"===o(e)},y="[object Object]",h=function e(t,n){if(!m(t)||!m(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===y;if(o!==(Object.prototype.toString.call(n)===y))return!1;if(!o&&!r)return t===n;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var u={},i=0;i<a.length;i+=1)u[a[i]]=!0;for(var s=0;s<c.length;s+=1)u[c[s]]=!0;var l=Object.keys(u);return l.length===a.length&&l.every(function(r){return e(t[r],n[r])})},g=function(e,t,n){return m(e)?Object.keys(e).reduce(function(o,c){var u=!m(t)||!h(e[c],t[c]);return n.includes(c)?(u&&console.warn("Unsupported prop change: options.".concat(c," is not a mutable property.")),o):u?r(r({},o||{}),{},a({},c,e[c])):o},null):null},v=function(e){if(null===e||m(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},E=function(e){if(m(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(v)};var t=v(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},b=t.createContext(null);b.displayName="ElementsContext";var C=function(e,t){if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},S=t.createContext(null);S.displayName="CartElementContext";var w=function(e,t){if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},k=function(e){var n=e.stripe,r=e.options,o=e.children,a=t.useMemo(function(){return E(n)},[n]),u=c(t.useState(null),2),i=u[0],s=u[1],l=c(t.useState(null),2),f=l[0],p=l[1],m=c(t.useState(function(){return{stripe:"sync"===a.tag?a.stripe:null,elements:"sync"===a.tag?a.stripe.elements(r):null}}),2),y=m[0],h=m[1];t.useEffect(function(){var e=!0,t=function(e){h(function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}})};return"async"!==a.tag||y.stripe?"sync"!==a.tag||y.stripe||t(a.stripe):a.stripePromise.then(function(n){n&&e&&t(n)}),function(){e=!1}},[a,y,r]);var v=d(n);t.useEffect(function(){null!==v&&v!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[v,n]);var C=d(r);return t.useEffect(function(){if(y.elements){var e=g(r,C,["clientSecret","fonts"]);e&&y.elements.update(e)}},[r,C,y.elements]),t.useEffect(function(){var e=y.stripe;e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"2.1.1"}),e.registerAppInfo({name:"react-stripe-js",version:"2.1.1",url:"https://stripe.com/docs/stripe-js/react"}))},[y.stripe]),t.createElement(b.Provider,{value:y},t.createElement(S.Provider,{value:{cart:i,setCart:s,cartState:f,setCartState:p}},o))};k.propTypes={stripe:p.any,options:p.object};var j=function(e){return C(t.useContext(b),e)},O=function(e){return w(t.useContext(S),e)},P=function(e){return(0,e.children)(j("mounts <ElementsConsumer>"))};P.propTypes={children:p.func.isRequired};var A=function(e,n,r){var o=!!r,a=t.useRef(r);t.useEffect(function(){a.current=r},[r]),t.useEffect(function(){if(!o||!e)return function(){};var t=function(){a.current&&a.current.apply(a,arguments)};return e.on(n,t),function(){e.off(n,t)}},[o,n,e,a])},_=function(e,n){var r="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),o=n?function(e){j("mounts <".concat(r,">")),O("mounts <".concat(r,">"));var n=e.id,o=e.className;return t.createElement("div",{id:n,className:o})}:function(n){var o,a=n.id,u=n.className,i=n.options,s=void 0===i?{}:i,l=n.onBlur,f=n.onFocus,p=n.onReady,m=n.onChange,y=n.onEscape,h=n.onClick,v=n.onLoadError,E=n.onLoaderStart,b=n.onNetworksChange,C=n.onCheckout,S=n.onLineItemClick,w=n.onConfirm,k=n.onCancel,P=n.onShippingAddressChange,_=n.onShippingRateChange,x=j("mounts <".concat(r,">")).elements,I=c(t.useState(null),2),T=I[0],R=I[1],B=t.useRef(null),N=t.useRef(null),L=O("mounts <".concat(r,">")),M=L.setCart,D=L.setCartState;A(T,"blur",l),A(T,"focus",f),A(T,"escape",y),A(T,"click",h),A(T,"loaderror",v),A(T,"loaderstart",E),A(T,"networksch
1ange",b),A(T,"lineitemclick",S),A(T,"confirm",w),A(T,"cancel",k),A(T,"shippingaddresschange",P),A(T,"shippingratechange",_),"cart"===e?o=function(e){D(e),p&&p(e)}:p&&(o="expressCheckout"===e?p:function(){p(T)}),A(T,"ready",o),A(T,"change","cart"===e?function(e){D(e),m&&m(e)}:m),A(T,"checkout","cart"===e?function(e){D(e),C&&C(e)}:C),t.useLayoutEffect(function(){if(null===B.current&&x&&null!==N.current){var t=x.create(e,s);"cart"===e&&M&&M(t),B.current=t,R(t),t.mount(N.current)}},[x,s,M]);var W=d(s);return t.useEffect(function(){if(B.current){var e=g(s,W,["paymentRequest"]);e&&B.current.update(e)}},[s,W]),t.useLayoutEffect(function(){return function(){if(B.current&&"function"==typeof B.current.destroy)try{B.current.destroy(),B.current=null}catch(e){}}},[]),t.createElement("div",{id:a,className:u,ref:N})};return o.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onCheckout:p.func,onLineItemClick:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},o.displayName=r,o.__elementType=e,o},x="undefined"==typeof window,I=_("auBankAccount",x),T=_("card",x),R=_("cardNumber",x),B=_("cardExpiry",x),N=_("cardCvc",x),L=_("fpxBank",x),M=_("iban",x),D=_("idealBank",x),W=_("p24Bank",x),q=_("epsBank",x),F=_("payment",x),U=_("expressCheckout",x),Y=_("paymentRequestButton",x),$=_("linkAuthentication",x),H=_("address",x),J=_("shippingAddress",x),V=_("cart",x),z=_("paymentMethodMessaging",x),G=_("affirmMessage",x),K=_("afterpayClearpayMessage",x);e.AddressElement=H,e.AffirmMessageElement=G,e.AfterpayClearpayMessageElement=K,e.AuBankAccountElement=I,e.CardCvcElement=N,e.CardElement=T,e.CardExpiryElement=B,e.CardNumberElement=R,e.CartElement=V,e.Elements=k,e.ElementsConsumer=P,e.EpsBankElement=q,e.ExpressCheckoutElement=U,e.FpxBankElement=L,e.IbanElement=M,e.IdealBankElement=D,e.LinkAuthenticationElement=$,e.P24BankElement=W,e.PaymentElement=F,e.PaymentMethodMessagingElement=z,e.PaymentRequestButtonElement=Y,e.ShippingAddressElement=J,e.useCartElement=function(){return O("calls useCartElement()").cart},e.useCartElementState=function(){return O("calls useCartElementState()").cartState},e.useElements=function(){return j("calls useElements()").elements},e.useStripe=function(){return j("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(2784))},8121:function(e,t,n){"use strict";n.d(t,{J:function(){return p}});var r="https://js.stripe.com/v3",o=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a=function(){for(var e=document.querySelectorAll('script[src^="'.concat(r,'"]')),t=0;t<e.length;t++){var n=e[t];if(o.test(n.src))return n}return null},c=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(r).concat(t);var o=document.head||document.body;if(!o)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return o.appendChild(n),n},u=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.54.1",startTime:t})},i=null,s=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return u(r,n),r},l=Promise.resolve().then(function(){return null!==i?i:i=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document){e(null);return}if(window.Stripe,window.Stripe){e(window.Stripe);return}try{var n=a();n||(n=c(null)),n.addEventListener("load",function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))}),n.addEventListener("error",function(){t(Error("Failed to load Stripe.js"))})}catch(e){t(e);return}})}),f=!1;l.catch(function(e){f||console.warn(e)});var p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];f=!0;var r=Date.now();return l.then(function(e){return s(e,t,r)})}}}]);

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.