{"version":3,"file":"../country-select-326.min.js","sources":["country-select-326.js"],"sourcesContent":["/**\n * Country Select Script\n *\n * Replaces the original WooCommerce `country-select.js`.\n */\n\n/*global wc_country_select_params */\njQuery( function( $ ) {\n\n\t// wc_country_select_params is required to continue, ensure the object exists\n\tif ( typeof wc_country_select_params === 'undefined' ) {\n\t\treturn false;\n\t}\n\n\n\t// CHANGE: END - Enhanced select fields with TomSelect\n\tvar usingTomSelect = window.TomSelect && window.fcSettings && fcSettings.use_enhanced_select && 'yes' === fcSettings.use_enhanced_select;\n\tif ( usingTomSelect && window.FCEnhancedSelect ) {\n\t\t// CHANGE: Use TomSelect for select2 fields\n\t\tvar wc_country_select_tomselect = function() {\n\t\t\tvar selector = 'select.state_select';\n\t\t\tFCEnhancedSelect.enhanceFields( selector );\n\t\t}\n\n\t\t// Rebuild enhanced fields when changing the selected country\n\t\t$( document.body ).on( 'country_to_state_changed', wc_country_select_tomselect );\n\t}\n\t// CHANGE: END - Enhanced select fields with TomSelect\n\n\t// Select2 Enhancement if it exists\n\t// CHANGE: maybe disable select2 enhancement if TomSelect is being used\n\tif ( $().selectWoo && ! usingTomSelect ) {\n\t\tvar getEnhancedSelectFormatString = function() {\n\t\t\treturn {\n\t\t\t\t'language': {\n\t\t\t\t\terrorLoading: function() {\n\t\t\t\t\t\t// Workaround for https://github.com/select2/select2/issues/4355 instead of i18n_ajax_error.\n\t\t\t\t\t\treturn wc_country_select_params.i18n_searching;\n\t\t\t\t\t},\n\t\t\t\t\tinputTooLong: function( args ) {\n\t\t\t\t\t\tvar overChars = args.input.length - args.maximum;\n\n\t\t\t\t\t\tif ( 1 === overChars ) {\n\t\t\t\t\t\t\treturn wc_country_select_params.i18n_input_too_long_1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn wc_country_select_params.i18n_input_too_long_n.replace( '%qty%', overChars );\n\t\t\t\t\t},\n\t\t\t\t\tinputTooShort: function( args ) {\n\t\t\t\t\t\tvar remainingChars = args.minimum - args.input.length;\n\n\t\t\t\t\t\tif ( 1 === remainingChars ) {\n\t\t\t\t\t\t\treturn wc_country_select_params.i18n_input_too_short_1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn wc_country_select_params.i18n_input_too_short_n.replace( '%qty%', remainingChars );\n\t\t\t\t\t},\n\t\t\t\t\tloadingMore: function() {\n\t\t\t\t\t\treturn wc_country_select_params.i18n_load_more;\n\t\t\t\t\t},\n\t\t\t\t\tmaximumSelected: function( args ) {\n\t\t\t\t\t\tif ( args.maximum === 1 ) {\n\t\t\t\t\t\t\treturn wc_country_select_params.i18n_selection_too_long_1;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn wc_country_select_params.i18n_selection_too_long_n.replace( '%qty%', args.maximum );\n\t\t\t\t\t},\n\t\t\t\t\tnoResults: function() {\n\t\t\t\t\t\treturn wc_country_select_params.i18n_no_matches;\n\t\t\t\t\t},\n\t\t\t\t\tsearching: function() {\n\t\t\t\t\t\treturn wc_country_select_params.i18n_searching;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\n\t\tvar wc_country_select_select2 = function() {\n\t\t\t// CHANGE: Run function code after a short delay,\n\t\t\t// to allow components to be completely rendered\n\t\t\trequestAnimationFrame(function(){\n\t\t\t\t// CHANGE: Allow building `select2` fields while not visible\n\t\t\t\t$( 'select.country_select, select.state_select' ).each( function() {\n\t\t\t\t\tvar $this = $( this );\n\n\t\t\t\t\t// CHANGE: Get field ID and open `select2` options element\n\t\t\t\t\tvar fieldID = $this.attr( 'id' );\n\t\t\t\t\tvar currentOpenSelect2 = document.querySelector( '.select2-container--open' );\n\t\t\t\t\tvar shouldReopen = null != currentOpenSelect2 && null != currentOpenSelect2.querySelector( '#select2-' + fieldID + '-results' ); // Intentionally loose comparisson\n\n\t\t\t\t\t// CHANGE: Try to remove rendered `select2` elements before building it again\n\t\t\t\t\t$this.off( 'select2:select' );\n\t\t\t\t\t$this.parent().find( '.select2-container' ).remove();\n\n\t\t\t\t\tvar select2_args = $.extend({\n\t\t\t\t\t\tplaceholder: $this.attr( 'data-placeholder' ) || $this.attr( 'placeholder' ) || '',\n\t\t\t\t\t\tlabel: $this.attr( 'data-label' ) || null,\n\t\t\t\t\t\twidth: '100%'\n\t\t\t\t\t}, getEnhancedSelectFormatString() );\n\n\t\t\t\t\t$( this )\n\t\t\t\t\t\t.on( 'select2:select', function() {\n\t\t\t\t\t\t\t$( this ).trigger( 'focus' ); // Maintain focus after select https://github.com/select2/select2/issues/4384\n\t\t\t\t\t\t} )\n\t\t\t\t\t\t.selectWoo( select2_args );\n\n\t\t\t\t\t// CHANGE: Maybe reset focus to element\n\t\t\t\t\tFCUtils.maybeRefocusElement( window.fcCurrentFocusedElement, window.fcCurrentFocusedElementValue );\n\n\t\t\t\t\t// CHANGE: Maybe reopen `select2` field\n\t\t\t\t\tsetTimeout( function() {\n\t\t\t\t\t\t// Reopen `select2` field if it was open before replacing fields\n\t\t\t\t\t\tif ( shouldReopen && 'function' === typeof $this.selectWoo ) {\n\t\t\t\t\t\t\t// Remove any open options for `select2` fields\n\t\t\t\t\t\t\tvar currentOpenSelect2 = document.querySelectorAll( '.select2-container--open' );\n\t\t\t\t\t\t\tfor ( var i = 0; i < currentOpenSelect2.length; i++ ) {\n\t\t\t\t\t\t\t\tcurrentOpenSelect2[ i ].remove();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Reopen options for this `select2` field\n\t\t\t\t\t\t\t$this.selectWoo( 'open' );\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 50 );\n\t\t\t\t\t// CHANGE: END - Maybe reopen `select2` field\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\twc_country_select_select2();\n\n\t\t// CHANGE: Rebuild `select2` fields in some cases\n\t\t$( document.body ).on( 'country_to_state_changed', wc_country_select_select2 );\n\t\t$( document.body ).on( 'updated_checkout', wc_country_select_select2 );\n\t\t$( document.body ).on( 'wc_fragments_refreshed', wc_country_select_select2 );\n\t}\n\n\t/* State/Country select boxes */\n\tvar states_json = wc_country_select_params.countries.replace( /"/g, '\"' ),\n\t\tstates = JSON.parse( states_json ),\n\t\twrapper_selectors = '.woocommerce-billing-fields,' +\n\t\t\t'.woocommerce-shipping-fields,' +\n\t\t\t'.woocommerce-address-fields,' +\n\t\t\t'.woocommerce-shipping-calculator';\n\n\t$( document.body ).on( 'change refresh', 'select.country_to_state, input.country_to_state', function() {\n\t\t// Grab wrapping element to target only stateboxes in same 'group'\n\t\tvar $wrapper = $( this ).closest( wrapper_selectors );\n\n\t\t// CHANGE: Maybe set variables for current focused element,\n\t\t// which will set focus to relative `select2` field if a field option currently has the focus.\n\t\tFCUtils.maybeSetCurrentFocusedElementGlobalVariablesRelativeSelect2();\n\n\t\tif ( ! $wrapper.length ) {\n\t\t\t$wrapper = $( this ).closest('.form-row').parent();\n\t\t}\n\n\t\tvar country = $( this ).val(),\n\t\t\t// CHANGE: Add selector for address fields without prefix\n\t\t\t$statebox = $wrapper.find( '#state, #billing_state, #shipping_state, #calc_shipping_state' ),\n\t\t\t$parent = $statebox.closest( '.form-row' ),\n\t\t\tinput_name = $statebox.attr( 'name' ),\n\t\t\tinput_id = $statebox.attr('id'),\n\t\t\tinput_classes = $statebox.attr('data-input-classes'),\n\t\t\tvalue = $statebox.val(),\n\t\t\tplaceholder = $statebox.attr( 'placeholder' ) || $statebox.attr( 'data-placeholder' ) || '',\n\t\t\t$newstate;\n\n\t\t// CHANGE: Define class names to be removed from state field when changing its type\n\t\tvar state_field_type_classes = [ 'fc-select-field--hidden', 'fc-select-field--text', 'fc-select-field--select' ];\n\n\t\t// CHANGE: Maybe destroy TomSelect component before replacing the field\n\t\tif ( usingTomSelect ) {\n\t\t\tvar stateField = $statebox.get( 0 );\n\t\t\tif ( $statebox.length > 0 && stateField.tomselect ) {\n\t\t\t\tstateField.tomselect.destroy();\n\t\t\t}\n\t\t}\n\n\t\tif ( states[ country ] ) {\n\t\t\tif ( $.isEmptyObject( states[ country ] ) ) {\n\t\t\t\t$newstate = $( '' )\n\t\t\t\t\t.prop( 'id', input_id )\n\t\t\t\t\t.prop( 'name', input_name )\n\t\t\t\t\t.prop( 'placeholder', placeholder )\n\t\t\t\t\t.attr( 'data-input-classes', input_classes )\n\t\t\t\t\t.addClass( 'hidden ' + input_classes );\n\t\t\t\t$parent.hide().find( '.select2-container' ).remove();\n\t\t\t\t$statebox.replaceWith( $newstate );\n\n\t\t\t\t// CHANGE: Add class for current type of of the state field\n\t\t\t\t$parent.removeClass( state_field_type_classes ).addClass( 'fc-select-field--hidden' );\n\n\t\t\t\t$( document.body ).trigger( 'country_to_state_changed', [ country, $wrapper ] );\n\t\t\t} else {\n\t\t\t\tvar state = states[ country ],\n\t\t\t\t\t$defaultOption = $( '' ).text( wc_country_select_params.i18n_select_state_text );\n\n\t\t\t\tif ( ! placeholder ) {\n\t\t\t\t\tplaceholder = wc_country_select_params.i18n_select_state_text;\n\t\t\t\t}\n\n\t\t\t\t$parent.show();\n\n\t\t\t\tif ( $statebox.is( 'input' ) ) {\n\t\t\t\t\t$newstate = $( '' )\n\t\t\t\t\t\t.prop( 'id', input_id )\n\t\t\t\t\t\t.prop( 'name', input_name )\n\t\t\t\t\t\t.data( 'placeholder', placeholder )\n\t\t\t\t\t\t.attr( 'data-input-classes', input_classes )\n\t\t\t\t\t\t.addClass( 'state_select ' + input_classes );\n\t\t\t\t\t$statebox.replaceWith( $newstate );\n\t\t\t\t\t// CHANGE: Add selector for address fields without prefix\n\t\t\t\t\t$statebox = $wrapper.find( '#state, #billing_state, #shipping_state, #calc_shipping_state' );\n\t\t\t\t}\n\n\t\t\t\t$statebox.empty().append( $defaultOption );\n\n\t\t\t\t$.each( state, function( index ) {\n\t\t\t\t\tvar $option = $( '' )\n\t\t\t\t\t\t.prop( 'value', index )\n\t\t\t\t\t\t.text( state[ index ] );\n\t\t\t\t\t$statebox.append( $option );\n\t\t\t\t} );\n\n\t\t\t\t$statebox.val( value ).trigger( 'change' );\n\n\t\t\t\t// CHANGE: Add class for current type of of the state field\n\t\t\t\t$parent.removeClass( state_field_type_classes ).addClass( 'fc-select-field--select' );\n\n\t\t\t\t$( document.body ).trigger( 'country_to_state_changed', [country, $wrapper ] );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( $statebox.is( 'select, input[type=\"hidden\"]' ) ) {\n\t\t\t\t$newstate = $( '' )\n\t\t\t\t\t.prop( 'id', input_id )\n\t\t\t\t\t.prop( 'name', input_name )\n\t\t\t\t\t.prop('placeholder', placeholder)\n\t\t\t\t\t.attr('data-input-classes', input_classes )\n\t\t\t\t\t.addClass( 'input-text ' + input_classes );\n\t\t\t\t$parent.show().find( '.select2-container' ).remove();\n\t\t\t\t$statebox.replaceWith( $newstate );\n\n\t\t\t\t// CHANGE: Add class for current type of of the state field\n\t\t\t\t$parent.removeClass( state_field_type_classes ).addClass( 'fc-select-field--text' );\n\n\t\t\t\t$( document.body ).trigger( 'country_to_state_changed', [country, $wrapper ] );\n\t\t\t}\n\t\t}\n\n\t\t// Re-focus element\n\t\tFCUtils.maybeRefocusElement( window.fcCurrentFocusedElement, window.fcCurrentFocusedElementValue );\n\n\t\t$( document.body ).trigger( 'country_to_state_changing', [country, $wrapper ] );\n\t});\n\n\t$( document.body ).on( 'wc_address_i18n_ready', function() {\n\t\t// Init country selects with their default value once the page loads.\n\t\t$( wrapper_selectors ).each( function() {\n\t\t\t// CHANGE: Add selector for address fields without prefix\n\t\t\tvar $country_input = $( this ).find( '#country, #billing_country, #shipping_country, #calc_shipping_country' );\n\n\t\t\tif ( 0 === $country_input.length || 0 === $country_input.val().length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$country_input.trigger( 'refresh' );\n\t\t});\n\t});\n});\n"],"names":["jQuery","$","wc_country_select_params","usingTomSelect","window","TomSelect","fcSettings","use_enhanced_select","states_json","FCEnhancedSelect","document","body","on","enhanceFields","selectWoo","wc_country_select_select2","requestAnimationFrame","each","$this","this","fieldID","attr","currentOpenSelect2","querySelector","shouldReopen","select2_args","off","parent","find","remove","extend","placeholder","label","width","language","errorLoading","i18n_searching","inputTooLong","args","overChars","input","length","maximum","i18n_input_too_long_1","i18n_input_too_long_n","replace","inputTooShort","remainingChars","minimum","i18n_input_too_short_1","i18n_input_too_short_n","loadingMore","i18n_load_more","maximumSelected","i18n_selection_too_long_1","i18n_selection_too_long_n","noResults","i18n_no_matches","searching","trigger","FCUtils","maybeRefocusElement","fcCurrentFocusedElement","fcCurrentFocusedElementValue","setTimeout","querySelectorAll","i","countries","states","JSON","parse","wrapper_selectors","$newstate","state","$defaultOption","$wrapper","closest","country","maybeSetCurrentFocusedElementGlobalVariablesRelativeSelect2","val","$statebox","$parent","input_name","input_id","input_classes","value","state_field_type_classes","stateField","get","tomselect","destroy","isEmptyObject","prop","addClass","hide","replaceWith","removeClass","text","i18n_select_state_text","show","is","data","empty","append","index","$option","$country_input"],"mappings":"AAOAA,OAAQ,SAAUC,GAGjB,GAAyC,aAApC,OAAOC,yBACX,MAAO,CAAA,EAKR,IAAIC,EAAiBC,OAAOC,WAAaD,OAAOE,YAAcA,WAAWC,qBAAuB,QAAUD,WAAWC,oBAyHjHC,GAxHCL,GAAkBC,OAAOK,kBAQ7BR,EAAGS,SAASC,IAAK,EAAEC,GAAI,2BANW,WAEjCH,iBAAiBI,cADF,qBAC0B,CAC1C,CAG+E,EAM3EZ,EAAE,EAAEa,WAAa,CAAEX,KA8CnBY,EAA4B,WAG/BC,sBAAsB,WAErBf,EAAG,4CAA6C,EAAEgB,KAAM,WACvD,IAAIC,EAAQjB,EAAGkB,IAAK,EAGhBC,EAAUF,EAAMG,KAAM,IAAK,EAC3BC,EAAqBZ,SAASa,cAAe,0BAA2B,EACxEC,EAAe,MAAQF,GAAsB,MAAQA,EAAmBC,cAAe,YAAcH,EAAU,UAAW,EAM1HK,GAHJP,EAAMQ,IAAK,gBAAiB,EAC5BR,EAAMS,OAAO,EAAEC,KAAM,oBAAqB,EAAEC,OAAO,EAEhC5B,EAAE6B,OAAO,CAC3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