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EAQA3D,EAAgB+P,QAAU,SAAUnN,EAASmM,GACzC,OAAO,IAAI/O,EAAgB,CACvBwC,KAAMxC,EAAgB4B,aACtBgB,QAASA,IACVe,MACP,EAEO3D,CAEX,G","sources":["webpack://shipley-du-lib/./node_modules/bootstrap3-dialog/dist/js/bootstrap-dialog.js"],"sourcesContent":["/* global define */\n\n/* ================================================\n * Make use of Bootstrap's modal more monkey-friendly.\n *\n * For Bootstrap 3.\n *\n * javanoob@hotmail.com\n *\n * https://github.com/nakupanda/bootstrap3-dialog\n *\n * Licensed under The MIT License.\n * ================================================ */\n(function (root, factory) {\n\n \"use strict\";\n\n // CommonJS module is defined\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = factory(require('jquery'), require('bootstrap'));\n }\n // AMD module is defined\n else if (typeof define === \"function\" && define.amd) {\n define(\"bootstrap-dialog\", [\"jquery\", \"bootstrap\"], function ($) {\n return factory($);\n });\n } else {\n // planted over the root!\n root.BootstrapDialog = factory(root.jQuery);\n }\n\n}(this, function ($) {\n\n \"use strict\";\n\n /* ================================================\n * Definition of BootstrapDialogModal.\n * Extend Bootstrap Modal and override some functions.\n * BootstrapDialogModal === Modified Modal.\n * ================================================ */\n var Modal = $.fn.modal.Constructor;\n var BootstrapDialogModal = function (element, options) {\n Modal.call(this, element, options);\n };\n BootstrapDialogModal.getModalVersion = function () {\n var version = null;\n if (typeof $.fn.modal.Constructor.VERSION === 'undefined') {\n version = 'v3.1';\n } else if (/3\\.2\\.\\d+/.test($.fn.modal.Constructor.VERSION)) {\n version = 'v3.2';\n } else if (/3\\.3\\.[1,2]/.test($.fn.modal.Constructor.VERSION)) {\n version = 'v3.3'; // v3.3.1, v3.3.2\n } else {\n version = 'v3.3.4';\n }\n\n return version;\n };\n BootstrapDialogModal.ORIGINAL_BODY_PADDING = parseInt(($('body').css('padding-right') || 0), 10);\n BootstrapDialogModal.METHODS_TO_OVERRIDE = {};\n BootstrapDialogModal.METHODS_TO_OVERRIDE['v3.1'] = {};\n BootstrapDialogModal.METHODS_TO_OVERRIDE['v3.2'] = {\n hide: function (e) {\n if (e) {\n e.preventDefault();\n }\n e = $.Event('hide.bs.modal');\n\n this.$element.trigger(e);\n\n if (!this.isShown || e.isDefaultPrevented()) {\n return;\n }\n\n this.isShown = false;\n\n // Remove css class 'modal-open' when the last opened dialog is closing.\n var openedDialogs = this.getGlobalOpenedDialogs();\n if (openedDialogs.length === 0) {\n this.$body.removeClass('modal-open');\n }\n\n this.resetScrollbar();\n this.escape();\n\n $(document).off('focusin.bs.modal');\n\n this.$element\n .removeClass('in')\n .attr('aria-hidden', true)\n .off('click.dismiss.bs.modal');\n\n $.support.transition && this.$element.hasClass('fade') ?\n this.$element\n .one('bsTransitionEnd', $.proxy(this.hideModal, this))\n .emulateTransitionEnd(300) :\n this.hideModal();\n }\n };\n BootstrapDialogModal.METHODS_TO_OVERRIDE['v3.3'] = {\n /**\n * Overrided.\n * \n * @returns {undefined}\n */\n setScrollbar: function () {\n var bodyPad = BootstrapDialogModal.ORIGINAL_BODY_PADDING;\n if (this.bodyIsOverflowing) {\n this.$body.css('padding-right', bodyPad + this.scrollbarWidth);\n }\n },\n /**\n * Overrided.\n * \n * @returns {undefined}\n */\n resetScrollbar: function () {\n var openedDialogs = this.getGlobalOpenedDialogs();\n if (openedDialogs.length === 0) {\n this.$body.css('padding-right', BootstrapDialogModal.ORIGINAL_BODY_PADDING);\n }\n },\n /**\n * Overrided.\n * \n * @returns {undefined}\n */\n hideModal: function () {\n this.$element.hide();\n this.backdrop($.proxy(function () {\n var openedDialogs = this.getGlobalOpenedDialogs();\n if (openedDialogs.length === 0) {\n this.$body.removeClass('modal-open');\n }\n this.resetAdjustments();\n this.resetScrollbar();\n this.$element.trigger('hidden.bs.modal');\n }, this));\n }\n };\n BootstrapDialogModal.METHODS_TO_OVERRIDE['v3.3.4'] = $.extend({}, BootstrapDialogModal.METHODS_TO_OVERRIDE['v3.3']);\n BootstrapDialogModal.prototype = {\n constructor: BootstrapDialogModal,\n /**\n * New function, to get the dialogs that opened by BootstrapDialog.\n * \n * @returns {undefined}\n */\n getGlobalOpenedDialogs: function () {\n var openedDialogs = [];\n $.each(BootstrapDialog.dialogs, function (id, dialogInstance) {\n if (dialogInstance.isRealized() && dialogInstance.isOpened()) {\n openedDialogs.push(dialogInstance);\n }\n });\n\n return openedDialogs;\n }\n };\n\n // Add compatible methods.\n BootstrapDialogModal.prototype = $.extend(BootstrapDialogModal.prototype, Modal.prototype, BootstrapDialogModal.METHODS_TO_OVERRIDE[BootstrapDialogModal.getModalVersion()]);\n\n /* ================================================\n * Definition of BootstrapDialog.\n * ================================================ */\n var BootstrapDialog = function (options) {\n this.defaultOptions = $.extend(true, {\n id: BootstrapDialog.newGuid(),\n buttons: [],\n data: {},\n onshow: null,\n onshown: null,\n onhide: null,\n onhidden: null\n }, BootstrapDialog.defaultOptions);\n this.indexedButtons = {};\n this.registeredButtonHotkeys = {};\n this.draggableData = {\n isMouseDown: false,\n mouseOffset: {}\n };\n this.realized = false;\n this.opened = false;\n this.initOptions(options);\n this.holdThisInstance();\n };\n\n BootstrapDialog.BootstrapDialogModal = BootstrapDialogModal;\n\n /**\n * Some constants.\n */\n BootstrapDialog.NAMESPACE = 'bootstrap-dialog';\n BootstrapDialog.TYPE_DEFAULT = 'type-default';\n BootstrapDialog.TYPE_INFO = 'type-info';\n BootstrapDialog.TYPE_PRIMARY = 'type-primary';\n BootstrapDialog.TYPE_SUCCESS = 'type-success';\n BootstrapDialog.TYPE_WARNING = 'type-warning';\n BootstrapDialog.TYPE_DANGER = 'type-danger';\n BootstrapDialog.DEFAULT_TEXTS = {};\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_DEFAULT] = 'Information';\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_INFO] = 'Information';\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_PRIMARY] = 'Information';\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_SUCCESS] = 'Success';\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_WARNING] = 'Warning';\n BootstrapDialog.DEFAULT_TEXTS[BootstrapDialog.TYPE_DANGER] = 'Danger';\n BootstrapDialog.DEFAULT_TEXTS['OK'] = 'OK';\n BootstrapDialog.DEFAULT_TEXTS['CANCEL'] = 'Cancel';\n BootstrapDialog.DEFAULT_TEXTS['CONFIRM'] = 'Confirmation';\n BootstrapDialog.SIZE_NORMAL = 'size-normal';\n BootstrapDialog.SIZE_SMALL = 'size-small';\n BootstrapDialog.SIZE_WIDE = 'size-wide'; // size-wide is equal to modal-lg\n BootstrapDialog.SIZE_LARGE = 'size-large';\n BootstrapDialog.BUTTON_SIZES = {};\n BootstrapDialog.BUTTON_SIZES[BootstrapDialog.SIZE_NORMAL] = '';\n BootstrapDialog.BUTTON_SIZES[BootstrapDialog.SIZE_SMALL] = '';\n BootstrapDialog.BUTTON_SIZES[BootstrapDialog.SIZE_WIDE] = '';\n BootstrapDialog.BUTTON_SIZES[BootstrapDialog.SIZE_LARGE] = 'btn-lg';\n BootstrapDialog.ICON_SPINNER = 'glyphicon glyphicon-asterisk';\n BootstrapDialog.BUTTONS_ORDER_CANCEL_OK = 'btns-order-cancel-ok';\n BootstrapDialog.BUTTONS_ORDER_OK_CANCEL = 'btns-order-ok-cancel';\n\n /**\n * Default options.\n */\n BootstrapDialog.defaultOptions = {\n type: BootstrapDialog.TYPE_PRIMARY,\n size: BootstrapDialog.SIZE_NORMAL,\n cssClass: '',\n title: null,\n message: null,\n nl2br: true,\n closable: true,\n closeByBackdrop: true,\n closeByKeyboard: true,\n closeIcon: '×',\n spinicon: BootstrapDialog.ICON_SPINNER,\n autodestroy: true,\n draggable: false,\n animate: true,\n description: '',\n tabindex: -1,\n btnsOrder: BootstrapDialog.BUTTONS_ORDER_CANCEL_OK\n };\n\n /**\n * Config default options.\n */\n BootstrapDialog.configDefaultOptions = function (options) {\n BootstrapDialog.defaultOptions = $.extend(true, BootstrapDialog.defaultOptions, options);\n };\n\n /**\n * Open / Close all created dialogs all at once.\n */\n BootstrapDialog.dialogs = {};\n BootstrapDialog.openAll = function () {\n $.each(BootstrapDialog.dialogs, function (id, dialogInstance) {\n dialogInstance.open();\n });\n };\n BootstrapDialog.closeAll = function () {\n $.each(BootstrapDialog.dialogs, function (id, dialogInstance) {\n dialogInstance.close();\n });\n };\n\n /**\n * Get dialog instance by given id.\n * \n * @returns dialog instance\n */\n BootstrapDialog.getDialog = function (id) {\n var dialog = null;\n if (typeof BootstrapDialog.dialogs[id] !== 'undefined') {\n dialog = BootstrapDialog.dialogs[id];\n }\n\n return dialog;\n };\n\n /**\n * Set a dialog.\n * \n * @returns the dialog that has just been set.\n */\n BootstrapDialog.setDialog = function (dialog) {\n BootstrapDialog.dialogs[dialog.getId()] = dialog;\n\n return dialog;\n };\n\n /**\n * Alias of BootstrapDialog.setDialog(dialog)\n * \n * @param {type} dialog\n * @returns {unresolved}\n */\n BootstrapDialog.addDialog = function (dialog) {\n return BootstrapDialog.setDialog(dialog);\n };\n\n /**\n * Move focus to next visible dialog.\n */\n BootstrapDialog.moveFocus = function () {\n var lastDialogInstance = null;\n $.each(BootstrapDialog.dialogs, function (id, dialogInstance) {\n if (dialogInstance.isRealized() && dialogInstance.isOpened()) {\n lastDialogInstance = dialogInstance;\n }\n });\n if (lastDialogInstance !== null) {\n lastDialogInstance.getModal().focus();\n }\n };\n\n BootstrapDialog.METHODS_TO_OVERRIDE = {};\n BootstrapDialog.METHODS_TO_OVERRIDE['v3.1'] = {\n handleModalBackdropEvent: function () {\n this.getModal().on('click', {dialog: this}, function (event) {\n event.target === this && event.data.dialog.isClosable() && event.data.dialog.canCloseByBackdrop() && event.data.dialog.close();\n });\n\n return this;\n },\n /**\n * To make multiple opened dialogs look better.\n * \n * Will be removed in later version, after Bootstrap Modal >= 3.3.0, updating z-index is unnecessary.\n */\n updateZIndex: function () {\n if (this.isOpened()) {\n var zIndexBackdrop = 1040;\n var zIndexModal = 1050;\n var dialogCount = 0;\n $.each(BootstrapDialog.dialogs, function (dialogId, dialogInstance) {\n if (dialogInstance.isRealized() && dialogInstance.isOpened()) {\n dialogCount++;\n }\n });\n var $modal = this.getModal();\n var $backdrop = $modal.data('bs.modal').$backdrop;\n $modal.css('z-index', zIndexModal + (dialogCount - 1) * 20);\n $backdrop.css('z-index', zIndexBackdrop + (dialogCount - 1) * 20);\n }\n\n return this;\n },\n open: function () {\n !this.isRealized() && this.realize();\n this.getModal().modal('show');\n this.updateZIndex();\n\n return this;\n }\n };\n BootstrapDialog.METHODS_TO_OVERRIDE['v3.2'] = {\n handleModalBackdropEvent: BootstrapDialog.METHODS_TO_OVERRIDE['v3.1']['handleModalBackdropEvent'],\n updateZIndex: BootstrapDialog.METHODS_TO_OVERRIDE['v3.1']['updateZIndex'],\n open: BootstrapDialog.METHODS_TO_OVERRIDE['v3.1']['open']\n };\n BootstrapDialog.METHODS_TO_OVERRIDE['v3.3'] = {};\n BootstrapDialog.METHODS_TO_OVERRIDE['v3.3.4'] = $.extend({}, BootstrapDialog.METHODS_TO_OVERRIDE['v3.1']);\n BootstrapDialog.prototype = {\n constructor: BootstrapDialog,\n initOptions: function (options) {\n this.options = $.extend(true, this.defaultOptions, options);\n\n return this;\n },\n holdThisInstance: function () {\n BootstrapDialog.addDialog(this);\n\n return this;\n },\n initModalStuff: function () {\n this.setModal(this.createModal())\n .setModalDialog(this.createModalDialog())\n .setModalContent(this.createModalContent())\n .setModalHeader(this.createModalHeader())\n .setModalBody(this.createModalBody())\n .setModalFooter(this.createModalFooter());\n\n this.getModal().append(this.getModalDialog());\n this.getModalDialog().append(this.getModalContent());\n this.getModalContent()\n .append(this.getModalHeader())\n .append(this.getModalBody())\n .append(this.getModalFooter());\n\n return this;\n },\n createModal: function () {\n var $modal = $('
');\n $modal.prop('id', this.getId());\n $modal.attr('aria-labelledby', this.getId() + '_title');\n\n return $modal;\n },\n getModal: function () {\n return this.$modal;\n },\n setModal: function ($modal) {\n this.$modal = $modal;\n\n return this;\n },\n createModalDialog: function () {\n return $('');\n },\n getModalDialog: function () {\n return this.$modalDialog;\n },\n setModalDialog: function ($modalDialog) {\n this.$modalDialog = $modalDialog;\n\n return this;\n },\n createModalContent: function () {\n return $('');\n },\n getModalContent: function () {\n return this.$modalContent;\n },\n setModalContent: function ($modalContent) {\n this.$modalContent = $modalContent;\n\n return this;\n },\n createModalHeader: function () {\n return $('');\n },\n getModalHeader: function () {\n return this.$modalHeader;\n },\n setModalHeader: function ($modalHeader) {\n this.$modalHeader = $modalHeader;\n\n return this;\n },\n createModalBody: function () {\n return $('');\n },\n getModalBody: function () {\n return this.$modalBody;\n },\n setModalBody: function ($modalBody) {\n this.$modalBody = $modalBody;\n\n return this;\n },\n createModalFooter: function () {\n return $('');\n },\n getModalFooter: function () {\n return this.$modalFooter;\n },\n setModalFooter: function ($modalFooter) {\n this.$modalFooter = $modalFooter;\n\n return this;\n },\n createDynamicContent: function (rawContent) {\n var content = null;\n if (typeof rawContent === 'function') {\n content = rawContent.call(rawContent, this);\n } else {\n content = rawContent;\n }\n if (typeof content === 'string') {\n content = this.formatStringContent(content);\n }\n\n return content;\n },\n formatStringContent: function (content) {\n if (this.options.nl2br) {\n return content.replace(/\\r\\n/g, '