File "payment-url.min.js.map"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/swedbank-pay-payments/assets/js/payment-url.min.js.map
File size: 1.98 KB
MIME-type: application/json
Charset: utf-8
{"version":3,"file":"payment-url.min.js","names":["jQuery","$","window","wc_sb_payments_payment_url","initPaymentJS","url","callback","self","this","hostedView","WC_Sb_Payments_Payment_Url","culture","loadJs","remove","hide","initPaymentMenu","extend","wc_sb_seamless","document","ready","payment_url","console","log"],"sources":["payment-url.js"],"sourcesContent":["/* global wc_checkout_params */\njQuery( function( $ ) {\n 'use strict';\n\n window.wc_sb_payments_payment_url = {\n /**\n * Initiate Payment Javascript\n * @param url\n * @param callback\n */\n initPaymentJS: function ( url, callback ) {\n if ( typeof callback === 'undefined' ) {\n callback = function () {};\n }\n\n // Load JS\n var self = this;\n self.hostedView = WC_Sb_Payments_Payment_Url.hostedView;\n self.culture = WC_Sb_Payments_Payment_Url.culture;\n this.loadJs( url, function () {\n $( '#payment-swedbank-pay-payments iframe' ).remove();\n\n // Initiate the payment menu\n $( '#payment' ).hide();\n self.initPaymentMenu( 'payment-swedbank-pay-payments' );\n\n callback()\n } );\n },\n }\n\n $.extend( window.wc_sb_payments_payment_url, window.wc_sb_seamless );\n\n $(document).ready( function () {\n wc_sb_payments_payment_url.initPaymentJS( WC_Sb_Payments_Payment_Url.payment_url, function () {\n console.log( 'Payment url has been loaded.' );\n } );\n } );\n});\n"],"mappings":"AACAA,QAAQ,SAAUC,GACd,aAEAC,OAAOC,2BAA6B,CAMhCC,cAAe,SAAWC,EAAKC,QACF,IAAbA,IACRA,EAAW,WAAa,GAI5B,IAAIC,EAAOC,KACXD,EAAKE,WAAaC,2BAA2BD,WAC7CF,EAAKI,QAAUD,2BAA2BC,QAC1CH,KAAKI,OAAQP,GAAK,WACdJ,EAAG,yCAA0CY,SAG7CZ,EAAG,YAAaa,OAChBP,EAAKQ,gBAAiB,iCAEtBT,GACJ,GACJ,GAGJL,EAAEe,OAAQd,OAAOC,2BAA4BD,OAAOe,gBAEpDhB,EAAEiB,UAAUC,OAAO,WACfhB,2BAA2BC,cAAeM,2BAA2BU,aAAa,WAC9EC,QAAQC,IAAK,+BACjB,GACJ,GACJ"}