// --tran start-- var tran = { "tt-empty": "Could not find anything like","tt-header-from": "Choose city or station of departure","tt-header-to": "Choose city or station of arrival","tt-unavail": "Unavailable for this date","tt-only": "Only","tt-seats-left": "seats left!","tt-any-station": "Any station","trips": "trips","trip": "Trip","total": "Total:","adults": "Adults:","child": "Child:","infant": "Infant:","automatic": "Automatic","card-validation-failure": "The credit/debit card was not recognized. Please try again with a different card or pick another payment method.","form-ajax-error": "An error has occured. Please try again later.","verifying-your-card": "Verifying your card... Please be patient.","redirecting-you-to-paypal": "Redirecting to PayPal","please-wait": "Please wait.","loading": "Loading","booking": "Booking","loading-seats-data": "Loading seats data...","starting-booking": "One moment!","not-enough-seats": "Not enough seats selected. Please select seats for all passengers, otherwise the seats will be automatically selected for you.","show-more": "Show more","show-less": "(Show less)","preparing-to-checkout": "Preparing check-out.","toast-add-to-cart-success-title": "Added to Cart!","in-cart": "Added to Cart!","nothing-found": "Nothing found :( Try changing your search inputs.","ticket-reserved-message": "trips have been reserved for you. After a certain time your trips will be released for other people to book.","together-with-you": "Together with you","people-search": "people are searching tickets now","pax": "passenger","person": "Person","people": "People","error-message-sent": "A message about the error has been sent.","change-browser": "Please use another browser to book tickets. Your browser is not supported and you can get issues with the payment.","send-bug-report": "Send a bug report!","send-bug-report-thankyou": "Thank you for reporting this issue!","message": "Message","here": "here","support-fill-support-text": "Please edit the text and insert your data.","support-fill-support-img": "Please insert your attached file.","this-is-not-support": "This is not support. Support is [suport-link]. This report will only go to our IT department.","toast-add-to-cart-success-body-one": "You have 1 item in cart.","toast-add-to-cart-success-body-many": "You have [n] items in cart.","toast-add-to-cart-success-btn-checkout": "Checkout!","modal-up-sale-button-continue-shopping": "Continue shopping","modal-up-sale-title": "Thank you!","modal-up-sale-heading": "Trip added to cart!","modal-popup-error-title": "Oops!","modal-popup-error-noti": "Sorry, something went wrong.","check-in": "Check-In date","modal-up-sale-header": "We found some trips for you in [province_name]","modal-up-sale-hotel-header": "3 places to stay in [province_name], tested by 12Go.","modal-up-sale-daytrip-header": "We found some trips for you in [province_name]","modal-up-sale-message": "You may now add more items and go back to your cart anytime.","no-visa-because-no-country": "Please enter your nationality first to see VISA options for your country","no-need-visa": "I don't need or already have a visa","no-visa-available": "No visa available for the selected country","no-male-allowed": "Sorry, no adult male passengers allowed for this trip","no-male-allowed-desc": "
This is a LADIES-ONLY train car. Strictly NO MALE PASSENGERS allowed on board. We will not be able to provide tickets for a male passenger. No refund will be possible if you proceed to book for a male passenger.
","no-female-allowed": "Sorry, no adult female passengers allowed for this trip","ts-no-return": "I am Traveling One Way","travel-to-discount-off": "off","travel-to-filters-not-available": "Not Available","weight-kg": "kg","savable-form-data-forgotten-success": "Successfully forgotten","savable-form-forget-data-btn": "Forget My Data","download-file": "Download file","file-size-limit-error-2mb": "File size should be less than 2 MB","file-size-limit-error": "File size should be less than [size] MB","field-phone-error": "The phone number you entered is not valid","field-email-error": "The email address you entered is not valid","field-iban-error": "The IBAN you entered is not valid","field-error-force": "It's correct","field-required-error": "Please fill in this field","field-required-error-radio": "Please select one of the options below","field-required-error-checkbox": "Please check this box if you want to proceed","travel-to-counter-title": "Checking Seats Availability","class": "Class","refund": "Refund","no-refund": "No refund","instant": "Instant confirmation","vehicle-all-incl": "vehicle, all incl","joint-ticket": "joint ticket","buy-ticket": "Book now","buy-ticket-joint": "Buy joint ticket","book-charter": "Book Vehicle","get-your-seat": "Get your seat","arrival-time": "Arrival","departure-time": "Departure","travel-time": "Travel time","rating": "Rating","review": "Review","reviews": "Reviews","leave-a-review": "Leave a review","sr-edit-forward-trip": "Edit","sr-first-route": "First Trip:","by": "by","from": "From","vehicles": "Vehicles","vehclasses-all": "All Vehicles","vehclasses-train": "Trains","vehclasses-railpass": "Railpasses","vehclasses-bus": "Buses","vehclasses-ferry": "Ferries","vehclasses-avia": "Flights","vehclasses-charter": "Taxis","vehclasses-van": "Vans","vehclass-train": "Train","vehclass-railpass": "railpass","vehclass-pass": "railpass","vehclass-bus": "Bus","vehclass-ferry": "Ferry","vehclass-avia": "Flight","vehclass-charter": "Taxi","vehclass-van": "Van","travel-to-package-title-link": "More about this package","travel-to-trip-title": "[vehclasses] by [operators]","travel-to-point-info-train": "[duration] ride in train [official_id] with [operator] in [class]","travel-to-point-info-ferry": "[duration] ferry journey with [operator] in [class]","travel-to-point-info-charter": "[duration] taxi ride with [operator] in [class]","travel-to-point-info-van": "[duration] van ride with [operator] in [class]","travel-to-point-info-bus": "[duration] bus ride with [operator] in [class]","travel-to-point-info-avia": "[duration] flight [official_id] with [operator] in [class]","travel-to-point-info-train-noid": "[duration] ride in train with [operator], [class]","travel-to-point-info-avia-noid": "[duration] flight with [operator] in [class]","travel-to-point-info-single-train": "[duration] ride in train [official_id] with [operator]","travel-to-point-info-single-ferry": "[duration] ferry journey with [operator]","travel-to-point-info-single-charter": "[duration] taxi ride with [operator]","travel-to-point-info-single-van": "[duration] van ride with [operator]","travel-to-point-info-single-bus": "[duration] bus ride with [operator]","travel-to-point-info-single-avia": "[duration] flight [official_id] with [operator]","travel-to-point-info-single": "{duration} {vehclasses, list}. {connections} {stops_info}","travel-to-point-info-single-noid": "{duration} {vehclasses, list}. {connections} {stops_info}","travel-to-point-info-single-train-noid": "[duration] ride in train with [operator]","travel-to-point-info-single-avia-noid": "[duration] flight with [operator] in [class]","travel-to-trip-point-title": "About [vehclass] by [operator]","travel-to-trip-travel-options": "Show Options","travel-to-trip-route-details": "Route Details","travel-to-trip-info-connections-guaranteed": "All connections guaranteed","travel-to-trip-info-connections-not-guaranteed": "Self-connect","travel-to-trip-info-stopinfo-change-stations": "Change stations!","travel-to-trip-info-stopinfo": "[stopover_station] [stopover_dura] [change_station]","travel-to-trip-info-stopinfo-with-count": "[stops] in [stopover_station] [stopover_dura] [change_station]","travel-to-vehclass-not-avaliable": "[vehclass] are not available","reset-password": "Reset password","select-first-trip": "Select first trip","select-return-trip": "Select return trip","title_travel_from_to_no_min_price": "[point_a] to [point_b] by [vehclasses]","total-duration": "Total duration","header_from_A_to_B_by": "From [from] to [to] by","passengers-single": "1 Passenger","passengers-plural": "[n] Passengers","passengers": "Passengers","passenger": "Passengers","edit-passengers-details": "Edit passengers details","sort-results-recommended": "Recommended","sort-results-cheapest": "Cheapest","sort-results-fastest": "Fastest","sort-results-top": "Top Rated","sort-results-dep-time-asc-mobile": "Earliest to latest","sort-results-dep-time-desc-mobile": "Latest to earliest","sort-results-dep-time-asc": "Earliest","sort-results-dep-time-desc": "Latest","new-search": "New Search","price": "Price","mode-of-transportation": "Mode of transportation","stops": "Stops","operating-company": "Operators","show-unavailable-trips": "Show","hide-unavailable-trips": "Hide Unavailable Trips","only-available-trips": "Only Available Trips","filters": "Filters","departure": "Departure","arrival": "Arrival","departure-date": "Departure date","return-trip": "Return Trip","from-cap": "From","to-cap": "To","depart": "Depart","return": "Return","no-return": "One Way","cancel": "Cancel","find-tickets": "Find Tickets","change-passengers": "Change Passengers","show-trips-n": "Show {n, plural, one{# Trip} other{# Trips}}","travel-date-n": "Travel date: [n]","departure-station": "Departure Station","arrival-station": "Arrival Station","map": "map","stops-any": "Any","stations-any": "Any","n-stops": "{n, plural, one{# stop} other{# stops}}","clear": "Clear","clear-by-operator": "Clear by Operating Company","clear-by-stops": "Clear by Stops","clear-by-vehclasses": "Clear by Mode of Transportation","vehclasses-any": "Any","operators-any": "Any","filter-trips": "Filter Trips","trip-recommended": "Recommended","search-results-nothing-found-title": "Trips are not available, try searching for another date or location.","search-results-nothing-found-text": "This trip is not available on the selected day. You can try searching for tomorrow, another date or simply check here:","search-results-nothing-found-title-new": "Discover More Travel Options","search-results-nothing-found-text-new": "Explore extra travel options: you might find more convenient trips or recommendations for nearby destinations.","date-avail-check": "Check","search-results-nothing-found-filters-title": "Nothing found for applied filters on [date]","search-results-nothing-found-filters-text": "Please, consider dropping filters or try another date.","search-results-relax-filters": "Drop Filters","search-results-reset-filters": "Reset","search-results-nothing-found-vehclass-title": "No [vehclass] were found on [date]","search-results-nothing-found-vehclass-text": "Please, consider other options below or try another date.","search-results-trip-label-show_on_screen": "eTicket","search-results-trip-label-title-show_on_screen": "Board with e-ticket on mobile","search-results-trip-label-instant": "Instant confirmation","search-results-trip-label-recommended": "Recommended","typeahead-search-placeholder": "Search for City or Station","daytrip-timeselector-title-popup": "Select Date and Time","daytrip-timeselector-title-time": "Available Time on [date]","daytrip-timeselector-price-info": "[price] for [seats] [people]","form-ajax-error-title": "Sorry, Something Went Wrong.","form-ajax-error-text": "Our development team has been notified about this issue and will be fixing it soon. Please reload the page and try again.","form-ajax-error-btn-reload": "Reload Page","travel-to-one-operator": "Only [operator_name] trips are listed here.
","travel-to-one-operator-nourl": "Only [operator_name] trips are listed here.
","travel-to-one-operator-link": "Search for tickets from all operators","adblock-interference-notice": "Looks like your ad blocker blocks our core functionality. We don't show ads, please consider adding us to trusted sites and reload the page.","travel-search-filters-price-range": "Price: [from] - [to]","travel-search-filters-departure-range": "Departure: [from] - [to]","travel-search-filters-arrival-range": "Arrival: [from] - [to]","travel-search-filters-stops-total": "Stops [total]","travel-search-filters-station-from": "From [name]","travel-search-filters-station-to": "To [name]","travel-search-applied-filters": "Applied filters","search-results-applied-filters-n": "You have applied {n, plural, one{# search filter} other{# search filters}}
","change-direction": "Change direction","update": "Update","travel-to-roundtrip-failed-modal-title": "Trip you selected earlier is unavailable at the moment","travel-to-roundtrip-failed-modal-text": "We were unsuccessful when reserving seats for you on a route from [from] to [to]","travel-to-roundtrip-failed-modal-select-another": "Select Another","travel-to-roundtrip-failed-modal-ignore": "Ignore and Proceed to Checkout","travel-to-roundtrip-failed-reason": "The trip you selected is no longer available. Most likely it just been sold out. Please select another.","travel-to-apply-filter": "Apply filter","travel-to-trip-book-no-return-ticket": "No return ticket","railpass-info-btn": "Learn More","checkout-timeline-total-total-passenger": "Prices listed as estimate of [total-passenger] adult passengers","field-name-label": "Your name","field-bid-label": "Booking ID","search-results-micro-error-text": "Sorry, something went wrong.","login": "Login","login-google-recaptcha-note": "This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
","field-error-email": "The email address you entered is not valid","field-email-label": "Email","Visa Service": "Visa Service","group-leader": "Group Leader","support-form-login-success": "To log in we sent you a special link to the email address you made the booking with. Please make sure that the email address you’re using is the same you used to make the booking, otherwise [contact-our-support-team]
","page-account-text": "To log in we sent you a magical link on email you made a booking with.
Make sure that email address you're logging is the same as you used for booking.
We receive thousands of bookings and usually it all goes well on the technical side. Unfortunately, in your case, there was a problem. Our IT specialists will investigate your case. We suggest to use a desktop computer or phone/tablet with the latest updated browser (Google Chrome, FireFox or Safari). Older browser versions may not work.
Another possible reason for the malfunction could be anti-virus or adblock software that you might use.
If your payment is not successful, you can :
-> try Paypal. Paypal accepts payments from other credit cards as well, you do not need to open an account with Paypal. Paypal refunds are immediately (but limited to 180 days after purchase).
-> call your bank. Sometimes banks block online transactions to South-East Asia. You may ask your bank to enable payments to Thailand, especially if you plan to use your card there in hotels or restaurants.
-> try another credit card or a card from another bank.
If your booking was been created but not paid and it says that seats will be released soon - you still can pay these seats for a little while. Alternatively, you can book them again once they are released. Our system does not allow double payments. You will not be charged twice.
There are other reasons why a booking may not work:
someone was faster and picked the same seat while you were filling in the form.
you tried to pay with Paypal, went away to have a coffee or to find a password, and the Paypal session was already expired when you came back.
your network connection was unstable and the server response broke down.
your booking went well but you made a typo in your email (or our correspondences have been blocked by your mailbox) and our emails did not reach you.
you tried to make a duplicate booking. Our system does not allow you to do the same booking twice for the same passengers.
other rare reasons or maybe magic.
Before you proceed with the payment, please kindly check the terms & conditions and the cancellation rules for your booking. All cancellation rules are sourced from the 6,000+ transport companies that are connected 12Go system.
If you need further assistance, please feel free to contact us at any time.
Please provide the following evidence for double charging(Attention! Please do not send any password or private financial information to us. 12Go will never ask you for any password!):
Screenshots that show you have been charged twice. We will not be able to investigate double charges without it
The last four digits of the credit card you used
Any additional information about each charge (date, amount etc)
Booking ID is unique number of your trip reservation, it helps to identify the trip.
We send Booking ID on your email address after confirmation of the booking.
We appreciate your reviews as they always help us and our partners to improve the service. You can also rate our website on TrustPilot.
Why choose Premium Support?
Premium Support will get you on top of the list.
Whatever problem you have, we will handle your case with priority.
And there are a couple of actions in the background for you to get the best possible service, even if you won't notice it.
Turning donation into Premium Support.
Get premium support and help those in need.
We help Ukrainians who suffered from Russian aggression. 100% of the fees will be sent to the Ukrainian volunteer humanitarian fund at the end of each month. We will post the receipt as proof in our news section.
We also support schools and hospitals in rural areas and Thai volunteer organizations.
Helping others feels good.
Claim your 5% cashback every time you pay with KTC credit card. Rules apply *.
","promo-banner-airpay-promo-title": "All but cheaper with ShopeePay!","promo-banner-airpay-promo-text": "Book and pay with ShopeePay today! Bus, Flight, Ferry, Train - all tickets available for you with the most exclusive price - right on your mobile phone!
","seats-selection-error-empty": "Seat selection is not available. Your seats will be assigned automatically.","checkout-intersect-trips-warning": "Attention! Some of those trips happen at the same time, and you can not be on all of them. We highlighted problematic trips in red.
","checkout-same-route-trips-warning": "Attention! There are trips with the same direction in your itinerary. Please make sure that it is correct
","country-list-us": "United States","country-list-uk": "United Kingdom","country-list-ca": "Canada","trip-description": "Trip from [from] to [to] by [operator] [class] [vehclass] on [date]
","checkout-unavailable-trip": "Trip from [from] to [to] by [operator] [class] [vehclass] on [date] is no longer available
","checkout-unavailable-trip-seats": "Only [number] seats left for trip from [from] to [to] by [operator] [class] [vehclass] on [date].
","checkout-error-title-not-enough-seats": "Not enough seats","amount-to-be-refunded": "Amount to be refunded:","cancel-ticket-button": "Cancel Ticket & Refund","there-is-no-translation": "There is no translation for this page, please read the information in English","link-for-english": "link for English","submit": "Submit","checkout-priority-support-popup": "Why choose Premium Support?
Premium Support will get you on top of the list.
Whatever problem you have, we will handle your case with priority.
And there are a couple of actions in the background for you to get the best possible service, even if you won't notice it.
We also support schools and hospitals in rural areas and Thai volunteer organizations.
Helping others feels good.
0;x--)h="0"+h;return k>-1&&(h=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+m.delimiters.thousands)),0===c.indexOf(".")&&(h=""),l=h+v+(q?q:""),n?l=(n&&w?"(":"")+l+(n&&w?")":""):j>=0?l=0===j?(w?"-":"+")+l:l+(w?"-":"+"):w&&(l="-"+l),l},stringToNumber:function(a){var b,c,d,e=f[h.currentLocale],g=a,i={thousand:3,million:6,billion:9,trillion:12};if(h.zeroFormat&&a===h.zeroFormat)c=0;else if(h.nullFormat&&a===h.nullFormat||!a.replace(/[^0-9]+/g,"").length)c=null;else{c=1,"."!==e.delimiters.decimal&&(a=a.replace(/\./g,"").replace(e.delimiters.decimal,"."));for(b in i)if(d=new RegExp("[^a-zA-Z]"+e.abbreviations[b]+"(?:\\)|(\\"+e.currency.symbol+")?(?:\\))?)?$"),g.match(d)){c*=Math.pow(10,i[b]);break}c*=(a.split("-").length+Math.min(a.split("(").length-1,a.split(")").length-1))%2?1:-1,a=a.replace(/[^0-9\.]+/g,""),c*=Number(a)}return c},isNaN:function(a){return"number"==typeof a&&isNaN(a)},includes:function(a,b){return-1!==a.indexOf(b)},insert:function(a,b,c){return a.slice(0,c)+b+a.slice(c)},reduce:function(a,b){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof b)throw new TypeError(b+" is not a function");var c,d=Object(a),e=d.length>>>0,f=0;if(3===arguments.length)c=arguments[2];else{for(;e>f&&!(f in d);)f++;if(f>=e)throw new TypeError("Reduce of empty array with no initial value");c=d[f++]}for(;e>f;f++)f in d&&(c=b(c,d[f],f,d));return c},multiplier:function(a){var b=a.toString().split(".");return b.length<2?1:Math.pow(10,b[1].length)},correctionFactor:function(){var a=Array.prototype.slice.call(arguments);return a.reduce(function(a,b){var d=c.multiplier(b);return a>d?a:d},1)},toFixed:function(a,b,c,d){var e,f,g,h,i=a.toString().split("."),j=b-(d||0);return e=2===i.length?Math.min(Math.max(i[1].length,j),b):j,g=Math.pow(10,e),h=(c(a+"e+"+e)/g).toFixed(e),d>b-e&&(f=new RegExp("\\.?0{1,"+(d-(b-e))+"}$"),h=h.replace(f,"")),h}},b.options=h,b.formats=e,b.locales=f,b.locale=function(a){return a&&(h.currentLocale=a.toLowerCase()),h.currentLocale},b.localeData=function(a){if(!a)return f[h.currentLocale];if(a=a.toLowerCase(),!f[a])throw new Error("Unknown locale : "+a);return f[a]},b.reset=function(){for(var a in g)h[a]=g[a]},b.zeroFormat=function(a){h.zeroFormat="string"==typeof a?a:null},b.nullFormat=function(a){h.nullFormat="string"==typeof a?a:null},b.defaultFormat=function(a){h.defaultFormat="string"==typeof a?a:"0.0"},b.register=function(a,b,c){if(b=b.toLowerCase(),this[a+"s"][b])throw new TypeError(b+" "+a+" already registered.");return this[a+"s"][b]=c,c},b.validate=function(a,c){var d,e,f,g,h,i,j,k;if("string"!=typeof a&&(a+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",a)),a=a.trim(),a.match(/^\d+$/))return!0;if(""===a)return!1;try{j=b.localeData(c)}catch(l){j=b.localeData(b.locale())}return f=j.currency.symbol,h=j.abbreviations,d=j.delimiters.decimal,e="."===j.delimiters.thousands?"\\.":j.delimiters.thousands,k=a.match(/^[^\d]+/),null!==k&&(a=a.substr(1),k[0]!==f)?!1:(k=a.match(/[^\d]+$/),null!==k&&(a=a.slice(0,-1),k[0]!==h.thousand&&k[0]!==h.million&&k[0]!==h.billion&&k[0]!==h.trillion)?!1:(i=new RegExp(e+"{2}"),a.match(/[^\d.,]/g)?!1:(g=a.split(d),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(i):1===g[0].length?!!g[0].match(/^\d+$/)&&!g[0].match(i)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(i)&&!!g[1].match(/^\d+$/))))},b.fn=a.prototype={clone:function(){return b(this)},format:function(a,c){var d,f,g,i=this._value,j=a||h.defaultFormat;if(c=c||Math.round,0===i&&null!==h.zeroFormat)f=h.zeroFormat;else if(null===i&&null!==h.nullFormat)f=h.nullFormat;else{for(d in e)if(j.match(e[d].regexps.format)){g=e[d].format;break}g=g||b._.numberToFormat,f=g(i,j,c)}return f},value:function(){return this._value},input:function(){return this._input},set:function(a){return this._value=Number(a),this},add:function(a){function b(a,b,c,e){return a+Math.round(d*b)}var d=c.correctionFactor.call(null,this._value,a);return this._value=c.reduce([this._value,a],b,0)/d,this},subtract:function(a){function b(a,b,c,e){return a-Math.round(d*b)}var d=c.correctionFactor.call(null,this._value,a);return this._value=c.reduce([a],b,Math.round(this._value*d))/d,this},multiply:function(a){function b(a,b,d,e){var f=c.correctionFactor(a,b);return Math.round(a*f)*Math.round(b*f)/Math.round(f*f)}return this._value=c.reduce([this._value,a],b,1),this},divide:function(a){function b(a,b,d,e){var f=c.correctionFactor(a,b);return Math.round(a*f)/Math.round(b*f)}return this._value=c.reduce([this._value,a],b),this},difference:function(a){return Math.abs(b(this._value).subtract(a).value())}},b.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"$"}}),function(){b.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(a,c,d){var e,f=b._.includes(c," BPS")?" ":"";return a=1e4*a,c=c.replace(/\s?BPS/,""),e=b._.numberToFormat(a,c,d),b._.includes(e,")")?(e=e.split(""),e.splice(-1,0,f+"BPS"),e=e.join("")):e=e+f+"BPS",e},unformat:function(a){return+(1e-4*b._.stringToNumber(a)).toFixed(15)}})}(),function(){var a={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},c={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},d=a.suffixes.concat(c.suffixes.filter(function(b){return a.suffixes.indexOf(b)<0})),e=d.join("|");e="("+e.replace("B","B(?!PS)")+")",b.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(e)},format:function(d,e,f){var g,h,i,j,k=b._.includes(e,"ib")?c:a,l=b._.includes(e," b")||b._.includes(e," ib")?" ":"";for(e=e.replace(/\s?i?b/,""),h=0;h<=k.suffixes.length;h++)if(i=Math.pow(k.base,h),j=Math.pow(k.base,h+1),null===d||0===d||d>=i&&j>d){l+=k.suffixes[h],i>0&&(d/=i);break}return g=b._.numberToFormat(d,e,f),g+l},unformat:function(d){var e,f,g=b._.stringToNumber(d);if(g){for(e=a.suffixes.length-1;e>=0;e--){if(b._.includes(d,a.suffixes[e])){f=Math.pow(a.base,e);break}if(b._.includes(d,c.suffixes[e])){f=Math.pow(c.base,e);break}}g*=f||1}return g}})}(),function(){b.register("format","currency",{regexps:{format:/(\$)/},format:function(a,c,d){var e,f,g,h=b.locales[b.options.currentLocale],i={before:c.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:c.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(c=c.replace(/\s?\$\s?/,""),e=b._.numberToFormat(a,c,d),a>=0?(i.before=i.before.replace(/[\-\(]/,""),i.after=i.after.replace(/[\-\)]/,"")):0>a&&!b._.includes(i.before,"-")&&!b._.includes(i.before,"(")&&(i.before="-"+i.before),g=0;g