PageSourceSearch

https://i-spy.ie/wp-content/cache/min/1/upsell/embed.js?ver=1787860182

js i-spy.ie collected 2026-10-04 00:18:45 UTC 26,663 bytes, 1 lines download raw bytes

1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.RevolutUpsell=t():e.RevolutUpsell=t()}(self,(()=>(()=>{"use strict";var e={"52e87ce2edd965d40ae5":e=>{e.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}},ae915ed9d4b2decea6b3:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Framebus=void 0;var o=r("08a8b193130b183445e0"),n=r("cd45a37637deaa1573f0"),a=r("742b26ec7e45c2199462"),s=r("f4410fad0dca339527ce"),i=r("b55a19b7f2e862d02d1a"),_=r("3f8fc9f8a2f62d3fd2fc"),E="undefined"!=typeof window&&window.Promise,R=function(){function e(e){void 0===e&&(e={}),this.origin=e.origin||"*",this.channel=e.channel||"",this.verifyDomain=e.verifyDomain,this.targetFrames=e.targetFrames||[],this.limitBroadcastToFramesArray=Boolean(e.targetFrames),this.isDestroyed=!1,this.listeners=[],this.hasAdditionalChecksForOnListeners=Boolean(this.verifyDomain||this.limitBroadcastToFramesArray)}return e.setPromise=function(t){e.Promise=t},e.target=function(t){return new e(t)},e.prototype.addTargetFrame=function(e){this.limitBroadcastToFramesArray&&this.targetFrames.push(e)},e.prototype.include=function(e){return null!=e&&null!=e.Window&&e.constructor===e.Window&&(_.childWindows.push(e),!0)},e.prototype.target=function(t){return e.target(t)},e.prototype.emit=function(e,t,r){if(this.isDestroyed)return!1;var n=this.origin;if(e=this.namespaceEvent(e),(0,o.isntString)(e))return!1;if((0,o.isntString)(n))return!1;"function"==typeof t&&(r=t,t=void 0);var _=(0,s.packagePayload)(e,n,t,r);return!!_&&(this.limitBroadcastToFramesArray?this.targetFramesAsWindows().forEach((function(e){(0,i.sendMessage)(e,_,n)})):(0,a.broadcast)(_,{origin:n,frame:window.top||window.self}),!0)},e.prototype.emitAsPromise=function(t,r){var o=this;return new e.Promise((function(e,n){o.emit(t,r,(function(t){e(t)}))||n(new Error('Listener not added for "'.concat(t,'"')))}))},e.prototype.on=function(e,t){if(this.isDestroyed)return!1;var r=this,o=this.origin,a=t;return e=this.namespaceEvent(e),!(0,n.subscriptionArgsInvalid)(e,a,o)&&(this.hasAdditionalChecksForOnListeners&&(a=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];r.passesVerifyDomainCheck(this&&this.origin)&&r.hasMatchingTargetFrame(this&&this.source)&&t.apply(void 0,e)}),this.listeners.push({eventName:e,handler:a,originalHandler:t}),_.subscribers[o]=_.subscribers[o]||{},_.subscribers[o][e]=_.subscribers[o][e]||[],_.subscribers[o][e].push(a),!0)},e.prototype.off=function(e,t){var r=t;if(this.isDestroyed)return!1;if(this.verifyDomain)for(var o=0;o<this.listeners.length;o++){var a=this.listeners[o];a.originalHandler===t&&(r=a.handler)}e=this.namespaceEvent(e);var s=this.origin;if((0,n.subscriptionArgsInvalid)(e,r,s))return!1;var i=_.subscribers[s]&&_.subscribers[s][e];if(!i)return!1;for(o=0;o<i.length;o++)if(i[o]===r)return i.splice(o,1),!0;return!1},e.prototype.teardown=function(){if(!this.isDestroyed){this.isDestroyed=!0;for(var e=0;e<this.listeners.length;e++){var t=this.listeners[e];this.off(t.eventName,t.handler)}this.listeners.length=0}},e.prototype.passesVerifyDomainCheck=function(e){return!this.verifyDomain||this.checkOrigin(e)},e.prototype.targetFramesAsWindows=function(){return this.limitBroadcastToFramesArray?this.targetFrames.map((function(e){return e instanceof HTMLIFrameElement?e.contentWindow:e})).filter((function(e){return e})):[]},e.prototype.hasMatchingTargetFrame=function(e){if(!this.limitBroadcastToFramesArray)return!0;var t=this.targetFramesAsWindows().find((function(t){return t===e}));return Boolean(t)},e.prototype.checkOrigin=function(e){var t,r=document.createElement("a");return r.href=location.href,t="https:"===r.protocol?r.host.replace(/:443$/,""):"http:"===r.protocol?r.host.replace(/:80$/,""):r.host,r.protocol+"//"+t===e||!this.verifyDomain||this.verifyDomain(e)},e.prototype.namespaceEvent=function(e){return this.channel?"".concat(this.channel,":").concat(e):e},e.Promise=E,e}();t.Framebus=R},"4e0a0696fb8fb5fd43d1":(e,t,r)=>{var o=r("e914b95dbd88e4f43b16"),n=r("ae915ed9d4b2decea6b3");(0,o.attach)(),e.exports=n.Framebus},e914b95dbd88e4f43b16:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),t.detach=t.attach=void 0;var o=r("0e402815299b34eff8bd"),n=!1;t.attach=function(){n||"undefined"==typeof window||(n=!0,window.addEventListener("message",o.onmessage,!1))},t.detach=function(){n=!1,window.removeEventListener("message",o.onmessage,!1)}},"28f44b037521e6daa2b2":(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.broadcastToChildWindows=void 0;var o=r("742b26ec7e45c2199462"),n=r("3f8fc9f8a2f62d3fd2fc");t.broadcastToChildWindows=function(e,t,r){for(var a=n.childWindows.length-1;a>=0;a--){var s=n.childWindows[a];s.closed?n.childWindows.splice(a,1):r!==s&&(0,o.broadcast)(e,{origin:t,frame:s.top})}}},"742b26ec7e45c2199462":(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.broadcast=void 0;var o=r("7139a1e67494595b5015");t.broadcast=function e(t,r){var n,a=0,s=r.origin,i=r.frame;try{for(i.postMessage(t,s),(0,o.hasOpener)(i)&&i.opener.top!==window.top&&e(t,{origin:s,frame:i.opener.top});n=i.frames[a];)e(t,{origin:s,frame:n}),a++}catch(e){}}},"3f8fc9f8a2f62d3fd2fc":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.subscribers=t.childWindows=t.prefix=void 0,t.prefix="/*framebus*/",t.childWindows=[],t.subscribers={}},ae4f3a41194dfc46219b:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dispatch=void 0;var o=r("3f8fc9f8a2f62d3fd2fc");t.dispatch=function(e,t,r,n,a){if(o.subscribers[e]&&o.subscribers[e][t]){var s=[];r&&s.push(r),n&&s.push(n);for(var i=0;i<o.subscribers[e][t].length;i++)o.subscribers[e][t][i].apply(a,s)}}},"7139a1e67494595b5015":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.hasOpener=void 0,t.hasOpener=function(e){return e.top===e&&null!=e.opener&&e.opener!==e&&!0!==e.opener.closed}},"08a8b193130b183445e0":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isntString=void 0,t.isntString=function(e){return"string"!=typeof e}},"0e402815299b34eff8bd":(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.onmessage=void 0;var o=r("08a8b193130b183445e0"),n=r("475cf9b48b4bb89d3e73"),a=r("ae4f3a41194dfc46219b"),s=r("28f44b037521e6daa2b2");t.onmessage=function(e){if(!(0,o.isntString)(e.data)){var t=(0,n.unpackPayload)(e);if(t){var r=t.eventData,i=t.reply;(0,a.dispatch)("*",t.event,r,i,e),(0,a.dispatch)(e.origin,t.event,r,i,e),(0,s.broadcastToChildWindows)(e.data,t.origin,e.source)}}}},f4410fad0dca339527ce:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packagePayload=void 0;var o=r("89eb25f014b224edc6ba"),n=r("3f8fc9f8a2f62d3fd2fc");t.packagePayload=function(e,t,r,a){var s,i={event:e,origin:t};"function"==typeof a&&(i.reply=(0,o.subscribeReplier)(a,t)),i.eventData=r;try{s=n.prefix+JSON.stringify(i)}catch(e){throw new Error("Could not stringify event: ".concat(e.message))}return s}},b55a19b7f2e862d02d1a:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sendMessage=void 0,t.sendMessage=function(e,t,r){try{e.postMessage(t,r)}catch(e){}}},"89eb25f014b224edc6ba":function(e,t,r){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeReplier=void 0;var n=r("ae915ed9d4b2decea6b3"),a=o(r("52e87ce2edd965d40ae5"));t.subscribeReplier=function(e,t){var r=(0,a.default)();return n.Framebus.target({origin:t}).on(r,(function o(a,s){e(a,s),n.Framebus.target({origin:t}).off(r,o)})),r}},cd45a37637deaa1573f0:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.subscriptionArgsInvalid=void 0;var o=r("08a8b193130b183445e0");t.subscriptionArgsInvalid=function(e,t,r){return!!(0,o.isntString)(e)||"function"!=typeof t||(0,o.isntString)(r)}},"475cf9b48b4bb89d3e73":(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unpackPayload=void 0;var o=r("3f8fc9f8a2f62d3fd2fc"),n=r("f4410fad0dca339527ce");t.unpackPayload=function(e){var t;if(e.data.slice(0,o.prefix.length)!==o.prefix)return!1;try{t=JSON.parse(e.data.slice(o.prefix.length))}catch(e){return!1}if(t.reply){var r=e.origin,a=e.source,s=t.reply;t.reply=function(e){if(a){var t=(0,n.packagePayload)(s,r,e);t&&a.postMessage(t,r)}}}return t}}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,r),a.exports}r.n=e=>
1{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{r.d(o,{default:()=>J});const e=()=>{const e=[];return{collect:(...t)=>{e.push(...t)},flush:()=>{for(;e.length>0;){const t=e.pop();"function"==typeof t&&t()}}}},t=document.currentScript,n=e=>{const r=function(e="revolut-checkout"){const r=t||document.getElementById(e);if(!r)throw new Error(`Please add id='${e}' to Revolut Checkout embed '<script>' element`);return r}(e),o=document.createElement("a");o.href=r.src;const{protocol:n,hostname:a,port:s}=o;return`${n}//${a}${s?`:${s}`:""}`},a=["bg","cs","de","el","en","en-US","es","fr","hr","hu","it","ja","lt","nl","pl","pt","ro","ru","sk","sv","tr"],s=e=>a.some((t=>t===e)),i=(e="auto")=>"auto"===e?_(navigator.languages&&navigator.languages.length?navigator.languages:[navigator.userLanguage||navigator.language||navigator.browserLanguage||"en"]):E(e)||i("auto"),_=e=>{for(const t of e){const e=E(t);if(null!=e)return e}return"en"},E=e=>{if(s(e))return e;const t=e.split("-")[0];return s(t)?t:null},R=e=>{var t;return"string"==typeof e?null!==(t=document.querySelector(e))&&void 0!==t?t:void 0:e};function O(e,t,r=document.body){const o=document.createElement("iframe");return Object.assign(o.style,Object.assign(Object.assign({background:"transparent"},t),{border:0,colorScheme:"normal"})),o.allow="payment",o.allowPaymentRequest=!0,r.appendChild(o),o.setAttribute("src",e),o.setAttribute("role","application"),o}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var c,d,l,T=r("4e0a0696fb8fb5fd43d1"),u=r.n(T);(l=c||(c={}))[l.UNAUTHENTICATED_ACCESS=1e3]="UNAUTHENTICATED_ACCESS",l[l.FORBIDDEN_ERROR=1001]="FORBIDDEN_ERROR",l[l.TRUSTED_PRINCIPAL_NOT_SPECIFIED=1002]="TRUSTED_PRINCIPAL_NOT_SPECIFIED",l[l.MERCHANT_NOT_FOUND=1003]="MERCHANT_NOT_FOUND",l[l.CUSTOMER_NOT_FOUND=1004]="CUSTOMER_NOT_FOUND",l[l.ORDER_NOT_FOUND=1005]="ORDER_NOT_FOUND",l[l.SYNDICATE_NOT_FOUND=1006]="SYNDICATE_NOT_FOUND",l[l.TRANSACTION_INVALID_STATE=1007]="TRANSACTION_INVALID_STATE",l[l.INVALID_ORDER_TYPE=1008]="INVALID_ORDER_TYPE",l[l.DECLINED_ERROR=1009]="DECLINED_ERROR",l[l.TOKEN_NOT_FOUND=1010]="TOKEN_NOT_FOUND",l[l.EMAIL_IS_NOT_SPECIFIED=1011]="EMAIL_IS_NOT_SPECIFIED",l[l.MULTIPLE_PAYMENT_FOR_ADVANCED_ORDER=1013]="MULTIPLE_PAYMENT_FOR_ADVANCED_ORDER",l[l.DEACTIVATED_MERCHANT=1014]="DEACTIVATED_MERCHANT",l[l.TRANSACTION_STEP_ERROR=1015]="TRANSACTION_STEP_ERROR",l[l.PAYMENT_METHOD_ALREADY_EXISTS_ERROR=1016]="PAYMENT_METHOD_ALREADY_EXISTS_ERROR",l[l.PAYMENT_METHOD_NOT_FOUND_ERROR=1017]="PAYMENT_METHOD_NOT_FOUND_ERROR",l[l.CUSTOMER_ALREADY_EXISTS_ERROR=1018]="CUSTOMER_ALREADY_EXISTS_ERROR",l[l.PAYMENT_METHOD_NOT_PERMITTED_FOR_MERCHANT_ERROR=1019]="PAYMENT_METHOD_NOT_PERMITTED_FOR_MERCHANT_ERROR",l[l.WEBHOOK_NOT_FOUND=1020]="WEBHOOK_NOT_FOUND",l[l.TOO_MANY_WEBHOOKS=1021]="TOO_MANY_WEBHOOKS",l[l.ORDER_CUSTOMER_ID_IS_NOT_SET_ERROR=1022]="ORDER_CUSTOMER_ID_IS_NOT_SET_ERROR",l[l.INVALID_EMAIL=1024]="INVALID_EMAIL",l[l.INVALID_POSTCODE=1023]="INVALID_POSTCODE",l[l.DO_NOT_HONOUR=1025]="DO_NOT_HONOUR",l[l.INSUFFICIENT_FUNDS=1026]="INSUFFICIENT_FUNDS",l[l.THREE_DS_FAILED=1027]="THREE_DS_FAILED",l[l.EXPIRED_CARD=1028]="EXPIRED_CARD",l[l.INCORRECT_CVV_CODE=1029]="INCORRECT_CVV_CODE",l[l.ORDER_IS_CANCELLED=1030]="ORDER_IS_CANCELLED",l[l.TRANSACTION_TOO_SMALL=1031]="TRANSACTION_TOO_SMALL",l[l.RISK_TOO_HIGH=1032]="RISK_TOO_HIGH",l[l.CARD_NOT_SUPPORTED_IN_SANDBOX=1033]="CARD_NOT_SUPPORTED_IN_SANDBOX",l[l.REFUND_AMOUNT_TOO_BIG=1034]="REFUND_AMOUNT_TOO_BIG",l[l.BANK_MESSAGE=1035]="BANK_MESSAGE",l[l.RE_ENTER_TRANSACTION=1036]="RE_ENTER_TRANSACTION",l[l.PAYMENT_METHOD_CREATE_ERROR=1037]="PAYMENT_METHOD_CREATE_ERROR",l[l.BIN_DETAILS_NOT_FOUND_ERROR=1038]="BIN_DETAILS_NOT_FOUND_ERROR",l[l.DUPLICATED_IDEMPOTENCY_KEY=1039]="DUPLICATED_IDEMPOTENCY_KEY",l[l.ASSIGN_NON_ACTIVE_TAGS_ERROR=1040]="ASSIGN_NON_ACTIVE_TAGS_ERROR",l[l.UNKNOWN_AUTHORISATION_ERROR=1099]="UNKNOWN_AUTHORISATION_ERROR",l[l.UNSUPPORTED_PAYMENT_METHOD_ERROR=1100]="UNSUPPORTED_PAYMENT_METHOD_ERROR",l[l.PAYMENT_NOT_FOUND_ERROR=1101]="PAYMENT_NOT_FOUND_ERROR",l[l.NO_SUITABLE_PROVIDER_ERROR=1102]="NO_SUITABLE_PROVIDER_ERROR",l[l.UNAVAILABLE_PAYMENT_METHOD=1105]="UNAVAILABLE_PAYMENT_METHOD",l[l.ACCESS_TOKEN_EXPIRED_ERROR=1106]="ACCESS_TOKEN_EXPIRED_ERROR",l[l.GATEWAY_DOWNSTREAM_RESOURCE_NOT_FOUND_ERROR=1107]="GATEWAY_DOWNSTREAM_RESOURCE_NOT_FOUND_ERROR",l[l.GATEWAY_DOWNSTREAM_BAD_STATE_ERROR=1108]="GATEWAY_DOWNSTREAM_BAD_STATE_ERROR",l[l.GATEWAY_DOWNSTREAM_BAD_REQUEST_ERROR=1109]="GATEWAY_DOWNSTREAM_BAD_REQUEST_ERROR",l[l.UNSUPPORTED_DEVICE_ERROR=1110]="UNSUPPORTED_DEVICE_ERROR",l[l.USER_BANNED_ERROR=1111]="USER_BANNED_ERROR",l[l.DEVICE_BLOCKED_ERROR=1112]="DEVICE_BLOCKED_ERROR",l[l.NON_MOBILE_PHONE_NUMBER_ERROR=1113]="NON_MOBILE_PHONE_NUMBER_ERROR",l[l.INVALID_PHONE_ERROR=1114]="INVALID_PHONE_ERROR",l[l.BLOCKED_COUNTRY_ERROR=1115]="BLOCKED_COUNTRY_ERROR",l[l.SESSION_EXPIRED_ERROR=1116]="SESSION_EXPIRED_ERROR",l[l.SESSION_NOT_FOUND_ERROR=1117]="SESSION_NOT_FOUND_ERROR",l[l.ILLEGAL_INDIVIDUAL_STATE_ERROR=1118]="ILLEGAL_INDIVIDUAL_STATE_ERROR",l[l.REVOLUT_ACCOUNT_PAYMENT_METHOD_ERROR=1119]="REVOLUT_ACCOUNT_PAYMENT_METHOD_ERROR",l[l.RATE_LIMIT_EXCEEDED_ERROR=1120]="RATE_LIMIT_EXCEEDED_ERROR",l[l.UNSUPPORTED_INDIVIDUAL_AGE_ER
1ROR=1121]="UNSUPPORTED_INDIVIDUAL_AGE_ERROR",l[l.DUPLICATED_PAYMENT_METHOD_ERROR=1122]="DUPLICATED_PAYMENT_METHOD_ERROR",l[l.UNSUPPORTED_TERMINATE_USER_ERROR=1123]="UNSUPPORTED_TERMINATE_USER_ERROR",l[l.TERMINATE_USER_INVALID_OTP_CODE_ERROR=1124]="TERMINATE_USER_INVALID_OTP_CODE_ERROR",l[l.UNSUPPORTED_UPDATE_MARKETING_COMMUNICATION_ERROR=1125]="UNSUPPORTED_UPDATE_MARKETING_COMMUNICATION_ERROR",l[l.REVOLUT_PAY_PAYMENT_ACCESS_TOKEN_TIMEOUT_ERROR=1126]="REVOLUT_PAY_PAYMENT_ACCESS_TOKEN_TIMEOUT_ERROR",l[l.UNSUPPORTED_REFRESH_TOKEN_ERROR=1127]="UNSUPPORTED_REFRESH_TOKEN_ERROR",l[l.INVALID_OTP_REFRESH_TOKEN_ERROR=1128]="INVALID_OTP_REFRESH_TOKEN_ERROR",l[l.REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_TIMEOUT=1134]="REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_TIMEOUT",l[l.REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_HTTP_ERROR=1135]="REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_HTTP_ERROR",l[l.REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_CONNECTION_ERROR=1136]="REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_CONNECTION_ERROR",l[l.REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_WEBHOOK_NOT_FOUND=1137]="REVOLUT_PAY_SHIPPING_ADDRESS_VALIDATION_WEBHOOK_NOT_FOUND",l[l.REVOLUT_PAY_SHIPPING_ADDRESS_IS_INVALID=1138]="REVOLUT_PAY_SHIPPING_ADDRESS_IS_INVALID",l[l.REVOLUT_PAY_ORDER_SHIPPING_CONTACT_ID_NOT_SPECIFIED=1139]="REVOLUT_PAY_ORDER_SHIPPING_CONTACT_ID_NOT_SPECIFIED",l[l.REVOLUT_PAY_ORDER_DELIVERY_METHOD_NOT_FOUND=1140]="REVOLUT_PAY_ORDER_DELIVERY_METHOD_NOT_FOUND",l[l.CANNOT_UPDATE_ADVANCED_ORDER=1142]="CANNOT_UPDATE_ADVANCED_ORDER",l[l.EMAIL_ALREADY_REGISTERED=1145]="EMAIL_ALREADY_REGISTERED",l[l.CRYPTO_RAMP_USER_CARD_REGION_MISMATCH_ERROR=1150]="CRYPTO_RAMP_USER_CARD_REGION_MISMATCH_ERROR",l[l.UNSUPPORTED_CARD_ERROR=1157]="UNSUPPORTED_CARD_ERROR",l[l.UNSUPPORTED_CARD_PAYMENT_ERROR=1159]="UNSUPPORTED_CARD_PAYMENT_ERROR",l[l.PREPAID_CARD_NOT_SUPPORTED_ERROR=1160]="PREPAID_CARD_NOT_SUPPORTED_ERROR",l[l.REVOLUT_PAY_USER_PAYMENT_METHOD_NOT_FOUND_ERROR=1162]="REVOLUT_PAY_USER_PAYMENT_METHOD_NOT_FOUND_ERROR",l[l.INSUFFICIENT_BUSINESS_PERMISSIONS=1170]="INSUFFICIENT_BUSINESS_PERMISSIONS",l[l.SUBMERCHANT_NOT_FOUND=2e3]="SUBMERCHANT_NOT_FOUND",l[l.SUBMERCHANT_INCORRECT_NOTIFICATION=2001]="SUBMERCHANT_INCORRECT_NOTIFICATION",l[l.THREE_DS_INCORRECT_NOTIFICATION=2002]="THREE_DS_INCORRECT_NOTIFICATION",l[l.AUTHENTICATION_CHALLENGE_NOT_FOUND=2003]="AUTHENTICATION_CHALLENGE_NOT_FOUND",l[l.MPI_PROVIDER_ERROR=2004]="MPI_PROVIDER_ERROR",l[l.PAYMENT_GATEWAY_ERROR=2005]="PAYMENT_GATEWAY_ERROR",l[l.INVALID_PROVIDER_RESPONSE_ERROR=2006]="INVALID_PROVIDER_RESPONSE_ERROR",l[l.UNEXPECTED_MPI_PROVIDER_ERROR=2007]="UNEXPECTED_MPI_PROVIDER_ERROR",l[l.TERMINAL_NOT_FOUND=2008]="TERMINAL_NOT_FOUND",l[l.SUBMERCHANT_NOT_ONBOARDED=2009]="SUBMERCHANT_NOT_ONBOARDED",l[l.XERO_SUBMERCHANT_ALREADY_EXISTS=2010]="XERO_SUBMERCHANT_ALREADY_EXISTS",l[l.XERO_SUBMERCHANT_NOT_FOUND=2011]="XERO_SUBMERCHANT_NOT_FOUND",l[l.UNSUPPORTED_OPERATION=2012]="UNSUPPORTED_OPERATION",l[l.UNSUPPORTED_CARD_BIN=2026]="UNSUPPORTED_CARD_BIN",l[l.ORDER_IS_COMPLETED_ERROR=2029]="ORDER_IS_COMPLETED_ERROR",l[l.ORDER_IS_AUTHORISED_ERROR=2030]="ORDER_IS_AUTHORISED_ERROR",l[l.ORDER_IS_PROCESSING_ERROR=2031]="ORDER_IS_PROCESSING_ERROR",l[l.REVOLUT_PAY_NOT_AVAILABLE_TERRITORY_ERROR=2051]="REVOLUT_PAY_NOT_AVAILABLE_TERRITORY_ERROR",l[l.AUTHENTICATION_CONTEXT_ERROR=9401]="AUTHENTICATION_CONTEXT_ERROR",function(e){e[e.EMAIL_IN_USE=1031]="EMAIL_IN_USE"}(d||(d={}));const N=Symbol("RC");class A extends Error{constructor({type:e,code:t,status:r,message:o,data:n,__metadata:a}){super(o),this.name="Custom",this.type=e,this.code=t,this.status=r,this.data=n,this.__metadata=a,this[N]=!0}}const f=JSON.parse('{"name":"revolut-merchant-widget"}'),{name:D}=f,I="debug",p=(m(`${D}:common`),m(`${D}:subscriptions`));function m(e){const t=`%c${e}%c`;let r=!1;try{r=b(localStorage.getItem(I),e),window.addEventListener("storage",(t=>{t.key===I&&(r=b(t.newValue,e))}))}catch(e){}function o(e,...o){if(r)return console[e](t,"color:#FFCC66; font-weight:bold;","",...o)}return{info:(...e)=>o("info",...e),warn:(...e)=>o("warn",...e),error:(...e)=>o("error",...e),log:(...e)=>o("log",...e)}}function b(e,t){return e===t||"*"===e}const S=(...e)=>{},h=Symbol.for("pubSubTag");function P({id:e,scope:t,publisher:r,origin:o="*"},n){const a=(t,r)=>n=>{const a=void 0===e?n:(o,a)=>{var s;o.id===e&&(p.info(`on(${t}/${e})`,o),r(n,null!==(s=o.___payload___)&&void 0!==s?s:o,a))};return u().target({origin:o}).on(t,a)?()=>{p.info(`off(${t}/${e})`),u().target({origin:o}).off(t,a)}:S},s=(t,n)=>a=>{p.info(`emit(${t}/${e})`,a);const s=Object.assign(Object.assign(Object.assign({},void 0!==e?{id:e}:void 0),a),{___payload___:a}),i=null!=r?r:u().target({origin:o});return n(i,t,s)};function i(e){return{[h]:n,subscribe:a(`${t}/${e}`,g)}}function _(e){return{[h]:n,publish:s(`${t}/${e}`,U)}}return i.withReply=function(e){return{[h]:n,subscribe:a(`${t}/${e}`,M)}},_.withReply=function(e){return{[h]:n,publish:s(`${t}/${e}`,C)}},"embed"===n?{frameToEmbed:i,embedToFrame:_}:{frameToEmbed:_,embedToFrame:i}}const U=(e,t,r)=>{e.emit(t,r)},C=async(e,t,r)=>{const o=await e.emitAsPromise(t,r);switch(o.type){case"success":return o.result;case"error":throw new A(o.errorMeta);default:!function(e,t){throw new Error("Should not be reached")}()}},g=(e,t)=>{e(t)},M=async(e,t,r)=>{try{r({type:"success",result:await e(t)})}catch(e){r({type:"error",errorMeta:{type:e.type||"error.unknown",code:e.code,message:e.message}})}};function y(e,t,r){return e.addEventListener(t,r),()=>e.removeEventListener(t,r)}function v(e,t){return{embed:function(r,{origin:o,namespace:n},a){let s;const i=n?`${n}:${e}`:e,_=`revolut-checkout/handshake/${i}
1`,E=u().target({origin:o,targetFrames:["opener"in r?r.self:r]});let R=null;"opener"in r?(R=r.self,E.include(R)):R=r.contentWindow;const O=y(window,"message",(e=>{if(o===e.origin)return R&&e.data.isReady&&e.data.type===_&&e.source===R?(s=((e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),""))(),void R.postMessage({id:s,type:_,origin:o},o)):void(s&&e.data.id===s&&e.data.type===_&&e.data.origin===o&&(a(t(P({id:s,publisher:E,scope:i},"embed"))),s=void 0))}));return()=>{O(),E.teardown()}},frame:function(r,o){const{namespace:n}="function"==typeof r?{}:r,a="function"==typeof r?r:null!=o?o:S,s=document.location.origin,i=n?`${n}:${e}`:e,_=`revolut-checkout/handshake/${i}`,E=window.opener?window.opener:window.parent;E.postMessage({isReady:!0,type:_},"*");const R=u().target({targetFrames:[E]}),O=y(window,"message",(e=>{null!==e.data.id&&e.data.type===_&&e.data.origin===s&&(E.postMessage(e.data,"*"),O(),a(t(P({id:e.data.id,publisher:R,scope:i},"frame"))))}));return()=>{O(),R.teardown()}}}}const L=e=>{const{id:t}=e;return function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r}(e,["id"])},F="revolut-checkout/element/card",w=`${F}/payment-authorised`,H=`${F}/deferred-submit-requested`,V=`${F}/deferred-submit-completed`;v(F,(e=>({render:e.embedToFrame("render"),unmount:e.embedToFrame("unmount"),ready:e.frameToEmbed("ready"),status:e.frameToEmbed("status"),validation:e.frameToEmbed("validation"),submit:e.embedToFrame("submit"),showPaymentAuthPopup:e.frameToEmbed("show-payment-auth-popup"),error:e.frameToEmbed("error"),success:e.frameToEmbed("success"),validate:e.embedToFrame("validate"),restartPaymentSession:e.embedToFrame("restart-payment-session")})));const Y=v("revolut-checkout/upsell/upsell-modals-manager",(e=>({render:e.embedToFrame("render"),unmount:e.embedToFrame("unmount"),ready:e.frameToEmbed("ready"),openModal:e.embedToFrame("open-modal"),modalClosed:e.frameToEmbed("modal-closed")})));function B(t,r,o){const n=e(),a=function(e,t){const r=O(e,Object.assign({width:"100%",height:"100%",position:"fixed",left:"0",top:"0",zIndex:"16777271",colorScheme:"normal"},void 0));return r.hidden=!0,r}(`${t}/upsell/upsell-modals-manager.html`);let s;a.hidden=!0,n.collect((()=>a.remove()));let i=!1;const _=o.openModal.subscribe((e=>{s=e}));return n.collect(_),Y.embed(a,{origin:t},(e=>{const t=t=>{a.hidden=!1,e.openModal.publish(L(t))};e.render.publish({locale:r}),n.collect(e.ready.subscribe((()=>{_(),i=!0,s&&(t(s),s=void 0)})),o.openModal.subscribe((e=>{i&&t(e)})),e.modalClosed.subscribe((e=>{(e=>{a.hidden=!0,o.modalClosed.publish(L(e))})(e)})),e.unmount.publish)})),()=>n.flush()}const x=t=>{const r=v(t,(e=>({resize:e.frameToEmbed("resize")})));return{parent(t,o,n){const a=e();return r.embed(t,{origin:o},(e=>{a.collect(e.resize.subscribe(n))})),()=>a.flush()},child(t){const o=e();return{observe(){r.frame((e=>{t.documentElement.style.height="unset",t.body.style.height="unset";const r=new ResizeObserver((t=>{e.resize.publish({height:t[0].contentRect.height})}));r.observe(t.body),o.collect((()=>{r.unobserve(t.body),r.disconnect(),t.documentElement.style.height="",t.body.style.height=""}))}))},unobserve:()=>()=>o.flush()}}}},G="revolut-checkout/upsell/card-gateway-banner",$=v(G,(e=>({render:e.embedToFrame("render"),unmount:e.embedToFrame("unmount"),ready:e.frameToEmbed("ready"),openModal:e.frameToEmbed("open-modal"),modalClosed:e.embedToFrame("modal-closed"),cardFieldPaymentAuthorised:e.embedToFrame("card-field-payment-authorised"),consentChanged:e.frameToEmbed("consent-changed"),cashbackRegistrationCompleted:e.frameToEmbed("cashback-registration-submit-completed")}))),j=x(`${G}/resizer`),W="revolut-checkout/upsell/enrollment-confirmation-banner",k=v(W,(e=>({render:e.embedToFrame("render"),unmount:e.embedToFrame("unmount"),ready:e.frameToEmbed("ready"),openModal:e.frameToEmbed("open-modal"),modalClosed:e.embedToFrame("modal-closed")}))),K=x(`${W}
1/resizer`),X="revolut-checkout/upsell/promotional-banner",z=v(X,(e=>({render:e.embedToFrame("render"),unmount:e.embedToFrame("unmount"),ready:e.frameToEmbed("ready"),openModal:e.frameToEmbed("open-modal"),modalClosed:e.embedToFrame("modal-closed")}))),q=x(`${X}/resizer`),J=t=>{let r;const o=e(),a={setDefaultLocale:e=>(r=e,a),cardGatewayBanner:{mount(a,s){o.collect(function({locale:t,target:r,options:o,upsellOptions:a}){const s=n(),_=e(),E=e(),c=e(),d=i(a.locale||t),l=R(r);return _.collect((()=>E.flush()),(()=>c.flush())),function(){const e=O(`${s}/upsell/card-gateway-banner.html`,{width:"100%"},l);e.hidden=!0,E.collect((()=>e.remove())),$.embed(e,{origin:s},(t=>{t.render.publish({upsellOptions:Object.assign(Object.assign({},a),{locale:d}),bannerOptions:o}),E.collect(t.ready.subscribe((()=>{e.hidden=!1})),(()=>{const e=e=>{t.cardFieldPaymentAuthorised.publish(L(e.detail))};return window.addEventListener(w,e),()=>window.removeEventListener(w,e)})(),t.consentChanged.subscribe((e=>{window.dispatchEvent(new CustomEvent(H,{detail:{shouldDefer:e.consentGiven}}))})),t.cashbackRegistrationCompleted.subscribe((()=>{window.dispatchEvent(new CustomEvent(V))})),t.unmount.publish),E.collect(B(s,d,t))})),E.collect(j.parent(e,s,(t=>{e.style.height=`${t.height}px`})))}(),()=>_.flush()}({target:a,upsellOptions:t,options:s,locale:t.locale||r}))},destroy(){o.flush()}},promotionalBanner:{mount(a,s){o.collect(function({locale:t,target:r,upsellOptions:o,options:a}){const s=n(),_=e(),E=e(),c=e(),d=i(o.locale||t),l=R(r);return _.collect((()=>E.flush()),(()=>c.flush())),function(){const e=O(`${s}/upsell/promotional-banner.html`,{width:"100%"},l);e.hidden=!0,E.collect((()=>e.remove())),z.embed(e,{origin:s},(t=>{t.render.publish({upsellOptions:Object.assign(Object.assign({},o),{locale:d}),bannerOptions:a}),E.collect(t.ready.subscribe((()=>{e.hidden=!1})),t.unmount.publish),E.collect(B(s,d,t))})),E.collect(q.parent(e,s,(t=>{e.style.height=`${t.height}px`})))}(),()=>_.flush()}({target:a,upsellOptions:t,options:s,locale:t.locale||r}))},destroy(){o.flush()}},enrollmentConfirmationBanner:{mount(a,s){o.collect(function({locale:t,target:r,upsellOptions:o,options:a}){const s=n(),_=e(),E=e(),c=e(),d=i(o.locale||t),l=R(r);return _.collect((()=>E.flush()),(()=>c.flush())),function(){const e=O(`${s}/upsell/enrollment-confirmation-banner.html`,{width:"100%"},l);e.hidden=!0,E.collect((()=>e.remove())),k.embed(e,{origin:s},(t=>{t.render.publish({upsellOptions:Object.assign(Object.assign({},o),{locale:d}),bannerOptions:a}),E.collect(t.ready.subscribe((()=>{e.hidden=!1})),t.unmount.publish),E.collect(B(s,d,t))})),E.collect(K.parent(e,s,(t=>{e.style.height=`${t.height}px`})))}(),()=>_.flush()}({target:a,upsellOptions:t,options:s,locale:t.locale||r}))},destroy(){o.flush()}},destroy(){o.flush()}};return a}})(),o.default})()))

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.