!function(){if(window.define)vara=window.define;if(window.require)varb=window.require;if(window.jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)vara=jQuery.fn.select2.amd.define,b=jQuery.fn.select2.amd.require;varc,b,a;!function(d){functione(a,b){returnu.call(a,b)}functionf(a,b){varc,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(n=n.slice(0,n.length-1),a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;elseif(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}returna}functiong(a,b){returnfunction(){returnn.apply(d,v.call(arguments,0).concat([a,b]))}}functionh(a){returnfunction(b){returnf(b,a)}}functioni(a){returnfunction(b){q[a]=b}}functionj(a){if(e(r,a)){varb=r[a];deleter[a],t[a]=!0,m.apply(d,b)}if(!e(q,a)&&!e(t,a))thrownewError("No "+a);returnq[a]}functionk(a){varb,c=a?a.indexOf("!"):-1;returnc>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}functionl(a){returnfunction(){returns&&s.config&&s.config[a]||{}}}varm,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){varc,d=k(a),e=d[0];returna=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){returng(a)},exports:function(a){varb=q[a];return"undefined"!=typeofb?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,b,c,f){varh,k,l,m,n,s,u=[],v=typeofc;if(f=f||a,"undefined"===v||"function"===v){for(b=!b.length&&c.length?["require","exports","module"]:b,n=0;n<b.length;n+=1)if(m=o(b[n],f),k=m.f,"require"===k)u[n]=p.require(a);elseif("exports"===k)u[n]=p.exports(a),s=!0;elseif("module"===k)h=u[n]=p.module(a);elseif(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)thrownewError(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=c?c.apply(q[a],u):void0,a&&(h&&h.exports!==d&&h.exports!==q[a]?q[a]=h.exports:l===d&&s||(q[a]=l))}elsea&&(q[a]=c)},c=b=n=function(a,b,c,e,f){if("string"==typeofa)returnp[a]?p[a](b):j(o(a,b).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!b)return;b.splice?(a=b,b=c,c=null):a=d}returnb=b||function(){},"function"==typeofc&&(c=e,e=f),e?m(d,a,b,c):setTimeout(function(){m(d,a,b,c)},4),n},n.config=function(a){returnn(a)},c._defined=q,a=function(a,b,c){b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},a.amd={jQuery:!0}}(),a("almond",function(){}),a("jquery",[],function(){vara=jQuery||$;returnnull==a&&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."),a}),a("select2/utils",["jquery"],function(a){functionb(a){varb=a.prototype,c=[];for(vardinb){vare=b[d];"function"==typeofe&&"constructor"!==d&&c.push(d)}returnc}varc={};c.Extend=function(a,b){functionc(){this.constructor=a}vard={}.hasOwnProperty;for(vareinb)d.call(b,e)&&(a[e]=b[e]);returnc.prototype=b.prototype,a.prototype=newc,a.__super__=b.prototype,a},c.Decorate=function(a,c){functiond(){varb=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}functione(){this.constructor=d}varf=b(c),g=b(a);c.displayName=a.displayName,d.prototype=newe;for(varh=0;h<g.length;h++){vari=g[h];d.prototype[i]=a.prototype[i]}for(varj=(function(a){varb=function(){};aind.prototype&&(b=d.prototype[a]);vare=c.prototype[a];returnfunction(){vara=Array.prototype.unshift;returna.c
m.append(n)}g.push(m)}}returng},d}),a("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){functiond(b,c){this.ajaxOptions=this._applyDefaults(c.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),a.__super__.constructor.call(this,b,c)}returnb.Extend(d,a),d.prototype._applyDefaults=function(a){varb={data:function(a){return{q:a.term}},transport:function(a,b,d){vare=c.ajax(a);returne.then(b),e.fail(d),e}};returnc.extend({},b,a,!0)},d.prototype.processResults=function(a){returna},d.prototype.query=function(a,b){functiond(){vard=f.transport(f,function(d){varf=e.processResults(d,a);console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){});e._request=d}vare=this;this._request&&(this._request.abort(),this._request=null);varf=c.extend({type:"GET"},this.ajaxOptions);"function"==typeoff.url&&(f.url=f.url(a)),"function"==typeoff.data&&(f.data=f.data(a)),this.ajaxOptions.delay&&""!==a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),a("select2/data/tags",["jquery"],function(a){functionb(b,c,d){vare=d.get("tags"),f=d.get("createTag");if(void0!==f&&(this.createTag=f),b.call(this,c,d),a.isArray(e))for(varg=0;g<e.length;g++){varh=e[g],i=this._normalizeItem(h),j=this.option(i);this.$element.append(j)}}returnb.prototype.query=function(a,b,c){functiond(a,f){for(varg=a.results,h=0;h<g.length;h++){vari=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)returnf?!1:(a.data=g,voidc(a))}if(f)return!0;varl=e.createTag(b);if(null!=l){varm=e.option(l);m.attr("data-select2-tag",!0),e.$element.append(m),e.insertTag(g,l)}a.results=g,c(a)}vare=this;returnthis._removeOldTags(),null==b.term||""===b.term||null!=b.page?voida.call(this,b,c):voida.call(this,b,d)},b.prototype.createTag=function(a,b){return{id:b.term,text:b.term}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(){varb=(this._lastTag,this.$element.find("option[data-select2-tag]"));b.each(function(){this.selected||a(this).remove()})},b}),a("select2/data/tokenizer",["jquery"],function(a){functionb(a,b,c){vard=c.get("tokenizer");void0!==d&&(this.tokenizer=d),a.call(this,b,c)}returnb.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(a,b,c){functiond(a){e.select(a)}vare=this;b.term=b.term||"";varf=this.tokenizer(b,this.options,d);f.term!==b.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.focus()),b.term=f.term),a.call(this,b,c)},b.prototype.tokenizer=function(b,c,d,e){for(varf=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){varj=g[h];if(-1!==f.indexOf(j)){vark=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);e(m),g=g.substr(h+1)||"",h=0}elseh++}return{term:g}},b}),a("select2/data/minimumInputLength",[],function(){functiona(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}returna.prototype.query=function(a,b,c){returnb.term=b.term||"",b.term.length<this.minimumInputLength?voidthis.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):voida.call(this,b,c)},a}),a("select2/data/maximumInputLength",[],function(){functiona(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}returna.prototype.query=function(a,b,c){returnb.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?voidthis.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):voida.call(this,b,c)},a}),a("select2/data/maximumSelectionLength",[],function(){functiona(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return