{"version":3,"sources":["webpack://@verndale/toolkit/./src/js/helpers/times.js","webpack://@verndale/toolkit/./node_modules/js-cookie/dist/js.cookie.mjs","webpack://@verndale/toolkit/./src/js/modules/form.js","webpack://@verndale/toolkit/./node_modules/form-serialize/index.js","webpack://@verndale/toolkit/./node_modules/pristinejs/dist/pristine.js"],"names":[],"mappings":"0JAAO,KAAM,GAAiB,CAAC,EAAa,EAAS,IAAU,CAC7D,KAAM,GAAa,CACjB,CAAE,MAAO,YAAa,MAAO,EAAG,EAChC,CAAE,MAAO,sBAAuB,MAAO,gBAAiB,EACxD,CAAE,MAAO,uBAAwB,MAAO,iBAAkB,EAC1D,CAAE,MAAO,sBAAuB,MAAO,iBAAkB,EACzD,CAAE,MAAO,qBAAsB,MAAO,gBAAiB,EACvD,CAAE,MAAO,oBAAqB,MAAO,eAAgB,EACrD,CAAE,MAAO,oBAAqB,MAAO,eAAgB,EACrD,CAAE,MAAO,oBAAqB,MAAO,eAAgB,EACrD,CAAE,MAAO,oBAAqB,MAAO,eAAgB,EACrD,CAAE,MAAO,oBAAqB,MAAO,eAAgB,CACvD,EAEA,GAAI,GAAgB,EAChB,EAAgB,GAAI,MAAK,EAAE,eAAe,KAAM,CAAE,SAAU,mBAAoB,KAAM,UAAW,MAAO,UAAW,IAAK,SAAU,CAAC,EAAE,MAAM,GAAG,EAAE,GAAG,MAAM,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAG,EAEpL,KAAM,GAAO,OAAO,GAAI,MAAK,EAAE,mBAAmB,QAAS,CAAE,SAAU,mBAAoB,KAAM,UAAW,OAAQ,EAAM,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,EACpI,EAAU,OAAO,GAAI,MAAK,EAAE,mBAAmB,QAAS,CAAE,SAAU,mBAAoB,OAAQ,SAAU,CAAC,CAAC,EAElH,GAAM,KAAS,GAAK,GAAW,GAAO,IAAS,GAAK,IAAY,IAAO,EACrE,EAAgB,EAAW,OAAO,CAAC,EAAM,IACnC,IAAU,CA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CAAC,EACD,MAAM,KAAK,EAAK,KAAK,iBAAiB,IAAM,EAAK,OAAO,OAAO,CAAC,EAAE,IAAI,SAAU,EAAM,CAClF,EAAK,UAAU,OAAO,EAAK,OAAO,YAAY,EAC9C,EAAK,UAAU,OAAO,EAAK,OAAO,UAAU,CAChD,CAAC,CACL,EAKA,EAAK,QAAU,UAAY,CACvB,EAAK,MAAM,EACX,EAAK,OAAO,QAAQ,SAAU,EAAO,CACjC,MAAO,GAAM,MAAM,QACvB,CAAC,EACD,EAAK,OAAS,CAAC,CACnB,EAEA,EAAK,gBAAkB,SAAU,EAAQ,CACrC,EAAgB,CACpB,EAEO,CACX,CAWA,SAAS,aAAe,SAAU,EAAM,EAAI,EAAK,EAAU,EAAM,CAC7D,EAAE,EAAM,CAAE,GAAI,EAAI,IAAK,EAAK,SAAU,EAAU,KAAM,CAAK,CAAC,CAChE,EAEO,CAEX,CAAE,C","file":"scripts/488.5c42a07d235571912a71.js","sourcesContent":["export const getTimesConfig = ($datePicker, isToday, today) => {\n const allOptions = [\n { label: 'Select...', value: '' },\n { label: '9:00 am - 10:00 am ', value: '9:00am-10:00am' },\n { label: '10:00 am - 11:00 am ', value: '10:00am-11:00am' },\n { label: '11:00 am - 12:00 pm', value: '11:00am-12:00pm' },\n { label: '12:00 pm - 1:00 pm', value: '12:00pm-1:00pm' },\n { label: '1:00 pm - 2:00 pm', value: '1:00pm-2:00pm' },\n { label: '2:00 pm - 3:00 pm', value: '2:00pm-3:00pm' },\n { label: '3:00 pm - 4:00 pm', value: '3:00pm-4:00pm' },\n { label: '4:00 pm - 5:00 pm', value: '4:00pm-5:00pm' },\n { label: '5:00 pm - 6:00 pm', value: '5:00pm-6:00pm' }\n ];\n\n let parsedOptions = allOptions\n let minDatePicker = new Date().toLocaleString('sv', { timeZone: 'America/New_York', year: 'numeric', month: '2-digit', day: '2-digit' }).split(' ')[0].split('/').reverse().join('-');\n\n const hour = Number(new Date().toLocaleTimeString('en-US', { timeZone: 'America/New_York', hour: '2-digit', hour12: false }).split(' ')[0]);\n const minutes = Number(new Date().toLocaleTimeString('en-US', { timeZone: 'America/New_York', minute: '2-digit' }));\n\n if (((hour === 6 && minutes >= 1) || (hour === 7 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1) return false;\n return true;\n })\n } else if (((hour === 7 && minutes >= 1) || (hour === 8 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2) return false;\n return true;\n })\n } else if (((hour === 8 && minutes >= 1) || (hour === 9 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3) return false;\n return true;\n })\n } else if (((hour === 9 && minutes >= 1) || (hour === 10 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3 || index === 4) return false;\n return true;\n })\n } else if (((hour === 10 && minutes >= 1) || (hour === 11 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3 || index === 4 || index === 5) return false;\n return true;\n })\n } else if (((hour === 11 && minutes >= 1) || (hour === 12 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3 || index === 4 || index === 5 || index === 6) return false;\n return true;\n })\n } else if (((hour === 12 && minutes >= 1) || (hour === 13 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3 || index === 4 || index === 5 || index === 6 || index === 7) return false;\n return true;\n })\n } else if (((hour === 13 && minutes >= 1) || (hour === 14 && minutes === 0)) && isToday) {\n parsedOptions = allOptions.filter((item, index) => {\n if (index === 1 || index === 2 || index === 3 || index === 4 || index === 5 || index === 6 || index === 7 || index === 8) return false;\n return true;\n })\n } else if (hour >= 14 && minutes >= 1) {\n const tomorrow = new Date(today);\n tomorrow.setDate(tomorrow.getDate() + 1);\n minDatePicker = `${tomorrow.toLocaleString('sv', { timeZone: 'America/New_York', year: 'numeric', month: '2-digit', day: '2-digit' }).split(' ')[0].split('/').reverse().join('-')}`;\n }\n\n if ($datePicker.value < $datePicker.min) {\n parsedOptions = [\n { label: 'Select...', value: '' }\n ];\n }\n\n return { parsedOptions, minDatePicker };\n}\n\nexport const buildOptionsHtml = items => \nitems.map(\n item => `\n \n `\n ).join('');\n","/*! js-cookie v3.0.1 | MIT */\n/* eslint-disable no-var */\nfunction assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n}\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\nvar defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n};\n/* eslint-enable no-var */\n\n/* eslint-disable no-var */\n\nfunction init (converter, defaultAttributes) {\n function set (key, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n key = encodeURIComponent(key)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n key + '=' + converter.write(value, key) + stringifiedAttributes)\n }\n\n function get (key) {\n if (typeof document === 'undefined' || (arguments.length && !key)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var foundKey = decodeURIComponent(parts[0]);\n jar[foundKey] = converter.read(value, foundKey);\n\n if (key === foundKey) {\n break\n }\n } catch (e) {}\n }\n\n return key ? jar[key] : jar\n }\n\n return Object.create(\n {\n set: set,\n get: get,\n remove: function (key, attributes) {\n set(\n key,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n}\n\nvar api = init(defaultConverter, { path: '/' });\n/* eslint-enable no-var */\n\nexport default api;\n","import { Component } from '@verndale/core';\nimport Pristine from 'pristinejs';\nimport Cookies from 'js-cookie';\nimport serialize from 'form-serialize';\nimport { getTimesConfig, buildOptionsHtml } from '../helpers/times';\n\nclass Module extends Component {\n setupDefaults() {\n this.dom = {\n $form: this.el,\n $error: this.el._$('.form-error'),\n $submit: this.el._$('[type=\"submit\"]'),\n $success: this.el._$('.form-success'),\n $successCopy: this.el.parentNode._$('.contact-us__success'),\n $failedCopy: this.el.parentNode._$('.contact-us__failed'),\n $loadingRing: this.el._$('.loading-ring'),\n $topics: this.el._$$('.contact-us__topics select'),\n $date: this.el._$$('duet-date-picker'),\n $requiredWhenVisible: this.el\n ._$$('select')\n .filter(el => !!el.dataset.pristineRequiredMessageWhenVisible)\n };\n\n this.formEndPoint = this.dom.$form.dataset.endpoint;\n if (this.el.dataset.params) {\n this.queryParams = JSON.parse(this.el.dataset.params);\n }\n this.locationEndPoint = this.el.dataset.geoEndpoint;\n this.cookiesToSend = ['current_community'];\n this.actionForm = this.el.getAttribute('method');\n this.ajaxSubmit = this.dom.$form.classList.contains('form--ajax');\n this.loadingClass = 'form--loading';\n\n if (this.dom.$successCopy) {\n this.dom.$successCopy.hidden = true;\n }\n if (this.dom.$failedCopy) {\n this.dom.$failedCopy.hidden = true;\n }\n\n this.validateRequiredFields();\n this.verifyQueryParams();\n }\n\n addListeners() {\n this.dom.$form._on('submit', this.handleSubmit.bind(this));\n this.dom.$topics._on('change', () => {\n setTimeout(() => {\n this.validateRequiredFields();\n })\n });\n }\n\n moveDateInputName() {\n this.dom.$date.forEach(date => {\n const $dateInput = date._$('.duet-date__input');\n\n if (date.name && $dateInput) {\n $dateInput.name = date.name;\n date.removeAttribute('name');\n }\n });\n }\n\n validate() {\n this.moveDateInputName();\n\n this.pristineForm = new Pristine(this.dom.$form, {\n classTo: 'field',\n errorClass: 'field--error',\n successClass: 'field--success',\n errorTextParent: 'field',\n errorTextTag: 'small',\n errorTextClass: 'field__error'\n });\n }\n\n validateRequiredFields() {\n if (this.dom.$requiredWhenVisible.length) {\n this.dom.$requiredWhenVisible.forEach(el => {\n el.required = false\n\n const shouldValidateDatepicker = el.nodeName === 'DUET-DATE-PICKER' && el._$('.duet-date__input')?.offsetWidth > 0 && el._$('.duet-date__input')?.offsetHeight > 0;\n const shouldValidateOthers = el.nodeName !== 'DUET-DATE-PICKER' && el.offsetWidth > 0 && el.offsetHeight > 0;\n\n if (shouldValidateDatepicker || shouldValidateOthers) {\n if (el.nodeName === 'DUET-DATE-PICKER') {\n const error = el.dataset.pristineRequiredMessageWhenVisible;\n const $dateInput = el._$('.duet-date__input');\n $dateInput.dataset.pristineRequiredMessage = error;\n $dateInput.setAttribute('required', '');\n } else {\n el.setAttribute('data-pristine-required-message', el.dataset.pristineRequiredMessageWhenVisible)\n el.setAttribute('required', '')\n }\n }\n })\n }\n this.validate();\n }\n\n verifyQueryParams() {\n // If the query params are set, then we need to set them as cookies and send them as part of the form\n if (this.queryParams && this.queryParams.length > 0) {\n const urlParams = new URLSearchParams(window.location.search);\n\n this.queryParams.forEach(param => {\n if (urlParams.has(param)) {\n const cookie = { [param]: urlParams.get(param) };\n Cookies.set(param, JSON.stringify(cookie[param]));\n this.cookiesToSend.push(param);\n } else {\n const keys = Object.keys(Cookies.get());\n\n keys.forEach(key => {\n if (key.includes(param)) {\n this.cookiesToSend.push(param);\n }\n });\n }\n });\n }\n }\n\n setLoading(bool) {\n this.dom.$form.classList.toggle(this.loadingClass, bool);\n if (!this.dom.$submit) this.dom.$submit = this.el._$('[type=\"submit\"]');\n\n if (this.dom.$loadingRing) {\n if (bool) {\n this.dom.$submit?.appendChild?.(this.dom.$loadingRing);\n } else {\n this.dom.$loadingRing.remove();\n }\n }\n }\n\n validateDateAndTime() {\n const seletedDate = this.dom.$date[0].value;\n const $dateInput = this.dom.$form.querySelector('.duet-date__input');\n const $timesSelect = this.dom.$form.querySelector('[name=\"preferredTime\"]');\n const selectedTime = $timesSelect.value;\n\n const todayFormated = new Date().toLocaleString('sv', { timeZone: 'America/New_York', year: 'numeric', month: '2-digit', day: '2-digit' }).split(' ')[0].split('/').reverse().join('-')\n const isToday = seletedDate === todayFormated;\n const today = new Date().toLocaleString('en-US', { timeZone: 'America/New_York' });\n\n const { parsedOptions, minDatePicker } = getTimesConfig(this.dom.$date[0], isToday, today);\n const optionsHtml = buildOptionsHtml(parsedOptions);\n\n if (seletedDate < minDatePicker) {\n const errorMessage = this.dom.$date[0].dataset.pristineNoTimes;\n $timesSelect.innerHTML = '';\n $timesSelect.pristine.errors = [];\n this.pristineForm.addError($timesSelect, errorMessage);\n $timesSelect.innerHTML = optionsHtml;\n\n this.dom.$date[0].min = minDatePicker;\n $dateInput.pristine.errors = [];\n this.pristineForm.addError($dateInput, errorMessage);\n return false;\n }\n\n const validTime = parsedOptions.find(option => option.value === selectedTime);\n\n if (!validTime) {\n const errorMessage = $timesSelect.dataset.pristineNoLongerAvailable;\n $timesSelect.innerHTML = '';\n $timesSelect.pristine.errors = [];\n this.pristineForm.addError($timesSelect, errorMessage);\n $timesSelect.innerHTML = optionsHtml;\n return false;\n }\n\n return true;\n }\n\n handleSubmit(e) {\n e.preventDefault();\n\n // Workaround for the pristine form validate method to work together with Sitecore personalize\n window.$ = () => {}\n \n const isValid = this.pristineForm.validate();\n\n if (!this.validateDateAndTime()) return;\n\n const headers = {\n 'content-type': 'application/json'\n };\n if (!isValid) {\n e.preventDefault();\n return;\n }\n\n this.dom.$submit.disabled = true;\n this.setLoading(true);\n\n if (this.formEndPoint) {\n this.fetchResults(this.formEndPoint, headers);\n }\n }\n\n async fetchResults(url, headers) {\n const payload = {\n ...serialize(this.dom.$form, {\n hash: true,\n disabled: true,\n empty: true\n })\n };\n\n // BE needs cookies being sent with the request because of CDN caching\n this.cookiesToSend.forEach(cookie => {\n const cookieValue = Cookies.get(cookie);\n\n if (cookieValue) {\n try {\n let cookieValueParsed = JSON.parse(cookieValue);\n if (cookieValueParsed && cookie === 'current_community') {\n cookieValueParsed = cookieValueParsed.ssl_communityid;\n }\n // BE only needs ID, not the whole object (if needed uncomment community-context)\n // payload['community-context'] = JSON.parse(payload['community-context']);\n payload[cookie] = cookieValueParsed;\n } catch (e) {\n let cookieValueParsed = cookieValue;\n if (cookieValueParsed && cookie === 'current_community') {\n cookieValueParsed = cookieValueParsed.ssl_communityid;\n }\n // BE only needs ID, not the whole object (if needed uncomment community-context)\n // payload['community-context'] = JSON.parse(payload['community-context']);\n payload[cookie] = cookieValueParsed;\n }\n }\n });\n\n // BE needs the current geolocation and IP to be sent with the request.\n if (this.locationEndPoint) {\n const responseGeo = await fetch(this.locationEndPoint);\n const bodyGeoLocation = await responseGeo.json();\n\n payload.geolocation = { ...bodyGeoLocation };\n }\n\n const response = await fetch(url, {\n method: this.actionForm,\n body: JSON.stringify(payload),\n headers\n });\n\n if (!response.ok || response.status !== 200) {\n this.handleError(response.Message);\n return;\n }\n\n const body = await response.json();\n\n this.setLoading(false);\n this.handleSuccess(body, response.status);\n }\n\n handleSuccess(res, status) {\n if (this.dom.$error) this.dom.$error.hidden = true;\n\n if (res.redirectUrl || status === 200) {\n this.dom.$form.hidden = true;\n this.dom.$failedCopy.hidden = true;\n this.dom.$successCopy.hidden = false;\n\n return;\n }\n\n this.setLoading(false);\n this.dom.$form.classList.remove(this.errorClass);\n this.dom.$form.classList.add(this.successClass);\n }\n\n handleError(msg) {\n this.dom.$form.classList.add(this.errorClass);\n this.dom.$form.classList.remove(this.successClass);\n\n this.dom.$form.hidden = true;\n this.dom.$successCopy.hidden = true;\n this.dom.$failedCopy.hidden = false;\n\n if (this.dom.$error) {\n this.dom.$error.hidden = false;\n this.dom.$error.innerHTML = msg || this.defaultError;\n }\n\n this.setLoading(false);\n\n const event = new CustomEvent('submiterror', { detail: msg });\n this.dom.$form.dispatchEvent(event);\n }\n}\n\nexport default Module;\n","// get successful control from form and assemble into object\n// http://www.w3.org/TR/html401/interact/forms.html#h-17.13.2\n\n// types which indicate a submit action and are not successful controls\n// these will be ignored\nvar k_r_submitter = /^(?:submit|button|image|reset|file)$/i;\n\n// node names which could be successful controls\nvar k_r_success_contrls = /^(?:input|select|textarea|keygen)/i;\n\n// Matches bracket notation.\nvar brackets = /(\\[[^\\[\\]]*\\])/g;\n\n// serializes form fields\n// @param form MUST be an HTMLForm element\n// @param options is an optional argument to configure the serialization. Default output\n// with no options specified is a url encoded string\n// - hash: [true | false] Configure the output type. If true, the output will\n// be a js object.\n// - serializer: [function] Optional serializer function to override the default one.\n// The function takes 3 arguments (result, key, value) and should return new result\n// hash and url encoded str serializers are provided with this module\n// - disabled: [true | false]. If true serialize disabled fields.\n// - empty: [true | false]. If true serialize empty fields\nfunction serialize(form, options) {\n if (typeof options != 'object') {\n options = { hash: !!options };\n }\n else if (options.hash === undefined) {\n options.hash = true;\n }\n\n var result = (options.hash) ? {} : '';\n var serializer = options.serializer || ((options.hash) ? hash_serializer : str_serialize);\n\n var elements = form && form.elements ? form.elements : [];\n\n //Object store each radio and set if it's empty or not\n var radio_store = Object.create(null);\n\n for (var i=0 ; i ${1}\",\n min: \"Minimum value for this field is ${1}\",\n max: \"Maximum value for this field is ${1}\",\n pattern: \"Please match the requested format\"\n };\n\n function findAncestor(el, cls) {\n while ((el = el.parentElement) && !el.classList.contains(cls)) {}\n return el;\n }\n\n function tmpl(o) {\n var _arguments = arguments;\n\n return this.replace(/\\${([^{}]*)}/g, function (a, b) {\n return _arguments[b];\n });\n }\n\n function groupedElemCount(input) {\n return input.pristine.self.form.querySelectorAll('input[name=\"' + input.getAttribute('name') + '\"]:checked').length;\n }\n\n function mergeConfig(obj1, obj2) {\n for (var attr in obj2) {\n if (!(attr in obj1)) {\n obj1[attr] = obj2[attr];\n }\n }\n return obj1;\n }\n\n function isFunction(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n }\n\n var defaultConfig = {\n classTo: 'form-group',\n errorClass: 'has-danger',\n successClass: 'has-success',\n errorTextParent: 'form-group',\n errorTextTag: 'div',\n errorTextClass: 'text-help'\n };\n\n var PRISTINE_ERROR = 'pristine-error';\n var SELECTOR = \"input:not([type^=hidden]):not([type^=submit]), select, textarea\";\n var ALLOWED_ATTRIBUTES = [\"required\", \"min\", \"max\", 'minlength', 'maxlength', 'pattern'];\n var EMAIL_REGEX = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\n var validators = {};\n\n var _ = function _(name, validator) {\n validator.name = name;\n if (!validator.msg) validator.msg = lang[name];\n if (validator.priority === undefined) validator.priority = 1;\n validators[name] = validator;\n };\n\n _('text', { fn: function fn(val) {\n return true;\n }, priority: 0 });\n _('required', { fn: function fn(val) {\n return this.type === 'radio' || this.type === 'checkbox' ? groupedElemCount(this) : val !== undefined && val !== '';\n }, priority: 99, halt: true });\n _('email', { fn: function fn(val) {\n return !val || EMAIL_REGEX.test(val);\n } });\n _('number', { fn: function fn(val) {\n return !val || !isNaN(parseFloat(val));\n }, priority: 2 });\n _('integer', { fn: function fn(val) {\n return !val || /^\\d+$/.test(val);\n } });\n _('minlength', { fn: function fn(val, length) {\n return !val || val.length >= parseInt(length);\n } });\n _('maxlength', { fn: function fn(val, length) {\n return !val || val.length <= parseInt(length);\n } });\n _('min', { fn: function fn(val, limit) {\n return !val || (this.type === 'checkbox' ? groupedElemCount(this) >= parseInt(limit) : parseFloat(val) >= parseFloat(limit));\n } });\n _('max', { fn: function fn(val, limit) {\n return !val || (this.type === 'checkbox' ? groupedElemCount(this) <= parseInt(limit) : parseFloat(val) <= parseFloat(limit));\n } });\n _('pattern', { fn: function fn(val, pattern) {\n var m = pattern.match(new RegExp('^/(.*?)/([gimy]*)$'));return !val || new RegExp(m[1], m[2]).test(val);\n } });\n\n function Pristine(form, config, live) {\n\n var self = this;\n\n init(form, config, live);\n\n function init(form, config, live) {\n\n form.setAttribute(\"novalidate\", \"true\");\n\n self.form = form;\n self.config = mergeConfig(config || {}, defaultConfig);\n self.live = !(live === false);\n self.fields = Array.from(form.querySelectorAll(SELECTOR)).map(function (input) {\n\n var fns = [];\n var params = {};\n var messages = {};\n\n [].forEach.call(input.attributes, function (attr) {\n if (/^data-pristine-/.test(attr.name)) {\n var name = attr.name.substr(14);\n if (name.endsWith('-message')) {\n messages[name.slice(0, name.length - 8)] = attr.value;\n return;\n }\n if (name === 'type') name = attr.value;\n _addValidatorToField(fns, params, name, attr.value);\n } else if (~ALLOWED_ATTRIBUTES.indexOf(attr.name)) {\n _addValidatorToField(fns, params, attr.name, attr.value);\n } else if (attr.name === 'type') {\n _addValidatorToField(fns, params, attr.value);\n }\n });\n\n fns.sort(function (a, b) {\n return b.priority - a.priority;\n });\n\n self.live && input.addEventListener(!~['radio', 'checkbox'].indexOf(input.getAttribute('type')) ? 'input' : 'change', function (e) {\n self.validate(e.target);\n }.bind(self));\n\n return input.pristine = { input: input, validators: fns, params: params, messages: messages, self: self };\n }.bind(self));\n }\n\n function _addValidatorToField(fns, params, name, value) {\n var validator = validators[name];\n if (validator) {\n fns.push(validator);\n if (value) {\n var valueParams = value.split(',');\n valueParams.unshift(null); // placeholder for input's value\n params[name] = valueParams;\n }\n }\n }\n\n /***\n * Checks whether the form/input elements are valid\n * @param input => input element(s) or a jquery selector, null for full form validation\n * @param silent => do not show error messages, just return true/false\n * @returns {boolean} return true when valid false otherwise\n */\n self.validate = function (input, silent) {\n silent = input && silent === true || input === true;\n var fields = self.fields;\n if (input !== true && input !== false) {\n if (input instanceof HTMLElement) {\n fields = [input.pristine];\n } else if (input instanceof NodeList || input instanceof (window.$ || Array) || input instanceof Array) {\n fields = Array.from(input).map(function (el) {\n return el.pristine;\n });\n }\n }\n\n var valid = true;\n\n for (var i = 0; fields[i]; i++) {\n var field = fields[i];\n if (_validateField(field)) {\n !silent && _showSuccess(field);\n } else {\n valid = false;\n !silent && _showError(field);\n }\n }\n return valid;\n };\n\n /***\n * Get errors of a specific field or the whole form\n * @param input\n * @returns {Array|*}\n */\n self.getErrors = function (input) {\n if (!input) {\n var erroneousFields = [];\n for (var i = 0; i < self.fields.length; i++) {\n var field = self.fields[i];\n if (field.errors.length) {\n erroneousFields.push({ input: field.input, errors: field.errors });\n }\n }\n return erroneousFields;\n }\n if (input.tagName && input.tagName.toLowerCase() === \"select\") {\n return input.pristine.errors;\n }\n return input.length ? input[0].pristine.errors : input.pristine.errors;\n };\n\n /***\n * Validates a single field, all validator functions are called and error messages are generated\n * when a validator fails\n * @param field\n * @returns {boolean}\n * @private\n */\n function _validateField(field) {\n var errors = [];\n var valid = true;\n for (var i = 0; field.validators[i]; i++) {\n var validator = field.validators[i];\n var params = field.params[validator.name] ? field.params[validator.name] : [];\n params[0] = field.input.value;\n if (!validator.fn.apply(field.input, params)) {\n valid = false;\n\n if (isFunction(validator.msg)) {\n errors.push(validator.msg(field.input.value, params));\n } else {\n var error = field.messages[validator.name] || validator.msg;\n errors.push(tmpl.apply(error, params));\n }\n\n if (validator.halt === true) {\n break;\n }\n }\n }\n field.errors = errors;\n return valid;\n }\n\n /***\n *\n * @param elem => The dom element where the validator is applied to\n * @param fn => validator function\n * @param msg => message to show when validation fails. Supports templating. ${0} for the input's value, ${1} and\n * so on are for the attribute values\n * @param priority => priority of the validator function, higher valued function gets called first.\n * @param halt => whether validation should stop for this field after current validation function\n */\n self.addValidator = function (elem, fn, msg, priority, halt) {\n if (elem instanceof HTMLElement) {\n elem.pristine.validators.push({ fn: fn, msg: msg, priority: priority, halt: halt });\n elem.pristine.validators.sort(function (a, b) {\n return b.priority - a.priority;\n });\n } else {\n console.warn(\"The parameter elem must be a dom element\");\n }\n };\n\n /***\n * An utility function that returns a 2-element array, first one is the element where error/success class is\n * applied. 2nd one is the element where error message is displayed. 2nd element is created if doesn't exist and cached.\n * @param field\n * @returns {*}\n * @private\n */\n function _getErrorElements(field) {\n if (field.errorElements) {\n return field.errorElements;\n }\n var errorClassElement = findAncestor(field.input, self.config.classTo);\n var errorTextParent = null,\n errorTextElement = null;\n if (self.config.classTo === self.config.errorTextParent) {\n errorTextParent = errorClassElement;\n } else {\n errorTextParent = errorClassElement.querySelector('.' + self.config.errorTextParent);\n }\n if (errorTextParent) {\n errorTextElement = errorTextParent.querySelector('.' + PRISTINE_ERROR);\n if (!errorTextElement) {\n errorTextElement = document.createElement(self.config.errorTextTag);\n errorTextElement.className = PRISTINE_ERROR + ' ' + self.config.errorTextClass;\n errorTextParent.appendChild(errorTextElement);\n errorTextElement.pristineDisplay = errorTextElement.style.display;\n }\n }\n return field.errorElements = [errorClassElement, errorTextElement];\n }\n\n function _showError(field) {\n var errorElements = _getErrorElements(field);\n var errorClassElement = errorElements[0],\n errorTextElement = errorElements[1];\n\n if (errorClassElement) {\n errorClassElement.classList.remove(self.config.successClass);\n errorClassElement.classList.add(self.config.errorClass);\n }\n if (errorTextElement) {\n errorTextElement.innerHTML = field.errors.join('
');\n errorTextElement.style.display = errorTextElement.pristineDisplay || '';\n }\n }\n\n /***\n * Adds error to a specific field\n * @param input\n * @param error\n */\n self.addError = function (input, error) {\n input = input.length ? input[0] : input;\n input.pristine.errors.push(error);\n _showError(input.pristine);\n };\n\n function _removeError(field) {\n var errorElements = _getErrorElements(field);\n var errorClassElement = errorElements[0],\n errorTextElement = errorElements[1];\n if (errorClassElement) {\n // IE > 9 doesn't support multiple class removal\n errorClassElement.classList.remove(self.config.errorClass);\n errorClassElement.classList.remove(self.config.successClass);\n }\n if (errorTextElement) {\n errorTextElement.innerHTML = '';\n errorTextElement.style.display = 'none';\n }\n return errorElements;\n }\n\n function _showSuccess(field) {\n var errorClassElement = _removeError(field)[0];\n errorClassElement && errorClassElement.classList.add(self.config.successClass);\n }\n\n /***\n * Resets the errors\n */\n self.reset = function () {\n for (var i = 0; self.fields[i]; i++) {\n self.fields[i].errorElements = null;\n }\n Array.from(self.form.querySelectorAll('.' + PRISTINE_ERROR)).map(function (elem) {\n elem.parentNode.removeChild(elem);\n });\n Array.from(self.form.querySelectorAll('.' + self.config.classTo)).map(function (elem) {\n elem.classList.remove(self.config.successClass);\n elem.classList.remove(self.config.errorClass);\n });\n };\n\n /***\n * Resets the errors and deletes all pristine fields\n */\n self.destroy = function () {\n self.reset();\n self.fields.forEach(function (field) {\n delete field.input.pristine;\n });\n self.fields = [];\n };\n\n self.setGlobalConfig = function (config) {\n defaultConfig = config;\n };\n\n return self;\n }\n\n /***\n *\n * @param name => Name of the global validator\n * @param fn => validator function\n * @param msg => message to show when validation fails. Supports templating. ${0} for the input's value, ${1} and\n * so on are for the attribute values\n * @param priority => priority of the validator function, higher valued function gets called first.\n * @param halt => whether validation should stop for this field after current validation function\n */\n Pristine.addValidator = function (name, fn, msg, priority, halt) {\n _(name, { fn: fn, msg: msg, priority: priority, halt: halt });\n };\n\n return Pristine;\n\n})));\n"],"sourceRoot":""}