index of
/
home
/
thefkyzp
/
www
/
wp-content
/
plugins
/
forminator
/
build
/
js
/
File: /home/thefkyzp/www/wp-content/plugins/forminator/build/js/shared-ui.min.js
/*! For license information please see shared-ui.min.js.LICENSE.txt */ !function(){var e={511:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(e){"use strict";var t="SUIAccordion",i={};function s(s,n){this.element=s,this.$element=e(this.element),this.settings=e.extend({},i,n),this._defaults=i,this._name=t,this.init()}e.extend(s.prototype,{init:function(){this.$element.on("click","div.sui-accordion-item-header, tr.sui-accordion-item",(function(t){var i=e(this).closest(".sui-accordion-item"),s=(i.nextUntil(".sui-accordion-item").filter(".sui-accordion-item-content"),i.closest(".sui-accordion"),i.find(".sui-chartjs-animated"),e(t.target)),n=e(this),o=n.parent(),r=o.find(".sui-chartjs-animated"),a=o.parent(),l=n.next(".sui-accordion-item-body").find(" .sui-box"),c=e(this),d=c.nextUntil(".sui-accordion-item").filter(".sui-accordion-item-content"),u=d.find(".sui-box"),p=e(this).find(".sui-accordion-open-indicator > .sui-screen-reader-text"),h=null==p?void 0:p.text(),f=null==p?void 0:p.data("content");if(s.closest(".sui-accordion-item-action").length)return!0;n.hasClass("sui-accordion-item-header")&&(o.hasClass("sui-accordion-item--disabled")||o.hasClass("sui-accordion-item--open")?o.removeClass("sui-accordion-item--open"):(o.addClass("sui-accordion-item--open"),l.attr("tabindex","0").trigger("focus")),a.hasClass("sui-accordion-block")&&0!==r.length&&(o.find(".sui-accordion-item-data").addClass("sui-onload"),r.removeClass("sui-chartjs-loaded"),o.hasClass("sui-accordion-item--open")&&setTimeout((function(){o.find(".sui-accordion-item-data").removeClass("sui-onload"),r.addClass("sui-chartjs-loaded")}),1200))),c.hasClass("sui-accordion-item")&&(c.hasClass("sui-accordion-item--disabled")?d.removeClass("sui-accordion-item--open"):c.hasClass("sui-accordion-item--open")?(c.removeClass("sui-accordion-item--open"),d.removeClass("sui-accordion-item--open")):(c.addClass("sui-accordion-item--open"),d.addClass("sui-accordion-item--open"),u.attr("tabindex","0").trigger("focus"))),f&&(p.html(f),p.data("content",h)),t.stopPropagation()}))}}),e.fn[t]=function(i){return this.each((function(){e.data(this,t)||e.data(this,t,new s(this,i))}))}}(jQuery,window,document),function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.suiAccordion=function(e){return t(e).SUIAccordion({}),this},0!==t(".sui-2-12-23 .sui-accordion").length&&t(".sui-2-12-23 .sui-accordion").each((function(){SUI.suiAccordion(this)}))}(jQuery)},364:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.sliderBack=function(e){var i,s,n=t(e),o=n.closest(".sui-dialog"),r=n.find(".sui-slider-content > li"),a=n.find(".sui-slider-navigation"),l=a.find("button"),c=a.find(".sui-prev"),d=a.find(".sui-next");if(o.hasClass("sui-dialog-onboard"))return i=n.find(".sui-slider-content > li.sui-current"),(s=i.prev()).length?(i.removeClass("sui-current"),i.removeClass("sui-loaded"),s.addClass("sui-current"),s.addClass("fadeInLeft"),l.prop("disabled",!0),n.hasClass("sui-infinite")||(d.removeClass("sui-hidden"),r.first().data("slide")===s.data("slide")&&c.addClass("sui-hidden")),setTimeout((function(){s.addClass("sui-loaded"),s.removeClass("fadeInLeft")}),600),setTimeout((function(){l.prop("disabled",!1)}),650)):n.hasClass("sui-infinite")&&(s=n.find(".sui-slider-content > li:last"),i.removeClass("sui-current"),i.removeClass("sui-loaded"),s.addClass("sui-current"),s.addClass("fadeInLeft"),l.prop("disabled",!0),setTimeout((function(){s.addClass("sui-loaded"),s.removeClass("fadeInLeft")}),600),setTimeout((function(){l.prop("disabled",!1)}),650)),this},SUI.sliderNext=function(e){var i,s,n=t(e),o=n.closest(".sui-dialog"),r=n.find(".sui-slider-content > li"),a=n.find(".sui-slider-navigation"),l=a.find("button"),c=a.find(".sui-prev"),d=a.find(".sui-next");if(o.hasClass("sui-dialog-onboard"))return i=n.find(".sui-slider-content > li.sui-current"),(s=i.next()).length?(i.removeClass("sui-current"),i.removeClass("sui-loaded"),s.addClass("sui-current"),s.addClass("fadeInRight"),l.prop("disabled",!0),n.hasClass("sui-infinite")||(c.removeClass("sui-hidden"),r.length===s.data("slide")&&d.addClass("sui-hidden")),setTimeout((function(){s.addClass("sui-loaded"),s.removeClass("fadeInRight")}),600),setTimeout((function(){l.prop("disabled",!1)}),650)):n.hasClass("sui-infinite")&&(s=n.find(".sui-slider-content > li:first"),i.removeClass("sui-current"),i.removeClass("sui-loaded"),s.addClass("sui-current"),s.addClass("fadeInRight"),l.prop("disabled",!0),setTimeout((function(){s.addClass("sui-loaded"),s.removeClass("fadeInRight")}),600),setTimeout((function(){l.prop("disabled",!1)}),650)),this},SUI.sliderStep=function(e){var i=t(e),s=i.closest(".sui-dialog"),n=i.find(".sui-slider-content"),o=n.find("> li"),r=i.find(".sui-slider-steps"),a=r.find("li").find("button"),l=i.find(".sui-slider-navigation"),c=l.find("button"),d=l.find(".sui-prev"),u=l.find(".sui-next");if(s.hasClass("sui-dialog-onboard")||r.hasClass("sui-clickable"))return a.length&&a.on("click",(function(e){o.removeClass("sui-current"),o.removeClass("sui-loaded"),function(e){var s=t(e),r=s.data("slide"),a=s.closest("li[data-slide]"),l=n.find('> li[data-slide="'+r+'"]');l.addClass("sui-current"),a.data("slide")<l.data("slide")?l.addClass("fadeInRight"):l.addClass("fadeInLeft"),c.prop("disabled",!0),i.hasClass("sui-infinite")||(1===l.data("slide")&&(d.addClass("sui-hidden"),u.removeClass("sui-hidden")),o.length===l.data("slide")&&(d.removeClass("sui-hidden"),u.addClass("sui-hidden"))),setTimeout((function(){l.addClass("sui-loaded"),a.data("slide")<l.data("slide")?l.removeClass("fadeInRight"):l.removeClass("fadeInLeft")}),600),setTimeout((function(){c.prop("disabled",!1)}),650)}(this),e.preventDefault(),e.stopPropagation()})),this},SUI.dialogSlider=function(e){var i=t(e),s=i.closest(".sui-dialog"),n=i.find(".sui-slider-navigation .sui-prev"),o=i.find(".sui-slider-navigation .sui-next"),r=i.find("*[data-a11y-dialog-tour-back]"),a=i.find("*[data-a11y-dialog-tour-next]"),l=i.find(".sui-slider-steps");if(s.hasClass("sui-dialog-onboard")&&!i.hasClass("sui-slider-off"))return n.length&&n.on("click",(function(e){SUI.sliderBack(i),e.preventDefault()})),r.length&&r.on("click",(function(e){SUI.sliderBack(i),e.preventDefault()})),o.length&&o.on("click",(function(e){SUI.sliderNext(i),e.preventDefault()})),a.length&&a.on("click",(function(e){SUI.sliderNext(i),e.preventDefault()})),l.length&&SUI.sliderStep(i),this},t(".sui-2-12-23 .sui-slider").each((function(){SUI.dialogSlider(this)}))}(jQuery)},235:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.linkDropdown=function(){function e(e){var i=t(".sui-2-12-23 .sui-dropdown");e&&(i=i.not(e)),i.removeClass("open")}t("body").on("click",".sui-dropdown-anchor",(function(i){var s=t(this).parent();e(s),s.hasClass("sui-dropdown")&&s.toggleClass("open"),i.preventDefault()})),t("body").on("mouseup",(function(i){var s=t(".sui-2-12-23 .sui-dropdown-anchor");s.is(i.target)||0!==s.has(i.target).length||e()}))},SUI.linkDropdown()}(jQuery)},150:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){"use strict";"object"!==e(window.SUI)&&(window.SUI={});var t=t||{};t.KeyCode={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},t.Utils=t.Utils||{},t.Utils.remove=function(e){return e.remove&&"function"==typeof e.remove?e.remove():!(!e.parentNode||!e.parentNode.removeChild||"function"!=typeof e.parentNode.removeChild)&&e.parentNode.removeChild(e)},t.Utils.isFocusable=function(e){if(0<e.tabIndex||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!=e.rel;case"INPUT":return"hidden"!=e.type&&"file"!=e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},t.Utils.simulateClick=function(e){var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});e.dispatchEvent(t)},t.Utils.IgnoreUtilFocusChanges=!1,t.Utils.dialogOpenClass="sui-has-modal",t.Utils.focusFirstDescendant=function(e){for(var i=0;i<e.childNodes.length;i++){var s=e.childNodes[i];if(t.Utils.attemptFocus(s)||t.Utils.focusFirstDescendant(s))return!0}return!1},t.Utils.focusLastDescendant=function(e){for(var i=e.childNodes.length-1;0<=i;i--){var s=e.childNodes[i];if(t.Utils.attemptFocus(s)||t.Utils.focusLastDescendant(s))return!0}return!1},t.Utils.attemptFocus=function(e){if(!t.Utils.isFocusable(e))return!1;t.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(e){}return t.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},t.OpenDialogList=t.OpenDialogList||new Array(0),t.getCurrentDialog=function(){if(t.OpenDialogList&&t.OpenDialogList.length)return t.OpenDialogList[t.OpenDialogList.length-1]},t.closeCurrentDialog=function(){var e=t.getCurrentDialog();return!!e&&(e.close(),!0)},t.handleEscape=function(e){(e.which||e.keyCode)===t.KeyCode.ESC&&t.closeCurrentDialog()&&e.stopPropagation()},t.Dialog=function(i,s,n,o){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(this.dialogNode=document.getElementById(i),null===this.dialogNode)throw new Error('No element found with id="'+i+'".');var l=["dialog","alertdialog"];if(!(this.dialogNode.getAttribute("role")||"").trim().split(/\s+/g).some((function(e){return l.some((function(t){return e===t}))})))throw new Error("Dialog() requires a DOM element with ARIA role of dialog or alertdialog.");this.isCloseOnEsc=r;var c=new Event("open");this.dialogNode.dispatchEvent(c);var d="sui-modal";if(this.dialogNode.parentNode.classList.contains(d)?this.backdropNode=this.dialogNode.parentNode:(this.backdropNode=document.createElement("div"),this.backdropNode.className=d,this.backdropNode.setAttribute("data-markup","new"),this.dialogNode.parentNode.insertBefore(this.backdropNode,this.dialogNodev),this.backdropNode.appendChild(this.dialogNode)),this.backdropNode.classList.add("sui-active"),document.body.parentNode.classList.add(t.Utils.dialogOpenClass),"string"==typeof s)this.focusAfterClosed=document.getElementById(s);else{if("object"!==e(s))throw new Error("the focusAfterClosed parameter is required for the aria.Dialog constructor.");this.focusAfterClosed=s}"string"==typeof n?this.focusFirst=document.getElementById(n):"object"===e(n)?this.focusFirst=n:this.focusFirst=null;var u=document.createElement("div");this.preNode=this.dialogNode.parentNode.insertBefore(u,this.dialogNode),this.preNode.tabIndex=0,"boolean"==typeof o&&!0===o&&(this.preNode.classList.add("sui-modal-overlay"),this.preNode.onclick=function(){t.getCurrentDialog().close()});var p=document.createElement("div");this.postNode=this.dialogNode.parentNode.insertBefore(p,this.dialogNode.nextSibling),this.postNode.tabIndex=0,0<t.OpenDialogList.length&&t.getCurrentDialog().removeListeners(),this.addListeners(),t.OpenDialogList.push(this),a?(this.dialogNode.classList.add("sui-content-fade-in"),this.dialogNode.classList.remove("sui-content-fade-out")):(this.dialogNode.classList.remove("sui-content-fade-in"),this.dialogNode.classList.remove("sui-content-fade-out")),this.focusFirst?this.focusFirst.focus():t.Utils.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement;var h=new Event("afterOpen");this.dialogNode.dispatchEvent(h)},t.Dialog.prototype.close=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=this,s=new Event("close");this.dialogNode.dispatchEvent(s),t.OpenDialogList.pop(),this.removeListeners(),this.preNode.parentNode.removeChild(this.preNode),this.postNode.parentNode.removeChild(this.postNode),e?(this.dialogNode.classList.add("sui-content-fade-out"),this.dialogNode.classList.remove("sui-content-fade-in")):(this.dialogNode.classList.remove("sui-content-fade-in"),this.dialogNode.classList.remove("sui-content-fade-out")),this.focusAfterClosed.focus(),setTimeout((function(){i.backdropNode.classList.remove("sui-active")}),300),setTimeout((function(){var e=i.dialogNode.querySelectorAll(".sui-modal-slide");if(0<e.length){for(var t=0;t<e.length;t++)e[t].setAttribute("disabled",!0),e[t].classList.remove("sui-loaded"),e[t].classList.remove("sui-active"),e[t].setAttribute("tabindex","-1"),e[t].setAttribute("aria-hidden",!0);if(e[0].hasAttribute("data-modal-size")){var s=e[0].getAttribute("data-modal-size");switch(s){case"sm":case"small":s="sm";break;case"md":case"med":case"medium":s="md";break;case"lg":case"large":s="lg";break;case"xl":case"extralarge":case"extraLarge":case"extra-large":s="xl";break;default:s=void 0}void 0!==s&&(i.dialogNode.parentNode.classList.remove("sui-modal-sm"),i.dialogNode.parentNode.classList.remove("sui-modal-md"),i.dialogNode.parentNode.classList.remove("sui-modal-lg"),i.dialogNode.parentNode.classList.remove("sui-modal-xl"),i.dialogNode.parentNode.classList.add("sui-modal-"+s))}var n,o,r,a;e[0].classList.add("sui-active"),e[0].classList.add("sui-loaded"),e[0].removeAttribute("disabled"),e[0].removeAttribute("tabindex"),e[0].removeAttribute("aria-hidden"),e[0].hasAttribute("data-modal-labelledby")&&(n="",""===(o=e[0].getAttribute("data-modal-labelledby"))&&void 0===o||(n=o),i.dialogNode.setAttribute("aria-labelledby",n)),e[0].hasAttribute("data-modal-describedby")&&(r="",""===(a=e[0].getAttribute("data-modal-describedby"))&&void 0===a||(r=a),i.dialogNode.setAttribute("aria-describedby",r))}}),350),0<t.OpenDialogList.length?t.getCurrentDialog().addListeners():document.body.parentNode.classList.remove(t.Utils.dialogOpenClass);var n=new Event("afterClose");this.dialogNode.dispatchEvent(n)},t.Dialog.prototype.replace=function(e,i,s,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=this;t.OpenDialogList.pop(),this.removeListeners(),t.Utils.remove(this.preNode),t.Utils.remove(this.postNode),r?(this.dialogNode.classList.add("sui-content-fade-in"),this.dialogNode.classList.remove("sui-content-fade-out")):(this.dialogNode.classList.remove("sui-content-fade-in"),this.dialogNode.classList.remove("sui-content-fade-out")),this.backdropNode.classList.remove("sui-active"),setTimeout((function(){var e=a.dialogNode.querySelectorAll(".sui-modal-slide");if(0<e.length){for(var t=0;t<e.length;t++)e[t].setAttribute("disabled",!0),e[t].classList.remove("sui-loaded"),e[t].classList.remove("sui-active"),e[t].setAttribute("tabindex","-1"),e[t].setAttribute("aria-hidden",!0);if(e[0].hasAttribute("data-modal-size")){var i=e[0].getAttribute("data-modal-size");switch(i){case"sm":case"small":i="sm";break;case"md":case"med":case"medium":i="md";break;case"lg":case"large":i="lg";break;case"xl":case"extralarge":case"extraLarge":case"extra-large":i="xl";break;default:i=void 0}void 0!==i&&(a.dialogNode.parentNode.classList.remove("sui-modal-sm"),a.dialogNode.parentNode.classList.remove("sui-modal-md"),a.dialogNode.parentNode.classList.remove("sui-modal-lg"),a.dialogNode.parentNode.classList.remove("sui-modal-xl"),a.dialogNode.parentNode.classList.add("sui-modal-"+i))}var s,n,o,r;e[0].classList.add("sui-active"),e[0].classList.add("sui-loaded"),e[0].removeAttribute("disabled"),e[0].removeAttribute("tabindex"),e[0].removeAttribute("aria-hidden"),e[0].hasAttribute("data-modal-labelledby")&&(s="",""===(n=e[0].getAttribute("data-modal-labelledby"))&&void 0===n||(s=n),a.dialogNode.setAttribute("aria-labelledby",s)),e[0].hasAttribute("data-modal-describedby")&&(o="",""===(r=e[0].getAttribute("data-modal-describedby"))&&void 0===r||(o=r),a.dialogNode.setAttribute("aria-describedby",o))}}),350);var l=i||this.focusAfterClosed;new t.Dialog(e,l,s,n,o,r)},t.Dialog.prototype.slide=function(i,s,n){var o,r,a,l,c="sui-fadein",d=(t.getCurrentDialog(),this.dialogNode.querySelectorAll(".sui-modal-slide")),u=document.getElementById(i);switch(n){case"back":case"left":c="sui-fadein-left";break;case"next":case"right":c="sui-fadein-right";break;default:c="sui-fadein"}for(var p=0;p<d.length;p++)d[p].setAttribute("disabled",!0),d[p].classList.remove("sui-loaded"),d[p].classList.remove("sui-active"),d[p].setAttribute("tabindex","-1"),d[p].setAttribute("aria-hidden",!0);if(u.hasAttribute("data-modal-size")){var h=u.getAttribute("data-modal-size");switch(h){case"sm":case"small":h="sm";break;case"md":case"med":case"medium":h="md";break;case"lg":case"large":h="lg";break;case"xl":case"extralarge":case"extraLarge":case"extra-large":h="xl";break;default:h=void 0}void 0!==h&&(this.dialogNode.parentNode.classList.remove("sui-modal-sm"),this.dialogNode.parentNode.classList.remove("sui-modal-md"),this.dialogNode.parentNode.classList.remove("sui-modal-lg"),this.dialogNode.parentNode.classList.remove("sui-modal-xl"),this.dialogNode.parentNode.classList.add("sui-modal-"+h))}u.hasAttribute("data-modal-labelledby")&&(o="",""===(r=u.getAttribute("data-modal-labelledby"))&&void 0===r||(o=r),this.dialogNode.setAttribute("aria-labelledby",o)),u.hasAttribute("data-modal-describedby")&&(a="",""===(l=u.getAttribute("data-modal-describedby"))&&void 0===l||(a=l),this.dialogNode.setAttribute("aria-describedby",a)),u.classList.add("sui-active"),u.classList.add(c),u.removeAttribute("tabindex"),u.removeAttribute("aria-hidden"),setTimeout((function(){u.classList.add("sui-loaded"),u.classList.remove(c),u.removeAttribute("disabled")}),600),"string"==typeof s?this.newSlideFocus=document.getElementById(s):"object"===e(s)?this.newSlideFocus=s:this.newSlideFocus=null,this.newSlideFocus?this.newSlideFocus.focus():t.Utils.focusFirstDescendant(this.dialogNode)},t.Dialog.prototype.addListeners=function(){document.addEventListener("focus",this.trapFocus,!0),this.isCloseOnEsc&&this.dialogNode.addEventListener("keyup",t.handleEscape)},t.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",this.trapFocus,!0)},t.Dialog.prototype.trapFocus=function(e){var i=e.target.parentElement;if(!(t.Utils.IgnoreUtilFocusChanges||i&&i.classList.contains("wp-link-input"))){var s=t.getCurrentDialog();s.dialogNode.contains(e.target)?s.lastFocus=e.target:(t.Utils.focusFirstDescendant(s.dialogNode),s.lastFocus==document.activeElement&&t.Utils.focusLastDescendant(s.dialogNode),s.lastFocus=document.activeElement)}},SUI.openModal=function(e,i,s,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5?arguments[5]:void 0;new t.Dialog(e,i,s,n,o,r)},SUI.closeModal=function(e){t.getCurrentDialog().close(e)},SUI.replaceModal=function(e,i,s,n){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5?arguments[5]:void 0;t.getCurrentDialog().replace(e,i,s,n,o,r)},SUI.slideModal=function(e,i,s){t.getCurrentDialog().slide(e,i,s)}}(),function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.modalDialog=function(){var i,s,n,o,r,a,l,c,d,u,p,h;return s=t("[data-modal-open]"),n=t("[data-modal-close]"),o=t("[data-modal-replace]"),r=t("[data-modal-slide]"),a=t(".sui-modal-overlay"),s.on("click",(function(s){i=t(this),l=i.attr("data-modal-open"),d=i.attr("data-modal-close-focus"),u=i.attr("data-modal-open-focus"),a=i.attr("data-modal-mask"),h=i.attr("data-modal-animated");var n="false"!==i.attr("data-esc-close");"undefined"!==e(d)&&!1!==d&&""!==d||(d=this),"undefined"!==e(u)&&!1!==u&&""!==u||(u=void 0),a="undefined"!==e(a)&&!1!==a&&"true"===a,h="undefined"===e(h)||!1===h||"false"!==h,"undefined"!==e(l)&&!1!==l&&""!==l&&SUI.openModal(l,d,u,a,n,h),s.preventDefault()})),o.on("click",(function(s){i=t(this),l=i.attr("data-modal-replace"),d=i.attr("data-modal-close-focus"),u=i.attr("data-modal-open-focus"),a=i.attr("data-modal-replace-mask");var n="false"!==i.attr("data-esc-close");"undefined"!==e(d)&&!1!==d&&""!==d||(d=void 0),"undefined"!==e(u)&&!1!==u&&""!==u||(u=void 0),a="undefined"!==e(a)&&!1!==a&&"true"===a,"undefined"!==e(l)&&!1!==l&&""!==l&&SUI.replaceModal(l,d,u,a,n,h),s.preventDefault()})),r.on("click",(function(s){i=t(this),c=i.attr("data-modal-slide"),u=i.attr("data-modal-slide-focus"),p=i.attr("data-modal-slide-intro"),"undefined"!==e(u)&&!1!==u&&""!==u||(u=void 0),"undefined"!==e(p)&&!1!==p&&""!==p||(p=""),"undefined"!==e(c)&&!1!==c&&""!==c&&SUI.slideModal(c,u,p),s.preventDefault()})),n.on("click",(function(e){SUI.closeModal(h),e.preventDefault()})),this},SUI.modalDialog()}(jQuery)},785:function(){function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}!function(i){"use strict";var s=this;"object"!==t(window.SUI)&&(window.SUI={}),SUI.openNotice=function(t,n,o){var r=i("#"+t),a=r.parent();if(null===typeof r||void 0===r)throw new Error('No element found with id="'+t+'".');if("alert"!==r.attr("role"))throw new Error("Notice requires a DOM element with ARIA role of alert.");if(null===typeof n||void 0===n||""===n)throw new Error("Notice requires a message to print.");var l=l||{};return l.allowedNotices=["info","blue","green","success","yellow","warning","red","error","purple","upsell"],l.isObject=function(e){return!(null===e&&"undefined"===e||!i.isPlainObject(e))},l.deepMerge=function(t){for(var i=arguments.length,s=new Array(i>1?i-1:0),n=1;n<i;n++)s[n-1]=arguments[n];if(!s.length)return t;var o=s.shift();if(l.isObject(t)&&l.isObject(o))for(var r in o)l.isObject(o[r])?(t[r]||Object.assign(t,e({},r,{})),l.deepMerge(t[r],o[r])):Object.assign(t,e({},r,o[r]));return l.deepMerge.apply(l,[t].concat(s))},l.setProperties=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.options=[],l.options[0]=l.deepMerge({type:"default",icon:"info",dismiss:{show:!1,label:"Close this notice",tooltip:""},autoclose:{show:!0,timeout:3e3}},e)},l.setProperties(o),l.buildDismiss=function(){var e="",t=l.options[0].dismiss;if(!0===t.show){(e=document.createElement("div")).className="sui-notice-actions";var i="";""!==t.tooltip&&(a.hasClass("sui-floating-notices")?i+='<div class="sui-tooltip sui-tooltip-bottom" data-tooltip="'+t.tooltip+'">':i+='<div class="sui-tooltip" data-tooltip="'+t.tooltip+'">'),i+='<button class="sui-button-icon">',i+='<span class="sui-icon-check" aria-hidden="true"></span>',""!==t.label&&(i+='<span class="sui-screen-reader-text">'+t.label+"</span>"),i+="</button>",""!==t.tooltip&&(i+="</div>"),e.innerHTML=i}return e},l.buildIcon=function(){var e="",t=l.options[0].icon;return""===t&&void 0===t&&null===typeof t||((e=document.createElement("span")).className+="sui-notice-icon sui-icon-"+t+" sui-md",e.setAttribute("aria-hidden",!0),"loader"===t&&e.classList.add("sui-loading")),e},l.buildMessage=function(){var e=document.createElement("div");return e.className="sui-notice-message",e.innerHTML=n,e.prepend(l.buildIcon()),e},l.buildNotice=function(){var e=document.createElement("div");return e.className="sui-notice-content",e.append(l.buildMessage(),l.buildDismiss()),e},l.showNotice=function(e){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=l.options[0].type,o=l.options[0].dismiss,a=l.options[0].autoclose;r.addClass("sui-active"),i.each(l.allowedNotices,(function(e,t){t===n&&r.addClass("sui-notice-"+t)})),r.removeAttr("tabindex"),r.html(l.buildNotice()),"slide"===e?r.slideDown(s,(function(){!0===o.show?(r.find(".sui-notice-actions button").trigger("focus"),r.find(".sui-notice-actions button").on("click",(function(){SUI.closeNotice(t)}))):!0===a.show&&setTimeout((function(){return SUI.closeNotice(t)}),parseInt(a.timeout))})):"fade"===e?r.fadeIn(s,(function(){!0===o.show?(r.find(".sui-notice-actions button").trigger("focus"),r.find(".sui-notice-actions button").on("click",(function(){SUI.closeNotice(t)}))):!0===a.show&&setTimeout((function(){return SUI.closeNotice(t)}),parseInt(a.timeout))})):r.show(s,(function(){!0===o.show?(r.find(".sui-notice-actions button").trigger("focus"),r.find(".sui-notice-actions button").on("click",(function(){SUI.closeNotice(t)}))):!0===a.show&&setTimeout((function(){return SUI.closeNotice(t)}),parseInt(a.timeout))}))},l.openNotice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;r.hasClass("sui-active")?"slide"===e?r.slideUp(t,(function(){l.showNotice("slide",t)})):"fade"===e?r.fadeOut(t,(function(){l.showNotice("fade",t)})):r.hide(t,(function(){l.showNotice(null,t)})):l.showNotice(e,t)},a.hasClass("sui-floating-notices")?l.openNotice("slide"):l.openNotice("fade"),s},SUI.closeNotice=function(e){var t=i("#"+e),n=t.parent();if(null===typeof t||void 0===t)throw new Error('No element found with id="'+e+'".');var o=o||{};return o.allowedNotices=["info","blue","green","success","yellow","warning","red","error","purple","upsell"],o.hideNotice=function(){t.removeClass("sui-active"),i.each(o.allowedNotices,(function(e,i){t.removeClass("sui-notice-"+i)})),t.attr("tabindex","-1"),t.empty()},o.closeNotice=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;"slide"===e?t.slideUp(i,(function(){return o.hideNotice()})):"fade"===e?t.fadeOut(i,(function(){return o.hideNotice()})):t.hide(i,(function(){return o.hideNotice()}))},n.hasClass("sui-floating-notices")?o.closeNotice("slide"):o.closeNotice("fade"),s},SUI.notice=function(){var e=e||{};return e.Utils=e.Utils||{},e.Utils.Open=function(e){e.on("click",(function(){self=i(this);var e,t=self.attr("data-notice-open"),s="",n={};if(self.is("[data-notice-message]")&&""!==self.attr("data-notice-message"))s+=self.attr("data-notice-message");else for(e=0;e<4;e++){var o="data-notice-paragraph-"+(e+1);self.is("["+o+"]")&&""!==self.attr(o)&&(s+="<p>"+self.attr(o)+"</p>")}self.is("[data-notice-type]")&&""!==self.attr("data-notice-dismiss-type")&&(n.type=self.attr("data-notice-type")),self.is("[data-notice-icon]")&&(n.icon=self.attr("data-notice-icon")),self.is("[data-notice-dismiss]")&&(n.dismiss={},"true"===self.attr("data-notice-dismiss")?n.dismiss.show=!0:"false"===self.attr("data-notice-dismiss")&&(n.dismiss.show=!1)),self.is("[data-notice-dismiss-label]")&&""!==self.attr("data-notice-dismiss-label")&&(n.dismiss.label=self.attr("data-notice-dismiss-label")),self.is("[data-notice-dismiss-tooltip]")&&""!==self.attr("data-notice-dismiss-tooltip")&&(n.dismiss.tooltip=self.attr("data-notice-dismiss-tooltip")),self.is("[data-notice-autoclose]")&&(n.autoclose={},"true"===self.attr("data-notice-autoclose")?n.autoclose.show=!0:"false"===self.attr("data-notice-autoclose")&&(n.autoclose.show=!1)),self.is("[data-notice-autoclose-timeout]")&&(n.autoclose=n.autoclose||{},n.autoclose.timeout=parseInt(self.attr("data-notice-autoclose-timeout"))),SUI.openNotice(t,s,n)}))},e.Utils.Close=function(e){e.on("click",(function(){var e;self=i(this),self.is("[data-notice-close]")&&(e=self.closest(".sui-notice").attr("id"),""!==self.attr("[data-notice-close]")&&(e=self.attr("data-notice-close")),SUI.closeNotice(e))}))},function(){var t=i("[data-notice-open]");e.Utils.Open(t);var s=i("[data-notice-close]");e.Utils.Close(s)}(),s},SUI.notice()}(jQuery)},838:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.showHidePassword=function(){t(".sui-2-12-23 .sui-form-field").each((function(){var e=t(this);0!==e.find('input[type="password"]').length&&e.find('[class*="sui-button"], .sui-password-toggle').off("click.toggle-password").on("click.toggle-password",(function(){var e=t(this),i=e.parent().find("input"),s=e.find("> span");e.parent().toggleClass("sui-password-visible"),e.find(".sui-password-text").toggleClass("sui-hidden"),e.parent().hasClass("sui-password-visible")?(i.prop("type","text"),s.removeClass("sui-icon-eye").addClass("sui-icon-eye-hide")):(i.prop("type","password"),s.removeClass("sui-icon-eye-hide").addClass("sui-icon-eye"))}))}))},SUI.showHidePassword()}(jQuery)},548:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.reviews=function(e,t,i){if(!(t<=0))return function(){var s,n=Math.round(i),o=e.find(".sui-reviews__stars")[0];for(s=0;s<n;s++)o.innerHTML+='<span class="sui-icon-star" aria-hidden="true"></span> ';e.find(".sui-reviews-rating").replaceWith(i),e.find(".sui-reviews-customer-count").replaceWith(t)}(),this},t(".sui-2-12-23 .sui-reviews").each((function(){var e=t(this);t.ajax({url:"https://api.reviews.co.uk/merchant/reviews?store=wpmudev-org",success:function(t){SUI.reviews(e,t.stats.reviews,t.stats.average_rating)}})}))}(jQuery)},922:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.loadCircleScore=function(e){t(e).find("svg circle:last-child");var i=t(e).data("score"),s='<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,'+(2*Math.PI*42/100*i*100-i)+'" />\n</svg>\n<span class="sui-circle-score-label" aria-hidden="true">'+i+'</span>\n<span class="sui-screen-reader-text" tabindex="0">Score '+i+" out of 100</span>";t(e).prepend(s).addClass("loaded").find("circle:last-child").css("animation","sui"+i+" 3s forwards")},t(".sui-2-12-23 .sui-circle-score").each((function(){SUI.loadCircleScore(this)}))}(jQuery)},535:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){var i=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var i=t.fn.select2.amd;var s,n,o;return i&&i.requirejs||(i?n=i:i={},function(t){var i,r,a,l,c={},d={},u={},p={},h=Object.prototype.hasOwnProperty,f=[].slice,m=/\.js$/;function g(e,t){return h.call(e,t)}function v(e,t){var i,s,n,o,r,a,l,c,d,p,h,f=t&&t.split("/"),g=u.map,v=g&&g["*"]||{};if(e){for(r=(e=e.split("/")).length-1,u.nodeIdCompat&&m.test(e[r])&&(e[r]=e[r].replace(m,"")),"."===e[0].charAt(0)&&f&&(e=f.slice(0,f.length-1).concat(e)),d=0;d<e.length;d++)if("."===(h=e[d]))e.splice(d,1),d-=1;else if(".."===h){if(0===d||1===d&&".."===e[2]||".."===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}if((f||v)&&g){for(d=(i=e.split("/")).length;d>0;d-=1){if(s=i.slice(0,d).join("/"),f)for(p=f.length;p>0;p-=1)if((n=g[f.slice(0,p).join("/")])&&(n=n[s])){o=n,a=d;break}if(o)break;!l&&v&&v[s]&&(l=v[s],c=d)}!o&&l&&(o=l,a=c),o&&(i.splice(0,a,o),e=i.join("/"))}return e}function y(e,i){return function(){var s=f.call(arguments,0);return"string"!=typeof s[0]&&1===s.length&&s.push(null),r.apply(t,s.concat([e,i]))}}function b(e){return function(t){c[e]=t}}function w(e){if(g(d,e)){var s=d[e];delete d[e],p[e]=!0,i.apply(t,s)}if(!g(c,e)&&!g(p,e))throw new Error("No "+e);return c[e]}function _(e){var t,i=e?e.indexOf("!"):-1;return i>-1&&(t=e.substring(0,i),e=e.substring(i+1,e.length)),[t,e]}function S(e){return e?_(e):[]}function C(e){return function(){return u&&u.config&&u.config[e]||{}}}a=function(e,t){var i,s,n=_(e),o=n[0],r=t[1];return e=n[1],o&&(i=w(o=v(o,r))),o?e=i&&i.normalize?i.normalize(e,(s=r,function(e){return v(e,s)})):v(e,r):(o=(n=_(e=v(e,r)))[0],e=n[1],o&&(i=w(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:i}},l={require:function(e){return y(e)},exports:function(e){var t=c[e];return void 0!==t?t:c[e]={}},module:function(e){return{id:e,uri:"",exports:c[e],config:C(e)}}},i=function(i,s,n,o){var r,u,h,f,m,v,_,C=[],$=e(n);if(v=S(o=o||i),"undefined"===$||"function"===$){for(s=!s.length&&n.length?["require","exports","module"]:s,m=0;m<s.length;m+=1)if("require"===(u=(f=a(s[m],v)).f))C[m]=l.require(i);else if("exports"===u)C[m]=l.exports(i),_=!0;else if("module"===u)r=C[m]=l.module(i);else if(g(c,u)||g(d,u)||g(p,u))C[m]=w(u);else{if(!f.p)throw new Error(i+" missing "+u);f.p.load(f.n,y(o,!0),b(u),{}),C[m]=c[u]}h=n?n.apply(c[i],C):void 0,i&&(r&&r.exports!==t&&r.exports!==c[i]?c[i]=r.exports:h===t&&_||(c[i]=h))}else i&&(c[i]=n)},s=n=r=function(e,s,n,o,c){if("string"==typeof e)return l[e]?l[e](s):w(a(e,S(s)).f);if(!e.splice){if((u=e).deps&&r(u.deps,u.callback),!s)return;s.splice?(e=s,s=n,n=null):e=t}return s=s||function(){},"function"==typeof n&&(n=o,o=c),o?i(t,e,s,n):setTimeout((function(){i(t,e,s,n)}),4),r},r.config=function(e){return r(e)},s._defined=c,(o=function(e,t,i){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(i=t,t=[]),g(c,e)||g(d,e)||(d[e]=[e,t,i])}).amd={jQuery:!0}}(),i.requirejs=s,i.require=n,i.define=o),i.define("almond",(function(){})),i.define("jquery",[],(function(){var e=t||$;return null==e&&console&&console.error&&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."),e})),i.define("select2/utils",["jquery"],(function(e){var t={};function i(e){var t=e.prototype,i=[];for(var s in t)"function"==typeof t[s]&&"constructor"!==s&&i.push(s);return i}t.Extend=function(e,t){var i={}.hasOwnProperty;function s(){this.constructor=e}for(var n in t)i.call(t,n)&&(e[n]=t[n]);return s.prototype=t.prototype,e.prototype=new s,e.__super__=t.prototype,e},t.Decorate=function(e,t){var s=i(t),n=i(e);function o(){var i=Array.prototype.unshift,s=t.prototype.constructor.length,n=e.prototype.constructor;s>0&&(i.call(arguments,e.prototype.constructor),n=t.prototype.constructor),n.apply(this,arguments)}t.displayName=e.displayName,o.prototype=new function(){this.constructor=o};for(var r=0;r<n.length;r++){var a=n[r];o.prototype[a]=e.prototype[a]}for(var l=function(e){var i=function(){};e in o.prototype&&(i=o.prototype[e]);var s=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,i),s.apply(this,arguments)}},c=0;c<s.length;c++){var d=s[c];o.prototype[d]=l(d)}return o};var s=function(){this.listeners={}};s.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},s.prototype.trigger=function(e){var t=Array.prototype.slice,i=t.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),i[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},s.prototype.invoke=function(e,t){for(var i=0,s=e.length;i<s;i++)e[i].apply(this,t)},t.Observable=s,t.generateChars=function(e){for(var t="",i=0;i<e;i++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var i=t.split("-"),s=e;if(1!==i.length){for(var n=0;n<i.length;n++){var o=i[n];(o=o.substring(0,1).toLowerCase()+o.substring(1))in s||(s[o]={}),n==i.length-1&&(s[o]=e[t]),s=s[o]}delete e[t]}}return e},t.hasScroll=function(t,i){var s=e(i),n=i.style.overflowX,o=i.style.overflowY;return(n!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===n||"scroll"===o||s.innerHeight()<i.scrollHeight||s.innerWidth()<i.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.__cache={};var n=0;return t.GetUniqueElementId=function(e){var i=e.getAttribute("data-select2-id");return null!=i||(i=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+t.generateChars(4),e.setAttribute("data-select2-id",i)),i},t.StoreData=function(e,i,s){var n=t.GetUniqueElementId(e);t.__cache[n]||(t.__cache[n]={}),t.__cache[n][i]=s},t.GetData=function(i,s){var n=t.GetUniqueElementId(i);return s?t.__cache[n]&&null!=t.__cache[n][s]?t.__cache[n][s]:e(i).data(s):t.__cache[n]},t.RemoveData=function(e){var i=t.GetUniqueElementId(e);null!=t.__cache[i]&&delete t.__cache[i],e.removeAttribute("data-select2-id")},t.copyNonInternalCssClasses=function(e,t){var i=e.getAttribute("class").trim().split(/\s+/);i=i.filter((function(e){return 0===e.indexOf("select2-")}));var s=t.getAttribute("class").trim().split(/\s+/);s=s.filter((function(e){return 0!==e.indexOf("select2-")}));var n=i.concat(s);e.setAttribute("class",n.join(" "))},t})),i.define("select2/results",["jquery","./utils"],(function(e,t){function i(e,t,s){this.$element=e,this.data=s,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var s=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),n=this.options.get("translations").get(t.message);s.append(i(n(t.args))),s[0].className+=" select2-results__message",this.$results.append(s)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var i=0;i<e.results.length;i++){var s=e.results[i],n=this.option(s);t.push(n)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(e,t){t.find(".select2-results").append(e)},i.prototype.sort=function(e){return this.options.get("sorter")(e)},i.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current((function(s){var n=s.map((function(e){return e.id.toString()}));i.$results.find(".select2-results__option--selectable").each((function(){var i=e(this),s=t.GetData(this,"data"),o=""+s.id;null!=s.element&&s.element.selected||null==s.element&&n.indexOf(o)>-1?(this.classList.add("select2-results__option--selected"),i.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),i.attr("aria-selected","false"))}))}))},i.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},i=this.option(t);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var s=document.createElement("li");s.classList.add("select2-results__option"),s.classList.add("select2-results__option--selectable");var n={role:"option"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=i.element&&o.call(i.element,":disabled")||null==i.element&&i.disabled)&&(n["aria-disabled"]="true",s.classList.remove("select2-results__option--selectable"),s.classList.add("select2-results__option--disabled")),null==i.id&&s.classList.remove("select2-results__option--selectable"),null!=i._resultId&&(s.id=i._resultId),i.title&&(s.title=i.title),i.children&&(n.role="group",n["aria-label"]=i.text,s.classList.remove("select2-results__option--selectable"),s.classList.add("select2-results__option--group")),n){var a=n[r];s.setAttribute(r,a)}if(i.children){var l=e(s),c=document.createElement("strong");c.className="select2-results__group",this.template(i,c);for(var d=[],u=0;u<i.children.length;u++){var p=i.children[u],h=this.option(p);d.push(h)}var f=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});f.append(d),l.append(c),l.append(f)}else this.template(i,s);return t.StoreData(s,"data",i),s},i.prototype.bind=function(i,s){var n=this,o=i.id+"-results";this.$results.attr("id",o),i.on("results:all",(function(e){n.clear(),n.append(e.data),i.isOpen()&&(n.setClasses(),n.highlightFirstItem())})),i.on("results:append",(function(e){n.append(e.data),i.isOpen()&&n.setClasses()})),i.on("query",(function(e){n.hideMessages(),n.showLoading(e)})),i.on("select",(function(){i.isOpen()&&(n.setClasses(),n.options.get("scrollAfterSelect")&&n.highlightFirstItem())})),i.on("unselect",(function(){i.isOpen()&&(n.setClasses(),n.options.get("scrollAfterSelect")&&n.highlightFirstItem())})),i.on("open",(function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()})),i.on("close",(function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")})),i.on("results:toggle",(function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),i.on("results:select",(function(){var e=n.getHighlightedResults();if(0!==e.length){var i=t.GetData(e[0],"data");e.hasClass("select2-results__option--selected")?n.trigger("close",{}):n.trigger("select",{data:i})}})),i.on("results:previous",(function(){var e=n.getHighlightedResults(),t=n.$results.find(".select2-results__option--selectable"),i=t.index(e);if(!(i<=0)){var s=i-1;0===e.length&&(s=0);var o=t.eq(s);o.trigger("mouseenter");var r=n.$results.offset().top,a=o.offset().top,l=n.$results.scrollTop()+(a-r);0===s?n.$results.scrollTop(0):a-r<0&&n.$results.scrollTop(l)}})),i.on("results:next",(function(){var e=n.getHighlightedResults(),t=n.$results.find(".select2-results__option--selectable"),i=t.index(e)+1;if(!(i>=t.length)){var s=t.eq(i);s.trigger("mouseenter");var o=n.$results.offset().top+n.$results.outerHeight(!1),r=s.offset().top+s.outerHeight(!1),a=n.$results.scrollTop()+r-o;0===i?n.$results.scrollTop(0):r>o&&n.$results.scrollTop(a)}})),i.on("results:focus",(function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")})),i.on("results:message",(function(e){n.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=n.$results.scrollTop(),i=n.$results.get(0).scrollHeight-t+e.deltaY,s=e.deltaY>0&&t-e.deltaY<=0,o=e.deltaY<0&&i<=n.$results.height();s?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option--selectable",(function(i){var s=e(this),o=t.GetData(this,"data");s.hasClass("select2-results__option--selected")?n.options.get("multiple")?n.trigger("unselect",{originalEvent:i,data:o}):n.trigger("close",{}):n.trigger("select",{originalEvent:i,data:o})})),this.$results.on("mouseenter",".select2-results__option--selectable",(function(i){var s=t.GetData(this,"data");n.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),n.trigger("results:focus",{data:s,element:e(this)})}))},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(".select2-results__option--selectable").index(e),i=this.$results.offset().top,s=e.offset().top,n=this.$results.scrollTop()+(s-i),o=s-i;n-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(n)}},i.prototype.template=function(t,i){var s=this.options.get("templateResult"),n=this.options.get("escapeMarkup"),o=s(t,i);null==o?i.style.display="none":"string"==typeof o?i.innerHTML=n(o):e(i).append(o)},i})),i.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),i.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,i){function s(e,t){this.$element=e,this.options=t,s.__super__.constructor.call(this)}return t.Extend(s,t.Observable),s.prototype.render=function(){var i=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),i.attr("aria-disabled","false"),this.$selection=i,i},s.prototype.bind=function(e,t){var s=this,n=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){s.trigger("focus",e)})),this.$selection.on("blur",(function(e){s._handleBlur(e)})),this.$selection.on("keydown",(function(e){s.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){s.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){s.update(e.data)})),e.on("open",(function(){s.$selection.attr("aria-expanded","true"),s.$selection.attr("aria-owns",n),s._attachCloseHandler(e)})),e.on("close",(function(){s.$selection.attr("aria-expanded","false"),s.$selection.removeAttr("aria-activedescendant"),s.$selection.removeAttr("aria-owns"),s.$selection.trigger("focus"),s._detachCloseHandler(e)})),e.on("enable",(function(){s.$selection.attr("tabindex",s._tabindex),s.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){s.$selection.attr("tabindex","-1"),s.$selection.attr("aria-disabled","true")}))},s.prototype._handleBlur=function(t){var i=this;window.setTimeout((function(){document.activeElement==i.$selection[0]||e.contains(i.$selection[0],document.activeElement)||i.trigger("blur",t)}),1)},s.prototype._attachCloseHandler=function(i){e(document.body).on("mousedown.select2."+i.id,(function(i){var s=e(i.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=s[0]&&t.GetData(this,"element").SUIselect2("close")}))}))},s.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},s.prototype.position=function(e,t){t.find(".selection").append(e)},s.prototype.destroy=function(){this._detachCloseHandler(this.container)},s.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s})),i.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,i,s){function n(){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,t),n.prototype.render=function(){var e=n.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.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>'),e},n.prototype.bind=function(e,t){var i=this;n.__super__.bind.apply(this,arguments);var s=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",s),this.$selection.attr("aria-controls",s),this.$selection.on("mousedown",(function(e){1===e.which&&i.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||i.$selection.trigger("focus")}))},n.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},n.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},n.prototype.selectionContainer=function(){return e("<span></span>")},n.prototype.update=function(e){if(0===e.length)return this.clear(),void("vars"===this.options.get("theme")&&this.$selection.find(".select2-selection__rendered").html('<span class="sui-icon-plus-circle sui-md" aria-hidden="true"></span>'));var t=e[0],i=this.$selection.find(".select2-selection__rendered"),s=this.display(t,i);i.empty().append(s);var n=t.title||t.text;n?i.attr("title",n):i.removeAttr("title")},n})),i.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,i){function s(e,t){s.__super__.constructor.apply(this,arguments)}return i.Extend(s,t),s.prototype.render=function(){var e=s.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},s.prototype.bind=function(t,n){var o=this;s.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r),this.$selection.on("click",(function(e){o.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".sui-button-icon",(function(t){if(!o.isDisabled()){var s=e(this).parent(),n=i.GetData(s[0],"data");o.trigger("unselect",{originalEvent:t,data:n})}})),this.$selection.on("keydown",".sui-button-icon",(function(e){o.isDisabled()||e.stopPropagation()}))},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title"),e.removeClass("has-option-selected")},s.prototype.display=function(e,t){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(e,t))},s.prototype.selectionContainer=function(){return e('<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>')},s.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],s=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",n=0;n<e.length;n++){var o=e[n],r=this.selectionContainer(),a=this.display(o,r),l=s+i.generateChars(4)+"-";o.id?l+=o.id:l+=i.generateChars(4),r.find(".select2-selection__choice__display").append(a).attr("id",l);var c=o.title||o.text;c&&r.attr("title",c);var d=this.options.get("translations").get("removeItem"),u=r.find(".sui-button-icon");u.attr("title",d()),u.attr("aria-label",d()),u.attr("aria-describedby",l),i.StoreData(r[0],"data",o),t.push(r)}this.$selection.find(".select2-selection__rendered").append(t).addClass("has-option-selected")}},s})),i.define("select2/selection/placeholder",[],(function(){function e(e,t,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var i=this.selectionContainer();i.html(this.display(t)),i[0].classList.add("select2-selection__placeholder"),i[0].classList.remove("select2-selection__choice");var s=t.title||t.text||i.text();return this.$selection.find(".select2-selection__rendered").attr("title",s),i},e.prototype.update=function(e,t){var i=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||i)return e.call(this,t);this.clear();var s=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(s)},e})),i.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,i){function s(){}return s.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){s._handleClear(e)})),t.on("keypress",(function(e){s._handleKeyboardClear(e,t)}))},s.prototype._handleClear=function(e,t){if(!this.isDisabled()){var s=this.$selection.find(".select2-selection__clear");if(0!==s.length){t.stopPropagation();var n=i.GetData(s[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var r={data:n};if(this.trigger("clear",r),r.prevented)this.$element.val(o);else{for(var a=0;a<n.length;a++)if(r={data:n[a]},this.trigger("unselect",r),r.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},s.prototype._handleKeyboardClear=function(e,i,s){s.isOpen()||i.which!=t.DELETE&&i.which!=t.BACKSPACE||this._handleClear(i)},s.prototype.update=function(t,s){if(t.call(this,s),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||0===s.length)){var n=this.$selection.find(".select2-selection__rendered").attr("id"),o=this.options.get("translations").get("removeAllItems"),r=e('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>');r.attr("title",o()),r.attr("aria-label",o()),r.attr("aria-describedby",n),i.StoreData(r[0],"data",s),this.$selection.prepend(r),this.$selection[0].classList.add("select2-selection--clearable")}},s})),i.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,i){function s(e,t,i){e.call(this,t,i)}return s.prototype.render=function(t){var i=this.options.get("translations").get("search"),s=e('<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>');this.$searchContainer=s,this.$search=s.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",i());var n=t.call(this);return this._transferTabIndex(),n.append(this.$searchContainer),n},s.prototype.bind=function(e,s,n){var o=this,r=s.id+"-results",a=s.id+"-container";e.call(this,s,n),o.$search.attr("aria-describedby",a),s.on("open",(function(){o.$search.attr("aria-controls",r),o.$search.trigger("focus")})),s.on("close",(function(){o.$search.val(""),o.resizeSearch(),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),s.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),s.on("disable",(function(){o.$search.prop("disabled",!0)})),s.on("focus",(function(e){o.$search.trigger("focus")})),s.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){o.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){o._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===i.BACKSPACE&&""===o.$search.val()){var s=o.$selection.find(".select2-selection__choice").last();if(s.length>0){var n=t.GetData(s[0],"data");o.searchRemoveChoice(n),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){o.$search.val()&&e.stopPropagation()}));var l=document.documentMode,c=l&&l<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){c?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(c&&"input"===e.type)o.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=i.SHIFT&&t!=i.CTRL&&t!=i.ALT&&t!=i.TAB&&o.handleSearch(e)}}))},s.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},s.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},s.prototype.update=function(e,t){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),i&&this.$search.trigger("focus")},s.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},s.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},s.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},s})),i.define("select2/selection/selectionCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var i=t.call(this),s=this.options.get("selectionCssClass")||"";return-1!==s.indexOf(":all:")&&(s=s.replace(":all:",""),e.copyNonInternalCssClasses(i[0],this.$element[0])),i.addClass(s),i},t})),i.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,i,s){var n=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];t.call(this,i,s),i.on("*",(function(t,i){if(-1!==o.indexOf(t)){i=i||{};var s=e.Event("select2:"+t,{params:i});n.$element.trigger(s),-1!==r.indexOf(t)&&(i.prevented=s.isDefaultPrevented())}}))},t})),i.define("select2/translation",["jquery","require"],(function(e,t){function i(e){this.dict=e||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(e){return this.dict[e]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(e){if(!(e in i._cache)){var s=t(e);i._cache[e]=s}return new i(i._cache[e])},i})),i.define("select2/diacritics",[],(function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}})),i.define("select2/data/base",["../utils"],(function(e){function t(e,i){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,i){var s=t.id+"-result-";return s+=e.generateChars(4),null!=i.id?s+="-"+i.id.toString():s+="-"+e.generateChars(4),s},t})),i.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,i){function s(e,t){this.$element=e,this.options=t,s.__super__.constructor.call(this)}return t.Extend(s,e),s.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),(function(e){return t.item(i(e))})))},s.prototype.select=function(e){var t=this;if(e.selected=!0,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(i){var s=[];(e=[e]).push.apply(e,i);for(var n=0;n<e.length;n++){var o=e[n].id;-1===s.indexOf(o)&&s.push(o)}t.$element.val(s),t.$element.trigger("input").trigger("change")}));else{var i=e.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},s.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(i){for(var s=[],n=0;n<i.length;n++){var o=i[n].id;o!==e.id&&-1===s.indexOf(o)&&s.push(o)}t.$element.val(s),t.$element.trigger("input").trigger("change")}))}},s.prototype.bind=function(e,t){var i=this;this.container=e,e.on("select",(function(e){i.select(e.data)})),e.on("unselect",(function(e){i.unselect(e.data)}))},s.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},s.prototype.query=function(e,t){var s=[],n=this;this.$element.children().each((function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var t=i(this),o=n.item(t),r=n.matches(e,o);null!==r&&s.push(r)}})),t({results:s})},s.prototype.addOptions=function(e){this.$element.append(e)},s.prototype.option=function(e){var s;e.children?(s=document.createElement("optgroup")).label=e.text:void 0!==(s=document.createElement("option")).textContent?s.textContent=e.text:s.innerText=e.text,void 0!==e.id&&(s.value=e.id),e.disabled&&(s.disabled=!0),e.selected&&(s.selected=!0),e.title&&(s.title=e.title);var n=this._normalizeItem(e);return n.element=s,t.StoreData(s,"data",n),i(s)},s.prototype.item=function(e){var s={};if(null!=(s=t.GetData(e[0],"data")))return s;var n=e[0];if("option"===n.tagName.toLowerCase())s={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if("optgroup"===n.tagName.toLowerCase()){s={text:e.prop("label"),children:[],title:e.prop("title")};for(var o=e.children("option"),r=[],a=0;a<o.length;a++){var l=i(o[a]),c=this.item(l);r.push(c)}s.children=r}return(s=this._normalizeItem(s)).element=e[0],t.StoreData(e[0],"data",s),s},s.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=i.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),i.extend({},{selected:!1,disabled:!1},e)},s.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},s})),i.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,i){function s(e,t){this._dataToConvert=t.get("data")||[],s.__super__.constructor.call(this,e,t)}return t.Extend(s,e),s.prototype.bind=function(e,t){s.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},s.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,i){return i.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),s.__super__.select.call(this,e)},s.prototype.convertToOptions=function(e){var t=this,s=this.$element.find("option"),n=s.map((function(){return t.item(i(this)).id})).get(),o=[];function r(e){return function(){return i(this).val()==e.id}}for(var a=0;a<e.length;a++){var l=this._normalizeItem(e[a]);if(n.indexOf(l.id)>=0){var c=s.filter(r(l)),d=this.item(c),u=i.extend(!0,{},l,d),p=this.option(u);c.replaceWith(p)}else{var h=this.option(l);if(l.children){var f=this.convertToOptions(l.children);h.append(f)}o.push(h)}}return o},s})),i.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,i){function s(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),s.__super__.constructor.call(this,e,t)}return t.Extend(s,e),s.prototype._applyDefaults=function(e){var t={data:function(e){return i.extend({},e,{q:e.term})},transport:function(e,t,s){var n=i.ajax(e);return n.then(t),n.fail(s),n}};return i.extend({},t,e,!0)},s.prototype.processResults=function(e){return e},s.prototype.query=function(e,t){var s=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var n=i.extend({type:"GET"},this.ajaxOptions);function o(){var i=n.transport(n,(function(i){var n=s.processResults(i,e);s.options.get("debug")&&window.console&&console.error&&(n&&n.results&&Array.isArray(n.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(n)}),(function(){(!("status"in i)||0!==i.status&&"0"!==i.status)&&s.trigger("results:message",{message:"errorLoading"})}));s._request=i}"function"==typeof n.url&&(n.url=n.url.call(this.$element,e)),"function"==typeof n.data&&(n.data=n.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},s})),i.define("select2/data/tags",["jquery"],(function(e){function t(e,t,i){var s=i.get("tags"),n=i.get("createTag");void 0!==n&&(this.createTag=n);var o=i.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,i),Array.isArray(s))for(var r=0;r<s.length;r++){var a=s[r],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,i){var s=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(n,o){for(var r=n.results,a=0;a<r.length;a++){var l=r[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!o&&(n.data=r,void i(n))}if(o)return!0;var d=s.createTag(t);if(null!=d){var u=s.option(d);u.attr("data-select2-tag","true"),s.addOptions([u]),s.insertTag(r,d)}n.results=r,i(n)})):e.call(this,t,i)},t.prototype.createTag=function(e,t){if(null==t.term)return null;var i=t.term.trim();return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,i){t.unshift(i)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),i.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,i){var s=i.get("tokenizer");void 0!==s&&(this.tokenizer=s),e.call(this,t,i)}return t.prototype.bind=function(e,t,i){e.call(this,t,i),this.$search=t.dropdown.$search||t.selection.$search||i.find(".select2-search__field")},t.prototype.query=function(t,i,s){var n=this;i.term=i.term||"";var o=this.tokenizer(i,this.options,(function(t){var i=n._normalizeItem(t);if(!n.$element.find("option").filter((function(){return e(this).val()===i.id})).length){var s=n.option(i);s.attr("data-select2-tag",!0),n._removeOldTags(),n.addOptions([s])}!function(e){n.trigger("select",{data:e})}(i)}));o.term!==i.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),i.term=o.term),t.call(this,i,s)},t.prototype.tokenizer=function(t,i,s,n){for(var o=s.get("tokenSeparators")||[],r=i.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<r.length;){var c=r[a];if(-1!==o.indexOf(c)){var d=r.substr(0,a),u=l(e.extend({},i,{term:d}));null!=u?(n(u),r=r.substr(a+1)||"",a=0):a++}else a++}return{term:r}},t})),i.define("select2/data/minimumInputLength",[],(function(){function e(e,t,i){this.minimumInputLength=i.get("minimumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,i)},e})),i.define("select2/data/maximumInputLength",[],(function(){function e(e,t,i){this.maximumInputLength=i.get("maximumInputLength"),e.call(this,t,i)}return e.prototype.query=function(e,t,i){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,i)},e})),i.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),e.call(this,t,i)}return e.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),t.on("select",(function(){s._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,i){var s=this;this._checkIfMaximumSelected((function(){e.call(s,t,i)}))},e.prototype._checkIfMaximumSelected=function(e,t){var i=this;this.current((function(e){var s=null!=e?e.length:0;i.maximumSelectionLength>0&&s>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):t&&t()}))},e})),i.define("select2/dropdown",["jquery","./utils"],(function(e,t){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="sui-select-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},i.prototype.bind=function(){},i.prototype.position=function(e,t){},i.prototype.destroy=function(){this.$dropdown.remove()},i})),i.define("select2/dropdown/search",["jquery"],(function(e){function t(){}return t.prototype.render=function(t){var i=t.call(this),s=this.options.get("translations").get("search"),n=e('<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>');return this.$searchContainer=n,this.$search=n.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",s()),i.prepend(n),i},t.prototype.bind=function(t,i,s){var n=this,o=i.id+"-results";t.call(this,i,s),this.$search.on("keydown",(function(e){n.trigger("keypress",e),n._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){n.handleSearch(e)})),i.on("open",(function(){n.$search.attr("tabindex",0),n.$search.attr("aria-controls",o),n.$search.trigger("focus"),window.setTimeout((function(){n.$search.trigger("focus")}),0)})),i.on("close",(function(){n.$search.attr("tabindex",-1),n.$search.removeAttr("aria-controls"),n.$search.removeAttr("aria-activedescendant"),n.$search.val(""),n.$search.trigger("blur")})),i.on("focus",(function(){i.isOpen()||n.$search.trigger("focus")})),i.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(n.showSearch(e)?n.$searchContainer[0].classList.remove("select2-search--hide"):n.$searchContainer[0].classList.add("select2-search--hide"))})),i.on("results:focus",(function(e){e.data._resultId?n.$search.attr("aria-activedescendant",e.data._resultId):n.$search.removeAttr("aria-activedescendant")}))},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t})),i.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,i,s){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),e.call(this,t,i,s)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var i=t.slice(0),s=t.length-1;s>=0;s--){var n=t[s];this.placeholder.id===n.id&&i.splice(s,1)}return i},e})),i.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,i,s){this.lastParams={},e.call(this,t,i,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),t.on("query",(function(e){s.lastParams=e,s.loading=!0})),t.on("query:append",(function(e){s.lastParams=e,s.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return t.html(i(this.lastParams)),t},t})),i.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function i(t,i,s){this.$dropdownParent=e(s.get("dropdownParent")||document.body),t.call(this,i,s)}return i.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),t.on("open",(function(){s._showDropdown(),s._attachPositioningHandler(t),s._bindContainerResultHandlers(t)})),t.on("close",(function(){s._hideDropdown(),s._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},i.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(e,t,i){t.attr("class",i.attr("class")),t.removeClass("select2"),t.addClass("sui-select-dropdown-container--open"),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(t){var i=e("<span></span>"),s=t.call(this);return i.append(s),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},i.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var i=this;t.on("results:all",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("results:append",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("results:message",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("select",(function(){i._positionDropdown(),i._resizeDropdown()})),t.on("unselect",(function(){i._positionDropdown(),i._resizeDropdown()})),this._containerResultsHandlersBound=!0}},i.prototype._attachPositioningHandler=function(i,s){var n=this,o="scroll.select2."+s.id,r="resize.select2."+s.id,a="orientationchange.select2."+s.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(o,(function(i){var s=t.GetData(this,"select2-scroll-position");e(this).scrollTop(s.y)})),e(window).on(o+" "+r+" "+a,(function(e){n._positionDropdown(),n._resizeDropdown()}))},i.prototype._detachPositioningHandler=function(i,s){var n="scroll.select2."+s.id,o="resize.select2."+s.id,r="orientationchange.select2."+s.id;this.$container.parents().filter(t.hasScroll).off(n),e(window).off(n+" "+o+" "+r)},i.prototype._positionDropdown=function(){var t=e(window),i=this.$dropdown[0].classList.contains("sui-select-dropdown--above"),s=this.$dropdown[0].classList.contains("sui-select-dropdown--below"),n=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=o.top,r.bottom=o.top+r.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),d=l<o.top-a,u=c>o.bottom+a,p={left:o.left,top:r.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var f={top:0,left:0};(e.contains(document.body,h[0])||h[0].isConnected)&&(f=h.offset()),p.top-=f.top,p.left-=f.left,i||s||(n="below"),u||!d||i?!d&&u&&i&&(n="below"):n="above",("above"==n||i&&"below"!==n)&&(p.top=r.top-f.top-a),null!=n&&(this.$dropdown[0].classList.remove("sui-select-dropdown--below"),this.$dropdown[0].classList.remove("sui-select-dropdown--above"),this.$dropdown[0].classList.add("sui-select-dropdown--"+n),this.$container[0].classList.remove("sui-select-container--below"),this.$container[0].classList.remove("sui-select-container--above"),this.$container[0].classList.add("sui-select-dropdown-container--"+n)),this.$dropdownContainer.css(p)},i.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},i.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i})),i.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){for(var i=0,s=0;s<t.length;s++){var n=t[s];n.children?i+=e(n.children):i++}return i}function t(e,t,i,s){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,i,s)}return t.prototype.showSearch=function(t,i){return!(e(i.data.results)<this.minimumResultsForSearch)&&t.call(this,i)},t})),i.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),t.on("close",(function(e){s._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,i){if(i&&null!=i.originalSelect2Event){var s=i.originalSelect2Event;if("select"===s._type||"unselect"===s._type)return}var n=this.getHighlightedResults();if(!(n.length<1)){var o=e.GetData(n[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t})),i.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,i){var s=this;e.call(this,t,i),t.on("select",(function(e){s._selectTriggered(e)})),t.on("unselect",(function(e){s._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var i=t.originalEvent;i&&(i.ctrlKey||i.metaKey)||this.trigger("close",{originalEvent:i,originalSelect2Event:t})},e})),i.define("select2/dropdown/dropdownCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var i=t.call(this),s=this.options.get("dropdownCssClass")||"";return-1!==s.indexOf(":all:")&&(s=s.replace(":all:",""),e.copyNonInternalCssClasses(i[0],this.$element[0])),i.addClass("sui-select-dropdown"),i.addClass(s),i},t})),i.define("select2/dropdown/tagsSearchHighlight",["../utils"],(function(e){function t(){}return t.prototype.highlightFirstItem=function(t){var i=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(i.length>0){var s=i.first(),n=e.GetData(s[0],"data").element;if(n&&n.getAttribute&&"true"===n.getAttribute("data-select2-tag"))return void s.trigger("mouseenter")}t.call(this)},t})),i.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,i="Please delete "+t+" character";return 1!=t&&(i+="s"),i},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}})),i.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(e,t,i,s,n,o,r,a,l,c,d,u,p,h,f,m,g,v,y,b,w,_,S,C,$,x,A,I,L,U,D){function N(){this.reset()}return N.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter&&(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,b)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,g))),null==d.resultsAdapter&&(d.resultsAdapter=t,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,C)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,S)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,A)),d.tags&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,U))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=w;else{var u=c.Decorate(w,_);d.dropdownAdapter=u}0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,x)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,I)),null!=d.dropdownCssClass&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,L)),d.dropdownAdapter=c.Decorate(d.dropdownAdapter,$)}null==d.selectionAdapter&&(d.multiple?d.selectionAdapter=s:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,n)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,r)),null!=d.selectionCssClass&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),d.selectionAdapter=c.Decorate(d.selectionAdapter,l)),d.language=this._resolveLanguage(d.language),d.language.push("en");for(var D=[],N=0;N<d.language.length;N++){var E=d.language[N];-1===D.indexOf(E)&&D.push(E)}return d.language=D,d.translations=this._processTranslations(d.language,d.debug),d},N.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return u[e]||e}))}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function i(s,n){if(null==s.term||""===s.term.trim())return n;if(n.children&&n.children.length>0){for(var o=e.extend(!0,{},n),r=n.children.length-1;r>=0;r--)null==i(s,n.children[r])&&o.children.splice(r,1);return o.children.length>0?o:i(s,o)}var a=t(n.text).toUpperCase(),l=t(s.term).toUpperCase();return a.indexOf(l)>-1?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},N.prototype.applyFromElement=function(e,t){var i=e.language,s=this.defaults.language,n=t.prop("lang"),o=t.closest("[lang]").prop("lang"),r=Array.prototype.concat.call(this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(s),this._resolveLanguage(o));return e.language=r,e},N.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var i;i=Array.isArray(t)?t:[t];for(var s=[],n=0;n<i.length;n++)if(s.push(i[n]),"string"==typeof i[n]&&i[n].indexOf("-")>0){var o=i[n].split("-")[0];s.push(o)}return s},N.prototype._processTranslations=function(t,i){for(var s=new d,n=0;n<t.length;n++){var o=new d,r=t[n];if("string"==typeof r)try{o=d.loadPath(r)}catch(e){try{r=this.defaults.amdLanguageBase+r,o=d.loadPath(r)}catch(e){i&&window.console&&console.warn&&console.warn('Select2: The language file for "'+r+'" could not be automatically loaded. A fallback will be used instead.')}}else o=e.isPlainObject(r)?new d(r):r;s.extend(o)}return s},N.prototype.set=function(t,i){var s={};s[e.camelCase(t)]=i;var n=c._convertData(s);e.extend(!0,this.defaults,n)},new N})),i.define("select2/options",["jquery","./defaults","./utils"],(function(e,t,i){function s(e,i){this.options=e,null!=i&&this.fromElement(i),null!=i&&(this.options=t.applyFromElement(this.options,i)),this.options=t.apply(this.options)}return s.prototype.fromElement=function(t){var s=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.autocomplete&&t.prop("autocomplete")&&(this.options.autocomplete=t.prop("autocomplete")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),i.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&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.'),i.StoreData(t[0],"data",i.GetData(t[0],"select2Tags")),i.StoreData(t[0],"tags",!0)),i.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&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."),t.attr("ajax--url",i.GetData(t[0],"ajaxUrl")),i.StoreData(t[0],"ajax-Url",i.GetData(t[0],"ajaxUrl")));var n={};function o(e,t){return t.toUpperCase()}for(var r=0;r<t[0].attributes.length;r++){var a=t[0].attributes[r].name,l="data-";if(a.substr(0,5)==l){var c=a.substring(5),d=i.GetData(t[0],c);n[c.replace(/-([a-z])/g,o)]=d}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(n=e.extend(!0,{},t[0].dataset,n));var u=e.extend(!0,{},i.GetData(t[0]),n);for(var p in u=i._convertData(u))s.indexOf(p)>-1||(e.isPlainObject(this.options[p])?e.extend(this.options[p],u[p]):this.options[p]=u[p]);return this},s.prototype.get=function(e){return this.options[e]},s.prototype.set=function(e,t){this.options[e]=t},s})),i.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,i,s){var n=function e(s,n){null!=i.GetData(s[0],"select2")&&i.GetData(s[0],"select2").destroy(),this.$element=s,this.id=this._generateId(s),n=n||{},this.options=new t(n,s),e.__super__.constructor.call(this);var o=s.attr("tabindex")||0;i.StoreData(s[0],"old-tabindex",o),s.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(s,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(s,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(s,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var d=this.options.get("resultsAdapter");this.results=new d(s,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){u.trigger("selection:update",{data:e})})),s[0].classList.add("select2-hidden-accessible"),s.attr("aria-hidden","true"),s.addClass("sui-screen-reader-text"),this._syncAttributes(),i.StoreData(s[0],"select2",this),s.data("select2",this)};return i.Extend(n,i.Observable),n.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},n.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},n.prototype._resolveWidth=function(e,t){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var s=this._resolveWidth(e,"style");return null!=s?s:this._resolveWidth(e,"element")}if("element"==t){var n=e.outerWidth(!1);return n<=0?"auto":n+"px"}if("style"==t){var o=e.attr("style");if("string"!=typeof o)return null;for(var r=o.split(";"),a=0,l=r.length;a<l;a+=1){var c=r[a].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},n.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},n.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this._observer=new window.MutationObserver((function(t){e._syncA(),e._syncS(t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},n.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,i){e.trigger(t,i)}))},n.prototype._registerSelectionEvents=function(){var e=this,t=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(i,s){-1===t.indexOf(i)&&e.trigger(i,s)}))},n.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,i){e.trigger(t,i)}))},n.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,i){e.trigger(t,i)}))},n.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container[0].classList.add("select2-container--open")})),this.on("close",(function(){t.$container[0].classList.remove("select2-container--open")})),this.on("enable",(function(){t.$container[0].classList.remove("select2-container--disabled")})),this.on("disable",(function(){t.$container[0].classList.add("select2-container--disabled")})),this.on("blur",(function(){t.$container[0].classList.remove("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(i){t.trigger("results:all",{data:i,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(i){t.trigger("results:append",{data:i,query:e})}))})),this.on("keypress",(function(i){var n=i.which,o=this.$element[0].hasAttribute("multiple");if(t.isOpen())n===s.ENTER?(t.trigger("results:select"),i.preventDefault()):n===s.SPACE&&i.ctrlKey?(t.trigger("results:toggle"),i.preventDefault()):n===s.UP?(t.trigger("results:previous"),i.preventDefault()):n===s.DOWN?(t.trigger("results:next"),i.preventDefault()):n!==s.ESC&&n!==s.TAB||(t.close(),i.preventDefault());else if(!o)if(n===s.ENTER||n===s.SPACE||(n===s.DOWN||n===s.UP)&&i.altKey)t.open(),i.preventDefault();else if(n===s.DOWN)null!=this.$element.find("option:selected").next().val()&&(this.$element.val(this.$element.find("option:selected").next().val()),this.$element.trigger("change")),i.preventDefault();else if(n===s.UP)null!=this.$element.find("option:selected").prev().val()&&(this.$element.val(this.$element.find("option:selected").prev().val()),this.$element.trigger("change")),i.preventDefault();else{var r=this.$element.find("option:selected").text(),a=String.fromCharCode(n).toLowerCase(),l=this.$element.find("option").filter((function(){var t;return null===(t=e(this).text())||void 0===t?void 0:t.toLowerCase().startsWith(a)})),c=l.length-1,d=r;l.each((function(t){return""!==r&&r[0].toLowerCase()===a?e(this).text()===r&&t!==c?(d=e(l[t+1]).val(),!1):void 0:(d=e(this).val(),!1)})),d!==r&&(t.$element.val(d),t.$element.trigger("change"))}}))},n.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},n.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0){for(var i=0;i<e.addedNodes.length;i++)if(e.addedNodes[i].selected)return!0}else{if(e.removedNodes&&e.removedNodes.length>0)return!0;if(Array.isArray(e))return e.some((function(e){return t._isChangeMutation(e)}))}return!1},n.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),i=this;t&&this.dataAdapter.current((function(e){i.trigger("selection:update",{data:e})}))},n.prototype.trigger=function(e,t){var i=n.__super__.trigger,s={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in s){var o=s[e],r={prevented:!1,name:e,args:t};if(i.call(this,o,r),r.prevented)return void(t.prevented=!0)}i.call(this,e,t)},n.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},n.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},n.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},n.prototype.isEnabled=function(){return!this.isDisabled()},n.prototype.isDisabled=function(){return this.options.get("disabled")},n.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},n.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},n.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},n.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},n.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},n.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map((function(e){return e.toString()}))),this.$element.val(t).trigger("input").trigger("change")},n.prototype.destroy=function(){i.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("sui-screen-reader-text"),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},n.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container[0].classList.add("sui-select"),"default"!==this.options.get("theme")&&this.$container[0].classList.add("sui-select-theme--"+this.options.get("theme")),i.StoreData(t[0],"element",this.$element),t},n})),i.define("jquery-mousewheel",["jquery"],(function(e){return e})),i.define("sui.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,i,s,n,o){if(null==t.fn.SUIselect2){var r=["open","close","destroy"];t.fn.SUIselect2=function(i){if("object"===e(i=i||{}))return this.each((function(){var e=t.extend(!0,{},i);new s(t(this),e)})),this;if("string"==typeof i){var n,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The SUIselect2('"+i+"') method was called on an element that is not using Select2."),n=e[i].apply(e,a)})),r.indexOf(i)>-1?this:n}throw new Error("Invalid arguments for SUIselect2: "+i)}}return null==t.fn.SUIselect2.defaults&&(t.fn.SUIselect2.defaults=n),s})),{define:i.define,require:i.require}}();i.require("sui.select2")}(jQuery)},916:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"object"!==e(window.SUI)&&(window.SUI={}),SUI.select={},SUI.select.escapeJS=function(e){return t("<div>").html(e).text().replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")},SUI.select.formatIcon=function(e,i){var s=SUI.select.escapeJS(e.text),n=t(e.element).attr("data-icon");return e.id&&void 0!==n?'<span class="sui-icon-'+n.toLowerCase()+'" aria-hidden="true"></span> '+s:s},SUI.select.formatIconSelection=function(e,i){var s=SUI.select.escapeJS(e.text),n=t(e.element).attr("data-icon");return void 0!==n?'<span class="sui-icon-'+n.toLowerCase()+'" aria-hidden="true"></span> '+s:s},SUI.select.formatColor=function(e,i){var s,n,o=SUI.select.escapeJS(e.text),r=t(e.element).attr("data-color");if(!e.id)return o;if(void 0!==r){switch(r){case"#FFF":case"white":case"#FFFFFF":n="#000";break;case"#FAFAFA":case"#F8F8F8":case"#F2F2F2":n="#333";break;default:n=r}s='<span class="sui-color" style="border-color: '+n+"; background-color: "+r+';" aria-hidden="true"></span> '+o}else s=o;return s},SUI.select.formatColorSelection=function(e,i){var s,n=SUI.select.escapeJS(e.text),o=t(e.element).attr("data-color");if(void 0!==o){switch(o){case"#FFF":case"white":case"#FFFFFF":border="#000";break;case"#FAFAFA":case"#F8F8F8":case"#F2F2F2":border="#333";break;default:border=o}s='<span class="sui-color" style="border-color: '+border+"; background-color: "+o+';" aria-hidden="true"></span> '+n}else s=n;return s},SUI.select.formatVars=function(e,i){var s=SUI.select.escapeJS(e.text),n=t(e.element).val();return e.id&&void 0!==n?'<span class="sui-variable-name">'+s+'</span><span class="sui-variable-value">'+n+"</span> ":s},SUI.select.formatVarsSelection=function(e,t){return'<span class="sui-icon-plus-circle sui-md" aria-hidden="true"></span>'+'<span class="sui-screen-reader-text">'+SUI.select.escapeJS(e.text)+"</span>"},SUI.select.init=function(e){var i=e.closest(".sui-modal-content"),s=i.attr("id"),n=i.length?t("#"+s):t(".sui-2-12-23"),o="true"===e.attr("data-search")?0:-1,r=e.hasClass("sui-select-sm")?"sui-select-dropdown-sm":"";e.SUIselect2({dropdownParent:n,minimumResultsForSearch:o,dropdownCssClass:r})},SUI.select.initIcon=function(e){var i=e.closest(".sui-modal-content"),s=i.attr("id"),n=i.length?t("#"+s):t(".sui-2-12-23"),o="true"===e.attr("data-search")?0:-1,r=e.hasClass("sui-select-sm")?"sui-select-dropdown-sm":"";e.SUIselect2({dropdownParent:n,templateResult:SUI.select.formatIcon,templateSelection:SUI.select.formatIconSelection,escapeMarkup:function(e){return e},minimumResultsForSearch:o,dropdownCssClass:r})},SUI.select.initColor=function(e){var i=e.closest(".sui-modal-content"),s=i.attr("id"),n=i.length?t("#"+s):t(".sui-2-12-23"),o="true"===e.attr("data-search")?0:-1,r=e.hasClass("sui-select-sm")?"sui-select-dropdown-sm":"";e.SUIselect2({dropdownParent:n,templateResult:SUI.select.formatColor,templateSelection:SUI.select.formatColorSelection,escapeMarkup:function(e){return e},minimumResultsForSearch:o,dropdownCssClass:r})},SUI.select.initSearch=function(e){var i=e.closest(".sui-modal-content"),s=i.attr("id"),n=i.length?t("#"+s):t(".sui-2-12-23"),o=e.hasClass("sui-select-sm")?"sui-select-dropdown-sm":"";e.SUIselect2({dropdownParent:n,minimumInputLength:2,maximumSelectionLength:1,dropdownCssClass:o})},SUI.select.initVars=function(e){var i=e.closest(".sui-modal-content"),s=i.attr("id"),n=i.length?t("#"+s):t(".sui-2-12-23"),o="true"===e.attr("data-search")?0:-1;e.SUIselect2({theme:"vars",dropdownParent:n,templateResult:SUI.select.formatVars,templateSelection:SUI.select.formatVarsSelection,escapeMarkup:function(e){return e},minimumResultsForSearch:o}).on("select2:open",(function(){t(this).val(null)})),e.val(null)},t(".sui-select").each((function(){var e=t(this);e.hasClass("select2-hidden-accessible")||e.hasClass("select2")||("icon"===e.data("theme")?SUI.select.initIcon(e):"color"===e.data("theme")?SUI.select.initColor(e):"search"===e.data("theme")?SUI.select.initSearch(e):SUI.select.init(e))})),t(".sui-variables").each((function(){var e=t(this);e.hasClass("select2-hidden-accessible")||e.hasClass("select2")||SUI.select.initVars(e)}))}(jQuery)},618:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.sideTabs=function(e){var i,s=t(e),n=s.parent("label"),o=s.data("tab-menu"),r=s.closest(".sui-side-tabs"),a=r.find(">.sui-tabs-menu .sui-tab-item"),l=a.find("input");s.on("click",(function(e){a.removeClass("active"),l.attr("checked",!1),l.attr("aria-selected",!1),r.find("> .sui-tabs-content > div[data-tab-content]").removeClass("active"),n.addClass("active"),s.attr("checked",!0),s.attr("aria-selected",!0),(i=r.find('.sui-tabs-content div[data-tab-content="'+o+'"]')).length&&i.addClass("active")}))},t(".sui-2-12-23 .sui-side-tabs label.sui-tab-item input").each((function(){SUI.sideTabs(this)}))}(jQuery)},394:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.floatInput=function(){t("body").ready((function(){var e=t(".sui-sidenav .sui-with-floating-input"),i=t(".sui-header-inline"),s=i.find(".sui-header-title").width(),n=i.next().find(".sui-sidenav").width();s>n&&e.each((function(){t(this).css({left:s+20+"px"})}))}))},SUI.floatInput()}(jQuery)},507:function(){!function(e){"use strict";function t(e){e.getBoundingClientRect().top<=parseInt(getComputedStyle(e).top.replace("px",""))?e.classList.add("sui-is-sticky"):e.classList.remove("sui-is-sticky")}[].slice.call(document.querySelectorAll(".sui-box-sticky")).forEach((function(e){CSS.supports&&CSS.supports("position","sticky")&&(null!==e.offsetParent&&t(e),window.addEventListener("scroll",(function(){null!==e.offsetParent&&t(e)})))}))}(jQuery)},215:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(t){"use strict";"object"!==e(window.SUI)&&(window.SUI={}),SUI.suiTabs=function(e){var t,i,s,n,o=["tab","pane"],r=[],a=[],l=[],c=[],d=[];function u(e,i){p(e,i),"function"==typeof t.callback&&t.callback(c.tab,c.pane)}function p(e,t){var u;for(s=e,n=t,u=0;u<o.length;u++)i=o[u],a[i]=r[i][s],l[i]=a[i].children,c[i]=l[i][n],h();d[e]=[],d[e][t]=!0}function h(){var e;for(e=0;e<l[i].length;e++)l[i][e].classList.remove(t[i+"Active"]);c[i].classList.add(t[i+"Active"])}function f(e,i){(t=t||[])[e]=t[e]||i}!function(e){var a,l,c;for(t=e,function(){var e;for(e=0;e<o.length;e++)f((i=o[e])+"Group","[data-"+i+"s]"),f(i+"Active","active")}(),r.tab=document.querySelectorAll(t.tabGroup),r.pane=document.querySelectorAll(t.paneGroup),a=0;a<r.tab.length;a++)for(l=r.tab[a].children,c=0;c<l.length;c++)l[c].addEventListener("click",u.bind(this,a,c),!1),s=a,n=c,window.location.hash&&window.location.hash.replace(/[^\w-_]/g,"")===l[c].id&&p(a,c)}(e)},SUI.tabsOverflow=function(e){var i=e.closest(".sui-tabs").find('[data-tabs], [role="tablist"]'),s=e.find(".sui-tabs-navigation--left"),n=e.find(".sui-tabs-navigation--right");function o(){return i[0].scrollWidth>i.width()?(0===i.scrollLeft()?s.addClass("sui-tabs-navigation--hidden"):s.removeClass("sui-tabs-navigation--hidden"),r(0),!0):(s.addClass("sui-tabs-navigation--hidden"),n.addClass("sui-tabs-navigation--hidden"),!1)}function r(e){var t,s;t=i.scrollLeft()+e,s=i.outerWidth(),i.get(0).scrollWidth-t<=s?n.addClass("sui-tabs-navigation--hidden"):n.removeClass("sui-tabs-navigation--hidden")}o(),s.on("click",(function(){return n.removeClass("sui-tabs-navigation--hidden"),0>=i.scrollLeft()-150&&s.addClass("sui-tabs-navigation--hidden"),i.animate({scrollLeft:"-=150"},400,(function(){})),!1})),n.on("click",(function(){return s.removeClass("sui-tabs-navigation--hidden"),r(150),i.animate({scrollLeft:"+=150"},400,(function(){})),!1})),t(window).on("resize",(function(){o()})),i.on("scroll",(function(){o()}))},SUI.tabs=function(e){var i,s=t('.sui-tabs > div[role="tablist"]'),n=e,o=35,r=36,a=37,l=38,c=39,d=40,u=13,p=32,h={37:-1,38:-1,39:1,40:1};if(s.length)return(i=s.closest(".sui-tabs")).each((function(){i=t(this),(s=i.find('> [role="tablist"]')).find('> [role="tab"]').on("click",(function(e){var i,s;f(s=(i=e).target),void 0!==n&&"undefined"!==n&&function(e){var i=t(e),s=i.attr("aria-controls"),o=t("#"+s);"function"==typeof n.callback&&n.callback(i,o)}(s),i.preventDefault(),i.stopPropagation()})).on("keydown",(function(e){!function(e,t,i){switch(e.keyCode||e.which){case o:case r:e.preventDefault();break;case l:case d:m(e,t,i)}}(e,t(this).index(),s)})).on("keyup",(function(e){!function(e,t,i){switch(e.keyCode||e.which){case a:case c:m(e,t,i);break;case u:case p:f(e)}}(e,t(this).index(),s)}))})),this;function f(e){var i=t(e).closest('[role="tablist"]').find('[role="tab"]'),s=t(e).closest('[role="tablist"]').find('input[type="radio"]'),n=t(e).closest(".sui-tabs").find('> .sui-tabs-content > [role="tabpanel"]'),o=t(e).attr("aria-controls"),r=t(e).next('input[type="radio"]'),a=t("#"+o);!function(e,t,i){e.removeClass("active"),e.attr("tabindex","-1"),e.attr("aria-selected",!1),i.prop("checked",!1),t.removeClass("active"),t.prop("hidden",!0)}(i,n,s),t(e).addClass("active"),t(e).removeAttr("tabindex"),t(e).attr("aria-selected",!0),r.prop("checked",!0),a.addClass("active"),a.prop("hidden",!1)}function m(e,i,s){var n=e.keyCode||e.which,o=!1;"vertical"===t(s).attr("aria-orientation")?l!==n&&d!==n||(e.preventDefault(),o=!0):a!==n&&c!==n||(o=!0),!0===o&&function(e,i){var s,n,o;s=e.keyCode||e.which,h[s]&&(n=e.target,o=t(n).closest('[role="tablist"]').find('> [role="tab"]'),void 0!==i&&(o[i+h[s]]?o[i+h[s]].focus():a===s||l===s?o[o.length-1].focus():c!==s&&d!==s||o[0].focus()))}(e,i)}},0!==t(".sui-2-12-23 .sui-tabs").length&&(SUI.tabs(),SUI.suiTabs(),t(".sui-2-12-23 .sui-tabs-navigation").each((function(){SUI.tabsOverflow(t(this))})))}(jQuery)}},t={};function i(s){var n=t[s];if(void 0!==n)return n.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}i(511),i(364),i(235),i(150),i(785),i(838),i(548),i(922),i(535),i(916),i(618),i(394),i(507),i(215)}(); //# sourceMappingURL=shared-ui.min.js.map