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ACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,I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AU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAQ,IACR,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,KACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAQ,IACR,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU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BsB,EAAUj9B,EAAMqI,SAAWrI,EAAMoI,MAC7Bg0B,EAAUa,KACZ18B,EAASP,EAAMO,OACfo7B,EAAOz8B,EAAEqB,GAAQL,QAAQ,oBAAoBI,KAAK,uBAC9CuI,IAAchF,IACZ83B,EAAK93B,EAAQu4B,EAAUa,IACzBtB,EAAK93B,EAAQu4B,EAAUa,IAAUt1B,QAnFjC,KAoFuBs1B,GAnFzB,KAmFgDA,EAC9CtB,EAAKA,EAAKp6B,OAAS,GAAGoG,QAnFrB,KAoFuBs1B,GAnFxB,KAmFiDA,GACjDtB,EAAK,GAAGh0B,SAIhB,CAtBIu1B,CAAsBl9B,EAAO6D,EAEjC,CAoGF,EACI,IAAM3E,EAAE,0BAA0BqC,SAEpCc,IAAIs5B,OAGJt5B,IAAI83B,UACJj7B,EAAE,qCAAqC+C,MAAK,WAC1CI,IAAIq5B,aAAax8B,EAAEM,MACrB,IAEH,CAvVD,CAuVG0C,UCvVCi7B,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBx0B,IAAjBy0B,EACH,OAAOA,EAAa5lB,QAGrB,IAAIC,EAASwlB,EAAyBE,GAAY,CAGjD3lB,QAAS,CAAC,GAOX,OAHA6lB,EAAoBF,GAAU1lB,EAAQA,EAAOD,QAAS0lB,GAG/CzlB,EAAOD,OACf,CCtBA3D,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS,KACTA,EAAS","sources":["webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/accordion.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/dialog-slider.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/dropdowns.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/modal-dialog.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/notifications.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/password.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/reviews.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/scores.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/select2.full.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/select2.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/side-tabs.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/sidenav-input.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/sticky-box.js","webpack://forminator/./node_modules/@wpmudev/shared-ui/dist/js/_src/tabs.js","webpack://forminator/webpack/bootstrap","webpack://forminator/./assets/js/shared-ui.js"],"sourcesContent":["function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Create the defaults once\n var pluginName = 'SUIAccordion',\n defaults = {};\n\n // The actual plugin constructor\n function SUIAccordion(element, options) {\n this.element = element;\n this.$element = $(this.element);\n this.settings = $.extend({}, defaults, options);\n this._defaults = defaults;\n this._name = pluginName;\n this.init();\n }\n\n // Avoid Plugin.prototype conflicts\n $.extend(SUIAccordion.prototype, {\n init: function init() {\n var self = this;\n this.$element.on('click', 'div.sui-accordion-item-header, tr.sui-accordion-item', function (event) {\n var getItem = $(this).closest('.sui-accordion-item'),\n getContent = getItem.nextUntil('.sui-accordion-item').filter('.sui-accordion-item-content'),\n getParent = getItem.closest('.sui-accordion'),\n getChart = getItem.find('.sui-chartjs-animated');\n var clickedTarget = $(event.target);\n var flexHeader = $(this),\n flexItem = flexHeader.parent(),\n flexChart = flexItem.find('.sui-chartjs-animated'),\n flexParent = flexItem.parent(),\n flexContent = flexHeader.next('.sui-accordion-item-body').find(' .sui-box');\n var tableItem = $(this),\n tableContent = tableItem.nextUntil('.sui-accordion-item').filter('.sui-accordion-item-content'),\n tableBox = tableContent.find('.sui-box');\n var button = $(this).find('.sui-accordion-open-indicator > .sui-screen-reader-text'),\n buttonText = button === null || button === void 0 ? void 0 : button.text(),\n dataContent = button === null || button === void 0 ? void 0 : button.data('content');\n if (clickedTarget.closest('.sui-accordion-item-action').length) {\n return true;\n }\n\n // CHECK: Flexbox\n if (flexHeader.hasClass('sui-accordion-item-header')) {\n if (flexItem.hasClass('sui-accordion-item--disabled')) {\n flexItem.removeClass('sui-accordion-item--open');\n } else {\n if (flexItem.hasClass('sui-accordion-item--open')) {\n flexItem.removeClass('sui-accordion-item--open');\n } else {\n flexItem.addClass('sui-accordion-item--open');\n flexContent.attr('tabindex', '0').trigger('focus');\n }\n }\n\n // CHECK: Accordion Blocks\n if (flexParent.hasClass('sui-accordion-block') && 0 !== flexChart.length) {\n flexItem.find('.sui-accordion-item-data').addClass('sui-onload');\n flexChart.removeClass('sui-chartjs-loaded');\n if (flexItem.hasClass('sui-accordion-item--open')) {\n setTimeout(function () {\n flexItem.find('.sui-accordion-item-data').removeClass('sui-onload');\n flexChart.addClass('sui-chartjs-loaded');\n }, 1200);\n }\n }\n }\n\n // CHECK: Table\n if (tableItem.hasClass('sui-accordion-item')) {\n if (tableItem.hasClass('sui-accordion-item--disabled')) {\n tableContent.removeClass('sui-accordion-item--open');\n } else {\n if (tableItem.hasClass('sui-accordion-item--open')) {\n tableItem.removeClass('sui-accordion-item--open');\n tableContent.removeClass('sui-accordion-item--open');\n } else {\n tableItem.addClass('sui-accordion-item--open');\n tableContent.addClass('sui-accordion-item--open');\n tableBox.attr('tabindex', '0').trigger('focus');\n }\n }\n }\n\n // Change button accessiblity content based on accordin open and close.\n if (dataContent) {\n button.html(dataContent);\n button.data('content', buttonText);\n }\n event.stopPropagation();\n });\n }\n });\n\n // A really lightweight plugin wrapper around the constructor,\n // preventing against multiple instantiations\n $.fn[pluginName] = function (options) {\n return this.each(function () {\n // instance of SUIAccordion can be called with $(element).data('SUIAccordion')\n if (!$.data(this, pluginName)) {\n $.data(this, pluginName, new SUIAccordion(this, options));\n }\n });\n };\n})(jQuery, window, document);\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.suiAccordion = function (el) {\n var accordionTable = $(el);\n function init() {\n accordionTable.SUIAccordion({});\n }\n init();\n return this;\n };\n if (0 !== $('.sui-2-12-16 .sui-accordion').length) {\n $('.sui-2-12-16 .sui-accordion').each(function () {\n SUI.suiAccordion(this);\n });\n }\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.sliderBack = function (el) {\n var slider = $(el),\n dialog = slider.closest('.sui-dialog'),\n slides = slider.find('.sui-slider-content > li');\n var navigation = slider.find('.sui-slider-navigation'),\n navButtons = navigation.find('button'),\n btnBack = navigation.find('.sui-prev'),\n btnNext = navigation.find('.sui-next');\n if (!dialog.hasClass('sui-dialog-onboard')) {\n return;\n }\n function init() {\n var currSlide = slider.find('.sui-slider-content > li.sui-current'),\n prevSlide = currSlide.prev();\n if (!prevSlide.length) {\n if (slider.hasClass('sui-infinite')) {\n prevSlide = slider.find('.sui-slider-content > li:last');\n currSlide.removeClass('sui-current');\n currSlide.removeClass('sui-loaded');\n prevSlide.addClass('sui-current');\n prevSlide.addClass('fadeInLeft');\n navButtons.prop('disabled', true);\n setTimeout(function () {\n prevSlide.addClass('sui-loaded');\n prevSlide.removeClass('fadeInLeft');\n }, 600);\n setTimeout(function () {\n navButtons.prop('disabled', false);\n }, 650);\n }\n } else {\n currSlide.removeClass('sui-current');\n currSlide.removeClass('sui-loaded');\n prevSlide.addClass('sui-current');\n prevSlide.addClass('fadeInLeft');\n navButtons.prop('disabled', true);\n if (!slider.hasClass('sui-infinite')) {\n btnNext.removeClass('sui-hidden');\n if (slides.first().data('slide') === prevSlide.data('slide')) {\n btnBack.addClass('sui-hidden');\n }\n }\n setTimeout(function () {\n prevSlide.addClass('sui-loaded');\n prevSlide.removeClass('fadeInLeft');\n }, 600);\n setTimeout(function () {\n navButtons.prop('disabled', false);\n }, 650);\n }\n }\n init();\n return this;\n };\n SUI.sliderNext = function (el) {\n var slider = $(el),\n dialog = slider.closest('.sui-dialog'),\n slides = slider.find('.sui-slider-content > li');\n var navigation = slider.find('.sui-slider-navigation'),\n navButtons = navigation.find('button'),\n btnBack = navigation.find('.sui-prev'),\n btnNext = navigation.find('.sui-next');\n if (!dialog.hasClass('sui-dialog-onboard')) {\n return;\n }\n function init() {\n var currSlide = slider.find('.sui-slider-content > li.sui-current'),\n nextSlide = currSlide.next();\n if (!nextSlide.length) {\n if (slider.hasClass('sui-infinite')) {\n nextSlide = slider.find('.sui-slider-content > li:first');\n currSlide.removeClass('sui-current');\n currSlide.removeClass('sui-loaded');\n nextSlide.addClass('sui-current');\n nextSlide.addClass('fadeInRight');\n navButtons.prop('disabled', true);\n setTimeout(function () {\n nextSlide.addClass('sui-loaded');\n nextSlide.removeClass('fadeInRight');\n }, 600);\n setTimeout(function () {\n navButtons.prop('disabled', false);\n }, 650);\n }\n } else {\n currSlide.removeClass('sui-current');\n currSlide.removeClass('sui-loaded');\n nextSlide.addClass('sui-current');\n nextSlide.addClass('fadeInRight');\n navButtons.prop('disabled', true);\n if (!slider.hasClass('sui-infinite')) {\n btnBack.removeClass('sui-hidden');\n if (slides.length === nextSlide.data('slide')) {\n btnNext.addClass('sui-hidden');\n }\n }\n setTimeout(function () {\n nextSlide.addClass('sui-loaded');\n nextSlide.removeClass('fadeInRight');\n }, 600);\n setTimeout(function () {\n navButtons.prop('disabled', false);\n }, 650);\n }\n }\n init();\n return this;\n };\n SUI.sliderStep = function (el) {\n var slider = $(el),\n dialog = slider.closest('.sui-dialog');\n var slides = slider.find('.sui-slider-content'),\n slide = slides.find('> li');\n var steps = slider.find('.sui-slider-steps'),\n step = steps.find('li'),\n button = step.find('button');\n var navigation = slider.find('.sui-slider-navigation'),\n navButtons = navigation.find('button'),\n navBack = navigation.find('.sui-prev'),\n navNext = navigation.find('.sui-next');\n if (!dialog.hasClass('sui-dialog-onboard') && !steps.hasClass('sui-clickable')) {\n return;\n }\n function reset() {\n // Remove current class\n slide.removeClass('sui-current');\n\n // Remove loaded state\n slide.removeClass('sui-loaded');\n }\n function load(element) {\n var button = $(element),\n index = button.data('slide');\n var curSlide = button.closest('li[data-slide]'),\n newSlide = slides.find('> li[data-slide=\"' + index + '\"]');\n newSlide.addClass('sui-current');\n if (curSlide.data('slide') < newSlide.data('slide')) {\n newSlide.addClass('fadeInRight');\n } else {\n newSlide.addClass('fadeInLeft');\n }\n navButtons.prop('disabled', true);\n if (!slider.hasClass('sui-infinite')) {\n if (1 === newSlide.data('slide')) {\n navBack.addClass('sui-hidden');\n navNext.removeClass('sui-hidden');\n }\n if (slide.length === newSlide.data('slide')) {\n navBack.removeClass('sui-hidden');\n navNext.addClass('sui-hidden');\n }\n }\n setTimeout(function () {\n newSlide.addClass('sui-loaded');\n if (curSlide.data('slide') < newSlide.data('slide')) {\n newSlide.removeClass('fadeInRight');\n } else {\n newSlide.removeClass('fadeInLeft');\n }\n }, 600);\n setTimeout(function () {\n navButtons.prop('disabled', false);\n }, 650);\n }\n function init() {\n if (button.length) {\n button.on('click', function (e) {\n reset();\n load(this);\n e.preventDefault();\n e.stopPropagation();\n });\n }\n }\n init();\n return this;\n };\n SUI.dialogSlider = function (el) {\n var slider = $(el),\n dialog = slider.closest('.sui-dialog'),\n btnBack = slider.find('.sui-slider-navigation .sui-prev'),\n btnNext = slider.find('.sui-slider-navigation .sui-next'),\n tourBack = slider.find('*[data-a11y-dialog-tour-back]'),\n tourNext = slider.find('*[data-a11y-dialog-tour-next]'),\n steps = slider.find('.sui-slider-steps');\n if (!dialog.hasClass('sui-dialog-onboard') || slider.hasClass('sui-slider-off')) {\n return;\n }\n function init() {\n if (btnBack.length) {\n btnBack.on('click', function (e) {\n SUI.sliderBack(slider);\n e.preventDefault();\n });\n }\n if (tourBack.length) {\n tourBack.on('click', function (e) {\n SUI.sliderBack(slider);\n e.preventDefault();\n });\n }\n if (btnNext.length) {\n btnNext.on('click', function (e) {\n SUI.sliderNext(slider);\n e.preventDefault();\n });\n }\n if (tourNext.length) {\n tourNext.on('click', function (e) {\n SUI.sliderNext(slider);\n e.preventDefault();\n });\n }\n if (steps.length) {\n SUI.sliderStep(slider);\n }\n }\n init();\n return this;\n };\n $('.sui-2-12-16 .sui-slider').each(function () {\n SUI.dialogSlider(this);\n });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.linkDropdown = function () {\n function closeAllDropdowns($except) {\n var $dropdowns = $('.sui-2-12-16 .sui-dropdown');\n if ($except) {\n $dropdowns = $dropdowns.not($except);\n }\n $dropdowns.removeClass('open');\n }\n $('body').on('click', '.sui-dropdown-anchor', function (e) {\n var $button = $(this),\n $parent = $button.parent();\n closeAllDropdowns($parent);\n if ($parent.hasClass('sui-dropdown')) {\n $parent.toggleClass('open');\n }\n e.preventDefault();\n });\n $('body').on('mouseup', function (e) {\n var $anchor = $('.sui-2-12-16 .sui-dropdown-anchor');\n if (!$anchor.is(e.target) && 0 === $anchor.has(e.target).length) {\n closeAllDropdowns();\n }\n });\n };\n SUI.linkDropdown();\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function () {\n // Enable strict mode.\n 'use strict';\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n /**\n * @namespace aria\n */\n var aria = aria || {};\n\n // REF: Key codes.\n aria.KeyCode = {\n BACKSPACE: 8,\n TAB: 9,\n RETURN: 13,\n ESC: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n DELETE: 46\n };\n aria.Utils = aria.Utils || {};\n\n // UTILS: Remove function.\n aria.Utils.remove = function (item) {\n if (item.remove && 'function' === typeof item.remove) {\n return item.remove();\n }\n if (item.parentNode && item.parentNode.removeChild && 'function' === typeof item.parentNode.removeChild) {\n return item.parentNode.removeChild(item);\n }\n return false;\n };\n\n // UTILS: Verify if element can be focused.\n aria.Utils.isFocusable = function (element) {\n if (0 < element.tabIndex || 0 === element.tabIndex && null !== element.getAttribute('tabIndex')) {\n return true;\n }\n if (element.disabled) {\n return false;\n }\n switch (element.nodeName) {\n case 'A':\n return !!element.href && 'ignore' != element.rel;\n case 'INPUT':\n return 'hidden' != element.type && 'file' != element.type;\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n };\n\n /**\n * Simulate a click event.\n * @public\n * @param {Element} element the element to simulate a click on\n */\n aria.Utils.simulateClick = function (element) {\n // Create our event (with options)\n var evt = new MouseEvent('click', {\n bubbles: true,\n cancelable: true,\n view: window\n });\n\n // If cancelled, don't dispatch our event\n var canceled = !element.dispatchEvent(evt);\n };\n\n // When util functions move focus around, set this true so\n // the focus listener can ignore the events.\n aria.Utils.IgnoreUtilFocusChanges = false;\n aria.Utils.dialogOpenClass = 'sui-has-modal';\n\n /**\n * @desc Set focus on descendant nodes until the first\n * focusable element is found.\n *\n * @param element\n * DOM node for which to find the first focusable descendant.\n *\n * @returns\n * true if a focusable element is found and focus is set.\n */\n aria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n return false;\n }; // end focusFirstDescendant\n\n /**\n * @desc Find the last descendant node that is focusable.\n *\n * @param element\n * DOM node for which to find the last focusable descendant.\n *\n * @returns\n * true if a focusable element is found and focus is set.\n */\n aria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; 0 <= i; i--) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n return false;\n }; // end focusLastDescendant\n\n /**\n * @desc Set Attempt to set focus on the current node.\n *\n * @param element\n * The node to attempt to focus on.\n *\n * @returns\n * true if element is focused.\n */\n aria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n aria.Utils.IgnoreUtilFocusChanges = true;\n try {\n element.focus();\n } catch (e) {\n\n // Done.\n }\n aria.Utils.IgnoreUtilFocusChanges = false;\n return document.activeElement === element;\n }; // end attemptFocus\n\n // Modals can open modals. Keep track of them with this array.\n aria.OpenDialogList = aria.OpenDialogList || new Array(0);\n\n /**\n * @returns the last opened dialog (the current dialog)\n */\n aria.getCurrentDialog = function () {\n if (aria.OpenDialogList && aria.OpenDialogList.length) {\n return aria.OpenDialogList[aria.OpenDialogList.length - 1];\n }\n };\n aria.closeCurrentDialog = function () {\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog) {\n currentDialog.close();\n return true;\n }\n return false;\n };\n aria.handleEscape = function (event) {\n var key = event.which || event.keyCode;\n if (key === aria.KeyCode.ESC && aria.closeCurrentDialog()) {\n event.stopPropagation();\n }\n };\n\n /**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogId\n * The ID of the element serving as the dialog container.\n *\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n *\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n *\n * @param hasOverlayMask\n * Optional boolean parameter that when is set to \"true\" will enable\n * a clickable overlay mask. This mask will fire close modal function\n * when you click on it.\n *\n * @param isCloseOnEsc\n * Default: true\n * Optional boolean parameter that when it's set to \"true\", it will enable closing the\n * dialog with the Esc key.\n *\n * @param isAnimated\n * Default: true\n * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n */\n aria.Dialog = function (dialogId, focusAfterClosed, focusFirst, hasOverlayMask) {\n var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n var isAnimated = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n this.dialogNode = document.getElementById(dialogId);\n if (null === this.dialogNode) {\n throw new Error('No element found with id=\"' + dialogId + '\".');\n }\n var validRoles = ['dialog', 'alertdialog'];\n var isDialog = (this.dialogNode.getAttribute('role') || '').trim().split(/\\s+/g).some(function (token) {\n return validRoles.some(function (role) {\n return token === role;\n });\n });\n if (!isDialog) {\n throw new Error('Dialog() requires a DOM element with ARIA role of dialog or alertdialog.');\n }\n this.isCloseOnEsc = isCloseOnEsc;\n\n // Trigger the 'open' event at the beginning of the opening process.\n // After validating the modal's attributes.\n var openEvent = new Event('open');\n this.dialogNode.dispatchEvent(openEvent);\n\n // Wrap in an individual backdrop element if one doesn't exist\n // Native <dialog> elements use the ::backdrop pseudo-element, which\n // works similarly.\n var backdropClass = 'sui-modal';\n if (this.dialogNode.parentNode.classList.contains(backdropClass)) {\n this.backdropNode = this.dialogNode.parentNode;\n } else {\n this.backdropNode = document.createElement('div');\n this.backdropNode.className = backdropClass;\n this.backdropNode.setAttribute('data-markup', 'new');\n this.dialogNode.parentNode.insertBefore(this.backdropNode, this.dialogNodev);\n this.backdropNode.appendChild(this.dialogNode);\n }\n this.backdropNode.classList.add('sui-active');\n\n // Disable scroll on the body element\n document.body.parentNode.classList.add(aria.Utils.dialogOpenClass);\n if ('string' === typeof focusAfterClosed) {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n } else if ('object' === _typeof(focusAfterClosed)) {\n this.focusAfterClosed = focusAfterClosed;\n } else {\n throw new Error('the focusAfterClosed parameter is required for the aria.Dialog constructor.');\n }\n if ('string' === typeof focusFirst) {\n this.focusFirst = document.getElementById(focusFirst);\n } else if ('object' === _typeof(focusFirst)) {\n this.focusFirst = focusFirst;\n } else {\n this.focusFirst = null;\n }\n\n // Bracket the dialog node with two invisible, focusable nodes.\n // While this dialog is open, we use these to make sure that focus never\n // leaves the document even if dialogNode is the first or last node.\n var preDiv = document.createElement('div');\n this.preNode = this.dialogNode.parentNode.insertBefore(preDiv, this.dialogNode);\n this.preNode.tabIndex = 0;\n if ('boolean' === typeof hasOverlayMask && true === hasOverlayMask) {\n this.preNode.classList.add('sui-modal-overlay');\n this.preNode.onclick = function () {\n aria.getCurrentDialog().close();\n };\n }\n var postDiv = document.createElement('div');\n this.postNode = this.dialogNode.parentNode.insertBefore(postDiv, this.dialogNode.nextSibling);\n this.postNode.tabIndex = 0;\n\n // If this modal is opening on top of one that is already open,\n // get rid of the document focus listener of the open dialog.\n if (0 < aria.OpenDialogList.length) {\n aria.getCurrentDialog().removeListeners();\n }\n this.addListeners();\n aria.OpenDialogList.push(this);\n\n // If isAnimated is set true then modal box will animate.\n if (isAnimated) {\n this.dialogNode.classList.add('sui-content-fade-in'); // make visible\n this.dialogNode.classList.remove('sui-content-fade-out');\n } else {\n this.dialogNode.classList.remove('sui-content-fade-in');\n this.dialogNode.classList.remove('sui-content-fade-out');\n }\n if (this.focusFirst) {\n this.focusFirst.focus();\n } else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n this.lastFocus = document.activeElement;\n\n // Trigger the 'afteropen' event at the end of the opening process.\n var afterOpenEvent = new Event('afterOpen');\n this.dialogNode.dispatchEvent(afterOpenEvent);\n }; // end Dialog constructor.\n\n /**\n * @desc Hides the current top dialog, removes listeners of the top dialog,\n * restore listeners of a parent dialog if one was open under the one that\n * just closed, and sets focus on the element specified for focusAfterClosed.\n *\n * @param isAnimated\n * Default: true\n * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n */\n aria.Dialog.prototype.close = function () {\n var isAnimated = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n var self = this;\n\n // Trigger the 'close' event at the beginning of the closing process.\n var closeEvent = new Event('close');\n this.dialogNode.dispatchEvent(closeEvent);\n aria.OpenDialogList.pop();\n this.removeListeners();\n this.preNode.parentNode.removeChild(this.preNode);\n this.postNode.parentNode.removeChild(this.postNode);\n\n // If isAnimated is set true then modal box will animate.\n if (isAnimated) {\n this.dialogNode.classList.add('sui-content-fade-out');\n this.dialogNode.classList.remove('sui-content-fade-in');\n } else {\n this.dialogNode.classList.remove('sui-content-fade-in');\n this.dialogNode.classList.remove('sui-content-fade-out');\n }\n this.focusAfterClosed.focus();\n setTimeout(function () {\n self.backdropNode.classList.remove('sui-active');\n }, 300);\n setTimeout(function () {\n var slides = self.dialogNode.querySelectorAll('.sui-modal-slide');\n if (0 < slides.length) {\n // Hide all slides.\n for (var i = 0; i < slides.length; i++) {\n slides[i].setAttribute('disabled', true);\n slides[i].classList.remove('sui-loaded');\n slides[i].classList.remove('sui-active');\n slides[i].setAttribute('tabindex', '-1');\n slides[i].setAttribute('aria-hidden', true);\n }\n\n // Change modal size.\n if (slides[0].hasAttribute('data-modal-size')) {\n var newDialogSize = slides[0].getAttribute('data-modal-size');\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n default:\n newDialogSize = undefined;\n }\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n self.dialogNode.parentNode.classList.remove('sui-modal-sm');\n self.dialogNode.parentNode.classList.remove('sui-modal-md');\n self.dialogNode.parentNode.classList.remove('sui-modal-lg');\n self.dialogNode.parentNode.classList.remove('sui-modal-xl');\n\n // Apply the new size to dialog.\n self.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n }\n\n // Show first slide.\n slides[0].classList.add('sui-active');\n slides[0].classList.add('sui-loaded');\n slides[0].removeAttribute('disabled');\n slides[0].removeAttribute('tabindex');\n slides[0].removeAttribute('aria-hidden');\n\n // Change modal label.\n if (slides[0].hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = slides[0].getAttribute('data-modal-labelledby');\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n self.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n }\n\n // Change modal description.\n if (slides[0].hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = slides[0].getAttribute('data-modal-describedby');\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n self.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n }\n }\n }, 350);\n\n // If a dialog was open underneath this one, restore its listeners.\n if (0 < aria.OpenDialogList.length) {\n aria.getCurrentDialog().addListeners();\n } else {\n document.body.parentNode.classList.remove(aria.Utils.dialogOpenClass);\n }\n\n // Trigger the 'afterclose' event at the end of the closing process.\n var afterCloseEvent = new Event('afterClose');\n this.dialogNode.dispatchEvent(afterCloseEvent);\n }; // end close.\n\n /**\n * @desc Hides the current dialog and replaces it with another.\n *\n * @param newDialogId\n * ID of the dialog that will replace the currently open top dialog.\n *\n * @param newFocusAfterClosed\n * Optional ID or DOM node specifying where to place focus when the new dialog closes.\n * If not specified, focus will be placed on the element specified by the dialog being replaced.\n *\n * @param newFocusFirst\n * Optional ID or DOM node specifying where to place focus in the new dialog when it opens.\n * If not specified, the first focusable element will receive focus.\n *\n * @param hasOverlayMask\n * Optional boolean parameter that when is set to \"true\" will enable a clickable overlay\n * mask to the new opened dialog. This mask will fire close dialog function when you click it.\n *\n * @param isCloseOnEsc\n * Default: true\n * Optional boolean parameter that when it's set to \"true\", it will enable closing the\n * dialog with the Esc key.\n *\n * @param isAnimated\n * Default: true\n * Optional boolean parameter that when it's set to \"true\", it will enable animation in dialog box.\n */\n aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n var isAnimated = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : true;\n var self = this;\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n\n // If isAnimated is set true then modal box will animate.\n if (isAnimated) {\n this.dialogNode.classList.add('sui-content-fade-in'); // make visible\n this.dialogNode.classList.remove('sui-content-fade-out');\n } else {\n this.dialogNode.classList.remove('sui-content-fade-in');\n this.dialogNode.classList.remove('sui-content-fade-out');\n }\n this.backdropNode.classList.remove('sui-active');\n setTimeout(function () {\n var slides = self.dialogNode.querySelectorAll('.sui-modal-slide');\n if (0 < slides.length) {\n // Hide all slides.\n for (var i = 0; i < slides.length; i++) {\n slides[i].setAttribute('disabled', true);\n slides[i].classList.remove('sui-loaded');\n slides[i].classList.remove('sui-active');\n slides[i].setAttribute('tabindex', '-1');\n slides[i].setAttribute('aria-hidden', true);\n }\n\n // Change modal size.\n if (slides[0].hasAttribute('data-modal-size')) {\n var newDialogSize = slides[0].getAttribute('data-modal-size');\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n default:\n newDialogSize = undefined;\n }\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n self.dialogNode.parentNode.classList.remove('sui-modal-sm');\n self.dialogNode.parentNode.classList.remove('sui-modal-md');\n self.dialogNode.parentNode.classList.remove('sui-modal-lg');\n self.dialogNode.parentNode.classList.remove('sui-modal-xl');\n\n // Apply the new size to dialog.\n self.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n }\n\n // Show first slide.\n slides[0].classList.add('sui-active');\n slides[0].classList.add('sui-loaded');\n slides[0].removeAttribute('disabled');\n slides[0].removeAttribute('tabindex');\n slides[0].removeAttribute('aria-hidden');\n\n // Change modal label.\n if (slides[0].hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = slides[0].getAttribute('data-modal-labelledby');\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n self.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n }\n\n // Change modal description.\n if (slides[0].hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = slides[0].getAttribute('data-modal-describedby');\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n self.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n }\n }\n }, 350);\n var focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;\n var dialog = new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst, hasOverlayMask, isCloseOnEsc, isAnimated);\n }; // end replace\n\n /**\n * @desc Uses the same dialog to display different content that will slide to show.\n *\n * @param newSlideId\n * ID of the slide that will replace the currently active slide content.\n *\n * @param newSlideFocus\n * Optional ID or DOM node specifying where to place focus in the new slide when it shows.\n * If not specified, the first focusable element will receive focus.\n *\n * @param newSlideEntrance\n * Determine if the new slide will show up from \"left\" or \"right\" of the screen.\n * If not specified, the slide entrance animation will be \"fade in\".\n */\n aria.Dialog.prototype.slide = function (newSlideId, newSlideFocus, newSlideEntrance) {\n var animation = 'sui-fadein',\n currentDialog = aria.getCurrentDialog(),\n getAllSlides = this.dialogNode.querySelectorAll('.sui-modal-slide'),\n getNewSlide = document.getElementById(newSlideId);\n switch (newSlideEntrance) {\n case 'back':\n case 'left':\n animation = 'sui-fadein-left';\n break;\n case 'next':\n case 'right':\n animation = 'sui-fadein-right';\n break;\n default:\n animation = 'sui-fadein';\n break;\n }\n\n // Hide all slides.\n for (var i = 0; i < getAllSlides.length; i++) {\n getAllSlides[i].setAttribute('disabled', true);\n getAllSlides[i].classList.remove('sui-loaded');\n getAllSlides[i].classList.remove('sui-active');\n getAllSlides[i].setAttribute('tabindex', '-1');\n getAllSlides[i].setAttribute('aria-hidden', true);\n }\n\n // Change modal size.\n if (getNewSlide.hasAttribute('data-modal-size')) {\n var newDialogSize = getNewSlide.getAttribute('data-modal-size');\n switch (newDialogSize) {\n case 'sm':\n case 'small':\n newDialogSize = 'sm';\n break;\n case 'md':\n case 'med':\n case 'medium':\n newDialogSize = 'md';\n break;\n case 'lg':\n case 'large':\n newDialogSize = 'lg';\n break;\n case 'xl':\n case 'extralarge':\n case 'extraLarge':\n case 'extra-large':\n newDialogSize = 'xl';\n break;\n default:\n newDialogSize = undefined;\n }\n if (undefined !== newDialogSize) {\n // Remove others sizes from dialog to prevent any conflicts with styles.\n this.dialogNode.parentNode.classList.remove('sui-modal-sm');\n this.dialogNode.parentNode.classList.remove('sui-modal-md');\n this.dialogNode.parentNode.classList.remove('sui-modal-lg');\n this.dialogNode.parentNode.classList.remove('sui-modal-xl');\n\n // Apply the new size to dialog.\n this.dialogNode.parentNode.classList.add('sui-modal-' + newDialogSize);\n }\n }\n\n // Change modal label.\n if (getNewSlide.hasAttribute('data-modal-labelledby')) {\n var newDialogLabel, getDialogLabel;\n newDialogLabel = '';\n getDialogLabel = getNewSlide.getAttribute('data-modal-labelledby');\n if ('' !== getDialogLabel || undefined !== getDialogLabel) {\n newDialogLabel = getDialogLabel;\n }\n this.dialogNode.setAttribute('aria-labelledby', newDialogLabel);\n }\n\n // Change modal description.\n if (getNewSlide.hasAttribute('data-modal-describedby')) {\n var newDialogDesc, getDialogDesc;\n newDialogDesc = '';\n getDialogDesc = getNewSlide.getAttribute('data-modal-describedby');\n if ('' !== getDialogDesc || undefined !== getDialogDesc) {\n newDialogDesc = getDialogDesc;\n }\n this.dialogNode.setAttribute('aria-describedby', newDialogDesc);\n }\n\n // Show new slide.\n getNewSlide.classList.add('sui-active');\n getNewSlide.classList.add(animation);\n getNewSlide.removeAttribute('tabindex');\n getNewSlide.removeAttribute('aria-hidden');\n setTimeout(function () {\n getNewSlide.classList.add('sui-loaded');\n getNewSlide.classList.remove(animation);\n getNewSlide.removeAttribute('disabled');\n }, 600);\n if ('string' === typeof newSlideFocus) {\n this.newSlideFocus = document.getElementById(newSlideFocus);\n } else if ('object' === _typeof(newSlideFocus)) {\n this.newSlideFocus = newSlideFocus;\n } else {\n this.newSlideFocus = null;\n }\n if (this.newSlideFocus) {\n this.newSlideFocus.focus();\n } else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n }; // end slide.\n\n aria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', this.trapFocus, true);\n if (this.isCloseOnEsc) {\n this.dialogNode.addEventListener('keyup', aria.handleEscape);\n }\n }; // end addListeners.\n\n aria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', this.trapFocus, true);\n }; // end removeListeners.\n\n aria.Dialog.prototype.trapFocus = function (event) {\n if (aria.Utils.IgnoreUtilFocusChanges) {\n return;\n }\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog.dialogNode.contains(event.target)) {\n currentDialog.lastFocus = event.target;\n } else {\n aria.Utils.focusFirstDescendant(currentDialog.dialogNode);\n if (currentDialog.lastFocus == document.activeElement) {\n aria.Utils.focusLastDescendant(currentDialog.dialogNode);\n }\n currentDialog.lastFocus = document.activeElement;\n }\n }; // end trapFocus.\n\n SUI.openModal = function (dialogId, focusAfterClosed, focusFirst, dialogOverlay) {\n var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n var isAnimated = arguments.length > 5 ? arguments[5] : undefined;\n var dialog = new aria.Dialog(dialogId, focusAfterClosed, focusFirst, dialogOverlay, isCloseOnEsc, isAnimated);\n }; // end openModal.\n\n SUI.closeModal = function (isAnimated) {\n var topDialog = aria.getCurrentDialog();\n topDialog.close(isAnimated);\n }; // end closeDialog.\n\n SUI.replaceModal = function (newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask) {\n var isCloseOnEsc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;\n var isAnimated = arguments.length > 5 ? arguments[5] : undefined;\n var topDialog = aria.getCurrentDialog();\n\n /**\n * BUG #1:\n * When validating document.activeElement it always returns \"false\" but\n * even when \"false\" on Chrome function is fired correctly while on Firefox\n * and Safari this validation prevents function to be fired on click.\n *\n * if ( topDialog.dialogNode.contains( document.activeElement ) ) { ... }\n */\n topDialog.replace(newDialogId, newFocusAfterClosed, newFocusFirst, hasOverlayMask, isCloseOnEsc, isAnimated);\n }; // end replaceModal.\n\n SUI.slideModal = function (newSlideId, newSlideFocus, newSlideEntrance) {\n var topDialog = aria.getCurrentDialog();\n topDialog.slide(newSlideId, newSlideFocus, newSlideEntrance);\n }; // end slideModal.\n})();\n\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.modalDialog = function () {\n function init() {\n var button, buttonOpen, buttonClose, buttonReplace, buttonSlide, overlayMask, modalId, slideId, closeFocus, newFocus, animation, isAnimated;\n buttonOpen = $('[data-modal-open]');\n buttonClose = $('[data-modal-close]');\n buttonReplace = $('[data-modal-replace]');\n buttonSlide = $('[data-modal-slide]');\n overlayMask = $('.sui-modal-overlay');\n buttonOpen.on('click', function (e) {\n button = $(this);\n modalId = button.attr('data-modal-open');\n closeFocus = button.attr('data-modal-close-focus');\n newFocus = button.attr('data-modal-open-focus');\n overlayMask = button.attr('data-modal-mask');\n isAnimated = button.attr('data-modal-animated');\n var isCloseOnEsc = 'false' === button.attr('data-esc-close') ? false : true;\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(closeFocus) || false === closeFocus || '' === closeFocus) {\n closeFocus = this;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(overlayMask) && false !== overlayMask && 'true' === overlayMask) {\n overlayMask = true;\n } else {\n overlayMask = false;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(isAnimated) && false !== isAnimated && 'false' === isAnimated) {\n isAnimated = false;\n } else {\n isAnimated = true;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(modalId) && false !== modalId && '' !== modalId) {\n SUI.openModal(modalId, closeFocus, newFocus, overlayMask, isCloseOnEsc, isAnimated);\n }\n e.preventDefault();\n });\n buttonReplace.on('click', function (e) {\n button = $(this);\n modalId = button.attr('data-modal-replace');\n closeFocus = button.attr('data-modal-close-focus');\n newFocus = button.attr('data-modal-open-focus');\n overlayMask = button.attr('data-modal-replace-mask');\n var isCloseOnEsc = 'false' === button.attr('data-esc-close') ? false : true;\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(closeFocus) || false === closeFocus || '' === closeFocus) {\n closeFocus = undefined;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(overlayMask) && false !== overlayMask && 'true' === overlayMask) {\n overlayMask = true;\n } else {\n overlayMask = false;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(modalId) && false !== modalId && '' !== modalId) {\n SUI.replaceModal(modalId, closeFocus, newFocus, overlayMask, isCloseOnEsc, isAnimated);\n }\n e.preventDefault();\n });\n buttonSlide.on('click', function (e) {\n button = $(this);\n slideId = button.attr('data-modal-slide');\n newFocus = button.attr('data-modal-slide-focus');\n animation = button.attr('data-modal-slide-intro');\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(newFocus) || false === newFocus || '' === newFocus) {\n newFocus = undefined;\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) === _typeof(animation) || false === animation || '' === animation) {\n animation = '';\n }\n if ((typeof undefined === \"undefined\" ? \"undefined\" : _typeof(undefined)) !== _typeof(slideId) && false !== slideId && '' !== slideId) {\n SUI.slideModal(slideId, newFocus, animation);\n }\n e.preventDefault();\n });\n buttonClose.on('click', function (e) {\n SUI.closeModal(isAnimated);\n e.preventDefault();\n });\n }\n init();\n return this;\n };\n SUI.modalDialog();\n})(jQuery);","function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it does not exist.\n var _this = this;\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n\n /**\n * @desc Notifications function to show when alert.\n *\n * Assumptions: The element serving as the alert container is present in the\n * DOM and hidden. The alert container has role='alert'.\n *\n * @param noticeId\n * The ID of the element serving as the alert container.\n *\n * @param noticeMessage\n * The content to be printed when the alert shows up. It accepts HTML.\n *\n * @param noticeOptions\n * An object with different paramethers to modify the alert appearance.\n */\n SUI.openNotice = function (noticeId, noticeMessage, noticeOptions) {\n // Get notification node by ID.\n var noticeNode = $('#' + noticeId);\n var nodeWrapper = noticeNode.parent();\n\n // Check if element ID exists.\n if (null === _typeof(noticeNode) || 'undefined' === typeof noticeNode) {\n throw new Error('No element found with id=\"' + noticeId + '\".');\n }\n\n // Check if element has correct attribute.\n if ('alert' !== noticeNode.attr('role')) {\n throw new Error('Notice requires a DOM element with ARIA role of alert.');\n }\n\n // Check if notice message is empty.\n if (null === _typeof(noticeMessage) || 'undefined' === typeof noticeMessage || '' === noticeMessage) {\n throw new Error('Notice requires a message to print.');\n }\n var utils = utils || {};\n\n /**\n * @desc Allowed types for notification.\n */\n utils.allowedNotices = ['info', 'blue', 'green', 'success', 'yellow', 'warning', 'red', 'error', 'purple', 'upsell'];\n\n /**\n * @desc Verify if property is an array.\n */\n utils.isObject = function (obj) {\n if ((null !== obj || 'undefined' !== obj) && $.isPlainObject(obj)) {\n return true;\n }\n return false;\n };\n\n /**\n * @desc Deep merge two objects.\n * Watch out for infinite recursion on circular references.\n */\n utils.deepMerge = function (target) {\n for (var _len = arguments.length, sources = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n sources[_key - 1] = arguments[_key];\n }\n if (!sources.length) {\n return target;\n }\n var source = sources.shift();\n if (utils.isObject(target) && utils.isObject(source)) {\n for (var key in source) {\n if (utils.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, _defineProperty({}, key, {}));\n }\n utils.deepMerge(target[key], source[key]);\n } else {\n Object.assign(target, _defineProperty({}, key, source[key]));\n }\n }\n }\n return utils.deepMerge.apply(utils, [target].concat(sources));\n };\n\n /**\n * @desc Declare default styling options for notifications.\n */\n utils.setProperties = function () {\n var incomingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n utils.options = [];\n var defaults = {\n type: 'default',\n icon: 'info',\n dismiss: {\n show: false,\n label: 'Close this notice',\n tooltip: ''\n },\n autoclose: {\n show: true,\n timeout: 3000\n }\n };\n utils.options[0] = utils.deepMerge(defaults, incomingOptions);\n };\n utils.setProperties(noticeOptions);\n\n /**\n * @desc Build notice dismiss.\n */\n utils.buildDismiss = function () {\n var html = '';\n var dismiss = utils.options[0].dismiss;\n if (true === dismiss.show) {\n html = document.createElement('div');\n html.className = 'sui-notice-actions';\n var innerHTML = '';\n if ('' !== dismiss.tooltip) {\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n innerHTML += '<div class=\"sui-tooltip sui-tooltip-bottom\" data-tooltip=\"' + dismiss.tooltip + '\">';\n } else {\n innerHTML += '<div class=\"sui-tooltip\" data-tooltip=\"' + dismiss.tooltip + '\">';\n }\n }\n innerHTML += '<button class=\"sui-button-icon\">';\n innerHTML += '<span class=\"sui-icon-check\" aria-hidden=\"true\"></span>';\n if ('' !== dismiss.label) {\n innerHTML += '<span class=\"sui-screen-reader-text\">' + dismiss.label + '</span>';\n }\n innerHTML += '</button>';\n if ('' !== dismiss.tooltip) {\n innerHTML += '</div>';\n }\n html.innerHTML = innerHTML;\n }\n return html;\n };\n\n /**\n * @desc Build notice icon.\n */\n utils.buildIcon = function () {\n var html = '';\n var icon = utils.options[0].icon;\n if ('' !== icon || 'undefined' !== typeof icon || null !== _typeof(icon)) {\n html = document.createElement('span');\n html.className += 'sui-notice-icon sui-icon-' + icon + ' sui-md';\n html.setAttribute('aria-hidden', true);\n if ('loader' === icon) {\n html.classList.add('sui-loading');\n }\n }\n return html;\n };\n\n /**\n * @desc Build notice message.\n */\n utils.buildMessage = function () {\n var html = document.createElement('div');\n html.className = 'sui-notice-message';\n html.innerHTML = noticeMessage;\n html.prepend(utils.buildIcon());\n return html;\n };\n\n /**\n * @desc Build notice markup.\n */\n utils.buildNotice = function () {\n var html = document.createElement('div');\n html.className = 'sui-notice-content';\n html.append(utils.buildMessage(), utils.buildDismiss());\n return html;\n };\n\n /**\n * @desc Show notification message.\n */\n utils.showNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n var type = utils.options[0].type;\n var dismiss = utils.options[0].dismiss;\n var autoclose = utils.options[0].autoclose;\n\n // Add active class.\n noticeNode.addClass('sui-active');\n\n // Check for allowed notification types.\n $.each(utils.allowedNotices, function (key, value) {\n if (value === type) {\n noticeNode.addClass('sui-notice-' + value);\n }\n });\n\n // Remove tabindex.\n noticeNode.removeAttr('tabindex');\n\n // Print notification message.\n noticeNode.html(utils.buildNotice());\n\n // Show animation.\n if ('slide' === animation) {\n noticeNode.slideDown(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').trigger('focus');\n\n // Dismiss button.\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n } else if ('fade' === animation) {\n noticeNode.fadeIn(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').trigger('focus');\n\n // Dismiss button.\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n } else {\n noticeNode.show(timeout, function () {\n // Check if dismiss button enabled.\n if (true === dismiss.show) {\n // Focus dismiss button.\n noticeNode.find('.sui-notice-actions button').trigger('focus');\n\n // Dismiss button.\n noticeNode.find('.sui-notice-actions button').on('click', function () {\n SUI.closeNotice(noticeId);\n });\n } else {\n // Check if notice auto-closes.\n if (true === autoclose.show) {\n setTimeout(function () {\n return SUI.closeNotice(noticeId);\n }, parseInt(autoclose.timeout));\n }\n }\n });\n }\n };\n\n /**\n * @desc Open notification message.\n */\n utils.openNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n if (noticeNode.hasClass('sui-active')) {\n if ('slide' === animation) {\n noticeNode.slideUp(timeout, function () {\n utils.showNotice('slide', timeout);\n });\n } else if ('fade' === animation) {\n noticeNode.fadeOut(timeout, function () {\n utils.showNotice('fade', timeout);\n });\n } else {\n noticeNode.hide(timeout, function () {\n utils.showNotice(null, timeout);\n });\n }\n } else {\n // Show notice.\n utils.showNotice(animation, timeout);\n }\n };\n\n /**\n * @desc Initialize function.\n */\n var init = function init() {\n /**\n * When notice should float, it needs to be wrapped inside:\n * <div class=\"sui-floating-notices\"></div>\n *\n * IMPORTANT: This wrapper goes before \"sui-wrap\" closing tag\n * and after modals markup.\n */\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n utils.openNotice('slide');\n } else {\n utils.openNotice('fade');\n }\n };\n init();\n return _this;\n };\n\n /**\n * @desc Close and clear the alert.\n *\n * Assumptions: The element that will trigger this function is part of alert content.\n *\n * @param noticeId\n * The ID of the element serving as the alert container.\n *\n */\n SUI.closeNotice = function (noticeId) {\n // Get notification node by ID.\n var noticeNode = $('#' + noticeId);\n var nodeWrapper = noticeNode.parent();\n\n // Check if element ID exists.\n if (null === _typeof(noticeNode) || 'undefined' === typeof noticeNode) {\n throw new Error('No element found with id=\"' + noticeId + '\".');\n }\n var utils = utils || {};\n\n /**\n * @desc Allowed types for notification.\n */\n utils.allowedNotices = ['info', 'blue', 'green', 'success', 'yellow', 'warning', 'red', 'error', 'purple', 'upsell'];\n\n /**\n * @desc Destroy notification.\n */\n utils.hideNotice = function () {\n // Remove active class.\n noticeNode.removeClass('sui-active');\n\n // Remove styling classes.\n $.each(utils.allowedNotices, function (key, value) {\n noticeNode.removeClass('sui-notice-' + value);\n });\n\n // Prevent TAB key from accessing the element.\n noticeNode.attr('tabindex', '-1');\n\n // Remove all content from notification.\n noticeNode.empty();\n };\n\n /**\n * @desc Close notification message.\n */\n utils.closeNotice = function (animation) {\n var timeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n // Close animation.\n if ('slide' === animation) {\n noticeNode.slideUp(timeout, function () {\n return utils.hideNotice();\n });\n } else if ('fade' === animation) {\n noticeNode.fadeOut(timeout, function () {\n return utils.hideNotice();\n });\n } else {\n noticeNode.hide(timeout, function () {\n return utils.hideNotice();\n });\n }\n };\n\n /**\n * @desc Initialize function.\n */\n var init = function init() {\n /**\n * When notice should float, it needs to be wrapped inside:\n * <div class=\"sui-floating-notices\"></div>\n *\n * IMPORTANT: This wrapper goes before \"sui-wrap\" closing tag\n * and after modals markup.\n */\n if (nodeWrapper.hasClass('sui-floating-notices')) {\n utils.closeNotice('slide');\n } else {\n utils.closeNotice('fade');\n }\n };\n init();\n return _this;\n };\n\n /**\n * @desc Trigger open and close alert notification functions through element attributes.\n *\n * Assumptions: Elements in charge of triggering the actions will be a button or a non-hyperlink element.\n *\n */\n SUI.notice = function () {\n var notice = notice || {};\n notice.Utils = notice.Utils || {};\n\n /**\n * @desc Click an element to open a notification.\n */\n notice.Utils.Open = function (element) {\n element.on('click', function () {\n self = $(this);\n\n // Define main variables for open function.\n var noticeId = self.attr('data-notice-open');\n var noticeMessage = '';\n var noticeOptions = {};\n\n // Define index to use on for loops.\n var i;\n\n // Define maximum number of paragraphs.\n var numbLines = 4;\n\n // Check if `data-notice-message` exists.\n if (self.is('[data-notice-message]') && '' !== self.attr('data-notice-message')) {\n noticeMessage += self.attr('data-notice-message');\n\n // If `data-notice-message` doesn't exists, look for `data-notice-paragraph-[i]` attributes.\n } else {\n for (i = 0; i < numbLines; i++) {\n var index = i + 1;\n var paragraph = 'data-notice-paragraph-' + index;\n if (self.is('[' + paragraph + ']') && '' !== self.attr(paragraph)) {\n noticeMessage += '<p>' + self.attr(paragraph) + '</p>';\n }\n }\n }\n\n // Check if `data-notice-type` exists.\n if (self.is('[data-notice-type]') && '' !== self.attr('data-notice-dismiss-type')) {\n noticeOptions.type = self.attr('data-notice-type');\n }\n\n // Check if `data-notice-icon` exists.\n if (self.is('[data-notice-icon]')) {\n noticeOptions.icon = self.attr('data-notice-icon');\n }\n\n // Check if `data-notice-dismiss` exists.\n if (self.is('[data-notice-dismiss]')) {\n noticeOptions.dismiss = {};\n if ('true' === self.attr('data-notice-dismiss')) {\n noticeOptions.dismiss.show = true;\n } else if ('false' === self.attr('data-notice-dismiss')) {\n noticeOptions.dismiss.show = false;\n }\n }\n\n // Check if `data-notice-dismiss-label` exists.\n if (self.is('[data-notice-dismiss-label]') && '' !== self.attr('data-notice-dismiss-label')) {\n noticeOptions.dismiss.label = self.attr('data-notice-dismiss-label');\n }\n\n // Check if `data-notice-dismiss-label` exists.\n if (self.is('[data-notice-dismiss-tooltip]') && '' !== self.attr('data-notice-dismiss-tooltip')) {\n noticeOptions.dismiss.tooltip = self.attr('data-notice-dismiss-tooltip');\n }\n\n // Check if `data-notice-autoclose` exists.\n if (self.is('[data-notice-autoclose]')) {\n noticeOptions.autoclose = {};\n if ('true' === self.attr('data-notice-autoclose')) {\n noticeOptions.autoclose.show = true;\n } else if ('false' === self.attr('data-notice-autoclose')) {\n noticeOptions.autoclose.show = false;\n }\n }\n\n // Check if `data-notice-autoclose-timeout` exists.\n if (self.is('[data-notice-autoclose-timeout]')) {\n noticeOptions.autoclose = noticeOptions.autoclose || {};\n noticeOptions.autoclose.timeout = parseInt(self.attr('data-notice-autoclose-timeout'));\n }\n SUI.openNotice(noticeId, noticeMessage, noticeOptions);\n });\n };\n\n /**\n * @desc Close a notification.\n */\n notice.Utils.Close = function (element) {\n element.on('click', function () {\n self = $(this);\n var noticeId;\n if (self.is('[data-notice-close]')) {\n noticeId = self.closest('.sui-notice').attr('id');\n if ('' !== self.attr('[data-notice-close]')) {\n noticeId = self.attr('data-notice-close');\n }\n SUI.closeNotice(noticeId);\n }\n });\n };\n var init = function init() {\n // Open a notification.\n var btnOpen = $('[data-notice-open]');\n notice.Utils.Open(btnOpen);\n\n // Close a notification.\n var btnClose = $('[data-notice-close]');\n notice.Utils.Close(btnClose);\n };\n init();\n return _this;\n };\n SUI.notice();\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.showHidePassword = function () {\n $('.sui-2-12-16 .sui-form-field').each(function () {\n var $this = $(this);\n if (0 !== $this.find('input[type=\"password\"]').length) {\n $this.find('[class*=\"sui-button\"], .sui-password-toggle').off('click.toggle-password').on('click.toggle-password', function () {\n var $button = $(this),\n $input = $button.parent().find('input'),\n $icon = $button.find('> span');\n $button.parent().toggleClass('sui-password-visible');\n $button.find('.sui-password-text').toggleClass('sui-hidden');\n if ($button.parent().hasClass('sui-password-visible')) {\n $input.prop('type', 'text');\n $icon.removeClass('sui-icon-eye').addClass('sui-icon-eye-hide');\n } else {\n $input.prop('type', 'password');\n $icon.removeClass('sui-icon-eye-hide').addClass('sui-icon-eye');\n }\n });\n }\n });\n };\n SUI.showHidePassword();\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.reviews = function (review, reviews, rating) {\n if (reviews <= 0) {\n return;\n }\n function init() {\n var stars = Math.round(rating),\n starsBlock = review.find('.sui-reviews__stars')[0],\n i;\n for (i = 0; i < stars; i++) {\n starsBlock.innerHTML += '<span class=\"sui-icon-star\" aria-hidden=\"true\"></span> ';\n }\n review.find('.sui-reviews-rating').replaceWith(rating);\n review.find('.sui-reviews-customer-count').replaceWith(reviews);\n }\n init();\n return this;\n };\n\n // Update the reviews with the live stats.\n $('.sui-2-12-16 .sui-reviews').each(function () {\n var review = $(this);\n $.ajax({\n url: \"https://api.reviews.co.uk/merchant/reviews?store=wpmudev-org\",\n success: function success(data) {\n SUI.reviews(review, data.stats.reviews, data.stats.average_rating);\n }\n });\n });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.loadCircleScore = function (el) {\n var dial = $(el).find('svg circle:last-child'),\n score = $(el).data('score'),\n radius = 42,\n circumference = 2 * Math.PI * radius,\n dashLength = circumference / 100 * score,\n gapLength = dashLength * 100 - score,\n svg = '<svg viewbox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\">\\n' + '<circle stroke-width=\"16\" cx=\"50\" cy=\"50\" r=\"42\" />\\n' + '<circle stroke-width=\"16\" cx=\"50\" cy=\"50\" r=\"42\" stroke-dasharray=\"0,' + gapLength + '\" />\\n' + '</svg>\\n' + '<span class=\"sui-circle-score-label\" aria-hidden=\"true\">' + score + '</span>\\n' + '<span class=\"sui-screen-reader-text\" tabindex=\"0\">Score ' + score + ' out of 100</span>';\n\n // Add svg to score element, add loaded class, & change stroke-dasharray to represent target score/percentage.\n $(el).prepend(svg).addClass('loaded').find('circle:last-child').css('animation', 'sui' + score + ' 3s forwards');\n };\n $('.sui-2-12-16 .sui-circle-score').each(function () {\n SUI.loadCircleScore(this);\n });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n/*!\n * Select2 4.1.0-rc.0\n * https://select2.github.io\n *\n * Released under the MIT license\n * https://github.com/select2/select2/blob/master/LICENSE.md\n *\n * Modified logic/function,etc besides formatting should be marked with //SUI-SELECT2\n * For easy debugging process or update upstream of select\n */\n;\n(function (factory) {\n // Disable AMD and module exports. @edited\n if (false && typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['jquery'], factory);\n } else if (false && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object' && module.exports) {\n // Node/CommonJS\n module.exports = function (root, jQuery) {\n if (jQuery === undefined) {\n // require('jQuery') returns a factory that requires window to\n // build a jQuery instance, we normalize how we use modules\n // that require this pattern but the window provided is a noop\n // if it's defined (how jquery works)\n if (typeof window !== 'undefined') {\n jQuery = require('jquery');\n } else {\n jQuery = require('jquery')(root);\n }\n }\n factory(jQuery);\n return jQuery;\n };\n } else {\n // Browser globals\n factory(jQuery);\n }\n})(function (jQuery) {\n // This is needed so we can catch the AMD loader configuration and use it\n // The inner file should be wrapped (by `banner.start.js`) in a function that\n // returns the AMD loader references.\n var S2 = function () {\n // Restore the Select2 AMD loader so it can be used\n // Needed mostly in the language files, where the loader is not inserted\n if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {\n var S2 = jQuery.fn.select2.amd;\n }\n var S2;\n (function () {\n if (!S2 || !S2.requirejs) {\n if (!S2) {\n S2 = {};\n } else {\n require = S2;\n }\n /**\n * @license almond 0.3.3 Copyright jQuery Foundation and other contributors.\n * Released under MIT license, http://github.com/requirejs/almond/LICENSE\n */\n //Going sloppy to avoid 'use strict' string cost, but strict practices should\n //be followed.\n /*global setTimeout: false */\n\n var requirejs, require, define;\n (function (undef) {\n var main,\n _req,\n makeMap,\n handlers,\n defined = {},\n waiting = {},\n config = {},\n defining = {},\n hasOwn = Object.prototype.hasOwnProperty,\n aps = [].slice,\n jsSuffixRegExp = /\\.js$/;\n function hasProp(obj, prop) {\n return hasOwn.call(obj, prop);\n }\n\n /**\n * Given a relative module name, like ./something, normalize it to\n * a real name that can be mapped to a path.\n * @param {String} name the relative name\n * @param {String} baseName a real name that the name arg is relative\n * to.\n * @returns {String} normalized name\n */\n function normalize(name, baseName) {\n var nameParts,\n nameSegment,\n mapValue,\n foundMap,\n lastIndex,\n foundI,\n foundStarMap,\n starI,\n i,\n j,\n part,\n normalizedBaseParts,\n baseParts = baseName && baseName.split(\"/\"),\n map = config.map,\n starMap = map && map['*'] || {};\n\n //Adjust any relative paths.\n if (name) {\n name = name.split('/');\n lastIndex = name.length - 1;\n\n // If wanting node ID compatibility, strip .js from end\n // of IDs. Have to do this here, and not in nameToUrl\n // because node allows either .js or non .js to map\n // to same file.\n if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) {\n name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, '');\n }\n\n // Starts with a '.' so need the baseName\n if (name[0].charAt(0) === '.' && baseParts) {\n //Convert baseName to array, and lop off the last part,\n //so that . matches that 'directory' and not name of the baseName's\n //module. For instance, baseName of 'one/two/three', maps to\n //'one/two/three.js', but we want the directory, 'one/two' for\n //this normalization.\n normalizedBaseParts = baseParts.slice(0, baseParts.length - 1);\n name = normalizedBaseParts.concat(name);\n }\n\n //start trimDots\n for (i = 0; i < name.length; i++) {\n part = name[i];\n if (part === '.') {\n name.splice(i, 1);\n i -= 1;\n } else if (part === '..') {\n // If at the start, or previous value is still ..,\n // keep them so that when converted to a path it may\n // still work when converted to a path, even though\n // as an ID it is less than ideal. In larger point\n // releases, may be better to just kick out an error.\n if (i === 0 || i === 1 && name[2] === '..' || name[i - 1] === '..') {\n continue;\n } else if (i > 0) {\n name.splice(i - 1, 2);\n i -= 2;\n }\n }\n }\n //end trimDots\n\n name = name.join('/');\n }\n\n //Apply map config if available.\n if ((baseParts || starMap) && map) {\n nameParts = name.split('/');\n for (i = nameParts.length; i > 0; i -= 1) {\n nameSegment = nameParts.slice(0, i).join(\"/\");\n if (baseParts) {\n //Find the longest baseName segment match in the config.\n //So, do joins on the biggest to smallest lengths of baseParts.\n for (j = baseParts.length; j > 0; j -= 1) {\n mapValue = map[baseParts.slice(0, j).join('/')];\n\n //baseName segment has config, find if it has one for\n //this name.\n if (mapValue) {\n mapValue = mapValue[nameSegment];\n if (mapValue) {\n //Match, update name to the new value.\n foundMap = mapValue;\n foundI = i;\n break;\n }\n }\n }\n }\n if (foundMap) {\n break;\n }\n\n //Check for a star map match, but just hold on to it,\n //if there is a shorter segment match later in a matching\n //config, then favor over this star map.\n if (!foundStarMap && starMap && starMap[nameSegment]) {\n foundStarMap = starMap[nameSegment];\n starI = i;\n }\n }\n if (!foundMap && foundStarMap) {\n foundMap = foundStarMap;\n foundI = starI;\n }\n if (foundMap) {\n nameParts.splice(0, foundI, foundMap);\n name = nameParts.join('/');\n }\n }\n return name;\n }\n function makeRequire(relName, forceSync) {\n return function () {\n //A version of a require function that passes a moduleName\n //value for items that may need to\n //look up paths relative to the moduleName\n var args = aps.call(arguments, 0);\n\n //If first arg is not require('string'), and there is only\n //one arg, it is the array form without a callback. Insert\n //a null so that the following concat is correct.\n if (typeof args[0] !== 'string' && args.length === 1) {\n args.push(null);\n }\n return _req.apply(undef, args.concat([relName, forceSync]));\n };\n }\n function makeNormalize(relName) {\n return function (name) {\n return normalize(name, relName);\n };\n }\n function makeLoad(depName) {\n return function (value) {\n defined[depName] = value;\n };\n }\n function callDep(name) {\n if (hasProp(waiting, name)) {\n var args = waiting[name];\n delete waiting[name];\n defining[name] = true;\n main.apply(undef, args);\n }\n if (!hasProp(defined, name) && !hasProp(defining, name)) {\n throw new Error('No ' + name);\n }\n return defined[name];\n }\n\n //Turns a plugin!resource to [plugin, resource]\n //with the plugin being undefined if the name\n //did not have a plugin prefix.\n function splitPrefix(name) {\n var prefix,\n index = name ? name.indexOf('!') : -1;\n if (index > -1) {\n prefix = name.substring(0, index);\n name = name.substring(index + 1, name.length);\n }\n return [prefix, name];\n }\n\n //Creates a parts array for a relName where first part is plugin ID,\n //second part is resource ID. Assumes relName has already been normalized.\n function makeRelParts(relName) {\n return relName ? splitPrefix(relName) : [];\n }\n\n /**\n * Makes a name map, normalizing the name, and using a plugin\n * for normalization if necessary. Grabs a ref to plugin\n * too, as an optimization.\n */\n makeMap = function makeMap(name, relParts) {\n var plugin,\n parts = splitPrefix(name),\n prefix = parts[0],\n relResourceName = relParts[1];\n name = parts[1];\n if (prefix) {\n prefix = normalize(prefix, relResourceName);\n plugin = callDep(prefix);\n }\n\n //Normalize according\n if (prefix) {\n if (plugin && plugin.normalize) {\n name = plugin.normalize(name, makeNormalize(relResourceName));\n } else {\n name = normalize(name, relResourceName);\n }\n } else {\n name = normalize(name, relResourceName);\n parts = splitPrefix(name);\n prefix = parts[0];\n name = parts[1];\n if (prefix) {\n plugin = callDep(prefix);\n }\n }\n\n //Using ridiculous property names for space reasons\n return {\n f: prefix ? prefix + '!' + name : name,\n //fullName\n n: name,\n pr: prefix,\n p: plugin\n };\n };\n function makeConfig(name) {\n return function () {\n return config && config.config && config.config[name] || {};\n };\n }\n handlers = {\n require: function require(name) {\n return makeRequire(name);\n },\n exports: function exports(name) {\n var e = defined[name];\n if (typeof e !== 'undefined') {\n return e;\n } else {\n return defined[name] = {};\n }\n },\n module: function module(name) {\n return {\n id: name,\n uri: '',\n exports: defined[name],\n config: makeConfig(name)\n };\n }\n };\n main = function main(name, deps, callback, relName) {\n var cjsModule,\n depName,\n ret,\n map,\n i,\n relParts,\n args = [],\n callbackType = _typeof(callback),\n usingExports;\n\n //Use name if no relName\n relName = relName || name;\n relParts = makeRelParts(relName);\n\n //Call the callback to define the module, if necessary.\n if (callbackType === 'undefined' || callbackType === 'function') {\n //Pull out the defined dependencies and pass the ordered\n //values to the callback.\n //Default to [require, exports, module] if no deps\n deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps;\n for (i = 0; i < deps.length; i += 1) {\n map = makeMap(deps[i], relParts);\n depName = map.f;\n\n //Fast path CommonJS standard dependencies.\n if (depName === \"require\") {\n args[i] = handlers.require(name);\n } else if (depName === \"exports\") {\n //CommonJS module spec 1.1\n args[i] = handlers.exports(name);\n usingExports = true;\n } else if (depName === \"module\") {\n //CommonJS module spec 1.1\n cjsModule = args[i] = handlers.module(name);\n } else if (hasProp(defined, depName) || hasProp(waiting, depName) || hasProp(defining, depName)) {\n args[i] = callDep(depName);\n } else if (map.p) {\n map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});\n args[i] = defined[depName];\n } else {\n throw new Error(name + ' missing ' + depName);\n }\n }\n ret = callback ? callback.apply(defined[name], args) : undefined;\n if (name) {\n //If setting exports via \"module\" is in play,\n //favor that over return value and exports. After that,\n //favor a non-undefined return value over exports use.\n if (cjsModule && cjsModule.exports !== undef && cjsModule.exports !== defined[name]) {\n defined[name] = cjsModule.exports;\n } else if (ret !== undef || !usingExports) {\n //Use the return value from the function.\n defined[name] = ret;\n }\n }\n } else if (name) {\n //May just be an object definition for the module. Only\n //worry about defining if have a module name.\n defined[name] = callback;\n }\n };\n requirejs = require = _req = function req(deps, callback, relName, forceSync, alt) {\n if (typeof deps === \"string\") {\n if (handlers[deps]) {\n //callback in this case is really relName\n return handlers[deps](callback);\n }\n //Just return the module wanted. In this scenario, the\n //deps arg is the module name, and second arg (if passed)\n //is just the relName.\n //Normalize module name, if it contains . or ..\n return callDep(makeMap(deps, makeRelParts(callback)).f);\n } else if (!deps.splice) {\n //deps is a config object, not an array.\n config = deps;\n if (config.deps) {\n _req(config.deps, config.callback);\n }\n if (!callback) {\n return;\n }\n if (callback.splice) {\n //callback is an array, which means it is a dependency list.\n //Adjust args if there are dependencies\n deps = callback;\n callback = relName;\n relName = null;\n } else {\n deps = undef;\n }\n }\n\n //Support require(['a'])\n callback = callback || function () {};\n\n //If relName is a function, it is an errback handler,\n //so remove it.\n if (typeof relName === 'function') {\n relName = forceSync;\n forceSync = alt;\n }\n\n //Simulate async callback;\n if (forceSync) {\n main(undef, deps, callback, relName);\n } else {\n //Using a non-zero value because of concern for what old browsers\n //do, and latest browsers \"upgrade\" to 4 if lower value is used:\n //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout:\n //If want a value immediately, use require('id') instead -- something\n //that works in almond on the global level, but not guaranteed and\n //unlikely to work in other AMD implementations.\n setTimeout(function () {\n main(undef, deps, callback, relName);\n }, 4);\n }\n return _req;\n };\n\n /**\n * Just drops the config on the floor, but returns req in case\n * the config return value is used.\n */\n _req.config = function (cfg) {\n return _req(cfg);\n };\n\n /**\n * Expose module registry for debugging and tooling\n */\n requirejs._defined = defined;\n define = function define(name, deps, callback) {\n if (typeof name !== 'string') {\n throw new Error('See almond README: incorrect module build, no module name');\n }\n\n //This module may not have dependencies\n if (!deps.splice) {\n //deps is not an array, so probably means\n //an object literal or factory function for\n //the value. Adjust args.\n callback = deps;\n deps = [];\n }\n if (!hasProp(defined, name) && !hasProp(waiting, name)) {\n waiting[name] = [name, deps, callback];\n }\n };\n define.amd = {\n jQuery: true\n };\n })();\n S2.requirejs = requirejs;\n S2.require = require;\n S2.define = define;\n }\n })();\n S2.define(\"almond\", function () {});\n\n /* global jQuery:false, $:false */\n S2.define('jquery', [], function () {\n var _$ = jQuery || $;\n if (_$ == null && console && console.error) {\n console.error('Select2: An instance of jQuery or a jQuery-compatible library was not ' + 'found. Make sure that you are including jQuery before Select2 on your ' + 'web page.');\n }\n return _$;\n });\n S2.define('select2/utils', ['jquery'], function ($) {\n var Utils = {};\n Utils.Extend = function (ChildClass, SuperClass) {\n var __hasProp = {}.hasOwnProperty;\n function BaseConstructor() {\n this.constructor = ChildClass;\n }\n for (var key in SuperClass) {\n if (__hasProp.call(SuperClass, key)) {\n ChildClass[key] = SuperClass[key];\n }\n }\n BaseConstructor.prototype = SuperClass.prototype;\n ChildClass.prototype = new BaseConstructor();\n ChildClass.__super__ = SuperClass.prototype;\n return ChildClass;\n };\n function getMethods(theClass) {\n var proto = theClass.prototype;\n var methods = [];\n for (var methodName in proto) {\n var m = proto[methodName];\n if (typeof m !== 'function') {\n continue;\n }\n if (methodName === 'constructor') {\n continue;\n }\n methods.push(methodName);\n }\n return methods;\n }\n Utils.Decorate = function (SuperClass, DecoratorClass) {\n var decoratedMethods = getMethods(DecoratorClass);\n var superMethods = getMethods(SuperClass);\n function DecoratedClass() {\n var unshift = Array.prototype.unshift;\n var argCount = DecoratorClass.prototype.constructor.length;\n var calledConstructor = SuperClass.prototype.constructor;\n if (argCount > 0) {\n unshift.call(arguments, SuperClass.prototype.constructor);\n calledConstructor = DecoratorClass.prototype.constructor;\n }\n calledConstructor.apply(this, arguments);\n }\n DecoratorClass.displayName = SuperClass.displayName;\n function ctr() {\n this.constructor = DecoratedClass;\n }\n DecoratedClass.prototype = new ctr();\n for (var m = 0; m < superMethods.length; m++) {\n var superMethod = superMethods[m];\n DecoratedClass.prototype[superMethod] = SuperClass.prototype[superMethod];\n }\n var calledMethod = function calledMethod(methodName) {\n // Stub out the original method if it's not decorating an actual method\n var originalMethod = function originalMethod() {};\n if (methodName in DecoratedClass.prototype) {\n originalMethod = DecoratedClass.prototype[methodName];\n }\n var decoratedMethod = DecoratorClass.prototype[methodName];\n return function () {\n var unshift = Array.prototype.unshift;\n unshift.call(arguments, originalMethod);\n return decoratedMethod.apply(this, arguments);\n };\n };\n for (var d = 0; d < decoratedMethods.length; d++) {\n var decoratedMethod = decoratedMethods[d];\n DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod);\n }\n return DecoratedClass;\n };\n var Observable = function Observable() {\n this.listeners = {};\n };\n Observable.prototype.on = function (event, callback) {\n this.listeners = this.listeners || {};\n if (event in this.listeners) {\n this.listeners[event].push(callback);\n } else {\n this.listeners[event] = [callback];\n }\n };\n Observable.prototype.trigger = function (event) {\n var slice = Array.prototype.slice;\n var params = slice.call(arguments, 1);\n this.listeners = this.listeners || {};\n\n // Params should always come in as an array\n if (params == null) {\n params = [];\n }\n\n // If there are no arguments to the event, use a temporary object\n if (params.length === 0) {\n params.push({});\n }\n\n // Set the `_type` of the first object to the event\n params[0]._type = event;\n if (event in this.listeners) {\n this.invoke(this.listeners[event], slice.call(arguments, 1));\n }\n if ('*' in this.listeners) {\n this.invoke(this.listeners['*'], arguments);\n }\n };\n Observable.prototype.invoke = function (listeners, params) {\n for (var i = 0, len = listeners.length; i < len; i++) {\n listeners[i].apply(this, params);\n }\n };\n Utils.Observable = Observable;\n Utils.generateChars = function (length) {\n var chars = '';\n for (var i = 0; i < length; i++) {\n var randomChar = Math.floor(Math.random() * 36);\n chars += randomChar.toString(36);\n }\n return chars;\n };\n Utils.bind = function (func, context) {\n return function () {\n func.apply(context, arguments);\n };\n };\n Utils._convertData = function (data) {\n for (var originalKey in data) {\n var keys = originalKey.split('-');\n var dataLevel = data;\n if (keys.length === 1) {\n continue;\n }\n for (var k = 0; k < keys.length; k++) {\n var key = keys[k];\n\n // Lowercase the first letter\n // By default, dash-separated becomes camelCase\n key = key.substring(0, 1).toLowerCase() + key.substring(1);\n if (!(key in dataLevel)) {\n dataLevel[key] = {};\n }\n if (k == keys.length - 1) {\n dataLevel[key] = data[originalKey];\n }\n dataLevel = dataLevel[key];\n }\n delete data[originalKey];\n }\n return data;\n };\n Utils.hasScroll = function (index, el) {\n // Adapted from the function created by @ShadowScripter\n // and adapted by @BillBarry on the Stack Exchange Code Review website.\n // The original code can be found at\n // http://codereview.stackexchange.com/q/13338\n // and was designed to be used with the Sizzle selector engine.\n\n var $el = $(el);\n var overflowX = el.style.overflowX;\n var overflowY = el.style.overflowY;\n\n //Check both x and y declarations\n if (overflowX === overflowY && (overflowY === 'hidden' || overflowY === 'visible')) {\n return false;\n }\n if (overflowX === 'scroll' || overflowY === 'scroll') {\n return true;\n }\n return $el.innerHeight() < el.scrollHeight || $el.innerWidth() < el.scrollWidth;\n };\n Utils.escapeMarkup = function (markup) {\n var replaceMap = {\n '\\\\': '\',\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n '\\'': ''',\n '/': '/'\n };\n\n // Do not try to escape the markup if it's not a string\n if (typeof markup !== 'string') {\n return markup;\n }\n return String(markup).replace(/[&<>\"'\\/\\\\]/g, function (match) {\n return replaceMap[match];\n });\n };\n\n // Cache objects in Utils.__cache instead of $.data (see #4346)\n Utils.__cache = {};\n var id = 0;\n Utils.GetUniqueElementId = function (element) {\n // Get a unique element Id. If element has no id,\n // creates a new unique number, stores it in the id\n // attribute and returns the new id with a prefix.\n // If an id already exists, it simply returns it with a prefix.\n\n var select2Id = element.getAttribute('data-select2-id');\n if (select2Id != null) {\n return select2Id;\n }\n\n // If element has id, use it.\n if (element.id) {\n select2Id = 'select2-data-' + element.id;\n } else {\n select2Id = 'select2-data-' + (++id).toString() + '-' + Utils.generateChars(4);\n }\n element.setAttribute('data-select2-id', select2Id);\n return select2Id;\n };\n Utils.StoreData = function (element, name, value) {\n // Stores an item in the cache for a specified element.\n // name is the cache key.\n var id = Utils.GetUniqueElementId(element);\n if (!Utils.__cache[id]) {\n Utils.__cache[id] = {};\n }\n Utils.__cache[id][name] = value;\n };\n Utils.GetData = function (element, name) {\n // Retrieves a value from the cache by its key (name)\n // name is optional. If no name specified, return\n // all cache items for the specified element.\n // and for a specified element.\n var id = Utils.GetUniqueElementId(element);\n if (name) {\n if (Utils.__cache[id]) {\n if (Utils.__cache[id][name] != null) {\n return Utils.__cache[id][name];\n }\n return $(element).data(name); // Fallback to HTML5 data attribs.\n }\n\n return $(element).data(name); // Fallback to HTML5 data attribs.\n } else {\n return Utils.__cache[id];\n }\n };\n Utils.RemoveData = function (element) {\n // Removes all cached items for a specified element.\n var id = Utils.GetUniqueElementId(element);\n if (Utils.__cache[id] != null) {\n delete Utils.__cache[id];\n }\n element.removeAttribute('data-select2-id');\n };\n Utils.copyNonInternalCssClasses = function (dest, src) {\n var classes;\n var destinationClasses = dest.getAttribute('class').trim().split(/\\s+/);\n destinationClasses = destinationClasses.filter(function (clazz) {\n // Save all Select2 classes\n return clazz.indexOf('select2-') === 0;\n });\n var sourceClasses = src.getAttribute('class').trim().split(/\\s+/);\n sourceClasses = sourceClasses.filter(function (clazz) {\n // Only copy non-Select2 classes\n return clazz.indexOf('select2-') !== 0;\n });\n var replacements = destinationClasses.concat(sourceClasses);\n dest.setAttribute('class', replacements.join(' '));\n };\n return Utils;\n });\n S2.define('select2/results', ['jquery', './utils'], function ($, Utils) {\n function Results($element, options, dataAdapter) {\n this.$element = $element;\n this.data = dataAdapter;\n this.options = options;\n Results.__super__.constructor.call(this);\n }\n Utils.Extend(Results, Utils.Observable);\n Results.prototype.render = function () {\n var $results = $('<ul class=\"select2-results__options\" role=\"listbox\"></ul>');\n if (this.options.get('multiple')) {\n $results.attr('aria-multiselectable', 'true');\n }\n this.$results = $results;\n return $results;\n };\n Results.prototype.clear = function () {\n this.$results.empty();\n };\n Results.prototype.displayMessage = function (params) {\n var escapeMarkup = this.options.get('escapeMarkup');\n this.clear();\n this.hideLoading();\n var $message = $('<li role=\"alert\" aria-live=\"assertive\"' + ' class=\"select2-results__option\"></li>');\n var message = this.options.get('translations').get(params.message);\n $message.append(escapeMarkup(message(params.args)));\n $message[0].className += ' select2-results__message';\n this.$results.append($message);\n };\n Results.prototype.hideMessages = function () {\n this.$results.find('.select2-results__message').remove();\n };\n Results.prototype.append = function (data) {\n this.hideLoading();\n var $options = [];\n if (data.results == null || data.results.length === 0) {\n if (this.$results.children().length === 0) {\n this.trigger('results:message', {\n message: 'noResults'\n });\n }\n return;\n }\n data.results = this.sort(data.results);\n for (var d = 0; d < data.results.length; d++) {\n var item = data.results[d];\n var $option = this.option(item);\n $options.push($option);\n }\n this.$results.append($options);\n };\n Results.prototype.position = function ($results, $dropdown) {\n var $resultsContainer = $dropdown.find('.select2-results');\n $resultsContainer.append($results);\n };\n Results.prototype.sort = function (data) {\n var sorter = this.options.get('sorter');\n return sorter(data);\n };\n Results.prototype.highlightFirstItem = function () {\n var $options = this.$results.find('.select2-results__option--selectable');\n var $selected = $options.filter('.select2-results__option--selected');\n\n // Check if there are any selected options\n if ($selected.length > 0) {\n // If there are selected options, highlight the first\n $selected.first().trigger('mouseenter');\n } else {\n // If there are no selected options, highlight the first option\n // in the dropdown\n $options.first().trigger('mouseenter');\n }\n this.ensureHighlightVisible();\n };\n Results.prototype.setClasses = function () {\n var self = this;\n this.data.current(function (selected) {\n var selectedIds = selected.map(function (s) {\n return s.id.toString();\n });\n var $options = self.$results.find('.select2-results__option--selectable');\n $options.each(function () {\n var $option = $(this);\n var item = Utils.GetData(this, 'data');\n\n // id needs to be converted to a string when comparing\n var id = '' + item.id;\n if (item.element != null && item.element.selected || item.element == null && selectedIds.indexOf(id) > -1) {\n this.classList.add('select2-results__option--selected');\n $option.attr('aria-selected', 'true');\n } else {\n this.classList.remove('select2-results__option--selected');\n $option.attr('aria-selected', 'false');\n }\n });\n });\n };\n Results.prototype.showLoading = function (params) {\n this.hideLoading();\n var loadingMore = this.options.get('translations').get('searching');\n var loading = {\n disabled: true,\n loading: true,\n text: loadingMore(params)\n };\n var $loading = this.option(loading);\n $loading.className += ' loading-results';\n this.$results.prepend($loading);\n };\n Results.prototype.hideLoading = function () {\n this.$results.find('.loading-results').remove();\n };\n Results.prototype.option = function (data) {\n var option = document.createElement('li');\n option.classList.add('select2-results__option');\n option.classList.add('select2-results__option--selectable');\n var attrs = {\n 'role': 'option'\n };\n var matches = window.Element.prototype.matches || window.Element.prototype.msMatchesSelector || window.Element.prototype.webkitMatchesSelector;\n if (data.element != null && matches.call(data.element, ':disabled') || data.element == null && data.disabled) {\n attrs['aria-disabled'] = 'true';\n option.classList.remove('select2-results__option--selectable');\n option.classList.add('select2-results__option--disabled');\n }\n if (data.id == null) {\n option.classList.remove('select2-results__option--selectable');\n }\n if (data._resultId != null) {\n option.id = data._resultId;\n }\n if (data.title) {\n option.title = data.title;\n }\n if (data.children) {\n attrs.role = 'group';\n attrs['aria-label'] = data.text;\n option.classList.remove('select2-results__option--selectable');\n option.classList.add('select2-results__option--group');\n }\n for (var attr in attrs) {\n var val = attrs[attr];\n option.setAttribute(attr, val);\n }\n if (data.children) {\n var $option = $(option);\n var label = document.createElement('strong');\n label.className = 'select2-results__group';\n this.template(data, label);\n var $children = [];\n for (var c = 0; c < data.children.length; c++) {\n var child = data.children[c];\n var $child = this.option(child);\n $children.push($child);\n }\n var $childrenContainer = $('<ul></ul>', {\n 'class': 'select2-results__options select2-results__options--nested',\n 'role': 'none'\n });\n $childrenContainer.append($children);\n $option.append(label);\n $option.append($childrenContainer);\n } else {\n this.template(data, option);\n }\n Utils.StoreData(option, 'data', data);\n return option;\n };\n Results.prototype.bind = function (container, $container) {\n var self = this;\n var id = container.id + '-results';\n this.$results.attr('id', id);\n container.on('results:all', function (params) {\n self.clear();\n self.append(params.data);\n if (container.isOpen()) {\n self.setClasses();\n self.highlightFirstItem();\n }\n });\n container.on('results:append', function (params) {\n self.append(params.data);\n if (container.isOpen()) {\n self.setClasses();\n }\n });\n container.on('query', function (params) {\n self.hideMessages();\n self.showLoading(params);\n });\n container.on('select', function () {\n if (!container.isOpen()) {\n return;\n }\n self.setClasses();\n if (self.options.get('scrollAfterSelect')) {\n self.highlightFirstItem();\n }\n });\n container.on('unselect', function () {\n if (!container.isOpen()) {\n return;\n }\n self.setClasses();\n if (self.options.get('scrollAfterSelect')) {\n self.highlightFirstItem();\n }\n });\n container.on('open', function () {\n // When the dropdown is open, aria-expended=\"true\"\n self.$results.attr('aria-expanded', 'true');\n self.$results.attr('aria-hidden', 'false');\n self.setClasses();\n self.ensureHighlightVisible();\n });\n container.on('close', function () {\n // When the dropdown is closed, aria-expended=\"false\"\n self.$results.attr('aria-expanded', 'false');\n self.$results.attr('aria-hidden', 'true');\n self.$results.removeAttr('aria-activedescendant');\n });\n container.on('results:toggle', function () {\n var $highlighted = self.getHighlightedResults();\n if ($highlighted.length === 0) {\n return;\n }\n $highlighted.trigger('mouseup');\n });\n container.on('results:select', function () {\n var $highlighted = self.getHighlightedResults();\n if ($highlighted.length === 0) {\n return;\n }\n var data = Utils.GetData($highlighted[0], 'data');\n if ($highlighted.hasClass('select2-results__option--selected')) {\n self.trigger('close', {});\n } else {\n self.trigger('select', {\n data: data\n });\n }\n });\n container.on('results:previous', function () {\n var $highlighted = self.getHighlightedResults();\n var $options = self.$results.find('.select2-results__option--selectable');\n var currentIndex = $options.index($highlighted);\n\n // If we are already at the top, don't move further\n // If no options, currentIndex will be -1\n if (currentIndex <= 0) {\n return;\n }\n var nextIndex = currentIndex - 1;\n\n // If none are highlighted, highlight the first\n if ($highlighted.length === 0) {\n nextIndex = 0;\n }\n var $next = $options.eq(nextIndex);\n $next.trigger('mouseenter');\n var currentOffset = self.$results.offset().top;\n var nextTop = $next.offset().top;\n var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset);\n if (nextIndex === 0) {\n self.$results.scrollTop(0);\n } else if (nextTop - currentOffset < 0) {\n self.$results.scrollTop(nextOffset);\n }\n });\n container.on('results:next', function () {\n var $highlighted = self.getHighlightedResults();\n var $options = self.$results.find('.select2-results__option--selectable');\n var currentIndex = $options.index($highlighted);\n var nextIndex = currentIndex + 1;\n\n // If we are at the last option, stay there\n if (nextIndex >= $options.length) {\n return;\n }\n var $next = $options.eq(nextIndex);\n $next.trigger('mouseenter');\n var currentOffset = self.$results.offset().top + self.$results.outerHeight(false);\n var nextBottom = $next.offset().top + $next.outerHeight(false);\n var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset;\n if (nextIndex === 0) {\n self.$results.scrollTop(0);\n } else if (nextBottom > currentOffset) {\n self.$results.scrollTop(nextOffset);\n }\n });\n container.on('results:focus', function (params) {\n params.element[0].classList.add('select2-results__option--highlighted');\n params.element[0].setAttribute('aria-selected', 'true');\n });\n container.on('results:message', function (params) {\n self.displayMessage(params);\n });\n if ($.fn.mousewheel) {\n this.$results.on('mousewheel', function (e) {\n var top = self.$results.scrollTop();\n var bottom = self.$results.get(0).scrollHeight - top + e.deltaY;\n var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0;\n var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height();\n if (isAtTop) {\n self.$results.scrollTop(0);\n e.preventDefault();\n e.stopPropagation();\n } else if (isAtBottom) {\n self.$results.scrollTop(self.$results.get(0).scrollHeight - self.$results.height());\n e.preventDefault();\n e.stopPropagation();\n }\n });\n }\n this.$results.on('mouseup', '.select2-results__option--selectable', function (evt) {\n var $this = $(this);\n var data = Utils.GetData(this, 'data');\n if ($this.hasClass('select2-results__option--selected')) {\n if (self.options.get('multiple')) {\n self.trigger('unselect', {\n originalEvent: evt,\n data: data\n });\n } else {\n self.trigger('close', {});\n }\n return;\n }\n self.trigger('select', {\n originalEvent: evt,\n data: data\n });\n });\n this.$results.on('mouseenter', '.select2-results__option--selectable', function (evt) {\n var data = Utils.GetData(this, 'data');\n self.getHighlightedResults().removeClass('select2-results__option--highlighted').attr('aria-selected', 'false');\n self.trigger('results:focus', {\n data: data,\n element: $(this)\n });\n });\n };\n Results.prototype.getHighlightedResults = function () {\n var $highlighted = this.$results.find('.select2-results__option--highlighted');\n return $highlighted;\n };\n Results.prototype.destroy = function () {\n this.$results.remove();\n };\n Results.prototype.ensureHighlightVisible = function () {\n var $highlighted = this.getHighlightedResults();\n if ($highlighted.length === 0) {\n return;\n }\n var $options = this.$results.find('.select2-results__option--selectable');\n var currentIndex = $options.index($highlighted);\n var currentOffset = this.$results.offset().top;\n var nextTop = $highlighted.offset().top;\n var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset);\n var offsetDelta = nextTop - currentOffset;\n nextOffset -= $highlighted.outerHeight(false) * 2;\n if (currentIndex <= 2) {\n this.$results.scrollTop(0);\n } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) {\n this.$results.scrollTop(nextOffset);\n }\n };\n Results.prototype.template = function (result, container) {\n var template = this.options.get('templateResult');\n var escapeMarkup = this.options.get('escapeMarkup');\n var content = template(result, container);\n if (content == null) {\n container.style.display = 'none';\n } else if (typeof content === 'string') {\n container.innerHTML = escapeMarkup(content);\n } else {\n $(container).append(content);\n }\n };\n return Results;\n });\n S2.define('select2/keys', [], function () {\n var KEYS = {\n BACKSPACE: 8,\n TAB: 9,\n ENTER: 13,\n SHIFT: 16,\n CTRL: 17,\n ALT: 18,\n ESC: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n DELETE: 46\n };\n return KEYS;\n });\n S2.define('select2/selection/base', ['jquery', '../utils', '../keys'], function ($, Utils, KEYS) {\n function BaseSelection($element, options) {\n this.$element = $element;\n this.options = options;\n BaseSelection.__super__.constructor.call(this);\n }\n Utils.Extend(BaseSelection, Utils.Observable);\n BaseSelection.prototype.render = function () {\n var $selection = $('<span class=\"select2-selection\" role=\"combobox\" ' + ' aria-haspopup=\"true\" aria-expanded=\"false\">' + '</span>');\n this._tabindex = 0;\n if (Utils.GetData(this.$element[0], 'old-tabindex') != null) {\n this._tabindex = Utils.GetData(this.$element[0], 'old-tabindex');\n } else if (this.$element.attr('tabindex') != null) {\n this._tabindex = this.$element.attr('tabindex');\n }\n $selection.attr('title', this.$element.attr('title'));\n $selection.attr('tabindex', this._tabindex);\n $selection.attr('aria-disabled', 'false');\n this.$selection = $selection;\n return $selection;\n };\n BaseSelection.prototype.bind = function (container, $container) {\n var self = this;\n var resultsId = container.id + '-results';\n this.container = container;\n this.$selection.on('focus', function (evt) {\n self.trigger('focus', evt);\n });\n this.$selection.on('blur', function (evt) {\n self._handleBlur(evt);\n });\n this.$selection.on('keydown', function (evt) {\n self.trigger('keypress', evt);\n if (evt.which === KEYS.SPACE) {\n evt.preventDefault();\n }\n });\n container.on('results:focus', function (params) {\n self.$selection.attr('aria-activedescendant', params.data._resultId);\n });\n container.on('selection:update', function (params) {\n self.update(params.data);\n });\n container.on('open', function () {\n // When the dropdown is open, aria-expanded=\"true\"\n self.$selection.attr('aria-expanded', 'true');\n self.$selection.attr('aria-owns', resultsId);\n self._attachCloseHandler(container);\n });\n container.on('close', function () {\n // When the dropdown is closed, aria-expanded=\"false\"\n self.$selection.attr('aria-expanded', 'false');\n self.$selection.removeAttr('aria-activedescendant');\n self.$selection.removeAttr('aria-owns');\n self.$selection.trigger('focus');\n self._detachCloseHandler(container);\n });\n container.on('enable', function () {\n self.$selection.attr('tabindex', self._tabindex);\n self.$selection.attr('aria-disabled', 'false');\n });\n container.on('disable', function () {\n self.$selection.attr('tabindex', '-1');\n self.$selection.attr('aria-disabled', 'true');\n });\n };\n BaseSelection.prototype._handleBlur = function (evt) {\n var self = this;\n\n // This needs to be delayed as the active element is the body when the tab\n // key is pressed, possibly along with others.\n window.setTimeout(function () {\n // Don't trigger `blur` if the focus is still in the selection\n if (document.activeElement == self.$selection[0] || $.contains(self.$selection[0], document.activeElement)) {\n return;\n }\n self.trigger('blur', evt);\n }, 1);\n };\n BaseSelection.prototype._attachCloseHandler = function (container) {\n $(document.body).on('mousedown.select2.' + container.id, function (e) {\n var $target = $(e.target);\n var $select = $target.closest('.select2');\n var $all = $('.select2.select2-container--open');\n $all.each(function () {\n if (this == $select[0]) {\n return;\n }\n var $element = Utils.GetData(this, 'element');\n\n // Renamed function. @edited\n // old: $element.select2('close');\n $element.SUIselect2('close');\n });\n });\n };\n BaseSelection.prototype._detachCloseHandler = function (container) {\n $(document.body).off('mousedown.select2.' + container.id);\n };\n BaseSelection.prototype.position = function ($selection, $container) {\n var $selectionContainer = $container.find('.selection');\n $selectionContainer.append($selection);\n };\n BaseSelection.prototype.destroy = function () {\n this._detachCloseHandler(this.container);\n };\n BaseSelection.prototype.update = function (data) {\n throw new Error('The `update` method must be defined in child classes.');\n };\n\n /**\n * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\n * object.\n *\n * @return {true} if the instance is not disabled.\n * @return {false} if the instance is disabled.\n */\n BaseSelection.prototype.isEnabled = function () {\n return !this.isDisabled();\n };\n\n /**\n * Helper method to abstract the \"disabled\" state of this object.\n *\n * @return {true} if the disabled option is true.\n * @return {false} if the disabled option is false.\n */\n BaseSelection.prototype.isDisabled = function () {\n return this.options.get('disabled');\n };\n return BaseSelection;\n });\n S2.define('select2/selection/single', ['jquery', './base', '../utils', '../keys'], function ($, BaseSelection, Utils, KEYS) {\n function SingleSelection() {\n SingleSelection.__super__.constructor.apply(this, arguments);\n }\n Utils.Extend(SingleSelection, BaseSelection);\n SingleSelection.prototype.render = function () {\n var $selection = SingleSelection.__super__.render.call(this);\n $selection[0].classList.add('select2-selection--single');\n\n // Assign SUI icon to select button. @edited\n $selection.html('<span class=\"select2-selection__rendered\"></span>' + '<span class=\"select2-selection__arrow\" role=\"presentation\">' + '<span class=\"sui-icon-chevron-down sui-sm\" aria-hidden=\"true\"></span>' + '</span>');\n return $selection;\n };\n SingleSelection.prototype.bind = function (container, $container) {\n var self = this;\n SingleSelection.__super__.bind.apply(this, arguments);\n var id = container.id + '-container';\n this.$selection.find('.select2-selection__rendered').attr('id', id).attr('role', 'textbox').attr('aria-readonly', 'true');\n this.$selection.attr('aria-labelledby', id);\n this.$selection.attr('aria-controls', id);\n this.$selection.on('mousedown', function (evt) {\n // Only respond to left clicks\n if (evt.which !== 1) {\n return;\n }\n self.trigger('toggle', {\n originalEvent: evt\n });\n });\n this.$selection.on('focus', function (evt) {\n // User focuses on the container\n });\n this.$selection.on('blur', function (evt) {\n // User exits the container\n });\n container.on('focus', function (evt) {\n if (!container.isOpen()) {\n self.$selection.trigger('focus');\n }\n });\n };\n SingleSelection.prototype.clear = function () {\n var $rendered = this.$selection.find('.select2-selection__rendered');\n $rendered.empty();\n $rendered.removeAttr('title'); // clear tooltip on empty\n };\n\n SingleSelection.prototype.display = function (data, container) {\n var template = this.options.get('templateSelection');\n var escapeMarkup = this.options.get('escapeMarkup');\n return escapeMarkup(template(data, container));\n };\n SingleSelection.prototype.selectionContainer = function () {\n return $('<span></span>');\n };\n SingleSelection.prototype.update = function (data) {\n // Add icon when variables is empty. @edited\n if (data.length === 0) {\n this.clear();\n if ('vars' === this.options.get('theme')) {\n this.$selection.find('.select2-selection__rendered').html('<span class=\"sui-icon-plus-circle sui-md\" aria-hidden=\"true\"></span>');\n }\n return;\n }\n var selection = data[0];\n var $rendered = this.$selection.find('.select2-selection__rendered');\n var formatted = this.display(selection, $rendered);\n $rendered.empty().append(formatted);\n var title = selection.title || selection.text;\n if (title) {\n $rendered.attr('title', title);\n } else {\n $rendered.removeAttr('title');\n }\n };\n return SingleSelection;\n });\n S2.define('select2/selection/multiple', ['jquery', './base', '../utils'], function ($, BaseSelection, Utils) {\n function MultipleSelection($element, options) {\n MultipleSelection.__super__.constructor.apply(this, arguments);\n }\n Utils.Extend(MultipleSelection, BaseSelection);\n MultipleSelection.prototype.render = function () {\n var $selection = MultipleSelection.__super__.render.call(this);\n $selection[0].classList.add('select2-selection--multiple');\n $selection.html('<ul class=\"select2-selection__rendered\"></ul>');\n return $selection;\n };\n MultipleSelection.prototype.bind = function (container, $container) {\n var self = this;\n MultipleSelection.__super__.bind.apply(this, arguments);\n var id = container.id + '-container';\n this.$selection.find('.select2-selection__rendered').attr('id', id);\n this.$selection.on('click', function (evt) {\n self.trigger('toggle', {\n originalEvent: evt\n });\n });\n this.$selection.on('click', '.sui-button-icon', function (evt) {\n // Ignore the event if it is disabled\n if (self.isDisabled()) {\n return;\n }\n var $remove = $(this);\n var $selection = $remove.parent();\n var data = Utils.GetData($selection[0], 'data');\n self.trigger('unselect', {\n originalEvent: evt,\n data: data\n });\n });\n this.$selection.on('keydown', '.sui-button-icon', function (evt) {\n // Ignore the event if it is disabled\n if (self.isDisabled()) {\n return;\n }\n evt.stopPropagation();\n });\n };\n MultipleSelection.prototype.clear = function () {\n var $rendered = this.$selection.find('.select2-selection__rendered');\n $rendered.empty();\n $rendered.removeAttr('title');\n $rendered.removeClass('has-option-selected');\n };\n MultipleSelection.prototype.display = function (data, container) {\n var template = this.options.get('templateSelection');\n var escapeMarkup = this.options.get('escapeMarkup');\n return escapeMarkup(template(data, container));\n };\n MultipleSelection.prototype.selectionContainer = function () {\n var $container = $('<li class=\"select2-selection__choice\">' + '<span class=\"select2-selection__choice__display\"></span>' + '<button type=\"button\" class=\"sui-button-icon\" ' + 'tabindex=\"-1\">' + '<span class=\"sui-icon-close sui-sm\" aria-hidden=\"true\"></span>' + '</button>' + '</li>');\n return $container;\n };\n MultipleSelection.prototype.update = function (data) {\n this.clear();\n if (data.length === 0) {\n return;\n }\n var $selections = [];\n var selectionIdPrefix = this.$selection.find('.select2-selection__rendered').attr('id') + '-choice-';\n for (var d = 0; d < data.length; d++) {\n var selection = data[d];\n var $selection = this.selectionContainer();\n var formatted = this.display(selection, $selection);\n var selectionId = selectionIdPrefix + Utils.generateChars(4) + '-';\n if (selection.id) {\n selectionId += selection.id;\n } else {\n selectionId += Utils.generateChars(4);\n }\n $selection.find('.select2-selection__choice__display').append(formatted).attr('id', selectionId);\n var title = selection.title || selection.text;\n if (title) {\n $selection.attr('title', title);\n }\n var removeItem = this.options.get('translations').get('removeItem');\n var $remove = $selection.find('.sui-button-icon');\n $remove.attr('title', removeItem());\n $remove.attr('aria-label', removeItem());\n $remove.attr('aria-describedby', selectionId);\n Utils.StoreData($selection[0], 'data', selection);\n $selections.push($selection);\n }\n var $rendered = this.$selection.find('.select2-selection__rendered');\n $rendered.append($selections).addClass('has-option-selected');\n };\n return MultipleSelection;\n });\n S2.define('select2/selection/placeholder', [], function () {\n function Placeholder(decorated, $element, options) {\n this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\n decorated.call(this, $element, options);\n }\n Placeholder.prototype.normalizePlaceholder = function (_, placeholder) {\n if (typeof placeholder === 'string') {\n placeholder = {\n id: '',\n text: placeholder\n };\n }\n return placeholder;\n };\n Placeholder.prototype.createPlaceholder = function (decorated, placeholder) {\n var $placeholder = this.selectionContainer();\n $placeholder.html(this.display(placeholder));\n $placeholder[0].classList.add('select2-selection__placeholder');\n $placeholder[0].classList.remove('select2-selection__choice');\n var placeholderTitle = placeholder.title || placeholder.text || $placeholder.text();\n this.$selection.find('.select2-selection__rendered').attr('title', placeholderTitle);\n return $placeholder;\n };\n Placeholder.prototype.update = function (decorated, data) {\n var singlePlaceholder = data.length == 1 && data[0].id != this.placeholder.id;\n var multipleSelections = data.length > 1;\n if (multipleSelections || singlePlaceholder) {\n return decorated.call(this, data);\n }\n this.clear();\n var $placeholder = this.createPlaceholder(this.placeholder);\n this.$selection.find('.select2-selection__rendered').append($placeholder);\n };\n return Placeholder;\n });\n S2.define('select2/selection/allowClear', ['jquery', '../keys', '../utils'], function ($, KEYS, Utils) {\n function AllowClear() {}\n AllowClear.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n if (this.placeholder == null) {\n if (this.options.get('debug') && window.console && console.error) {\n console.error('Select2: The `allowClear` option should be used in combination ' + 'with the `placeholder` option.');\n }\n }\n this.$selection.on('mousedown', '.select2-selection__clear', function (evt) {\n self._handleClear(evt);\n });\n container.on('keypress', function (evt) {\n self._handleKeyboardClear(evt, container);\n });\n };\n AllowClear.prototype._handleClear = function (_, evt) {\n // Ignore the event if it is disabled\n if (this.isDisabled()) {\n return;\n }\n var $clear = this.$selection.find('.select2-selection__clear');\n\n // Ignore the event if nothing has been selected\n if ($clear.length === 0) {\n return;\n }\n evt.stopPropagation();\n var data = Utils.GetData($clear[0], 'data');\n var previousVal = this.$element.val();\n this.$element.val(this.placeholder.id);\n var unselectData = {\n data: data\n };\n this.trigger('clear', unselectData);\n if (unselectData.prevented) {\n this.$element.val(previousVal);\n return;\n }\n for (var d = 0; d < data.length; d++) {\n unselectData = {\n data: data[d]\n };\n\n // Trigger the `unselect` event, so people can prevent it from being\n // cleared.\n this.trigger('unselect', unselectData);\n\n // If the event was prevented, don't clear it out.\n if (unselectData.prevented) {\n this.$element.val(previousVal);\n return;\n }\n }\n this.$element.trigger('input').trigger('change');\n this.trigger('toggle', {});\n };\n AllowClear.prototype._handleKeyboardClear = function (_, evt, container) {\n if (container.isOpen()) {\n return;\n }\n if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) {\n this._handleClear(evt);\n }\n };\n AllowClear.prototype.update = function (decorated, data) {\n decorated.call(this, data);\n this.$selection.find('.select2-selection__clear').remove();\n this.$selection[0].classList.remove('select2-selection--clearable');\n if (this.$selection.find('.select2-selection__placeholder').length > 0 || data.length === 0) {\n return;\n }\n var selectionId = this.$selection.find('.select2-selection__rendered').attr('id');\n var removeAll = this.options.get('translations').get('removeAllItems');\n var $remove = $('<button type=\"button\" class=\"select2-selection__clear\" tabindex=\"-1\">' + '<span aria-hidden=\"true\">×</span>' + '</button>');\n $remove.attr('title', removeAll());\n $remove.attr('aria-label', removeAll());\n $remove.attr('aria-describedby', selectionId);\n Utils.StoreData($remove[0], 'data', data);\n this.$selection.prepend($remove);\n this.$selection[0].classList.add('select2-selection--clearable');\n };\n return AllowClear;\n });\n S2.define('select2/selection/search', ['jquery', '../utils', '../keys'], function ($, Utils, KEYS) {\n function Search(decorated, $element, options) {\n decorated.call(this, $element, options);\n }\n Search.prototype.render = function (decorated) {\n var searchLabel = this.options.get('translations').get('search');\n var $search = $('<span class=\"select2-search select2-search--inline\">' + '<textarea class=\"select2-search__field\"' + ' type=\"search\" tabindex=\"-1\"' + ' autocorrect=\"off\" autocapitalize=\"none\"' + ' spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" >' + '</textarea>' + '</span>');\n this.$searchContainer = $search;\n this.$search = $search.find('textarea');\n this.$search.prop('autocomplete', this.options.get('autocomplete'));\n this.$search.attr('aria-label', searchLabel());\n var $rendered = decorated.call(this);\n this._transferTabIndex();\n $rendered.append(this.$searchContainer);\n return $rendered;\n };\n Search.prototype.bind = function (decorated, container, $container) {\n var self = this;\n var resultsId = container.id + '-results';\n var selectionId = container.id + '-container';\n decorated.call(this, container, $container);\n self.$search.attr('aria-describedby', selectionId);\n container.on('open', function () {\n self.$search.attr('aria-controls', resultsId);\n self.$search.trigger('focus');\n });\n container.on('close', function () {\n self.$search.val('');\n self.resizeSearch();\n self.$search.removeAttr('aria-controls');\n self.$search.removeAttr('aria-activedescendant');\n self.$search.trigger('focus');\n });\n container.on('enable', function () {\n self.$search.prop('disabled', false);\n self._transferTabIndex();\n });\n container.on('disable', function () {\n self.$search.prop('disabled', true);\n });\n container.on('focus', function (evt) {\n self.$search.trigger('focus');\n });\n container.on('results:focus', function (params) {\n if (params.data._resultId) {\n self.$search.attr('aria-activedescendant', params.data._resultId);\n } else {\n self.$search.removeAttr('aria-activedescendant');\n }\n });\n this.$selection.on('focusin', '.select2-search--inline', function (evt) {\n self.trigger('focus', evt);\n });\n this.$selection.on('focusout', '.select2-search--inline', function (evt) {\n self._handleBlur(evt);\n });\n this.$selection.on('keydown', '.select2-search--inline', function (evt) {\n evt.stopPropagation();\n self.trigger('keypress', evt);\n self._keyUpPrevented = evt.isDefaultPrevented();\n var key = evt.which;\n if (key === KEYS.BACKSPACE && self.$search.val() === '') {\n var $previousChoice = self.$selection.find('.select2-selection__choice').last();\n if ($previousChoice.length > 0) {\n var item = Utils.GetData($previousChoice[0], 'data');\n self.searchRemoveChoice(item);\n evt.preventDefault();\n }\n }\n });\n this.$selection.on('click', '.select2-search--inline', function (evt) {\n if (self.$search.val()) {\n evt.stopPropagation();\n }\n });\n\n // Try to detect the IE version should the `documentMode` property that\n // is stored on the document. This is only implemented in IE and is\n // slightly cleaner than doing a user agent check.\n // This property is not available in Edge, but Edge also doesn't have\n // this bug.\n var msie = document.documentMode;\n var disableInputEvents = msie && msie <= 11;\n\n // Workaround for browsers which do not support the `input` event\n // This will prevent double-triggering of events for browsers which support\n // both the `keyup` and `input` events.\n this.$selection.on('input.searchcheck', '.select2-search--inline', function (evt) {\n // IE will trigger the `input` event when a placeholder is used on a\n // search box. To get around this issue, we are forced to ignore all\n // `input` events in IE and keep using `keyup`.\n if (disableInputEvents) {\n self.$selection.off('input.search input.searchcheck');\n return;\n }\n\n // Unbind the duplicated `keyup` event\n self.$selection.off('keyup.search');\n });\n this.$selection.on('keyup.search input.search', '.select2-search--inline', function (evt) {\n // IE will trigger the `input` event when a placeholder is used on a\n // search box. To get around this issue, we are forced to ignore all\n // `input` events in IE and keep using `keyup`.\n if (disableInputEvents && evt.type === 'input') {\n self.$selection.off('input.search input.searchcheck');\n return;\n }\n var key = evt.which;\n\n // We can freely ignore events from modifier keys\n if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) {\n return;\n }\n\n // Tabbing will be handled during the `keydown` phase\n if (key == KEYS.TAB) {\n return;\n }\n self.handleSearch(evt);\n });\n };\n\n /**\n * This method will transfer the tabindex attribute from the rendered\n * selection to the search box. This allows for the search box to be used as\n * the primary focus instead of the selection container.\n *\n * @private\n */\n Search.prototype._transferTabIndex = function (decorated) {\n this.$search.attr('tabindex', this.$selection.attr('tabindex'));\n this.$selection.attr('tabindex', '-1');\n };\n Search.prototype.createPlaceholder = function (decorated, placeholder) {\n this.$search.attr('placeholder', placeholder.text);\n };\n Search.prototype.update = function (decorated, data) {\n var searchHadFocus = this.$search[0] == document.activeElement;\n this.$search.attr('placeholder', '');\n decorated.call(this, data);\n this.resizeSearch();\n if (searchHadFocus) {\n this.$search.trigger('focus');\n }\n };\n Search.prototype.handleSearch = function () {\n this.resizeSearch();\n if (!this._keyUpPrevented) {\n var input = this.$search.val();\n this.trigger('query', {\n term: input\n });\n }\n this._keyUpPrevented = false;\n };\n Search.prototype.searchRemoveChoice = function (decorated, item) {\n this.trigger('unselect', {\n data: item\n });\n this.$search.val(item.text);\n this.handleSearch();\n };\n Search.prototype.resizeSearch = function () {\n this.$search.css('width', '25px');\n var width = '100%';\n if (this.$search.attr('placeholder') === '') {\n var minimumWidth = this.$search.val().length + 1;\n width = minimumWidth * 0.75 + 'em';\n }\n this.$search.css('width', width);\n };\n return Search;\n });\n S2.define('select2/selection/selectionCss', ['../utils'], function (Utils) {\n function SelectionCSS() {}\n SelectionCSS.prototype.render = function (decorated) {\n var $selection = decorated.call(this);\n var selectionCssClass = this.options.get('selectionCssClass') || '';\n if (selectionCssClass.indexOf(':all:') !== -1) {\n selectionCssClass = selectionCssClass.replace(':all:', '');\n Utils.copyNonInternalCssClasses($selection[0], this.$element[0]);\n }\n $selection.addClass(selectionCssClass);\n return $selection;\n };\n return SelectionCSS;\n });\n S2.define('select2/selection/eventRelay', ['jquery'], function ($) {\n function EventRelay() {}\n EventRelay.prototype.bind = function (decorated, container, $container) {\n var self = this;\n var relayEvents = ['open', 'opening', 'close', 'closing', 'select', 'selecting', 'unselect', 'unselecting', 'clear', 'clearing'];\n var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting', 'clearing'];\n decorated.call(this, container, $container);\n container.on('*', function (name, params) {\n // Ignore events that should not be relayed\n if (relayEvents.indexOf(name) === -1) {\n return;\n }\n\n // The parameters should always be an object\n params = params || {};\n\n // Generate the jQuery event for the Select2 event\n var evt = $.Event('select2:' + name, {\n params: params\n });\n self.$element.trigger(evt);\n\n // Only handle preventable events if it was one\n if (preventableEvents.indexOf(name) === -1) {\n return;\n }\n params.prevented = evt.isDefaultPrevented();\n });\n };\n return EventRelay;\n });\n S2.define('select2/translation', ['jquery', 'require'], function ($, require) {\n function Translation(dict) {\n this.dict = dict || {};\n }\n Translation.prototype.all = function () {\n return this.dict;\n };\n Translation.prototype.get = function (key) {\n return this.dict[key];\n };\n Translation.prototype.extend = function (translation) {\n this.dict = $.extend({}, translation.all(), this.dict);\n };\n\n // Static functions\n\n Translation._cache = {};\n Translation.loadPath = function (path) {\n if (!(path in Translation._cache)) {\n var translations = require(path);\n Translation._cache[path] = translations;\n }\n return new Translation(Translation._cache[path]);\n };\n return Translation;\n });\n S2.define('select2/diacritics', [], function () {\n var diacritics = {\n \"\\u24B6\": 'A',\n \"\\uFF21\": 'A',\n \"\\xC0\": 'A',\n \"\\xC1\": 'A',\n \"\\xC2\": 'A',\n \"\\u1EA6\": 'A',\n \"\\u1EA4\": 'A',\n \"\\u1EAA\": 'A',\n \"\\u1EA8\": 'A',\n \"\\xC3\": 'A',\n \"\\u0100\": 'A',\n \"\\u0102\": 'A',\n \"\\u1EB0\": 'A',\n \"\\u1EAE\": 'A',\n \"\\u1EB4\": 'A',\n \"\\u1EB2\": 'A',\n \"\\u0226\": 'A',\n \"\\u01E0\": 'A',\n \"\\xC4\": 'A',\n \"\\u01DE\": 'A',\n \"\\u1EA2\": 'A',\n \"\\xC5\": 'A',\n \"\\u01FA\": 'A',\n \"\\u01CD\": 'A',\n \"\\u0200\": 'A',\n \"\\u0202\": 'A',\n \"\\u1EA0\": 'A',\n \"\\u1EAC\": 'A',\n \"\\u1EB6\": 'A',\n \"\\u1E00\": 'A',\n \"\\u0104\": 'A',\n \"\\u023A\": 'A',\n \"\\u2C6F\": 'A',\n \"\\uA732\": 'AA',\n \"\\xC6\": 'AE',\n \"\\u01FC\": 'AE',\n \"\\u01E2\": 'AE',\n \"\\uA734\": 'AO',\n \"\\uA736\": 'AU',\n \"\\uA738\": 'AV',\n \"\\uA73A\": 'AV',\n \"\\uA73C\": 'AY',\n \"\\u24B7\": 'B',\n \"\\uFF22\": 'B',\n \"\\u1E02\": 'B',\n \"\\u1E04\": 'B',\n \"\\u1E06\": 'B',\n \"\\u0243\": 'B',\n \"\\u0182\": 'B',\n \"\\u0181\": 'B',\n \"\\u24B8\": 'C',\n \"\\uFF23\": 'C',\n \"\\u0106\": 'C',\n \"\\u0108\": 'C',\n \"\\u010A\": 'C',\n \"\\u010C\": 'C',\n \"\\xC7\": 'C',\n \"\\u1E08\": 'C',\n \"\\u0187\": 'C',\n \"\\u023B\": 'C',\n \"\\uA73E\": 'C',\n \"\\u24B9\": 'D',\n \"\\uFF24\": 'D',\n \"\\u1E0A\": 'D',\n \"\\u010E\": 'D',\n \"\\u1E0C\": 'D',\n \"\\u1E10\": 'D',\n \"\\u1E12\": 'D',\n \"\\u1E0E\": 'D',\n \"\\u0110\": 'D',\n \"\\u018B\": 'D',\n \"\\u018A\": 'D',\n \"\\u0189\": 'D',\n \"\\uA779\": 'D',\n \"\\u01F1\": 'DZ',\n \"\\u01C4\": 'DZ',\n \"\\u01F2\": 'Dz',\n \"\\u01C5\": 'Dz',\n \"\\u24BA\": 'E',\n \"\\uFF25\": 'E',\n \"\\xC8\": 'E',\n \"\\xC9\": 'E',\n \"\\xCA\": 'E',\n \"\\u1EC0\": 'E',\n \"\\u1EBE\": 'E',\n \"\\u1EC4\": 'E',\n \"\\u1EC2\": 'E',\n \"\\u1EBC\": 'E',\n \"\\u0112\": 'E',\n \"\\u1E14\": 'E',\n \"\\u1E16\": 'E',\n \"\\u0114\": 'E',\n \"\\u0116\": 'E',\n \"\\xCB\": 'E',\n \"\\u1EBA\": 'E',\n \"\\u011A\": 'E',\n \"\\u0204\": 'E',\n \"\\u0206\": 'E',\n \"\\u1EB8\": 'E',\n \"\\u1EC6\": 'E',\n \"\\u0228\": 'E',\n \"\\u1E1C\": 'E',\n \"\\u0118\": 'E',\n \"\\u1E18\": 'E',\n \"\\u1E1A\": 'E',\n \"\\u0190\": 'E',\n \"\\u018E\": 'E',\n \"\\u24BB\": 'F',\n \"\\uFF26\": 'F',\n \"\\u1E1E\": 'F',\n \"\\u0191\": 'F',\n \"\\uA77B\": 'F',\n \"\\u24BC\": 'G',\n \"\\uFF27\": 'G',\n \"\\u01F4\": 'G',\n \"\\u011C\": 'G',\n \"\\u1E20\": 'G',\n \"\\u011E\": 'G',\n \"\\u0120\": 'G',\n \"\\u01E6\": 'G',\n \"\\u0122\": 'G',\n \"\\u01E4\": 'G',\n \"\\u0193\": 'G',\n \"\\uA7A0\": 'G',\n \"\\uA77D\": 'G',\n \"\\uA77E\": 'G',\n \"\\u24BD\": 'H',\n \"\\uFF28\": 'H',\n \"\\u0124\": 'H',\n \"\\u1E22\": 'H',\n \"\\u1E26\": 'H',\n \"\\u021E\": 'H',\n \"\\u1E24\": 'H',\n \"\\u1E28\": 'H',\n \"\\u1E2A\": 'H',\n \"\\u0126\": 'H',\n \"\\u2C67\": 'H',\n \"\\u2C75\": 'H',\n \"\\uA78D\": 'H',\n \"\\u24BE\": 'I',\n \"\\uFF29\": 'I',\n \"\\xCC\": 'I',\n \"\\xCD\": 'I',\n \"\\xCE\": 'I',\n \"\\u0128\": 'I',\n \"\\u012A\": 'I',\n \"\\u012C\": 'I',\n \"\\u0130\": 'I',\n \"\\xCF\": 'I',\n \"\\u1E2E\": 'I',\n \"\\u1EC8\": 'I',\n \"\\u01CF\": 'I',\n \"\\u0208\": 'I',\n \"\\u020A\": 'I',\n \"\\u1ECA\": 'I',\n \"\\u012E\": 'I',\n \"\\u1E2C\": 'I',\n \"\\u0197\": 'I',\n \"\\u24BF\": 'J',\n \"\\uFF2A\": 'J',\n \"\\u0134\": 'J',\n \"\\u0248\": 'J',\n \"\\u24C0\": 'K',\n \"\\uFF2B\": 'K',\n \"\\u1E30\": 'K',\n \"\\u01E8\": 'K',\n \"\\u1E32\": 'K',\n \"\\u0136\": 'K',\n \"\\u1E34\": 'K',\n \"\\u0198\": 'K',\n \"\\u2C69\": 'K',\n \"\\uA740\": 'K',\n \"\\uA742\": 'K',\n \"\\uA744\": 'K',\n \"\\uA7A2\": 'K',\n \"\\u24C1\": 'L',\n \"\\uFF2C\": 'L',\n \"\\u013F\": 'L',\n \"\\u0139\": 'L',\n \"\\u013D\": 'L',\n \"\\u1E36\": 'L',\n \"\\u1E38\": 'L',\n \"\\u013B\": 'L',\n \"\\u1E3C\": 'L',\n \"\\u1E3A\": 'L',\n \"\\u0141\": 'L',\n \"\\u023D\": 'L',\n \"\\u2C62\": 'L',\n \"\\u2C60\": 'L',\n \"\\uA748\": 'L',\n \"\\uA746\": 'L',\n \"\\uA780\": 'L',\n \"\\u01C7\": 'LJ',\n \"\\u01C8\": 'Lj',\n \"\\u24C2\": 'M',\n \"\\uFF2D\": 'M',\n \"\\u1E3E\": 'M',\n \"\\u1E40\": 'M',\n \"\\u1E42\": 'M',\n \"\\u2C6E\": 'M',\n \"\\u019C\": 'M',\n \"\\u24C3\": 'N',\n \"\\uFF2E\": 'N',\n \"\\u01F8\": 'N',\n \"\\u0143\": 'N',\n \"\\xD1\": 'N',\n \"\\u1E44\": 'N',\n \"\\u0147\": 'N',\n \"\\u1E46\": 'N',\n \"\\u0145\": 'N',\n \"\\u1E4A\": 'N',\n \"\\u1E48\": 'N',\n \"\\u0220\": 'N',\n \"\\u019D\": 'N',\n \"\\uA790\": 'N',\n \"\\uA7A4\": 'N',\n \"\\u01CA\": 'NJ',\n \"\\u01CB\": 'Nj',\n \"\\u24C4\": 'O',\n \"\\uFF2F\": 'O',\n \"\\xD2\": 'O',\n \"\\xD3\": 'O',\n \"\\xD4\": 'O',\n \"\\u1ED2\": 'O',\n \"\\u1ED0\": 'O',\n \"\\u1ED6\": 'O',\n \"\\u1ED4\": 'O',\n \"\\xD5\": 'O',\n \"\\u1E4C\": 'O',\n \"\\u022C\": 'O',\n \"\\u1E4E\": 'O',\n \"\\u014C\": 'O',\n \"\\u1E50\": 'O',\n \"\\u1E52\": 'O',\n \"\\u014E\": 'O',\n \"\\u022E\": 'O',\n \"\\u0230\": 'O',\n \"\\xD6\": 'O',\n \"\\u022A\": 'O',\n \"\\u1ECE\": 'O',\n \"\\u0150\": 'O',\n \"\\u01D1\": 'O',\n \"\\u020C\": 'O',\n \"\\u020E\": 'O',\n \"\\u01A0\": 'O',\n \"\\u1EDC\": 'O',\n \"\\u1EDA\": 'O',\n \"\\u1EE0\": 'O',\n \"\\u1EDE\": 'O',\n \"\\u1EE2\": 'O',\n \"\\u1ECC\": 'O',\n \"\\u1ED8\": 'O',\n \"\\u01EA\": 'O',\n \"\\u01EC\": 'O',\n \"\\xD8\": 'O',\n \"\\u01FE\": 'O',\n \"\\u0186\": 'O',\n \"\\u019F\": 'O',\n \"\\uA74A\": 'O',\n \"\\uA74C\": 'O',\n \"\\u0152\": 'OE',\n \"\\u01A2\": 'OI',\n \"\\uA74E\": 'OO',\n \"\\u0222\": 'OU',\n \"\\u24C5\": 'P',\n \"\\uFF30\": 'P',\n \"\\u1E54\": 'P',\n \"\\u1E56\": 'P',\n \"\\u01A4\": 'P',\n \"\\u2C63\": 'P',\n \"\\uA750\": 'P',\n \"\\uA752\": 'P',\n \"\\uA754\": 'P',\n \"\\u24C6\": 'Q',\n \"\\uFF31\": 'Q',\n \"\\uA756\": 'Q',\n \"\\uA758\": 'Q',\n \"\\u024A\": 'Q',\n \"\\u24C7\": 'R',\n \"\\uFF32\": 'R',\n \"\\u0154\": 'R',\n \"\\u1E58\": 'R',\n \"\\u0158\": 'R',\n \"\\u0210\": 'R',\n \"\\u0212\": 'R',\n \"\\u1E5A\": 'R',\n \"\\u1E5C\": 'R',\n \"\\u0156\": 'R',\n \"\\u1E5E\": 'R',\n \"\\u024C\": 'R',\n \"\\u2C64\": 'R',\n \"\\uA75A\": 'R',\n \"\\uA7A6\": 'R',\n \"\\uA782\": 'R',\n \"\\u24C8\": 'S',\n \"\\uFF33\": 'S',\n \"\\u1E9E\": 'S',\n \"\\u015A\": 'S',\n \"\\u1E64\": 'S',\n \"\\u015C\": 'S',\n \"\\u1E60\": 'S',\n \"\\u0160\": 'S',\n \"\\u1E66\": 'S',\n \"\\u1E62\": 'S',\n \"\\u1E68\": 'S',\n \"\\u0218\": 'S',\n \"\\u015E\": 'S',\n \"\\u2C7E\": 'S',\n \"\\uA7A8\": 'S',\n \"\\uA784\": 'S',\n \"\\u24C9\": 'T',\n \"\\uFF34\": 'T',\n \"\\u1E6A\": 'T',\n \"\\u0164\": 'T',\n \"\\u1E6C\": 'T',\n \"\\u021A\": 'T',\n \"\\u0162\": 'T',\n \"\\u1E70\": 'T',\n \"\\u1E6E\": 'T',\n \"\\u0166\": 'T',\n \"\\u01AC\": 'T',\n \"\\u01AE\": 'T',\n \"\\u023E\": 'T',\n \"\\uA786\": 'T',\n \"\\uA728\": 'TZ',\n \"\\u24CA\": 'U',\n \"\\uFF35\": 'U',\n \"\\xD9\": 'U',\n \"\\xDA\": 'U',\n \"\\xDB\": 'U',\n \"\\u0168\": 'U',\n \"\\u1E78\": 'U',\n \"\\u016A\": 'U',\n \"\\u1E7A\": 'U',\n \"\\u016C\": 'U',\n \"\\xDC\": 'U',\n \"\\u01DB\": 'U',\n \"\\u01D7\": 'U',\n \"\\u01D5\": 'U',\n \"\\u01D9\": 'U',\n \"\\u1EE6\": 'U',\n \"\\u016E\": 'U',\n \"\\u0170\": 'U',\n \"\\u01D3\": 'U',\n \"\\u0214\": 'U',\n \"\\u0216\": 'U',\n \"\\u01AF\": 'U',\n \"\\u1EEA\": 'U',\n \"\\u1EE8\": 'U',\n \"\\u1EEE\": 'U',\n \"\\u1EEC\": 'U',\n \"\\u1EF0\": 'U',\n \"\\u1EE4\": 'U',\n \"\\u1E72\": 'U',\n \"\\u0172\": 'U',\n \"\\u1E76\": 'U',\n \"\\u1E74\": 'U',\n \"\\u0244\": 'U',\n \"\\u24CB\": 'V',\n \"\\uFF36\": 'V',\n \"\\u1E7C\": 'V',\n \"\\u1E7E\": 'V',\n \"\\u01B2\": 'V',\n \"\\uA75E\": 'V',\n \"\\u0245\": 'V',\n \"\\uA760\": 'VY',\n \"\\u24CC\": 'W',\n \"\\uFF37\": 'W',\n \"\\u1E80\": 'W',\n \"\\u1E82\": 'W',\n \"\\u0174\": 'W',\n \"\\u1E86\": 'W',\n \"\\u1E84\": 'W',\n \"\\u1E88\": 'W',\n \"\\u2C72\": 'W',\n \"\\u24CD\": 'X',\n \"\\uFF38\": 'X',\n \"\\u1E8A\": 'X',\n \"\\u1E8C\": 'X',\n \"\\u24CE\": 'Y',\n \"\\uFF39\": 'Y',\n \"\\u1EF2\": 'Y',\n \"\\xDD\": 'Y',\n \"\\u0176\": 'Y',\n \"\\u1EF8\": 'Y',\n \"\\u0232\": 'Y',\n \"\\u1E8E\": 'Y',\n \"\\u0178\": 'Y',\n \"\\u1EF6\": 'Y',\n \"\\u1EF4\": 'Y',\n \"\\u01B3\": 'Y',\n \"\\u024E\": 'Y',\n \"\\u1EFE\": 'Y',\n \"\\u24CF\": 'Z',\n \"\\uFF3A\": 'Z',\n \"\\u0179\": 'Z',\n \"\\u1E90\": 'Z',\n \"\\u017B\": 'Z',\n \"\\u017D\": 'Z',\n \"\\u1E92\": 'Z',\n \"\\u1E94\": 'Z',\n \"\\u01B5\": 'Z',\n \"\\u0224\": 'Z',\n \"\\u2C7F\": 'Z',\n \"\\u2C6B\": 'Z',\n \"\\uA762\": 'Z',\n \"\\u24D0\": 'a',\n \"\\uFF41\": 'a',\n \"\\u1E9A\": 'a',\n \"\\xE0\": 'a',\n \"\\xE1\": 'a',\n \"\\xE2\": 'a',\n \"\\u1EA7\": 'a',\n \"\\u1EA5\": 'a',\n \"\\u1EAB\": 'a',\n \"\\u1EA9\": 'a',\n \"\\xE3\": 'a',\n \"\\u0101\": 'a',\n \"\\u0103\": 'a',\n \"\\u1EB1\": 'a',\n \"\\u1EAF\": 'a',\n \"\\u1EB5\": 'a',\n \"\\u1EB3\": 'a',\n \"\\u0227\": 'a',\n \"\\u01E1\": 'a',\n \"\\xE4\": 'a',\n \"\\u01DF\": 'a',\n \"\\u1EA3\": 'a',\n \"\\xE5\": 'a',\n \"\\u01FB\": 'a',\n \"\\u01CE\": 'a',\n \"\\u0201\": 'a',\n \"\\u0203\": 'a',\n \"\\u1EA1\": 'a',\n \"\\u1EAD\": 'a',\n \"\\u1EB7\": 'a',\n \"\\u1E01\": 'a',\n \"\\u0105\": 'a',\n \"\\u2C65\": 'a',\n \"\\u0250\": 'a',\n \"\\uA733\": 'aa',\n \"\\xE6\": 'ae',\n \"\\u01FD\": 'ae',\n \"\\u01E3\": 'ae',\n \"\\uA735\": 'ao',\n \"\\uA737\": 'au',\n \"\\uA739\": 'av',\n \"\\uA73B\": 'av',\n \"\\uA73D\": 'ay',\n \"\\u24D1\": 'b',\n \"\\uFF42\": 'b',\n \"\\u1E03\": 'b',\n \"\\u1E05\": 'b',\n \"\\u1E07\": 'b',\n \"\\u0180\": 'b',\n \"\\u0183\": 'b',\n \"\\u0253\": 'b',\n \"\\u24D2\": 'c',\n \"\\uFF43\": 'c',\n \"\\u0107\": 'c',\n \"\\u0109\": 'c',\n \"\\u010B\": 'c',\n \"\\u010D\": 'c',\n \"\\xE7\": 'c',\n \"\\u1E09\": 'c',\n \"\\u0188\": 'c',\n \"\\u023C\": 'c',\n \"\\uA73F\": 'c',\n \"\\u2184\": 'c',\n \"\\u24D3\": 'd',\n \"\\uFF44\": 'd',\n \"\\u1E0B\": 'd',\n \"\\u010F\": 'd',\n \"\\u1E0D\": 'd',\n \"\\u1E11\": 'd',\n \"\\u1E13\": 'd',\n \"\\u1E0F\": 'd',\n \"\\u0111\": 'd',\n \"\\u018C\": 'd',\n \"\\u0256\": 'd',\n \"\\u0257\": 'd',\n \"\\uA77A\": 'd',\n \"\\u01F3\": 'dz',\n \"\\u01C6\": 'dz',\n \"\\u24D4\": 'e',\n \"\\uFF45\": 'e',\n \"\\xE8\": 'e',\n \"\\xE9\": 'e',\n \"\\xEA\": 'e',\n \"\\u1EC1\": 'e',\n \"\\u1EBF\": 'e',\n \"\\u1EC5\": 'e',\n \"\\u1EC3\": 'e',\n \"\\u1EBD\": 'e',\n \"\\u0113\": 'e',\n \"\\u1E15\": 'e',\n \"\\u1E17\": 'e',\n \"\\u0115\": 'e',\n \"\\u0117\": 'e',\n \"\\xEB\": 'e',\n \"\\u1EBB\": 'e',\n \"\\u011B\": 'e',\n \"\\u0205\": 'e',\n \"\\u0207\": 'e',\n \"\\u1EB9\": 'e',\n \"\\u1EC7\": 'e',\n \"\\u0229\": 'e',\n \"\\u1E1D\": 'e',\n \"\\u0119\": 'e',\n \"\\u1E19\": 'e',\n \"\\u1E1B\": 'e',\n \"\\u0247\": 'e',\n \"\\u025B\": 'e',\n \"\\u01DD\": 'e',\n \"\\u24D5\": 'f',\n \"\\uFF46\": 'f',\n \"\\u1E1F\": 'f',\n \"\\u0192\": 'f',\n \"\\uA77C\": 'f',\n \"\\u24D6\": 'g',\n \"\\uFF47\": 'g',\n \"\\u01F5\": 'g',\n \"\\u011D\": 'g',\n \"\\u1E21\": 'g',\n \"\\u011F\": 'g',\n \"\\u0121\": 'g',\n \"\\u01E7\": 'g',\n \"\\u0123\": 'g',\n \"\\u01E5\": 'g',\n \"\\u0260\": 'g',\n \"\\uA7A1\": 'g',\n \"\\u1D79\": 'g',\n \"\\uA77F\": 'g',\n \"\\u24D7\": 'h',\n \"\\uFF48\": 'h',\n \"\\u0125\": 'h',\n \"\\u1E23\": 'h',\n \"\\u1E27\": 'h',\n \"\\u021F\": 'h',\n \"\\u1E25\": 'h',\n \"\\u1E29\": 'h',\n \"\\u1E2B\": 'h',\n \"\\u1E96\": 'h',\n \"\\u0127\": 'h',\n \"\\u2C68\": 'h',\n \"\\u2C76\": 'h',\n \"\\u0265\": 'h',\n \"\\u0195\": 'hv',\n \"\\u24D8\": 'i',\n \"\\uFF49\": 'i',\n \"\\xEC\": 'i',\n \"\\xED\": 'i',\n \"\\xEE\": 'i',\n \"\\u0129\": 'i',\n \"\\u012B\": 'i',\n \"\\u012D\": 'i',\n \"\\xEF\": 'i',\n \"\\u1E2F\": 'i',\n \"\\u1EC9\": 'i',\n \"\\u01D0\": 'i',\n \"\\u0209\": 'i',\n \"\\u020B\": 'i',\n \"\\u1ECB\": 'i',\n \"\\u012F\": 'i',\n \"\\u1E2D\": 'i',\n \"\\u0268\": 'i',\n \"\\u0131\": 'i',\n \"\\u24D9\": 'j',\n \"\\uFF4A\": 'j',\n \"\\u0135\": 'j',\n \"\\u01F0\": 'j',\n \"\\u0249\": 'j',\n \"\\u24DA\": 'k',\n \"\\uFF4B\": 'k',\n \"\\u1E31\": 'k',\n \"\\u01E9\": 'k',\n \"\\u1E33\": 'k',\n \"\\u0137\": 'k',\n \"\\u1E35\": 'k',\n \"\\u0199\": 'k',\n \"\\u2C6A\": 'k',\n \"\\uA741\": 'k',\n \"\\uA743\": 'k',\n \"\\uA745\": 'k',\n \"\\uA7A3\": 'k',\n \"\\u24DB\": 'l',\n \"\\uFF4C\": 'l',\n \"\\u0140\": 'l',\n \"\\u013A\": 'l',\n \"\\u013E\": 'l',\n \"\\u1E37\": 'l',\n \"\\u1E39\": 'l',\n \"\\u013C\": 'l',\n \"\\u1E3D\": 'l',\n \"\\u1E3B\": 'l',\n \"\\u017F\": 'l',\n \"\\u0142\": 'l',\n \"\\u019A\": 'l',\n \"\\u026B\": 'l',\n \"\\u2C61\": 'l',\n \"\\uA749\": 'l',\n \"\\uA781\": 'l',\n \"\\uA747\": 'l',\n \"\\u01C9\": 'lj',\n \"\\u24DC\": 'm',\n \"\\uFF4D\": 'm',\n \"\\u1E3F\": 'm',\n \"\\u1E41\": 'm',\n \"\\u1E43\": 'm',\n \"\\u0271\": 'm',\n \"\\u026F\": 'm',\n \"\\u24DD\": 'n',\n \"\\uFF4E\": 'n',\n \"\\u01F9\": 'n',\n \"\\u0144\": 'n',\n \"\\xF1\": 'n',\n \"\\u1E45\": 'n',\n \"\\u0148\": 'n',\n \"\\u1E47\": 'n',\n \"\\u0146\": 'n',\n \"\\u1E4B\": 'n',\n \"\\u1E49\": 'n',\n \"\\u019E\": 'n',\n \"\\u0272\": 'n',\n \"\\u0149\": 'n',\n \"\\uA791\": 'n',\n \"\\uA7A5\": 'n',\n \"\\u01CC\": 'nj',\n \"\\u24DE\": 'o',\n \"\\uFF4F\": 'o',\n \"\\xF2\": 'o',\n \"\\xF3\": 'o',\n \"\\xF4\": 'o',\n \"\\u1ED3\": 'o',\n \"\\u1ED1\": 'o',\n \"\\u1ED7\": 'o',\n \"\\u1ED5\": 'o',\n \"\\xF5\": 'o',\n \"\\u1E4D\": 'o',\n \"\\u022D\": 'o',\n \"\\u1E4F\": 'o',\n \"\\u014D\": 'o',\n \"\\u1E51\": 'o',\n \"\\u1E53\": 'o',\n \"\\u014F\": 'o',\n \"\\u022F\": 'o',\n \"\\u0231\": 'o',\n \"\\xF6\": 'o',\n \"\\u022B\": 'o',\n \"\\u1ECF\": 'o',\n \"\\u0151\": 'o',\n \"\\u01D2\": 'o',\n \"\\u020D\": 'o',\n \"\\u020F\": 'o',\n \"\\u01A1\": 'o',\n \"\\u1EDD\": 'o',\n \"\\u1EDB\": 'o',\n \"\\u1EE1\": 'o',\n \"\\u1EDF\": 'o',\n \"\\u1EE3\": 'o',\n \"\\u1ECD\": 'o',\n \"\\u1ED9\": 'o',\n \"\\u01EB\": 'o',\n \"\\u01ED\": 'o',\n \"\\xF8\": 'o',\n \"\\u01FF\": 'o',\n \"\\u0254\": 'o',\n \"\\uA74B\": 'o',\n \"\\uA74D\": 'o',\n \"\\u0275\": 'o',\n \"\\u0153\": 'oe',\n \"\\u01A3\": 'oi',\n \"\\u0223\": 'ou',\n \"\\uA74F\": 'oo',\n \"\\u24DF\": 'p',\n \"\\uFF50\": 'p',\n \"\\u1E55\": 'p',\n \"\\u1E57\": 'p',\n \"\\u01A5\": 'p',\n \"\\u1D7D\": 'p',\n \"\\uA751\": 'p',\n \"\\uA753\": 'p',\n \"\\uA755\": 'p',\n \"\\u24E0\": 'q',\n \"\\uFF51\": 'q',\n \"\\u024B\": 'q',\n \"\\uA757\": 'q',\n \"\\uA759\": 'q',\n \"\\u24E1\": 'r',\n \"\\uFF52\": 'r',\n \"\\u0155\": 'r',\n \"\\u1E59\": 'r',\n \"\\u0159\": 'r',\n \"\\u0211\": 'r',\n \"\\u0213\": 'r',\n \"\\u1E5B\": 'r',\n \"\\u1E5D\": 'r',\n \"\\u0157\": 'r',\n \"\\u1E5F\": 'r',\n \"\\u024D\": 'r',\n \"\\u027D\": 'r',\n \"\\uA75B\": 'r',\n \"\\uA7A7\": 'r',\n \"\\uA783\": 'r',\n \"\\u24E2\": 's',\n \"\\uFF53\": 's',\n \"\\xDF\": 's',\n \"\\u015B\": 's',\n \"\\u1E65\": 's',\n \"\\u015D\": 's',\n \"\\u1E61\": 's',\n \"\\u0161\": 's',\n \"\\u1E67\": 's',\n \"\\u1E63\": 's',\n \"\\u1E69\": 's',\n \"\\u0219\": 's',\n \"\\u015F\": 's',\n \"\\u023F\": 's',\n \"\\uA7A9\": 's',\n \"\\uA785\": 's',\n \"\\u1E9B\": 's',\n \"\\u24E3\": 't',\n \"\\uFF54\": 't',\n \"\\u1E6B\": 't',\n \"\\u1E97\": 't',\n \"\\u0165\": 't',\n \"\\u1E6D\": 't',\n \"\\u021B\": 't',\n \"\\u0163\": 't',\n \"\\u1E71\": 't',\n \"\\u1E6F\": 't',\n \"\\u0167\": 't',\n \"\\u01AD\": 't',\n \"\\u0288\": 't',\n \"\\u2C66\": 't',\n \"\\uA787\": 't',\n \"\\uA729\": 'tz',\n \"\\u24E4\": 'u',\n \"\\uFF55\": 'u',\n \"\\xF9\": 'u',\n \"\\xFA\": 'u',\n \"\\xFB\": 'u',\n \"\\u0169\": 'u',\n \"\\u1E79\": 'u',\n \"\\u016B\": 'u',\n \"\\u1E7B\": 'u',\n \"\\u016D\": 'u',\n \"\\xFC\": 'u',\n \"\\u01DC\": 'u',\n \"\\u01D8\": 'u',\n \"\\u01D6\": 'u',\n \"\\u01DA\": 'u',\n \"\\u1EE7\": 'u',\n \"\\u016F\": 'u',\n \"\\u0171\": 'u',\n \"\\u01D4\": 'u',\n \"\\u0215\": 'u',\n \"\\u0217\": 'u',\n \"\\u01B0\": 'u',\n \"\\u1EEB\": 'u',\n \"\\u1EE9\": 'u',\n \"\\u1EEF\": 'u',\n \"\\u1EED\": 'u',\n \"\\u1EF1\": 'u',\n \"\\u1EE5\": 'u',\n \"\\u1E73\": 'u',\n \"\\u0173\": 'u',\n \"\\u1E77\": 'u',\n \"\\u1E75\": 'u',\n \"\\u0289\": 'u',\n \"\\u24E5\": 'v',\n \"\\uFF56\": 'v',\n \"\\u1E7D\": 'v',\n \"\\u1E7F\": 'v',\n \"\\u028B\": 'v',\n \"\\uA75F\": 'v',\n \"\\u028C\": 'v',\n \"\\uA761\": 'vy',\n \"\\u24E6\": 'w',\n \"\\uFF57\": 'w',\n \"\\u1E81\": 'w',\n \"\\u1E83\": 'w',\n \"\\u0175\": 'w',\n \"\\u1E87\": 'w',\n \"\\u1E85\": 'w',\n \"\\u1E98\": 'w',\n \"\\u1E89\": 'w',\n \"\\u2C73\": 'w',\n \"\\u24E7\": 'x',\n \"\\uFF58\": 'x',\n \"\\u1E8B\": 'x',\n \"\\u1E8D\": 'x',\n \"\\u24E8\": 'y',\n \"\\uFF59\": 'y',\n \"\\u1EF3\": 'y',\n \"\\xFD\": 'y',\n \"\\u0177\": 'y',\n \"\\u1EF9\": 'y',\n \"\\u0233\": 'y',\n \"\\u1E8F\": 'y',\n \"\\xFF\": 'y',\n \"\\u1EF7\": 'y',\n \"\\u1E99\": 'y',\n \"\\u1EF5\": 'y',\n \"\\u01B4\": 'y',\n \"\\u024F\": 'y',\n \"\\u1EFF\": 'y',\n \"\\u24E9\": 'z',\n \"\\uFF5A\": 'z',\n \"\\u017A\": 'z',\n \"\\u1E91\": 'z',\n \"\\u017C\": 'z',\n \"\\u017E\": 'z',\n \"\\u1E93\": 'z',\n \"\\u1E95\": 'z',\n \"\\u01B6\": 'z',\n \"\\u0225\": 'z',\n \"\\u0240\": 'z',\n \"\\u2C6C\": 'z',\n \"\\uA763\": 'z',\n \"\\u0386\": \"\\u0391\",\n \"\\u0388\": \"\\u0395\",\n \"\\u0389\": \"\\u0397\",\n \"\\u038A\": \"\\u0399\",\n \"\\u03AA\": \"\\u0399\",\n \"\\u038C\": \"\\u039F\",\n \"\\u038E\": \"\\u03A5\",\n \"\\u03AB\": \"\\u03A5\",\n \"\\u038F\": \"\\u03A9\",\n \"\\u03AC\": \"\\u03B1\",\n \"\\u03AD\": \"\\u03B5\",\n \"\\u03AE\": \"\\u03B7\",\n \"\\u03AF\": \"\\u03B9\",\n \"\\u03CA\": \"\\u03B9\",\n \"\\u0390\": \"\\u03B9\",\n \"\\u03CC\": \"\\u03BF\",\n \"\\u03CD\": \"\\u03C5\",\n \"\\u03CB\": \"\\u03C5\",\n \"\\u03B0\": \"\\u03C5\",\n \"\\u03CE\": \"\\u03C9\",\n \"\\u03C2\": \"\\u03C3\",\n \"\\u2019\": '\\''\n };\n return diacritics;\n });\n S2.define('select2/data/base', ['../utils'], function (Utils) {\n function BaseAdapter($element, options) {\n BaseAdapter.__super__.constructor.call(this);\n }\n Utils.Extend(BaseAdapter, Utils.Observable);\n BaseAdapter.prototype.current = function (callback) {\n throw new Error('The `current` method must be defined in child classes.');\n };\n BaseAdapter.prototype.query = function (params, callback) {\n throw new Error('The `query` method must be defined in child classes.');\n };\n BaseAdapter.prototype.bind = function (container, $container) {\n // Can be implemented in subclasses\n };\n BaseAdapter.prototype.destroy = function () {\n // Can be implemented in subclasses\n };\n BaseAdapter.prototype.generateResultId = function (container, data) {\n var id = container.id + '-result-';\n id += Utils.generateChars(4);\n if (data.id != null) {\n id += '-' + data.id.toString();\n } else {\n id += '-' + Utils.generateChars(4);\n }\n return id;\n };\n return BaseAdapter;\n });\n S2.define('select2/data/select', ['./base', '../utils', 'jquery'], function (BaseAdapter, Utils, $) {\n function SelectAdapter($element, options) {\n this.$element = $element;\n this.options = options;\n SelectAdapter.__super__.constructor.call(this);\n }\n Utils.Extend(SelectAdapter, BaseAdapter);\n SelectAdapter.prototype.current = function (callback) {\n var self = this;\n var data = Array.prototype.map.call(this.$element[0].querySelectorAll(':checked'), function (selectedElement) {\n return self.item($(selectedElement));\n });\n callback(data);\n };\n SelectAdapter.prototype.select = function (data) {\n var self = this;\n data.selected = true;\n\n // If data.element is a DOM node, use it instead\n if (data.element != null && data.element.tagName.toLowerCase() === 'option') {\n data.element.selected = true;\n this.$element.trigger('input').trigger('change');\n return;\n }\n if (this.$element.prop('multiple')) {\n this.current(function (currentData) {\n var val = [];\n data = [data];\n data.push.apply(data, currentData);\n for (var d = 0; d < data.length; d++) {\n var id = data[d].id;\n if (val.indexOf(id) === -1) {\n val.push(id);\n }\n }\n self.$element.val(val);\n self.$element.trigger('input').trigger('change');\n });\n } else {\n var val = data.id;\n this.$element.val(val);\n this.$element.trigger('input').trigger('change');\n }\n };\n SelectAdapter.prototype.unselect = function (data) {\n var self = this;\n if (!this.$element.prop('multiple')) {\n return;\n }\n data.selected = false;\n if (data.element != null && data.element.tagName.toLowerCase() === 'option') {\n data.element.selected = false;\n this.$element.trigger('input').trigger('change');\n return;\n }\n this.current(function (currentData) {\n var val = [];\n for (var d = 0; d < currentData.length; d++) {\n var id = currentData[d].id;\n if (id !== data.id && val.indexOf(id) === -1) {\n val.push(id);\n }\n }\n self.$element.val(val);\n self.$element.trigger('input').trigger('change');\n });\n };\n SelectAdapter.prototype.bind = function (container, $container) {\n var self = this;\n this.container = container;\n container.on('select', function (params) {\n self.select(params.data);\n });\n container.on('unselect', function (params) {\n self.unselect(params.data);\n });\n };\n SelectAdapter.prototype.destroy = function () {\n // Remove anything added to child elements\n this.$element.find('*').each(function () {\n // Remove any custom data set by Select2\n Utils.RemoveData(this);\n });\n };\n SelectAdapter.prototype.query = function (params, callback) {\n var data = [];\n var self = this;\n var $options = this.$element.children();\n $options.each(function () {\n if (this.tagName.toLowerCase() !== 'option' && this.tagName.toLowerCase() !== 'optgroup') {\n return;\n }\n var $option = $(this);\n var option = self.item($option);\n var matches = self.matches(params, option);\n if (matches !== null) {\n data.push(matches);\n }\n });\n callback({\n results: data\n });\n };\n SelectAdapter.prototype.addOptions = function ($options) {\n this.$element.append($options);\n };\n SelectAdapter.prototype.option = function (data) {\n var option;\n if (data.children) {\n option = document.createElement('optgroup');\n option.label = data.text;\n } else {\n option = document.createElement('option');\n if (option.textContent !== undefined) {\n option.textContent = data.text;\n } else {\n option.innerText = data.text;\n }\n }\n if (data.id !== undefined) {\n option.value = data.id;\n }\n if (data.disabled) {\n option.disabled = true;\n }\n if (data.selected) {\n option.selected = true;\n }\n if (data.title) {\n option.title = data.title;\n }\n var normalizedData = this._normalizeItem(data);\n normalizedData.element = option;\n\n // Override the option's data with the combined data\n Utils.StoreData(option, 'data', normalizedData);\n return $(option);\n };\n SelectAdapter.prototype.item = function ($option) {\n var data = {};\n data = Utils.GetData($option[0], 'data');\n if (data != null) {\n return data;\n }\n var option = $option[0];\n if (option.tagName.toLowerCase() === 'option') {\n data = {\n id: $option.val(),\n text: $option.text(),\n disabled: $option.prop('disabled'),\n selected: $option.prop('selected'),\n title: $option.prop('title')\n };\n } else if (option.tagName.toLowerCase() === 'optgroup') {\n data = {\n text: $option.prop('label'),\n children: [],\n title: $option.prop('title')\n };\n var $children = $option.children('option');\n var children = [];\n for (var c = 0; c < $children.length; c++) {\n var $child = $($children[c]);\n var child = this.item($child);\n children.push(child);\n }\n data.children = children;\n }\n data = this._normalizeItem(data);\n data.element = $option[0];\n Utils.StoreData($option[0], 'data', data);\n return data;\n };\n SelectAdapter.prototype._normalizeItem = function (item) {\n if (item !== Object(item)) {\n item = {\n id: item,\n text: item\n };\n }\n item = $.extend({}, {\n text: ''\n }, item);\n var defaults = {\n selected: false,\n disabled: false\n };\n if (item.id != null) {\n item.id = item.id.toString();\n }\n if (item.text != null) {\n item.text = item.text.toString();\n }\n if (item._resultId == null && item.id && this.container != null) {\n item._resultId = this.generateResultId(this.container, item);\n }\n return $.extend({}, defaults, item);\n };\n SelectAdapter.prototype.matches = function (params, data) {\n var matcher = this.options.get('matcher');\n return matcher(params, data);\n };\n return SelectAdapter;\n });\n S2.define('select2/data/array', ['./select', '../utils', 'jquery'], function (SelectAdapter, Utils, $) {\n function ArrayAdapter($element, options) {\n this._dataToConvert = options.get('data') || [];\n ArrayAdapter.__super__.constructor.call(this, $element, options);\n }\n Utils.Extend(ArrayAdapter, SelectAdapter);\n ArrayAdapter.prototype.bind = function (container, $container) {\n ArrayAdapter.__super__.bind.call(this, container, $container);\n this.addOptions(this.convertToOptions(this._dataToConvert));\n };\n ArrayAdapter.prototype.select = function (data) {\n var $option = this.$element.find('option').filter(function (i, elm) {\n return elm.value == data.id.toString();\n });\n if ($option.length === 0) {\n $option = this.option(data);\n this.addOptions($option);\n }\n ArrayAdapter.__super__.select.call(this, data);\n };\n ArrayAdapter.prototype.convertToOptions = function (data) {\n var self = this;\n var $existing = this.$element.find('option');\n var existingIds = $existing.map(function () {\n return self.item($(this)).id;\n }).get();\n var $options = [];\n\n // Filter out all items except for the one passed in the argument\n function onlyItem(item) {\n return function () {\n return $(this).val() == item.id;\n };\n }\n for (var d = 0; d < data.length; d++) {\n var item = this._normalizeItem(data[d]);\n\n // Skip items which were pre-loaded, only merge the data\n if (existingIds.indexOf(item.id) >= 0) {\n var $existingOption = $existing.filter(onlyItem(item));\n var existingData = this.item($existingOption);\n var newData = $.extend(true, {}, item, existingData);\n var $newOption = this.option(newData);\n $existingOption.replaceWith($newOption);\n continue;\n }\n var $option = this.option(item);\n if (item.children) {\n var $children = this.convertToOptions(item.children);\n $option.append($children);\n }\n $options.push($option);\n }\n return $options;\n };\n return ArrayAdapter;\n });\n S2.define('select2/data/ajax', ['./array', '../utils', 'jquery'], function (ArrayAdapter, Utils, $) {\n function AjaxAdapter($element, options) {\n this.ajaxOptions = this._applyDefaults(options.get('ajax'));\n if (this.ajaxOptions.processResults != null) {\n this.processResults = this.ajaxOptions.processResults;\n }\n AjaxAdapter.__super__.constructor.call(this, $element, options);\n }\n Utils.Extend(AjaxAdapter, ArrayAdapter);\n AjaxAdapter.prototype._applyDefaults = function (options) {\n var defaults = {\n data: function data(params) {\n return $.extend({}, params, {\n q: params.term\n });\n },\n transport: function transport(params, success, failure) {\n var $request = $.ajax(params);\n $request.then(success);\n $request.fail(failure);\n return $request;\n }\n };\n return $.extend({}, defaults, options, true);\n };\n AjaxAdapter.prototype.processResults = function (results) {\n return results;\n };\n AjaxAdapter.prototype.query = function (params, callback) {\n var matches = [];\n var self = this;\n if (this._request != null) {\n // JSONP requests cannot always be aborted\n if (typeof this._request.abort === 'function') {\n this._request.abort();\n }\n this._request = null;\n }\n var options = $.extend({\n type: 'GET'\n }, this.ajaxOptions);\n if (typeof options.url === 'function') {\n options.url = options.url.call(this.$element, params);\n }\n if (typeof options.data === 'function') {\n options.data = options.data.call(this.$element, params);\n }\n function request() {\n var $request = options.transport(options, function (data) {\n var results = self.processResults(data, params);\n if (self.options.get('debug') && window.console && console.error) {\n // Check to make sure that the response included a `results` key.\n if (!results || !results.results || !Array.isArray(results.results)) {\n console.error('Select2: The AJAX results did not return an array in the ' + '`results` key of the response.');\n }\n }\n callback(results);\n }, function () {\n // Attempt to detect if a request was aborted\n // Only works if the transport exposes a status property\n if ('status' in $request && ($request.status === 0 || $request.status === '0')) {\n return;\n }\n self.trigger('results:message', {\n message: 'errorLoading'\n });\n });\n self._request = $request;\n }\n if (this.ajaxOptions.delay && params.term != null) {\n if (this._queryTimeout) {\n window.clearTimeout(this._queryTimeout);\n }\n this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay);\n } else {\n request();\n }\n };\n return AjaxAdapter;\n });\n S2.define('select2/data/tags', ['jquery'], function ($) {\n function Tags(decorated, $element, options) {\n var tags = options.get('tags');\n var createTag = options.get('createTag');\n if (createTag !== undefined) {\n this.createTag = createTag;\n }\n var insertTag = options.get('insertTag');\n if (insertTag !== undefined) {\n this.insertTag = insertTag;\n }\n decorated.call(this, $element, options);\n if (Array.isArray(tags)) {\n for (var t = 0; t < tags.length; t++) {\n var tag = tags[t];\n var item = this._normalizeItem(tag);\n var $option = this.option(item);\n this.$element.append($option);\n }\n }\n }\n Tags.prototype.query = function (decorated, params, callback) {\n var self = this;\n this._removeOldTags();\n if (params.term == null || params.page != null) {\n decorated.call(this, params, callback);\n return;\n }\n function wrapper(obj, child) {\n var data = obj.results;\n for (var i = 0; i < data.length; i++) {\n var option = data[i];\n var checkChildren = option.children != null && !wrapper({\n results: option.children\n }, true);\n var optionText = (option.text || '').toUpperCase();\n var paramsTerm = (params.term || '').toUpperCase();\n var checkText = optionText === paramsTerm;\n if (checkText || checkChildren) {\n if (child) {\n return false;\n }\n obj.data = data;\n callback(obj);\n return;\n }\n }\n if (child) {\n return true;\n }\n var tag = self.createTag(params);\n if (tag != null) {\n var $option = self.option(tag);\n $option.attr('data-select2-tag', 'true');\n self.addOptions([$option]);\n self.insertTag(data, tag);\n }\n obj.results = data;\n callback(obj);\n }\n decorated.call(this, params, wrapper);\n };\n Tags.prototype.createTag = function (decorated, params) {\n if (params.term == null) {\n return null;\n }\n var term = params.term.trim();\n if (term === '') {\n return null;\n }\n return {\n id: term,\n text: term\n };\n };\n Tags.prototype.insertTag = function (_, data, tag) {\n data.unshift(tag);\n };\n Tags.prototype._removeOldTags = function (_) {\n var $options = this.$element.find('option[data-select2-tag]');\n $options.each(function () {\n if (this.selected) {\n return;\n }\n $(this).remove();\n });\n };\n return Tags;\n });\n S2.define('select2/data/tokenizer', ['jquery'], function ($) {\n function Tokenizer(decorated, $element, options) {\n var tokenizer = options.get('tokenizer');\n if (tokenizer !== undefined) {\n this.tokenizer = tokenizer;\n }\n decorated.call(this, $element, options);\n }\n Tokenizer.prototype.bind = function (decorated, container, $container) {\n decorated.call(this, container, $container);\n this.$search = container.dropdown.$search || container.selection.$search || $container.find('.select2-search__field');\n };\n Tokenizer.prototype.query = function (decorated, params, callback) {\n var self = this;\n function createAndSelect(data) {\n // Normalize the data object so we can use it for checks\n var item = self._normalizeItem(data);\n\n // Check if the data object already exists as a tag\n // Select it if it doesn't\n var $existingOptions = self.$element.find('option').filter(function () {\n return $(this).val() === item.id;\n });\n\n // If an existing option wasn't found for it, create the option\n if (!$existingOptions.length) {\n var $option = self.option(item);\n $option.attr('data-select2-tag', true);\n self._removeOldTags();\n self.addOptions([$option]);\n }\n\n // Select the item, now that we know there is an option for it\n select(item);\n }\n function select(data) {\n self.trigger('select', {\n data: data\n });\n }\n params.term = params.term || '';\n var tokenData = this.tokenizer(params, this.options, createAndSelect);\n if (tokenData.term !== params.term) {\n // Replace the search term if we have the search box\n if (this.$search.length) {\n this.$search.val(tokenData.term);\n this.$search.trigger('focus');\n }\n params.term = tokenData.term;\n }\n decorated.call(this, params, callback);\n };\n Tokenizer.prototype.tokenizer = function (_, params, options, callback) {\n var separators = options.get('tokenSeparators') || [];\n var term = params.term;\n var i = 0;\n var createTag = this.createTag || function (params) {\n return {\n id: params.term,\n text: params.term\n };\n };\n while (i < term.length) {\n var termChar = term[i];\n if (separators.indexOf(termChar) === -1) {\n i++;\n continue;\n }\n var part = term.substr(0, i);\n var partParams = $.extend({}, params, {\n term: part\n });\n var data = createTag(partParams);\n if (data == null) {\n i++;\n continue;\n }\n callback(data);\n\n // Reset the term to not include the tokenized portion\n term = term.substr(i + 1) || '';\n i = 0;\n }\n return {\n term: term\n };\n };\n return Tokenizer;\n });\n S2.define('select2/data/minimumInputLength', [], function () {\n function MinimumInputLength(decorated, $e, options) {\n this.minimumInputLength = options.get('minimumInputLength');\n decorated.call(this, $e, options);\n }\n MinimumInputLength.prototype.query = function (decorated, params, callback) {\n params.term = params.term || '';\n if (params.term.length < this.minimumInputLength) {\n this.trigger('results:message', {\n message: 'inputTooShort',\n args: {\n minimum: this.minimumInputLength,\n input: params.term,\n params: params\n }\n });\n return;\n }\n decorated.call(this, params, callback);\n };\n return MinimumInputLength;\n });\n S2.define('select2/data/maximumInputLength', [], function () {\n function MaximumInputLength(decorated, $e, options) {\n this.maximumInputLength = options.get('maximumInputLength');\n decorated.call(this, $e, options);\n }\n MaximumInputLength.prototype.query = function (decorated, params, callback) {\n params.term = params.term || '';\n if (this.maximumInputLength > 0 && params.term.length > this.maximumInputLength) {\n this.trigger('results:message', {\n message: 'inputTooLong',\n args: {\n maximum: this.maximumInputLength,\n input: params.term,\n params: params\n }\n });\n return;\n }\n decorated.call(this, params, callback);\n };\n return MaximumInputLength;\n });\n S2.define('select2/data/maximumSelectionLength', [], function () {\n function MaximumSelectionLength(decorated, $e, options) {\n this.maximumSelectionLength = options.get('maximumSelectionLength');\n decorated.call(this, $e, options);\n }\n MaximumSelectionLength.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n container.on('select', function () {\n self._checkIfMaximumSelected();\n });\n };\n MaximumSelectionLength.prototype.query = function (decorated, params, callback) {\n var self = this;\n this._checkIfMaximumSelected(function () {\n decorated.call(self, params, callback);\n });\n };\n MaximumSelectionLength.prototype._checkIfMaximumSelected = function (_, successCallback) {\n var self = this;\n this.current(function (currentData) {\n var count = currentData != null ? currentData.length : 0;\n if (self.maximumSelectionLength > 0 && count >= self.maximumSelectionLength) {\n self.trigger('results:message', {\n message: 'maximumSelected',\n args: {\n maximum: self.maximumSelectionLength\n }\n });\n return;\n }\n if (successCallback) {\n successCallback();\n }\n });\n };\n return MaximumSelectionLength;\n });\n S2.define('select2/dropdown', ['jquery', './utils'], function ($, Utils) {\n function Dropdown($element, options) {\n this.$element = $element;\n this.options = options;\n Dropdown.__super__.constructor.call(this);\n }\n Utils.Extend(Dropdown, Utils.Observable);\n Dropdown.prototype.render = function () {\n // Change dropdown classname and markup. @edited\n var $dropdown = $('<span class=\"sui-select-dropdown\">' + '<span class=\"select2-results\"></span>' + '</span>');\n $dropdown.attr('dir', this.options.get('dir'));\n this.$dropdown = $dropdown;\n return $dropdown;\n };\n Dropdown.prototype.bind = function () {\n // Should be implemented in subclasses\n };\n Dropdown.prototype.position = function ($dropdown, $container) {\n // Should be implemented in subclasses\n };\n Dropdown.prototype.destroy = function () {\n // Remove the dropdown from the DOM\n this.$dropdown.remove();\n };\n return Dropdown;\n });\n S2.define('select2/dropdown/search', ['jquery'], function ($) {\n function Search() {}\n Search.prototype.render = function (decorated) {\n var $rendered = decorated.call(this);\n var searchLabel = this.options.get('translations').get('search');\n var $search = $('<span class=\"select2-search select2-search--dropdown\">' + '<input class=\"select2-search__field\" type=\"search\" tabindex=\"-1\"' + ' autocorrect=\"off\" autocapitalize=\"none\"' + ' spellcheck=\"false\" role=\"searchbox\" aria-autocomplete=\"list\" />' + '</span>');\n this.$searchContainer = $search;\n this.$search = $search.find('input');\n this.$search.prop('autocomplete', this.options.get('autocomplete'));\n this.$search.attr('aria-label', searchLabel());\n $rendered.prepend($search);\n return $rendered;\n };\n Search.prototype.bind = function (decorated, container, $container) {\n var self = this;\n var resultsId = container.id + '-results';\n decorated.call(this, container, $container);\n this.$search.on('keydown', function (evt) {\n self.trigger('keypress', evt);\n self._keyUpPrevented = evt.isDefaultPrevented();\n });\n\n // Workaround for browsers which do not support the `input` event\n // This will prevent double-triggering of events for browsers which support\n // both the `keyup` and `input` events.\n this.$search.on('input', function (evt) {\n // Unbind the duplicated `keyup` event\n $(this).off('keyup');\n });\n this.$search.on('keyup input', function (evt) {\n self.handleSearch(evt);\n });\n container.on('open', function () {\n self.$search.attr('tabindex', 0);\n self.$search.attr('aria-controls', resultsId);\n self.$search.trigger('focus');\n window.setTimeout(function () {\n self.$search.trigger('focus');\n }, 0);\n });\n container.on('close', function () {\n self.$search.attr('tabindex', -1);\n self.$search.removeAttr('aria-controls');\n self.$search.removeAttr('aria-activedescendant');\n self.$search.val('');\n self.$search.trigger('blur');\n });\n container.on('focus', function () {\n if (!container.isOpen()) {\n self.$search.trigger('focus');\n }\n });\n container.on('results:all', function (params) {\n if (params.query.term == null || params.query.term === '') {\n var showSearch = self.showSearch(params);\n if (showSearch) {\n self.$searchContainer[0].classList.remove('select2-search--hide');\n } else {\n self.$searchContainer[0].classList.add('select2-search--hide');\n }\n }\n });\n container.on('results:focus', function (params) {\n if (params.data._resultId) {\n self.$search.attr('aria-activedescendant', params.data._resultId);\n } else {\n self.$search.removeAttr('aria-activedescendant');\n }\n });\n };\n Search.prototype.handleSearch = function (evt) {\n if (!this._keyUpPrevented) {\n var input = this.$search.val();\n this.trigger('query', {\n term: input\n });\n }\n this._keyUpPrevented = false;\n };\n Search.prototype.showSearch = function (_, params) {\n return true;\n };\n return Search;\n });\n S2.define('select2/dropdown/hidePlaceholder', [], function () {\n function HidePlaceholder(decorated, $element, options, dataAdapter) {\n this.placeholder = this.normalizePlaceholder(options.get('placeholder'));\n decorated.call(this, $element, options, dataAdapter);\n }\n HidePlaceholder.prototype.append = function (decorated, data) {\n data.results = this.removePlaceholder(data.results);\n decorated.call(this, data);\n };\n HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) {\n if (typeof placeholder === 'string') {\n placeholder = {\n id: '',\n text: placeholder\n };\n }\n return placeholder;\n };\n HidePlaceholder.prototype.removePlaceholder = function (_, data) {\n var modifiedData = data.slice(0);\n for (var d = data.length - 1; d >= 0; d--) {\n var item = data[d];\n if (this.placeholder.id === item.id) {\n modifiedData.splice(d, 1);\n }\n }\n return modifiedData;\n };\n return HidePlaceholder;\n });\n S2.define('select2/dropdown/infiniteScroll', ['jquery'], function ($) {\n function InfiniteScroll(decorated, $element, options, dataAdapter) {\n this.lastParams = {};\n decorated.call(this, $element, options, dataAdapter);\n this.$loadingMore = this.createLoadingMore();\n this.loading = false;\n }\n InfiniteScroll.prototype.append = function (decorated, data) {\n this.$loadingMore.remove();\n this.loading = false;\n decorated.call(this, data);\n if (this.showLoadingMore(data)) {\n this.$results.append(this.$loadingMore);\n this.loadMoreIfNeeded();\n }\n };\n InfiniteScroll.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n container.on('query', function (params) {\n self.lastParams = params;\n self.loading = true;\n });\n container.on('query:append', function (params) {\n self.lastParams = params;\n self.loading = true;\n });\n this.$results.on('scroll', this.loadMoreIfNeeded.bind(this));\n };\n InfiniteScroll.prototype.loadMoreIfNeeded = function () {\n var isLoadMoreVisible = $.contains(document.documentElement, this.$loadingMore[0]);\n if (this.loading || !isLoadMoreVisible) {\n return;\n }\n var currentOffset = this.$results.offset().top + this.$results.outerHeight(false);\n var loadingMoreOffset = this.$loadingMore.offset().top + this.$loadingMore.outerHeight(false);\n if (currentOffset + 50 >= loadingMoreOffset) {\n this.loadMore();\n }\n };\n InfiniteScroll.prototype.loadMore = function () {\n this.loading = true;\n var params = $.extend({}, {\n page: 1\n }, this.lastParams);\n params.page++;\n this.trigger('query:append', params);\n };\n InfiniteScroll.prototype.showLoadingMore = function (_, data) {\n return data.pagination && data.pagination.more;\n };\n InfiniteScroll.prototype.createLoadingMore = function () {\n var $option = $('<li ' + 'class=\"select2-results__option select2-results__option--load-more\"' + 'role=\"option\" aria-disabled=\"true\"></li>');\n var message = this.options.get('translations').get('loadingMore');\n $option.html(message(this.lastParams));\n return $option;\n };\n return InfiniteScroll;\n });\n S2.define('select2/dropdown/attachBody', ['jquery', '../utils'], function ($, Utils) {\n function AttachBody(decorated, $element, options) {\n this.$dropdownParent = $(options.get('dropdownParent') || document.body);\n decorated.call(this, $element, options);\n }\n AttachBody.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n container.on('open', function () {\n self._showDropdown();\n self._attachPositioningHandler(container);\n\n // Must bind after the results handlers to ensure correct sizing\n self._bindContainerResultHandlers(container);\n });\n container.on('close', function () {\n self._hideDropdown();\n self._detachPositioningHandler(container);\n });\n this.$dropdownContainer.on('mousedown', function (evt) {\n evt.stopPropagation();\n });\n };\n AttachBody.prototype.destroy = function (decorated) {\n decorated.call(this);\n this.$dropdownContainer.remove();\n };\n AttachBody.prototype.position = function (decorated, $dropdown, $container) {\n // Clone all of the container classes\n $dropdown.attr('class', $container.attr('class'));\n\n // Custom SUIselect dropdown. @edited\n $dropdown.removeClass('select2');\n $dropdown.addClass('sui-select-dropdown-container--open');\n $dropdown[0].classList.remove('select2');\n $dropdown[0].classList.add('select2-container--open');\n $dropdown.css({\n position: 'absolute',\n top: -999999\n });\n this.$container = $container;\n };\n AttachBody.prototype.render = function (decorated) {\n var $container = $('<span></span>');\n var $dropdown = decorated.call(this);\n $container.append($dropdown);\n this.$dropdownContainer = $container;\n return $container;\n };\n AttachBody.prototype._hideDropdown = function (decorated) {\n this.$dropdownContainer.detach();\n };\n AttachBody.prototype._bindContainerResultHandlers = function (decorated, container) {\n // These should only be bound once\n if (this._containerResultsHandlersBound) {\n return;\n }\n var self = this;\n container.on('results:all', function () {\n self._positionDropdown();\n self._resizeDropdown();\n });\n container.on('results:append', function () {\n self._positionDropdown();\n self._resizeDropdown();\n });\n container.on('results:message', function () {\n self._positionDropdown();\n self._resizeDropdown();\n });\n container.on('select', function () {\n self._positionDropdown();\n self._resizeDropdown();\n });\n container.on('unselect', function () {\n self._positionDropdown();\n self._resizeDropdown();\n });\n this._containerResultsHandlersBound = true;\n };\n AttachBody.prototype._attachPositioningHandler = function (decorated, container) {\n var self = this;\n var scrollEvent = 'scroll.select2.' + container.id;\n var resizeEvent = 'resize.select2.' + container.id;\n var orientationEvent = 'orientationchange.select2.' + container.id;\n var $watchers = this.$container.parents().filter(Utils.hasScroll);\n $watchers.each(function () {\n Utils.StoreData(this, 'select2-scroll-position', {\n x: $(this).scrollLeft(),\n y: $(this).scrollTop()\n });\n });\n $watchers.on(scrollEvent, function (ev) {\n var position = Utils.GetData(this, 'select2-scroll-position');\n $(this).scrollTop(position.y);\n });\n $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, function (e) {\n self._positionDropdown();\n self._resizeDropdown();\n });\n };\n AttachBody.prototype._detachPositioningHandler = function (decorated, container) {\n var scrollEvent = 'scroll.select2.' + container.id;\n var resizeEvent = 'resize.select2.' + container.id;\n var orientationEvent = 'orientationchange.select2.' + container.id;\n var $watchers = this.$container.parents().filter(Utils.hasScroll);\n $watchers.off(scrollEvent);\n $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent);\n };\n AttachBody.prototype._positionDropdown = function () {\n var $window = $(window);\n\n // Custom SUIselect dropdown. @edited\n var isCurrentlyAbove = this.$dropdown[0].classList.contains('sui-select-dropdown--above');\n var isCurrentlyBelow = this.$dropdown[0].classList.contains('sui-select-dropdown--below');\n var newDirection = null;\n var offset = this.$container.offset();\n offset.bottom = offset.top + this.$container.outerHeight(false);\n var container = {\n height: this.$container.outerHeight(false)\n };\n container.top = offset.top;\n container.bottom = offset.top + container.height;\n var dropdown = {\n height: this.$dropdown.outerHeight(false)\n };\n var viewport = {\n top: $window.scrollTop(),\n bottom: $window.scrollTop() + $window.height()\n };\n var enoughRoomAbove = viewport.top < offset.top - dropdown.height;\n var enoughRoomBelow = viewport.bottom > offset.bottom + dropdown.height;\n var css = {\n left: offset.left,\n top: container.bottom\n };\n\n // Determine what the parent element is to use for calculating the offset\n var $offsetParent = this.$dropdownParent;\n\n // For statically positioned elements, we need to get the element\n // that is determining the offset\n if ($offsetParent.css('position') === 'static') {\n $offsetParent = $offsetParent.offsetParent();\n }\n var parentOffset = {\n top: 0,\n left: 0\n };\n if ($.contains(document.body, $offsetParent[0]) || $offsetParent[0].isConnected) {\n parentOffset = $offsetParent.offset();\n }\n css.top -= parentOffset.top;\n css.left -= parentOffset.left;\n if (!isCurrentlyAbove && !isCurrentlyBelow) {\n newDirection = 'below';\n }\n if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) {\n newDirection = 'above';\n } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) {\n newDirection = 'below';\n }\n if (newDirection == 'above' || isCurrentlyAbove && newDirection !== 'below') {\n css.top = container.top - parentOffset.top - dropdown.height;\n }\n\n // Custom SUIselect dropdown. @edited\n if (newDirection != null) {\n this.$dropdown[0].classList.remove('sui-select-dropdown--below');\n this.$dropdown[0].classList.remove('sui-select-dropdown--above');\n this.$dropdown[0].classList.add('sui-select-dropdown--' + newDirection);\n this.$container[0].classList.remove('sui-select-container--below');\n this.$container[0].classList.remove('sui-select-container--above');\n this.$container[0].classList.add('sui-select-dropdown-container--' + newDirection);\n }\n this.$dropdownContainer.css(css);\n };\n AttachBody.prototype._resizeDropdown = function () {\n var css = {\n width: this.$container.outerWidth(false) + 'px'\n };\n if (this.options.get('dropdownAutoWidth')) {\n css.minWidth = css.width;\n css.position = 'relative';\n css.width = 'auto';\n }\n this.$dropdown.css(css);\n };\n AttachBody.prototype._showDropdown = function (decorated) {\n this.$dropdownContainer.appendTo(this.$dropdownParent);\n this._positionDropdown();\n this._resizeDropdown();\n };\n return AttachBody;\n });\n S2.define('select2/dropdown/minimumResultsForSearch', [], function () {\n function countResults(data) {\n var count = 0;\n for (var d = 0; d < data.length; d++) {\n var item = data[d];\n if (item.children) {\n count += countResults(item.children);\n } else {\n count++;\n }\n }\n return count;\n }\n function MinimumResultsForSearch(decorated, $element, options, dataAdapter) {\n this.minimumResultsForSearch = options.get('minimumResultsForSearch');\n if (this.minimumResultsForSearch < 0) {\n this.minimumResultsForSearch = Infinity;\n }\n decorated.call(this, $element, options, dataAdapter);\n }\n MinimumResultsForSearch.prototype.showSearch = function (decorated, params) {\n if (countResults(params.data.results) < this.minimumResultsForSearch) {\n return false;\n }\n return decorated.call(this, params);\n };\n return MinimumResultsForSearch;\n });\n S2.define('select2/dropdown/selectOnClose', ['../utils'], function (Utils) {\n function SelectOnClose() {}\n SelectOnClose.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n container.on('close', function (params) {\n self._handleSelectOnClose(params);\n });\n };\n SelectOnClose.prototype._handleSelectOnClose = function (_, params) {\n if (params && params.originalSelect2Event != null) {\n var event = params.originalSelect2Event;\n\n // Don't select an item if the close event was triggered from a select or\n // unselect event\n if (event._type === 'select' || event._type === 'unselect') {\n return;\n }\n }\n var $highlightedResults = this.getHighlightedResults();\n\n // Only select highlighted results\n if ($highlightedResults.length < 1) {\n return;\n }\n var data = Utils.GetData($highlightedResults[0], 'data');\n\n // Don't re-select already selected resulte\n if (data.element != null && data.element.selected || data.element == null && data.selected) {\n return;\n }\n this.trigger('select', {\n data: data\n });\n };\n return SelectOnClose;\n });\n S2.define('select2/dropdown/closeOnSelect', [], function () {\n function CloseOnSelect() {}\n CloseOnSelect.prototype.bind = function (decorated, container, $container) {\n var self = this;\n decorated.call(this, container, $container);\n container.on('select', function (evt) {\n self._selectTriggered(evt);\n });\n container.on('unselect', function (evt) {\n self._selectTriggered(evt);\n });\n };\n CloseOnSelect.prototype._selectTriggered = function (_, evt) {\n var originalEvent = evt.originalEvent;\n\n // Don't close if the control key is being held\n if (originalEvent && (originalEvent.ctrlKey || originalEvent.metaKey)) {\n return;\n }\n this.trigger('close', {\n originalEvent: originalEvent,\n originalSelect2Event: evt\n });\n };\n return CloseOnSelect;\n });\n S2.define('select2/dropdown/dropdownCss', ['../utils'], function (Utils) {\n function DropdownCSS() {}\n DropdownCSS.prototype.render = function (decorated) {\n var $dropdown = decorated.call(this);\n var dropdownCssClass = this.options.get('dropdownCssClass') || '';\n if (dropdownCssClass.indexOf(':all:') !== -1) {\n dropdownCssClass = dropdownCssClass.replace(':all:', '');\n Utils.copyNonInternalCssClasses($dropdown[0], this.$element[0]);\n }\n $dropdown.addClass('sui-select-dropdown'); // FIX: Make sure \"sui-select-dropdown\" main class does not get erased. @edited\n $dropdown.addClass(dropdownCssClass);\n return $dropdown;\n };\n return DropdownCSS;\n });\n S2.define('select2/dropdown/tagsSearchHighlight', ['../utils'], function (Utils) {\n function TagsSearchHighlight() {}\n TagsSearchHighlight.prototype.highlightFirstItem = function (decorated) {\n var $options = this.$results.find('.select2-results__option--selectable' + ':not(.select2-results__option--selected)');\n if ($options.length > 0) {\n var $firstOption = $options.first();\n var data = Utils.GetData($firstOption[0], 'data');\n var firstElement = data.element;\n if (firstElement && firstElement.getAttribute) {\n if (firstElement.getAttribute('data-select2-tag') === 'true') {\n $firstOption.trigger('mouseenter');\n return;\n }\n }\n }\n decorated.call(this);\n };\n return TagsSearchHighlight;\n });\n S2.define('select2/i18n/en', [], function () {\n // English\n return {\n errorLoading: function errorLoading() {\n return 'The results could not be loaded.';\n },\n inputTooLong: function inputTooLong(args) {\n var overChars = args.input.length - args.maximum;\n var message = 'Please delete ' + overChars + ' character';\n if (overChars != 1) {\n message += 's';\n }\n return message;\n },\n inputTooShort: function inputTooShort(args) {\n var remainingChars = args.minimum - args.input.length;\n var message = 'Please enter ' + remainingChars + ' or more characters';\n return message;\n },\n loadingMore: function loadingMore() {\n return 'Loading more results…';\n },\n maximumSelected: function maximumSelected(args) {\n var message = 'You can only select ' + args.maximum + ' item';\n if (args.maximum != 1) {\n message += 's';\n }\n return message;\n },\n noResults: function noResults() {\n return 'No results found';\n },\n searching: function searching() {\n return 'Searching…';\n },\n removeAllItems: function removeAllItems() {\n return 'Remove all items';\n },\n removeItem: function removeItem() {\n return 'Remove item';\n },\n search: function search() {\n return 'Search';\n }\n };\n });\n S2.define('select2/defaults', ['jquery', './results', './selection/single', './selection/multiple', './selection/placeholder', './selection/allowClear', './selection/search', './selection/selectionCss', './selection/eventRelay', './utils', './translation', './diacritics', './data/select', './data/array', './data/ajax', './data/tags', './data/tokenizer', './data/minimumInputLength', './data/maximumInputLength', './data/maximumSelectionLength', './dropdown', './dropdown/search', './dropdown/hidePlaceholder', './dropdown/infiniteScroll', './dropdown/attachBody', './dropdown/minimumResultsForSearch', './dropdown/selectOnClose', './dropdown/closeOnSelect', './dropdown/dropdownCss', './dropdown/tagsSearchHighlight', './i18n/en'], function ($, ResultsList, SingleSelection, MultipleSelection, Placeholder, AllowClear, SelectionSearch, SelectionCSS, EventRelay, Utils, Translation, DIACRITICS, SelectData, ArrayData, AjaxData, Tags, Tokenizer, MinimumInputLength, MaximumInputLength, MaximumSelectionLength, Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, DropdownCSS, TagsSearchHighlight, EnglishTranslation) {\n function Defaults() {\n this.reset();\n }\n Defaults.prototype.apply = function (options) {\n options = $.extend(true, {}, this.defaults, options);\n if (options.dataAdapter == null) {\n if (options.ajax != null) {\n options.dataAdapter = AjaxData;\n } else if (options.data != null) {\n options.dataAdapter = ArrayData;\n } else {\n options.dataAdapter = SelectData;\n }\n if (options.minimumInputLength > 0) {\n options.dataAdapter = Utils.Decorate(options.dataAdapter, MinimumInputLength);\n }\n if (options.maximumInputLength > 0) {\n options.dataAdapter = Utils.Decorate(options.dataAdapter, MaximumInputLength);\n }\n if (options.maximumSelectionLength > 0) {\n options.dataAdapter = Utils.Decorate(options.dataAdapter, MaximumSelectionLength);\n }\n if (options.tags) {\n options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags);\n }\n if (options.tokenSeparators != null || options.tokenizer != null) {\n options.dataAdapter = Utils.Decorate(options.dataAdapter, Tokenizer);\n }\n }\n if (options.resultsAdapter == null) {\n options.resultsAdapter = ResultsList;\n if (options.ajax != null) {\n options.resultsAdapter = Utils.Decorate(options.resultsAdapter, InfiniteScroll);\n }\n if (options.placeholder != null) {\n options.resultsAdapter = Utils.Decorate(options.resultsAdapter, HidePlaceholder);\n }\n if (options.selectOnClose) {\n options.resultsAdapter = Utils.Decorate(options.resultsAdapter, SelectOnClose);\n }\n if (options.tags) {\n options.resultsAdapter = Utils.Decorate(options.resultsAdapter, TagsSearchHighlight);\n }\n }\n if (options.dropdownAdapter == null) {\n if (options.multiple) {\n options.dropdownAdapter = Dropdown;\n } else {\n var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch);\n options.dropdownAdapter = SearchableDropdown;\n }\n if (options.minimumResultsForSearch !== 0) {\n options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, MinimumResultsForSearch);\n }\n if (options.closeOnSelect) {\n options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, CloseOnSelect);\n }\n if (options.dropdownCssClass != null) {\n options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, DropdownCSS);\n }\n options.dropdownAdapter = Utils.Decorate(options.dropdownAdapter, AttachBody);\n }\n if (options.selectionAdapter == null) {\n if (options.multiple) {\n options.selectionAdapter = MultipleSelection;\n } else {\n options.selectionAdapter = SingleSelection;\n }\n\n // Add the placeholder mixin if a placeholder was specified\n if (options.placeholder != null) {\n options.selectionAdapter = Utils.Decorate(options.selectionAdapter, Placeholder);\n }\n if (options.allowClear) {\n options.selectionAdapter = Utils.Decorate(options.selectionAdapter, AllowClear);\n }\n if (options.multiple) {\n options.selectionAdapter = Utils.Decorate(options.selectionAdapter, SelectionSearch);\n }\n if (options.selectionCssClass != null) {\n options.selectionAdapter = Utils.Decorate(options.selectionAdapter, SelectionCSS);\n }\n options.selectionAdapter = Utils.Decorate(options.selectionAdapter, EventRelay);\n }\n\n // If the defaults were not previously applied from an element, it is\n // possible for the language option to have not been resolved\n options.language = this._resolveLanguage(options.language);\n\n // Always fall back to English since it will always be complete\n options.language.push('en');\n var uniqueLanguages = [];\n for (var l = 0; l < options.language.length; l++) {\n var language = options.language[l];\n if (uniqueLanguages.indexOf(language) === -1) {\n uniqueLanguages.push(language);\n }\n }\n options.language = uniqueLanguages;\n options.translations = this._processTranslations(options.language, options.debug);\n return options;\n };\n Defaults.prototype.reset = function () {\n function stripDiacritics(text) {\n // Used 'uni range + named function' from http://jsperf.com/diacritics/18\n function match(a) {\n return DIACRITICS[a] || a;\n }\n return text.replace(/[^\\u0000-\\u007E]/g, match);\n }\n function matcher(params, data) {\n // Always return the object if there is nothing to compare\n if (params.term == null || params.term.trim() === '') {\n return data;\n }\n\n // Do a recursive check for options with children\n if (data.children && data.children.length > 0) {\n // Clone the data object if there are children\n // This is required as we modify the object to remove any non-matches\n var match = $.extend(true, {}, data);\n\n // Check each child of the option\n for (var c = data.children.length - 1; c >= 0; c--) {\n var child = data.children[c];\n var matches = matcher(params, child);\n\n // If there wasn't a match, remove the object in the array\n if (matches == null) {\n match.children.splice(c, 1);\n }\n }\n\n // If any children matched, return the new object\n if (match.children.length > 0) {\n return match;\n }\n\n // If there were no matching children, check just the plain object\n return matcher(params, match);\n }\n var original = stripDiacritics(data.text).toUpperCase();\n var term = stripDiacritics(params.term).toUpperCase();\n\n // Check if the text contains the term\n if (original.indexOf(term) > -1) {\n return data;\n }\n\n // If it doesn't contain the term, don't return anything\n return null;\n }\n this.defaults = {\n amdLanguageBase: './i18n/',\n autocomplete: 'off',\n closeOnSelect: true,\n debug: false,\n dropdownAutoWidth: false,\n escapeMarkup: Utils.escapeMarkup,\n language: {},\n matcher: matcher,\n minimumInputLength: 0,\n maximumInputLength: 0,\n maximumSelectionLength: 0,\n minimumResultsForSearch: 0,\n selectOnClose: false,\n scrollAfterSelect: false,\n sorter: function sorter(data) {\n return data;\n },\n templateResult: function templateResult(result) {\n return result.text;\n },\n templateSelection: function templateSelection(selection) {\n return selection.text;\n },\n theme: 'default',\n width: 'resolve'\n };\n };\n Defaults.prototype.applyFromElement = function (options, $element) {\n var optionLanguage = options.language;\n var defaultLanguage = this.defaults.language;\n var elementLanguage = $element.prop('lang');\n var parentLanguage = $element.closest('[lang]').prop('lang');\n var languages = Array.prototype.concat.call(this._resolveLanguage(elementLanguage), this._resolveLanguage(optionLanguage), this._resolveLanguage(defaultLanguage), this._resolveLanguage(parentLanguage));\n options.language = languages;\n return options;\n };\n Defaults.prototype._resolveLanguage = function (language) {\n if (!language) {\n return [];\n }\n if ($.isEmptyObject(language)) {\n return [];\n }\n if ($.isPlainObject(language)) {\n return [language];\n }\n var languages;\n if (!Array.isArray(language)) {\n languages = [language];\n } else {\n languages = language;\n }\n var resolvedLanguages = [];\n for (var l = 0; l < languages.length; l++) {\n resolvedLanguages.push(languages[l]);\n if (typeof languages[l] === 'string' && languages[l].indexOf('-') > 0) {\n // Extract the region information if it is included\n var languageParts = languages[l].split('-');\n var baseLanguage = languageParts[0];\n resolvedLanguages.push(baseLanguage);\n }\n }\n return resolvedLanguages;\n };\n Defaults.prototype._processTranslations = function (languages, debug) {\n var translations = new Translation();\n for (var l = 0; l < languages.length; l++) {\n var languageData = new Translation();\n var language = languages[l];\n if (typeof language === 'string') {\n try {\n // Try to load it with the original name\n languageData = Translation.loadPath(language);\n } catch (e) {\n try {\n // If we couldn't load it, check if it wasn't the full path\n language = this.defaults.amdLanguageBase + language;\n languageData = Translation.loadPath(language);\n } catch (ex) {\n // The translation could not be loaded at all. Sometimes this is\n // because of a configuration problem, other times this can be\n // because of how Select2 helps load all possible translation files\n if (debug && window.console && console.warn) {\n console.warn('Select2: The language file for \"' + language + '\" could ' + 'not be automatically loaded. A fallback will be used instead.');\n }\n }\n }\n } else if ($.isPlainObject(language)) {\n languageData = new Translation(language);\n } else {\n languageData = language;\n }\n translations.extend(languageData);\n }\n return translations;\n };\n Defaults.prototype.set = function (key, value) {\n var camelKey = $.camelCase(key);\n var data = {};\n data[camelKey] = value;\n var convertedData = Utils._convertData(data);\n $.extend(true, this.defaults, convertedData);\n };\n var defaults = new Defaults();\n return defaults;\n });\n S2.define('select2/options', ['jquery', './defaults', './utils'], function ($, Defaults, Utils) {\n function Options(options, $element) {\n this.options = options;\n if ($element != null) {\n this.fromElement($element);\n }\n if ($element != null) {\n this.options = Defaults.applyFromElement(this.options, $element);\n }\n this.options = Defaults.apply(this.options);\n }\n Options.prototype.fromElement = function ($e) {\n var excludedData = ['select2'];\n if (this.options.multiple == null) {\n this.options.multiple = $e.prop('multiple');\n }\n if (this.options.disabled == null) {\n this.options.disabled = $e.prop('disabled');\n }\n if (this.options.autocomplete == null && $e.prop('autocomplete')) {\n this.options.autocomplete = $e.prop('autocomplete');\n }\n if (this.options.dir == null) {\n if ($e.prop('dir')) {\n this.options.dir = $e.prop('dir');\n } else if ($e.closest('[dir]').prop('dir')) {\n this.options.dir = $e.closest('[dir]').prop('dir');\n } else {\n this.options.dir = 'ltr';\n }\n }\n $e.prop('disabled', this.options.disabled);\n $e.prop('multiple', this.options.multiple);\n if (Utils.GetData($e[0], 'select2Tags')) {\n if (this.options.debug && window.console && console.warn) {\n console.warn('Select2: The `data-select2-tags` attribute has been changed to ' + 'use the `data-data` and `data-tags=\"true\"` attributes and will be ' + 'removed in future versions of Select2.');\n }\n Utils.StoreData($e[0], 'data', Utils.GetData($e[0], 'select2Tags'));\n Utils.StoreData($e[0], 'tags', true);\n }\n if (Utils.GetData($e[0], 'ajaxUrl')) {\n if (this.options.debug && window.console && console.warn) {\n console.warn('Select2: The `data-ajax-url` attribute has been changed to ' + '`data-ajax--url` and support for the old attribute will be removed' + ' in future versions of Select2.');\n }\n $e.attr('ajax--url', Utils.GetData($e[0], 'ajaxUrl'));\n Utils.StoreData($e[0], 'ajax-Url', Utils.GetData($e[0], 'ajaxUrl'));\n }\n var dataset = {};\n function upperCaseLetter(_, letter) {\n return letter.toUpperCase();\n }\n\n // Pre-load all of the attributes which are prefixed with `data-`\n for (var attr = 0; attr < $e[0].attributes.length; attr++) {\n var attributeName = $e[0].attributes[attr].name;\n var prefix = 'data-';\n if (attributeName.substr(0, prefix.length) == prefix) {\n // Get the contents of the attribute after `data-`\n var dataName = attributeName.substring(prefix.length);\n\n // Get the data contents from the consistent source\n // This is more than likely the jQuery data helper\n var dataValue = Utils.GetData($e[0], dataName);\n\n // camelCase the attribute name to match the spec\n var camelDataName = dataName.replace(/-([a-z])/g, upperCaseLetter);\n\n // Store the data attribute contents into the dataset since\n dataset[camelDataName] = dataValue;\n }\n }\n\n // Prefer the element's `dataset` attribute if it exists\n // jQuery 1.x does not correctly handle data attributes with multiple dashes\n if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) {\n dataset = $.extend(true, {}, $e[0].dataset, dataset);\n }\n\n // Prefer our internal data cache if it exists\n var data = $.extend(true, {}, Utils.GetData($e[0]), dataset);\n data = Utils._convertData(data);\n for (var key in data) {\n if (excludedData.indexOf(key) > -1) {\n continue;\n }\n if ($.isPlainObject(this.options[key])) {\n $.extend(this.options[key], data[key]);\n } else {\n this.options[key] = data[key];\n }\n }\n return this;\n };\n Options.prototype.get = function (key) {\n return this.options[key];\n };\n Options.prototype.set = function (key, val) {\n this.options[key] = val;\n };\n return Options;\n });\n S2.define('select2/core', ['jquery', './options', './utils', './keys'], function ($, Options, Utils, KEYS) {\n var Select2 = function Select2($element, options) {\n if (Utils.GetData($element[0], 'select2') != null) {\n Utils.GetData($element[0], 'select2').destroy();\n }\n this.$element = $element;\n this.id = this._generateId($element);\n options = options || {};\n this.options = new Options(options, $element);\n Select2.__super__.constructor.call(this);\n\n // Set up the tabindex\n\n var tabindex = $element.attr('tabindex') || 0;\n Utils.StoreData($element[0], 'old-tabindex', tabindex);\n $element.attr('tabindex', '-1');\n\n // Set up containers and adapters\n\n var DataAdapter = this.options.get('dataAdapter');\n this.dataAdapter = new DataAdapter($element, this.options);\n var $container = this.render();\n this._placeContainer($container);\n var SelectionAdapter = this.options.get('selectionAdapter');\n this.selection = new SelectionAdapter($element, this.options);\n this.$selection = this.selection.render();\n this.selection.position(this.$selection, $container);\n var DropdownAdapter = this.options.get('dropdownAdapter');\n this.dropdown = new DropdownAdapter($element, this.options);\n this.$dropdown = this.dropdown.render();\n this.dropdown.position(this.$dropdown, $container);\n var ResultsAdapter = this.options.get('resultsAdapter');\n this.results = new ResultsAdapter($element, this.options, this.dataAdapter);\n this.$results = this.results.render();\n this.results.position(this.$results, this.$dropdown);\n\n // Bind events\n\n var self = this;\n\n // Bind the container to all of the adapters\n this._bindAdapters();\n\n // Register any DOM event handlers\n this._registerDomEvents();\n\n // Register any internal event handlers\n this._registerDataEvents();\n this._registerSelectionEvents();\n this._registerDropdownEvents();\n this._registerResultsEvents();\n this._registerEvents();\n\n // Set the initial state\n this.dataAdapter.current(function (initialData) {\n self.trigger('selection:update', {\n data: initialData\n });\n });\n\n // Hide the original select\n $element[0].classList.add('select2-hidden-accessible');\n $element.attr('aria-hidden', 'true');\n\n // Hide the original select with SUI. @edited\n $element.addClass('sui-screen-reader-text');\n\n // Synchronize any monitored attributes\n this._syncAttributes();\n Utils.StoreData($element[0], 'select2', this);\n\n // Ensure backwards compatibility with $element.data('select2').\n $element.data('select2', this);\n };\n Utils.Extend(Select2, Utils.Observable);\n Select2.prototype._generateId = function ($element) {\n var id = '';\n if ($element.attr('id') != null) {\n id = $element.attr('id');\n } else if ($element.attr('name') != null) {\n id = $element.attr('name') + '-' + Utils.generateChars(2);\n } else {\n id = Utils.generateChars(4);\n }\n id = id.replace(/(:|\\.|\\[|\\]|,)/g, '');\n id = 'select2-' + id;\n return id;\n };\n Select2.prototype._placeContainer = function ($container) {\n $container.insertAfter(this.$element);\n var width = this._resolveWidth(this.$element, this.options.get('width'));\n if (width != null) {\n $container.css('width', width);\n }\n };\n Select2.prototype._resolveWidth = function ($element, method) {\n var WIDTH = /^width:(([-+]?([0-9]*\\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;\n if (method == 'resolve') {\n var styleWidth = this._resolveWidth($element, 'style');\n if (styleWidth != null) {\n return styleWidth;\n }\n return this._resolveWidth($element, 'element');\n }\n if (method == 'element') {\n var elementWidth = $element.outerWidth(false);\n if (elementWidth <= 0) {\n return 'auto';\n }\n return elementWidth + 'px';\n }\n if (method == 'style') {\n var style = $element.attr('style');\n if (typeof style !== 'string') {\n return null;\n }\n var attrs = style.split(';');\n for (var i = 0, l = attrs.length; i < l; i = i + 1) {\n var attr = attrs[i].replace(/\\s/g, '');\n var matches = attr.match(WIDTH);\n if (matches !== null && matches.length >= 1) {\n return matches[1];\n }\n }\n return null;\n }\n if (method == 'computedstyle') {\n var computedStyle = window.getComputedStyle($element[0]);\n return computedStyle.width;\n }\n return method;\n };\n Select2.prototype._bindAdapters = function () {\n this.dataAdapter.bind(this, this.$container);\n this.selection.bind(this, this.$container);\n this.dropdown.bind(this, this.$container);\n this.results.bind(this, this.$container);\n };\n Select2.prototype._registerDomEvents = function () {\n var self = this;\n this.$element.on('change.select2', function () {\n self.dataAdapter.current(function (data) {\n self.trigger('selection:update', {\n data: data\n });\n });\n });\n this.$element.on('focus.select2', function (evt) {\n self.trigger('focus', evt);\n });\n this._syncA = Utils.bind(this._syncAttributes, this);\n this._syncS = Utils.bind(this._syncSubtree, this);\n this._observer = new window.MutationObserver(function (mutations) {\n self._syncA();\n self._syncS(mutations);\n });\n this._observer.observe(this.$element[0], {\n attributes: true,\n childList: true,\n subtree: false\n });\n };\n Select2.prototype._registerDataEvents = function () {\n var self = this;\n this.dataAdapter.on('*', function (name, params) {\n self.trigger(name, params);\n });\n };\n Select2.prototype._registerSelectionEvents = function () {\n var self = this;\n var nonRelayEvents = ['toggle', 'focus'];\n this.selection.on('toggle', function () {\n self.toggleDropdown();\n });\n this.selection.on('focus', function (params) {\n self.focus(params);\n });\n this.selection.on('*', function (name, params) {\n if (nonRelayEvents.indexOf(name) !== -1) {\n return;\n }\n self.trigger(name, params);\n });\n };\n Select2.prototype._registerDropdownEvents = function () {\n var self = this;\n this.dropdown.on('*', function (name, params) {\n self.trigger(name, params);\n });\n };\n Select2.prototype._registerResultsEvents = function () {\n var self = this;\n this.results.on('*', function (name, params) {\n self.trigger(name, params);\n });\n };\n Select2.prototype._registerEvents = function () {\n var self = this;\n this.on('open', function () {\n self.$container[0].classList.add('select2-container--open');\n });\n this.on('close', function () {\n self.$container[0].classList.remove('select2-container--open');\n });\n this.on('enable', function () {\n self.$container[0].classList.remove('select2-container--disabled');\n });\n this.on('disable', function () {\n self.$container[0].classList.add('select2-container--disabled');\n });\n this.on('blur', function () {\n self.$container[0].classList.remove('select2-container--focus');\n });\n this.on('query', function (params) {\n if (!self.isOpen()) {\n self.trigger('open', {});\n }\n this.dataAdapter.query(params, function (data) {\n self.trigger('results:all', {\n data: data,\n query: params\n });\n });\n });\n this.on('query:append', function (params) {\n this.dataAdapter.query(params, function (data) {\n self.trigger('results:append', {\n data: data,\n query: params\n });\n });\n });\n this.on('keypress', function (evt) {\n var key = evt.which;\n if (self.isOpen()) {\n if (key === KEYS.ENTER) {\n self.trigger('results:select');\n evt.preventDefault();\n } else if (key === KEYS.SPACE && evt.ctrlKey) {\n self.trigger('results:toggle');\n evt.preventDefault();\n } else if (key === KEYS.UP) {\n self.trigger('results:previous');\n evt.preventDefault();\n } else if (key === KEYS.DOWN) {\n self.trigger('results:next');\n evt.preventDefault();\n } else if (key === KEYS.ESC || key === KEYS.TAB) {\n self.close();\n evt.preventDefault();\n }\n } else {\n // Added the functionality to change option on press of up and down arrow. @edited\n if (key === KEYS.ENTER || key === KEYS.SPACE || (key === KEYS.DOWN || key === KEYS.UP) && evt.altKey) {\n self.open();\n evt.preventDefault();\n } else if (key === KEYS.DOWN) {\n if (undefined != this.$element.find('option:selected').next().val()) {\n this.$element.val(this.$element.find('option:selected').next().val());\n this.$element.trigger('change');\n }\n evt.preventDefault();\n } else if (key === KEYS.UP) {\n if (undefined != this.$element.find('option:selected').prev().val()) {\n this.$element.val(this.$element.find('option:selected').prev().val());\n this.$element.trigger('change');\n }\n evt.preventDefault();\n }\n // Added the functionality to select option based on key press. @edited\n else {\n var selectedValue = this.$element.find('option:selected').text();\n var keyPressed = String.fromCharCode(key).toLowerCase();\n var values = this.$element.find('option').filter(function () {\n var _$$text;\n return (_$$text = $(this).text()) === null || _$$text === void 0 ? void 0 : _$$text.toLowerCase().startsWith(keyPressed);\n });\n var arrLength = values.length - 1;\n var elemVal = selectedValue;\n values.each(function (index) {\n console.log(selectedValue);\n if (selectedValue !== '' && selectedValue[0].toLowerCase() === keyPressed) {\n if ($(this).text() === selectedValue && index !== arrLength) {\n elemVal = $(values[index + 1]).val();\n return false;\n }\n return;\n }\n elemVal = $(this).val();\n return false;\n });\n elemVal !== selectedValue && (self.$element.val(elemVal), self.$element.trigger('change'));\n }\n }\n });\n };\n Select2.prototype._syncAttributes = function () {\n this.options.set('disabled', this.$element.prop('disabled'));\n if (this.isDisabled()) {\n if (this.isOpen()) {\n this.close();\n }\n this.trigger('disable', {});\n } else {\n this.trigger('enable', {});\n }\n };\n Select2.prototype._isChangeMutation = function (mutations) {\n var self = this;\n if (mutations.addedNodes && mutations.addedNodes.length > 0) {\n for (var n = 0; n < mutations.addedNodes.length; n++) {\n var node = mutations.addedNodes[n];\n if (node.selected) {\n return true;\n }\n }\n } else if (mutations.removedNodes && mutations.removedNodes.length > 0) {\n return true;\n } else if (Array.isArray(mutations)) {\n return mutations.some(function (mutation) {\n return self._isChangeMutation(mutation);\n });\n }\n return false;\n };\n Select2.prototype._syncSubtree = function (mutations) {\n var changed = this._isChangeMutation(mutations);\n var self = this;\n\n // Only re-pull the data if we think there is a change\n if (changed) {\n this.dataAdapter.current(function (currentData) {\n self.trigger('selection:update', {\n data: currentData\n });\n });\n }\n };\n\n /**\n * Override the trigger method to automatically trigger pre-events when\n * there are events that can be prevented.\n */\n Select2.prototype.trigger = function (name, args) {\n var actualTrigger = Select2.__super__.trigger;\n var preTriggerMap = {\n 'open': 'opening',\n 'close': 'closing',\n 'select': 'selecting',\n 'unselect': 'unselecting',\n 'clear': 'clearing'\n };\n if (args === undefined) {\n args = {};\n }\n if (name in preTriggerMap) {\n var preTriggerName = preTriggerMap[name];\n var preTriggerArgs = {\n prevented: false,\n name: name,\n args: args\n };\n actualTrigger.call(this, preTriggerName, preTriggerArgs);\n if (preTriggerArgs.prevented) {\n args.prevented = true;\n return;\n }\n }\n actualTrigger.call(this, name, args);\n };\n Select2.prototype.toggleDropdown = function () {\n if (this.isDisabled()) {\n return;\n }\n if (this.isOpen()) {\n this.close();\n } else {\n this.open();\n }\n };\n Select2.prototype.open = function () {\n if (this.isOpen()) {\n return;\n }\n if (this.isDisabled()) {\n return;\n }\n this.trigger('query', {});\n };\n Select2.prototype.close = function (evt) {\n if (!this.isOpen()) {\n return;\n }\n this.trigger('close', {\n originalEvent: evt\n });\n };\n\n /**\n * Helper method to abstract the \"enabled\" (not \"disabled\") state of this\n * object.\n *\n * @return {true} if the instance is not disabled.\n * @return {false} if the instance is disabled.\n */\n Select2.prototype.isEnabled = function () {\n return !this.isDisabled();\n };\n\n /**\n * Helper method to abstract the \"disabled\" state of this object.\n *\n * @return {true} if the disabled option is true.\n * @return {false} if the disabled option is false.\n */\n Select2.prototype.isDisabled = function () {\n return this.options.get('disabled');\n };\n Select2.prototype.isOpen = function () {\n return this.$container[0].classList.contains('select2-container--open');\n };\n Select2.prototype.hasFocus = function () {\n return this.$container[0].classList.contains('select2-container--focus');\n };\n Select2.prototype.focus = function (data) {\n // No need to re-trigger focus events if we are already focused\n if (this.hasFocus()) {\n return;\n }\n this.$container[0].classList.add('select2-container--focus');\n this.trigger('focus', {});\n };\n Select2.prototype.enable = function (args) {\n if (this.options.get('debug') && window.console && console.warn) {\n console.warn('Select2: The `select2(\"enable\")` method has been deprecated and will' + ' be removed in later Select2 versions. Use $element.prop(\"disabled\")' + ' instead.');\n }\n if (args == null || args.length === 0) {\n args = [true];\n }\n var disabled = !args[0];\n this.$element.prop('disabled', disabled);\n };\n Select2.prototype.data = function () {\n if (this.options.get('debug') && arguments.length > 0 && window.console && console.warn) {\n console.warn('Select2: Data can no longer be set using `select2(\"data\")`. You ' + 'should consider setting the value instead using `$element.val()`.');\n }\n var data = [];\n this.dataAdapter.current(function (currentData) {\n data = currentData;\n });\n return data;\n };\n Select2.prototype.val = function (args) {\n if (this.options.get('debug') && window.console && console.warn) {\n console.warn('Select2: The `select2(\"val\")` method has been deprecated and will be' + ' removed in later Select2 versions. Use $element.val() instead.');\n }\n if (args == null || args.length === 0) {\n return this.$element.val();\n }\n var newVal = args[0];\n if (Array.isArray(newVal)) {\n newVal = newVal.map(function (obj) {\n return obj.toString();\n });\n }\n this.$element.val(newVal).trigger('input').trigger('change');\n };\n Select2.prototype.destroy = function () {\n Utils.RemoveData(this.$container[0]);\n this.$container.remove();\n this._observer.disconnect();\n this._observer = null;\n this._syncA = null;\n this._syncS = null;\n this.$element.off('.select2');\n this.$element.attr('tabindex', Utils.GetData(this.$element[0], 'old-tabindex'));\n\n // Remove SUI screen reader class. @edited\n this.$element.removeClass('sui-screen-reader-text');\n this.$element[0].classList.remove('select2-hidden-accessible');\n this.$element.attr('aria-hidden', 'false');\n Utils.RemoveData(this.$element[0]);\n this.$element.removeData('select2');\n this.dataAdapter.destroy();\n this.selection.destroy();\n this.dropdown.destroy();\n this.results.destroy();\n this.dataAdapter = null;\n this.selection = null;\n this.dropdown = null;\n this.results = null;\n };\n Select2.prototype.render = function () {\n var $container = $('<span class=\"select2 select2-container\">' + '<span class=\"selection\"></span>' + '<span class=\"dropdown-wrapper\" aria-hidden=\"true\"></span>' + '</span>');\n $container.attr('dir', this.options.get('dir'));\n this.$container = $container;\n\n // Add SUIselect class to select main div. @edited\n this.$container[0].classList.add('sui-select');\n\n // Additional class for themes. @edited\n if ('default' !== this.options.get('theme')) {\n this.$container[0].classList.add('sui-select-theme--' + this.options.get('theme'));\n }\n Utils.StoreData($container[0], 'element', this.$element);\n return $container;\n };\n return Select2;\n });\n S2.define('jquery-mousewheel', ['jquery'], function ($) {\n // Used to shim jQuery.mousewheel for non-full builds.\n return $;\n });\n\n /**\n * Rebranding select2 to SUIselect2\n * It does avoid conflicts with other(s) that include select2 manually\n * @edited\n */\n S2.define('sui.select2', ['jquery', 'jquery-mousewheel', './select2/core', './select2/defaults', './select2/utils'], function ($, _, Select2, Defaults, Utils) {\n // Rename function. @edited\n if ($.fn.SUIselect2 == null) {\n // All methods that should return the element\n var thisMethods = ['open', 'close', 'destroy'];\n\n // Rename function. @edited\n $.fn.SUIselect2 = function (options) {\n options = options || {};\n if (_typeof(options) === 'object') {\n this.each(function () {\n var instanceOptions = $.extend(true, {}, options);\n var instance = new Select2($(this), instanceOptions);\n });\n return this;\n } else if (typeof options === 'string') {\n var ret;\n var args = Array.prototype.slice.call(arguments, 1);\n this.each(function () {\n var instance = Utils.GetData(this, 'select2');\n if (instance == null && window.console && console.error) {\n // Rename function on error message. @edited\n console.error('The SUIselect2(\\'' + options + '\\') method was called on an ' + 'element that is not using Select2.');\n }\n ret = instance[options].apply(instance, args);\n });\n\n // Check if we should be returning `this`\n if (thisMethods.indexOf(options) > -1) {\n return this;\n }\n return ret;\n } else {\n // Rename function on error message. @edited\n throw new Error('Invalid arguments for SUIselect2: ' + options);\n }\n };\n }\n\n // Rename function. @edited\n if ($.fn.SUIselect2.defaults == null) {\n $.fn.SUIselect2.defaults = Defaults; // Rename function. @edited\n }\n\n return Select2;\n });\n\n // Return the AMD loader configuration so it can be used outside of this file\n return {\n define: S2.define,\n require: S2.require\n };\n }();\n\n // Autoload the jQuery bindings\n // We know that all of the modules exist above this, so we're safe\n var select2 = S2.require('sui.select2'); // Rename function. @edited\n\n // Hold the AMD module references on the jQuery function that was just loaded\n // This allows Select2 to use the internal loader outside of this file, such\n // as in the language files.\n // jQuery.fn.select2.amd = S2;\n\n // Return the Select2 instance for anyone who is importing it.\n return select2;\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n;\n(function ($) {\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.select = {};\n SUI.select.formatIcon = function (data, container) {\n var markup;\n var label = data.text;\n var icon = $(data.element).attr('data-icon');\n if (!data.id) {\n return label; // optgroup.\n }\n\n if ('undefined' !== typeof icon) {\n markup = '<span class=\"sui-icon-' + icon.toLowerCase() + '\" aria-hidden=\"true\"></span> ' + label;\n } else {\n markup = label;\n }\n return markup;\n };\n SUI.select.formatIconSelection = function (data, container) {\n var markup;\n var label = data.text;\n var icon = $(data.element).attr('data-icon');\n if ('undefined' !== typeof icon) {\n markup = '<span class=\"sui-icon-' + icon.toLowerCase() + '\" aria-hidden=\"true\"></span> ' + label;\n } else {\n markup = label;\n }\n return markup;\n };\n SUI.select.formatColor = function (data, container) {\n var markup, border;\n var label = data.text;\n var color = $(data.element).attr('data-color');\n if (!data.id) {\n return label; // optgroup.\n }\n\n if ('undefined' !== typeof color) {\n switch (color) {\n case '#FFF':\n case 'white':\n case '#FFFFFF':\n border = '#000';\n break;\n case '#FAFAFA':\n case '#F8F8F8':\n case '#F2F2F2':\n border = '#333';\n break;\n default:\n border = color;\n break;\n }\n markup = '<span class=\"sui-color\" style=\"border-color: ' + border + '; background-color: ' + color + ';\" aria-hidden=\"true\"></span> ' + label;\n } else {\n markup = label;\n }\n return markup;\n };\n SUI.select.formatColorSelection = function (data, container) {\n var markup;\n var label = data.text;\n var color = $(data.element).attr('data-color');\n if ('undefined' !== typeof color) {\n switch (color) {\n case '#FFF':\n case 'white':\n case '#FFFFFF':\n border = '#000';\n break;\n case '#FAFAFA':\n case '#F8F8F8':\n case '#F2F2F2':\n border = '#333';\n break;\n default:\n border = color;\n break;\n }\n markup = '<span class=\"sui-color\" style=\"border-color: ' + border + '; background-color: ' + color + ';\" aria-hidden=\"true\"></span> ' + label;\n } else {\n markup = label;\n }\n return markup;\n };\n SUI.select.formatVars = function (data, container) {\n var markup;\n var label = data.text;\n var content = $(data.element).val();\n if (!data.id) {\n return label; // optgroup.\n }\n\n if ('undefined' !== typeof content) {\n markup = '<span class=\"sui-variable-name\">' + label + '</span><span class=\"sui-variable-value\">' + content + '</span> ';\n } else {\n markup = label;\n }\n return markup;\n };\n SUI.select.formatVarsSelection = function (data, container) {\n var markup;\n var label = data.text;\n markup = '<span class=\"sui-icon-plus-circle sui-md\" aria-hidden=\"true\"></span>';\n markup += '<span class=\"sui-screen-reader-text\">' + label + '</span>';\n return markup;\n };\n SUI.select.init = function (select) {\n var getParent = select.closest('.sui-modal-content'),\n getParentId = getParent.attr('id'),\n selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-16'),\n hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n select.SUIselect2({\n dropdownParent: selectParent,\n minimumResultsForSearch: hasSearch,\n dropdownCssClass: isSmall\n });\n };\n SUI.select.initIcon = function (select) {\n var getParent = select.closest('.sui-modal-content'),\n getParentId = getParent.attr('id'),\n selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-16'),\n hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n select.SUIselect2({\n dropdownParent: selectParent,\n templateResult: SUI.select.formatIcon,\n templateSelection: SUI.select.formatIconSelection,\n escapeMarkup: function escapeMarkup(markup) {\n return markup;\n },\n minimumResultsForSearch: hasSearch,\n dropdownCssClass: isSmall\n });\n };\n SUI.select.initColor = function (select) {\n var getParent = select.closest('.sui-modal-content'),\n getParentId = getParent.attr('id'),\n selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-16'),\n hasSearch = 'true' === select.attr('data-search') ? 0 : -1,\n isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n select.SUIselect2({\n dropdownParent: selectParent,\n templateResult: SUI.select.formatColor,\n templateSelection: SUI.select.formatColorSelection,\n escapeMarkup: function escapeMarkup(markup) {\n return markup;\n },\n minimumResultsForSearch: hasSearch,\n dropdownCssClass: isSmall\n });\n };\n SUI.select.initSearch = function (select) {\n var getParent = select.closest('.sui-modal-content'),\n getParentId = getParent.attr('id'),\n selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-16'),\n isSmall = select.hasClass('sui-select-sm') ? 'sui-select-dropdown-sm' : '';\n select.SUIselect2({\n dropdownParent: selectParent,\n minimumInputLength: 2,\n maximumSelectionLength: 1,\n dropdownCssClass: isSmall\n });\n };\n SUI.select.initVars = function (select) {\n var getParent = select.closest('.sui-modal-content'),\n getParentId = getParent.attr('id'),\n selectParent = getParent.length ? $('#' + getParentId) : $('.sui-2-12-16'),\n hasSearch = 'true' === select.attr('data-search') ? 0 : -1;\n select.SUIselect2({\n theme: 'vars',\n dropdownParent: selectParent,\n templateResult: SUI.select.formatVars,\n templateSelection: SUI.select.formatVarsSelection,\n escapeMarkup: function escapeMarkup(markup) {\n return markup;\n },\n minimumResultsForSearch: hasSearch\n }).on('select2:close', function () {\n $(this).val(null);\n });\n select.val(null);\n };\n $('.sui-select').each(function () {\n var select = $(this);\n\n // return if select2 already initalized for element.\n if (select.hasClass('select2-hidden-accessible') || select.hasClass('select2')) {\n return;\n }\n if ('icon' === select.data('theme')) {\n SUI.select.initIcon(select);\n } else if ('color' === select.data('theme')) {\n SUI.select.initColor(select);\n } else if ('search' === select.data('theme')) {\n SUI.select.initSearch(select);\n } else {\n SUI.select.init(select);\n }\n });\n $('.sui-variables').each(function () {\n var select = $(this);\n\n // return if select2 already initalized for element.\n if (select.hasClass('select2-hidden-accessible') || select.hasClass('select2')) {\n return;\n }\n SUI.select.initVars(select);\n });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode\n 'use strict';\n\n // Define global SUI object if it doesn't exist\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.sideTabs = function (element) {\n var $this = $(element),\n $label = $this.parent('label'),\n $data = $this.data('tab-menu'),\n $wrapper = $this.closest('.sui-side-tabs'),\n $alllabels = $wrapper.find('>.sui-tabs-menu .sui-tab-item'),\n $allinputs = $alllabels.find('input'),\n newContent;\n $this.on('click', function (e) {\n $alllabels.removeClass('active');\n $allinputs.attr('checked', false);\n $allinputs.attr('aria-selected', false);\n $wrapper.find('> .sui-tabs-content > div[data-tab-content]').removeClass('active');\n $label.addClass('active');\n $this.attr('checked', true);\n $this.attr('aria-selected', true);\n newContent = $wrapper.find('.sui-tabs-content div[data-tab-content=\"' + $data + '\"]');\n if (newContent.length) {\n newContent.addClass('active');\n }\n });\n };\n $('.sui-2-12-16 .sui-side-tabs label.sui-tab-item input').each(function () {\n SUI.sideTabs(this);\n });\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.floatInput = function () {\n $('body').ready(function () {\n var $moduleName = $('.sui-sidenav .sui-with-floating-input'),\n $pageHeader = $('.sui-header-inline'),\n $pageTitle = $pageHeader.find('.sui-header-title');\n var $titleWidth = $pageTitle.width(),\n $navWidth = $pageHeader.next().find('.sui-sidenav').width();\n if ($titleWidth > $navWidth) {\n $moduleName.each(function () {\n $(this).css({\n 'left': $titleWidth + 20 + 'px'\n });\n });\n }\n });\n };\n SUI.floatInput();\n})(jQuery);","(function ($) {\n // Enable strict mode.\n 'use strict';\n\n var _$stickies = [].slice.call(document.querySelectorAll('.sui-box-sticky'));\n _$stickies.forEach(function (_$sticky) {\n if (CSS.supports && CSS.supports('position', 'sticky')) {\n if (null !== _$sticky.offsetParent) {\n apply_sticky_class(_$sticky);\n }\n window.addEventListener('scroll', function () {\n if (null !== _$sticky.offsetParent) {\n apply_sticky_class(_$sticky);\n }\n });\n }\n });\n function apply_sticky_class(_$sticky) {\n var currentOffset = _$sticky.getBoundingClientRect().top;\n var stickyOffset = parseInt(getComputedStyle(_$sticky).top.replace('px', ''));\n var isStuck = currentOffset <= stickyOffset;\n if (isStuck) {\n _$sticky.classList.add('sui-is-sticky');\n } else {\n _$sticky.classList.remove('sui-is-sticky');\n }\n }\n})(jQuery);","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n(function ($) {\n // Enable strict mode.\n 'use strict';\n\n // Define global SUI object if it doesn't exist.\n if ('object' !== _typeof(window.SUI)) {\n window.SUI = {};\n }\n SUI.suiTabs = function (config) {\n var data;\n var types = ['tab', 'pane'];\n var type;\n var groups = [];\n var activeGroups = [];\n var activeChildren = [];\n var activeItems = [];\n var indexGroup;\n var indexItem;\n var memory = [];\n function init(options) {\n var groupIndex;\n var tabItems;\n var itemIndex;\n var hashId;\n data = options;\n setDefaults();\n groups.tab = document.querySelectorAll(data.tabGroup);\n groups.pane = document.querySelectorAll(data.paneGroup);\n for (groupIndex = 0; groupIndex < groups.tab.length; groupIndex++) {\n tabItems = groups.tab[groupIndex].children;\n for (itemIndex = 0; itemIndex < tabItems.length; itemIndex++) {\n tabItems[itemIndex].addEventListener('click', onClick.bind(this, groupIndex, itemIndex), false);\n indexGroup = groupIndex;\n indexItem = itemIndex;\n if (window.location.hash) {\n hashId = window.location.hash.replace(/[^\\w-_]/g, '');\n if (hashId === tabItems[itemIndex].id) {\n setNodes(groupIndex, itemIndex);\n }\n }\n }\n }\n }\n function onClick(groupIndex, itemIndex) {\n setNodes(groupIndex, itemIndex);\n setCallback();\n }\n function setNodes(groupIndex, itemIndex) {\n var i;\n indexGroup = groupIndex;\n indexItem = itemIndex;\n for (i = 0; i < types.length; i++) {\n type = types[i];\n setActiveGroup();\n setActiveChildren();\n setActiveItems();\n putActiveClass();\n }\n memory[groupIndex] = [];\n memory[groupIndex][itemIndex] = true;\n }\n function putActiveClass() {\n var i;\n for (i = 0; i < activeChildren[type].length; i++) {\n activeChildren[type][i].classList.remove(data[type + 'Active']);\n }\n activeItems[type].classList.add(data[type + 'Active']);\n }\n function setDefaults() {\n var i;\n for (i = 0; i < types.length; i++) {\n type = types[i];\n setOption(type + 'Group', '[data-' + type + 's]');\n setOption(type + 'Active', 'active');\n }\n }\n function setOption(key, value) {\n data = data || [];\n data[key] = data[key] || value;\n }\n function setActiveGroup() {\n activeGroups[type] = groups[type][indexGroup];\n }\n function setActiveChildren() {\n activeChildren[type] = activeGroups[type].children;\n }\n function setActiveItems() {\n activeItems[type] = activeChildren[type][indexItem];\n }\n function setCallback() {\n if ('function' === typeof data.callback) {\n data.callback(activeItems.tab, activeItems.pane);\n }\n }\n init(config);\n return;\n };\n SUI.tabsOverflow = function ($el) {\n var tabs = $el.closest('.sui-tabs').find('[data-tabs], [role=\"tablist\"]'),\n leftButton = $el.find('.sui-tabs-navigation--left'),\n rightButton = $el.find('.sui-tabs-navigation--right');\n function overflowing() {\n if (tabs[0].scrollWidth > tabs.width()) {\n if (0 === tabs.scrollLeft()) {\n leftButton.addClass('sui-tabs-navigation--hidden');\n } else {\n leftButton.removeClass('sui-tabs-navigation--hidden');\n }\n reachedEnd(0);\n return true;\n } else {\n leftButton.addClass('sui-tabs-navigation--hidden');\n rightButton.addClass('sui-tabs-navigation--hidden');\n return false;\n }\n }\n overflowing();\n function reachedEnd(offset) {\n var newScrollLeft, width, scrollWidth;\n newScrollLeft = tabs.scrollLeft() + offset;\n width = tabs.outerWidth();\n scrollWidth = tabs.get(0).scrollWidth;\n if (scrollWidth - newScrollLeft <= width) {\n rightButton.addClass('sui-tabs-navigation--hidden');\n } else {\n rightButton.removeClass('sui-tabs-navigation--hidden');\n }\n }\n leftButton.on('click', function () {\n rightButton.removeClass('sui-tabs-navigation--hidden');\n if (0 >= tabs.scrollLeft() - 150) {\n leftButton.addClass('sui-tabs-navigation--hidden');\n }\n tabs.animate({\n scrollLeft: '-=150'\n }, 400, function () {});\n return false;\n });\n rightButton.on('click', function () {\n leftButton.removeClass('sui-tabs-navigation--hidden');\n reachedEnd(150);\n tabs.animate({\n scrollLeft: '+=150'\n }, 400, function () {});\n return false;\n });\n $(window).on('resize', function () {\n overflowing();\n });\n tabs.on('scroll', function () {\n overflowing();\n });\n };\n SUI.tabs = function (config) {\n var tablist = $('.sui-tabs > div[role=\"tablist\"]');\n var data = config;\n\n // For easy reference.\n var keys = {\n end: 35,\n home: 36,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n \"delete\": 46,\n enter: 13,\n space: 32\n };\n\n // Add or substract depending on key pressed.\n var direction = {\n 37: -1,\n 38: -1,\n 39: 1,\n 40: 1\n };\n\n // Prevent function from running if tablist does not exist.\n if (!tablist.length) {\n return;\n }\n\n // Deactivate all tabs and tab panels.\n function deactivateTabs(tabs, panels, inputs) {\n tabs.removeClass('active');\n tabs.attr('tabindex', '-1');\n tabs.attr('aria-selected', false);\n inputs.prop('checked', false);\n panels.removeClass('active');\n panels.prop('hidden', true);\n }\n\n // Activate current tab panel.\n function activateTab(tab) {\n var tabs = $(tab).closest('[role=\"tablist\"]').find('[role=\"tab\"]'),\n inputs = $(tab).closest('[role=\"tablist\"]').find('input[type=\"radio\"]'),\n panels = $(tab).closest('.sui-tabs').find('> .sui-tabs-content > [role=\"tabpanel\"]'),\n controls = $(tab).attr('aria-controls'),\n input = $(tab).next('input[type=\"radio\"]'),\n panel = $('#' + controls);\n deactivateTabs(tabs, panels, inputs);\n $(tab).addClass('active');\n $(tab).removeAttr('tabindex');\n $(tab).attr('aria-selected', true);\n input.prop('checked', true);\n panel.addClass('active');\n panel.prop('hidden', false);\n }\n\n // When a \"tablist\" aria-orientation is set to vertical,\n // only up and down arrow should function.\n // In all other cases only left and right should function.\n function determineOrientation(event, index, tablist) {\n var key = event.keyCode || event.which,\n vertical = 'vertical' === $(tablist).attr('aria-orientation'),\n proceed = false;\n\n // Check if aria orientation is set to vertical.\n if (vertical) {\n if (keys.up === key || keys.down === key) {\n event.preventDefault();\n proceed = true;\n }\n } else {\n if (keys.left === key || keys.right === key) {\n proceed = true;\n }\n }\n if (true === proceed) {\n switchTabOnArrowPress(event, index);\n }\n }\n\n // Either focus the next, previous, first, or last tab\n // depending on key pressed.\n function switchTabOnArrowPress(event, index) {\n var pressed, target, tabs;\n pressed = event.keyCode || event.which;\n if (direction[pressed]) {\n target = event.target;\n tabs = $(target).closest('[role=\"tablist\"]').find('> [role=\"tab\"]');\n if (undefined !== index) {\n if (tabs[index + direction[pressed]]) {\n tabs[index + direction[pressed]].focus();\n } else if (keys.left === pressed || keys.up === pressed) {\n tabs[tabs.length - 1].focus();\n } else if (keys.right === pressed || keys.down === pressed) {\n tabs[0].focus();\n }\n }\n }\n }\n\n // Callback function.\n function setCallback(currentTab) {\n var tab = $(currentTab),\n controls = tab.attr('aria-controls'),\n panel = $('#' + controls);\n if ('function' === typeof data.callback) {\n data.callback(tab, panel);\n }\n }\n\n // When a tab is clicked, activateTab is fired to activate it.\n function clickEventListener(event) {\n var tab = event.target;\n activateTab(tab);\n if (undefined !== data && 'undefined' !== data) {\n setCallback(tab);\n }\n event.preventDefault();\n event.stopPropagation();\n }\n function keydownEventListener(event, index, tablist) {\n var key = event.keyCode || event.which;\n switch (key) {\n case keys.end:\n case keys.home:\n event.preventDefault();\n break;\n\n // Up and down are in keydown\n // because we need to prevent page scroll.\n case keys.up:\n case keys.down:\n determineOrientation(event, index, tablist);\n break;\n }\n }\n function keyupEventListener(event, index, tablist) {\n var key = event.keyCode || event.which;\n switch (key) {\n case keys.left:\n case keys.right:\n determineOrientation(event, index, tablist);\n break;\n case keys.enter:\n case keys.space:\n activateTab(event);\n break;\n }\n }\n function init() {\n var tabgroup = tablist.closest('.sui-tabs');\n\n // Run the function for each group of tabs to prevent conflicts\n // when having child tabs.\n tabgroup.each(function () {\n var tabs, index;\n tabgroup = $(this);\n tablist = tabgroup.find('> [role=\"tablist\"]');\n tabs = tablist.find('> [role=\"tab\"]');\n\n // Trigger events on click.\n tabs.on('click', function (e) {\n clickEventListener(e);\n\n // Trigger events when pressing key.\n }).on('keydown', function (e) {\n index = $(this).index();\n keydownEventListener(e, index, tablist);\n\n // Trigger events when releasing key.\n }).on('keyup', function (e) {\n index = $(this).index();\n keyupEventListener(e, index, tablist);\n });\n });\n }\n init();\n return this;\n };\n if (0 !== $('.sui-2-12-16 .sui-tabs').length) {\n // Support tabs new markup.\n SUI.tabs();\n\n // Support legacy tabs.\n SUI.suiTabs();\n $('.sui-2-12-16 .sui-tabs-navigation').each(function () {\n SUI.tabsOverflow($(this));\n });\n }\n})(jQuery);","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","require( '@wpmudev/shared-ui/dist/js/_src/accordion' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/dialog-slider' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/dropdowns' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/modal-dialog' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/notifications' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/password' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/reviews' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/scores' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/select2.full' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/select2' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/side-tabs' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/sidenav-input' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/sticky-box' );\nrequire( '@wpmudev/shared-ui/dist/js/_src/tabs' );\n"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","$","pluginName","defaults","SUIAccordion","element","options","this","$element","settings","extend","_defaults","_name","init","on","event","getItem","closest","clickedTarget","nextUntil","filter","find","target","flexHeader","flexItem","parent","flexChart","flexParent","flexContent","next","tableItem","tableContent","tableBox","button","buttonText","text","dataContent","data","length","hasClass","removeClass","addClass","attr","trigger","setTimeout","html","stopPropagation","fn","each","jQuery","window","document","SUI","suiAccordion","el","sliderBack","currSlide","prevSlide","slider","dialog","slides","navigation","navButtons","btnBack","btnNext","prev","prop","first","sliderNext","nextSlide","sliderStep","slide","steps","navBack","navNext","e","index","curSlide","newSlide","load","preventDefault","dialogSlider","tourBack","tourNext","linkDropdown","closeAllDropdowns","$except","$dropdowns","not","$parent","toggleClass","$anchor","is","has","aria","KeyCode","BACKSPACE","TAB","RETURN","ESC","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT","UP","RIGHT","DOWN","DELETE","Utils","remove","item","parentNode","removeChild","isFocusable","tabIndex","getAttribute","disabled","nodeName","href","rel","type","simulateClick","evt","MouseEvent","bubbles","cancelable","view","dispatchEvent","IgnoreUtilFocusChanges","dialogOpenClass","focusFirstDescendant","i","childNodes","child","attemptFocus","focusLastDescendant","focus","activeElement","OpenDialogList","Array","getCurrentDialog","closeCurrentDialog","currentDialog","close","handleEscape","which","keyCode","Dialog","dialogId","focusAfterClosed","focusFirst","hasOverlayMask","isCloseOnEsc","arguments","undefined","isAnimated","dialogNode","getElementById","Error","validRoles","isDialog","trim","split","some","token","role","openEvent","Event","backdropClass","classList","contains","backdropNode","createElement","className","setAttribute","insertBefore","dialogNodev","appendChild","add","body","preDiv","preNode","onclick","postDiv","postNode","nextSibling","removeListeners","addListeners","push","lastFocus","afterOpenEvent","self","closeEvent","pop","querySelectorAll","hasAttribute","newDialogSize","newDialogLabel","getDialogLabel","newDialogDesc","getDialogDesc","removeAttribute","afterCloseEvent","replace","newDialogId","newFocusAfterClosed","newFocusFirst","newSlideId","newSlideFocus","newSlideEntrance","animation","getAllSlides","getNewSlide","addEventListener","trapFocus","removeEventListener","openModal","dialogOverlay","closeModal","replaceModal","topDialog","slideModal","modalDialog","buttonOpen","buttonClose","buttonReplace","buttonSlide","overlayMask","modalId","slideId","closeFocus","newFocus","_defineProperty","key","value","arg","input","hint","prim","toPrimitive","res","call","TypeError","String","_toPrimitive","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","_this","openNotice","noticeId","noticeMessage","noticeOptions","noticeNode","nodeWrapper","utils","allowedNotices","isObject","isPlainObject","deepMerge","_len","sources","_key","source","shift","assign","apply","concat","setProperties","incomingOptions","icon","dismiss","show","label","tooltip","autoclose","timeout","buildDismiss","innerHTML","buildIcon","buildMessage","prepend","buildNotice","append","showNotice","removeAttr","slideDown","closeNotice","parseInt","fadeIn","slideUp","fadeOut","hide","hideNotice","empty","notice","Open","paragraph","Close","btnOpen","btnClose","showHidePassword","$this","off","$button","$input","$icon","reviews","review","rating","stars","Math","round","starsBlock","replaceWith","ajax","url","success","stats","average_rating","loadCircleScore","score","svg","PI","css","S2","select2","amd","requirejs","require","define","undef","main","_req","makeMap","handlers","defined","waiting","config","defining","hasOwn","hasOwnProperty","aps","slice","jsSuffixRegExp","hasProp","normalize","name","baseName","nameParts","nameSegment","mapValue","foundMap","lastIndex","foundI","foundStarMap","starI","j","part","baseParts","map","starMap","nodeIdCompat","test","charAt","splice","join","makeRequire","relName","forceSync","args","makeLoad","depName","callDep","splitPrefix","prefix","indexOf","substring","makeRelParts","makeConfig","relParts","plugin","parts","relResourceName","f","n","pr","p","exports","module","id","uri","deps","callback","cjsModule","ret","usingExports","callbackType","alt","cfg","_defined","_$","console","error","getMethods","theClass","proto","methods","methodName","Extend","ChildClass","SuperClass","__hasProp","BaseConstructor","__super__","Decorate","DecoratorClass","decoratedMethods","superMethods","DecoratedClass","unshift","argCount","calledConstructor","displayName","m","superMethod","calledMethod","originalMethod","decoratedMethod","d","Observable","listeners","params","_type","invoke","len","generateChars","chars","floor","random","toString","bind","func","context","_convertData","originalKey","keys","dataLevel","k","toLowerCase","hasScroll","$el","overflowX","style","overflowY","innerHeight","scrollHeight","innerWidth","scrollWidth","escapeMarkup","markup","replaceMap","match","__cache","GetUniqueElementId","select2Id","StoreData","GetData","RemoveData","copyNonInternalCssClasses","dest","src","destinationClasses","clazz","sourceClasses","replacements","Results","dataAdapter","render","$results","get","clear","displayMessage","hideLoading","$message","message","hideMessages","$options","results","sort","$option","option","children","position","$dropdown","sorter","highlightFirstItem","$selected","ensureHighlightVisible","setClasses","current","selected","selectedIds","s","showLoading","loading","loadingMore","$loading","attrs","matches","Element","msMatchesSelector","webkitMatchesSelector","_resultId","title","val","template","$children","c","$child","$childrenContainer","container","$container","isOpen","$highlighted","getHighlightedResults","currentIndex","nextIndex","$next","eq","currentOffset","offset","top","nextTop","nextOffset","scrollTop","outerHeight","nextBottom","mousewheel","bottom","deltaY","isAtTop","isAtBottom","height","originalEvent","destroy","offsetDelta","result","content","display","ENTER","SHIFT","CTRL","ALT","KEYS","BaseSelection","$selection","_tabindex","resultsId","_handleBlur","update","_attachCloseHandler","_detachCloseHandler","$select","SUIselect2","isEnabled","isDisabled","SingleSelection","$rendered","selectionContainer","selection","formatted","MultipleSelection","$selections","selectionIdPrefix","selectionId","removeItem","$remove","Placeholder","decorated","placeholder","normalizePlaceholder","_","createPlaceholder","$placeholder","placeholderTitle","singlePlaceholder","AllowClear","_handleClear","_handleKeyboardClear","$clear","previousVal","unselectData","prevented","removeAll","Search","searchLabel","$search","$searchContainer","_transferTabIndex","resizeSearch","_keyUpPrevented","isDefaultPrevented","$previousChoice","last","searchRemoveChoice","msie","documentMode","disableInputEvents","handleSearch","searchHadFocus","term","width","SelectionCSS","selectionCssClass","EventRelay","relayEvents","preventableEvents","Translation","dict","all","translation","_cache","loadPath","path","translations","BaseAdapter","query","generateResultId","SelectAdapter","selectedElement","select","tagName","currentData","unselect","addOptions","textContent","innerText","normalizedData","_normalizeItem","matcher","ArrayAdapter","_dataToConvert","convertToOptions","elm","$existing","existingIds","onlyItem","$existingOption","existingData","newData","$newOption","AjaxAdapter","ajaxOptions","_applyDefaults","processResults","q","transport","failure","$request","then","fail","_request","abort","request","isArray","status","delay","_queryTimeout","clearTimeout","Tags","tags","createTag","insertTag","t","tag","_removeOldTags","page","wrapper","checkChildren","toUpperCase","Tokenizer","tokenizer","dropdown","tokenData","separators","termChar","substr","MinimumInputLength","$e","minimumInputLength","minimum","MaximumInputLength","maximumInputLength","maximum","MaximumSelectionLength","maximumSelectionLength","_checkIfMaximumSelected","successCallback","count","Dropdown","showSearch","HidePlaceholder","removePlaceholder","modifiedData","InfiniteScroll","lastParams","$loadingMore","createLoadingMore","showLoadingMore","loadMoreIfNeeded","isLoadMoreVisible","documentElement","loadMore","pagination","more","AttachBody","$dropdownParent","_showDropdown","_attachPositioningHandler","_bindContainerResultHandlers","_hideDropdown","_detachPositioningHandler","$dropdownContainer","detach","_containerResultsHandlersBound","_positionDropdown","_resizeDropdown","scrollEvent","resizeEvent","orientationEvent","$watchers","parents","x","scrollLeft","y","ev","$window","isCurrentlyAbove","isCurrentlyBelow","newDirection","viewport","enoughRoomAbove","enoughRoomBelow","left","$offsetParent","offsetParent","parentOffset","isConnected","outerWidth","minWidth","appendTo","countResults","MinimumResultsForSearch","minimumResultsForSearch","Infinity","SelectOnClose","_handleSelectOnClose","originalSelect2Event","$highlightedResults","CloseOnSelect","_selectTriggered","ctrlKey","metaKey","DropdownCSS","dropdownCssClass","TagsSearchHighlight","$firstOption","firstElement","errorLoading","inputTooLong","overChars","inputTooShort","maximumSelected","noResults","searching","removeAllItems","search","ResultsList","SelectionSearch","DIACRITICS","SelectData","ArrayData","AjaxData","DropdownSearch","EnglishTranslation","Defaults","reset","tokenSeparators","resultsAdapter","selectOnClose","dropdownAdapter","multiple","SearchableDropdown","closeOnSelect","selectionAdapter","allowClear","language","_resolveLanguage","uniqueLanguages","l","_processTranslations","debug","stripDiacritics","a","amdLanguageBase","autocomplete","dropdownAutoWidth","original","scrollAfterSelect","templateResult","templateSelection","theme","applyFromElement","optionLanguage","defaultLanguage","elementLanguage","parentLanguage","languages","isEmptyObject","resolvedLanguages","baseLanguage","languageData","ex","warn","set","camelCase","convertedData","Options","fromElement","excludedData","dir","dataset","upperCaseLetter","letter","attributes","attributeName","dataName","dataValue","jquery","Select2","_generateId","tabindex","DataAdapter","_placeContainer","SelectionAdapter","DropdownAdapter","ResultsAdapter","_bindAdapters","_registerDomEvents","_registerDataEvents","_registerSelectionEvents","_registerDropdownEvents","_registerResultsEvents","_registerEvents","initialData","_syncAttributes","insertAfter","_resolveWidth","method","WIDTH","styleWidth","elementWidth","getComputedStyle","_syncA","_syncS","_syncSubtree","_observer","MutationObserver","mutations","observe","childList","subtree","nonRelayEvents","toggleDropdown","altKey","open","selectedValue","keyPressed","fromCharCode","values","_$$text","startsWith","arrLength","elemVal","log","_isChangeMutation","addedNodes","removedNodes","mutation","changed","actualTrigger","preTriggerMap","preTriggerName","preTriggerArgs","hasFocus","enable","newVal","disconnect","removeData","thisMethods","instanceOptions","instance","factory","formatIcon","formatIconSelection","formatColor","border","color","formatColorSelection","formatVars","formatVarsSelection","getParent","getParentId","selectParent","hasSearch","isSmall","dropdownParent","initIcon","initColor","initSearch","initVars","sideTabs","newContent","$label","$data","$wrapper","$alllabels","$allinputs","floatInput","ready","$moduleName","$pageHeader","$titleWidth","$navWidth","apply_sticky_class","_$sticky","getBoundingClientRect","forEach","CSS","supports","suiTabs","indexGroup","indexItem","types","groups","activeGroups","activeChildren","activeItems","memory","onClick","groupIndex","itemIndex","setNodes","tab","pane","putActiveClass","setOption","tabItems","setDefaults","tabGroup","paneGroup","location","hash","tabsOverflow","tabs","leftButton","rightButton","overflowing","reachedEnd","newScrollLeft","animate","tabgroup","tablist","direction","activateTab","currentTab","controls","panel","setCallback","determineOrientation","keydownEventListener","keyupEventListener","inputs","panels","deactivateTabs","proceed","pressed","switchTabOnArrowPress","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__"],"sourceRoot":""}