{"version":3,"sources":["jquery.simplebox.js","select2.full.min.js","jcf/jcf.js","common.js"],"names":["jQuery","fn","customForm","_options","_this","this","methods","destroy","$","add","find","each","data","removeClass","unbind","remove","resizeElement","refresh","trigger","document","options","extend","select","elements","structure","text","btn","optStructure","maxHeight","topClass","optList","nativeDrop","radio","defaultArea","checked","checkbox","mobile","test","navigator","userAgent","vendor","window","opera","substr","disabled","hoverClass","hold","reset","form","not","optTimer","time","replaced","selectText","selectBtn","selectDisabled","hide","optHolder","html","createStructure","prop","addClass","show","selOpt","attr","val","append","click","parent","toString","change","css","left","top","undefined","width","outerWidth","insertBefore","position","body","bind","empty","hover","clearTimeout","setTimeout","children","height","overflow","e","target","parents","index","offset","openDrop","i","eq","removeAttr","scrollTop","outerHeight","focus","changeSelect","keyCode","hasClass","get","onkeypress","w","display","Math","floor","create","initSelect","is","name","label","length","class","changeRadio","initRadio","changeCheckbox","initCheckbox","_data","apply"],"mappings":"AAAAA,OAAAC,GAAAC,WAAAF,OAAAE,WAAA,SAAAC,GACA,IAAAC,EAAAC,KACAC,EAAA,CACAC,QAAA,YAEA,mBAAAF,KAAAG,EAAA,uCACAH,KAAAI,IAAAJ,KAAAK,KAAA,yCACAC,MAAA,WACA,IAAAC,EAAAJ,EAAAH,MAAAO,KAAA,cACAA,IACAJ,EAAAH,MAAAQ,YAAA,aACAD,EAAA,QAAAA,EAAA,OAAAE,OAAA,eACAF,EAAA,QAAAA,EAAA,OAAAG,SACAH,EAAA,gBAAAA,EAAAI,eACA,GACAR,EAAAH,MAAAS,OAAA,oBAIAG,QAAA,WACA,mBAAAZ,KAAAG,EAAA,uCAAAU,QAAA,WACAb,KAAAa,QAAA,aAGA,GAAA,iBAAAf,IAAAA,EAAA,CACA,mBAAAC,IAAAA,EAAAI,EAAAW,WACA,IAAAC,EAAApB,OAAAqB,QAAA,EAAA,CACAC,OAAA,CACAC,SAAA,sBACAC,UAAA,8JACAC,KAAA,aACAC,IAAA,gBACAC,aAAA,6CACAC,WAA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EAAAC,MG2CA,SAAAqE,EAAAxG,GACAZ,OAAA,qBAAAY,EAAAoG,KAAA,MAAA/D,IAAArC,EAAAoB,OAAArB,MAAA,WACA,IAAA6G,EAAAhH,EAAAH,MAAAO,KAAA,eACA4G,EAAApE,WAAApD,OAAAK,MAAA0G,GAAA,eACAS,EAAApE,SAAAvC,YAAAO,EAAAY,MAAAC,YAAA,IAAAb,EAAAY,MAAAE,SAAA2B,SAAAzC,EAAAY,MAAAC,aACAuF,EAAAP,MAAApG,YAAA,eAGAD,EAAAwC,SAAAvC,YAAAO,EAAAY,MAAAC,YAAA,IAAAb,EAAAY,MAAAE,SAAA2B,SAAAzC,EAAAY,MAAAE,SACAtB,EAAAqG,MAAApD,SAAA,WACAjD,EAAAoB,MAAAd,QAAA,4VHnDAZ,EAAAH,IAAAG,EAAAH,GAAAsH,MAAApH","file":"../libs/scripts.min.js","sourcesContent":["\r\n;(function( $ ){\r\n\t\r\n\t/**\r\n\t * Private methods \r\n\t */\r\n\tvar _condition = function(id, options){\r\n\t\tif($.simplebox.modal){\r\n\t\t\tvar data = $.simplebox.modal.data('simplebox');\r\n\t\t\tdata.onClose($.simplebox.modal);\r\n\t\t\t$.simplebox.modal.fadeOut(data.duration, function(){\r\n\t\t\t\t$.simplebox.modal.css({left: '-9999px', top: '-9999px'}).show();\r\n\t\t\t\tdata.afterClose($.simplebox.modal);\r\n\t\t\t\t$.simplebox.modal.removeData('simplebox');\r\n\t\t\t\t$.simplebox.modal = false;\r\n\t\t\t\t_toPrepare(id, options);\r\n\t\t\t});\r\n\t\t}\r\n\t\telse _toPrepare(id, options);\r\n\t},\r\n\t\r\n\t_calcWinWidth = function(){\r\n\t\treturn ($(document).width() > $('body').width()) ? $(document).width() : jQuery('body').width();\r\n\t},\r\n\t\r\n\t_toPrepare = function(id, options){\r\n\t\t$.simplebox.modal = $(id);\r\n\t\t$.simplebox.modal.data('simplebox', options);\r\n\t\tvar data = $.simplebox.modal.data('simplebox');\r\n\t\t\r\n\t\tdata.btnClose = $.simplebox.modal.find(data.linkClose);\r\n\t\t\r\n\t\tvar popupTop = $(window).scrollTop() + ($(window).height()/2) - $.simplebox.modal.outerHeight(true)/2;\r\n\t\t\r\n\t\tif ($(window).scrollTop() > popupTop) popupTop = $(window).scrollTop();\r\n\t\tif (popupTop + $.simplebox.modal.outerHeight(true) > $(document).height()) popupTop = $(document).height() - $.simplebox.modal.outerHeight(true);\r\n\t\tif (popupTop < 0) popupTop = 0;\r\n\t\tif (!data.positionFrom) {\r\n\t\t\t$.simplebox.modal.css({\r\n\t\t\t\tzIndex:1000,\r\n\t\t\t\ttop: data.fixed ? 0 : popupTop,\r\n\t\t\t\tleft: data.fixed ? 0 : _calcWinWidth()/2 - $.simplebox.modal.outerWidth(true)/2\r\n\t\t\t}).hide();\r\n\t\t}\r\n\t\telse{\r\n\t\t\t$.simplebox.modal.css({\r\n\t\t\t\tzIndex:1000,\r\n\t\t\t\ttop: $(data.positionFrom).offset().top + $(data.positionFrom).outerHeight(true),\r\n\t\t\t\tleft: $(data.positionFrom).offset().left\r\n\t\t\t}).hide();\r\n\t\t}\r\n\t\t_initAnimate(data);\r\n\t\t_closeEvent(data, data.btnClose);\r\n\t\tif(data.overlay.closeClick) _closeEvent(data, $.simplebox.overlay);\r\n\t},\r\n\t\r\n\t_initAnimate = function (data){\r\n\t\tdata.onOpen($.simplebox.modal);\r\n\t\tif(data.overlay){\r\n\t\t\t$.simplebox.overlay.css({\r\n\t\t\t\tbackground: data.overlay.color,\r\n\t\t\t\topacity: data.overlay.opacity\r\n\t\t\t}).fadeIn(data.duration, function(){\r\n\t\t\t\t$.simplebox.modal.fadeIn(data.duration, function(){\r\n\t\t\t\t\t$.simplebox.busy = false; \r\n\t\t\t\t\tdata.afterOpen($.simplebox.modal);\r\n\t\t\t\t\tif ($(window).scrollTop() > $.simplebox.modal.offset().top && !data.fixed) $('html, body').animate({scrollTop: $.simplebox.modal.offset().top}, 500);\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t}\r\n\t\telse{\r\n\t\t\t$.simplebox.overlay.fadeOut(data.duration);\r\n\t\t\t$.simplebox.modal.fadeIn(data.duration, function(){\r\n\t\t\t\t$.simplebox.busy = false; \r\n\t\t\t\tdata.afterOpen($.simplebox.modal);\r\n\t\t\t\tif ($(window).scrollTop() > $.simplebox.modal.offset().top) $('html, body').animate({scrollTop: $.simplebox.modal.offset().top}, 500);\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\t\r\n\t_closeEvent = function(data, element){\r\n\t\telement.unbind('click.simplebox').bind('click.simplebox', function(){\r\n\t\t\tif(!$.simplebox.busy){\r\n\t\t\t\t$.simplebox.busy = true;\r\n\t\t\t\tdata.onClose($.simplebox.modal);\r\n\t\t\t\t$.simplebox.modal.fadeOut(data.duration, function(){\r\n\t\t\t\t\t$.simplebox.modal.css({left: '-9999px', top: '-9999px'}).show();\r\n\t\t\t\t\t$.simplebox.overlay.fadeOut(data.duration, function(){\r\n\t\t\t\t\t\tdata.afterClose($.simplebox.modal);\r\n\t\t\t\t\t\t$.simplebox.modal.removeData('simplebox');\r\n\t\t\t\t\t\t$.simplebox.modal = false;\r\n\t\t\t\t\t\t$.simplebox.busy = false\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\treturn false;\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * Public methods \r\n\t */\r\n\t\r\n\tmethods = {\r\n\t\tinit : function( options ) {\r\n\t\t\t$(this).unbind('click.simplebox').bind('click.simplebox', function(){\r\n\t\t\t\tvar data = $(this).data('simplebox');\r\n\t\t\t\tif(!$(this).hasClass(defaults.disableClass) && !$.simplebox.busy){\r\n\t\t\t\t\t$.simplebox.busy = true;\r\n\t\t\t\t\t_condition($(this).attr('href') ? $(this).attr('href') : $(this).data('href'), jQuery.extend(true, {}, defaults, options));\r\n\t\t\t\t}\r\n\t\t\t\treturn false;\r\n\t\t\t});\r\n\t\t\treturn this;\r\n\t\t},\r\n\t\toption: function(name, set){\r\n\t\t\tif(set){\r\n\t\t\t\treturn this.each(function(){\r\n\t\t\t\t\tvar data = $(this).data('simplebox');\r\n\t\t\t\t\tif(data) data[name] = set;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tvar ar = [];\r\n\t\t\t\tthis.each(function(){\r\n\t\t\t\t\tvar data = $(this).data('simplebox');\r\n\t\t\t\t\tif(data) ar.push(data[name]);\r\n\t\t\t\t});\r\n\t\t\t\tif(ar.length > 1) return ar;\r\n\t\t\t\telse return ar[0];\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\t\r\n\t/**\r\n\t * Param:\r\n\t * \r\n\t */\r\n\t\r\n\tdefaults = {\r\n\t\tduration: 300,\r\n\t\tlinkClose: '.close, .btn-close',\r\n\t\tdisableClass: 'disabled',\r\n\t\toverlay: {\r\n\t\t\tbox: 'simplebox-overlay',\r\n\t\t\tcolor: 'black',\r\n\t\t\tcloseClick: true,\r\n\t\t\topacity: 0.3\r\n\t\t},\r\n\t\tpositionFrom: false,\r\n\t\tfixed: false,\r\n\t\tonOpen: function(){},\r\n\t\tafterOpen: function(){},\r\n\t\tonClose: function(){},\r\n\t\tafterClose: function(){}\r\n\t};\r\n\t\r\n\t$.fn.simplebox = function( method ) {\r\n\t\tif (methods[method]) {\r\n\t\t\treturn methods[method].apply(this, Array.prototype.slice.call(arguments, 1));\r\n\t\t} else {\r\n\t\t\tif ( typeof method === 'object' || ! method ) {\r\n\t\t\t\treturn methods.init.apply( this, arguments );\r\n\t\t\t} else {\r\n\t\t\t\t$.error( 'Method ' + method + ' does not exist on jQuery.simplebox' );\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\t\r\n\t$.simplebox = function(id, options){\r\n\t\tif(!$.simplebox.busy){\r\n\t\t\t$.simplebox.busy = true;\r\n\t\t\t_condition(id, jQuery.extend(true, {}, defaults, options));\r\n\t\t}\r\n\t};\r\n\t\r\n\t$.simplebox.init = function(){\r\n\t\tif(!$.simplebox.overlay){\r\n\t\t\t$.simplebox.overlay = jQuery('
');\r\n\t\t\tjQuery('body').append($.simplebox.overlay);\r\n\t\t\t$.simplebox.overlay.css({\r\n\t\t\t\tposition: 'fixed',\r\n\t\t\t\tzIndex: 999,\r\n\t\t\t\tleft:0,\r\n\t\t\t\ttop:0,\r\n\t\t\t\twidth: '100%',\r\n\t\t\t\theight: '100%',\r\n\t\t\t\tbackground: defaults.overlay.color,\r\n\t\t\t\topacity: defaults.overlay.opacity\r\n\t\t\t}).hide();\r\n\t\t};\r\n\t\t$(document).unbind('keypress.simplebox').bind('keypress.simplebox', function(e){\r\n\t\t\tif ($.simplebox.modal && $.simplebox.modal.is(':visible') && e.keyCode == 27) {\r\n\t\t\t\t$.simplebox.close();\r\n\t\t\t}\r\n\t\t});\r\n\t\t$(window).bind('resize.simplebox', function(){\r\n\t\t\tif ($.simplebox.modal && $.simplebox.modal.is(':visible')) {\r\n\t\t\t\tvar data = $.simplebox.modal.data('simplebox');\r\n\t\t\t\tif (!data.positionFrom) {\r\n\t\t\t\t\t$.simplebox.modal.animate({\r\n\t\t\t\t\t\tleft: _calcWinWidth()/2 - $.simplebox.modal.outerWidth(true)/2\r\n\t\t\t\t\t}, {queue:false, duration: $.simplebox.modal.data('simplebox').duration});\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\t$.simplebox.modal.animate({\r\n\t\t\t\t\t\ttop: $(data.positionFrom).offset().top + $(data.positionFrom).outerHeight(true),\r\n\t\t\t\t\t\tleft: $(data.positionFrom).offset().left\r\n\t\t\t\t\t}, {queue:false, duration: $.simplebox.modal.data('simplebox').duration});\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t};\r\n\t\r\n\t$.simplebox.close = function(){\r\n\t\tif($.simplebox.modal && !$.simplebox.busy){\r\n\t\t\tvar data = $.simplebox.modal.data('simplebox');\r\n\t\t\t$.simplebox.busy = true;\r\n\t\t\tdata.onClose($.simplebox.modal);\r\n\t\t\t$.simplebox.modal.fadeOut(data.duration, function(){\r\n\t\t\t\t$.simplebox.modal.css({left: '-9999px', top:'-9999px'}).show();\r\n\t\t\t\tif($.simplebox.overlay) $.simplebox.overlay.fadeOut(data.duration, function(){\r\n\t\t\t\t\tdata.afterClose($.simplebox.modal);\r\n\t\t\t\t\t$.simplebox.modal.removeData('simplebox');\r\n\t\t\t\t\t$.simplebox.modal = false;\r\n\t\t\t\t\t$.simplebox.busy = false;\r\n\t\t\t\t});\r\n\t\t\t\telse{\r\n\t\t\t\t\tdata.afterClose($.simplebox.modal);\r\n\t\t\t\t\t$.simplebox.modal.removeData('simplebox');\r\n\t\t\t\t\t$.simplebox.modal = false;\r\n\t\t\t\t\t$.simplebox.busy = false;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n\t\r\n\t$(document).ready(function() {\r\n\t\t$.simplebox.init();\r\n\t});\r\n\t\r\n})( jQuery );","/*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */\r\n!function(n){\"function\"==typeof define&&define.amd?define([\"jquery\"],n):\"object\"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t=\"undefined\"!=typeof window?require(\"jquery\"):require(\"jquery\")(e)),n(t),t}:n(jQuery)}(function(t){var e,n,p,o,r,h,f,g,m,v,y,s,i,_,a,a=(t&&t.fn&&t.fn.select2&&t.fn.select2.amd&&(u=t.fn.select2.amd),u&&u.requirejs||(u?n=u:u={},g={},m={},v={},y={},s=Object.prototype.hasOwnProperty,i=[].slice,_=/\\.js$/,h=function(e,t){var n,s,i=c(e),o=i[0],t=t[1];return e=i[1],o&&(n=x(o=l(o,t))),o?e=n&&n.normalize?n.normalize(e,(s=t,function(e){return l(e,s)})):l(e,t):(o=(i=c(e=l(e,t)))[0],e=i[1],o&&(n=x(o))),{f:o?o+\"!\"+e:e,n:e,pr:o,p:n}},f={require:function(e){return w(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:\"\",exports:g[e],config:(t=e,function(){return v&&v.config&&v.config[t]||{}})};var t}},o=function(e,t,n,s){var i,o,r,a,l,c=[],u=typeof n,d=A(s=s||e);if(\"undefined\"==u||\"function\"==u){for(t=!t.length&&n.length?[\"require\",\"exports\",\"module\"]:t,a=0;a\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\"};return\"string\"!=typeof e?e:String(e).replace(/[&<>\"'\\/\\\\]/g,function(e){return t[e]})},s.__cache={};var n=0;return s.GetUniqueElementId=function(e){var t=e.getAttribute(\"data-select2-id\");return null!=t||(t=e.id?\"select2-data-\"+e.id:\"select2-data-\"+(++n).toString()+\"-\"+s.generateChars(4),e.setAttribute(\"data-select2-id\",t)),t},s.StoreData=function(e,t,n){e=s.GetUniqueElementId(e);s.__cache[e]||(s.__cache[e]={}),s.__cache[e][t]=n},s.GetData=function(e,t){var n=s.GetUniqueElementId(e);return t?s.__cache[n]&&null!=s.__cache[n][t]?s.__cache[n][t]:o(e).data(t):s.__cache[n]},s.RemoveData=function(e){var t=s.GetUniqueElementId(e);null!=s.__cache[t]&&delete s.__cache[t],e.removeAttribute(\"data-select2-id\")},s.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-\")}),t=n.concat(t);e.setAttribute(\"class\",t.join(\" \"))},s}),u.define(\"select2/results\",[\"jquery\",\"./utils\"],function(d,p){function s(e,t,n){this.$element=e,this.data=n,this.options=t,s.__super__.constructor.call(this)}return p.Extend(s,p.Observable),s.prototype.render=function(){var e=d('');return this.options.get(\"multiple\")&&e.attr(\"aria-multiselectable\",\"true\"),this.$results=e},s.prototype.clear=function(){this.$results.empty()},s.prototype.displayMessage=function(e){var t=this.options.get(\"escapeMarkup\");this.clear(),this.hideLoading();var n=d('
  • '),s=this.options.get(\"translations\").get(e.message);n.append(t(s(e.args))),n[0].className+=\" select2-results__message\",this.$results.append(n)},s.prototype.hideMessages=function(){this.$results.find(\".select2-results__message\").remove()},s.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n\",{class:\"select2-results__options select2-results__options--nested\",role:\"none\"});i.append(l),r.append(a),r.append(i)}else this.template(e,t);return p.StoreData(t,\"data\",e),t},s.prototype.bind=function(t,e){var i=this,n=t.id+\"-results\";this.$results.attr(\"id\",n),t.on(\"results:all\",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on(\"results:append\",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on(\"query\",function(e){i.hideMessages(),i.showLoading(e)}),t.on(\"select\",function(){t.isOpen()&&(i.setClasses(),i.options.get(\"scrollAfterSelect\")&&i.highlightFirstItem())}),t.on(\"unselect\",function(){t.isOpen()&&(i.setClasses(),i.options.get(\"scrollAfterSelect\")&&i.highlightFirstItem())}),t.on(\"open\",function(){i.$results.attr(\"aria-expanded\",\"true\"),i.$results.attr(\"aria-hidden\",\"false\"),i.setClasses(),i.ensureHighlightVisible()}),t.on(\"close\",function(){i.$results.attr(\"aria-expanded\",\"false\"),i.$results.attr(\"aria-hidden\",\"true\"),i.$results.removeAttr(\"aria-activedescendant\")}),t.on(\"results:toggle\",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger(\"mouseup\")}),t.on(\"results:select\",function(){var e,t=i.getHighlightedResults();0!==t.length&&(e=p.GetData(t[0],\"data\"),t.hasClass(\"select2-results__option--selected\")?i.trigger(\"close\",{}):i.trigger(\"select\",{data:e}))}),t.on(\"results:previous\",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(\".select2-results__option--selectable\"),s=n.index(t);s<=0||(e=s-1,0===t.length&&(e=0),(s=n.eq(e)).trigger(\"mouseenter\"),t=i.$results.offset().top,n=s.offset().top,s=i.$results.scrollTop()+(n-t),0===e?i.$results.scrollTop(0):n-t<0&&i.$results.scrollTop(s))}),t.on(\"results:next\",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(\".select2-results__option--selectable\"),s=n.index(t)+1;s>=n.length||((e=n.eq(s)).trigger(\"mouseenter\"),t=i.$results.offset().top+i.$results.outerHeight(!1),n=e.offset().top+e.outerHeight(!1),e=i.$results.scrollTop()+n-t,0===s?i.$results.scrollTop(0):tthis.$results.outerHeight()||s<0)&&this.$results.scrollTop(n))},s.prototype.template=function(e,t){var n=this.options.get(\"templateResult\"),s=this.options.get(\"escapeMarkup\"),e=n(e,t);null==e?t.style.display=\"none\":\"string\"==typeof e?t.innerHTML=s(e):d(t).append(e)},s}),u.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}}),u.define(\"select2/selection/base\",[\"jquery\",\"../utils\",\"../keys\"],function(n,s,i){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return s.Extend(o,s.Observable),o.prototype.render=function(){var e=n('');return this._tabindex=0,null!=s.GetData(this.$element[0],\"old-tabindex\")?this._tabindex=s.GetData(this.$element[0],\"old-tabindex\"):null!=this.$element.attr(\"tabindex\")&&(this._tabindex=this.$element.attr(\"tabindex\")),e.attr(\"title\",this.$element.attr(\"title\")),e.attr(\"tabindex\",this._tabindex),e.attr(\"aria-disabled\",\"false\"),this.$selection=e},o.prototype.bind=function(e,t){var n=this,s=e.id+\"-results\";this.container=e,this.$selection.on(\"focus\",function(e){n.trigger(\"focus\",e)}),this.$selection.on(\"blur\",function(e){n._handleBlur(e)}),this.$selection.on(\"keydown\",function(e){n.trigger(\"keypress\",e),e.which===i.SPACE&&e.preventDefault()}),e.on(\"results:focus\",function(e){n.$selection.attr(\"aria-activedescendant\",e.data._resultId)}),e.on(\"selection:update\",function(e){n.update(e.data)}),e.on(\"open\",function(){n.$selection.attr(\"aria-expanded\",\"true\"),n.$selection.attr(\"aria-owns\",s),n._attachCloseHandler(e)}),e.on(\"close\",function(){n.$selection.attr(\"aria-expanded\",\"false\"),n.$selection.removeAttr(\"aria-activedescendant\"),n.$selection.removeAttr(\"aria-owns\"),n.$selection.trigger(\"focus\"),n._detachCloseHandler(e)}),e.on(\"enable\",function(){n.$selection.attr(\"tabindex\",n._tabindex),n.$selection.attr(\"aria-disabled\",\"false\")}),e.on(\"disable\",function(){n.$selection.attr(\"tabindex\",\"-1\"),n.$selection.attr(\"aria-disabled\",\"true\")})},o.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger(\"blur\",e)},1)},o.prototype._attachCloseHandler=function(e){n(document.body).on(\"mousedown.select2.\"+e.id,function(e){var t=n(e.target).closest(\".select2\");n(\".select2.select2-container--open\").each(function(){this!=t[0]&&s.GetData(this,\"element\").select2(\"close\")})})},o.prototype._detachCloseHandler=function(e){n(document.body).off(\"mousedown.select2.\"+e.id)},o.prototype.position=function(e,t){t.find(\".selection\").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error(\"The `update` method must be defined in child classes.\")},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get(\"disabled\")},o}),u.define(\"select2/selection/single\",[\"jquery\",\"./base\",\"../utils\",\"../keys\"],function(e,t,n,s){function i(){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--single\"),e.html(''),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var s=t.id+\"-container\";this.$selection.find(\".select2-selection__rendered\").attr(\"id\",s).attr(\"role\",\"textbox\").attr(\"aria-readonly\",\"true\"),this.$selection.attr(\"aria-labelledby\",s),this.$selection.attr(\"aria-controls\",s),this.$selection.on(\"mousedown\",function(e){1===e.which&&n.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"focus\",function(e){}),this.$selection.on(\"blur\",function(e){}),t.on(\"focus\",function(e){t.isOpen()||n.$selection.trigger(\"focus\")})},i.prototype.clear=function(){var e=this.$selection.find(\".select2-selection__rendered\");e.empty(),e.removeAttr(\"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(\"\")},i.prototype.update=function(e){var t,n;0!==e.length?(n=e[0],t=this.$selection.find(\".select2-selection__rendered\"),e=this.display(n,t),t.empty().append(e),(n=n.title||n.text)?t.attr(\"title\",n):t.removeAttr(\"title\")):this.clear()},i}),u.define(\"select2/selection/multiple\",[\"jquery\",\"./base\",\"../utils\"],function(i,e,c){function o(e,t){o.__super__.constructor.apply(this,arguments)}return c.Extend(o,e),o.prototype.render=function(){var e=o.__super__.render.call(this);return e[0].classList.add(\"select2-selection--multiple\"),e.html('
      '),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var s=e.id+\"-container\";this.$selection.find(\".select2-selection__rendered\").attr(\"id\",s),this.$selection.on(\"click\",function(e){n.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"click\",\".select2-selection__choice__remove\",function(e){var t;n.isDisabled()||(t=i(this).parent(),t=c.GetData(t[0],\"data\"),n.trigger(\"unselect\",{originalEvent:e,data:t}))}),this.$selection.on(\"keydown\",\".select2-selection__choice__remove\",function(e){n.isDisabled()||e.stopPropagation()})},o.prototype.clear=function(){var e=this.$selection.find(\".select2-selection__rendered\");e.empty(),e.removeAttr(\"title\")},o.prototype.display=function(e,t){var n=this.options.get(\"templateSelection\");return this.options.get(\"escapeMarkup\")(n(e,t))},o.prototype.selectionContainer=function(){return i('
    • ')},o.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(\".select2-selection__rendered\").attr(\"id\")+\"-choice-\",s=0;s×')).attr(\"title\",s()),e.attr(\"aria-label\",s()),e.attr(\"aria-describedby\",n),a.StoreData(e[0],\"data\",t),this.$selection.prepend(e),this.$selection[0].classList.add(\"select2-selection--clearable\"))},e}),u.define(\"select2/selection/search\",[\"jquery\",\"../utils\",\"../keys\"],function(s,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=this.options.get(\"translations\").get(\"search\"),n=s('');this.$searchContainer=n,this.$search=n.find(\"textarea\"),this.$search.prop(\"autocomplete\",this.options.get(\"autocomplete\")),this.$search.attr(\"aria-label\",t());e=e.call(this);return this._transferTabIndex(),e.append(this.$searchContainer),e},e.prototype.bind=function(e,t,n){var s=this,i=t.id+\"-results\",o=t.id+\"-container\";e.call(this,t,n),s.$search.attr(\"aria-describedby\",o),t.on(\"open\",function(){s.$search.attr(\"aria-controls\",i),s.$search.trigger(\"focus\")}),t.on(\"close\",function(){s.$search.val(\"\"),s.resizeSearch(),s.$search.removeAttr(\"aria-controls\"),s.$search.removeAttr(\"aria-activedescendant\"),s.$search.trigger(\"focus\")}),t.on(\"enable\",function(){s.$search.prop(\"disabled\",!1),s._transferTabIndex()}),t.on(\"disable\",function(){s.$search.prop(\"disabled\",!0)}),t.on(\"focus\",function(e){s.$search.trigger(\"focus\")}),t.on(\"results:focus\",function(e){e.data._resultId?s.$search.attr(\"aria-activedescendant\",e.data._resultId):s.$search.removeAttr(\"aria-activedescendant\")}),this.$selection.on(\"focusin\",\".select2-search--inline\",function(e){s.trigger(\"focus\",e)}),this.$selection.on(\"focusout\",\".select2-search--inline\",function(e){s._handleBlur(e)}),this.$selection.on(\"keydown\",\".select2-search--inline\",function(e){var t;e.stopPropagation(),s.trigger(\"keypress\",e),s._keyUpPrevented=e.isDefaultPrevented(),e.which!==l.BACKSPACE||\"\"!==s.$search.val()||0<(t=s.$selection.find(\".select2-selection__choice\").last()).length&&(t=a.GetData(t[0],\"data\"),s.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on(\"click\",\".select2-search--inline\",function(e){s.$search.val()&&e.stopPropagation()});var t=document.documentMode,r=t&&t<=11;this.$selection.on(\"input.searchcheck\",\".select2-search--inline\",function(e){r?s.$selection.off(\"input.search input.searchcheck\"):s.$selection.off(\"keyup.search\")}),this.$selection.on(\"keyup.search input.search\",\".select2-search--inline\",function(e){var t;r&&\"input\"===e.type?s.$selection.off(\"input.search input.searchcheck\"):(t=e.which)!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&s.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr(\"tabindex\",this.$selection.attr(\"tabindex\")),this.$selection.attr(\"tabindex\",\"-1\")},e.prototype.createPlaceholder=function(e,t){this.$search.attr(\"placeholder\",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr(\"placeholder\",\"\"),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger(\"focus\")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger(\"query\",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger(\"unselect\",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css(\"width\",\"25px\");var e=\"100%\";\"\"===this.$search.attr(\"placeholder\")&&(e=.75*(this.$search.val().length+1)+\"em\"),this.$search.css(\"width\",e)},e}),u.define(\"select2/selection/selectionCss\",[\"../utils\"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this),e=this.options.get(\"selectionCssClass\")||\"\";return-1!==e.indexOf(\":all:\")&&(e=e.replace(\":all:\",\"\"),n.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(e),t},e}),u.define(\"select2/selection/eventRelay\",[\"jquery\"],function(r){function e(){}return e.prototype.bind=function(e,t,n){var s=this,i=[\"open\",\"opening\",\"close\",\"closing\",\"select\",\"selecting\",\"unselect\",\"unselecting\",\"clear\",\"clearing\"],o=[\"opening\",\"closing\",\"selecting\",\"unselecting\",\"clearing\"];e.call(this,t,n),t.on(\"*\",function(e,t){var n;-1!==i.indexOf(e)&&(t=t||{},n=r.Event(\"select2:\"+e,{params:t}),s.$element.trigger(n),-1!==o.indexOf(e)&&(t.prevented=n.isDefaultPrevented()))})},e}),u.define(\"select2/translation\",[\"jquery\",\"require\"],function(t,n){function s(e){this.dict=e||{}}return s.prototype.all=function(){return this.dict},s.prototype.get=function(e){return this.dict[e]},s.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},s._cache={},s.loadPath=function(e){var t;return e in s._cache||(t=n(e),s._cache[e]=t),new s(s._cache[e])},s}),u.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\",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ϊ\":\"ι\",\"ΐ\":\"ι\",\"ό\":\"ο\",\"ύ\":\"υ\",\"ϋ\":\"υ\",\"ΰ\":\"υ\",\"ώ\":\"ω\",\"ς\":\"σ\",\"’\":\"'\"}}),u.define(\"select2/data/base\",[\"../utils\"],function(n){function s(e,t){s.__super__.constructor.call(this)}return n.Extend(s,n.Observable),s.prototype.current=function(e){throw new Error(\"The `current` method must be defined in child classes.\")},s.prototype.query=function(e,t){throw new Error(\"The `query` method must be defined in child classes.\")},s.prototype.bind=function(e,t){},s.prototype.destroy=function(){},s.prototype.generateResultId=function(e,t){e=e.id+\"-result-\";return e+=n.generateChars(4),null!=t.id?e+=\"-\"+t.id.toString():e+=\"-\"+n.generateChars(4),e},s}),u.define(\"select2/data/select\",[\"./base\",\"../utils\",\"jquery\"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(\":checked\"),function(e){return t.item(l(e))}))},n.prototype.select=function(i){var e,o=this;if(i.selected=!0,null!=i.element&&\"option\"===i.element.tagName.toLowerCase())return i.element.selected=!0,void this.$element.trigger(\"input\").trigger(\"change\");this.$element.prop(\"multiple\")?this.current(function(e){var t=[];(i=[i]).push.apply(i,e);for(var n=0;nthis.maximumInputLength?this.trigger(\"results:message\",{message:\"inputTooLong\",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.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 s=this;e.call(this,t,n),t.on(\"select\",function(){s._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var s=this;this._checkIfMaximumSelected(function(){e.call(s,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0;0=n.maximumSelectionLength?n.trigger(\"results:message\",{message:\"maximumSelected\",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),u.define(\"select2/dropdown\",[\"jquery\",\"./utils\"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr(\"dir\",this.options.get(\"dir\")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),u.define(\"select2/dropdown/search\",[\"jquery\"],function(o){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get(\"translations\").get(\"search\"),e=o('');return this.$searchContainer=e,this.$search=e.find(\"input\"),this.$search.prop(\"autocomplete\",this.options.get(\"autocomplete\")),this.$search.attr(\"aria-label\",n()),t.prepend(e),t},e.prototype.bind=function(e,t,n){var s=this,i=t.id+\"-results\";e.call(this,t,n),this.$search.on(\"keydown\",function(e){s.trigger(\"keypress\",e),s._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on(\"input\",function(e){o(this).off(\"keyup\")}),this.$search.on(\"keyup input\",function(e){s.handleSearch(e)}),t.on(\"open\",function(){s.$search.attr(\"tabindex\",0),s.$search.attr(\"aria-controls\",i),s.$search.trigger(\"focus\"),window.setTimeout(function(){s.$search.trigger(\"focus\")},0)}),t.on(\"close\",function(){s.$search.attr(\"tabindex\",-1),s.$search.removeAttr(\"aria-controls\"),s.$search.removeAttr(\"aria-activedescendant\"),s.$search.val(\"\"),s.$search.trigger(\"blur\")}),t.on(\"focus\",function(){t.isOpen()||s.$search.trigger(\"focus\")}),t.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\"))}),t.on(\"results:focus\",function(e){e.data._resultId?s.$search.attr(\"aria-activedescendant\",e.data._resultId):s.$search.removeAttr(\"aria-activedescendant\")})},e.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger(\"query\",{term:t})),this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),u.define(\"select2/dropdown/hidePlaceholder\",[],function(){function e(e,t,n,s){this.placeholder=this.normalizePlaceholder(n.get(\"placeholder\")),e.call(this,t,n,s)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return\"string\"==typeof t&&(t={id:\"\",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),s=t.length-1;0<=s;s--){var i=t[s];this.placeholder.id===i.id&&n.splice(s,1)}return n},e}),u.define(\"select2/dropdown/infiniteScroll\",[\"jquery\"],function(n){function e(e,t,n,s){this.lastParams={},e.call(this,t,n,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.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())},e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on(\"query\",function(e){s.lastParams=e,s.loading=!0}),t.on(\"query:append\",function(e){s.lastParams=e,s.loading=!0}),this.$results.on(\"scroll\",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger(\"query:append\",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('
    • '),t=this.options.get(\"translations\").get(\"loadingMore\");return e.html(t(this.lastParams)),e},e}),u.define(\"select2/dropdown/attachBody\",[\"jquery\",\"../utils\"],function(u,r){function e(e,t,n){this.$dropdownParent=u(n.get(\"dropdownParent\")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on(\"open\",function(){s._showDropdown(),s._attachPositioningHandler(t),s._bindContainerResultHandlers(t)}),t.on(\"close\",function(){s._hideDropdown(),s._detachPositioningHandler(t)}),this.$dropdownContainer.on(\"mousedown\",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr(\"class\",n.attr(\"class\")),t[0].classList.remove(\"select2\"),t[0].classList.add(\"select2-container--open\"),t.css({position:\"absolute\",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=u(\"\"),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.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)},e.prototype._attachPositioningHandler=function(e,t){var n=this,s=\"scroll.select2.\"+t.id,i=\"resize.select2.\"+t.id,o=\"orientationchange.select2.\"+t.id,t=this.$container.parents().filter(r.hasScroll);t.each(function(){r.StoreData(this,\"select2-scroll-position\",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),t.on(s,function(e){var t=r.GetData(this,\"select2-scroll-position\");u(this).scrollTop(t.y)}),u(window).on(s+\" \"+i+\" \"+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n=\"scroll.select2.\"+t.id,s=\"resize.select2.\"+t.id,t=\"orientationchange.select2.\"+t.id;this.$container.parents().filter(r.hasScroll).off(n),u(window).off(n+\" \"+s+\" \"+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown[0].classList.contains(\"select2-dropdown--above\"),n=this.$dropdown[0].classList.contains(\"select2-dropdown--below\"),s=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=i.top,o.bottom=i.top+o.height;var r=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+r,a={left:i.left,top:o.bottom},l=this.$dropdownParent;\"static\"===l.css(\"position\")&&(l=l.offsetParent());i={top:0,left:0};(u.contains(document.body,l[0])||l[0].isConnected)&&(i=l.offset()),a.top-=i.top,a.left-=i.left,t||n||(s=\"below\"),e||!c||t?!c&&e&&t&&(s=\"below\"):s=\"above\",(\"above\"==s||t&&\"below\"!==s)&&(a.top=o.top-i.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)},e.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)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),u.define(\"select2/dropdown/minimumResultsForSearch\",[],function(){function e(e,t,n,s){this.minimumResultsForSearch=n.get(\"minimumResultsForSearch\"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,s)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,s=0;s');return e.attr(\"dir\",this.options.get(\"dir\")),this.$container=e,this.$container[0].classList.add(\"select2-container--\"+this.options.get(\"theme\")),o.StoreData(e[0],\"element\",this.$element),e},r}),u.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}),u.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}),u.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}),a=function(u){var d,p,e=[\"wheel\",\"mousewheel\",\"DOMMouseScroll\",\"MozMousePixelScroll\"],t=\"onwheel\"in document||9<=document.documentMode?[\"wheel\"]:[\"mousewheel\",\"DomMouseScroll\",\"MozMousePixelScroll\"],h=Array.prototype.slice;if(u.event.fixHooks)for(var n=e.length;n;)u.event.fixHooks[e[--n]]=u.event.mouseHooks;var f=u.event.special.mousewheel={version:\"3.1.12\",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],s,!1);else this.onmousewheel=s;u.data(this,\"mousewheel-line-height\",f.getLineHeight(this)),u.data(this,\"mousewheel-page-height\",f.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],s,!1);else this.onmousewheel=null;u.removeData(this,\"mousewheel-line-height\"),u.removeData(this,\"mousewheel-page-height\")},getLineHeight:function(e){var t=u(e),e=t[\"offsetParent\"in u.fn?\"offsetParent\":\"parent\"]();return e.length||(e=u(\"body\")),parseInt(e.css(\"fontSize\"),10)||parseInt(t.css(\"fontSize\"),10)||16},getPageHeight:function(e){return u(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function s(e){var t,n=e||window.event,s=h.call(arguments,1),i=0,o=0,r=0,a=0,l=0,c=0;if(e=u.event.fix(n),e.type=\"mousewheel\",\"detail\"in n&&(r=-1*n.detail),\"wheelDelta\"in n&&(r=n.wheelDelta),\"wheelDeltaY\"in n&&(r=n.wheelDeltaY),\"wheelDeltaX\"in n&&(o=-1*n.wheelDeltaX),\"axis\"in n&&n.axis===n.HORIZONTAL_AXIS&&(o=-1*r,r=0),i=0===r?o:r,\"deltaY\"in n&&(i=r=-1*n.deltaY),\"deltaX\"in n&&(o=n.deltaX,0===r&&(i=-1*o)),0!==r||0!==o)return 1===n.deltaMode?(i*=t=u.data(this,\"mousewheel-line-height\"),r*=t,o*=t):2===n.deltaMode&&(i*=t=u.data(this,\"mousewheel-page-height\"),r*=t,o*=t),a=Math.max(Math.abs(r),Math.abs(o)),(!p||a\").appendTo(\"head\"),n=t.prop(\"sheet\")||t.prop(\"styleSheet\"),a=function(e,t,o){o=o||0,n.insertRule?n.insertRule(e+\"{\"+t+\"}\",o):n.addRule(e,t,o)};a(\".\"+o.hiddenClass,\"position:absolute !important;left:-9999px !important;height:1px !important;width:1px !important;margin:0 !important;border-width:0 !important;-webkit-appearance:none;-moz-appearance:none;appearance:none\"),a(\".\"+o.rtlClass+\" .\"+o.hiddenClass,\"right:-9999px !important; left: auto !important\"),a(\".\"+o.unselectableClass,\"-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0);\"),a(\".\"+o.resetAppearanceClass,\"background: none; border: none; -webkit-appearance: none; appearance: none; opacity: 0; filter: alpha(opacity=0);\");var i=e(\"html\"),r=e(\"body\");\"rtl\"!==i.css(\"direction\")&&\"rtl\"!==r.css(\"direction\")||i.addClass(o.rtlClass),i.on(\"reset\",function(){setTimeout(function(){c.refreshAll()},0)}),o.styleSheetCreated=!0};!function(){var t,n=navigator.pointerEnabled||navigator.msPointerEnabled,o=\"ontouchstart\"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,a={},i=\"jcf-\";t=n?{pointerover:navigator.pointerEnabled?\"pointerover\":\"MSPointerOver\",pointerdown:navigator.pointerEnabled?\"pointerdown\":\"MSPointerDown\",pointermove:navigator.pointerEnabled?\"pointermove\":\"MSPointerMove\",pointerup:navigator.pointerEnabled?\"pointerup\":\"MSPointerUp\"}:{pointerover:\"mouseover\",pointerdown:\"mousedown\"+(o?\" touchstart\":\"\"),pointermove:\"mousemove\"+(o?\" touchmove\":\"\"),pointerup:\"mouseup\"+(o?\" touchend\":\"\")},e.each(t,function(t,n){e.each(n.split(\" \"),function(e,n){a[n]=t})}),e.each(t,function(t,n){n=n.split(\" \"),e.event.special[i+t]={setup:function(){var t=this;e.each(n,function(e,n){t.addEventListener?t.addEventListener(n,c,!1):t[\"on\"+n]=c})},teardown:function(){var t=this;e.each(n,function(e,n){t.addEventListener?t.removeEventListener(n,c,!1):t[\"on\"+n]=null})}}});var r=null,s=function(e){var t=Math.abs(e.pageX-r.x),n=Math.abs(e.pageY-r.y),o=25;return o>=t&&o>=n?!0:void 0},c=function(t){var n=t||window.event,o=null,c=a[n.type];if(t=e.event.fix(n),t.type=i+c,n.pointerType)switch(n.pointerType){case 2:t.pointerType=\"touch\";break;case 3:t.pointerType=\"pen\";break;case 4:t.pointerType=\"mouse\";break;default:t.pointerType=n.pointerType}else t.pointerType=n.type.substr(0,5);return t.pageX||t.pageY||(o=n.changedTouches?n.changedTouches[0]:n,t.pageX=o.pageX,t.pageY=o.pageY),\"touchend\"===n.type&&(r={x:t.pageX,y:t.pageY}),\"mouse\"===t.pointerType&&r&&s(t)?void 0:(e.event.dispatch||e.event.handle).call(this,t)}}(),function(){var t=(\"onwheel\"in document||document.documentMode>=9?\"wheel\":\"mousewheel DOMMouseScroll\").split(\" \"),n=\"jcf-mousewheel\";e.event.special[n]={setup:function(){var n=this;e.each(t,function(e,t){n.addEventListener?n.addEventListener(t,o,!1):n[\"on\"+t]=o})},teardown:function(){var n=this;e.each(t,function(e,t){n.addEventListener?n.removeEventListener(t,o,!1):n[\"on\"+t]=null})}};var o=function(t){var o=t||window.event;if(t=e.event.fix(o),t.type=n,\"detail\"in o&&(t.deltaY=-o.detail),\"wheelDelta\"in o&&(t.deltaY=-o.wheelDelta),\"wheelDeltaY\"in o&&(t.deltaY=-o.wheelDeltaY),\"wheelDeltaX\"in o&&(t.deltaX=-o.wheelDeltaX),\"deltaY\"in o&&(t.deltaY=o.deltaY),\"deltaX\"in o&&(t.deltaX=o.deltaX),t.delta=t.deltaY||t.deltaX,1===o.deltaMode){var a=16;t.delta*=a,t.deltaY*=a,t.deltaX*=a}return(e.event.dispatch||e.event.handle).call(this,t)}}();var s={fireNativeEvent:function(t,n){e(t).each(function(){var e,t=this;t.dispatchEvent?(e=document.createEvent(\"HTMLEvents\"),e.initEvent(n,!0,!0),t.dispatchEvent(e)):document.createEventObject&&(e=document.createEventObject(),e.target=t,t.fireEvent(\"on\"+n,e))})},bindHandlers:function(){var t=this;e.each(t,function(n,o){0===n.indexOf(\"on\")&&e.isFunction(o)&&(t[n]=function(){return o.apply(t,arguments)})})}},c={version:t,modules:{},getOptions:function(){return e.extend({},o)},setOptions:function(t,n){arguments.length>1?this.modules[t]&&e.extend(this.modules[t].prototype.options,n):e.extend(o,t)},addModule:function(t){e.isFunction(t)&&(t=t(e,window));var a=function(t){t.element.data(o.dataKey)||t.element.data(o.dataKey,this),n.push(this),this.options=e.extend({},o,this.options,i(t.element),t),this.bindHandlers(),this.init.apply(this,arguments)},i=function(t){var n=t.data(o.optionsKey),a=t.attr(o.optionsKey);if(n)return n;if(a)try{return e.parseJSON(a)}catch(i){}};a.prototype=t,e.extend(t,s),t.plugins&&e.each(t.plugins,function(t,n){e.extend(n.prototype,s)});var r=a.prototype.destroy;a.prototype.destroy=function(){this.options.element.removeData(this.options.dataKey);for(var e=n.length-1;e>=0;e--)if(n[e]===this){n.splice(e,1);break}r&&r.apply(this,arguments)},this.modules[t.name]=a},getInstance:function(t){return e(t).data(o.dataKey)},replace:function(t,n,a){var i,s=this;return o.styleSheetCreated||r(),e(t).each(function(){var t,r=e(this);i=r.data(o.dataKey),i?i.refresh():(n||e.each(s.modules,function(e,t){return t.prototype.matchElement.call(t.prototype,r)?(n=e,!1):void 0}),n&&(t=e.extend({element:r},a),i=new s.modules[n](t)))}),i},refresh:function(t){e(t).each(function(){var t=e(this).data(o.dataKey);t&&t.refresh()})},destroy:function(t){e(t).each(function(){var t=e(this).data(o.dataKey);t&&t.destroy()})},replaceAll:function(t){var n=this;e.each(this.modules,function(o,a){e(a.prototype.selector,t).each(function(){this.className.indexOf(\"jcf-ignore\")<0&&n.replace(this,o)})})},refreshAll:function(t){if(t)e.each(this.modules,function(n,a){e(a.prototype.selector,t).each(function(){var t=e(this).data(o.dataKey);t&&t.refresh()})});else for(var a=n.length-1;a>=0;a--)n[a].refresh()},destroyAll:function(t){if(t)e.each(this.modules,function(n,a){e(a.prototype.selector,t).each(function(t,n){var a=e(n).data(o.dataKey);a&&a.destroy()})});else for(;n.length;)n[0].destroy()}};return\"function\"==typeof define&&define.amd&&(window.jcf=c),c});","//* -- CODE DEVELOPED BY WEBFULLSET TEAM -- //*\r\n//* -- OUR CONTACTS -- //*\r\n//* -- https://webfullset.com/ -- //*\r\n//* -- info@webfullset.com -- //*\r\n//* -- Skype: hjvf_07 -- //*\r\n//* -- https://www.freelancer.com/u/markupcoders --//*\r\n\r\nconst speed = 300;\r\nconst speed2 = 2000;\r\nconst body = $('body');\r\n\r\njQuery(window).on('load' ,function(){\r\n WebFullSetInit.init();\r\n});\r\n\r\n$(document).ready(function() {\r\n body.addClass('loaded')\r\n});\r\n\r\nlet WebFullSetInit = {\r\n init: function(){\r\n this.WebFullSetStart();\r\n this.goTo();\r\n },\r\n\r\n WebFullSetStart: function() {\r\n $(\".simplebox\").simplebox();\r\n\r\n $(\".select2\").select2();\r\n\r\n let _scroll = function () {\r\n if ($(window).scrollTop() > 0) {\r\n body.addClass('scroll-page');\r\n //block.animate({height: h}, {queue:false, duration: speed, complete: function () {}})\r\n }\r\n else {\r\n body.removeClass('scroll-page');\r\n }\r\n };\r\n\r\n _scroll();\r\n\r\n $(window).on('scroll', _scroll);\r\n\r\n $('body').each(function(){\r\n let hold = $(this);\r\n let header = hold.find('#header');\r\n let link = hold.find('.toogle-menu');\r\n let box = header.find('.nav-holder');\r\n\r\n link.click(function(){\r\n if(!header.hasClass('open')){\r\n setTimeout(function(){\r\n header.addClass('open');\r\n }, 50);\r\n box.slideDown(500, function () {\r\n $('body').css({overflow: 'hidden'});\r\n });\r\n }\r\n else{\r\n box.slideUp(500, function(){\r\n header.removeClass('open');\r\n });\r\n $('body').css({overflow: 'visible'});\r\n }\r\n return false;\r\n });\r\n\r\n $(window).bind('closeNav', function(){\r\n if(header.hasClass('open')){\r\n box.slideDown(500, function(){\r\n header.removeClass('open');\r\n });\r\n $('body').css({overflow: 'visible'});\r\n }\r\n });\r\n\r\n $(window).bind('resize', function(){\r\n if(header.hasClass('open')){\r\n box.slideDown(500, function(){\r\n header.removeClass('open');\r\n });\r\n $('body').css({overflow: 'visible'});\r\n }\r\n });\r\n });\r\n },\r\n\r\n goTo: function(){\r\n $('body').each(function(){\r\n let hold = $(this);\r\n let header = hold.find('#header');\r\n let box = header.find('.nav-holder');\r\n let link = hold.find('#nav .menu a');\r\n let linkTop = hold.find('.btn-up');\r\n let linkTopWidth = linkTop.outerWidth();\r\n let closeNav = hold.find('.toogle-menu');\r\n let to;\r\n let position, windH;\r\n\r\n linkTop.click(function(){\r\n $('html, body').animate({scrollTop: 0}, {queue:false, duration: 1300});\r\n\r\n return false;\r\n });\r\n\r\n link.click(function(){\r\n if($(this).attr('href').substring(0,2) === '/#' ){\r\n\r\n if(header.hasClass('open')){\r\n box.slideUp(500, function(){\r\n header.removeClass('open');\r\n });\r\n $('body').css({overflow: 'visible'});\r\n }\r\n\r\n to = hold.find($(this).attr('href').substring(1, $(this).attr('href').length)).offset().top;\r\n\r\n $('html, body').animate({scrollTop: to}, {queue:false, duration: 1300});\r\n\r\n console.log(555, header, closeNav);\r\n if(header.hasClass('open')){\r\n closeNav.trigger('click');\r\n }\r\n\r\n return false;\r\n }\r\n });\r\n\r\n function all(){\r\n position = $(window).scrollTop();\r\n windH = $(window).height();\r\n\r\n if(position > windH/2){\r\n if(!linkTop.hasClass('visible')){\r\n linkTop.addClass('visible');\r\n }\r\n }\r\n else {\r\n if(linkTop.hasClass('visible')){\r\n linkTop.removeClass('visible');\r\n }\r\n }\r\n }\r\n all();\r\n $(window).resize(function(){\r\n all();\r\n });\r\n $(window).scroll(function(){\r\n all();\r\n })\r\n });\r\n }\r\n};\r\n"]}