PageSourceSearch

https://www.philips.com.sg/c-e/shop/checkout/assets/Blik-DohcEqax.js

js philips.com.sg collected 2026-09-24 18:13:47 UTC 2,112 bytes, 1 lines download raw bytes

1import{o as t,k as e,y as a,f as i,m as n,d as o}from"./vendor-CV6ISSGl.js";import{g as s}from"./adyen-2xVWhjfd.js";import{_ as l}from"./index-DSlA2-3H.js";const d={name:"Blik",data:()=>({blikComp:null,hasError:!1}),computed:{...o("config",["getDefaultConfig"]),...n("payments",["adyen"]),...n("config",["payButtonWasClicked"]),adyenCoreConfiguration(){return{locale:this.getDefaultConfig("localeId"),environment:this.adyen.environment,clientKey:this.adyen.clientKey,onAdditionalDetails:this.handleOnAdditionalDetails,onError:this.handleOnError}}},watch:{payButtonWasClicked(){this.payButtonWasClicked&&this.validateCard()}},async mounted(){const t=await s(this.adyenCoreConfiguration);this.blikComp=t.create("blik",this.getBlikConfiguration()).mount(this.$refs.blik),this._on("adyenblikcall",this.adyenBlikCall)},unmounted(){this._off("adyenblikcall",this.adyenBlikCall)},methods:{adyenBlikCall(t){this.blikComp.handleAction(t)},validateCard(){this.blikComp.showValidation()},handleOnAdditionalDetails(t){t?.data?.details?.payload?window.location.href=`${this.getDefaultConfig("orderConfirmationUrl")}?blikResult=${t.data.details.payload}`:(this.$store.dispatch("notification/updateErrorNotifications",{text:this.i18n("checkoutoverview.payment.failed.title")},{root:!0}),this.$store.dispatch("payments/updateIsPayButtonDisabled",!1),this._emit("disablePaymentMethods",!1))},handleOnError(){this.$store.dispatch("notification/updateErrorNotifications",{text:this.i18n("checkoutoverview.payment.failed.title")},{root:!0})},onChangeHandler(t){this.$store.commit("payments/updateBankCardDetails",{...t.data.paymentMethod}),this.$store.dispatch("payments/updateOtherPaymentSelected",!1),this.$store.dispatch("payments/updateAdyenWebComponentValidated",t.isValid)},getBlikConfiguration(){return{onChange:this.onChangeHandler}}}},r={key:0,class:"p-ec01-checkout-input--error p-ec01-form__error-msg"},h={ref:"blik",class:"pv-margin--20 p-ec01-checkout-adyen"};const c=l(d,[["render",function(n,o,s,l,d,c){return t(),e("section",null,[d.hasError?(t(),e("div",r)):a("",!0),i("div",h,null,512)])}]]);export{c as 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.