{"version":3,"sources":["webpack:///konnekt/webpack/universalModuleDefinition","webpack:///konnekt/webpack/bootstrap","webpack:///konnekt/../node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack:///konnekt/index)\\.js$","webpack:///konnekt/./konnektor.js","webpack:///konnekt/./utils/with-error-callback.js","webpack:///konnekt/./queue.js","webpack:///konnekt/./commands/open.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/createClass.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/iterableToArray.js","webpack:///konnekt/./index.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:///konnekt/./commands/lang.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/typeof.js","webpack:///konnekt/./commands/publication-channel.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack:///konnekt/./commands/index.js","webpack:///konnekt/../node_modules/@babel/runtime/helpers/toArray.js","webpack:///konnekt/./commands/key.js"],"names":["root","factory","exports","module","define","amd","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","arr","Array","isArray","len","length","arr2","TypeError","arrayWithoutHoles","require","iterableToArray","unsupportedIterableToArray","nonIterableSpread","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","lookup","Set","Konnektor","command","has","commands","forEach","add","Wrapper","error","tryCatch","fn","context","args","result","apply","withErrorCallback","err","Queue","__flushing","__konnektor","__queue","__public","push","flush","queue","konnektor","globalThis","logError","obj","q","console","endpoint","KONNEKT_ENDPOINT","open","options","type","returnUrl","other","extra","toQuery","params","__key","__lang","__href","__publicationchannel","undefined","query","reduce","String","pair","encodeURIComponent","configurable","process","window","location","href","set","_defineProperties","target","props","descriptor","writable","Constructor","protoProps","staticProps","source","excluded","sourceKeys","indexOf","iter","iterator","from","konnekt","KonnektObject","supplant","Date","objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","instance","lang","arrayLikeToArray","minLen","toString","slice","constructor","test","_typeof","publicationChannel","publicationchannel","exported","arrayWithHoles","nonIterableRest"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAiB,QAAID,IAErBD,EAAc,QAAIC,IARpB,CASGK,MAAM,WACT,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUP,QAGnC,IAAIC,EAASI,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHT,QAAS,IAUV,OANAU,EAAQH,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOQ,GAAI,EAGJR,EAAOD,QA0Df,OArDAM,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASd,EAASe,EAAMC,GAC3CV,EAAoBW,EAAEjB,EAASe,IAClCG,OAAOC,eAAenB,EAASe,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAAStB,GACX,oBAAXuB,QAA0BA,OAAOC,aAC1CN,OAA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M2H,EAAWhF,EAAS3C,GACpB2H,EAAS3I,OACfoD,EAASuF,EAAS3I,MAAQ2I,EAAQ,a,qBCTpC,IAAIC,EAAiB3G,EAAQ,QAEzBC,EAAkBD,EAAQ,QAE1BE,EAA6BF,EAAQ,QAErC4G,EAAkB5G,EAAQ,QAM9B/C,EAAOD,QAJP,SAAkBwC,GAChB,OAAOmH,EAAenH,IAAQS,EAAgBT,IAAQU,EAA2BV,IAAQoH,M,kCCT3F,oFAAO,IAAM7I,EAAO,MACL,SAASgB,EAAKA,GAC5B3B,KAAKoG,MAAQO,OAAQhF","file":"prod/konnekt-prod.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"konnekt\"] = factory();\n\telse\n\t\troot[\"konnekt\"] = factory();\n})(this, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"QfWi\");\n","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;","var arrayWithoutHoles = require(\"./arrayWithoutHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;","var map = {\n\t\"./index.js\": \"mPI2\",\n\t\"./key.js\": \"qJoe\",\n\t\"./lang.js\": \"XCHJ\",\n\t\"./open.js\": \"IHvR\",\n\t\"./publication-channel.js\": \"eeeX\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"73hl\";","import commands from \"./commands\";\r\n\r\nconst lookup = new Set();\r\n\r\nclass Konnektor {\r\n\tstatic has( command ) {\r\n\t\treturn lookup.has( command );\r\n\t}\r\n}\r\n\r\nObject\r\n\t.keys( commands )\r\n\t.forEach( key => {\r\n\t\tlookup.add( key );\r\n\t\tKonnektor.prototype[ key ] = commands[ key ];\r\n\t});\r\n\r\nexport { Konnektor as default };\r\n","class Wrapper {\r\n\tconstructor( error ) {\r\n\t\tthis.error = error;\r\n\t}\r\n}\r\n\r\n// This utility function isolates `try ... catch` statements\r\n// into an inner function that always returns a value and does\r\n// not contain complex logic on its catch path.\r\n// This prevents de-optimizations.\r\nfunction tryCatch( fn, context, args ) {\r\n\tlet result;\r\n\r\n\ttry {\r\n\t\tresult = fn.apply( context, args );\r\n\t} catch ( error ) {\r\n\t\tresult = new Wrapper( error );\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nexport function withErrorCallback( fn ) {\r\n\treturn function( err, ...args ) {\r\n\t\tconst result = tryCatch( fn, this, args );\r\n\t\tif ( result instanceof Wrapper ) err( result.error );\r\n\t};\r\n}\r\n","import Konnektor from \"./konnektor\";\r\nimport { withErrorCallback } from \"./utils\";\r\n\r\nclass Queue {\r\n\tconstructor( commands ) {\r\n\t\tthis.__flushing = false;\r\n\t\tthis.__konnektor = new Konnektor();\r\n\t\tthis.__queue = Array.isArray( commands ) ? commands : [];\r\n\t\tthis.__public = {\r\n\t\t\tpush : ( ...commands ) => {\r\n\t\t\t\tthis.push( ...commands );\r\n\t\t\t\tthis.flush();\r\n\t\t\t}\r\n\t\t};\r\n\t}\r\n\r\n\tstatic supplant( obj ) {\r\n\t\tconst queue = new Queue( obj.q );\r\n\t\tobj.q = queue.__public;\r\n\r\n\t\treturn queue;\r\n\t}\r\n\r\n\tpush( ...commands ) {\r\n\t\tthis.__queue.push( ...commands );\r\n\t}\r\n\r\n\tflush() {\r\n\t\tif ( this.__flushing ) return;\r\n\t\tthis.__flushing = true;\r\n\r\n\t\tconst queue = this.__queue;\r\n\t\tconst konnektor = this.__konnektor;\r\n\r\n\t\t// The double loop construct avoids having to check queue.length during\r\n\t\t// iteration over individual items. Only after a single 'pass' over the\r\n\t\t// queue does it check if the queue length grew, which would mean there\r\n\t\t// were callbacks on the queue through which additional commands were\r\n\t\t// added onto the queue as it was being flushed.\r\n\t\tfor ( let n = 0; n !== queue.length; ) {\r\n\t\t\tlet i = n;\r\n\t\t\tn = queue.length;\r\n\t\t\tfor ( ; i !== n; ++i ) {\r\n\t\t\t\tlet command = queue[ i ];\r\n\r\n\t\t\t\tif ( command.length === 0 ) continue;\r\n\r\n\t\t\t\tlet args;\r\n\t\t\t\t[ command, ...args ] = command;\r\n\r\n\t\t\t\tswitch ( typeof command ) {\r\n\t\t\t\t\tdefault : break;\r\n\t\t\t\t\tcase \"function\" :\r\n\t\t\t\t\t\tcommand = withErrorCallback( command );\r\n\t\t\t\t\t\tcommand.call( globalThis, logError, this.__public );\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase \"string\" :\r\n\t\t\t\t\t\tif ( Konnektor.has( command )) {\r\n\t\t\t\t\t\t\tcommand = withErrorCallback( konnektor[ command ]);\r\n\t\t\t\t\t\t\tcommand.call( konnektor, logError, ...args );\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Prune the queue once fully processed.\r\n\t\tqueue.length = 0;\r\n\t\tthis.__flushing = false;\r\n\t}\r\n}\r\n\r\nfunction logError( error ) {\r\n\tif ( \"console\" in globalThis ) {\r\n\t\tglobalThis.console.logError( error );\r\n\t}\r\n}\r\n\r\n\r\nexport { Queue as default };\r\n","/* global KONNEKT_ENDPOINT process */\nconst endpoint = KONNEKT_ENDPOINT;\n\nexport const name = \"open\";\nexport default function open( options = {}) {\n\tconst { type, id, returnUrl, ...other } = options;\n\n\tconst extra = toQuery( other );\n\n\tconst params = {\n\t\t\"ApiKey\" : this.__key,\n\t\t\"Language\" : this.__lang,\n\t\t\"Type\" : type,\n\t\t\"Id\" : id,\n\t\t\"BackLinkUrl\" : returnUrl ?? open.__href,\n\t\t\"PublicationChannel\" : this.__publicationchannel,\n\t\t\"ExtraParams\" : extra ? extra : undefined\n\t};\n\n\tconst query = toQuery( params );\n\n\topen.__href = `${endpoint}?${query}`;\n}\n\n// Makes this property mockable for unit tests\nObject.defineProperty( open, \"__href\", {\n\tconfigurable : ( process.env.NODE_ENV === \"development\" ),\n\tget() { return window.location.href },\n\tset( value ) { window.location.href = value }\n});\n\nfunction toQuery( obj ) {\n\tconst query = Object\n\t\t.keys( obj )\n\t\t.reduce(( query, key ) => {\n\t\t\tconst value = String( obj[ key ] ?? \"\" );\n\t\t\tif ( value === \"\" ) return query;\n\n\t\t\tconst pair = `${encodeURIComponent( key )}=${encodeURIComponent( value )}`;\n\n\t\t\treturn ( query !== \"\" ) ? `${query}&${pair}` : `${pair}`;\n\t\t}, \"\" );\n\n\treturn query;\n}\n","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;","/* globals require module */\r\nconst Queue = require( \"./queue\" ).default;\r\n\r\nmodule.exports = (() => {\r\n\tif ( \"KonnektObject\" in globalThis ) {\r\n\t\tconst konnekt = globalThis[ globalThis.KonnektObject ];\r\n\r\n\t\tif ( typeof konnekt === \"function\" && Array.isArray( konnekt.q )) {\r\n\t\t\tQueue.supplant( konnekt ).flush();\r\n\t\t\treturn konnekt;\r\n\t\t}\r\n\t}\r\n\r\n\tconst konnekt = ( ...args ) => { konnekt.q.push( args ) };\r\n\tkonnekt.q = [];\r\n\tkonnekt.l = 1 * new Date();\r\n\r\n\tQueue.supplant( konnekt ).flush();\r\n\treturn konnekt;\r\n})();\r\n","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;","export const name = \"lang\";\r\nexport default function lang( lang ) {\r\n\tthis.__lang = String( lang );\r\n}\r\n","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","export const name = \"publicationchannel\";\r\nexport default function publicationChannel( publicationchannel ) {\r\n\tthis.__publicationchannel = String( publicationchannel );\r\n}\r\n","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;","/* global require */\r\nconst context = require.context( \".\", true, /(?!index)\\.js$/, \"sync\" );\r\n\r\nconst commands = {};\r\ncontext\r\n\t.keys()\r\n\t.forEach( key => {\r\n\t\tconst exported = context( key );\r\n\t\tif ( !exported.name ) return;\r\n\t\tcommands[exported.name] = exported.default;\r\n\t});\r\n\r\nexport { commands as default };\r\n","var arrayWithHoles = require(\"./arrayWithHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableRest = require(\"./nonIterableRest\");\n\nfunction _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}\n\nmodule.exports = _toArray;","export const name = \"key\";\r\nexport default function key( key ) {\r\n\tthis.__key = String( key );\r\n}\r\n"],"sourceRoot":""}