{"version":3,"sources":["webpack:///./node_modules/core-js/internals/function-bind.js","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./src/js/modules/SplashForm.js","webpack:///./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack:///./node_modules/core-js/modules/es.reflect.construct.js"],"names":["aFunction","isObject","arraySlice","slice","factories","construct","C","argsLength","args","list","i","Function","join","module","exports","bind","that","fn","this","partArgs","call","arguments","boundFunction","concat","length","apply","prototype","internalFind","SKIPS_HOLES","Array","target","proto","forced","find","callbackfn","undefined","SplashFormComponent","selectedInput","dom","checkbox","$el","modal","$","on","handleCheckboxClick","handleDismissModal","e","preventDefault","currentTarget","is","prop","awsModal","Component","toObject","nativeGetPrototypeOf","CORRECT_PROTOTYPE_GETTER","FAILS_ON_PRIMITIVES","stat","sham","getPrototypeOf","it","create","anObject","fails","nativeConstruct","Reflect","NEW_TARGET_BUG","F","ARGS_BUG","FORCED","Target","newTarget","$args","push","instance","Object","result"],"mappings":"2FACA,IAAIA,EAAY,EAAQ,GACpBC,EAAW,EAAQ,GACnBC,EAAa,GAAGC,MAChBC,EAAY,GAEZC,EAAY,SAAUC,EAAGC,EAAYC,GACvC,KAAMD,KAAcH,GAAY,CAC9B,IAAK,IAAIK,EAAO,GAAIC,EAAI,EAAGA,EAAIH,EAAYG,IAAKD,EAAKC,GAAK,KAAOA,EAAI,IAErEN,EAAUG,GAAcI,SAAS,MAAO,gBAAkBF,EAAKG,KAAK,KAAO,KAC3E,OAAOR,EAAUG,GAAYD,EAAGE,IAKpCK,EAAOC,QAAUH,SAASI,MAAQ,SAAcC,GAC9C,IAAIC,EAAKjB,EAAUkB,MACfC,EAAWjB,EAAWkB,KAAKC,UAAW,GACtCC,EAAgB,WAClB,IAAId,EAAOW,EAASI,OAAOrB,EAAWkB,KAAKC,YAC3C,OAAOH,gBAAgBI,EAAgBjB,EAAUY,EAAIT,EAAKgB,OAAQhB,GAAQS,EAAGQ,MAAMT,EAAMR,IAG3F,OADIP,EAASgB,EA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ACnB7D,EAAW,EAAQ,GACnB8D,EAAQ,EAAQ,GAChBhD,EAAO,EAAQ,KACfiD,GAAmB,EAAQ,GAAuBC,SAAW,IAAI5D,UAMjE6D,EAAiBH,GAAM,WACzB,SAASI,KACT,QAASH,GAAgB,cAA6B,GAAIG,aAAcA,MAEtEC,GAAYL,GAAM,WACpBC,GAAgB,kBAEdK,EAASH,GAAkBE,EAE/B,EAAQ,GAAR,CAA+B,CAAEtC,OAAQ,UAAW2B,MAAM,EAAMzB,OAAQqC,EAAQX,KAAMW,GAAU,CAC9FhE,UAAW,SAAmBiE,EAAQ9D,GACpCR,EAAUsE,GACVR,EAAStD,GACT,IAAI+D,EAAYlD,UAAUG,OAAS,EAAI8C,EAAStE,EAAUqB,UAAU,IACpE,GAAI+C,IAAaF,EAAgB,OAAOF,EAAgBM,EAAQ9D,EAAM+D,GACtE,GAAID,GAAUC,EAAW,CAEvB,OAAQ/D,EAAKgB,QACX,KAAK,EAAG,OAAO,IAAI8C,EACnB,KAAK,EAAG,OAAO,IAAIA,EAAO9D,EAAK,IAC/B,KAAK,EAAG,OAAO,IAAI8D,EAAO9D,EAAK,GAAIA,EAAK,IACxC,KAAK,EAAG,OAAO,IAAI8D,EAAO9D,EAAK,GAAIA,EAAK,GAAIA,EAAK,IACjD,KAAK,EAAG,OAAO,IAAI8D,EAAO9D,EAAK,GAAIA,EAAK,GAAIA,EAAK,GAAIA,EAAK,IAG5D,IAAIgE,EAAQ,CAAC,MAEb,OADAA,EAAMC,KAAKhD,MAAM+C,EAAOhE,GACjB,IAAKO,EAAKU,MAAM6C,EAAQE,IAGjC,IAAIzC,EAAQwC,EAAU7C,UAClBgD,EAAWb,EAAO5D,EAAS8B,GAASA,EAAQ4C,OAAOjD,WACnDkD,EAASjE,SAASc,MAAML,KAAKkD,EAAQI,EAAUlE,GACnD,OAAOP,EAAS2E,GAAUA,EAASF","file":"21.bundle.js","sourcesContent":["'use strict';\nvar aFunction = require('../internals/a-function');\nvar isObject = require('../internals/is-object');\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!(argsLength in factories)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.github.io/ecma262/#sec-function.prototype.bind\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n };\n if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n return boundFunction;\n};\n","'use strict';\nvar internalFind = require('../internals/array-methods')(5);\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\nrequire('../internals/export')({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return internalFind(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\nrequire('../internals/add-to-unscopables')(FIND);\n","import { Component } from '@verndale/core';\n\nclass SplashFormComponent extends Component {\n setupDefaults() {\n this.selectedInput = null;\n\n this.dom = {\n checkbox: this.$el.find('.splash-form__checkbox--consent'),\n modal: $('#consent_detail')\n };\n }\n\n addListeners() {\n this.dom.checkbox.on('click', ::this.handleCheckboxClick);\n this.dom.modal.on('click', 'a.confirm', ::this.handleDismissModal);\n }\n\n handleCheckboxClick(e) {\n e.preventDefault();\n this.selectedInput = $(e.currentTarget).find('input');\n\n if (!this.selectedInput.is(':checked')) {\n // Open Modal\n $('#consent_detail').awsModal();\n } else {\n this.selectedInput.prop('checked', false);\n }\n }\n\n handleDismissModal() {\n if (this.selectedInput) {\n this.selectedInput.prop('checked', true);\n this.selectedInput = null;\n }\n }\n}\n\nexport default SplashFormComponent;\n","var toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nrequire('../internals/export')({\n target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER\n}, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var create = require('../internals/object-create');\nvar aFunction = require('../internals/a-function');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar bind = require('../internals/function-bind');\nvar nativeConstruct = (require('../internals/global').Reflect || {}).construct;\n\n// `Reflect.construct` method\n// https://tc39.github.io/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\nrequire('../internals/export')({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n"],"sourceRoot":""}