e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=_e,Ce.isWindow=we,Ce.camelCase=d,Ce.type=r,Ce.now=Date.now,Ce.isNumeric=function(e){vart=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeofdefine&&define.amd&&define("jquery",[],function(){returnCe});vartn=e.jQuery,nn=e.$;returnCe.noConflict=function(t){returne.$===Ce&&(e.$=nn),t&&e.jQuery===Ce&&(e.jQuery=tn),Ce},t||(e.jQuery=e.$=Ce),Ce}),function(e){"function"==typeofdefine&&define.amd?define(["jquery"],e):"object"==typeofmodule&&module.exports?module.exports=function(t,n){returnvoid0===n&&(n="undefined"!=typeofwindow?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}(function(e){vart=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)vart=e.fn.select2.amd;vart;returnfunction(){if(!t||!t.requirejs){t?n=t:t={};vare,n,r;!function(t){functioni(e,t){returnw.call(e,t)}functiono(e,t){varn,r,i,o,s,a,u,l,c,f,p,h,d=t&&t.split("/"),g=b.map,v=g&&g["*"]||{};if(e){for(e=e.split("/"),s=e.length-1,b.nodeIdCompat&&C.test(e[s])&&(e[s]=e[s].replace(C,"")),"."===e[0].charAt(0)&&d&&(h=d.slice(0,d.length-1),e=h.concat(e)),c=0;c<e.length;c++)if("."===(p=e[c]))e.splice(c,1),c-=1;elseif(".."===p){if(0===c||1===c&&".."===e[2]||".."===e[c-1])continue;c>0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}if((d||v)&&g){for(n=e.split("/"),c=n.length;c>0;c-=1){if(r=n.slice(0,c).join("/"),d)for(f=d.length;f>0;f-=1)if((i=g[d.slice(0,f).join("/")])&&(i=i[r])){o=i,a=c;break}if(o)break;!u&&v&&v[r]&&(u=v[r],l=c)}!o&&u&&(o=u,a=l),o&&(n.splice(0,a,o),e=n.join("/"))}returne}functions(e,n){returnfunction(){varr=x.call(arguments,0);return"string"!=typeofr[0]&&1===r.length&&r.push(null),d.apply(t,r.concat([e,n]))}}functiona(e){returnfunction(t){returno(t,e)}}functionu(e){returnfunction(t){y[e]=t}}functionl(e){if(i(m,e)){varn=m[e];deletem[e],_[e]=!0,h.apply(t,n)}if(!i(y,e)&&!i(_,e))thrownewError("No "+e);returny[e]}functionc(e){vart,n=e?e.indexOf("!"):-1;returnn>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}functionf(e){returne?c(e):[]}functionp(e){returnfunction(){returnb&&b.config&&b.config[e]||{}}}varh,d,g,v,y={},m={},b={},_={},w=Object.prototype.hasOwnProperty,x=[].slice,C=/\.js$/;g=function(e,t){varn,r=c(e),i=r[0],s=t[1];returne=r[1],i&&(i=o(i,s),n=l(i)),i?e=n&&n.normalize?n.normalize(e,a(s)):o(e,s):(e=o(e,s),r=c(e),i=r[0],e=r[1],i&&(n=l(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},v={require:function(e){returns(e)},exports:function(e){vart=y[e];returnvoid0!==t?t:y[e]={}},module:function(e){return{id:e,uri:"",exports:y[e],config:p(e)}}},h=function(e,n,r,o){vara,c,p,h,d,b,w,x=[],C=typeofr;if(o=o||e,b=f(o),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,d=0;d<n.length;d+=1)if(h=g(n[d],b),"require"===(c=h.f))x[d]=v.require(e);elseif("exports"===c)x[d]=v.exports(e),w=!0;elseif("module"===c)a=x[d]=v.module(e);elseif(i(y,c)||i(m,c)||i(_,c))x[d]=l(c);else{if(!h.p)thrownewError(e+" missing "+c);h.p.load(h.n,s(o,!0),u(c),{}),x[d]=y[c]}p=r?r.apply(y[e],x):void0,e&&(a&&a.exports!==t&&a.exports!==y[e]?y[e]=a.exports:p===t&&w||(y[e]=p))}elsee&&(y[e]=r)},e=n=d=function(e,n,r,i,o){if("string"==typeofe)returnv[e]?v[e](n):l(g(e,f(n)).f);if(!e.splice){if(b=e,b.deps&&d(b.deps,b.callback),!n)return;n.splice?(e=n,n=r,r=null):e=t}returnn=n||function(){},"function"==typeofr&&(r=i,i=o),i?h(t,e,n,r):setTimeout(function(){h(t,e,n,r)},4),d},d.config=function(e){returnd(e)},e._defined=y,r=function(e,t,n){if("string"!=typeofe)thrownewError("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),i(y,e)||i(m,e)||(m[e]=[e,t,n])},r.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=r}}(),t.define("almond",function(){}),t.define("jquery",[],function(){vart=e||$;returnnull==t&&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."),t}),t.define("select2/utils",["jquery"
"ȑ":"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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(e){functiont(e,n){t.__super__.constructor.call(this)}returne.Extend(t,e.Observable),t.prototype.current=function(e){thrownewError("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){thrownewError("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){varr=t.id+"-result-";returnr+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){functionr(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}returnt.Extend(r,e),r.prototype.current=function(e){vart=[],r=this;this.$element.find(":selected").each(function(){vare=n(this),i=r.item(e);t.push(i)}),e(t)},r.prototype.select=function(e){vart=this;if(e.selected=!0,n(e.element).is("option"))returne.element.selected=!0,voidthis.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(r){vari=[];e=[e],e.push.apply(e,r);for(varo=0;o<e.length;o++){vars=e[o].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")});else{varr=e.id;this.$element.val(r),this.$element.trigger("change")}},r.prototype.unselect=function(e){vart=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))returne.element.selected=!1,voidthis.$element.trigger("change");this.current(function(r){for(vari=[],o=0;o<r.length;o++){vars=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")})}},r.prototype.bind=function(e,t){varn=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},r.prototype.query=function(e,t){varr=[],i=this;this.$element.children().each(function(){vart=n(this);if(t.is("option")||t.is("optgroup")){varo=i.item(t),s=i.matches(e,o);null!==s&&r.push(s)}}),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){varr;e.children?(r=document.createElement("optgroup"),r.label=e.text):(r=document.createElement("option"),void0!==r.textContent?r.textContent=e.text:r.innerText=e.text),void0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);vari=n(r),o=this._normalizeItem(e);returno.element=r,t.StoreData(r,"data",o),i},r.prototype.item=function(e){varr={};if(null
this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("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){varn=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){varn=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(vari=0;i<t.addedNodes.length;i++){varo=t.addedNodes[i];o.selected&&(n=!0)}elset.removedNodes&&t.removedNodes.length>0&&(n=!0);elsen=!0;n&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})})}},i.prototype.trigger=function(e,t){varn=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void0===t&&(t={}),einr){varo=r[e],s={prevented:!1,name:e,args:t};if(n.call(this,o,s),s.prevented)returnvoid(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){returnthis.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){returnthis.$container.hasClass("select2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.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]);vart=!e[0];this.$element.prop("disabled",t)},i.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()`.');vare=[];returnthis.dataAdapter.current(function(t){e=t}),e},i.prototype.val=function(t){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==t||0===t.length)returnthis.$element.val();varn=t[0];e.isArray(n)&&(n=e.map(n,function(e){returne.toString()})),this.$element.val(n).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,t