1/*! For license information please see frontend.js.LICENSE.txt */ 2!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=1)}({1:function(e,t,n){e.exports=n("t9xu")},"42Mr":function(e,t,n){(function(e){var t;(t=e)(document).ready((function(){function n(){"undefined"!=typeof MathJax&&MathJax.Hub.Typeset(),a()}function o(){var e=t(".wpcw_fe_quiz_box_wrap form");e.attr("data-wpcw_expired","expired"),e.submit()}function i(){t("#wpcw_fe_timer_countdown").hide().wpcwcountdown("destroy")}function r(o){var r=t(".wpcw_fe_quiz_box_wrap form"),a=t(".wpcw_fe_quiz_q_answers input[type=checkbox],.wpcw_fe_quiz_q_answers input[type=radio]").attr("name"),l=t(".wpcw_fe_quiz_q_answers input[type=hidden]").attr("name"),c=t(".wpcw_fe_quiz_q_answers input[type=hidden]").serializeArray();r.find(".wpcw_loader").show(),r.find(".wpcw_fe_quiz_submit input, a.fe_btn").hide();var u={action:"wpcw_handle_unit_quiz_jump_question",quizid:r.attr("data-wpcw_quiz"),unitid:r.attr("data-wpcw_unit"),qu_direction:o,quiz_question:a,quiz_answers_name:l,quiz_answers:c,progress_nonce:wpcw_frontend_params.progress_nonce};i(),e.post(wpcw_frontend_params.ajaxurl,u,(function(e){t("#wpcw_fe_outer_wrap").html(e),s(),n()}))}function s(){var e=t(".wpcw_fe_quiz_box_wrap form");if(e.length>0){t(window).bind("pageshow",(function(){"#completed"===window.location.hash&&window.location.assign(window.location.pathname+window.location.search)}));var r=e.attr("id"),a=e.find(".wpcw_fe_upload_progress .wpcw_progress_bar"),l=e.find(".wpcw_fe_upload_progress .wpcw_progress_percent"),c=!1,u={action:"wpcw_handle_unit_quiz_response",id:r,timerexpired:e.attr("data-wpcw_expired"),progress_nonce:wpcw_frontend_params.progress_nonce},p={target:".wpcw_fe_quiz_box_wrap#wpcw_fe_"+r,replaceTarget:!0,url:wpcw_frontend_params.ajaxurl,data:u,type:"POST",beforeSubmit:function(n,o,s){if(t(".wpcw_fe_quiz_q_single").removeClass("wpcw_fe_quiz_q_error"),"expired"!=e.attr("data-wpcw_expired")){for(var u=!1,p=0;p<n.length;p++)if(!n[p].name.startsWith("ak_")&&!n[p].name.startsWith("wpcw_fillblank_intput")&&!n[p].value){var d=n[p].name.replace("[]","");t("#wpcw_fe_wrap_"+d).addClass("wpcw_fe_quiz_q_error"),u=!0}if(t("#"+r+" .wpcw_question_type_matrixsorting").each((function(){t(this).find(".wpcw_matrix_sorting_ans_ul").length!=t(this).find(".wpcw_matrix_sorting_ans_ul li").length&&(t(this).addClass("wpcw_fe_quiz_q_error"),u=!0)})),t("#"+r+" .wpcw_fe_quiz_q_multi, #"+r+" .wpcw_fe_quiz_q_truefalse").each((function(){0==t(this).find("input:checked").length&&(t(this).addClass("wpcw_fe_quiz_q_error"),u=!0)})),u){var h=e.closest(".wpcw_fe_quiz_box_wrap"),f=t(".wpcw_fe_progress_box_wrap .wpcw_fe_progress_box_error");return 0==f.length?t('<div class="wpcw_fe_progress_box_wrap"><div class="wpcw_fe_progress_box wpcw_fe_progress_box_error">'+wpcw_frontend_params.str_quiz_all_fields+"</div></div>").insertBefore(h):f.text(wpcw_frontend_params.str_quiz_all_fields),t("html, body").animate({scrollTop:t(".wpcw_fe_quiz_box_wrap").offset().top-100},200),!1}}if(e.find(".wpcw_fe_quiz_submit input").hide(),e.find(".wpcw_loader").show(),t(".wpcw_fe_navigation_box").hide(),t(".wpcw_fe_progress_box_wrap .wpcw_fe_progress_box_error").remove(),t(".wpcw_fe_progress_box_wrap .wpcw_fe_progress_box_success").remove(),t(".wpcw_fe_progress_box").remove(),a.width("0%"),l.html("0%"),i(),e.find(".wpcw_fe_quiz_q_upload_wrapper").length>0&&t(".wpcw_fe_upload_progress").show(),n.length)for(p=0;p<n.length;p++)n[p].hasOwnProperty("name")&&("submitfinal"===n[p].name&&"1"===n[p].value&&(c=!0),"showResultsLater"
2===n[p].name&&n[p].value)},uploadProgress:function(e,t,n,o){var i=o+"%";a.width(i),l.text(wpcw_frontend_params.str_uploading+" "+i)},success:function(){a.width("100%"),l.text(wpcw_frontend_params.str_uploading+" 100%"),t("html, body").animate({scrollTop:t("#wpcw_fe_outer_wrap").offset().top-100},200),s(),1==t(".wpcw_fe_navigation_box").length&&t(".wpcw_fe_navigation_box").show(),n(),!0===c&&"#completed"!==window.location.hash&&window.location.replace(window.location.href+"#completed")}};t(".wpcw_fe_quiz_box_wrap form").ajaxForm(p),function(){var e=t("#wpcw_fe_timer_countdown");if(e.length>0){var n=parseInt(e.attr("data-time_left"));t("#wpcw_fe_timer_countdown").wpcwcountdown({labels:["y","m","w","d",wpcw_frontend_params.timer_units_hrs,wpcw_frontend_params.timer_units_mins,wpcw_frontend_params.timer_units_secs],labels1:["y","m","w","d",wpcw_frontend_params.timer_units_hrs,wpcw_frontend_params.timer_units_mins,wpcw_frontend_params.timer_units_secs],padZeroes:!0,until:"+"+n+"s",format:"MS",onExpiry:o})}}()}}function a(){e(document).find(".wpcw_ques_sorting_ul").length>0&&e(document).find(".wpcw_ques_sorting_ul").sortable(),t(document).find(".wpcw_ans_matrix_sorting_ul, .wpcw_matrix_sorting_ans_ul").sortable({connectWith:".wpcw_matrix_sorting_ans_ul, .wpcw_ans_matrix_sorting_ul",start:function(t,n){e(this).parents(".wpcw_fe_quiz_q_single").addClass("wpcw_sortable_started")},stop:function(t,n){e(this).parents(".wpcw_fe_quiz_q_single").removeClass("wpcw_sortable_started")},receive:function(n,o){e(this).parents(".wpcw_fe_quiz_q_single").hasClass("wpcw_sortable_started")||o.sender.sortable("cancel"),1==t(this).find("li").length||t(this).hasClass("wpcw_ans_matrix_sorting_ul")||o.sender.sortable("cancel");var i=e(this).parents(".wpcw_fe_quiz_q_matrixsorting_wrapper"),r=[];e.each(i.find(".wpcw_matrix_sorting_ans_ul "),(function(t){var n=e(this).find("li.wpcw_que_sorting_list input"),o=n.length>0?n.val():null;r[t]=o})),i.find(".wpcw_que_user_given_ans").val(JSON.stringify(r))},change:function(e,n){1==t(this).find("li").length||t(this).hasClass("wpcw_ans_matrix_sorting_ul")?t(n.placeholder).css("display",""):t(n.placeholder).css("display","none")}})}var l;t(".wpcw_fe_progress_box_mark a").click((function(){var e=t(this).attr("id"),o={action:"wpcw_handle_unit_track_progress",id:e,progress_nonce:wpcw_frontend_params.progress_nonce};return t(this).hide(),t(this).parent().find(".wpcw_loader").show(),t(".wpcw_fe_navigation_box").hide(),t.post(wpcw_frontend_params.ajaxurl,o,(function(o){o.data&&o.data.url?window.location.href=o.data.url:(t("#wpcw_fe_"+e).hide().html(o).fadeIn(),n())})),!1})),t(".wpcw_fe_enroll_button a").click((function(){var e=t(this).attr("id"),o=t(this).data("display-messages"),i=t(this).data("redirect"),r={action:"wpcw_handle_course_enrollment_button",id:e,redirect:i,enrollment_nonce:wpcw_frontend_params.enrollment_nonce};return t(this).hide(),t(this).parent().find(".wpcw_loader").show(),t.post(wpcw_frontend_params.ajaxurl,r,(function(i){i.success&&i.data.redirect?window.location=i.data.redirect:(t("#wpcw_fe_"+e).hide().html(i).fadeIn(),n(),o||setTimeout((function(){t("#wpcw_fe_"+e).fadeOut()}),5e3))})),!1})),t("#wpcw_fe_outer_wrap").on("click",".wpcw_fe_quiz_retake a.fe_btn",(function(o){o.preventDefault(),t(this).closest(".wpcw_fe_quiz_retake").find(".wpcw_loader").show(),t(this).hide();var i={action:"wpcw_handle_unit_quiz_retake_request",quizid:t(this).attr("data-wpcw_quiz"),unitid:t(this).attr("data-wpcw_unit"),progress_nonce:wpcw_frontend_params.progress_nonce};e.post(wpcw_frontend_params.ajaxurl,i,(function(e){t("#wpcw_fe_outer_wrap").html(e),s(),1==t(".wpcw_fe_navigation_box").length&&t(".wpcw_fe_navigation_box").show(),n()}))})),t("#wpcw_fe_outer_wrap").on("click","#wpcw_fe_quiz_begin_quiz",(function(o){o.preventDefault(),t(this).closest(".wpcw_fe_quiz_begin_quiz").find(".wpcw_loader").show(),t(this).hide();var i={action:"wpcw_handle_unit_quiz_timer_begin",quizid:t(this).attr("data-wpcw_quiz"),unitid:t(this).attr("data-wpcw_unit"),progress_nonce:wpcw_frontend_params.progress_nonce};e.post(wpcw_frontend_params.ajaxurl,i,(function(e){t("#wpcw_fe_outer_wrap").html(e),s(),n()}))})),t("#wpcw_fe_outer_wrap").on("click",".wpcw_fe_quiz_q_upload_change_file",(function(e){e.preventDefault();var n=t(this).closest(".wpcw_fe_quiz_q_upload_change_file_wrap"),o=t(this).attr("data-fieldid");t(this).hide(),n.find(".wpcw_fe_quiz_q_upload_change_file_cancel").show(),n.find(".wpcw_fe_quiz_q_upload_change_holder").html('<div class="wpcw_fe_quiz_q_upload_wrapper" id="'+o+'"><input type="file" name="'+o+'" class="wpcw_fe_quiz_q_upload_wrapper_file" ></div>')})),t("#wpcw_fe_outer_wrap").on("click",".wpcw_fe_quiz_q_upload_change_file_cancel",(function(e){e.preventDefault();var n=t(this).closest(".wpcw_fe_quiz_q_upload_change_file_wrap");t(this).hide(),n.find(".wpcw_fe_quiz_q_upload_change_file").show(),n.find(".wpcw_fe_quiz_q_upload_change_holder").html("")})),t("#wpcw_fe_outer_wrap").on("click","#fe_btn_quiz_previous",(function(e){e.preventDefault(),r("previous")})),t("#wpcw_fe_outer_wrap").on("click","#wpcw_fe_quiz_answer_later",(function(e){e.preventDefault(),r("next")})),s(),t(".wpcw_widget_progress .wpcw_fe_module").click((function(e){e.preventDefault();var n=t(this).attr("id");t(this).hasClass("wpcw_fe_module_toggle_hide")?(t(this).find(".wpcw_fe_toggle").text("-"),t(this).addClass("wpcw_fe_module_toggle_show").removeClass("wpcw_fe_module_toggle_hide"),t(this).closest(".wpcw_widget_progress").find("."+n).show()):(t(this).find(".wpcw_fe_toggle").text("+"),t(this).addClass("wpcw_fe_module_toggle_hide").removeClass("wpcw_fe_module_toggle_show"),t(this).closest(".wpcw_widget_progress").find("."+n).hide())}
2)),t(".wpcw_fe_course_progress_course a").click((function(e){e.preventDefault();var n=t(this).data("toggle");t(this).parent().hasClass("active")?(t(this).parent().removeClass("active"),t(this).closest(".wpcw_fe_summary_course_progress").find("#"+n).fadeOut("fast")):(t(this).parent().addClass("active"),t(this).closest(".wpcw_fe_summary_course_progress").find("#"+n).fadeIn("fast"))})),t(".wpcw_widget_progress .wpcw_fe_module_toggle_hide").each((function(){var e=t(this).attr("id");t(this).closest(".wpcw_widget_progress").find("."+e).hide()})),t("a.fe_btn_navigation_disabled").click((function(e){e.preventDefault()})),t(".wpcw-action-confirm").click((function(){return 1==confirm(t(this).attr("title"))})),e(document).on("change",".wpcw_fe_quiz_q_upload_wrapper_file",(function(t){t.target.files[0].name;var n=e(this).val();if(void 0===(o=e(this).attr("data-filetype")))var o=e(".wpcw_fe_quiz_q_upload_change_file_wrap").attr("data-filetype");var i=n.replace(/^.*\./,"");i=i.toLowerCase();var r=o,s=new Array;if(s=r.split(","),-1==e.inArray(i,s))return alert("Only formats are allowed : "+s.join(", ")),e(this).val(""),t.preventDefault(),!1})),a(),(l=t(".wpcw_fe_quiz_box_wrap").get(0))&&new MutationObserver((function(e){e.forEach((function(e){a()}))})).observe(l,{childList:!0,subtree:!0}),t("ul.wpcw_matrix_sorting_ans_ul").each((function(e,n){var o=t(n).parent("td");if(void 0!==o){var i=t(o).height();i&&(t(n).css("height",i),t(n).css("min-height",i))}}))}))}).call(this,n("xeH2"))},KiNu:function(e,t,n){"use strict";(function(e){var t=n("yjUE");e((function(e){"undefined"!=typeof wpcw_frontend_params&&({reset_unit_progress:e(".wpcw_reset_unit_progress"),init:function(){this.reset_unit_progress.on("click",this.on_reset_unit_progress)},on_reset_unit_progress:function(n){n.preventDefault();var o=e(this).data("unit-id"),i=e(this).data("student-id"),r=e(this).data("reset-type"),s=e(this).find(".wpcw-fas"),a="bulk"===r?wpcw_frontend_params.course_progress.i18n_confirm_reset_units:wpcw_frontend_params.course_progress.i18n_confirm_reset_unit;if(s.addClass("wpcw-fa-spin"),!confirm(a))return s.removeClass("wpcw-fa-spin"),!1;Object(t.c)("reset-unit-progress",{unit_id:o,student_id:i,reset_type:r}).then((function(e){s.removeClass("wpcw-fa-spin"),window.location.reload()})).fail((function(e){s.removeClass("wpcw-fa-spin")}))}}.init(),"undefined"!=typeof Cookiebot?Cookiebot.consent.preferences&&n():n());function n(){var e=Intl.DateTimeFormat().resolvedOptions().timeZone;e&&!function(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}("wpcw_timezone")&&function(e,t,n){var o="";if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+o+"; path=/"}("wpcw_timezone",e,30)}}))}).call(this,n("xeH2"))},LYrC:function(e,t,n){(function(e){e((function(e){if("undefined"!=typeof wpcw_frontend_params){var t={init:function(){e(document.body).on("keyup change","form.wpcw-register-form #reg_password, form.wpcw-checkout-form #account_password, form.wpcw-edit-account-form #password_1, form.wpcw-lost-password-reset-form #password_1",this.strength_meter)},strength_meter:function(){var n,o=e("form.wpcw-register-form, form.wpcw-checkout-form, form.wpcw-edit-account-form, form.wpcw-lost-password-reset-form"),i=e('button[type="submit"]',o),r=e("#reg_password, #account_password, #password_1",o),s=r.val();t.include_meter(o,r),n=t.check_password_strength(o,r),s.length>0&&n<wpcw_frontend_params.min_password_strength&&!o.is("form.wpcw-checkout-form")?i.attr("disabled","disabled").addClass("disabled"):i.removeAttr("disabled","disabled").removeClass("disabled")},include_meter:function(t,n){var o=t.find(".wpcw-password-strength");""===n.val()?(o.remove(),e(document.body).trigger("wpcw-password-strength-removed")):0===o.length&&(n.after('<div class="wpcw-password-strength" aria-live="polite"></div>'),e(document.body).trigger("wpcw-password-strength-added"))},check_password_strength:function(e,t){var n=e.find(".wpcw-password-strength"),o=e.find(".wpcw-password-hint"),i='<small class="wpcw-password-hint">'+wpcw_frontend_params.i18n_password_hint+"</small>",r=wp.passwordStrength.meter(t.val(),wp.passwordStrength.userInputBlacklist()),s="";switch(n.removeClass("short bad good strong"),o.remove(),r<wpcw_frontend_params.min_password_strength&&(s=" - "+wpcw_frontend_params.i18n_password_error),r){case 0:n.addClass("short").html(pwsL10n.short+s),n.after(i);break;case 1:case 2:n.addClass("bad").html(pwsL10n.bad+s),n.after(i);break;case 3:n.addClass("good").html(pwsL10n.good+s);break;case 4:n.addClass("strong").html(pwsL10n.strong+s);break;case 5:n.addClass("short").html(pwsL10n.mismatch)}return r}};t.init()}}))}).call(this,n("xeH2"))},PDX0:function(e,t){(function(t){e.exports=t}).call(this,{})},Wpdr:function(e,t,n){(function(e){e((function(e){if("undefined"!=typeof wpcw_frontend_params){var t=function(e){e.setRequestHeader("WPCW-WP-Nonce",wpcw_frontend_params.ajax_api_nonce)};({init:function(){e(document.body).on("click",".wpcw-add-to-cart",this.add).on("wpcw-added-to-cart",this.update_button)},add:function(n){var o,i=e(this);if(console.log(i),i.is(".wpcw-ajax-add-to-cart")){if(!i.attr("data-course_id"))return!0;n.preventDefault(),i.removeClass("added"),i.addClass("loading");var r={};e.each(i.data(),(function(e,t){r[e]=t})),e(document.body).trigger("wpcw-adding-to-cart",[i,r]),e.ajax({type:"post",url:(o="add-to-cart",wpcw_frontend_params.ajax_api_url.toString().replace("%%endpoint%%",o)),data:r,dataType:"json",beforeSend:t}).done((function(t){if(t.data.error)return i.removeClass("loading"),void e(t.data.message).insertBefore(i);t.data.redirect?window.location=t.data.redirect:e(document.body).trigger("wpcw-added-to-cart",[t.data.redirect,t.data.button,i])}))}},update_button:function(t,n,o,i){(i=void 0!==i&&i)&&(i.removeClass("loading"),console.log(i),i.replaceWith(o),e(document.body).trigger("wpcw-cart-button-updated",[i]))}}).init()}}))}).call(this,n("xeH2"))},efik:function(e,t,n){(function(o){var i,r,s;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r=[n("xeH2")],void 0===(s="function"==typeof(i=function(n){var i=function(){if(n&&n.fn&&n.fn.wpcwselect2&&n.fn.wpcwselect2.amd)var i=n.fn.wpcwselect2.amd;return function(){var e,t,n;i&&i.requirejs||(i?t=i:i={},function(o){var i,r,s,l,c={},u={},p={},d={},h=Object.prototype.hasOwnProperty,f=[].slice,w=/\.js$/;function g(e,t){return h.call(e,t)}function _(e,t){var n,o,i,r,s,a,l,c,u,d,h,f=t&&t.split("/"),g=p.map,_=g&&g["*"]||{};if(e){for(s=(e=e.split("/")).length-1,p.nodeIdCompat&&w.test(e[s])&&(e[s]=e[s].replace(w,"")),"."===e[0].charAt(0)&&f&&(e=f.
vendor: 4,097 bytes, line 2
2slice(0,f.length-1).concat(e)),u=0;u<e.length;u++)if("."===(h=e[u]))e.splice(u,1),u-=1;else if(".."===h){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((f||_)&&g){for(u=(n=e.split("/")).length;u>0;u-=1){if(o=n.slice(0,u).join("/"),f)for(d=f.length;d>0;d-=1)if((i=g[f.slice(0,d).join("/")])&&(i=i[o])){r=i,a=u;break}if(r)break;!l&&_&&_[o]&&(l=_[o],c=u)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join("/"))}return e}function m(e,t){return function(){var n=f.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),r.apply(void 0,n.concat([e,t]))}}function v(e){return function(t){c[e]=t}}function y(e){if(g(u,e)){var t=u[e];delete u[e],d[e]=!0,i.apply(void 0,t)}if(!g(c,e)&&!g(d,e))throw new Error("No "+e);return c[e]}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 x(e){return e?b(e):[]}function $(e){return function(){return p&&p.config&&p.config[e]||{}}}s=function(e,t){var n,o,i=b(e),r=i[0],s=t[1];return e=i[1],r&&(n=y(r=_(r,s))),r?e=n&&n.normalize?n.normalize(e,(o=s,function(e){return _(e,o)})):_(e,s):(r=(i=b(e=_(e,s)))[0],e=i[1],r&&(n=y(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},l={require:function(e){return m(e)},exports:function(e){var t=c[e];return void 0!==t?t:c[e]={}},module:function(e){return{id:e,uri:"",exports:c[e],config:$(e)}}},i=function(e,t,n,o){var i,r,p,h,f,w,_,b=[],$=a(n);if(w=x(o=o||e),"undefined"===$||"function"===$){for(t=!t.length&&n.length?["require","exports","module"]:t,f=0;f<t.length;f+=1)if("require"===(r=(h=s(t[f],w)).f))b[f]=l.require(e);else if("exports"===r)b[f]=l.exports(e),_=!0;else if("module"===r)i=b[f]=l.module(e);else if(g(c,r)||g(u,r)||g(d,r))b[f]=y(r);else{if(!h.p)throw new Error(e+" missing "+r);h.p.load(h.n,m(o,!0),v(r),{}),b[f]=c[r]}p=n?n.apply(c[e],b):void 0,e&&(i&&void 0!==i.exports&&i.exports!==c[e]?c[e]=i.exports:void 0===p&&_||(c[e]=p))}else e&&(c[e]=n)},e=t=r=function(e,t,n,o,a){if("string"==typeof e)return l[e]?l[e](t):y(s(e,x(t)).f);if(!e.splice){if((p=e).deps&&r(p.deps,p.callback),!t)return;t.splice?(e=t,t=n,n=null):e=void 0}return t=t||function(){},"function"==typeof n&&(n=o,o=a),o?i(void 0,e,t,n):setTimeout((function(){i(void 0,e,t,n)}),4),r},r.config=function(e){return r(e)},e._defined=c,(n=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=[]),g(c,e)||g(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),i.requirejs=e,i.require=t,i.define=n)}(),i.define("almond",(function(){})),i.define("jquery",[],(function(){var e=n||o;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})),i.define("wpcwselect2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var o in t)"function"==typeof t[o]&&"constructor"!==o&&n.push(o);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function o(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},t.Decorate=function(e,t){var o=n(t),i=n(e);function r(){var n=Array.prototype.unshift,o=t.prototype.constructor.length,i=e.prototype.constructor;o>0&&(n.call(arguments,e.prototype.constructor),i=t.prototype.constructor),i.apply(this,arguments)}t.displayName=e.displayName,r.prototype=new function(){this.constructor=r};for(var s=0;s<i.length;s++){var a=i[s];r.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in r.prototype&&(n=r.prototype[e]);var o=t.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,n),o.apply(this,arguments)}},c=0;c<o.length;c++){var u=o[c];r.prototype[u]=l(u)}return r};var o=function(){this.listeners={}};return o.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},o.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1
2);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},o.prototype.invoke=function(e,t){for(var n=0,o=e.length;n<o;n++)e[n].apply(this,t)},t.Observable=o,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("-"),o=e;if(1!==n.length){for(var i=0;i<n.length;i++){var r=n[i];(r=r.substring(0,1).toLowerCase()+r.substring(1))in o||(o[r]={}),i==n.length-1&&(o[r]=e[t]),o=o[r]}delete e[t]}}return e},t.hasScroll=function(t,n){var o=e(n),i=n.style.overflowX,r=n.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||o.innerHeight()<n.scrollHeight||o.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 o=e();e.map(n,(function(e){o=o.add(e)})),n=o}t.append(n)},t})),i.define("wpcwselect2/results",["jquery","./utils"],(function(e,t){function n(e,t,o){this.$element=e,this.data=o,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="wpcwselect2-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 o=e('<li role="treeitem" aria-live="assertive" class="wpcwselect2-results__option"></li>'),i=this.options.get("translations").get(t.message);o.append(n(i(t.args))),o[0].className+=" wpcwselect2-results__message",this.$results.append(o)},n.prototype.hideMessages=function(){this.$results.find(".wpcwselect2-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 o=e.results[n],i=this.option(o);t.push(i)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".wpcwselect2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".wpcwselect2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current((function(n){var o=e.map(n,(function(e){return e.id.toString()}));t.$results.find(".wpcwselect2-results__option[aria-selected]").each((function(){var t=e(this),n=e.data(this,"data"),i=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(i,o)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")}))}))},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="wpcwselect2-results__option";var o={role:"treeitem","aria-selected":"false"};for(var i in t.disabled&&(delete o["aria-selected"],o["aria-disabled"]="true"),null==t.id&&delete o["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(o.role="group",o["aria-label"]=t.text,delete o["aria-selected"]),o){var r=o[i];n.setAttribute(i,r)}if(t.children){var s=e(n),a=document.createElement("strong");a.className="wpcwselect2-results__group",e(a),this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],p=this.option(u);l.push(p)}var d=e("<ul></ul>",{class:"wpcwselect2-results__options wpcwselect2-results__options--nested"});d.append(l),s.append(a),s.append(d)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var o=this,i=t.id+"-results";this.$results.attr("id",i),t.on("results:all",(function(e){o.clear(),o.append(e.data),t.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),t.on("results:append",(function(e){o.append(e.data),t.isOpen()&&o.setClasses()})),t.on("query",(function(e){o.hideMessages(),o.showLoading(e)}
2)),t.on("select",(function(){t.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),t.on("unselect",(function(){t.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),t.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),t.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),t.on("results:toggle",(function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),t.on("results:select",(function(){var e=o.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:t})}})),t.on("results:previous",(function(){var e=o.getHighlightedResults(),t=o.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var s=o.$results.offset().top,a=r.offset().top,l=o.$results.scrollTop()+(a-s);0===i?o.$results.scrollTop(0):a-s<0&&o.$results.scrollTop(l)}})),t.on("results:next",(function(){var e=o.getHighlightedResults(),t=o.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=o.$results.offset().top+o.$results.outerHeight(!1),s=i.offset().top+i.outerHeight(!1),a=o.$results.scrollTop()+s-r;0===n?o.$results.scrollTop(0):s>r&&o.$results.scrollTop(a)}})),t.on("results:focus",(function(e){e.element.addClass("wpcwselect2-results__option--highlighted")})),t.on("results:message",(function(e){o.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,i=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=o.$results.height();i?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".wpcwselect2-results__option[aria-selected]",(function(t){var n=e(this),i=n.data("data");"true"!==n.attr("aria-selected")?o.trigger("select",{originalEvent:t,data:i}):o.options.get("multiple")?o.trigger("unselect",{originalEvent:t,data:i}):o.trigger("close",{})})),this.$results.on("mouseenter",".wpcwselect2-results__option[aria-selected]",(function(t){var n=e(this).data("data");o.getHighlightedResults().removeClass("wpcwselect2-results__option--highlighted"),o.trigger("results:focus",{data:n,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".wpcwselect2-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,o=e.offset().top,i=this.$results.scrollTop()+(o-n),r=o-n;i-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(t,n){var o=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),r=o(t,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=i(r):e(n).append(r)},n})),i.define("wpcwselect2/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}})),i.define("wpcwselect2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return t.Extend(o,t.Observable),o.prototype.render=function(){var t=e('<span class="wpcwselect2-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},o.prototype.bind=function(e,t){var o=this,i=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",(function(e){o.trigger("focus",e)})),this.$selection.on("blur",(function(e){o._handleBlur(e)})),this.$selection.on("keydown",(function(e){o.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){o.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){o.update(e.data)})),e.on("open",(function(){o.$selection.attr("aria-expanded","true"),o.$selection.attr("aria-owns",i),o._attachCloseHandler(e)})),e.on("close",(function(){o.$selection.attr("aria-expanded","fal
2se"),o.$selection.removeAttr("aria-activedescendant"),o.$selection.removeAttr("aria-owns"),o.$selection.focus(),o._detachCloseHandler(e)})),e.on("enable",(function(){o.$selection.attr("tabindex",o._tabindex)})),e.on("disable",(function(){o.$selection.attr("tabindex","-1")}))},o.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)},o.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.wpcwselect2."+t.id,(function(t){var n=e(t.target).closest(".wpcwselect2");e(".wpcwselect2.wpcwselect2-container--open").each((function(){var t=e(this);this!=n[0]&&t.data("element").wpcwselect2("close")}))}))},o.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.wpcwselect2."+t.id)},o.prototype.position=function(e,t){t.find(".selection").append(e)},o.prototype.destroy=function(){this._detachCloseHandler(this.container)},o.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},o})),i.define("wpcwselect2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,o){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("wpcwselect2-selection--single"),e.html('<span class="wpcwselect2-selection__rendered"></span><span class="wpcwselect2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var o=e.id+"-container";this.$selection.find(".wpcwselect2-selection__rendered").attr("id",o),this.$selection.attr("aria-labelledby",o),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.focus()})),e.on("selection:update",(function(e){n.update(e.data)}))},i.prototype.clear=function(){this.$selection.find(".wpcwselect2-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("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".wpcwselect2-selection__rendered"),o=this.display(t,n);n.empty().append(o),n.prop("title",t.title||t.text)}else this.clear()},i})),i.define("wpcwselect2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function o(e,t){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("wpcwselect2-selection--multiple"),e.html('<ul class="wpcwselect2-selection__rendered"></ul>'),e},o.prototype.bind=function(t,n){var i=this;o.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){i.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".wpcwselect2-selection__choice__remove",(function(t){if(!i.options.get("disabled")){var n=e(this).parent().data("data");i.trigger("unselect",{originalEvent:t,data:n})}}))},o.prototype.clear=function(){this.$selection.find(".wpcwselect2-selection__rendered").empty()},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e('<li class="wpcwselect2-selection__choice"><span class="wpcwselect2-selection__choice__remove" role="presentation">×</span></li>')},o.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],o=0;o<e.length;o++){var i=e[o],r=this.selectionContainer(),s=this.display(i,r);r.append(s),r.prop("title",i.title||i.text),r.data("data",i),t.push(r)}var a=this.$selection.find(".wpcwselect2-selection__rendered");n.appendMany(a,t)}},o})),i.define("wpcwselect2/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("wpcwselect2-selection__placeholder").removeClass("wpcwselect2-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 o=this.createPlaceholder(this.placeholder);this.$selection.find(".wpcwselect2-selection__rendered").append(o)},t}
2)),i.define("wpcwselect2/selection/allowClear",["jquery","../keys"],(function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var o=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",".wpcwselect2-selection__clear",(function(e){o._handleClear(e)})),t.on("keypress",(function(e){o._handleKeyboardClear(e,t)}))},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".wpcwselect2-selection__clear");if(0!==n.length){t.stopPropagation();for(var o=n.data("data"),i=0;i<o.length;i++){var r={data:o[i]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,o){o.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(".wpcwselect2-selection__placeholder").length>0||0===n.length)){var o=e('<span class="wpcwselect2-selection__clear">×</span>');o.data("data",n),this.$selection.find(".wpcwselect2-selection__rendered").prepend(o)}},n})),i.define("wpcwselect2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function o(e,t,n){e.call(this,t,n)}return o.prototype.render=function(t){var n=e('<li class="wpcwselect2-search wpcwselect2-search--inline"><input class="wpcwselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var o=t.call(this);return this._transferTabIndex(),o},o.prototype.bind=function(e,t,o){var i=this;e.call(this,t,o),t.on("open",(function(){i.$search.trigger("focus")})),t.on("close",(function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")})),t.on("enable",(function(){i.$search.prop("disabled",!1),i._transferTabIndex()})),t.on("disable",(function(){i.$search.prop("disabled",!0)})),t.on("focus",(function(e){i.$search.trigger("focus")})),t.on("results:focus",(function(e){i.$search.attr("aria-activedescendant",e.id)})),this.$selection.on("focusin",".wpcwselect2-search--inline",(function(e){i.trigger("focus",e)})),this.$selection.on("focusout",".wpcwselect2-search--inline",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",".wpcwselect2-search--inline",(function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===i.$search.val()){var t=i.$searchContainer.prev(".wpcwselect2-selection__choice");if(t.length>0){var o=t.data("data");i.searchRemoveChoice(o),e.preventDefault()}}}));var r=document.documentMode,s=r&&r<=11;this.$selection.on("input.searchcheck",".wpcwselect2-search--inline",(function(e){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".wpcwselect2-search--inline",(function(e){if(s&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&i.handleSearch(e)}}))},o.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},o.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},o.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".wpcwselect2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},o.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},o.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},o.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".wpcwselect2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},o})),i.define("wpcwselect2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,o){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,n,o),n.on("*",(function(t,n){if(-1!==e.inArray(t,r)){n=n||{};var o=e.Event("wpcwselect2:"+t,{params:n});i.$element.trigger(o),-1!==e.inArray(t,s)&&(n.prevented=o.isDefaultPrevented())}}))},t})),i.define("wpcwselect2/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={}
2,n.loadPath=function(e){if(!(e in n._cache)){var o=t(e);n._cache[e]=o}return new n(n._cache[e])},n})),i.define("wpcwselect2/diacritics",[],(function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"
2c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï"}})),i.define("wpcwselect2/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 o=t.id+"-result-";return o+=e.generateChars(4),null!=n.id?o+="-"+n.id.toString():o+="-"+e.generateChars(4),o},t})),i.define("wpcwselect2/data/select",["./base","../utils","jquery"],(function(e,t,n){function o(e,t){this.$element=e,this.options=t,o.__super__.constructor.call(this)}return t.Extend(o,e),o.prototype.current=function(e){var t=[],o=this;this.$element.find(":selected").each((function(){var e=n(this),i=o.item(e);t.push(i)})),e(t)},o.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(o){var i=[];(e=[e]).push.apply(e,o);for(var r=0;r<e.length;r++){var s=e[r].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}));else{var o=e.id;this.$element.val(o),this.$element.trigger("change")}},o.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(o){for(var i=[],r=0;r<o.length;r++){var s=o[r].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}))}},o.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)}))},o.prototype.destroy=function(){this.$element.find("*").each((function(){n.removeData(this,"data")}))},o.prototype.query=function(e,t){var o=[],i=this;this.$element.children().each((function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var r=i.item(t),s=i.matches(e,r);null!==s&&o.push(s)}})),t({results:o})},o.prototype.addOptions=function(e){t.appendMany(this.$element,e)},o.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,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var o=n(t),i=this._normalizeItem(e);return i.element=t,n.data(t,"data",i),o},o.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 o=e.children("option"),i=[],r=0;r<o.length;r++){var s=n(o[r]),a=this.item(s);i.push(a)}t.children=i}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],"data",t),t},o.prototype._normalizeItem=function(e){return n.isPlainObject(e)||(e={id:e,text:e}),null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},o.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},o})),i.define("wpcwselect2/data/array",["./select","../utils","jquery"],(function(e,t,n){function o(e,t){var n=t.get("data")||[];o.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(o,e),o.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)),o.__super__.select.call(this,e)},o.prototype.convertToOptions=function(e){var o=this,i=this.$element.find("option"),r=i.map((function(){return o.item(n(this)).id})).get(),s=[];function a(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,r)>=0){var u=i.filter(a(c)),p=this.item(u),d=n.extend(!0,{},c,p),h=this.option(d);u.replaceWith(h)}else{var f=this.option(c);if(c.children){var w=this.convertToOptions(c.children);t.appendMany(f,w)}s.push(f)}}return s},o})),i.define("wpcwselect2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function o(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),o.__super__.constructor.call(this,e,t)}return t.Extend(o,e),o.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,o){var i=n.ajax(e);return i.then(t),i.fail(o),i}};return n.extend({},t,e,!0)},o.prototype.processResults=function(e){return e},o.prototype.query=function(e,t){var o=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function r(){var r=i.transport(i,(function(i){var r=o.processResults(i,e);o.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)}),(function(){r.status&&"0"===r.status||o.trigger("results:message",{message:"errorLoading"})}));o._request=r}"function"==typeof i.url&&(i.url=i.url.call(this.$element,e)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},o})),i.define("wpcwselect2/data/tags",["jquery"],(function(e){function t(t,n,o){var i=o.get("tags"),r=o.get("createTag");void 0!==r&&(this.createTag=r);var s=o.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,o),e.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){var o=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(i,r){for(var s=i.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!r&&(i.data=s,void n(i))}if(r)return!0;var u=o.createTag(t);if(null!=u){var p=o.option(u);p.attr("data-wpcwselect2-tag",!0),o.addOptions([p]),o.insertTag(s,u)}i.results=s,n(i)})):e.call(this,t,n)},t.prototype.createTag=function(t,n){var o=e.trim(n.term);
2return""===o?null:{id:o,text:o}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag,this.$element.find("option[data-wpcwselect2-tag]").each((function(){this.selected||e(this).remove()}))},t})),i.define("wpcwselect2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var o=n.get("tokenizer");void 0!==o&&(this.tokenizer=o),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(".wpcwselect2-search__field")},t.prototype.query=function(t,n,o){var i=this;n.term=n.term||"";var r=this.tokenizer(n,this.options,(function(t){var n=i._normalizeItem(t);if(!i.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var o=i.option(n);o.attr("data-wpcwselect2-tag",!0),i._removeOldTags(),i.addOptions([o])}!function(e){i.trigger("select",{data:e})}(n)}));r.term!==n.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),n.term=r.term),t.call(this,n,o)},t.prototype.tokenizer=function(t,n,o,i){for(var r=o.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,r)){var u=s.substr(0,a),p=l(e.extend({},n,{term:u}));null!=p?(i(p),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t})),i.define("wpcwselect2/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})),i.define("wpcwselect2/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})),i.define("wpcwselect2/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 o=this;this.current((function(i){var r=null!=i?i.length:0;o.maximumSelectionLength>0&&r>=o.maximumSelectionLength?o.trigger("results:message",{message:"maximumSelected",args:{maximum:o.maximumSelectionLength}}):e.call(o,t,n)}))},e})),i.define("wpcwselect2/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="wpcwselect2-dropdown"><span class="wpcwselect2-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})),i.define("wpcwselect2/dropdown/search",["jquery","../utils"],(function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),o=e('<span class="wpcwselect2-search wpcwselect2-search--dropdown"><input class="wpcwselect2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=o,this.$search=o.find("input"),n.prepend(o),n},n.prototype.bind=function(t,n,o){var i=this;t.call(this,n,o),this.$search.on("keydown",(function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){i.handleSearch(e)})),n.on("open",(function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout((function(){i.$search.focus()}),0)})),n.on("close",(function(){i.$search.attr("tabindex",-1),i.$search.val("")})),n.on("focus",(function(){n.isOpen()||i.$search.focus()})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("wpcwselect2-search--hide"):i.$searchContainer.addClass("wpcwselect2-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})),i.define("wpcwselect2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,o){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,o)}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),o=t.length-1;o>=0;o--){var i=t[o];this.placeholder.id===i.id&&n.splice(o,1)}return n},e})),i.define("wpcwselect2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,o){this.lastParams={},e.call(this,t,n,o),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,o){var i=this;t.call(this,n,o),n.on("query",(function(e){i.lastParams=e,i.loading=!0})),n.on("query:append",(function(e){i.lastParams=e,i.loading=!0})),this.$results.on("scroll",(function(){var t=e.contains(document.documentElement,i.$loadingMore[0]);!i.loading&&t&&i.$results.offset().top+i.$results.outerHeight(!1)+50>=i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)&&i.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="wpcwselect2-results__option wpcwselect2-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})),i.define("wpcwselect2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,o){this.$dropdownParent=o.get("dropdownParent")||e(document.body),t.call(this,n,o)}return n.prototype.bind=function(e,t,n){var o=this,i=!1;e.call(this,t,n),t.on("open",(function(){o._showDropdown(),o._attachPositioningHandler(t),i||(i=!0,t.on("results:all",(function(){o._positionDropdown(),o._resizeDropdown()})),t.on("results:append",(function(){o._positionDropdown(),o._resizeDropdown()})))})),t.on("close",(function(){o._hideDropdown(),o._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("wpcwselect2"),t.addClass("wpcwselect2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),o=t.call(this);return n.append(o),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,o){var i=this,r="scroll.wpcwselect2."+o.id,s="resize.wpcwselect2."+o.id,a="orientationchange.wpcwselect2."+o.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){e(this).data("wpcwselect2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(r,(function(t){var n=e(this).data("wpcwselect2-scroll-position");e(this).scrollTop(n.y)})),e(window).on(r+" "+s+" "+a,(function(e){i._positionDropdown(),i._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,o){var i="scroll.wpcwselect2."+o.id,r="resize.wpcwselect2."+o.id,s="orientationchange.wpcwselect2."+o.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+r+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("wpcwselect2-dropdown--above"),o=this.$dropdown.hasClass("wpcwselect2-dropdown--below"),i=null,r=this.$container.offset();
2r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<r.top-a,p=c>r.bottom+a,d={left:r.left,top:s.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var f=h.offset();d.top-=f.top,d.left-=f.left,n||o||(i="below"),p||!u||n?!u&&p&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(d.top=s.top-f.top-a),null!=i&&(this.$dropdown.removeClass("wpcwselect2-dropdown--below wpcwselect2-dropdown--above").addClass("wpcwselect2-dropdown--"+i),this.$container.removeClass("wpcwselect2-container--below wpcwselect2-container--above").addClass("wpcwselect2-container--"+i)),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.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),i.define("wpcwselect2/dropdown/minimumResultsForSearch",[],(function(){function e(e,t,n,o){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,o)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,o=0;o<t.length;o++){var i=t[o];i.children?n+=e(i.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e})),i.define("wpcwselect2/dropdown/selectOnClose",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var o=this;e.call(this,t,n),t.on("close",(function(e){o._handleSelectOnClose(e)}))},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var i=o.data("data");null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})}},e})),i.define("wpcwselect2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var o=this;e.call(this,t,n),t.on("select",(function(e){o._selectTriggered(e)})),t.on("unselect",(function(e){o._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),i.define("wpcwselect2/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â¦"}}})),i.define("wpcwselect2/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,o,i,r,s,a,l,c,u,p,d,h,f,w,g,_,m,v,y,b,x,$,k,C,q,S,O){function A(){this.reset()}return A.prototype.apply=function(p){if(null==(p=e.extend(!0,{},this.defaults,p)).dataAdapter){if(null!=p.ajax?p.dataAdapter=f:null!=p.data?p.dataAdapter=h:p.dataAdapter=d,p.minimumInputLength>0&&(p.dataAdapter=c.Decorate(p.dataAdapter,_)),p.maximumInputLength>0&&(p.dataAdapter=c.Decorate(p.dataAdapter,m)),p.maximumSelectionLength>0&&(p.dataAdapter=c.Decorate(p.dataAdapter,v)),p.tags&&(p.dataAdapter=c.Decorate(p.dataAdapter,w)),null==p.tokenSeparators&&null==p.tokenizer||(p.dataAdapter=c.Decorate(p.dataAdapter,g)),null!=p.query
vendor: 2,177 bytes, line 2
2){var O=t(p.amdBase+"compat/query");p.dataAdapter=c.Decorate(p.dataAdapter,O)}if(null!=p.initSelection){var A=t(p.amdBase+"compat/initSelection");p.dataAdapter=c.Decorate(p.dataAdapter,A)}}if(null==p.resultsAdapter&&(p.resultsAdapter=n,null!=p.ajax&&(p.resultsAdapter=c.Decorate(p.resultsAdapter,$)),null!=p.placeholder&&(p.resultsAdapter=c.Decorate(p.resultsAdapter,x)),p.selectOnClose&&(p.resultsAdapter=c.Decorate(p.resultsAdapter,q))),null==p.dropdownAdapter){if(p.multiple)p.dropdownAdapter=y;else{var E=c.Decorate(y,b);p.dropdownAdapter=E}if(0!==p.minimumResultsForSearch&&(p.dropdownAdapter=c.Decorate(p.dropdownAdapter,C)),p.closeOnSelect&&(p.dropdownAdapter=c.Decorate(p.dropdownAdapter,S)),null!=p.dropdownCssClass||null!=p.dropdownCss||null!=p.adaptDropdownCssClass){var I=t(p.amdBase+"compat/dropdownCss");p.dropdownAdapter=c.Decorate(p.dropdownAdapter,I)}p.dropdownAdapter=c.Decorate(p.dropdownAdapter,k)}if(null==p.selectionAdapter){if(p.multiple?p.selectionAdapter=i:p.selectionAdapter=o,null!=p.placeholder&&(p.selectionAdapter=c.Decorate(p.selectionAdapter,r)),p.allowClear&&(p.selectionAdapter=c.Decorate(p.selectionAdapter,s)),p.multiple&&(p.selectionAdapter=c.Decorate(p.selectionAdapter,a)),null!=p.containerCssClass||null!=p.containerCss||null!=p.adaptContainerCssClass){var D=t(p.amdBase+"compat/containerCss");p.selectionAdapter=c.Decorate(p.selectionAdapter,D)}p.selectionAdapter=c.Decorate(p.selectionAdapter,l)}if("string"==typeof p.language)if(p.language.indexOf("-")>0){var j=p.language.split("-")[0];p.language=[p.language,j]}else p.language=[p.language];if(e.isArray(p.language)){var T=new u;p.language.push("en");for(var z=p.language,U=0;U<z.length;U++){var P=z[U],L={};try{L=u.loadPath(P)}catch(e){try{P=this.defaults.amdLanguageBase+P,L=u.loadPath(P)}catch(e){p.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+P+'" could not be automatically loaded. A fallback will be used instead.');continue}}T.extend(L)}p.translations=T}else{var M=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(p.language);H.extend(M),p.translations=H}return p},A.prototype.reset=function(){function t(e){return e.replace(/[^\u
20000-\u007E]/g,(function(e){return p[e]||e}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:O,matcher:function n(o,i){if(""===e.trim(o.term))return i;if(i.children&&i.children.length>0){for(var r=e.extend(!0,{},i),s=i.children.length-1;s>=0;s--)null==n(o,i.children[s])&&r.children.splice(s,1);return r.children.length>0?r:n(o,r)}var a=t(i.text).toUpperCase(),l=t(o.term).toUpperCase();return a.indexOf(l)>-1?i: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"}},A.prototype.set=function(t,n){var o={};o[e.camelCase(t)]=n;var i=c._convertData(o);e.extend(this.defaults,i)},new A})),i.define("wpcwselect2/options",["require","jquery","./defaults","./utils"],(function(e,t,n,o){function i(t,i){if(this.options=t,null!=i&&this.fromElement(i),this.options=n.apply(this.options),i&&i.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=o.Decorate(this.options.dataAdapter,r)}}return i.prototype.fromElement=function(e){var n=["wpcwselect2"];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("wpcwselect2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-wpcwselect2-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("wpcwselect2Tags")),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 i={};i=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var r=t.extend(!0,{},i);for(var s in r=o._convertData(r))t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i})),i.define("wpcwselect2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,o){var i=function e(n,o){null!=n.data("wpcwselect2")&&n.data("wpcwselect2").destroy(),this.$element=n,this.id=this._generateId(n),o=o||{},this.options=new t(o,n),e.__super__.constructor.call(this);var i=n.attr("tabindex")||0;n.data("old-tabindex",i),n.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(n,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(n,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(n,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(n,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){u.trigger("selection:update",{data:e})})),n.addClass("wpcwselect2-hidden-accessible"),n.attr("aria-hidden","true"),this._syncAttributes(),n.data("wpcwselect2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){return"wpcwselect2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},i.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 o=this._resolveWidth(e,"style");return null!=o?o:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},i.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)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.wpcwselect2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.wpcwselect2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var o=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=o?(this._observer=new o((function(n){e.each(n,t._syncA),e.each(n,t._syncS)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}
2))},i.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(o,i){-1===e.inArray(o,n)&&t.trigger(o,i)}))},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("wpcwselect2-container--open")})),this.on("close",(function(){e.$container.removeClass("wpcwselect2-container--open")})),this.on("enable",(function(){e.$container.removeClass("wpcwselect2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("wpcwselect2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("wpcwselect2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),null!==this.dataAdapter&&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===o.ESC||n===o.TAB||n===o.UP&&t.altKey?(e.close(),t.preventDefault()):n===o.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===o.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===o.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===o.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===o.ENTER||n===o.SPACE||n===o.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,o=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var i=0;i<t.addedNodes.length;i++)t.addedNodes[i].selected&&(n=!0);else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current((function(e){o.trigger("selection:update",{data:e})}))}},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,o={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===t&&(t={}),e in o){var r=o[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){return this.$container.hasClass("wpcwselect2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("wpcwselect2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("wpcwselect2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `wpcwselect2("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)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `wpcwselect2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},i.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `wpcwselect2("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];e.isArray(n)&&(n=e.map(n,(function(e){return e.toString()}))),this.$element.val(n).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".wpcwselect2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("wpcwselect2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("wpcwselect2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e('<span class="wpcwselect2 wpcwselect2-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("wpcwselect2-container--"+this.options.get("theme")),t.data("element",this.$element),t},i})),i.define("wpcwselect2/compat/utils",["jquery"],(function(e){return{syncCssClasse
2s:function(t,n,o){var i,r,s=[];(i=e.trim(t.attr("class")))&&e((i=""+i).split(/\s+/)).each((function(){0===this.indexOf("wpcwselect2-")&&s.push(this)})),(i=e.trim(n.attr("class")))&&e((i=""+i).split(/\s+/)).each((function(){0!==this.indexOf("wpcwselect2-")&&null!=(r=o(this))&&s.push(r)})),t.attr("class",s.join(" "))}}})),i.define("wpcwselect2/compat/containerCss",["jquery","./utils"],(function(e,t){function n(e){return null}function o(){}return o.prototype.render=function(o){var i=o.call(this),r=this.options.get("containerCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=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(i,this.$element,s),i.css(l),i.addClass(r),i},o})),i.define("wpcwselect2/compat/dropdownCss",["jquery","./utils"],(function(e,t){function n(e){return null}function o(){}return o.prototype.render=function(o){var i=o.call(this),r=this.options.get("dropdownCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}
2var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(i,this.$element,s),i.css(l),i.addClass(r),i},o})),i.define("wpcwselect2/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(t,n){var o=this;this._isInitialized?t.call(this,n):this.initSelection.call(null,this.$element,(function(t){o._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)}))},t})),i.define("wpcwselect2/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 o(t,n){var i=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,i.push(t)):t.selected=!1,t.children&&i.push.apply(i,o(t.children,n)),i}for(var i=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];i.push.apply(i,o(s,this.$element.val().split(this._valueSeparator)))}n(i)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var o=this.$element.val();o+=this._valueSeparator+n.id,this.$element.val(o),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 o=[],i=0;i<e.length;i++){var r=e[i];t.id!=r.id&&o.push(r.id)}n.$element.val(o.join(n._valueSeparator)),n.$element.trigger("change")}))},t.prototype.query=function(e,t,n){for(var o=[],i=0;i<this._currentData.length;i++){var r=this._currentData[i],s=this.matches(t,r);null!==s&&o.push(s)}n({results:o})},t.prototype.addOptions=function(t,n){var o=e.map(n,(function(t){return e.data(t[0],"data")}));this._currentData.push.apply(this._currentData,o)},t})),i.define("wpcwselect2/compat/matcher",["jquery"],(function(e){return function(t){return function(n,o){var i=e.extend(!0,{},o);if(null==n.term||""===e.trim(n.term))return i;if(o.children){for(var r=o.children.length-1;r>=0;r--){var s=o.children[r];t(n.term,s.text,s)||i.children.splice(r,1)}if(i.children.length>0)return i}return t(n.term,o.text,o)?i:null}}})),i.define("wpcwselect2/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})),i.define("wpcwselect2/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("wpcwselect2-dropdown--below"),n.addClass("wpcwselect2-container--below")},e})),i.define("wpcwselect2/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})),i.define("wpcwselect2/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})),function(o){"function"==typeof i.define&&i.define.amd?i.define("jquery-mousewheel",["jquery"],o):"object"===a(t)?e.exports=o:o(n)}((function(e){var t,n,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||document.documentMode>
2=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var s=o.length;s;)e.event.fixHooks[o[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],l,!1);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=i.length;t;)this.removeEventListener(i[--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),o=n["offsetParent"in e.fn?"offsetParent":"parent"]();return o.length||(o=e("body")),parseInt(o.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(o){var i=o||window.event,s=r.call(arguments,1),l=0,p=0,d=0,h=0,f=0,w=0;if((o=e.event.fix(i)).type="mousewheel","detail"in i&&(d=-1*i.detail),"wheelDelta"in i&&(d=i.wheelDelta),"wheelDeltaY"in i&&(d=i.wheelDeltaY),"wheelDeltaX"in i&&(p=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(p=-1*d,d=0),l=0===d?p:d,"deltaY"in i&&(l=d=-1*i.deltaY),"deltaX"in i&&(p=i.deltaX,0===d&&(l=-1*p)),0!==d||0!==p){if(1===i.deltaMode){var g=e.data(this,"mousewheel-line-height");l*=g,d*=g,p*=g}else if(2===i.deltaMode){var _=e.data(this,"mousewheel-page-height");l*=_,d*=_,p*=_}if(h=Math.max(Math.abs(d),Math.abs(p)),(!n||h<n)&&(n=h,u(i,h)&&(n/=40)),u(i,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 m=this.getBoundingClientRect();f=o.clientX-m.left,w=o.clientY-m.top}return o.deltaX=p,o.deltaY=d,o.deltaFactor=n,o.offsetX=f,o.offsetY=w,o.deltaMode=0,s.unshift(o,l,p,d),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,s)}}function c(){n=null}function u(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)}})})),i.define("jquery.wpcwselect2",["jquery","jquery-mousewheel","./wpcwselect2/core","./wpcwselect2/defaults"],(function(e,t,n,o){if(null==e.fn.wpcwselect2){var i=["open","close","destroy"];e.fn.wpcwselect2=function(t){if("object"===a(t=t||{}))return this.each((function(){var o=e.extend(!0,{},t);new n(e(this),o)})),this;if("string"==typeof t){var o,r=Array.prototype.slice.call(arguments,1);return this.each((function(){var n=e(this).data("wpcwselect2");null==n&&window.console&&console.error&&console.error("The wpcwselect2('"+t+"') method was called on an element that is not using Select2."),o=n[t].apply(n,r)})),e.inArray(t,i)>-1?this:o}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.wpcwselect2.defaults&&(e.fn.wpcwselect2.defaults=o),n})),{define:i.define,require:i.require}}(),r=i.require("jquery.wpcwselect2");return n.fn.wpcwselect2.amd=i,r})?i.apply(t,r):i)||(e.exports=s)}).call(this,n("xeH2"))},t9xu:function(e,t,n){"use strict";n.r(t);n("zzlg"),n("efik"),n("Wpdr"),n("42Mr"),n("LYrC"),n("KiNu")},xeH2:function(e,t){e.exports=jQuery},yjUE:function(e,t,n){"use strict";(function(e){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEac
2h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return wpcw_frontend_params.ajax_api_url.toString().replace("%%endpoint%%",e)}function l(){return wpcw_frontend_params.ajax_api_nonce}function c(e){e.setRequestHeader("WPCW-WP-Nonce",l())}function u(t,n){var i=r(r({},{security:l()}),n),s={type:"POST",dataType:"json",xhrFields:{withCredentials:!0},url:a(t),beforeSend:c,data:i},u=e.Deferred((function(t){t.jqXHR=e.ajax(s).done((function(e){"1"!==e&&1!==e||(e={success:!0}),"object"===o(e)&&void 0!==o(e.success)?t[e.success?"resolveWith":"rejectWith"](this,[e.data]):t.rejectWith(this,[e])})).fail((function(){t.rejectWith(this,arguments)}))})),p=u.promise();return p.abort=function(){return u.jqXHR.abort(),this},p}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return u}))}).call(this,n("xeH2"))},zzlg:function(e,t,n){(function(o){var i,r,s;!function(){"use strict";function a(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},n=/MSIE/.test(navigator.userAgent),o=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){a(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,n,o,i){var r=e('<div class="growlUI"></div>');t&&r.append("<h1>"+t+"</h1>"),n&&r.append("<h2>"+n+"</h2>"),void 0===o&&(o=3e3);var s=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:o,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};s();r.css("opacity");r.mouseover((function(){s({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}
2)).mouseout((function(){e(".blockMsg").fadeOut(1e3)}))},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var n=e.extend({},e.blockUI.defaults,t||{});return this.each((function(){var t=e(this);n.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})})),this.each((function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,a(this,t)}))},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each((function(){l(this,t)}))},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,s=[];function a(a,c){var p,f,w=a==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(a).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),p=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),f=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,w&&r&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var _=g.jquery?g[0]:g,m={};e(a).data("blockUI.history",m),m.el=_,m.parent=_.parentNode,m.display=_.style.display,m.position=_.style.position,m.parent&&m.parent.removeChild(_)}e(a).data("blockUI.onUnblock",c.onUnblock);var v,y,b,x,$=c.baseZ;v=n||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+$+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),y=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+$+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+$+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&w?(x='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+($+10)+';display:none;position:fixed">',c.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||" ")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):c.theme?(x='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+($+10)+';display:none;position:absolute">',c.title&&(x+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||" ")+"</div>"),x+='<div class="ui-widget-content ui-dialog-content"></div>',x+="</div>"):x=w?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+($+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+($+10)+';display:none;position:absolute"></div>',b=e(x),g&&(c.theme?(b.css(f),b.addClass("ui-widget-content")):b.css(p)),c.theme||y.css(c.overlayCSS),y.css("position",w?"fixed":"absolute"),(n||c.forceIframe)&&v.css("opacity",0);var k=[v,y,b],C=e(w?"body":a);e.each(k,(function(){this.appendTo(C)})),c.theme&&c.draggable&&e.fn.draggable&&b.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var q=i&&(!e.support.boxModel||e("object,embed",w?null:a).length>0);if(o||q){if(w&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(o||!e.support.boxModel)&&!w)var S=h(a,"borderTopWidth"),O=h(a,"borderLeftWidth"),A=S?"(0 - "+S+")":0,E=O?"(0 - "+O+")":0;e.each(k,(function(e,t){var n=t[0].style;if(n.position="absolute",e<2)w?n.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):n.setExpression("height",'this.parentNode.offsetHeight + "px"'),w?n.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):n.setExpression("width",'this.parentNode.offsetWidth + "px"'),E&&n.setExpression("left",E),A&&n.setExpression("top",A);else if(c.centerY)w&&n.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),n.marginTop=0;else if(!c.centerY&&w){var o="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';n.setExpression("top",o)}}))}if(g&&(c.theme?b.find(".ui-widget-content").append(g):b.append(g),(g.jquery||g.nodeType)&&e(g).show()),(n||c.forceIframe)&&c.showOverlay&&v.show(),c.fadeIn){var I=c.onBlock?c.onBlock:t,D=c.showOverlay&&!g?I:t,j=g?I:t;c.showOverlay&&y._fadeIn(c.fadeIn,D),g&&b._fadeIn(c.fadeIn,j)}else c.showOverlay&&y.show(),g&&b.show(),c.onBlock&&c.onBlock.bind(b)();if(u(1,a,c),w?(r=b[0],s=e(c.focusableElements,r),c.focusInput&&setTimeout(d,20)):function(e,t,n){var o=e.parentNode,i=e.style,r=(o.offsetWidth-e.offsetWidth)/2-h(o,"borderLeftWidth"),s=(o.offsetHeight-e.offsetHeight)/2-h(o,"borderTopWidth");
2t&&(i.left=r>0?r+"px":"0");n&&(i.top=s>0?s+"px":"0")}(b[0],c.centerX,c.centerY),c.timeout){var T=setTimeout((function(){w?e.unblockUI(c):e(a).unblock(c)}),c.timeout);e(a).data("blockUI.timeout",T)}}}function l(t,n){var o,i,a=t==window,l=e(t),p=l.data("blockUI.history"),d=l.data("blockUI.timeout");d&&(clearTimeout(d),l.removeData("blockUI.timeout")),n=e.extend({},e.blockUI.defaults,n||{}),u(0,t,n),null===n.onUnblock&&(n.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),i=a?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),n.cursorReset&&(i.length>1&&(i[1].style.cursor=n.cursorReset),i.length>2&&(i[2].style.cursor=n.cursorReset)),a&&(r=s=null),n.fadeOut?(o=i.length,i.stop().fadeOut(n.fadeOut,(function(){0==--o&&c(i,p,n,t)}))):c(i,p,n,t)}function c(t,n,o,i){var r=e(i);if(!r.data("blockUI.isBlocked")){t.each((function(e,t){this.parentNode&&this.parentNode.removeChild(this)})),n&&n.el&&(n.el.style.display=n.display,n.el.style.position=n.position,n.el.style.cursor="default",n.parent&&n.parent.appendChild(n.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof o.onUnblock&&o.onUnblock(i,o);var s=e(document.body),a=s.width(),l=s[0].style.width;s.width(a-1).width(a),s[0].style.width=l}}function u(t,n,o){var i=n==window,s=e(n);if((t||(!i||r)&&(i||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",t),i&&o.bindEvents&&(!t||o.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(a,o,p):e(document).unbind(a,p)}}function p(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&r&&t.data.constrainTabKey){var n=s,o=!t.shiftKey&&t.target===n[n.length-1],i=t.shiftKey&&t.target===n[0];if(o||i)return setTimeout((function(){d(i)}),10),!1}var a=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&a.onOverlayClick&&a.onOverlayClick(t),l.parents("div."+a.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function d(e){if(s){var t=s[!0===e?s.length-1:0];t&&t.focus()}}function h(t,n){return parseInt(e.css(t,n),10)||0}}n("PDX0").jQuery?(r=[n("xeH2")],void 0===(s="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=s)):a(o)}()}).call(this,n("xeH2"))}})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.