{"version":3,"file":"main.83497ef2d7b451b8981c.prod.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEC,WAAUA,OAAO,EAAE;EAChB,IAAI,IAA0C,EAAE;IAC5C;IACAC,iCAAsC,CAAC,wBAAmB,CAAC,oCAAED,OAAO;AAAA;AAAA;AAAA,kGAAC;EACzE,CAAC,MAAM,EAMN;AACL,CAAC,EAAC,UAAUU,CAAC,EAAE;EACX,IAAIC,MAAM,GAAGD,CAAC,CAACF,SAAS;IACpBI,QAAQ;IACRC,eAAe,GAAG,uBAAuB;EAE7C,SAASC,mBAAmBA,CAACC,OAAO,EAAEC,QAAQ,EAAEC,KAAK,EAAE;IACnDF,OAAO,CAACG,KAAK,CAACF,QAAQ,CAAC,GAAGC,KAAK;IAC/B,IAAIF,OAAO,CAACI,OAAO,EAAE;MACjBJ,OAAO,CAACK,QAAQ,CAACJ,QAAQ,CAAC,GAAGD,OAAO,CAACI,OAAO;IAChD;EACJ;EAEA,S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.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/utils/Modal.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/core/MessageHandlers.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@ungap/custom-elements/index.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/components/ModalFrame.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/scss/main.scss","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/jquery/dist/jquery.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/toastr/toastr.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/jquery-ajax-unobtrusive/dist/jquery.unobtrusive-ajax.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/bindings/bindPage.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/components/Modal.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/core/Net.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/app.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/core/Bind.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/services/Log.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/jquery-validation/dist/jquery.validate.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/services/Poller.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/enums.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getWindow.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/applyStyles.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getBasePlacement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/math.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/userAgent.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/contains.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/within.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/expandToHashMap.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getVariation.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/computeStyles.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/eventListeners.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/rectToClientRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/computeOffsets.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/detectOverflow.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/flip.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/hide.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/offset.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/getAltAxis.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/modifiers/index.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/orderModifiers.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/debounce.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/utils/mergeByName.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/createPopper.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/popper.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/popper-lite.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@popperjs/core/lib/index.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/dom/data.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/index.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/dom/event-handler.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/dom/manipulator.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/config.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/base-component.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/dom/selector-engine.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/component-functions.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/alert.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/button.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/swipe.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/carousel.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/collapse.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/dropdown.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/backdrop.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/focustrap.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/scrollbar.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/modal.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/offcanvas.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/sanitizer.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/util/template-factory.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/tooltip.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/popover.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/scrollspy.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/tab.js","webpack://A6tm.Sepamat.LesFormules.Front/../../js/src/toast.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/core/Kernel.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@sepamat44/6tm-components/dist/core/MessageHandlerRegistry.js","webpack://A6tm.Sepamat.LesFormules.Front/webpack/bootstrap","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/amd define","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/compat get default export","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/define property getters","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/hasOwnProperty shorthand","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/make namespace object","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/node module decorator","webpack://A6tm.Sepamat.LesFormules.Front/webpack/runtime/nonce","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/unimplemented.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/ChatBot/Bot.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/ChatBot/AddressAutocomplete.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/ChatBot/ChatBot.js","webpack://A6tm.Sepamat.LesFormules.Front/./node_modules/@splidejs/splide/dist/js/splide.esm.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/ClientsCarousel.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/components/CustomHeader.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/pages/ListeVehicules.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/js/pages/ListeActualites.js","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/scss/main.scss?8b6a","webpack://A6tm.Sepamat.LesFormules.Front/./webpack/main.js"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","/**\r\n * @license\r\n * Unobtrusive validation support library for jQuery and jQuery Validate\r\n * Copyright (c) .NET Foundation. All rights reserved.\r\n * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\r\n * @version v4.0.0\r\n */\r\n\r\n/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */\r\n/*global document: false, jQuery: false */\r\n\r\n(function (factory) {\r\n if (typeof define === 'function' && define.amd) {\r\n // AMD. Register as an anonymous module.\r\n define(\"jquery.validate.unobtrusive\", ['jquery-validation'], factory);\r\n } else if (typeof module === 'object' && module.exports) {\r\n // CommonJS-like environments that support module.exports \r\n module.exports = factory(require('jquery-validation'));\r\n } else {\r\n // Browser global\r\n jQuery.validator.unobtrusive = factory(jQuery);\r\n }\r\n}(function ($) {\r\n var $jQval = $.validator,\r\n adapters,\r\n data_validation = \"unobtrusiveValidation\";\r\n\r\n function setValidationValues(options, ruleName, value) {\r\n options.rules[ruleName] = value;\r\n if (options.message) {\r\n options.messages[ruleName] = options.message;\r\n }\r\n }\r\n\r\n function splitAndTrim(value) {\r\n return value.replace(/^\\s+|\\s+$/g, \"\").split(/\\s*,\\s*/g);\r\n }\r\n\r\n function escapeAttributeValue(value) {\r\n // As mentioned on http://api.jquery.com/category/selectors/\r\n return value.replace(/([!\"#$%&'()*+,./:;<=>?@\\[\\\\\\]^`{|}~])/g, \"\\\\$1\");\r\n }\r\n\r\n function getModelPrefix(fieldName) {\r\n return fieldName.substr(0, fieldName.lastIndexOf(\".\") + 1);\r\n }\r\n\r\n function appendModelPrefix(value, prefix) {\r\n if (value.indexOf(\"*.\") === 0) {\r\n value = value.replace(\"*.\", prefix);\r\n }\r\n return value;\r\n }\r\n\r\n function onError(error, inputElement) { // 'this' is the form element\r\n var container = $(this).find(\"[data-valmsg-for='\" + escapeAttributeValue(inputElement[0].name) + \"']\"),\r\n replaceAttrValue = container.attr(\"data-valmsg-replace\"),\r\n replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) !== false : null;\r\n\r\n container.removeClass(\"field-validation-valid\").addClass(\"field-validation-error\");\r\n error.data(\"unobtrusiveContainer\", container);\r\n\r\n if (replace) {\r\n container.empty();\r\n error.removeClass(\"input-validation-error\").appendTo(container);\r\n }\r\n else {\r\n error.hide();\r\n }\r\n }\r\n\r\n function onErrors(event, validator) { // 'this' is the form element\r\n var container = $(this).find(\"[data-valmsg-summary=true]\"),\r\n list = container.find(\"ul\");\r\n\r\n if (list && list.length && validator.errorList.length) {\r\n list.empty();\r\n container.addClass(\"validation-summary-errors\").removeClass(\"validation-summary-valid\");\r\n\r\n $.each(validator.errorList, function () {\r\n $(\"
  • \").html(this.message).appendTo(list);\r\n });\r\n }\r\n }\r\n\r\n function onSuccess(error) { // 'this' is the form element\r\n var container = error.data(\"unobtrusiveContainer\");\r\n\r\n if (container) {\r\n var replaceAttrValue = container.attr(\"data-valmsg-replace\"),\r\n replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) : null;\r\n\r\n container.addClass(\"field-validation-valid\").removeClass(\"field-validation-error\");\r\n error.removeData(\"unobtrusiveContainer\");\r\n\r\n if (replace) {\r\n container.empty();\r\n }\r\n }\r\n }\r\n\r\n function onReset(event) { // 'this' is the form element\r\n var $form = $(this),\r\n key = '__jquery_unobtrusive_validation_form_reset';\r\n if ($form.data(key)) {\r\n return;\r\n }\r\n // Set a flag that indicates we're currently resetting the form.\r\n $form.data(key, true);\r\n try {\r\n $form.data(\"validator\").resetForm();\r\n } finally {\r\n $form.removeData(key);\r\n }\r\n\r\n $form.find(\".validation-summary-errors\")\r\n .addClass(\"validation-summary-valid\")\r\n .removeClass(\"validation-summary-errors\");\r\n $form.find(\".field-validation-error\")\r\n .addClass(\"field-validation-valid\")\r\n .removeClass(\"field-validation-error\")\r\n .removeData(\"unobtrusiveContainer\")\r\n .find(\">*\") // If we were using valmsg-replace, get the underlying error\r\n .removeData(\"unobtrusiveContainer\");\r\n }\r\n\r\n function validationInfo(form) {\r\n var $form = $(form),\r\n result = $form.data(data_validation),\r\n onResetProxy = $.proxy(onReset, form),\r\n defaultOptions = $jQval.unobtrusive.options || {},\r\n execInContext = function (name, args) {\r\n var func = defaultOptions[name];\r\n func && $.isFunction(func) && func.apply(form, args);\r\n };\r\n\r\n if (!result) {\r\n result = {\r\n options: { // options structure passed to jQuery Validate's validate() method\r\n errorClass: defaultOptions.errorClass || \"input-validation-error\",\r\n errorElement: defaultOptions.errorElement || \"span\",\r\n errorPlacement: function () {\r\n onError.apply(form, arguments);\r\n execInContext(\"errorPlacement\", arguments);\r\n },\r\n invalidHandler: function () {\r\n onErrors.apply(form, arguments);\r\n execInContext(\"invalidHandler\", arguments);\r\n },\r\n messages: {},\r\n rules: {},\r\n success: function () {\r\n onSuccess.apply(form, arguments);\r\n execInContext(\"success\", arguments);\r\n }\r\n },\r\n attachValidation: function () {\r\n $form\r\n .off(\"reset.\" + data_validation, onResetProxy)\r\n .on(\"reset.\" + data_validation, onResetProxy)\r\n .validate(this.options);\r\n },\r\n validate: function () { // a validation function that is called by unobtrusive Ajax\r\n $form.validate();\r\n return $form.valid();\r\n }\r\n };\r\n $form.data(data_validation, result);\r\n }\r\n\r\n return result;\r\n }\r\n\r\n $jQval.unobtrusive = {\r\n adapters: [],\r\n\r\n parseElement: function (element, skipAttach) {\r\n /// \r\n /// Parses a single HTML element for unobtrusive validation attributes.\r\n /// \r\n /// The HTML element to be parsed.\r\n /// [Optional] true to skip attaching the\r\n /// validation to the form. If parsing just this single element, you should specify true.\r\n /// If parsing several elements, you should specify false, and manually attach the validation\r\n /// to the form when you are finished. The default is false.\r\n var $element = $(element),\r\n form = $element.parents(\"form\")[0],\r\n valInfo, rules, messages;\r\n\r\n if (!form) { // Cannot do client-side validation without a form\r\n return;\r\n }\r\n\r\n valInfo = validationInfo(form);\r\n valInfo.options.rules[element.name] = rules = {};\r\n valInfo.options.messages[element.name] = messages = {};\r\n\r\n $.each(this.adapters, function () {\r\n var prefix = \"data-val-\" + this.name,\r\n message = $element.attr(prefix),\r\n paramValues = {};\r\n\r\n if (message !== undefined) { // Compare against undefined, because an empty message is legal (and falsy)\r\n prefix += \"-\";\r\n\r\n $.each(this.params, function () {\r\n paramValues[this] = $element.attr(prefix + this);\r\n });\r\n\r\n this.adapt({\r\n element: element,\r\n form: form,\r\n message: message,\r\n params: paramValues,\r\n rules: rules,\r\n messages: messages\r\n });\r\n }\r\n });\r\n\r\n $.extend(rules, { \"__dummy__\": true });\r\n\r\n if (!skipAttach) {\r\n valInfo.attachValidation();\r\n }\r\n },\r\n\r\n parse: function (selector) {\r\n /// \r\n /// Parses all the HTML elements in the specified selector. It looks for input elements decorated\r\n /// with the [data-val=true] attribute value and enables validation according to the data-val-*\r\n /// attribute values.\r\n /// \r\n /// Any valid jQuery selector.\r\n\r\n // $forms includes all forms in selector's DOM hierarchy (parent, children and self) that have at least one\r\n // element with data-val=true\r\n var $selector = $(selector),\r\n $forms = $selector.parents()\r\n .addBack()\r\n .filter(\"form\")\r\n .add($selector.find(\"form\"))\r\n .has(\"[data-val=true]\");\r\n\r\n $selector.find(\"[data-val=true]\").each(function () {\r\n $jQval.unobtrusive.parseElement(this, true);\r\n });\r\n\r\n $forms.each(function () {\r\n var info = validationInfo(this);\r\n if (info) {\r\n info.attachValidation();\r\n }\r\n });\r\n }\r\n };\r\n\r\n adapters = $jQval.unobtrusive.adapters;\r\n\r\n adapters.add = function (adapterName, params, fn) {\r\n /// Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.\r\n /// The name of the adapter to be added. This matches the name used\r\n /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).\r\n /// [Optional] An array of parameter names (strings) that will\r\n /// be extracted from the data-val-nnnn-mmmm HTML attributes (where nnnn is the adapter name, and\r\n /// mmmm is the parameter name).\r\n /// The function to call, which adapts the values from the HTML\r\n /// attributes into jQuery Validate rules and/or messages.\r\n /// \r\n if (!fn) { // Called with no params, just a function\r\n fn = params;\r\n params = [];\r\n }\r\n this.push({ name: adapterName, params: params, adapt: fn });\r\n return this;\r\n };\r\n\r\n adapters.addBool = function (adapterName, ruleName) {\r\n /// Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\r\n /// the jQuery Validate validation rule has no parameter values.\r\n /// The name of the adapter to be added. This matches the name used\r\n /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).\r\n /// [Optional] The name of the jQuery Validate rule. If not provided, the value\r\n /// of adapterName will be used instead.\r\n /// \r\n return this.add(adapterName, function (options) {\r\n setValidationValues(options, ruleName || adapterName, true);\r\n });\r\n };\r\n\r\n adapters.addMinMax = function (adapterName, minRuleName, maxRuleName, minMaxRuleName, minAttribute, maxAttribute) {\r\n /// Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\r\n /// the jQuery Validate validation has three potential rules (one for min-only, one for max-only, and\r\n /// one for min-and-max). The HTML parameters are expected to be named -min and -max.\r\n /// The name of the adapter to be added. This matches the name used\r\n /// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).\r\n /// The name of the jQuery Validate rule to be used when you only\r\n /// have a minimum value.\r\n /// The name of the jQuery Validate rule to be used when you only\r\n /// have a maximum value.\r\n /// The name of the jQuery Validate rule to be used when you\r\n /// have both a minimum and maximum value.\r\n /// [Optional] The name of the HTML attribute that\r\n /// contains the minimum value. The default is \"min\".\r\n /// [Optional] The name of the HTML attribute that\r\n /// contains the maximum value. The default is \"max\".\r\n /// \r\n return this.add(adapterName, [minAttribute || \"min\", maxAttribute || \"max\"], function (options) {\r\n var min = options.params.min,\r\n max = options.params.max;\r\n\r\n if (min && max) {\r\n setValidationValues(options, minMaxRuleName, [min, max]);\r\n }\r\n else if (min) {\r\n setValidationValues(options, minRuleName, min);\r\n }\r\n else if (max) {\r\n setValidationValues(options, maxRuleName, max);\r\n }\r\n });\r\n };\r\n\r\n adapters.addSingleVal = function (adapterName, attribute, ruleName) {\r\n /// Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where\r\n /// the jQuery Validate validation rule has a single value.\r\n /// The name of the adapter to be added. This matches the name used\r\n /// in the data-val-nnnn HTML attribute(where nnnn is the adapter name).\r\n /// [Optional] The name of the HTML attribute that contains the value.\r\n /// The default is \"val\".\r\n /// [Optional] The name of the jQuery Validate rule. If not provided, the value\r\n /// of adapterName will be used instead.\r\n /// \r\n return this.add(adapterName, [attribute || \"val\"], function (options) {\r\n setValidationValues(options, ruleName || adapterName, options.params[attribute]);\r\n });\r\n };\r\n\r\n $jQval.addMethod(\"__dummy__\", function (value, element, params) {\r\n return true;\r\n });\r\n\r\n $jQval.addMethod(\"regex\", function (value, element, params) {\r\n var match;\r\n if (this.optional(element)) {\r\n return true;\r\n }\r\n\r\n match = new RegExp(params).exec(value);\r\n return (match && (match.index === 0) && (match[0].length === value.length));\r\n });\r\n\r\n $jQval.addMethod(\"nonalphamin\", function (value, element, nonalphamin) {\r\n var match;\r\n if (nonalphamin) {\r\n match = value.match(/\\W/g);\r\n match = match && match.length >= nonalphamin;\r\n }\r\n return match;\r\n });\r\n\r\n if ($jQval.methods.extension) {\r\n adapters.addSingleVal(\"accept\", \"mimtype\");\r\n adapters.addSingleVal(\"extension\", \"extension\");\r\n } else {\r\n // for backward compatibility, when the 'extension' validation method does not exist, such as with versions\r\n // of JQuery Validation plugin prior to 1.10, we should use the 'accept' method for\r\n // validating the extension, and ignore mime-type validations as they are not supported.\r\n adapters.addSingleVal(\"extension\", \"extension\", \"accept\");\r\n }\r\n\r\n adapters.addSingleVal(\"regex\", \"pattern\");\r\n adapters.addBool(\"creditcard\").addBool(\"date\").addBool(\"digits\").addBool(\"email\").addBool(\"number\").addBool(\"url\");\r\n adapters.addMinMax(\"length\", \"minlength\", \"maxlength\", \"rangelength\").addMinMax(\"range\", \"min\", \"max\", \"range\");\r\n adapters.addMinMax(\"minlength\", \"minlength\").addMinMax(\"maxlength\", \"minlength\", \"maxlength\");\r\n adapters.add(\"equalto\", [\"other\"], function (options) {\r\n var prefix = getModelPrefix(options.element.name),\r\n other = options.params.other,\r\n fullOtherName = appendModelPrefix(other, prefix),\r\n element = $(options.form).find(\":input\").filter(\"[name='\" + escapeAttributeValue(fullOtherName) + \"']\")[0];\r\n\r\n setValidationValues(options, \"equalTo\", element);\r\n });\r\n adapters.add(\"required\", function (options) {\r\n // jQuery Validate equates \"required\" with \"mandatory\" for checkbox elements\r\n if (options.element.tagName.toUpperCase() !== \"INPUT\" || options.element.type.toUpperCase() !== \"CHECKBOX\") {\r\n setValidationValues(options, \"required\", true);\r\n }\r\n });\r\n adapters.add(\"remote\", [\"url\", \"type\", \"additionalfields\"], function (options) {\r\n var value = {\r\n url: options.params.url,\r\n type: options.params.type || \"GET\",\r\n data: {}\r\n },\r\n prefix = getModelPrefix(options.element.name);\r\n\r\n $.each(splitAndTrim(options.params.additionalfields || options.element.name), function (i, fieldName) {\r\n var paramName = appendModelPrefix(fieldName, prefix);\r\n value.data[paramName] = function () {\r\n var field = $(options.form).find(\":input\").filter(\"[name='\" + escapeAttributeValue(paramName) + \"']\");\r\n // For checkboxes and radio buttons, only pick up values from checked fields.\r\n if (field.is(\":checkbox\")) {\r\n return field.filter(\":checked\").val() || field.filter(\":hidden\").val() || '';\r\n }\r\n else if (field.is(\":radio\")) {\r\n return field.filter(\":checked\").val() || '';\r\n }\r\n return field.val();\r\n };\r\n });\r\n\r\n setValidationValues(options, \"remote\", value);\r\n });\r\n adapters.add(\"password\", [\"min\", \"nonalphamin\", \"regex\"], function (options) {\r\n if (options.params.min) {\r\n setValidationValues(options, \"minlength\", options.params.min);\r\n }\r\n if (options.params.nonalphamin) {\r\n setValidationValues(options, \"nonalphamin\", options.params.nonalphamin);\r\n }\r\n if (options.params.regex) {\r\n setValidationValues(options, \"regex\", options.params.regex);\r\n }\r\n });\r\n adapters.add(\"fileextensions\", [\"extensions\"], function (options) {\r\n setValidationValues(options, \"extension\", options.params.extensions);\r\n });\r\n\r\n $(function () {\r\n $jQval.unobtrusive.parse(document);\r\n });\r\n\r\n return $jQval.unobtrusive;\r\n}));\r\n","class Modal {\r\n\r\n constructor() {\r\n this.bind();\r\n }\r\n\r\n bind() {\r\n\r\n let self = this;\r\n\r\n window.OnFailure = this.OnFailure;\r\n window.OnSuccess = this.OnSuccess;\r\n\r\n $(document).on('click', '[data-modal-url]', (e) => {\r\n e.preventDefault();\r\n\r\n let url = $(e.currentTarget).data('modal-url');\r\n let target = $(e.currentTarget).data('modal-target');\r\n let modalClass = $(e.currentTarget).data('modal-class') || '';\r\n this.open(url, target, modalClass);\r\n\r\n $(e.currentTarget).addClass('active');\r\n });\r\n\r\n\r\n // Afin d'ouvrir la modale en automatique dans certain cas\r\n $(function () {\r\n // Test ici la pr�sence de l'ancre #devis dans l'url'\r\n var hash = window.location.hash;\r\n if (hash === \"#devis\") {\r\n\r\n // on r�cup�re les info pour ouvrir la modale\r\n let $devisButton = $(\"#ask-for-devis-modal\");\r\n\r\n // Si les infos sont bien pr�sente on ouvre la modale\r\n if ($devisButton.length > 0) {\r\n let url = $devisButton.data('modal-url');\r\n let target = $devisButton.data('modal-target');\r\n let modalClass = $devisButton.data('modal-class') || '';\r\n self.open(url, target, modalClass);\r\n\r\n $devisButton.addClass('active');\r\n }\r\n }\r\n });\r\n \r\n\r\n $(document).on('click', '.close-popup-modal', (e, data) => {\r\n console.log(\"test\");\r\n this.close();\r\n });\r\n }\r\n\r\n open(url, target, modalClass, data, methodAjax, modalClassForBackdrop) {\r\n\r\n this.close(true);\r\n\r\n let $target = $('body');\r\n\r\n if (target !== undefined && $(target).length !== 0) {\r\n $target = $(target)\r\n }\r\n\r\n if (methodAjax == undefined || methodAjax == null) {\r\n methodAjax = \"GET\";\r\n }\r\n\r\n if (methodAjax != 'GET' && methodAjax != 'POST') {\r\n methodAjax = \"GET\";\r\n }\r\n\r\n $.ajax({\r\n url: url,\r\n method: methodAjax,\r\n data: (data !== null) ? { data: data } : null\r\n }).done((data) => {\r\n\r\n let $modal = $('
    ');\r\n let $backdrop = $('
    ');\r\n\r\n $backdrop.on('click', (e) => {\r\n if (e.target !== e.currentTarget) return;\r\n this.close();\r\n });\r\n\r\n $modal.append($(data));\r\n $backdrop.append($modal);\r\n $target.append($backdrop);\r\n\r\n App.Kernel.bindComponents($modal);\r\n\r\n $('.btn-close', $modal).on('click', () => {\r\n this.close();\r\n });\r\n });\r\n\r\n }\r\n\r\n close(forPrevious = false) {\r\n $('a[data-modal-url]').removeClass('active');\r\n $('a[data-modal-url]').removeClass('highlightRed');\r\n\r\n let $backdrop = $('body').find('.popup-backdrop');\r\n $backdrop.remove();\r\n\r\n // on est dans le tunnel et on veut remettre le bouton avec sa bonne valeur\r\n if (!forPrevious && $('.js-loading') && $('.valueOfBtnBeforeLoading')) {\r\n let parent = $('.js-loading').parent();\r\n if (parent[0]) {\r\n $('.js-loading').remove();\r\n parent.append(parent.parent().find('.valueOfBtnBeforeLoading').html());\r\n parent[0].disabled = false;\r\n }\r\n }\r\n }\r\n\r\n OnFailure(response) {\r\n $('body').find('.modal-content').html(response);\r\n }\r\n\r\n OnSuccess(response) {\r\n if (response.success != undefined && response.success == 1) {\r\n location.href = response.url;\r\n }\r\n\r\n $('body').find('.modal-content').html(response);\r\n }\r\n}\r\n\r\nmodule.exports = Modal;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar toastr = require('toastr');\nvar Modal = require('../components/Modal');\nvar Log = require('../services/Log');\n\n//-----------------------------\n// handler definition\n\nvar MessageHandlers = function () {\n function MessageHandlers() {\n _classCallCheck(this, MessageHandlers);\n\n this.register = this.register.bind(this);\n this.handleHTML = this.handleHTML.bind(this);\n this.handleToast = this.handleToast.bind(this);\n this.handleRedirect = this.handleRedirect.bind(this);\n this.handleMeta = this.handleMeta.bind(this);\n this.handleExecute = this.handleExecute.bind(this);\n this.handleJSON = this.handleJSON.bind(this);\n this.handleReload = this.handleReload.bind(this);\n this.withNode = this.withNode.bind(this);\n }\n\n _createClass(MessageHandlers, [{\n key: 'handleHTML',\n value: function handleHTML(message) {\n switch (message.action) {\n\n case 'open':\n return Modal.getInstance(message.targetId).display(message.value);\n\n case 'close':\n return Modal.getInstance(message.targetId).view.modal('hide');\n\n case 'refresh':\n // refresh node content\n var node_id = $(message.value).attr('id');\n return this.withNode(node_id, function (node) {\n node.replaceWith(message.value);\n });\n\n case 'update':\n // replace node content\n return this.withNode(message.targetId, function (node) {\n node.html(message.value);\n });\n\n case 'append':\n // append content in node\n return this.withNode(message.targetId, function (node) {\n node.append(message.value);\n });\n\n case 'prepend':\n // prepend content in node\n return this.withNode(message.targetId, function (node) {\n node.prepend(message.value);\n });\n\n case 'removeClass':\n // prepend content in node\n return this.withNode(message.targetId, function (node) {\n node.removeClass(message.value);\n });\n\n case 'replace':\n // replace node with content\n return this.withNode(message.targetId, function (node) {\n node.replaceWith(message.value);\n });\n\n case 'remove':\n // remove node\n return this.withNode(message.targetId, function (node) {\n node.remove();\n });\n\n case 'fadeIn':\n // fadeIn node\n return this.withNode(message.targetId, function (node) {\n node.fadeIn();\n });\n\n case 'fadeOut':\n // fadeOut node\n return this.withNode(message.targetId, function (node) {\n node.fadeOut();\n });\n\n case 'replaceElems':\n // replace multiple node children\n return this.withNode(message.targetId, function (node) {\n $.each(message.targets, function (index) {\n var block = $(message.html).find(message.targets[index]);\n node.find(message.targets[index]).replaceWith(block);\n });\n });\n\n default:\n Log.log('Unknown HTML action: ' + message.action);\n\n }\n }\n }, {\n key: 'handleToast',\n value: function handleToast(message) {\n switch (message.method) {\n case \"info\":\n toastr.info(message.value);\n break;\n case \"warning\":\n toastr.warning(message.value);\n break;\n case \"error\":\n toastr.error(message.value);\n break;\n default:\n toastr.success(message.value);\n break;\n }\n }\n }, {\n key: 'handleMeta',\n value: function handleMeta(message) {\n $(\"title\").html(message.title);\n $(\"meta[name='description']\").attr(\"content\", message.description);\n $(\"link[rel='canonical']\").attr(\"href\", message.url);\n }\n }, {\n key: 'handleExecute',\n value: function handleExecute(message) {\n eval(message.value);\n }\n }, {\n key: 'handleRedirect',\n value: function handleRedirect(message) {\n if (message.delay) {\n setTimeout(function () {\n window.location = message.value;\n }, message.delay);\n } else {\n window.location = message.value;\n }\n }\n }, {\n key: 'handleReload',\n value: function handleReload(message) {\n toastr.success(message.value);\n setTimeout(function () {\n location.reload(true);\n }, 1000);\n }\n }, {\n key: 'handleJSON',\n value: function handleJSON(message) {\n return message.value;\n }\n\n //-----------------------------\n // helpers\n\n }, {\n key: 'withNode',\n value: function withNode(node_id, cb) {\n var node = $('#' + node_id);\n if (node.length > 0) {\n cb(node);\n // bindCard(node);\n } else Log.log('Undefined target: ' + node_id);\n }\n\n //-----------------------------\n\n }, {\n key: 'register',\n value: function register(registry) {\n registry.register('html', this.handleHTML);\n registry.register('toast', this.handleToast);\n registry.register('redirect', this.handleRedirect);\n registry.register('reload', this.handleReload);\n registry.register('meta', this.handleMeta);\n registry.register('execute', this.handleExecute);\n registry.register('json', this.handleJSON);\n }\n }]);\n\n return MessageHandlers;\n}();\n\nexports.default = MessageHandlers;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/*! (c) Andrea Giammarchi @webreflection ISC */\n(function () {\n 'use strict';\n\n var attributesObserver = (function (whenDefined, MutationObserver) {\n var attributeChanged = function attributeChanged(records) {\n for (var i = 0, length = records.length; i < length; i++) dispatch(records[i]);\n };\n var dispatch = function dispatch(_ref) {\n var target = _ref.target,\n attributeName = _ref.attributeName,\n oldValue = _ref.oldValue;\n target.attributeChangedCallback(attributeName, oldValue, target.getAttribute(attributeName));\n };\n return function (target, is) {\n var attributeFilter = target.constructor.observedAttributes;\n if (attributeFilter) {\n whenDefined(is).then(function () {\n new MutationObserver(attributeChanged).observe(target, {\n attributes: true,\n attributeOldValue: true,\n attributeFilter: attributeFilter\n });\n for (var i = 0, length = attributeFilter.length; i < length; i++) {\n if (target.hasAttribute(attributeFilter[i])) dispatch({\n target: target,\n attributeName: attributeFilter[i],\n oldValue: null\n });\n }\n });\n }\n return target;\n };\n });\n\n function _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 function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n }\n function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function () {};\n return {\n s: F,\n n: function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function (e) {\n throw e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function () {\n it = it.call(o);\n },\n n: function () {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function (e) {\n didErr = true;\n err = e;\n },\n f: function () {\n try {\n if (!normalCompletion && it.return != null) it.return();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n }\n\n /*! (c) Andrea Giammarchi - ISC */\n var TRUE = true,\n FALSE = false,\n QSA$1 = 'querySelectorAll';\n\n /**\n * Start observing a generic document or root element.\n * @param {(node:Element, connected:boolean) => void} callback triggered per each dis/connected element\n * @param {Document|Element} [root=document] by default, the global document to observe\n * @param {Function} [MO=MutationObserver] by default, the global MutationObserver\n * @param {string[]} [query=['*']] the selectors to use within nodes\n * @returns {MutationObserver}\n */\n var notify = function notify(callback) {\n var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;\n var MO = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : MutationObserver;\n var query = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ['*'];\n var loop = function loop(nodes, selectors, added, removed, connected, pass) {\n var _iterator = _createForOfIteratorHelper(nodes),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var node = _step.value;\n if (pass || QSA$1 in node) {\n if (connected) {\n if (!added.has(node)) {\n added.add(node);\n removed[\"delete\"](node);\n callback(node, connected);\n }\n } else if (!removed.has(node)) {\n removed.add(node);\n added[\"delete\"](node);\n callback(node, connected);\n }\n if (!pass) loop(node[QSA$1](selectors), selectors, added, removed, connected, TRUE);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n };\n var mo = new MO(function (records) {\n if (query.length) {\n var selectors = query.join(',');\n var added = new Set(),\n removed = new Set();\n var _iterator2 = _createForOfIteratorHelper(records),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _step2$value = _step2.value,\n addedNodes = _step2$value.addedNodes,\n removedNodes = _step2$value.removedNodes;\n loop(removedNodes, selectors, added, removed, FALSE, FALSE);\n loop(addedNodes, selectors, added, removed, TRUE, FALSE);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n });\n var observe = mo.observe;\n (mo.observe = function (node) {\n return observe.call(mo, node, {\n subtree: TRUE,\n childList: TRUE\n });\n })(root);\n return mo;\n };\n\n var QSA = 'querySelectorAll';\n var _self$1 = self,\n document$2 = _self$1.document,\n Element$1 = _self$1.Element,\n MutationObserver$2 = _self$1.MutationObserver,\n Set$2 = _self$1.Set,\n WeakMap$1 = _self$1.WeakMap;\n var elements = function elements(element) {\n return QSA in element;\n };\n var filter = [].filter;\n var qsaObserver = (function (options) {\n var live = new WeakMap$1();\n var drop = function drop(elements) {\n for (var i = 0, length = elements.length; i < length; i++) live[\"delete\"](elements[i]);\n };\n var flush = function flush() {\n var records = observer.takeRecords();\n for (var i = 0, length = records.length; i < length; i++) {\n parse(filter.call(records[i].removedNodes, elements), false);\n parse(filter.call(records[i].addedNodes, elements), true);\n }\n };\n var matches = function matches(element) {\n return element.matches || element.webkitMatchesSelector || element.msMatchesSelector;\n };\n var notifier = function notifier(element, connected) {\n var selectors;\n if (connected) {\n for (var q, m = matches(element), i = 0, length = query.length; i < length; i++) {\n if (m.call(element, q = query[i])) {\n if (!live.has(element)) live.set(element, new Set$2());\n selectors = live.get(element);\n if (!selectors.has(q)) {\n selectors.add(q);\n options.handle(element, connected, q);\n }\n }\n }\n } else if (live.has(element)) {\n selectors = live.get(element);\n live[\"delete\"](element);\n selectors.forEach(function (q) {\n options.handle(element, connected, q);\n });\n }\n };\n var parse = function parse(elements) {\n var connected = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n for (var i = 0, length = elements.length; i < length; i++) notifier(elements[i], connected);\n };\n var query = options.query;\n var root = options.root || document$2;\n var observer = notify(notifier, root, MutationObserver$2, query);\n var attachShadow = Element$1.prototype.attachShadow;\n if (attachShadow) Element$1.prototype.attachShadow = function (init) {\n var shadowRoot = attachShadow.call(this, init);\n observer.observe(shadowRoot);\n return shadowRoot;\n };\n if (query.length) parse(root[QSA](query));\n return {\n drop: drop,\n flush: flush,\n observer: observer,\n parse: parse\n };\n });\n\n var _self = self,\n document$1 = _self.document,\n Map = _self.Map,\n MutationObserver$1 = _self.MutationObserver,\n Object$1 = _self.Object,\n Set$1 = _self.Set,\n WeakMap = _self.WeakMap,\n Element = _self.Element,\n HTMLElement = _self.HTMLElement,\n Node = _self.Node,\n Error = _self.Error,\n TypeError$1 = _self.TypeError,\n Reflect = _self.Reflect;\n var defineProperty = Object$1.defineProperty,\n keys = Object$1.keys,\n getOwnPropertyNames = Object$1.getOwnPropertyNames,\n setPrototypeOf = Object$1.setPrototypeOf;\n var legacy = !self.customElements;\n var expando = function expando(element) {\n var key = keys(element);\n var value = [];\n var ignore = new Set$1();\n var length = key.length;\n for (var i = 0; i < length; i++) {\n value[i] = element[key[i]];\n try {\n delete element[key[i]];\n } catch (SafariTP) {\n ignore.add(i);\n }\n }\n return function () {\n for (var _i = 0; _i < length; _i++) ignore.has(_i) || (element[key[_i]] = value[_i]);\n };\n };\n if (legacy) {\n var HTMLBuiltIn = function HTMLBuiltIn() {\n var constructor = this.constructor;\n if (!classes.has(constructor)) throw new TypeError$1('Illegal constructor');\n var is = classes.get(constructor);\n if (override) return augment(override, is);\n var element = createElement.call(document$1, is);\n return augment(setPrototypeOf(element, constructor.prototype), is);\n };\n var createElement = document$1.createElement;\n var classes = new Map();\n var defined = new Map();\n var prototypes = new Map();\n var registry = new Map();\n var query = [];\n var handle = function handle(element, connected, selector) {\n var proto = prototypes.get(selector);\n if (connected && !proto.isPrototypeOf(element)) {\n var redefine = expando(element);\n override = setPrototypeOf(element, proto);\n try {\n new proto.constructor();\n } finally {\n override = null;\n redefine();\n }\n }\n var method = \"\".concat(connected ? '' : 'dis', \"connectedCallback\");\n if (method in proto) element[method]();\n };\n var _qsaObserver = qsaObserver({\n query: query,\n handle: handle\n }),\n parse = _qsaObserver.parse;\n var override = null;\n var whenDefined = function whenDefined(name) {\n if (!defined.has(name)) {\n var _,\n $ = new Promise(function ($) {\n _ = $;\n });\n defined.set(name, {\n $: $,\n _: _\n });\n }\n return defined.get(name).$;\n };\n var augment = attributesObserver(whenDefined, MutationObserver$1);\n self.customElements = {\n define: function define(is, Class) {\n if (registry.has(is)) throw new Error(\"the name \\\"\".concat(is, \"\\\" has already been used with this registry\"));\n classes.set(Class, is);\n prototypes.set(is, Class.prototype);\n registry.set(is, Class);\n query.push(is);\n whenDefined(is).then(function () {\n parse(document$1.querySelectorAll(is));\n });\n defined.get(is)._(Class);\n },\n get: function get(is) {\n return registry.get(is);\n },\n whenDefined: whenDefined\n };\n defineProperty(HTMLBuiltIn.prototype = HTMLElement.prototype, 'constructor', {\n value: HTMLBuiltIn\n });\n self.HTMLElement = HTMLBuiltIn;\n document$1.createElement = function (name, options) {\n var is = options && options.is;\n var Class = is ? registry.get(is) : registry.get(name);\n return Class ? new Class() : createElement.call(document$1, name);\n };\n // in case ShadowDOM is used through a polyfill, to avoid issues\n // with builtin extends within shadow roots\n if (!('isConnected' in Node.prototype)) defineProperty(Node.prototype, 'isConnected', {\n configurable: true,\n get: function get() {\n return !(this.ownerDocument.compareDocumentPosition(this) & this.DOCUMENT_POSITION_DISCONNECTED);\n }\n });\n } else {\n legacy = !self.customElements.get('extends-br');\n if (legacy) {\n try {\n var BR = function BR() {\n return self.Reflect.construct(HTMLBRElement, [], BR);\n };\n BR.prototype = HTMLLIElement.prototype;\n var is = 'extends-br';\n self.customElements.define('extends-br', BR, {\n 'extends': 'br'\n });\n legacy = document$1.createElement('br', {\n is: is\n }).outerHTML.indexOf(is) < 0;\n var _self$customElements = self.customElements,\n get = _self$customElements.get,\n _whenDefined = _self$customElements.whenDefined;\n self.customElements.whenDefined = function (is) {\n var _this = this;\n return _whenDefined.call(this, is).then(function (Class) {\n return Class || get.call(_this, is);\n });\n };\n } catch (o_O) {}\n }\n }\n if (legacy) {\n var _parseShadow = function _parseShadow(element) {\n var root = shadowRoots.get(element);\n _parse(root.querySelectorAll(this), element.isConnected);\n };\n var customElements = self.customElements;\n var _createElement = document$1.createElement;\n var define = customElements.define,\n _get = customElements.get,\n upgrade = customElements.upgrade;\n var _ref = Reflect || {\n construct: function construct(HTMLElement) {\n return HTMLElement.call(this);\n }\n },\n construct = _ref.construct;\n var shadowRoots = new WeakMap();\n var shadows = new Set$1();\n var _classes = new Map();\n var _defined = new Map();\n var _prototypes = new Map();\n var _registry = new Map();\n var shadowed = [];\n var _query = [];\n var getCE = function getCE(is) {\n return _registry.get(is) || _get.call(customElements, is);\n };\n var _handle = function _handle(element, connected, selector) {\n var proto = _prototypes.get(selector);\n if (connected && !proto.isPrototypeOf(element)) {\n var redefine = expando(element);\n _override = setPrototypeOf(element, proto);\n try {\n new proto.constructor();\n } finally {\n _override = null;\n redefine();\n }\n }\n var method = \"\".concat(connected ? '' : 'dis', \"connectedCallback\");\n if (method in proto) element[method]();\n };\n var _qsaObserver2 = qsaObserver({\n query: _query,\n handle: _handle\n }),\n _parse = _qsaObserver2.parse;\n var _qsaObserver3 = qsaObserver({\n query: shadowed,\n handle: function handle(element, connected) {\n if (shadowRoots.has(element)) {\n if (connected) shadows.add(element);else shadows[\"delete\"](element);\n if (_query.length) _parseShadow.call(_query, element);\n }\n }\n }),\n parseShadowed = _qsaObserver3.parse;\n // qsaObserver also patches attachShadow\n // be sure this runs *after* that\n var attachShadow = Element.prototype.attachShadow;\n if (attachShadow) Element.prototype.attachShadow = function (init) {\n var root = attachShadow.call(this, init);\n shadowRoots.set(this, root);\n return root;\n };\n var _whenDefined2 = function _whenDefined2(name) {\n if (!_defined.has(name)) {\n var _,\n $ = new Promise(function ($) {\n _ = $;\n });\n _defined.set(name, {\n $: $,\n _: _\n });\n }\n return _defined.get(name).$;\n };\n var _augment = attributesObserver(_whenDefined2, MutationObserver$1);\n var _override = null;\n getOwnPropertyNames(self).filter(function (k) {\n return /^HTML.*Element$/.test(k);\n }).forEach(function (k) {\n var HTMLElement = self[k];\n function HTMLBuiltIn() {\n var constructor = this.constructor;\n if (!_classes.has(constructor)) throw new TypeError$1('Illegal constructor');\n var _classes$get = _classes.get(constructor),\n is = _classes$get.is,\n tag = _classes$get.tag;\n if (is) {\n if (_override) return _augment(_override, is);\n var element = _createElement.call(document$1, tag);\n element.setAttribute('is', is);\n return _augment(setPrototypeOf(element, constructor.prototype), is);\n } else return construct.call(this, HTMLElement, [], constructor);\n }\n\n defineProperty(HTMLBuiltIn.prototype = HTMLElement.prototype, 'constructor', {\n value: HTMLBuiltIn\n });\n defineProperty(self, k, {\n value: HTMLBuiltIn\n });\n });\n document$1.createElement = function (name, options) {\n var is = options && options.is;\n if (is) {\n var Class = _registry.get(is);\n if (Class && _classes.get(Class).tag === name) return new Class();\n }\n var element = _createElement.call(document$1, name);\n if (is) element.setAttribute('is', is);\n return element;\n };\n customElements.get = getCE;\n customElements.whenDefined = _whenDefined2;\n customElements.upgrade = function (element) {\n var is = element.getAttribute('is');\n if (is) {\n var _constructor = _registry.get(is);\n if (_constructor) {\n _augment(setPrototypeOf(element, _constructor.prototype), is);\n // apparently unnecessary because this is handled by qsa observer\n // if (element.isConnected && element.connectedCallback)\n // element.connectedCallback();\n return;\n }\n }\n upgrade.call(customElements, element);\n };\n customElements.define = function (is, Class, options) {\n if (getCE(is)) throw new Error(\"'\".concat(is, \"' has already been defined as a custom element\"));\n var selector;\n var tag = options && options[\"extends\"];\n _classes.set(Class, tag ? {\n is: is,\n tag: tag\n } : {\n is: '',\n tag: is\n });\n if (tag) {\n selector = \"\".concat(tag, \"[is=\\\"\").concat(is, \"\\\"]\");\n _prototypes.set(selector, Class.prototype);\n _registry.set(is, Class);\n _query.push(selector);\n } else {\n define.apply(customElements, arguments);\n shadowed.push(selector = is);\n }\n _whenDefined2(is).then(function () {\n if (tag) {\n _parse(document$1.querySelectorAll(selector));\n shadows.forEach(_parseShadow, [selector]);\n } else parseShadowed(document$1.querySelectorAll(selector));\n });\n _defined.get(is)._(Class);\n };\n }\n\n})();\n","'use strict';\n\n//var $ = require('jquery');\n\nfunction ModalFrame(container_id) {\n this.container_id = container_id;\n this.view = null;\n};\n\nModalFrame.prototype = {\n\n display: function display(url) {\n if (!this.view) {\n this.initFrame(url);\n } else {\n this.setFrameSrc(url);\n }\n this.view.modal('show');\n },\n\n close: function close() {\n this.view.modal('hide');\n },\n\n //\n\n setFrameSrc: function setFrameSrc(url) {\n var iframe = this.view.find('iframe');\n iframe.attr('src', url);\n\n iframe.show();\n },\n\n initFrame: function initFrame(url) {\n\n this.view = $('