PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
admin
jQuery(function(u){var h={states:null,init:function(){"undefined"!=typeof wc_users_params.countries&&(this.states=JSON.parse(wc_users_params.countries.replace(/"/g,'"'))),u(".js_field-country").selectWoo().on("change",this.change_country),u(".js_field-country").trigger("change",[!0]),u(document.body).on("change","select.js_field-state",this.change_state),u(document.body).on("click","button.js_copy-billing",this.copy_billing)},change_country:function(e,t){var a,n,o,i,c,s,l,r,p,d;void 0===t&&(t=!1),null!==h.states&&(n=(a=u(this)).val(),p=(o=a.parents(".form-table").find(":input.js_field-state")).parent(),i=o.attr("name"),c=o.attr("id"),s=a.data(l="woocommerce.stickState-"+n)?a.data(l):o.val(),l=o.attr("placeholder"),t&&a.data("woocommerce.stickState-"+n,s),p.show().find(".select2-container").remove(),u.isEmptyObject(h.states[n])?(d=u('<input type="text" />').prop("id",c).prop("name",i).prop("placeholder",l).addClass("js_field-state regular-text").val(s),o.replaceWith(d)):(r=h.states[n],p=u('<option value=""></option>').text(h.i18n_select_state_text),d=u('<select style="width: 25em;"></select>').prop("id",c).prop("name",i).prop("placeholder",l).addClass("js_field-state").append(p),u.each(r,function(e){e=u("<option></option>").prop("value",e).text(r[e]);d.append(e)}),d.val(s),o.replaceWith(d),d.show().selectWoo().hide().trigger("change")),u(document.body).trigger("contry-change.woocommerce",[n,u(this).closest("div")]),u(document.body).trigger("country-change.woocommerce",[n,u(this).closest("div")]))},change_state:function(){var e=u(this),t=e.val(),a=e.parents(".form-table").find(":input.js_field-country"),e=a.val();a.data("woocommerce.stickState-"+e,t)},copy_billing:function(e){e.preventDefault(),u("#fieldset-billing").find("input, select").each(function(e,t){var a=t.name.replace(/^billing_/,"shipping_"),a=u('[name="'+a+'"]');a.length&&a.val(t.value).trigger("change")})}};h.init()});
[-] meta-boxes-product-variation.js
[edit]
[-] network-orders.min.js
[edit]
[-] reports.js
[edit]
[-] system-status.js
[edit]
[-] wc-enhanced-select.min.js
[edit]
[-] wc-enhanced-select.js
[edit]
[-] woocommerce_admin.js
[edit]
[-] wc-shipping-zones.min.js
[edit]
[+]
..
[-] meta-boxes-order.min.js
[edit]
[-] meta-boxes.js
[edit]
[-] wc-status-widget.min.js
[edit]
[-] meta-boxes-coupon.min.js
[edit]
[-] backbone-modal.min.js
[edit]
[-] api-keys.js
[edit]
[-] meta-boxes.min.js
[edit]
[-] system-status.min.js
[edit]
[-] backbone-modal.js
[edit]
[-] wc-shipping-zones.js
[edit]
[-] wc-shipping-zone-methods.js
[edit]
[-] wc-product-export.min.js
[edit]
[-] wc-shipping-classes.min.js
[edit]
[-] reports.min.js
[edit]
[-] wc-setup.min.js
[edit]
[-] wc-clipboard.js
[edit]
[-] meta-boxes-order.js
[edit]
[-] api-keys.min.js
[edit]
[-] wc-product-export.js
[edit]
[-] quick-edit.js
[edit]
[-] wc-product-import.min.js
[edit]
[-] settings.js
[edit]
[-] term-ordering.min.js
[edit]
[-] settings-views-html-settings-tax.js
[edit]
[-] wc-orders.js
[edit]
[-] users.js
[edit]
[-] settings-views-html-settings-tax.min.js
[edit]
[-] woocommerce_admin.min.js
[edit]
[-] product-ordering.min.js
[edit]
[-] marketplace-suggestions.js
[edit]
[-] product-ordering.js
[edit]
[-] wc-product-import.js
[edit]
[-] meta-boxes-product.min.js
[edit]
[-] meta-boxes-product.js
[edit]
[-] network-orders.js
[edit]
[-] marketplace-suggestions.min.js
[edit]
[-] wc-setup.js
[edit]
[-] quick-edit.min.js
[edit]
[-] meta-boxes-product-variation.min.js
[edit]
[-] settings.min.js
[edit]
[-] term-ordering.js
[edit]
[-] wc-orders.min.js
[edit]
[-] wc-shipping-zone-methods.min.js
[edit]
[-] wc-clipboard.min.js
[edit]
[-] meta-boxes-coupon.js
[edit]
[-] wc-shipping-classes.js
[edit]
[-] wc-status-widget.js
[edit]
[-] users.min.js
[edit]