{"version":3,"sources":["jsdelivr-header.js","/npm/@openmoney/open-payment-rn@0.1.6/lib/commonjs/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAEA,OAAO,eAAe,QAAS,aAAc,CAC3C,OAAO,IAET,QAAQ,4BAAyB,EACjC,QAAQ,gBAAkB,gBAC1B,IAAI,aAAe,QAAQ,gBAC3B,MAAM,cAAgB,2EAA6E,aAAa,SAAS,OAAO,CAC9H,IAAK,iCACL,QAAS,KAFW,oFAIhB,cAAgB,aAAa,cAAc,cAAgB,aAAa,cAAc,cAAgB,IAAI,MAAM,CAAC,EAAG,CACxH,GAAA,GACE,MAAM,IAAI,MAAM,cAClB,IAEF,SAAS,gBAAgB,EAAc,EAAa,EAAW,EAAW,EAAY,GACpF,OAAO,cAAc,gBAAgB,EAAc,EAAa,EAAW,EAAW,EAAY,EACpG,CACA,IAAI,uBACJ,QAAQ,uBAAyB,uBACjC,SAAW,GACT,EAA6B,KAAI,OACjC,EAA4B,IAAI,MAChC,EAAgC,QAAI,SACrC,CAJD,CAIG,yBAA2B,QAAQ,uBAAyB,uBAAyB,CAAC","file":"/npm/@openmoney/open-payment-rn@0.1.6/lib/commonjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@openmoney/open-payment-rn@0.1.6/lib/commonjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.OpenPaymentEnvironment = void 0;\nexports.initOpenPayment = initOpenPayment;\nvar _reactNative = require(\"react-native\");\nconst LINKING_ERROR = `The package 'open-payment-rn' doesn't seem to be linked. Make sure: \\n\\n` + _reactNative.Platform.select({\n  ios: \"- You have run 'pod install'\\n\",\n  default: ''\n}) + '- You rebuilt the app after installing the package\\n' + '- You are not using Expo Go\\n';\nconst OpenPaymentRn = _reactNative.NativeModules.OpenPaymentRn ? _reactNative.NativeModules.OpenPaymentRn : new Proxy({}, {\n  get() {\n    throw new Error(LINKING_ERROR);\n  }\n});\nfunction initOpenPayment(paymentToken, environment, accessKey, mainColor, errorColor, logoUrl) {\n  return OpenPaymentRn.initOpenPayment(paymentToken, environment, accessKey, mainColor, errorColor, logoUrl);\n}\nlet OpenPaymentEnvironment;\nexports.OpenPaymentEnvironment = OpenPaymentEnvironment;\n(function (OpenPaymentEnvironment) {\n  OpenPaymentEnvironment[\"LIVE\"] = \"live\";\n  OpenPaymentEnvironment[\"UAT\"] = \"uat\";\n  OpenPaymentEnvironment[\"SANDBOX\"] = \"sandbox\";\n})(OpenPaymentEnvironment || (exports.OpenPaymentEnvironment = OpenPaymentEnvironment = {}));\n"]}