vendor: 14,836 bytes, line 1
1(self.webpackChunk=self.webpackChunk||[]).push([[1998],{72461(e,t,n){var i,s,o,r=n(74692);s=[n(74692)],i=function(t){(x=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:x)&&x.requirejs||(x?n=x:x={},c={},u={},d={},h={},p=Object.prototype.hasOwnProperty,f=[].slice,g=/\.js$/,l=function(e,t){var n,i,s=$(e),o=s[0];return t=t[1],e=s[1],o&&(n=w(o=b(o,t))),o?e=n&&n.normalize?n.normalize(e,(i=t,function(e){return b(e,i)})):b(e,t):(o=(s=$(e=b(e,t)))[0],e=s[1],o&&(n=w(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},a={require:function(e){return _(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:(t=e,function(){return d&&d.config&&d.config[t]||{}})};var t}},s=function(e,t,n,s){var o,r,d,p,f,g=[],m=typeof n,v=A(s=s||e);if("undefined"==m||"function"==m){for(t=!t.length&&n.length?["require","exports","module"]:t,p=0;p<t.length;p+=1)if("require"===(r=(d=l(t[p],v)).f))g[p]=a.require(e);else if("exports"===r)g[p]=a.exports(e),f=!0;else if("module"===r)o=g[p]=a.module(e);else if(y(c,r)||y(u,r)||y(h,r))g[p]=w(r);else{if(!d.p)throw new Error(e+" missing "+r);d.p.load(d.n,_(s,!0),(e=>function(t){c[e]=t})(r),{}),g[p]=c[r]}m=n?n.apply(c[e],g):void 0,e&&(o&&o.exports!==i&&o.exports!==c[e]?c[e]=o.exports:m===i&&f||(c[e]=m))}else e&&(c[e]=n)},m=n=o=function(e,t,n,r,c){if("string"==typeof e)return a[e]?a[e](t):w(l(e,A(t)).f);if(!e.splice){if((d=e).deps&&o(d.deps,d.callback),!t)return;t.splice?(e=t,t=n,n=null):e=i}return t=t||function(){},"function"==typeof n&&(n=r,r=c),r?s(i,e,t,n):setTimeout(function(){s(i,e,t,n)},4),o},o.config=function(e){return o(e)},m._defined=c,(v=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),y(c,e)||y(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0},x.requirejs=m,x.require=n,x.define=v),x.define("almond",function(){}),x.define("jquery",[],function(){var e=t||r;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}),x.define("select2/utils",[],function(){var e={};function t(e){var t,n=e.prototype,i=[];for(t in n)"function"==typeof n[t]&&"constructor"!==t&&i.push(t);return i}function n(){this.listeners={}}e.Extend=function(e,t){var n,i={}.hasOwnProperty;function s(){this.constructor=e}for(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},e.Decorate=function(e,n){var i=t(n),s=t(e);function o(){var t=Array.prototype.unshift,i=n.prototype.constructor.length,s=e.prototype.constructor;0<i&&(t.call(arguments,e.prototype.constructor),s=n.prototype.constructor),s.apply(this,arguments)}n.displayName=e.displayName,o.prototype=new function(){this.constructor=o};for(var r=0;r<s.length;r++){var l=s[r];o.prototype[l]=e.prototype[l]}for(var a=0;a<i.length;a++){var c=i[a];o.prototype[c]=(e=>{var t=function(){},i=(e in o.prototype&&(t=o.prototype[e]),n.prototype[e]);return function(){return Array.prototype.unshift.call(arguments,t),i.apply(this,arguments)}})(c)}return o},n.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},n.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},0===(n=null==n?[]:n).length&&n.push({}),(n[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},e.Observable=n,e.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},e.bind=function(e,t){return function(){e.apply(t,arguments)}},e._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var s=0;s<n.length;s++){var o=n[s];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),s==n.length-1&&(i[o]=e[t]),i=i[o]}delete e[t]}}return e},e.hasScroll=function(e,t){var n=t.style.overflowX,i=t.style.overflowY;return(n!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===n||"scroll"===i||(n=window.getComputedStyle(t),parseFloat(n.height)<t.scrollHeight)||parseFloat(n.width)<t.scrollWidth)},e.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},e.__cache={};var i=0;return e.GetUniqueElementId=function(t){var n=t.getAttribute("data-select2-id");return null==n&&(n=t.id?"select2-data-"+t.id:"select2-data-"+(++i).toString()+"-"+e.generateChars(4),t.setAttribute("data-select2-id",n)),n},e.StoreData=function(t,n,i){t=e.GetUniqueElementId(t),e.__cache[t]||(e.__cache[t]={}),e.__cache[t][n]=i},e.GetData=function(t,n){var i,s=e.GetUniqueElementId(t);return n?(i=n.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}),e.__cache[s]&&null!=e.__cache[s][n]?e.__cache[s][n]:t.dataset[i]):e.__cache[s]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e.copyNonInternalCssClasses=function(e,t){var n=(n=e.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0===e.indexOf("select2-")});t=(t=t.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0!==e.indexOf("select2-")}),n=n.concat(t),e.setAttribute("class",n.join(" "))},e}),x.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t[0].setAttribute("aria-multiselectable","true"),this.$results=t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup"),i=(this.clear(),this.hideLoading(),e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>')),s=this.options.get("translations").get(t.message);i.append(n(s(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});else{e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n];i=this.option(i),t.push(i)}this.$results.append(t)}},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");(0<t.length?t:e).first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(i){var s=i.map(function(e){return e.id.toString()});n.$results.find(".select2-results__option--selectable").each(function(){var n=e(this),i=t.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&-1<s.indexOf(o)?(this.classList.add("select2-results__option--selected"),n[0].setAttribute("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),n[0].setAttribute("aria-selected","false"))})})},n.prototype.showLoading=function(e){this.hideLoading(),e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},(e=this.option(e)).className+=" loading-results",this.$results.prepend(e)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i,s=document.createElement("li"),o=(s.classList.add("select2-results__option"),s.classList.add("select2-results__option--selectable"),{role:"option"}),r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(i in(null!=n.element&&r.call(n.element,":disabled")||null==n.element&&n.disabled)&&(o["aria-disabled"]="true",s.classList.remove("select2-results__option--selectable"),s.classList.add("select2-results__option--disabled")),null==n.id&&s.classList.remove("select2-results__option--selectable"),null!=n._resultId&&(s.id=n._resultId),n.title&&(s.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,s.classList.remove("select2-results__option--selectable"),s.classList.add("select2-results__option--group")),o)s.setAttribute(i,o[i]);if(n.children){r=e(s);for(var l=document.createElement("strong"),a=(l.className="select2-results__group",this.template(n,l),[]),c=0;c<n.children.length;c++){var u=n.children[c];u=this.option(u),a.push(u)}var d=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});d.append(a),r.append(l),r.append(d)}else this.template(n,s);return t.StoreData(s,"data",n),s},n.prototype.bind=function(n,i){var s=this,o=n.id+"-results";this.$results[0].setAttribute("id",o),n.on("results:all",function(e){s.clear(),s.append(e.data),n.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),n.on("results:append",function(e){s.append(e.data),n.isOpen()&&s.setClasses()}),n.on("query",function(e){s.hideMessages(),s.showLoading(e)}),n.on("select",function(){n.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect"))&&s.highlightFirstItem()}),n.on("unselect",function(){n.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect"))&&s.highlightFirstItem()}),n.on("open",function(){s.$results[0].setAttribute("aria-expanded","true"),s.$results[0].setAttribute("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()}),n.on("close",function(){s.$results[0].setAttribute("aria-expanded","false"),s.$results[0].setAttribute("aria-hidden","true"),s.$results[0].removeAttribute("aria-activedescendant")}),n.on("results:toggle",function(){var e=s.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),n.on("results:select",function(){var e,n=s.getHighlightedResults();0!==n.length&&(e=t.GetData(n[0],"data"),n.hasClass("select2-results__option--selected")?s.trigger("close",{}):s.trigger("select",{data:e}))}),n.on("results:previous",function(){var e,t=s.getHighlightedResults(),n=s.$results.find(".select2-results__option--selectable"),i=n.index(t);i<=0||(i-=1,0===t.length&&(i=0),(t=n.eq(i)).trigger("mouseenter"),n=s.$results.offset().top,t=t.offset().top,e=s.$results.scrollTop()+(t-n),0===i?s.$results.scrollTop(0):t-n<0&&s.$results.scrollTop(e))}),n.on("results:next",function(){var e,t,n=s.getHighlightedResults(),i=s.$results.find(".select2-results__option--selectable");(n=i.index(n)+1)>=i.length||((i=i.eq(n)).trigger("mouseenter"),e=s.$results.offset().top+s.$results.outerHeight(!1),i=i.offset().top+i.outerHeight(!1),t=s.$results.scrollTop()+i-e,0===n?s.$results.scrollTop(0):e<i&&s.$results.scrollTop(t))}),n.on("results:focus",function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")}),n.on("results:message",function(e){s.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=s.$results.scrollTop(),n=s.$results.get(0).scrollHeight-t+e.deltaY;t=0<e.deltaY&&t-e.deltaY<=0,n=e.deltaY<0&&n<=s.$results.height(),t?(s.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):n&&(s.$results.scrollTop(s.$results.get(0).scrollHeight-s.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(n){var i=e(this),o=t.GetData(this,"data");i.hasClass("select2-results__option--selected")?s.options.get("multiple")?s.trigger("unselect",{originalEvent:n,data:o}):s.trigger("close",{originalEvent:n,data:o}):s.trigger("select",{originalEvent:n,data:o})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(n){var i=t.GetData(this,"data"),o=s.getHighlightedResults();o.removeClass("select2-results__option--highlighted"),o.each(function(){this.setAttribute("aria-selected","false")}),s.trigger("results:focus",{data:i,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e,t,n,i,s=this.getHighlightedResults();0!==s.length&&(e=this.$results.find(".select2-results__option--selectable").index(s),t=this.$results.offset().top,i=s.offset().top,n=this.$results.scrollTop()+(i-t),i-=t,n-=2*s.outerHeight(!1),e<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),s=this.options.get("escapeMarkup");null==(i=i(t,n))?n.style.display="none":"string"==typeof i?n.innerHTML=s(i):e(n).append(i)},n}),x.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}}),x.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){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 n=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[0].getAttribute("tabindex")&&(this._tabindex=this.$element[0].getAttribute("tabindex")),this.$element[0].getAttribute("title")&&n[0].setAttribute("title",this.$element[0].getAttribute("title")),n[0].setAttribute("tabindex",this._tabindex),n[0].setAttribute("aria-disabled","false"),this.$selection=n},i.prototype.bind=function(e,t){var i=this,s=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection[0].setAttribute("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection[0].setAttribute("aria-expanded","true"),i.$selection[0].setAttribute("aria-owns",s),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection[0].setAttribute("aria-expanded","fal
1se"),i.$selection[0].removeAttribute("aria-activedescendant"),i.$selection[0].removeAttribute("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection[0].setAttribute("tabindex",i._tabindex),i.$selection[0].setAttribute("aria-disabled","false")}),e.on("disable",function(){i.$selection[0].setAttribute("tabindex","-1"),i.$selection[0].setAttribute("aria-disabled","true")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,function(n){var i=e(n.target).closest(".select2");e(".select2.select2-container--open").each(function(){this!=i[0]&&t.GetData(this,"element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i}),x.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function s(){s.__super__.constructor.apply(this,arguments)}return n.Extend(s,t),s.prototype.render=function(){var e=s.__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"><b role="presentation"></b></span>'),e},s.prototype.bind=function(e,t){var n=this,i=(s.__super__.bind.apply(this,arguments),e.id+"-container"),o=this.$selection.find(".select2-selection__rendered")[0];null!=o&&(o.setAttribute("id",i),o.setAttribute("role","textbox"),o.setAttribute("aria-readonly","true")),this.$selection[0].setAttribute("aria-labelledby",i),this.$selection[0].setAttribute("aria-controls",i),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||n.$selection.trigger("focus")})},s.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e[0].removeAttribute("title")},s.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},s.prototype.selectionContainer=function(){return e("<span></span>")},s.prototype.update=function(e){var t,n;0===e.length?this.clear():(e=e[0],t=this.$selection.find(".select2-selection__rendered"),n=this.display(e,t),t.empty().append(n),(n=e.title||e.text)?t[0].setAttribute("title",n):t[0].removeAttribute("title"))},s}),x.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,s){var o=this,r=(i.__super__.bind.apply(this,arguments),t=t.id+"-container",this.$selection.find(".select2-selection__rendered")[0]);null!=r&&r.setAttribute("id",t),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var i;o.isDisabled()||(i=e(this).parent(),i=n.GetData(i[0],"data"),o.trigger("unselect",{originalEvent:t,data:i}))}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){o.isDisabled()||e.stopPropagation()})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e[0].removeAttribute("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=this.$selection.find(".select2-selection__rendered")[0].getAttribute("id")+"-choice-",s=0;s<e.length;s++){var o=e[s],r=this.selectionContainer(),l=this.display(o,r),a=i+n.generateChars(4)+"-",c=(o.id?a+=o.id:a+=n.generateChars(4),r.f
vendor: 30,229 bytes, line 1
1ind(".select2-selection__choice__display").append(l)[0].setAttribute("id",a),(l=o.title||o.text)&&r[0].setAttribute("title",l),l=this.options.get("translations").get("removeItem"),r.find(".select2-selection__choice__remove")[0]);c.setAttribute("title",l()),c.setAttribute("aria-label",l()),c.setAttribute("aria-describedby",a),n.StoreData(r[0],"data",o),t.push(r)}this.$selection.find(".select2-selection__rendered").append(t)}},i}),x.define("select2/selection/placeholder",[],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"object"!=typeof t?{id:"",text:t}:t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice"),t=t.title||t.text||n.text(),this.$selection.find(".select2-selection__rendered")[0].setAttribute("title",t),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear(),n=this.createPlaceholder(this.placeholder),this.$selection.find(".select2-selection__rendered").append(n)},e}),x.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(e,t,n){function i(){}return i.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),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){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},i.prototype._handleClear=function(e,t){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){t.stopPropagation();var s=n.GetData(i[0],"data"),o=this.$element.val(),r=(this.$element.val(this.placeholder.id),{data:s});if(this.trigger("clear",r),r.prevented)this.$element.val(o);else{for(var l=0;l<s.length;l++)if(r={data:s[l]},this.trigger("unselect",r),r.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},i.prototype.update=function(t,i){var s,o;t.call(this,i),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),0<this.$selection.find(".select2-selection__placeholder").length||0===i.length||((t=null)!=(s=this.$selection.find(".select2-selection__rendered")[0])&&(t=s.getAttribute("id")),s=this.options.get("translations").get("removeAllItems"),(o=e('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>'))[0].setAttribute("title",s()),o[0].setAttribute("aria-label",s()),o[0].setAttribute("aria-describedby",t),n.StoreData(o[0],"data",i),this.$selection.prepend(o),this.$selection[0].classList.add("select2-selection--clearable"))},i}),x.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=this.options.get("translations").get("search"),i=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>');return this.$searchContainer=i,this.$search=i.find("textarea"),this.$search[0].autocomplete=this.options.get("autocomplete"),this.$search[0].setAttribute("aria-label",n()),i=t.call(this),this._transferTabIndex(),i.append(this.$searchContainer),i},i.prototype.bind=function(e,i,s){var o=this,r=i.id+"-results",l=i.id+"-container",a=(e.call(this,i,s),o.$search[0].setAttribute("aria-describedby",l),i.on("open",function(){o.$search[0].setAttribute("aria-controls",r),o.$search.trigger("focus")}),i.on("close",function(){o.$search.val(""),o.resizeSearch(),o.$search[0].removeAttribute("aria-controls"),o.$search[0].removeAttribute("aria-activedescendant"),o.$search.trigger("focus")}),i.on("enable",function(){o.$search[0].disabled=!1,o._transferTabIndex()}),i.on("disable",function(){o.$search[0].disabled=!0}),i.on("focus",function(e){o.$search.trigger("focus")}),i.on("results:focus",function(e){e.data._resultId?o.$search[0].setAttribute("aria-activedescendant",e.data._resultId):o.$search[0].removeAttribute("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){var i;e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()&&0<(i=o.$selection.find(".select2-selection__choice").last()).length&&(i=t.GetData(i[0],"data"),o.searchRemoveChoice(i),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){o.$search.val()&&e.stopPropagation()}),(e=document.documentMode)&&e<=11);this.$selection.on("input.searchcheck",".select2-search--inline",function(e){a?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;a&&"input"===e.type?o.$selection.off("input.search input.searchcheck"):(t=e.which)!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)})},i.prototype._transferTabIndex=function(e){this.$search[0].setAttribute("tabindex",this.$selection[0].getAttribute("tabindex")),this.$selection[0].setAttribute("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search[0].setAttribute("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search[0].setAttribute("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search[0].getAttribute("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},i}),x.define("select2/selection/selectionCss",["../utils"],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this);return-1!==(t=this.options.get("selectionCssClass")||"").indexOf(":all:")&&(t=t.replace(":all:",""),e.copyNonInternalCssClasses(n[0],this.$element[0])),t.trim().split(" ").forEach(function(e){0<e.length&&n[0].classList.add(e)}),n},t}),x.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var s=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,i),n.on("*",function(t,n){var i;-1!==o.indexOf(t)&&(i=e.Event("select2:"+t,{params:n=n||{}}),s.$element.trigger(i),-1!==r.indexOf(t))&&(n.prevented=i.isDefaultPrevented())})},t}),x.define("select2/translation",["require"],function(e){function t(e){this.dict=e||{}}return t.prototype.all=function(){return this.dict},t.prototype.get=function(e){return this.dict[e]},t.prototype.extend=function(e){this.dict=Object.assign({},e.all(),this.dict)},t._cache={},t.loadPath=function(n){var i;return n in t._cache||(i=e(n),t._cache[n]=i),new t(t._cache[n])},t}),x.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","â¸":"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",Ç:"DZ",Dz:"Dz",Ç
:"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","â»":"F",F:"F",á¸:"F",Æ:"F",ê»:"F","â¼":"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","â":"M",ï¼:"M",Ḿ:"M",á¹:"M",á¹:"M",â±®:"M",Æ:"M","â":"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",ê:"OO",È¢:"OU","â
":"P",ï¼°:"P",á¹:"P",á¹:"P",Ƥ:"P",â±£:"P",ê:"P",ê:"P",ê:"P","â":"Q",ï¼±:"Q",ê:"Q",ê:"Q",É:"Q","â":"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","â":"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","â":"V",ï¼¶:"V",á¹¼:"V",á¹¾:"V",Ʋ:"V",ê:"V",É
:"V",ê :"VY","â":"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","â":"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",ê³:"aa",æ:"ae",ǽ:"ae",Ç£:"ae",êµ:"ao",ê·:"au",ê¹:"av",ê»:"av",ê½:"ay","â":"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",dz:"dz",Ç:"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","â":"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",Æ:"hv","â":"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","â":"l",ï½:"l",Å:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",Å¿:"l",Å:"l",Æ:"l",É«:"l",ⱡ:"l",ê:"l",ê:"l",ê:"l",Ç:"lj","â":"m",ï½:"m",ḿ:"m",á¹:"m",á¹:"m",ɱ:"m",ɯ:"m","â":"n",ï½:"n",ǹ:"n",Å:"n",ñ:"n",á¹
:"n",Å:"n",á¹:"n",Å:"n",á¹:"n",á¹:"n",Æ:"n",ɲ:"n",Å:"n",ê:"n",ê¥:"n",Ç:"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",Å:"oe",Æ£:"oi",È£:"ou",ê:"oo","â":"p",ï½:"p",á¹:"p",á¹:"p",Æ¥:"p",áµ½:"p",ê:"p",ê:"p",ê:"p","â ":"q",ï½:"q",É:"q",ê:"q",ê:"q","â¡":"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","â¥":"v",ï½:"v",á¹½:"v",ṿ:"v",Ê:"v",ê:"v",Ê:"v",ê¡:"vy","â¦":"w",ï½:"w",áº:"w",áº:"w",ŵ:"w",áº:"w",áº
:"w",áº:"w",áº:"w",â±³:"w","â§":"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",Î:"Î",Î:"Î",Î:"Î",Î:"Î",Ϊ:"Î",Î:"Î",Î:"Î¥",Ϋ:"Î¥",Î:"Ω",ά:"α",Î:"ε",ή:"η",ί:"ι",Ï:"ι",Î:"ι",Ï:"ο",Ï:"Ï
",Ï:"Ï
",ΰ:"Ï
",Ï:"Ï",Ï:"Ï","â":"'"}}),x.define("select2/data/base",["../utils"],function(e){function t(e,n){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,n){return t=t.id+"-result-",t+=e.generateChars(4),null!=n.id?t+="-"+n.id.toString():t+="-"+e.generateChars(4),t},t}),x.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(n(e))}))},i.prototype.select=function(e){var t,n=this;e.selected=!0,null!=e.element&&"option"===e.element.tagName.toLowerCase()?(e.element.selected=!0,this.$element.trigger("input").trigger("change")):this.$element[0].multiple?this.current(function(t){var i=[];(e=[e]).push.apply(e,t);for(var s=0;s<e.length;s++){var o=e[s].id;-1===i.indexOf(o)&&i.push(o)}n.$element.val(i),n.$element.trigger("input").trigger("change")}):(t=e.id,this.$element.val(t),this.$element.trigger("input").trigger("change"))},i.prototype.unselect=function(e){var t=this;this.$element[0].multiple&&(e.selected=!1,null!=e.element&&"option"===e.element.tagName.toLowerCase()?(e.element.selected=!1,this.$element.trigger("input").trigger("change")):this.current(function(n){for(var i=[],s=0;s<n.length;s++){var o=n[s].id;o!==e.id&&-1===i.indexOf(o)&&i.push(o)}t.$element.val(i),t.$element.trigger("input").trigger("change")}))},i.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},i.prototype.query=function(e,t){var i=[],s=this;this.$element.children().each(function(){var t;"option"!==this.tagName.toLowerCase()&&"optgroup"!==this.tagName.toLowerCase()||(t=n(this),t=s.item(t),null!==(t=s.matches(e,t))&&i.push(t))}),t({results:i})},i.prototype.addOptions=function(e){this.$element.append(e)},i.prototype.option=function(e){var i;return e.children?(i=document.createElement("optgroup")).label=e.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=e.text:i.innerText=e.text,void 0!==e.id&&(i.value=e.id),e.disabled&&(i.disabled=!0),e.selected&&(i.selected=!0),e.title&&(i.title=e.title),(e=this._normalizeItem(e)).element=i,t.StoreData(i,"data",e),n(i)},i.prototype.item=function(e){var i={};if(null==(i=t.GetData(e[0],"data"))){var s=e[0];if("option"===s.tagName.toLowerCase())i={id:e.val(),text:e.text(),disabled:e[0].disabled,selected:e[0].selected,title:e[0].title};else if("optgroup"===s.tagName.toLowerCase()){i={text:e[0].label,children:[],title:e[0].title};for(var o=e.children("option"),r=[],l=0;l<o.length;l++){var a=n(o[l]);a=this.item(a),r.push(a)}i.children=r}(i=this._normalizeItem(i)).element=e[0],t.StoreData(e[0],"data",i)}return i},i.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=n.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)),e.children&&(e.children=e.children.map(i.prototype._normalizeItem)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),x.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(e){var t;0===this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()}).length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){for(var t=this,i=this.$element.find("option"),s=i.map(function(){return t.item(n(this)).id}).get(),o=[],r=0;r<e.length;r++){var l,a,c=this._normalizeItem(e[r]);0<=s.indexOf(c.id)?(l=i.filter((e=>function(){return n(this).val()==e.id})(c)),a=this.item(l),a=n.extend(!0,{},c,a),a=this.option(a),l.replaceWith(a)):(l=this.option(c),c.children&&(a=this.convertToOptions(c.children),l.append(a)),o.push(l))}return o},i}),x.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){return n.extend({},{data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){return(e=n.ajax(e)).then(t),e.fail(i),e}},e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var s=this,o=(null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null),n.extend({type:"GET"},this.ajaxOptions));function r(){var n=o.transport(o,function(n){(n=s.processResults(n,e))&&n.results&&Array.isArray(n.results)?n.results=n.results.map(i.prototype._normalizeItem):s.options.get("debug")&&window.console&&console.error&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),t(n)},function(){n&&"status"in n&&(0===n.status||"0"===n.status)||s.trigger("results:message",{message:"errorLoading"})});s._request=n}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i}),x.define("select2/data/tags",["jquery"],function(e){function t(e,t,n){var i,s=n.get("tags");if(void 0!==(void 0!==(i=n.get("createTag"))&&(this.createTag=i),i=n.get("insertTag"))&&(this.insertTag=i),e.call(this,t,n),Array.isArray(s))for(var o=0;o<s.length;o++){var r=s[o];r=this._normalizeItem(r),r=this.option(r),this.$element.append(r)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null==t.term||null!=t.page?e.call(this,t,n):e.call(this,t,function e(s,o){for(var r=s.results,l=0;l<r.length;l++){var a=r[l],c=null!=a.children&&!e({results:a.children},!0);if((a.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!o&&(s.data=r,void n(s))}if(o)return!0;var u,d=i.createTag(t);null!=d&&((u=i.option(d))[0].setAttribute("data-select2-tag","true"),i.addOptions([u]),i.insertTag(r,d)),s.results=r,n(s)})},t.prototype.createTag=function(e,t){return null==t.term||""===(t=t.term.trim())?null:{id:t,text:t}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove()})},t}),x.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,i){var s=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(t){var n=s._normalizeItem(t);s.$element.find("option").filter(function(){return e(this).val()===n.id}).length||((t=s.option(n))[0].setAttribute("data-select2-tag",!0),s._removeOldTags(),s.addOptions([t])),s.trigger("select",{data:n})});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,s){for(var o=i.get("tokenSeparators")||[],r=n.term,l=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};l<r.length;){var c=r[l];-1===o.indexOf(c)?l++:(c=r.substr(0,l),null==(c=a(e.extend({},n,{term:c})))?l++:(s(c),r=r.substr(l+1)||"",l=0))}return{term:r}},t}),x.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){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,n)},e}),x.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),x.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(){i._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected(function(){e.call(i,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0,0<n.maximumSelectionLength&&e>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),x.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t[0].setAttribute("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),x.define("select2/dropdown/search",["jquery"],function(e){function t(){}return t.prototype.render=function(t){t=t.call(this);var n=this.options.get("translations").get("search"),i=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=i,this.$search=i.find("input"),this.$search[0].autocomplete=this.options.get("autocomplete"),this.$search[0].setAttribute("aria-label",n()),t.prepend(i),t},t.prototype.bind=function(t,n,i){var s=this,o=n.id+"-results";t.call(this,n,i),this.$search.on("keydown",function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){s.handleSearch(e)}),n.on("open",function(){s.$search[0].setAttribute("tabindex",0),s.$search[0].setAttribute("aria-controls",o),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),n.on("close",function(){s.$search[0].setAttribute("tabindex",-1),s.$search[0].removeAttribute("aria-controls"),s.$search[0].removeAttribute("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),n.on("focus",function(){n.isOpen()||s.$search.trigger("focus")}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))}),n.on("results:focus",function(e){e.data._resultId?s.$search[0].setAttribute("aria-activedescendant",e.data._resultId):s.$search[0].removeAttribute("aria-activedescendant")})},t.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),x.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"object"!=typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;0<=i;i--){var s=t[i];this.placeholder.id===s.id&&n.splice(i,1)}return n},e}),x.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),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,n){var i=this;e.call(this,t,n),t.on("query",function(e){i.lastParams=e,i.loading=!0}),t.on("query:append",function(e){i.lastParams=e,i.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&&(t=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50)&&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>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),x.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=e(i.get("dropdownParent")||document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t[0].setAttribute("class",n[0].getAttribute("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>");return t=t.call(this),n.append(t),this.$dropdownContainer=n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){var n;this._containerResultsHandlersBound||(n=this,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},n.prototype._attachPositioningHandler=function(n,i){var s=this,o="scroll.
1select2."+i.id,r="resize.select2."+i.id,l=(i="orientationchange.select2."+i.id,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(n){var i=t.GetData(this,"select2-scroll-position");e(this).scrollTop(i.y)}),e(window).on(o+" "+r+" "+i,function(e){s._positionDropdown(),s._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var s="scroll.select2."+i.id,o="resize.select2."+i.id;i="orientationchange.select2."+i.id,this.$container.parents().filter(t.hasScroll).off(s),e(window).off(s+" "+o+" "+i)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown[0].classList.contains("select2-dropdown--above"),i=this.$dropdown[0].classList.contains("select2-dropdown--below"),s=null,o=((a=this.$container.offset()).bottom=a.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)});o.top=a.top,o.bottom=a.top+o.height;var r=this.$dropdown.outerHeight(!1),l=t.scrollTop(),a=(t=t.scrollTop()+t.height(),l=l<a.top-r,t=t>a.bottom+r,{left:a.left,top:o.bottom}),c=this.$dropdownParent,u=("static"===c.css("position")&&(c=c.offsetParent()),{top:0,left:0});(e.contains(document.body,c[0])||c[0].isConnected)&&(u=c.offset()),a.top-=u.top,a.left-=u.left,n||i||(s="below"),t||!l||n?!l&&t&&n&&(s="below"):s="above",("above"==s||n&&"below"!==s)&&(a.top=o.top-u.top-r),null!=s&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+s),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+s)),this.$dropdownContainer.css(a)},n.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)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),x.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,i=0;i<t.length;i++){var s=t[i];s.children?n+=e(s.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),x.define("select2/dropdown/selectOnClose",["../utils"],function(e){function t(){}return t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},t.prototype._handleSelectOnClose=function(t,n){(!n||null==n.originalSelect2Event||"select"!==(n=n.originalSelect2Event)._type&&"unselect"!==n._type)&&((n=this.getHighlightedResults()).length<1||null!=(n=e.GetData(n[0],"data")).element&&n.element.selected||null==n.element&&n.selected||this.trigger("select",{data:n}))},t}),x.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),x.define("select2/dropdown/dropdownCss",["../utils"],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this);return-1!==(t=this.options.get("dropdownCssClass")||"").indexOf(":all:")&&(t=t.replace(":all:",""),e.copyNonInternalCssClasses(n[0],this.$element[0])),t.trim().split(" ").forEach(function(e){0<e.length&&n[0].classList.add(e)}),n},t}),x.define("select2/dropdown/tagsSearchHighlight",["../utils"],function(e){function t(){}return t.prototype.highlightFirstItem=function(t){if(0<(n=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)")).length){var n=n.first(),i=e.GetData(n[0],"data").element;if(i&&i.getAttribute&&"true"===i.getAttribute("data-select2-tag"))return void n.trigger("mouseenter")}t.call(this)},t}),x.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t="Please delete "+(e=e.input.length-e.maximum)+" character";return 1!=e&&(t+="s"),t},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"}}}),x.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,n,i,s,o,r,l,a,c,u,d,h,p,f,g,m,v,y,b,_,w,$,A,x,D,S,O,E,L,C){function T(){this.reset()}return T.prototype.apply=function(u){null==(u=e.extend(!0,{},this.defaults,u)).dataAdapter&&(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=p:u.dataAdapter=h,0<u.minimumInputLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),0<u.maximumInputLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),0<u.maximumSelectionLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,m))),null==u.resultsAdapter&&(u.resultsAdapter=t,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,A)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,$)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,S)),u.tags)&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,L)),null==u.dropdownAdapter&&(u.multiple?u.dropdownAdapter=_:(d=c.Decorate(_,w),u.dropdownAdapter=d),0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,D)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,O)),null!=u.dropdownCssClass&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,E)),u.dropdownAdapter=c.Decorate(u.dropdownAdapter,x)),null==u.selectionAdapter&&(u.multiple?u.selectionAdapter=i:u.selectionAdapter=n,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s
vendor: 15,582 bytes, line 1
1)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),null!=u.selectionCssClass&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,l)),u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),u.language=this._resolveLanguage(u.language),u.language.push("en");for(var d,C=[],T=0;T<u.language.length;T++){var I=u.language[T];-1===C.indexOf(I)&&C.push(I)}return u.language=C,u.translations=this._processTranslations(u.language,u.debug),u},T.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return d[e]||e})}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(i,s){if(null==i.term||""===i.term.trim())return s;if(s.children&&0<s.children.length){for(var o=e.extend(!0,{},s),r=s.children.length-1;0<=r;r--)null==n(i,s.children[r])&&o.children.splice(r,1);return 0<o.children.length?o:n(i,o)}var l=t(s.text).toUpperCase(),a=t(i.term).toUpperCase();return-1<l.indexOf(a)?s: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"}},T.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,s=t[0].lang;return t=(t=t.closest("[lang]"))[0]?t[0].lang:null,s=Array.prototype.concat.call(this._resolveLanguage(s),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(t)),e.language=s,e},T.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];for(var n,i=Array.isArray(t)?t:[t],s=[],o=0;o<i.length;o++)s.push(i[o]),"string"==typeof i[o]&&0<i[o].indexOf("-")&&(n=i[o].split("-")[0],s.push(n));return s},T.prototype._processTranslations=function(t,n){for(var i=new u,s=0;s<t.length;s++){var o=new u,r=t[s];if("string"==typeof r)try{o=u.loadPath(r)}catch(t){try{r=this.defaults.amdLanguageBase+r,o=u.loadPath(r)}catch(t){n&&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 u(r):r;i.extend(o)}return i},T.prototype.set=function(t,n){var i={};i[t.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})]=n,t=c._convertData(i),e.extend(!0,this.defaults,t)},new T}),x.define("select2/options",["jquery","./defaults","./utils"],function(e,t,n){function i(e,n){this.options=e,null!=n&&this.fromElement(n),null!=n&&(this.options=t.applyFromElement(this.options,n)),this.options=t.apply(this.options)}return i.prototype.fromElement=function(t){var i,s=["select2"],o=(null==this.options.multiple&&(this.options.multiple=t[0].multiple),null==this.options.disabled&&(this.options.disabled=t[0].disabled),null==this.options.autocomplete&&t[0].autocomplete&&(this.options.autocomplete=t[0].autocomplete),null===this.options.dir&&((i=t[0].getAttribute("dir"))?this.options.dir=i:(i=t.closest("[dir]").getAttribute("dir"),this.options.dir=i||"ltr")),t[0].disabled=this.options.disabled,t[0].multiple=this.options.multiple,n.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.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.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[0].setAttribute("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl"))),{});function r(e,t){return t.toUpperCase()}for(var l=0;l<t[0].attributes.length;l++){var a=t[0].attributes[l].name,c="data-";a.substr(0,c.length)==c&&(a=a.substring(c.length),c=n.GetData(t[0],a),o[a.replace(/-([a-z])/g,r)]=c)}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var u,d=e.extend(!0,{},n.GetData(t[0]),o);for(u in d=n._convertData(d))-1<s.indexOf(u)||(e.isPlainObject(this.options[u])?e.extend(this.options[u],d[u]):this.options[u]=d[u]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i}),x.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){function s(e,i){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),this.options=new t(i=i||{},e),s.__super__.constructor.call(this),i=e[0].getAttribute("tabindex")||0,n.StoreData(e[0],"old-tabindex",i),e[0].setAttribute("tabindex","-1"),i=this.options.get("dataAdapter"),this.dataAdapter=new i(e,this.options),i=this.render();var o=(this._placeContainer(i),this.options.get("selectionAdapter")),r=(this.selection=new o(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,i),o=this.options.get("dropdownAdapter"),this.dropdown=new o(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,i),o=this.options.get("resultsAdapter"),this.results=new o(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown),this);this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})}),e[0].classList.add("select2-hidden-accessible"),e[0].setAttribute("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)}return n.Extend(s,n.Observable),s.prototype._generateId=function(e){return"select2-"+(null!=(e=e[0])&&null!=e.getAttribute("id")?e.getAttribute("id"):null!=e&&null!=e.getAttribute("name")?e.getAttribute("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},s.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},s.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t)return null!=(i=this._resolveWidth(e,"style"))?i:this._resolveWidth(e,"element");if("element"==t)return(i=e.outerWidth(!1))<=0?"auto":i+"px";if("style"!=t)return"computedstyle"==t?window.getComputedStyle(e[0]).width:t;var i=e[0].getAttribute("style");if("string"==typeof i)for(var s=i.split(";"),o=0,r=s.length;o<r;o+=1){var l=s[o].replace(/\s/g,"").match(n);if(null!==l&&1<=l.length)return l[1]}return null},s.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)},s.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=n.bind(this._syncAttributes,this),this._syncS=n.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})},s.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},s.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(n,i){-1===t.indexOf(n)&&e.trigger(n,i)})},s.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},s.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},s.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container[0].classList.add("select2-container--open")}),this.on("close",function(){e.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){e.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){e.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){e.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.UP&&t.altKey?(e.close(t),t.preventDefault()):n===i.ENTER||n===i.TAB?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element[0].disabled),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&0<e.addedNodes.length){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&0<e.removedNodes.length)return!0;if(Array.isArray(e))return e.some(function(e){return t._isChangeMutation(e)})}return!1},s.prototype._syncSubtree=function(e){e=this._isChangeMutation(e);var t=this;e&&this.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})},s.prototype.trigger=function(e,t){var n=s.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var o={prevented:!1,name:e,args:t};if(n.call(this,i[e],o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},s.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},s.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},s.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[0].disabled instead.'),e=!(e=null!=e&&0!==e.length?e:[!0])[0],this.$element[0].disabled=e},s.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&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},s.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();e=e[0],Array.isArray(e)&&(e=e.map(function(e){return e.toString()})),this.$element.val(e).trigger("input").trigger("change")},s.prototype.destroy=function(){n.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[0].setAttribute("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element[0].setAttribute("aria-hidden","false"),n.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},s.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[0].setAttribute("dir",this.options.get("dir")),this.$container=t,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},s}),x.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t[0].classList.add("select2-dropdown--below"),n[0].classList.add("select2-container--below")},e}),x.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),x.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),m=function(e){var t,n,i=!!e.fn.on,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in window.document||9<=window.document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var l=s.length;l;)e.event.fixHooks[s[--l]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.2.2",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],c,!1);else this.onmousewheel=c;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],c,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=(t=e(t))["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};
1function c(i){var s,o=i||window.event,l=r.call(arguments,1),c=0,d=0,h=0;if((i=e.event.fix(o)).type="mousewheel","detail"in o&&(h=-1*o.detail),"wheelDelta"in o&&(h=o.wheelDelta),"wheelDeltaY"in o&&(h=o.wheelDeltaY),"wheelDeltaX"in o&&(d=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(d=-1*h,h=0),c=0===h?d:h,"deltaY"in o&&(c=h=-1*o.deltaY),"deltaX"in o&&(d=o.deltaX,0===h)&&(c=-1*d),0!==h||0!==d)return 1===o.deltaMode?(c*=s=e.data(this,"mousewheel-line-height"),h*=s,d*=s):2===o.deltaMode&&(c*=s=e.data(this,"mousewheel-page-height"),h*=s,d*=s),s=Math.max(Math.abs(h),Math.abs(d)),(!n||s<n)&&u(o,n=s)&&(n/=40),u(o,s)&&(c/=40,d/=40,h/=40),c=Math[1<=c?"floor":"ceil"](c/n),d=Math[1<=d?"floor":"ceil"](d/n),h=Math[1<=h?"floor":"ceil"](h/n),a.settings.normalizeOffset&&this.getBoundingClientRect&&(o=this.getBoundingClientRect(),i.offsetX=i.clientX-o.left,i.offsetY=i.clientY-o.top),i.deltaX=d,i.deltaY=h,i.deltaFactor=n,i.deltaMode=0,l.unshift(i,c,d,h),t&&window.clearTimeout(t),t=window.setTimeout(function(){n=null},200),(e.event.dispatch||e.event.handle).apply(this,l)}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this[i?"on":"bind"]("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this[i?"off":"unbind"]("mousewheel",e)}})},"function"==typeof x.define&&x.define.amd?x.define("jquery-mousewheel",["jquery"],m):e.exports=m,x.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(e,t,n,i,s){var o;return null==e.fn.select2&&(o=["open","close","destroy"],e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;var i,r;if("string"==typeof t)return r=Array.prototype.slice.call(arguments,1),this.each(function(){var e=s.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=e[t].apply(e,r)}),-1<o.indexOf(t)?this:i;throw new Error("Invalid arguments for Select2: "+t)}),null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n});var n,i,s,o,l,a,c,u,d,h,p,f,g,m,v={define:x.define,require:x.require};function y(e,t){return p.call(e,t)}function b(e,t){var n,i,s,o,r,l,a,c,u,h,p=t&&t.split("/"),f=d.map,m=f&&f["*"]||{};if(e){for(t=(e=e.split("/")).length-1,d.nodeIdCompat&&g.test(e[t])&&(e[t]=e[t].replace(g,"")),"."===e[0].charAt(0)&&p&&(e=p.slice(0,p.length-1).concat(e)),c=0;c<e.length;c++)"."===(h=e[c])?(e.splice(c,1),--c):".."!==h||0===c||1===c&&".."===e[2]||".."===e[c-1]||0<c&&(e.splice(c-1,2),c-=2);e=e.join("/")}if((p||m)&&f){for(c=(n=e.split("/")).length;0<c;--c){if(i=n.slice(0,c).join("/"),p)for(u=p.length;0<u;--u)if(s=(s=f[p.slice(0,u).join("/")])&&s[i]){o=s,r=c;break}if(o)break;!l&&m&&m[i]&&(l=m[i],a=c)}!o&&l&&(o=l,r=a),o&&(n.splice(0,r,o),e=n.join("/"))}return e}function _(e,t){return function(){var n=f.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),o.apply(i,n.concat([e,t]))}}function w(e){var t;if(y(u,e)&&(t=u[e],delete u[e],h[e]=!0,s.apply(i,t)),y(c,e)||y(h,e))return c[e];throw new Error("No "+e)}function $(e){var t,n=e?e.indexOf("!"):-1;return-1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function A(e){return e?$(e):[]}var x=v.require("jquery.select2");return t.fn.select2.amd=v,x},void 0===(o="function"==typeof i?i.apply(t,s):i)||(e.exports=o)},3470(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},5746(e,t,n){"use strict";var i=n(69565),s=n(89228),o=n(28551),r=n(20034),l=n(67750),a=n(3470),c=n(655),u=n(55966),d=n(56682);s("search",function(e,t,n){return[function(t){var n=l(this),s=r(t)?u(t,e):void 0;return s?i(s,t,n):new RegExp(t)[e](c(n))},function(e){var i=o(this),s=c(e),r=n(t,i,s);if(r.done)return r.value;var l=i.lastIndex;a(l,0)||(i.lastIndex=0);var u=d(i,s);return a(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]})},88267(e,t,n){"use strict";var i=n(46518),s=n(79504),o=n(655),r=String.fromCharCode,l=s("".charAt),a=s(/./.exec),c=s("".slice),u=/^[\da-f]{2}$/i,d=/^[\da-f]{4}$/i;i({global:!0},{unescape:function(e){for(var t,n,i=o(e),s="",h=i.length,p=0;p<h;){if("%"===(t=l(i,p++)))if("u"===l(i,p)){if(n=c(i,p+1,p+5),a(d,n)){s+=r(parseInt(n,16)),p+=5;continue}}
1else if(n=c(i,p,p+2),a(u,n)){s+=r(parseInt(n,16)),p+=2;continue}s+=t}return s}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.