Sindbad~EG File Manager
(()=>{var e={428:e=>{"use strict";e.exports=window.jQuery},450:()=>{!function(e){"use strict";var t={init:function(){e(".pum-color-picker").filter(":not(.pum-color-picker-initialized)").addClass("pum-color-picker-initialized").wpColorPicker({change:function(t,n){e(t.target).trigger("colorchange",n)},clear:function(t){e(t.target).prev().trigger("colorchange").wpColorPicker("close")},hide:!0})}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.colorpicker=t,e(document).on("click",".iris-palette",function(){e(this).parents(".wp-picker-active").find("input.pum-color-picker").trigger("change")}).on("colorchange",function(t,n){var i=e(t.target),r="";void 0!==n&&void 0!==n.color&&(r=n.color.toString()),i.val(r).trigger("change"),"popup_theme"===e("form#post input#post_type").val()&&PUM_Admin.utils.debounce(PUM_Admin.themeEditor.refresh_preview,100)}).on("pum_init",t.init)}(jQuery)},478:function(e,t,n){var i,r;i=[t,n(428)],r=function(e,t){return function(e,t){var n={validate:/^[a-z_][a-z0-9_]*(?:\[(?:\d*|[a-z0-9_]+)\])*$/i,key:/[a-z0-9_]+|(?=\[\])/gi,push:/^$/,fixed:/^\d+$/,named:/^[a-z0-9_]+$/i};function i(e,i){var r={},s={};function o(e,t,n){return e[t]=n,e}function a(e){return void 0===s[e]&&(s[e]=0),s[e]++}function l(){return r}this.addPair=function(s){if(!n.validate.test(s.name))return this;var l=function(e,t){var i,r=e.match(n.key),s=document.querySelector('[name="'+e+'"]'),l=!1;if("INPUT"===s.tagName?l=s.type:"SELECT"===s.tagName?l="select":"TEXTAREA"===s.tagName&&(l="textarea"),["textarea","text"].indexOf(l)>=0)try{t=JSON.parse(t)}catch(e){}for(;void 0!==(i=r.pop());)n.push.test(i)?t=o([],a(e.replace(/\[\]$/,"")),t):n.fixed.test(i)?t=o([],i,t):n.named.test(i)&&(t=o({},i,t));return t}(s.name,function(e){return"checkbox"===t('[name="'+e.name+'"]',i).attr("type")&&"1"===e.value||e.value}(s));return r=e.extend(!0,r,l),this},this.addPairs=function(t){if(!e.isArray(t))throw new Error("formSerializer.addPairs expects an Array");for(var n=0,i=t.length;n<i;n++)this.addPair(t[n]);return this},this.serialize=l,this.serializeJSON=function(){return JSON.stringify(l())}}return i.patterns=n,i.serializeObject=function(){var e;return e=this.is("form")?this.serializeArray():this.find(":input").serializeArray(),new i(t,this).addPairs(e).serialize()},i.serializeJSON=function(){var e;return e=this.is("form")?this.serializeArray():this.find(":input").serializeArray(),new i(t,this).addPairs(e).serializeJSON()},void 0!==t.fn&&(t.fn.pumSerializeObject=i.serializeObject,t.fn.pumSerializeJSON=i.serializeJSON),e.FormSerializer=i,i}(e,t)}.apply(t,i),void 0===r||(e.exports=r)},729:()=>{!function(e){"use strict";var t=pum_admin_vars.I10n,n={render:function(e,t){var n=wp.template(e);return void 0!==(t=t||{}).classes&&Array.isArray(t.classes)&&(t.classes=t.classes.join(" ")),n(t=PUM_Admin.templates.prepareMeta(t))},renderInline:function(e,t){return _.template(e,null,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"})(t)},shortcode:function(t){var n=e.extend(!0,{},{tag:"",meta:{},has_content:!1,content:""},t),i=n.has_content?"pum-shortcode-w-content":"pum-shortcode";return PUM_Admin.templates.render(i,n)},modal:function(n){var i=e.extend(!0,{},{id:"",title:"",description:"",classes:"",save_button:t.save,cancel_button:t.cancel,content:""},n);return PUM_Admin.templates.render("pum-modal",i)},tabs:function(t){return"string"==typeof(t=e.extend(!0,{},{id:"",vertical:!1,form:!1,classes:[],tabs:{},meta:{}},t)).classes&&(t.classes=[t.classes]),t.form&&t.classes.push("pum-tabbed-form"),t.meta["data-tab-count"]=Object.keys(t.tabs).length,t.classes.push(t.vertical?"vertical-tabs":"horizontal-tabs"),t.classes=t.classes.join(" "),PUM_Admin.templates.render("pum-tabs",t)},section:function(t){var n=e.extend(!0,{},{classes:[],fields:[]},t);return PUM_Admin.templates.render("pum-field-section",n)},fieldArgs:function(t){var n=[],i=e.extend(!0,{},PUM_Admin.models.field(t));switch(void 0===t.std||"checkbox"===t.type||null!==i.value&&!1!==i.value||(i.value=t.std),"string"==typeof i.classes&&(i.classes=i.classes.split(" ")),void 0!==t.class&&i.classes.push(t.class),void 0!==t.dependencies&&"object"==typeof t.dependencies&&(i.dependencies=JSON.stringify(t.dependencies)),i.required&&(i.meta.required=!0,i.classes.push("pum-required")),"string"==typeof i.dynamic_desc&&i.dynamic_desc.length&&(i.classes.push("pum-field-dynamic-desc"),i.desc=PUM_Admin.templates.renderInline(i.dynamic_desc,i)),i.allow_html&&(i.classes.push("pum-field-"+i.type+"--html"),"string"==typeof i.value&&""!==i.value&&PUM_Admin.utils.htmlencoder.hasEncoded(i.value)&&(i.value=PUM_Admin.utils.htmlencoder.htmlDecode(i.value))),t.type){case"select":case"objectselect":case"postselect":case"taxonomyselect":void 0!==i.options&&(_.each(i.options,function(e,t){var r,s,o=!1;"object"!=typeof e?(null!==i.value&&(i.multiple&&("string"==typeof i.value&&i.value==t||Array.isArray(i.value)&&-1!==i.value.indexOf(t)||!Array.isArray(i.value)&&"object"==typeof i.value&&Object.keys(i.value).length&&void 0!==i.value[t])?o="selected":i.multiple||i.value!=t||(o="selected")),n.push(PUM_Admin.templates.prepareMeta({label:e,value:t,meta:{selected:o}}))):(r=t,s=[],_.each(e,function(e,t){var n=!1;null!==i.value&&(i.multiple&&("string"==typeof i.value&&i.value==t||Array.isArray(i.value)&&-1!==i.value.indexOf(t)||!Array.isArray(i.value)&&"object"==typeof i.value&&Object.keys(i.value).length&&void 0!==i.value[t])?n="selected":i.multiple||i.value!=t||(n="selected")),s.push(PUM_Admin.templates.prepareMeta({label:e,value:t,meta:{selected:n}}))}),n.push({label:r,options:s}))}),i.options=n),i.multiple&&(i.meta.multiple=!0,i.as_array&&(i.name+="[]"),i.value&&i.value.length||(i.value=[]),"string"==typeof i.value&&(i.value=[i.value])),"select"!==t.type&&(i.select2=!0,i.classes.push("pum-field-objectselect"),i.classes.push("postselect"===t.type?"pum-field-postselect":"pum-field-taxonomyselect"),i.meta["data-objecttype"]="postselect"===t.type?"post_type":"taxonomy",i.meta["data-objectkey"]="postselect"===t.type?t.post_type:t.taxonomy,i.meta["data-current"]="object"==typeof i.value||Array.isArray(i.value)?JSON.stringify(i.value):i.value),i.select2&&(i.classes.push("pum-field-select2"),i.placeholder&&(i.meta["data-placeholder"]=i.placeholder));break;case"radio":void 0!==i.options&&(_.each(i.options,function(e,t){n.push(PUM_Admin.templates.prepareMeta({label:e,value:t,meta:{checked:i.value===t}}))}),i.options=n);break;case"multicheck":void 0!==i.options&&(!1!==i.value&&null!==i.value||(i.value=[]),"string"==typeof i.value&&i.value.indexOf(",")&&(i.value=i.value.split(",")),i.as_array&&(i.name+="[]"),_.each(i.options,function(e,t){n.push(PUM_Admin.templates.prepareMeta({label:e,value:t,meta:{checked:Array.isArray(i.value)&&-1!==i.value.indexOf(t)||!Array.isArray(i.value)&&"object"==typeof i.value&&Object.keys(i.value).length&&void 0!==i.value[t]}}))}),i.options=n);break;case"checkbox":switch(typeof i.value){case"object":Array.isArray(i.value)&&1===i.value.length&&"1"===i.value[0].toString()&&(i.value=!0,i.meta.checked=!0);break;case"boolean":i.value&&(i.meta.checked=!0);break;case"string":"true"!==i.value&&"yes"!==i.value&&"1"!==i.value||(i.meta.checked=!0);break;case"number":(1===parseInt(i.value,10)||parseInt(i.value,10)>0)&&(i.meta.checked=!0)}break;case"rangeslider":i.meta.step=i.step,i.meta.min=i.min,i.meta.max=i.max,i.meta["data-force-minmax"]=i.force_minmax.toString();break;case"textarea":i.meta.cols=i.cols,i.meta.rows=i.rows;break;case"measure":"string"==typeof i.value&&""!==i.value?(i.number=parseInt(i.value),i.unitValue=i.value.replace(i.number,""),i.value=i.number):i.unitValue=null,void 0!==i.units&&(_.each(i.units,function(e,t){var r=!1;i.unitValue==t&&(r="selected"),n.push(PUM_Admin.templates.prepareMeta({label:e,value:t,meta:{selected:r}}))}),i.units=n);break;case"color":"string"==typeof i.value&&""!==i.value&&(i.meta["data-default-color"]=i.value);break;case"license_key":i.value=e.extend({key:"",license:{},messages:[],status:"empty",expires:!1,classes:!1},i.value),i.classes.push("pum-license-"+i.value.status+"-notice"),i.value.classes&&i.classes.push(i.value.classes)}return i},field:function(t){var n,i=PUM_Admin.templates.fieldArgs(t);return n="pum-field-"+i.type,"objectselfect"!==i.type&&"postselect"!==i.type&&"taxonomyselect"!==i.type||(n="pum-field-select"),e("#tmpl-"+n).length?(i.field=PUM_Admin.templates.render(n,i),PUM_Admin.templates.render("pum-field-wrapper",i)):(console.warn("No field template found for type:"+i.type+" fieldID: "+i.id),"")},prepareMeta:function(e){var t,n=[];for(t in e.meta)e.meta.hasOwnProperty(t)&&("boolean"==typeof e.meta[t]?e.meta[t]&&n.push(_.escape(t)):n.push(_.escape(t)+'="'+_.escape(e.meta[t])+'"'));return e.meta=n.join(" "),e}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.templates=n}(window.jQuery)},1376:()=>{!function(e){"use strict";var t={init:function(){e(".pum-field-select2 select").filter(":not(.pumselect2-initialized)").each(function(){var t=e(this),n=t.data("current")||t.val(),i=t.data("objecttype"),r=t.data("objectkey"),s=t.data("objectexcludes")||null,o={width:"100%",multiple:!1,dropdownParent:t.parent()};t.attr("multiple")&&(o.multiple=!0),i&&r&&(o=e.extend(o,{ajax:{url:ajaxurl,dataType:"json",delay:250,data:function(e){return{action:"pum_object_search",nonce:pum_admin_vars.object_search_nonce,s:e.term,paged:e.page,object_type:i,object_key:r,exclude:s}},processResults:function(e,t){return t.page=t.page||1,{results:e.items,pagination:{more:10*t.page<e.total_count}}},cache:!0},cache:!0,escapeMarkup:function(e){return e},maximumInputLength:20,closeOnSelect:!o.multiple,templateResult:PUM_Admin.select2.formatObject,templateSelection:PUM_Admin.select2.formatObjectSelection})),t.addClass("pumselect2-initialized").pumselect2(o),null!=n?o.multiple&&"object"!=typeof n&&""!==n?n=[n]:o.multiple||""!==n||(n=null):n=null,i&&r&&null!==n&&("number"==typeof n||n.length)?e.ajax({url:ajaxurl,data:{action:"pum_object_search",nonce:pum_admin_vars.object_search_nonce,object_type:i,object_key:r,exclude:s,include:n&&n.length?"string"==typeof n||"number"==typeof n?[n]:n:null},dataType:"json",success:function(i){e.each(i.items,function(e,n){t.find('option[value="'+n.id+'"]').length||t.prepend('<option value="'+n.id+'">'+n.text+"</option>")}),t.val(n).trigger("change")}}):(n&&(o.multiple&&n.length||!o.multiple&&""!==n)||null===n)&&t.val(n).trigger("change")})},formatObject:function(e){return e.text},formatObjectSelection:function(e){return e.text||e.text}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.select2=t,e(document).on("pum_init",function(){PUM_Admin.select2.init()})}(jQuery)},2433:()=>{!function(e){"use strict";var t={init:function(){t.checkDependencies()},checkDependencies:function(t){var n=e(t);(t=n.length?n:e("[data-pum-dependencies]:not([data-pum-processed-dependencies])")).each(function(){var t,n=e(this),i=n.data("id"),r=n.data("pum-processed-dependencies")||{},s=Object.keys(r).length,o=0,a=n.data("pum-dependent-fields");if(!n.data("pum-processed-dependencies")){for(t in"string"==typeof(r=n.data("pum-dependencies"))&&(r=JSON.parse(r)),r)r.hasOwnProperty(t)&&("string"==typeof r[t]?-1!==r[t].indexOf(",")?r[t]=r[t].split(","):r[t]=[r[t]]:"number"==typeof r[t]&&(r[t]=[r[t]]));s=Object.keys(r).length,n.data("pum-processed-dependencies",r).attr("data-pum-processed-dependencies",r)}a||(a=e.map(r,function(t,n){var i=e('.pum-field[data-id="'+n+'"]');return i.length?i.eq(0):null}),n.data("pum-dependent-fields",a)),e(a).each(function(){var t,a=e(this),l=a.find(":input:first"),u=a.data("id"),c=l.val(),p=r[u],d=a.data("pum-field-dependents")||[];if(-1===d.indexOf(i)&&(d.push(i),a.data("pum-field-dependents",d)),null==p)return n.removeClass("pum-dependencies-met").hide(0).trigger("pumFormDependencyUnmet"),!1;if(a.hasClass("pum-field-radio")&&(c=a.find(":input:checked").val()),a.hasClass("pum-field-multicheck")&&(c=[],a.find(":checkbox:checked").each(function(t){c[t]=e(this).val(),"string"!=typeof c[t]||isNaN(parseInt(c[t]))||(c[t]=parseInt(c[t]))})),a.hasClass("pum-field-select")||a.hasClass("pum-field-radio"))t=p&&-1!==p.indexOf(c);else if(a.hasClass("pum-field-checkbox"))t=p===l.is(":checked");else if(a.hasClass("pum-field-multicheck"))if(Array.isArray(p)){t=!1;for(var h=0;h<p.length;h++)-1!==c.indexOf(p[h])&&(t=!0)}else t=-1!==c.indexOf(p);else t=Array.isArray(p)?-1!==p.indexOf(c):p==c;if(!t)return n.removeClass("pum-dependencies-met").hide(0).trigger("pumFormDependencyUnmet"),!1;++o===s&&n.addClass("pum-dependencies-met").show(0).trigger("pumFormDependencyMet")})})},form_check:function(){e(document).trigger("pum_form_check")},is_field:function(e){return"object"==typeof e&&[void 0===e.type&&(void 0!==e.label||void 0!==e.desc),void 0!==e.type&&"string"==typeof e.type].indexOf(!0)>=0},flattenFields:function(e){var n={},i=e.tabs||{},r=e.sections||{},s=e.fields||{};return Object.keys(i).length&&Object.keys(r).length?_.each(s,function(e,i){"object"==typeof e&&Object.keys(e).length&&_.each(e,function(e,i){if("object"==typeof e&&Object.keys(e).length){if(t.is_field(e)){var r={};r[i]=e,i="main",e=r}_.each(e,function(e){n[e.id]=e})}})}):Object.keys(i).length?_.each(s,function(e,t){"object"==typeof e&&Object.keys(e).length&&_.each(e,function(e){n[e.id]=e})}):Object.keys(r).length?_.each(s,function(e,t){_.each(e,function(e){n[e.id]=e})}):(s=t.parseFields(s,values),_.each(s,function(e){n[e.id]=e})),n},parseFields:function(e,t){return t=t||{},_.each(e,function(n,i){e[i]=PUM_Admin.models.field(n),"object"!=typeof e[i].meta&&(e[i].meta={}),void 0!==t[i]&&(e[i].value=t[i]),""===e[i].id&&(e[i].id=i)}),e},renderTab:function(){},renderSection:function(){},render:function(n,i,r){var s,o=[],a={},l=e.extend(!0,{id:"",tabs:{},sections:{},fields:{},maintabs:{},subtabs:{}},n),u=e.extend({id:l.id,classes:[],tabs:{},vertical:!0,form:!0,meta:{"data-min-height":250}},l.maintabs),c=e.extend({classes:["link-tabs","sub-tabs"],tabs:{}},l.subtabs),p=["pum-dynamic-form"];return i=i||{},Object.keys(l.tabs).length&&Object.keys(l.sections).length?(p.push("tabbed-content"),_.each(l.fields,function(n,r){"object"==typeof n&&Object.keys(n).length&&(void 0===u.tabs[r]&&(u.tabs[r]={label:l.tabs[r],content:""}),c=e.extend(c,{id:l.id+"-"+r+"-subtabs",tabs:{}}),_.each(n,function(e,n){if("object"==typeof e&&Object.keys(e).length){if(t.is_field(e)){var s={};s[n]=e,n="main",e=s}void 0===c.tabs[n]&&(c.tabs[n]={label:l.sections[r][n],content:""}),e=t.parseFields(e,i),_.each(e,function(e){a[e.id]=e,c.tabs[n].content+=PUM_Admin.templates.field(e)}),""===c.tabs[n].content&&delete c.tabs[n]}}),Object.keys(c.tabs).length?u.tabs[r].content=PUM_Admin.templates.tabs(c):delete u.tabs[r])}),Object.keys(u.tabs).length&&(s=PUM_Admin.templates.tabs(u))):Object.keys(l.tabs).length?(p.push("tabbed-content"),_.each(l.fields,function(e,n){"object"==typeof e&&Object.keys(e).length&&(void 0===u.tabs[n]&&(u.tabs[n]={label:l.tabs[n],content:""}),o=[],e=t.parseFields(e,i),_.each(e,function(e){a[e.id]=e,o.push(PUM_Admin.templates.field(e))}),o.length?u.tabs[n].content=PUM_Admin.templates.section({fields:o}):delete u.tabs[n])}),Object.keys(u.tabs).length&&(s=PUM_Admin.templates.tabs(u))):Object.keys(l.sections).length?_.each(l.fields,function(e,n){(o=[]).push(PUM_Admin.templates.field({type:"heading",desc:l.sections[n]||""})),e=t.parseFields(e,i),_.each(e,function(e){a[e.id]=e,o.push(PUM_Admin.templates.field(e))}),s+=PUM_Admin.templates.section({fields:o})}):(l.fields=t.parseFields(l.fields,i),_.each(l.fields,function(e){a[e.id]=e,o.push(PUM_Admin.templates.field(e))}),s=PUM_Admin.templates.section({fields:o})),void 0!==r&&r.length&&r.addClass(p.join(" ")).data("form_fields",a).html(s).trigger("pum_init"),s},parseValues:function(e,t){if(!(t=t||!1))return e;for(var n in t)t.hasOwnProperty(n)&&(e.hasOwnProperty(n+"_unit")&&(e[n]+=e[n+"_unit"],delete e[n+"_unit"]),void 0!==e[n]?t[n].allow_html&&!PUM_Admin.utils.htmlencoder.hasEncoded(e[n])&&(e[n]=PUM_Admin.utils.htmlencoder.htmlEncode(e[n])):"checkbox"===t[n].type&&(e[n]=!1));return e}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.forms=t,e(document).on("pum_init pum_form_check",function(){PUM_Admin.forms.init()}).on("pumFieldChanged",".pum-field",function(){var t,n=e(this).data("pum-field-dependents")||[],i=e();if(n&&!(n.length<=0)){for(t=0;t<n.length;t++)i=i.add('.pum-field[data-id="'+n[t]+'"]');PUM_Admin.forms.checkDependencies(i)}}).on("pumFieldChanged",".pum-field-dynamic-desc",function(){var t=e(this),n=t.find(":input"),i=t.parents(".pum-dynamic-form:first"),r=n.val(),s=(i.data("form_fields")||{})[t.data("id")]||{},o=t.find(".pum-desc"),a=t.data("pum-dynamic-desc");"radio"===s.type&&(r=t.find(":input:checked").val()),s.value=r,a&&a.length&&o.html(PUM_Admin.templates.renderInline(a,s))}).on("change",".pum-field-select select",function(){e(this).parents(".pum-field").trigger("pumFieldChanged")}).on("click",".pum-field-checkbox input",function(){e(this).parents(".pum-field").trigger("pumFieldChanged")}).on("click",".pum-field-multicheck input",function(){e(this).parents(".pum-field").trigger("pumFieldChanged")}).on("click",".pum-field-radio input",function(t){var n=e(this),i=n.parents("li"),r=n.parents(".pum-field");r.trigger("pumFieldChanged"),r.find("li.pum-selected").removeClass("pum-selected"),i.addClass("pum-selected")})}(jQuery)},2998:()=>{!function(e){"use strict";var t,n=e("html"),i=e(document),r="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]",s={_current:null,forceFocus:function(e){PUM_Admin.modals._current&&!PUM_Admin.modals._current.contains(e.target)&&(e.stopPropagation(),PUM_Admin.modals._current.focus())},trapEscapeKey:function(e){27===e.keyCode&&(PUM_Admin.modals.closeAll(),e.preventDefault())},trapTabKey:function(t){if(9===t.keyCode){var n=PUM_Admin.modals._current.find("*").filter(r).filter(":visible"),i=e(":focus"),s=n.length,o=n.index(i);t.shiftKey?0===o&&(n.get(s-1).focus(),t.preventDefault()):o===s-1&&(n.get(0).focus(),t.preventDefault())}},setFocusToFirstItem:function(){PUM_Admin.modals._current.find(".pum-modal-content *").filter(r).filter(":visible").first().focus()},closeAll:function(n){e(".pum-modal-background").off("keydown.pum_modal").hide(0,function(){e("html").css({overflow:"visible",width:"auto"}),t.length&&t.focus(),PUM_Admin.modals._current=null,i.off("focus.pum_modal"),void 0!==n&&n()}).attr("aria-modal","false")},show:function(i,r){e(".pum-modal-background").off("keydown.pum_modal").hide(0).attr("aria-modal","true"),n.data("origwidth",n.innerWidth()).css({overflow:"hidden",width:n.innerWidth()});var s=e(":focus");s.parents(".pum-modal-wrap").length||(t=s),PUM_Admin.modals._current=e(i),PUM_Admin.modals._current.on("keydown.pum_modal",function(e){PUM_Admin.modals.trapEscapeKey(e),PUM_Admin.modals.trapTabKey(e)}).show(0,function(){PUM_Admin.modals._current.trigger("pum_init").on("focus.pum_modal",PUM_Admin.modals.forceFocus),PUM_Admin.modals.setFocusToFirstItem(),void 0!==r&&r()})},remove:function(t){e(t).remove()},replace:function(t,n){PUM_Admin.modals.remove(e.trim(t)),e("body").append(e.trim(n))},reload:function(t,n,i){PUM_Admin.modals.replace(t,n),PUM_Admin.modals.show(t,i),e(t).trigger("pum_init")}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.modals=s,e(document).on("click",".pum-modal-background, .pum-modal-wrap .cancel, .pum-modal-wrap .pum-modal-close",function(t){var n=e(t.target);(n.hasClass("cancel")||n.hasClass("pum-modal-close")||n.hasClass("submitdelete"))&&(PUM_Admin.modals.closeAll(),t.preventDefault(),t.stopPropagation())})}(jQuery)},3720:()=>{!function(e,t){if("function"!=typeof window.$$){var n,i,r={},s={};window.$$=function(o,a){return a?((n=a.selector)&&(a=n),(i=s[a])===t&&(i=s[a]={}),(n=i[o])!==t?n:i[o]=e(o,$$(a))):(n=r[o])!==t?n:r[o]=e(o)},window.$$clear=function(e,i){i?((n=i.selector)&&(i=n),e&&(n=s[i])&&(n[e]=t),s[i]=t):e?(r[e]=t,s[e]=t):(r={},s={})},window.$$fresh=function(e,t){return $$clear(e,t),$$(e,t)}}}(jQuery)},3896:()=>{!function(e){"use strict";let t=JSON.parse(sessionStorage.getItem("pum_tabs"));null===t&&(t={});var n={init:function(){e(".pum-tabs-container").filter(":not(.pum-tabs-initialized)").each(function(){var n=e(this).addClass("pum-tabs-initialized"),i=n.find("> ul.tabs"),r=i.find("> li:first"),s=n.data("min-height"),o=n.attr("id")?n.attr("id"):n.parents("[id]").attr("id");if(void 0!==t[o]&&(r=i.find('a[href="'+t[o]+'"]').parent()),n.hasClass("vertical-tabs")){var a=s&&s>0?s:i.eq(0).outerHeight(!0);n.css({minHeight:a+"px"}),n.parent().innerHeight<a&&n.parent().css({minHeight:a+"px"})}r.trigger("click")})}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.tabs=n,e(document).on("pum_init",PUM_Admin.tabs.init).on("click",".pum-tabs-initialized li.tab",function(n){var i,r,s=e(this),o=s.parents(".pum-tabs-container:first"),a=o.find("> ul.tabs > li.tab"),l=o.find("> div.tab-content"),u=s.find("a").attr("href");i=s.attr("id")?s.attr("id"):s.parents("[id]").attr("id"),r=u,t[i]=r,sessionStorage.setItem("pum_tabs",JSON.stringify(t)),a.removeClass("active"),l.removeClass("active"),s.addClass("active"),o.find("> div.tab-content"+u).addClass("active"),n.preventDefault()})}(jQuery)},3899:()=>{!function(e){"use strict";var t=e(".pum-alerts"),n=e(".pum-alert-count"),i=parseInt(n.eq(0).text());function r(){0===t.find(".pum-alert-holder").length&&(t.slideUp(100,function(){t.remove()}),e("#menu-posts-popup .wp-menu-name .update-plugins").fadeOut())}e(document).on("pumDismissAlert",r).on("click",".pum-alert-holder .pum-dismiss",function(t){var s=e(this),o=s.parents(".pum-alert-holder"),a=s.data("reason")||"maybe_later",l=e(this).data("action")||"dismiss";t.preventDefault(),"review_request"!==o.data("code")?function(t,n){var i,r=t.data("dismissible");i=void 0!==t.data("expires")?t.data("expires"):"1"===r||1===r||!0===r?null:r+" days",e.ajax({method:"POST",dataType:"json",url:window.ajaxurl,data:{action:"pum_alerts_action",nonce:window.pum_alerts_nonce,code:t.data("code"),expires:i,pum_dismiss_alert:n}})}(o,l):function(t){e.ajax({method:"POST",dataType:"json",url:window.ajaxurl,data:{action:"pum_review_action",nonce:window.pum_review_nonce,group:window.pum_review_trigger.group,code:window.pum_review_trigger.code,pri:window.pum_review_trigger.pri,reason:t}}),void 0!==window.pum_review_api_url&&e.ajax({method:"POST",dataType:"json",url:window.pum_review_api_url,data:{trigger_group:window.pum_review_trigger.group,trigger_code:window.pum_review_trigger.code,reason:t,uuid:window.pum_review_uuid||null}})}(a),function(e){i--,n.text(i),e.fadeTo(100,0,function(){e.slideUp(100,function(){e.remove(),r()})})}(o)})}(jQuery)},5437:()=>{!function(e){"use strict";var t={cloneables:{slider:e('<input type="range" class="pum-range-slider" />'),plus:e('<button type="button" class="pum-range-plus">+</button>'),minus:e('<button type="button" class="pum-range-minus">-</button>')},init:function(){e(".pum-field-rangeslider:not(.pum-rangeslider-initialized)").each(function(){var n=e(this).addClass("pum-rangeslider-initialized").find("input.pum-range-manual"),i=t.cloneables.slider.clone(),r=t.cloneables.plus.clone(),s=t.cloneables.minus.clone(),o={force:n.data("force-minmax"),min:parseInt(n.attr("min"),10)||0,max:parseInt(n.attr("max"),10)||100,step:parseInt(n.attr("step"),10)||1,value:parseInt(n.attr("value"),10)||0};o.force&&o.value>o.max&&(o.value=o.max,n.val(o.value)),i.prop({min:o.min||0,max:o.force||o.max&&o.max>o.value?o.max:1.5*o.value,step:o.step||1.5*o.value/100,value:o.value}).on("change input",function(){n.trigger("input")}),n.next().after(s,r),n.before(i)})}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.rangesliders=t,e(document).on("pum_init",PUM_Admin.rangesliders.init).on("input",".pum-field-rangeslider.pum-rangeslider-initialized .pum-range-slider",function(){var t=e(this);t.siblings(".pum-range-manual").val(t.val())}).on("change",".pum-range-manual",function(){var t=e(this),n=parseInt(t.prop("max"),0),i=parseInt(t.prop("min"),0),r=parseInt(t.prop("step"),0),s=t.data("force-minmax"),o=parseInt(t.val(),0),a=t.prev();isNaN(o)&&(o=a.val()),s&&o>n?o=n:s&&o<i&&(o=i),t.val(o).trigger("input"),a.prop({max:s||n&&n>o?n:1.5*o,step:r||1.5*o/100,value:o})}).on("click",".pum-range-plus",function(t){var n=e(this).siblings(".pum-range-manual"),i=parseInt(n.prop("max"),0),r=parseInt(n.prop("step"),0),s=n.data("force-minmax"),o=parseInt(n.val(),0),a=n.prev();t.preventDefault(),o+=r,isNaN(o)&&(o=a.val()),s&&o>i&&(o=i),n.val(o).trigger("input"),a.val(o)}).on("click",".pum-range-minus",function(t){var n=e(this).siblings(".pum-range-manual"),i=parseInt(n.prop("min"),0),r=parseInt(n.prop("step"),0),s=n.data("force-minmax"),o=parseInt(n.val(),0),a=n.prev();t.preventDefault(),o-=r,isNaN(o)&&(o=a.val()),s&&o<i&&(o=i),n.val(o).trigger("input"),a.val(o)})}(jQuery)},5766:(e,t,n)=>{var i,r,s;r=[n(428)],void 0===(s="function"==typeof(i=function(t){var n=function(){if(t&&t.fn&&t.fn.pumselect2&&t.fn.pumselect2.amd)var n=t.fn.pumselect2.amd;var i,r,s,o;return n&&n.requirejs||(n?r=n:n={},function(e){var t,n,o,a,l={},u={},c={},p={},d=Object.prototype.hasOwnProperty,h=[].slice,m=/\.js$/;function f(e,t){return d.call(e,t)}function g(e,t){var n,i,r,s,o,a,l,u,p,d,h,f=t&&t.split("/"),g=c.map,v=g&&g["*"]||{};if(e&&"."===e.charAt(0))if(t){for(o=(e=e.split("/")).length-1,c.nodeIdCompat&&m.test(e[o])&&(e[o]=e[o].replace(m,"")),e=f.slice(0,f.length-1).concat(e),p=0;p<e.length;p+=1)if("."===(h=e[p]))e.splice(p,1),p-=1;else if(".."===h){if(1===p&&(".."===e[2]||".."===e[0]))break;p>0&&(e.splice(p-1,2),p-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((f||v)&&g){for(p=(n=e.split("/")).length;p>0;p-=1){if(i=n.slice(0,p).join("/"),f)for(d=f.length;d>0;d-=1)if((r=g[f.slice(0,d).join("/")])&&(r=r[i])){s=r,a=p;break}if(s)break;!l&&v&&v[i]&&(l=v[i],u=p)}!s&&l&&(s=l,a=u),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function v(t,i){return function(){var r=h.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),n.apply(e,r.concat([t,i]))}}function y(e){return function(t){l[e]=t}}function _(n){if(f(u,n)){var i=u[n];delete u[n],p[n]=!0,t.apply(e,i)}if(!f(l,n)&&!f(p,n))throw new Error("No "+n);return l[n]}function b(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function w(e){return function(){return c&&c.config&&c.config[e]||{}}}o=function(e,t){var n,i=b(e),r=i[0];return e=i[1],r&&(n=_(r=g(r,t))),r?e=n&&n.normalize?n.normalize(e,function(e){return function(t){return g(t,e)}}(t)):g(e,t):(r=(i=b(e=g(e,t)))[0],e=i[1],r&&(n=_(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},a={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:w(e)}}},t=function(t,n,i,r){var s,c,d,h,m,g,b=[],w=typeof i;if(r=r||t,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,m=0;m<n.length;m+=1)if("require"===(c=(h=o(n[m],r)).f))b[m]=a.require(t);else if("exports"===c)b[m]=a.exports(t),g=!0;else if("module"===c)s=b[m]=a.module(t);else if(f(l,c)||f(u,c)||f(p,c))b[m]=_(c);else{if(!h.p)throw new Error(t+" missing "+c);h.p.load(h.n,v(r,!0),y(c),{}),b[m]=l[c]}d=i?i.apply(l[t],b):void 0,t&&(s&&s.exports!==e&&s.exports!==l[t]?l[t]=s.exports:d===e&&g||(l[t]=d))}else t&&(l[t]=i)},i=r=n=function(i,r,s,l,u){if("string"==typeof i)return a[i]?a[i](r):_(o(i,r).f);if(!i.splice){if((c=i).deps&&n(c.deps,c.callback),!r)return;r.splice?(i=r,r=s,s=null):i=e}return r=r||function(){},"function"==typeof s&&(s=l,l=u),l?t(e,i,r,s):setTimeout(function(){t(e,i,r,s)},4),n},n.config=function(e){return n(e)},i._defined=l,(s=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=[]),f(l,e)||f(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),n.requirejs=i,n.require=r,n.define=s),n.define("almond",function(){}),n.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),n.define("pumselect2/utils",["jquery"],function(e){var t={};function n(e){var t=e.prototype,n=[];for(var i in t)"function"==typeof t[i]&&"constructor"!==i&&n.push(i);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var r in t)n.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},t.Decorate=function(e,t){var i=n(t),r=n(e);function s(){var n=Array.prototype.unshift,i=t.prototype.constructor.length,r=e.prototype.constructor;i>0&&(n.call(arguments,e.prototype.constructor),r=t.prototype.constructor),r.apply(this,arguments)}t.displayName=e.displayName,s.prototype=new function(){this.constructor=s};for(var o=0;o<r.length;o++){var a=r[o];s.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in s.prototype&&(n=s.prototype[e]);var i=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),i.apply(this,arguments)}},u=0;u<i.length;u++){var c=i[u];s.prototype[c]=l(c)}return s};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice;this.listeners=this.listeners||{},e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},t.Observable=i,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var r=0;r<n.length;r++){var s=n[r];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),r==n.length-1&&(i[s]=e[t]),i=i[s]}delete e[t]}}return e},t.hasScroll=function(t,n){var i=e(n),r=n.style.overflowX,s=n.style.overflowY;return(r!==s||"hidden"!==s&&"visible"!==s)&&("scroll"===r||"scroll"===s||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},t}),n.define("pumselect2/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="pumselect2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="pumselect2-results__option"></li>'),r=this.options.get("translations").get(t.message);i.append(n(r(t.args))),i[0].className+=" pumselect2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".pumselect2-results__message").remove()},n.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<e.results.length;n++){var i=e.results[n],r=this.option(i);t.push(r)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".pumselect2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()}),r=t.$results.find(".pumselect2-results__option[aria-selected]");r.each(function(){var t=e(this),n=e.data(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(r,i)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")});var s=r.filter("[aria-selected=true]");s.length>0?s.first().trigger("mouseenter"):r.first().trigger("mouseenter")})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(t){var n=document.createElement("li");n.className="pumselect2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var r in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var s=i[r];n.setAttribute(r,s)}if(t.children){var o=e(n),a=document.createElement("strong");a.className="pumselect2-results__group",e(a),this.template(t,a);for(var l=[],u=0;u<t.children.length;u++){var c=t.children[u],p=this.option(c);l.push(p)}var d=e("<ul></ul>",{class:"pumselect2-results__options pumselect2-results__options--nested"});d.append(l),o.append(a),o.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&i.setClasses()}),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()}),t.on("unselect",function(){t.isOpen()&&i.setClasses()}),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=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var r=n-1;0===e.length&&(r=0);var s=t.eq(r);s.trigger("mouseenter");var o=i.$results.offset().top,a=s.offset().top,l=i.$results.scrollTop()+(a-o);0===r?i.$results.scrollTop(0):a-o<0&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+o-s;0===n?i.$results.scrollTop(0):o>s&&i.$results.scrollTop(a)}}),t.on("results:focus",function(e){e.element.addClass("pumselect2-results__option--highlighted")}),t.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,s=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):s&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".pumselect2-results__option[aria-selected]",function(t){var n=e(this),r=n.data("data");"true"!==n.attr("aria-selected")?i.trigger("select",{originalEvent:t,data:r}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:r}):i.trigger("close",{})}),this.$results.on("mouseenter",".pumselect2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("pumselect2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".pumselect2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,i=e.offset().top,r=this.$results.scrollTop()+(i-n),s=i-n;r-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),s=i(t,n);null==s?n.style.display="none":"string"==typeof s?n.innerHTML=r(s):e(n).append(s)},n}),n.define("pumselect2/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}}),n.define("pumselect2/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 t=e('<span class="pumselect2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,r=(e.id,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.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},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(t){e(document.body).on("mousedown.pumselect2."+t.id,function(t){var n=e(t.target).closest(".pumselect2");e(".pumselect2.pumselect2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").pumselect2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.pumselect2."+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}),n.define("pumselect2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("pumselect2-selection--single"),e.html('<span class="pumselect2-selection__rendered"></span><span class="pumselect2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".pumselect2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",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("selection:update",function(e){n.update(e.data)})},r.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e("<span></span>")},r.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".pumselect2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)}else this.clear()},r}),n.define("pumselect2/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.addClass("pumselect2-selection--multiple"),e.html('<ul class="pumselect2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".pumselect2-selection__choice__remove",function(t){if(!r.options.get("disabled")){var n=e(this).parent().data("data");r.trigger("unselect",{originalEvent:t,data:n})}})},i.prototype.clear=function(){this.$selection.find(".pumselect2-selection__rendered").empty()},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="pumselect2-selection__choice"><span class="pumselect2-selection__choice__remove" role="presentation">×</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var r=e[i],s=this.selectionContainer(),o=this.display(r,s);s.append(o),s.prop("title",r.title||r.text),s.data("data",r),t.push(s)}var a=this.$selection.find(".pumselect2-selection__rendered");n.appendMany(a,t)}},i}),n.define("pumselect2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("pumselect2-selection__placeholder").removeClass("pumselect2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".pumselect2-selection__rendered").append(i)},t}),n.define("pumselect2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.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",".pumselect2-selection__clear",function(e){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".pumselect2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),r=0;r<i.length;r++){var s={data:i[r]};if(this.trigger("unselect",s),s.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".pumselect2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="pumselect2-selection__clear">×</span>');i.data("data",n),this.$selection.find(".pumselect2-selection__rendered").prepend(i)}},n}),n.define("pumselect2/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=e('<li class="pumselect2-search pumselect2-search--inline"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var r=this;e.call(this,t,i),t.on("open",function(){r.$search.trigger("focus")}),t.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),t.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),t.on("disable",function(){r.$search.prop("disabled",!0)}),t.on("focus",function(e){r.$search.trigger("focus")}),t.on("results:focus",function(e){r.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".pumselect2-search--inline",function(e){r.trigger("focus",e)}),this.$selection.on("focusout",".pumselect2-search--inline",function(e){r._handleBlur(e)}),this.$selection.on("keydown",".pumselect2-search--inline",function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===r.$search.val()){var t=r.$searchContainer.prev(".pumselect2-selection__choice");if(t.length>0){var i=t.data("data");r.searchRemoveChoice(i),e.preventDefault()}}});var s=document.documentMode,o=s&&s<=11;this.$selection.on("input.searchcheck",".pumselect2-search--inline",function(e){o?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".pumselect2-search--inline",function(e){if(o&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&r.handleSearch(e)}})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".pumselect2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var 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;e=""!==this.$search.attr("placeholder")?this.$selection.find(".pumselect2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},i}),n.define("pumselect2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var r=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,s)){n=n||{};var i=e.Event("pumselect2:"+t,{params:n});r.$element.trigger(i),-1!==e.inArray(t,o)&&(n.prevented=i.isDefaultPrevented())}})},t}),n.define("pumselect2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),n.define("pumselect2/diacritics",[],function(){return{"Ⓐ":"A",A:"A",À:"A",Á:"A",Â:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ā:"A",Ă:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ǡ:"A",Ä:"A",Ǟ:"A",Ả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ŵ:"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",Ά:"Α",Έ:"Ε",Ή:"Η",Ί:"Ι",Ϊ:"Ι",Ό:"Ο",Ύ:"Υ",Ϋ:"Υ",Ώ:"Ω",ά:"α",έ:"ε",ή:"η",ί:"ι",ϊ:"ι",ΐ:"ι",ό:"ο",ύ:"υ",ϋ:"υ",ΰ:"υ",ω:"ω",ς:"σ"}}),n.define("pumselect2/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){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t}),n.define("pumselect2/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=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),r=i.item(e);t.push(r)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];(e=[e]).push.apply(e,i);for(var s=0;s<e.length;s++){var o=e[s].id;-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(i){for(var r=[],s=0;s<i.length;s++){var o=i[s].id;o!==e.id&&-1===n.inArray(o,r)&&r.push(o)}t.$element.val(r),t.$element.trigger("change")})}},i.prototype.bind=function(e,t){var n=this;this.container=e,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(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],r=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var s=r.item(t),o=r.matches(e,s);null!==o&&i.push(o)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),r=this._normalizeItem(e);return r.element=t,n.data(t,"data",r),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],s=0;s<i.length;s++){var o=n(i[s]),a=this.item(o);r.push(a)}t.children=r}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});return 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)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),n.define("pumselect2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){var i=this,r=this.$element.find("option"),s=r.map(function(){return i.item(n(this)).id}).get(),o=[];function a(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var u=this._normalizeItem(e[l]);if(n.inArray(u.id,s)>=0){var c=r.filter(a(u)),p=this.item(c),d=n.extend(!0,{},u,p),h=this.option(d);c.replaceWith(h)}else{var m=this.option(u);if(u.children){var f=this.convertToOptions(u.children);t.appendMany(m,f)}o.push(m)}}return o},i}),n.define("pumselect2/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){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var r=n.ajax(e);return r.then(t),r.fail(i),r}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=n.extend({type:"GET"},this.ajaxOptions);function s(){var n=r.transport(r,function(n){var r=i.processResults(n,e);i.options.get("debug")&&window.console&&console.error&&(r&&r.results&&Array.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)},function(){i.trigger("results:message",{message:"errorLoading"})});i._request=n}"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&""!==e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(s,this.ajaxOptions.delay)):s()},i}),n.define("pumselect2/data/tags",["jquery"],function(e){function t(e,t,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);var s=n.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,t,n),Array.isArray(i))for(var o=0;o<i.length;o++){var a=i[o],l=this._normalizeItem(a),u=this.option(l);this.$element.append(u)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,function e(r,s){for(var o=r.results,a=0;a<o.length;a++){var l=o[a],u=null!=l.children&&!e({results:l.children},!0);if(l.text===t.term||u)return!s&&(r.data=o,void n(r))}if(s)return!0;var c=i.createTag(t);if(null!=c){var p=i.option(c);p.attr("data-pumselect2-tag",!0),i.addOptions([p]),i.insertTag(o,c)}r.results=o,n(r)}):e.call(this,t,n)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag,this.$element.find("option[data-pumselect2-tag]").each(function(){this.selected||e(this).remove()})},t}),n.define("pumselect2/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(".pumselect2-search__field")},t.prototype.query=function(e,t,n){var i=this;t.term=t.term||"";var r=this.tokenizer(t,this.options,function(e){i.trigger("select",{data:e})});r.term!==t.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),t.term=r.term),e.call(this,t,n)},t.prototype.tokenizer=function(t,n,i,r){for(var s=i.get("tokenSeparators")||[],o=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<o.length;){var u=o[a];if(-1!==e.inArray(u,s)){var c=o.substr(0,a),p=l(e.extend({},n,{term:c}));null!=p?(r(p),o=o.substr(a+1)||"",a=0):a++}else a++}return{term:o}},t}),n.define("pumselect2/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}),n.define("pumselect2/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||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),n.define("pumselect2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(r){var s=null!=r?r.length:0;i.maximumSelectionLength>0&&s>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)})},e}),n.define("pumselect2/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="pumselect2-dropdown"><span class="pumselect2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),n.define("pumselect2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class="pumselect2-search pumselect2-search--dropdown"><input class="pumselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),this.$search.on("keydown",function(e){r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){r.handleSearch(e)}),n.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),n.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val("")}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass("pumselect2-search--hide"):r.$searchContainer.addClass("pumselect2-search--hide"))})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),n.define("pumselect2/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"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var r=t[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},e}),n.define("pumselect2/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)},t.prototype.bind=function(t,n,i){var r=this;t.call(this,n,i),n.on("query",function(e){r.lastParams=e,r.loading=!0}),n.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,r.$loadingMore[0]);!r.loading&&t&&r.$results.offset().top+r.$results.outerHeight(!1)+50>=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)&&r.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="pumselect2-results__option pumselect2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),n.define("pumselect2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,r=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),r||(r=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),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.attr("class",n.attr("class")),t.removeClass("pumselect2"),t.addClass("pumselect2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var r=this,s="scroll.pumselect2."+i.id,o="resize.pumselect2."+i.id,a="orientationchange.pumselect2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("pumselect2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(s,function(t){var n=e(this).data("pumselect2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(s+" "+o+" "+a,function(e){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.pumselect2."+i.id,s="resize.pumselect2."+i.id,o="orientationchange.pumselect2."+i.id;this.$container.parents().filter(t.hasScroll).off(r),e(window).off(r+" "+s+" "+o)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("pumselect2-dropdown--above"),i=this.$dropdown.hasClass("pumselect2-dropdown--below"),r=null,s=this.$container.offset();s.bottom=s.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=s.top,o.bottom=s.top+o.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),u=t.scrollTop()+t.height(),c=l<s.top-a,p=u>s.bottom+a,d={left:s.left,top:o.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var m=h.offset();d.top-=m.top,d.left-=m.left,n||i||(r="below"),p||!c||n?!c&&p&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(d.top=o.top-a),null!=r&&(this.$dropdown.removeClass("pumselect2-dropdown--below pumselect2-dropdown--above").addClass("pumselect2-dropdown--"+r),this.$container.removeClass("pumselect2-container--below pumselect2-container--above").addClass("pumselect2-container--"+r)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),n.define("pumselect2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,i=0;i<t.length;i++){var r=t[i];r.children?n+=e(r.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t}),n.define("pumselect2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(){i._handleSelectOnClose()})},e.prototype._handleSelectOnClose=function(){var e=this.getHighlightedResults();if(!(e.length<1)){var t=e.data("data");null!=t.element&&t.element.selected||null==t.element&&t.selected||this.trigger("select",{data:t})}},e}),n.define("pumselect2/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||this.trigger("close",{})},e}),n.define("pumselect2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},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…"}}}),n.define("pumselect2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./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","./i18n/en"],function(e,t,n,i,r,s,o,a,l,u,c,p,d,h,m,f,g,v,y,_,b,w,A,x,$,j,O,P,C){function k(){this.reset()}return k.prototype.apply=function(p){if(null==(p=e.extend(!0,{},this.defaults,p)).dataAdapter){if(null!=p.ajax?p.dataAdapter=m:null!=p.data?p.dataAdapter=h:p.dataAdapter=d,p.minimumInputLength>0&&(p.dataAdapter=u.Decorate(p.dataAdapter,v)),p.maximumInputLength>0&&(p.dataAdapter=u.Decorate(p.dataAdapter,y)),p.maximumSelectionLength>0&&(p.dataAdapter=u.Decorate(p.dataAdapter,_)),p.tags&&(p.dataAdapter=u.Decorate(p.dataAdapter,f)),null==p.tokenSeparators&&null==p.tokenizer||(p.dataAdapter=u.Decorate(p.dataAdapter,g)),null!=p.query){var C=t(p.amdBase+"compat/query");p.dataAdapter=u.Decorate(p.dataAdapter,C)}if(null!=p.initSelection){var k=t(p.amdBase+"compat/initSelection");p.dataAdapter=u.Decorate(p.dataAdapter,k)}}if(null==p.resultsAdapter&&(p.resultsAdapter=n,null!=p.ajax&&(p.resultsAdapter=u.Decorate(p.resultsAdapter,x)),null!=p.placeholder&&(p.resultsAdapter=u.Decorate(p.resultsAdapter,A)),p.selectOnClose&&(p.resultsAdapter=u.Decorate(p.resultsAdapter,O))),null==p.dropdownAdapter){if(p.multiple)p.dropdownAdapter=b;else{var S=u.Decorate(b,w);p.dropdownAdapter=S}if(0!==p.minimumResultsForSearch&&(p.dropdownAdapter=u.Decorate(p.dropdownAdapter,j)),p.closeOnSelect&&(p.dropdownAdapter=u.Decorate(p.dropdownAdapter,P)),null!=p.dropdownCssClass||null!=p.dropdownCss||null!=p.adaptDropdownCssClass){var M=t(p.amdBase+"compat/dropdownCss");p.dropdownAdapter=u.Decorate(p.dropdownAdapter,M)}p.dropdownAdapter=u.Decorate(p.dropdownAdapter,$)}if(null==p.selectionAdapter){if(p.multiple?p.selectionAdapter=r:p.selectionAdapter=i,null!=p.placeholder&&(p.selectionAdapter=u.Decorate(p.selectionAdapter,s)),p.allowClear&&(p.selectionAdapter=u.Decorate(p.selectionAdapter,o)),p.multiple&&(p.selectionAdapter=u.Decorate(p.selectionAdapter,a)),null!=p.containerCssClass||null!=p.containerCss||null!=p.adaptContainerCssClass){var E=t(p.amdBase+"compat/containerCss");p.selectionAdapter=u.Decorate(p.selectionAdapter,E)}p.selectionAdapter=u.Decorate(p.selectionAdapter,l)}if("string"==typeof p.language)if(p.language.indexOf("-")>0){var U=p.language.split("-")[0];p.language=[p.language,U]}else p.language=[p.language];if(Array.isArray(p.language)){var T=new c;p.language.push("en");for(var D=p.language,q=0;q<D.length;q++){var I=D[q],z={};try{z=c.loadPath(I)}catch(e){try{I=this.defaults.amdLanguageBase+I,z=c.loadPath(I)}catch(e){p.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+I+'" could not be automatically loaded. A fallback will be used instead.');continue}}T.extend(z)}p.translations=T}else{var L=c.loadPath(this.defaults.amdLanguageBase+"en"),H=new c(p.language);H.extend(L),p.translations=H}return p},k.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return p[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:C,matcher:function n(i,r){if(""===e.trim(i.term))return r;if(r.children&&r.children.length>0){for(var s=e.extend(!0,{},r),o=r.children.length-1;o>=0;o--)null==n(i,r.children[o])&&s.children.splice(o,1);return s.children.length>0?s:n(i,s)}var a=t(r.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},k.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var r=u._convertData(i);e.extend(this.defaults,r)},new k}),n.define("pumselect2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function r(t,r){if(this.options=t,null!=r&&this.fromElement(r),this.options=n.apply(this.options),r&&r.is("input")){var s=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,s)}}return r.prototype.fromElement=function(e){var n=["pumselect2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("pumselect2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-pumselect2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("pumselect2Tags")),e.data("tags",!0)),e.data("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."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var r;r=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var s=t.extend(!0,{},r);for(var o in s=i._convertData(s))t.inArray(o,n)>-1||(t.isPlainObject(this.options[o])?t.extend(this.options[o],s[o]):this.options[o]=s[o]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r}),n.define("pumselect2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var r=function(e,n){null!=e.data("pumselect2")&&e.data("pumselect2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),r.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var o=this.render();this._placeContainer(o);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var u=this.options.get("resultsAdapter");this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var c=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){c.trigger("selection:update",{data:e})}),e.addClass("pumselect2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("pumselect2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(e){return"pumselect2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},r.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var r=e.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==t){var s=e.attr("style");if("string"!=typeof s)return null;for(var o=s.split(";"),a=0,l=o.length;a<l;a+=1){var u=o[a].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return t},r.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)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.pumselect2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this._sync=n.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",t._sync,!1)},r.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(i,r){-1===e.inArray(i,n)&&t.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},r.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("pumselect2-container--open")}),this.on("close",function(){e.$container.removeClass("pumselect2-container--open")}),this.on("enable",function(){e.$container.removeClass("pumselect2-container--disabled")}),this.on("disable",function(){e.$container.addClass("pumselect2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("pumselect2-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.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(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())})},r.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",{})},r.prototype.trigger=function(e,t){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===t&&(t={}),e in i){var s=i[e],o={prevented:!1,name:e,args:t};if(n.call(this,s,o),o.prevented)return void(t.prevented=!0)}n.call(this,e,t)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("pumselect2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("pumselect2-container--focus")},r.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("pumselect2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `pumselect2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},r.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `pumselect2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];Array.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".pumselect2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("pumselect2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("pumselect2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var t=e('<span class="pumselect2 pumselect2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("pumselect2-container--"+this.options.get("theme")),t.data("element",this.$element),t},r}),n.define("pumselect2/compat/utils",["jquery"],function(e){return{syncCssClasses:function(t,n,i){var r,s,o=[];(r=e.trim(t.attr("class")))&&e((r=""+r).split(/\s+/)).each(function(){0===this.indexOf("pumselect2-")&&o.push(this)}),(r=e.trim(n.attr("class")))&&e((r=""+r).split(/\s+/)).each(function(){0!==this.indexOf("pumselect2-")&&null!=(s=i(this))&&o.push(s)}),t.attr("class",o.join(" "))}}}),n.define("pumselect2/compat/containerCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var r=i.call(this),s=this.options.get("containerCssClass")||"";e.isFunction(s)&&(s=s(this.$element));var o=this.options.get("adaptContainerCssClass");if(o=o||n,-1!==s.indexOf(":all:")){s=s.replace(":all:","");var a=o;o=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(r,this.$element,o),r.css(l),r.addClass(s),r},i}),n.define("pumselect2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var r=i.call(this),s=this.options.get("dropdownCssClass")||"";e.isFunction(s)&&(s=s(this.$element));var o=this.options.get("adaptDropdownCssClass");if(o=o||n,-1!==s.indexOf(":all:")){s=s.replace(":all:","");var a=o;o=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(r,this.$element,o),r.css(l),r.addClass(s),r},i}),n.define("pumselect2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,Array.isArray(e)||(e=[e]),t(e)})},t}),n.define("pumselect2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var r=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,r.push(t)):t.selected=!1,t.children&&r.push.apply(r,i(t.children,n)),r}for(var r=[],s=0;s<this._currentData.length;s++){var o=this._currentData[s];r.push.apply(r,i(o,this.$element.val().split(this._valueSeparator)))}n(r)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],r=0;r<e.length;r++){var s=e[r];t.id!=s.id&&i.push(s.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r],o=this.matches(t,s);null!==o&&i.push(o)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),n.define("pumselect2/compat/matcher",["jquery"],function(e){return function(t){return function(n,i){var r=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return r;if(i.children){for(var s=i.children.length-1;s>=0;s--){var o=i.children[s];t(n.term,o.text,o)||r.children.splice(s,1)}if(r.children.length>0)return r}return t(n.term,i.text,i)?r:null}}}),n.define("pumselect2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),n.define("pumselect2/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.addClass("pumselect2-dropdown--below"),n.addClass("pumselect2-container--below")},e}),n.define("pumselect2/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}),n.define("pumselect2/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}),o=function(e){var t,n,i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],s=Array.prototype.slice;if(e.event.fixHooks)for(var o=i.length;o;)e.event.fixHooks[i[--o]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=r.length;t;){var n="wheel"===r[--t]&&{passive:!0};this.addEventListener(r[t],l,n)}else this.onmousewheel=l;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=r.length;t;)this.removeEventListener(r[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(i){var r=i||window.event,o=s.call(arguments,1),l=0,p=0,d=0,h=0,m=0,f=0;if((i=e.event.fix(r)).type="mousewheel","detail"in r&&(d=-1*r.detail),"wheelDelta"in r&&(d=r.wheelDelta),"wheelDeltaY"in r&&(d=r.wheelDeltaY),"wheelDeltaX"in r&&(p=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(p=-1*d,d=0),l=0===d?p:d,"deltaY"in r&&(l=d=-1*r.deltaY),"deltaX"in r&&(p=r.deltaX,0===d&&(l=-1*p)),0!==d||0!==p){if(1===r.deltaMode){var g=e.data(this,"mousewheel-line-height");l*=g,d*=g,p*=g}else if(2===r.deltaMode){var v=e.data(this,"mousewheel-page-height");l*=v,d*=v,p*=v}if(h=Math.max(Math.abs(d),Math.abs(p)),(!n||h<n)&&(n=h,c(r,h)&&(n/=40)),c(r,h)&&(l/=40,p/=40,d/=40),l=Math[l>=1?"floor":"ceil"](l/n),p=Math[p>=1?"floor":"ceil"](p/n),d=Math[d>=1?"floor":"ceil"](d/n),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();m=i.clientX-y.left,f=i.clientY-y.top}return i.deltaX=p,i.deltaY=d,i.deltaFactor=n,i.offsetX=m,i.offsetY=f,i.deltaMode=0,o.unshift(i,l,p,d),t&&clearTimeout(t),t=setTimeout(u,200),(e.event.dispatch||e.event.handle).apply(this,o)}}function u(){n=null}function c(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof n.define&&n.define.amd?n.define("jquery-mousewheel",["jquery"],o):e.exports=o,n.define("jquery.pumselect2",["jquery","jquery-mousewheel","./pumselect2/core","./pumselect2/defaults"],function(e,t,n,i){if(null==e.fn.pumselect2){var r=["open","close","destroy"];e.fn.pumselect2=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;if("string"==typeof t)return this.each(function(){var n=e(this).data("pumselect2");null==n&&window.console&&console.error&&console.error("The pumselect2('"+t+"') method was called on an element that is not using Select2.");var r=Array.prototype.slice.call(arguments,1);i=n[t].apply(n,r)}),e.inArray(t,r)>-1?this:i;throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.pumselect2.defaults&&(e.fn.pumselect2.defaults=i),n}),{define:n.define,require:n.require}}(),i=n.require("jquery.pumselect2");return t.fn.pumselect2.amd=n,i})?i.apply(t,r):i)||(e.exports=s)},6202:()=>{!function(e){"use strict";var t={field:function(t){return e.extend(!0,{},{type:"text",id:"",id_prefix:"",name:"",label:null,placeholder:"",desc:null,dynamic_desc:null,size:"regular",classes:[],dependencies:"",value:null,select2:!1,allow_html:!1,multiple:!1,as_array:!1,options:[],object_type:null,object_key:null,std:null,min:0,max:50,force_minmax:!1,step:1,unit:"px",units:{},required:!1,desc_position:"bottom",meta:{}},t)}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.models=t}(jQuery)},7831:()=>{},8515:()=>{!function(e){"use strict";String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)};var t="color,date,datetime,datetime-local,email,hidden,month,number,password,range,search,tel,text,time,url,week".split(","),n="select,textarea".split(","),i=/\[([^\]]*)\]/g;function r(t,n){return-1!==e.inArray(n,t)}function s(e,t,n){var i=t[0];t.length>1?(e[i]||(e[i]=t[1]?{}:[]),s(e[i],t.slice(1),n)):(i||(i=e.length),e[i]=n)}var o={htmlencoder:{EncodeType:"entity",isEmpty:function(e){return!e||null===e||0==e.length||/^\s+$/.test(e)},arr1:[" ","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","­","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ",""","&","<",">","Œ","œ","Š","š","Ÿ","ˆ","˜"," "," "," ","‌","‍","‎","‏","–","—","‘","’","‚","“","”","„","†","‡","‰","‹","›","€","ƒ","Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","α","β","γ","δ","ε","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ρ","ς","σ","τ","υ","φ","χ","ψ","ω","ϑ","ϒ","ϖ","•","…","′","″","‾","⁄","℘","ℑ","ℜ","™","ℵ","←","↑","→","↓","↔","↵","⇐","⇑","⇒","⇓","⇔","∀","∂","∃","∅","∇","∈","∉","∋","∏","∑","−","∗","√","∝","∞","∠","∧","∨","∩","∪","∫","∴","∼","≅","≈","≠","≡","≤","≥","⊂","⊃","⊄","⊆","⊇","⊕","⊗","⊥","⋅","⌈","⌉","⌊","⌋","⟨","⟩","◊","♠","♣","♥","♦"],arr2:[" ","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","­","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ",""","&","<",">","Œ","œ","Š","š","Ÿ","ˆ","˜"," "," "," ","‌","‍","‎","‏","–","—","‘","’","‚","“","”","„","†","‡","‰","‹","›","€","ƒ","Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","α","β","γ","δ","ε","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ρ","ς","σ","τ","υ","φ","χ","ψ","ω","ϑ","ϒ","ϖ","•","…","′","″","‾","⁄","℘","ℑ","ℜ","™","ℵ","←","↑","→","↓","↔","↵","⇐","⇑","⇒","⇓","⇔","∀","∂","∃","∅","∇","∈","∉","∋","∏","∑","−","∗","√","∝","∞","∠","∧","∨","∩","∪","∫","∴","∼","≅","≈","≠","≡","≤","≥","⊂","⊃","⊄","⊆","⊇","⊕","⊗","⊥","⋅","⌈","⌉","⌊","⌋","〈","〉","◊","♠","♣","♥","♦"],HTML2Numerical:function(e){return this.swapArrayVals(e,this.arr1,this.arr2)},NumericalToHTML:function(e){return this.swapArrayVals(e,this.arr2,this.arr1)},numEncode:function(e){if(this.isEmpty(e))return"";for(var t=[],n=e.length,i=0;i<n;i++){var r=e.charAt(i);r<" "||r>"~"?(t.push("&#"),t.push(r.charCodeAt()),t.push(";")):t.push(r)}return t.join("")},htmlDecode:function(e){var t,n,i=e;if(this.isEmpty(i))return"";var r=(i=this.HTML2Numerical(i)).match(/&#[0-9]{1,5};/g);if(null!=r)for(var s=0;s<r.length;s++)i=(t=(n=r[s]).substring(2,n.length-1))>=-32768&&t<=65535?i.replace(n,String.fromCharCode(t)):i.replace(n,"");return i},htmlEncode:function(e,t){return this.isEmpty(e)?"":((t=t||!1)&&(e="numerical"==this.EncodeType?e.replace(/&/g,"&"):e.replace(/&/g,"&")),e=this.XSSEncode(e,!1),"numerical"!=this.EncodeType&&t||(e=this.HTML2Numerical(e)),e=this.numEncode(e),t||(e=e.replace(/&#/g,"##AMPHASH##"),e=(e="numerical"==this.EncodeType?e.replace(/&/g,"&"):e.replace(/&/g,"&")).replace(/##AMPHASH##/g,"&#")),e=e.replace(/&#\d*([^\d;]|$)/g,"$1"),t||(e=this.correctEncoding(e)),"entity"==this.EncodeType&&(e=this.NumericalToHTML(e)),e)},XSSEncode:function(e,t){return this.isEmpty(e)?"":e=(t=t||!0)?(e=(e=(e=e.replace(/\'/g,"'")).replace(/\"/g,""")).replace(/</g,"<")).replace(/>/g,">"):(e=(e=(e=e.replace(/\'/g,"'")).replace(/\"/g,""")).replace(/</g,"<")).replace(/>/g,">")},hasEncoded:function(e){return!!/&#[0-9]{1,5};/g.test(e)||!!/&[A-Z]{2,6};/gi.test(e)},stripUnicode:function(e){return e.replace(/[^\x20-\x7E]/g,"")},correctEncoding:function(e){return e.replace(/(&)(amp;)+/,"$1")},swapArrayVals:function(e,t,n){if(this.isEmpty(e))return"";var i;if(t&&n&&t.length==n.length)for(var r=0,s=t.length;r<s;r++)i=new RegExp(t[r],"g"),e=e.replace(i,n[r]);return e},inArray:function(e,t){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}},convert_meta_to_object:function(e){var t,n,i,r={};for(i in e)e.hasOwnProperty(i)&&(t=i.split(/_(.+)?/)[0],n=i.split(/_(.+)?/)[1],void 0===r[t]&&(r[t]={}),r[t][n]=e[i]);return r},object_to_array:function(e){var t,n=[];if("object"==typeof e){for(t in e)n.push(e[t]);e=n}return e},checked:function(e,t,n){var i=!1;return("object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)||"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)||e===t||e==t)&&(i=!0),void 0!==n&&n?i?' checked="checked"':"":i},selected:function(e,t,n){var i=!1;return("object"==typeof e&&"string"==typeof t&&-1!==jQuery.inArray(t,e)||"object"==typeof t&&"string"==typeof e&&-1!==jQuery.inArray(e,t)||e===t)&&(i=!0),void 0!==n&&n?i?' selected="selected"':"":i},convert_hex:function(e,t){return void 0===e?"":(void 0===t&&(t=100),e=e.toString().replace("#",""),"rgba("+parseInt(e.substring(0,2),16)+","+parseInt(e.substring(2,4),16)+","+parseInt(e.substring(4,6),16)+","+t/100+")")},debounce:function(e,t){var n;return function(){var i=this,r=arguments;window.clearTimeout(n),n=window.setTimeout(function(){e.apply(i,r)},t)}},throttle:function(e,t){var n=!1,i=function(){n=!1};return function(){n||(e(),window.setTimeout(i,t),n=!0)}},serializeForm:function(o){e.extend({},o);var a={},l=e.extend(!0,{include:[],exclude:[],includeByClass:""},o);return this.find(":input").each(function(){var o;!this.name||this.disabled||r(l.exclude,this.name)||l.include.length&&!r(l.include,this.name)||-1===this.className.indexOf(l.includeByClass)||(o=this.name.replace(i,"[$1").split("["))[0]&&(this.checked||r(t,this.type)||r(n,this.nodeName.toLowerCase()))&&("checkbox"===this.type&&o.push(""),s(a,o,e(this).val()))}),a}};window.PUM_Admin=window.PUM_Admin||{},window.PUM_Admin.utils=o,window.PUMUtils=o,e.fn.pumSerializeForm=o.serializeForm}(jQuery)}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={exports:{}};return e[i].call(s.exports,s,s.exports,n),s.exports}(()=>{"use strict";n(5766),n(3899),n(450),n(2433),n(7831),n(2998),n(6202),n(5437),n(1376),n(3720),n(478),n(3896),n(729),n(8515),function(e){e(function(){e(".pum-enabled-toggle-button").on("change",function(t){t.preventDefault();var n,i,r,s=e(this),o=0;!0===t.target.checked&&(o=1),n=s.data("popup-id"),i=o,r=s.data("nonce"),e.ajax({type:"POST",dataType:"json",url:ajaxurl,data:{action:"pum_save_enabled_state",nonce:r,popupID:n,enabled:i}})})})}(jQuery)})()})();
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists