new.jade 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. extends ../layout
  2. block scripts
  3. script(src="https://js.recurly.com/v3/recurly.js")
  4. script(type='text/javascript').
  5. window.recomendedCurrency = '#{currency}'
  6. window.countryCode = '#{countryCode}'
  7. window.plan_code = '#{plan_code}'
  8. window.recurlyApiKey = "!{settings.apis.recurly.publicKey}"
  9. window.couponCode = "#{couponCode}"
  10. block content
  11. - locals.supressDefaultJs = true
  12. script(data-main=jsPath+'main.js', src=jsPath+'libs/require.js', baseurl=jsPath)
  13. .content.content-alt
  14. .container(ng-controller="NewSubscriptionController" ng-cloak)
  15. .row.card-group
  16. .col-md-5.col-md-push-4
  17. .card.card-highlighted
  18. .page-header
  19. .row
  20. .col-xs-9
  21. h2 {{planName}}
  22. .col-xs-3
  23. div.dropdown.changePlanButton.pull-right(ng-cloak, dropdown)
  24. a.btn.btn-default.dropdown-toggle(
  25. href="#",
  26. data-toggle="dropdown",
  27. dropdown-toggle
  28. )
  29. | {{currencyCode}} ({{plans[currencyCode]['symbol']}})
  30. span.caret
  31. ul.dropdown-menu(role="menu")
  32. li(ng-repeat="(currency, value) in plans")
  33. a(
  34. ng-click="changeCurrency(currency)",
  35. ) {{currency}} ({{value['symbol']}})
  36. hr.thin
  37. .row
  38. .col-md-12.text-center
  39. div(ng-if="trialLength")
  40. span !{translate("first_few_days_free", {trialLen:'{{trialLength}}'})}
  41. span(ng-if="discountMonths && discountRate")   - {{discountMonths}} #{translate("month")}s {{discountRate}}% Off
  42. div(ng-if="price")
  43. strong {{price.currency.symbol}}{{price.next.total}}
  44. span(ng-if="monthlyBilling") #{translate("every")} #{translate("month")}
  45. span(ng-if="!monthlyBilling") #{translate("every")} #{translate("year")}
  46. div(ng-if="normalPrice")
  47. span.small Normally {{price.currency.symbol}}{{normalPrice}}
  48. .row
  49. div(sixpack-switch="subscription-form")
  50. .col-md-12(sixpack-default)
  51. form(ng-show="planName")
  52. .row
  53. .col-md-12
  54. .form-group
  55. .row
  56. .col-md-6
  57. label.radio-inline
  58. input.paymentTypeOption(type="radio",value="credit_card", ng-model="paymentMethod")
  59. i.fa.fa-cc-mastercard.fa-3x
  60. span  
  61. i.fa.fa-cc-visa.fa-3x
  62. .col-md-6
  63. label.radio-inline
  64. input.paymentTypeOption(type="radio", value="paypal", ng-model="paymentMethod")
  65. i.fa.fa-cc-paypal.fa-3x
  66. .alert.alert-warning.small(ng-show="genericError")
  67. strong {{genericError}}
  68. span(ng-hide="paymentMethod == 'paypal'")
  69. .row
  70. .col-md-12
  71. .form-group
  72. div.alert.alert-warning.small(ng-hide="validation.correctCvv") #{translate("invalid")} CVV
  73. div.alert.alert-warning.small(ng-hide="validation.correctCardNumber") #{translate("invalid")} #{translate("credit_card_number")}
  74. .row
  75. .col-md-6
  76. .form-group(ng-class="validation.number == false || validation.errorFields.number ? 'has-error' : ''")
  77. input.form-control(ng-model='data.number', ng-blur="validateCardNumber()", placeholder="#{translate('credit_card_number')}")
  78. .col-md-3
  79. .form-group(ng-class="validation.correctCvv == false || validation.errorFields.cvv ? 'has-error' : ''")
  80. input.form-control(ng-model='data.cvv', ng-blur="validateCvv()", placeholder="CVV")
  81. .row
  82. .col-md-12
  83. div.alert.alert-warning.small(ng-hide="validation.correctExpiry") #{translate("invalid")} #{translate("expiry")}
  84. .row
  85. .col-md-3
  86. .form-group(ng-class="validation.correctExpiry == false || validation.errorFields.month ? 'has-error' : ''")
  87. select.form-control(data-recurly='month', ng-change="validateExpiry()", ng-model='data.month')
  88. option(value="", disabled, selected) Month
  89. option(value="01") 01
  90. option(value="02") 02
  91. option(value="03") 03
  92. option(value="04") 04
  93. option(value="05") 05
  94. option(value="06") 06
  95. option(value="07") 07
  96. option(value="08") 08
  97. option(value="09") 09
  98. option(value="10") 10
  99. option(value="11") 11
  100. option(value="12") 12
  101. .col-md-4
  102. .form-group(ng-class="validation.correctExpiry == false || validation.errorFields.year ? 'has-error' : ''")
  103. select.form-control(data-recurly='year', ng-change="validateExpiry()", ng-model='data.year')
  104. option(value="", disabled, selected) Year
  105. option(value="2016") 2016
  106. option(value="2017") 2017
  107. option(value="2018") 2018
  108. option(value="2019") 2019
  109. option(value="2020") 2020
  110. option(value="2021") 2021
  111. option(value="2022") 2022
  112. option(value="2023") 2023
  113. option(value="2024") 2024
  114. option(value="2025") 2025
  115. option(value="2026") 2026
  116. .row
  117. .col-md-6
  118. .form-group(ng-class="validation.errorFields.first_name ? 'has-error' : ''")
  119. input.form-control(type='text', value='', maxlength='255', , onkeyup='', data-recurly="first_name", ng-model="data.first_name", required, placeholder="#{translate('first_name')}")
  120. .col-md-6
  121. .form-group(ng-class="validation.errorFields.last_name ? 'has-error' : ''")
  122. input.form-control(type='text', value='', maxlength='255', onkeyup='', data-recurly="last_name", ng-model="data.last_name", required, placeholder="#{translate('last_name')}")
  123. hr
  124. .row
  125. .col-md-12
  126. .form-group(ng-class="validation.errorFields.address1 ? 'has-error' : ''")
  127. label #{translate("billing_address")}
  128. input.form-control(type='text', value='', maxlength='255', onkeyup='', ng-model="data.address1", placeholder="#{translate('address')}")
  129. .form-group(ng-class="validation.errorFields.address2 ? 'has-error' : ''")
  130. input.form-control(type='text', value='', maxlength='255', onkeyup='', ng-model="data.address2", placeholder="#{translate('address')}")
  131. .form-group(ng-class="validation.errorFields.state ? 'has-error' : ''")
  132. input.form-control(type='text', value='', maxlength='255', onkeyup='', ng-model="data.state", placeholder="#{translate('state')}")
  133. .row
  134. .col-md-7
  135. .form-group(ng-class="validation.errorFields.city ? 'has-error' : ''")
  136. input.form-control(type='text', value='', maxlength='255', onkeyup='', data-recurly="city", ng-model="data.city", placeholder="#{translate('city')}")
  137. .col-md-5(ng-class="validation.errorFields.postal_code ? 'has-error' : ''")
  138. input.form-control(type='text', value='', maxlength='255', onkeyup='', data-recurly="postal_code", ng-model="data.postal_code", placeholder="#{translate('zip_post_code')}")
  139. .row
  140. .col-md-7
  141. .form-group(ng-class="validation.errorFields.country ? 'has-error' : ''")
  142. select.form-control(data-recurly="country", ng-model="data.country", ng-change="updateCountry()", required)
  143. mixin countries_options()
  144. .row
  145. .col-md-8
  146. if (showCouponField)
  147. .form-group
  148. input.form-control(type='text', ng-blur="applyCoupon()", ng-model="data.coupon", placeholder="#{translate('coupon')}")
  149. .row
  150. .col-md-8
  151. if (showVatField)
  152. .form-group
  153. input.form-control(type='text', ng-blur="applyVatNumber()", ng-model="data.vat_number", placeholder="#{translate('vat_number')}")
  154. .row
  155. .col-xs-7
  156. .form-group
  157. button.btn.btn-success(ng-click="submit()", ng-disabled="processing", sixpack-convert="payment-left-menu-bottom") #{translate("upgrade_now")}
  158. .col-xs-3.pricingBreakdown
  159. div(ng-if="price.next.subtotal != price.next.total") Subtotal
  160. div(ng-if="price.next.tax!='0.00'") Tax
  161. div
  162. strong Total
  163. .col-xs-2
  164. div(ng-if="price.next.subtotal != price.next.total").pull-right {{price.currency.symbol}}{{price.next.subtotal}}
  165. div(ng-if="price.next.tax!='0.00'").pull-right {{price.currency.symbol}}{{price.next.tax}}
  166. div.pull-right
  167. strong {{price.currency.symbol}}{{price.next.total}}
  168. .col-md-12(sixpack-when="simple")
  169. form(ng-show="planName")
  170. .row
  171. .col-md-12
  172. .form-group
  173. .row
  174. .col-md-6
  175. label.radio-inline
  176. input.paymentTypeOption(type="radio", value="credit_card", ng-model="paymentMethod")
  177. i.fa.fa-cc-mastercard.fa-3x
  178. span  
  179. i.fa.fa-cc-visa.fa-3x
  180. .col-md-6
  181. label.radio-inline
  182. input.paymentTypeOption(type="radio", value="paypal", ng-model="paymentMethod")
  183. i.fa.fa-cc-paypal.fa-3x
  184. //- TODO Validation messages
  185. .form-group
  186. label(for="card-name") Name on card
  187. input#card-name.form-control(type="text")
  188. .form-group(ng-class="validation.number == false || validation.errorFields.number ? 'has-error' : ''")
  189. label(for="card-no") Card number
  190. input#card-no.form-control(type="credit card", ng-model='data.number', ng-blur="validateCardNumber()")
  191. .row
  192. .col-xs-6
  193. label Valid thru {{ data.mmYY }}
  194. input.form-control(
  195. type="text"
  196. ng-model="data.mmYY"
  197. cc-format-expiry
  198. )
  199. .col-xs-6
  200. .form-group.has-feedback(ng-class="validation.correctCvv == false || validation.errorFields.cvv ? 'has-error' : ''")
  201. label Security code
  202. input.form-control(type="cvc", ng-model='data.cvv', ng-blur="validateCvv()")
  203. .form-control-feedback
  204. a.form-helper(
  205. href
  206. tooltip-template="'cvv-tooltip-tpl.html'"
  207. tooltip-trigger="mouseenter"
  208. tooltip-append-to-body="true"
  209. ) ?
  210. .form-group(ng-class="validation.errorFields.country ? 'has-error' : ''")
  211. label(for="country") Country
  212. select#country.form-control(data-recurly="country", ng-model="data.country", ng-change="updateCountry()", required)
  213. mixin countries_options()
  214. .row
  215. .col-xs-12
  216. button.btn.btn-success.btn-block(ng-click="submit()", ng-disabled="processing", sixpack-convert="payment-left-menu-bottom") #{translate("upgrade_now")}
  217. span(sixpack-switch="payment-left-menu-bottom")
  218. .col-md-3.col-md-pull-4(sixpack-default)
  219. if showStudentPlan == 'true'
  220. a.btn-primary.btn.plansPageStudentLink(
  221. href,
  222. ng-click="switchToStudent()"
  223. ) #{translate("half_price_student")}
  224. .card.card-first
  225. .paymentPageFeatures
  226. h3 #{translate("unlimited_projects")}
  227. p #{translate("create_unlimited_projects")}
  228. h3
  229. if plan.features.collaborators == -1
  230. - var collaboratorCount = 'Unlimited'
  231. else
  232. - var collaboratorCount = plan.features.collaborators
  233. | #{translate("collabs_per_proj", {collabcount:collaboratorCount})}
  234. p #{translate("work_on_single_version")}. #{translate("view_collab_edits")} in real time.
  235. h3 #{translate("full_doc_history")}
  236. p #{translate("see_what_has_been")}
  237. span.added #{translate("added")}
  238. | #{translate("and")}
  239. span.removed #{translate("removed")}.
  240. | #{translate("restore_to_any_older_version")}.
  241. h3 #{translate("sync_to_dropbox")}
  242. p
  243. | #{translate("acces_work_from_anywhere")}.
  244. | #{translate("work_offline_and_sync_with_dropbox")}.
  245. hr
  246. p.small.text-center We're confident that you'll love ShareLaTeX, but if not you can cancel anytime. We'll give you your money back, no questions asked, if you let us know within 30 days.
  247. hr
  248. span                  
  249. a(href="https://www.positivessl.com" style="font-family: arial; font-size: 10px; color: #212121; text-decoration: none;")
  250. img(src="https://www.positivessl.com/images-new/PositiveSSL_tl_trans.png" alt="SSL Certificate" title="SSL Certificate" border="0")
  251. div(style="font-family: arial;font-weight:bold;font-size:15px;color:#86BEE0;")
  252. a(href="https://www.positivessl.com" style="color:#86BEE0; text-decoration: none;")
  253. .col-md-3.col-md-pull-4(sixpack-when="bolder")
  254. if showStudentPlan == 'true'
  255. a.btn-primary.btn.plansPageStudentLink(
  256. href,
  257. ng-click="switchToStudent()"
  258. ) #{translate("half_price_student")}
  259. .card.card-first
  260. .paymentPageFeatures
  261. .page-header
  262. h2 #{translate("features")}
  263. h3
  264. i.fa.fa-check  
  265. | #{translate("unlimited_projects")}
  266. h3
  267. i.fa.fa-check  
  268. if plan.features.collaborators == -1
  269. - var collaboratorCount = 'Unlimited'
  270. else
  271. - var collaboratorCount = plan.features.collaborators
  272. | #{translate("collabs_per_proj", {collabcount:collaboratorCount})}
  273. h3
  274. i.fa.fa-check  
  275. | #{translate("full_doc_history")}
  276. h3
  277. i.fa.fa-check  
  278. | #{translate("sync_to_dropbox")}
  279. h3
  280. i.fa.fa-check  
  281. | #{translate("sync_to_github")}
  282. h3
  283. i.fa.fa-check  
  284. | #{translate("Compile Larger Projects")}
  285. hr
  286. h2.text-center 30 Day Guarantee
  287. hr
  288. span                  
  289. a(href="https://www.positivessl.com" style="font-family: arial; font-size: 10px; color: #212121; text-decoration: none;")
  290. img(src="https://www.positivessl.com/images-new/PositiveSSL_tl_trans.png" alt="SSL Certificate" title="SSL Certificate" border="0")
  291. div(style="font-family: arial;font-weight:bold;font-size:15px;color:#86BEE0;")
  292. a(href="https://www.positivessl.com" style="color:#86BEE0; text-decoration: none;")
  293. script(type="text/javascript").
  294. ga('send', 'event', 'pageview', 'payment_form', "#{plan_code}")
  295. script(
  296. type="text/ng-template"
  297. id="cvv-tooltip-tpl.html"
  298. )
  299. p For #[strong Visa, MasterCard and Discover], the #[strong 3 digits] on the #[strong back] of your card.
  300. p For #[strong American Express], the #[strong 4 digits] on the #[strong front] of your card.
  301. mixin countries_options()
  302. option(value='', disabled, selected) #{translate("country")}
  303. option(value='-') --------------
  304. option(value='AF') Afghanistan
  305. option(value='AL') Albania
  306. option(value='DZ') Algeria
  307. option(value='AS') American Samoa
  308. option(value='AD') Andorra
  309. option(value='AO') Angola
  310. option(value='AI') Anguilla
  311. option(value='AQ') Antarctica
  312. option(value='AG') Antigua and Barbuda
  313. option(value='AR') Argentina
  314. option(value='AM') Armenia
  315. option(value='AW') Aruba
  316. option(value='AC') Ascension Island
  317. option(value='AU') Australia
  318. option(value='AT') Austria
  319. option(value='AZ') Azerbaijan
  320. option(value='BS') Bahamas
  321. option(value='BH') Bahrain
  322. option(value='BD') Bangladesh
  323. option(value='BB') Barbados
  324. option(value='BE') Belgium
  325. option(value='BZ') Belize
  326. option(value='BJ') Benin
  327. option(value='BM') Bermuda
  328. option(value='BT') Bhutan
  329. option(value='BO') Bolivia
  330. option(value='BA') Bosnia and Herzegovina
  331. option(value='BW') Botswana
  332. option(value='BV') Bouvet Island
  333. option(value='BR') Brazil
  334. option(value='BQ') British Antarctic Territory
  335. option(value='IO') British Indian Ocean Territory
  336. option(value='VG') British Virgin Islands
  337. option(value='BN') Brunei
  338. option(value='BG') Bulgaria
  339. option(value='BF') Burkina Faso
  340. option(value='BI') Burundi
  341. option(value='KH') Cambodia
  342. option(value='CM') Cameroon
  343. option(value='CA') Canada
  344. option(value='IC') Canary Islands
  345. option(value='CT') Canton and Enderbury Islands
  346. option(value='CV') Cape Verde
  347. option(value='KY') Cayman Islands
  348. option(value='CF') Central African Republic
  349. option(value='EA') Ceuta and Melilla
  350. option(value='TD') Chad
  351. option(value='CL') Chile
  352. option(value='CN') China
  353. option(value='CX') Christmas Island
  354. option(value='CP') Clipperton Island
  355. option(value='CC') Cocos [Keeling] Islands
  356. option(value='CO') Colombia
  357. option(value='KM') Comoros
  358. option(value='CD') Congo [DRC]
  359. option(value='CK') Cook Islands
  360. option(value='CR') Costa Rica
  361. option(value='HR') Croatia
  362. option(value='CU') Cuba
  363. option(value='CY') Cyprus
  364. option(value='CZ') Czech Republic
  365. option(value='DK') Denmark
  366. option(value='DG') Diego Garcia
  367. option(value='DJ') Djibouti
  368. option(value='DM') Dominica
  369. option(value='DO') Dominican Republic
  370. option(value='NQ') Dronning Maud Land
  371. option(value='TL') East Timor
  372. option(value='EC') Ecuador
  373. option(value='EG') Egypt
  374. option(value='SV') El Salvador
  375. option(value='EE') Estonia
  376. option(value='ET') Ethiopia
  377. option(value='FK') Falkland Islands [Islas Malvinas]
  378. option(value='FO') Faroe Islands
  379. option(value='FJ') Fiji
  380. option(value='FI') Finland
  381. option(value='FR') France
  382. option(value='GF') French Guiana
  383. option(value='PF') French Polynesia
  384. option(value='TF') French Southern Territories
  385. option(value='FQ') French Southern and Antarctic Territories
  386. option(value='GA') Gabon
  387. option(value='GM') Gambia
  388. option(value='GE') Georgia
  389. option(value='DE') Germany
  390. option(value='GH') Ghana
  391. option(value='GI') Gibraltar
  392. option(value='GR') Greece
  393. option(value='GL') Greenland
  394. option(value='GD') Grenada
  395. option(value='GP') Guadeloupe
  396. option(value='GU') Guam
  397. option(value='GT') Guatemala
  398. option(value='GG') Guernsey
  399. option(value='GW') Guinea-Bissau
  400. option(value='GY') Guyana
  401. option(value='HT') Haiti
  402. option(value='HM') Heard Island and McDonald Islands
  403. option(value='HN') Honduras
  404. option(value='HK') Hong Kong
  405. option(value='HU') Hungary
  406. option(value='IS') Iceland
  407. option(value='IN') India
  408. option(value='ID') Indonesia
  409. option(value='IE') Ireland
  410. option(value='IM') Isle of Man
  411. option(value='IL') Israel
  412. option(value='IT') Italy
  413. option(value='JM') Jamaica
  414. option(value='JP') Japan
  415. option(value='JE') Jersey
  416. option(value='JT') Johnston Island
  417. option(value='JO') Jordan
  418. option(value='KZ') Kazakhstan
  419. option(value='KE') Kenya
  420. option(value='KI') Kiribati
  421. option(value='KW') Kuwait
  422. option(value='KG') Kyrgyzstan
  423. option(value='LA') Laos
  424. option(value='LV') Latvia
  425. option(value='LS') Lesotho
  426. option(value='LY') Libya
  427. option(value='LI') Liechtenstein
  428. option(value='LT') Lithuania
  429. option(value='LU') Luxembourg
  430. option(value='MO') Macau
  431. option(value='MK') Macedonia [FYROM]
  432. option(value='MG') Madagascar
  433. option(value='MW') Malawi
  434. option(value='MY') Malaysia
  435. option(value='MV') Maldives
  436. option(value='ML') Mali
  437. option(value='MT') Malta
  438. option(value='MH') Marshall Islands
  439. option(value='MQ') Martinique
  440. option(value='MR') Mauritania
  441. option(value='MU') Mauritius
  442. option(value='YT') Mayotte
  443. option(value='FX') Metropolitan France
  444. option(value='MX') Mexico
  445. option(value='FM') Micronesia
  446. option(value='MI') Midway Islands
  447. option(value='MD') Moldova
  448. option(value='MC') Monaco
  449. option(value='MN') Mongolia
  450. option(value='ME') Montenegro
  451. option(value='MS') Montserrat
  452. option(value='MA') Morocco
  453. option(value='MZ') Mozambique
  454. option(value='NA') Namibia
  455. option(value='NR') Nauru
  456. option(value='NP') Nepal
  457. option(value='NL') Netherlands
  458. option(value='AN') Netherlands Antilles
  459. option(value='NT') Neutral Zone
  460. option(value='NC') New Caledonia
  461. option(value='NZ') New Zealand
  462. option(value='NI') Nicaragua
  463. option(value='NE') Niger
  464. option(value='NG') Nigeria
  465. option(value='NU') Niue
  466. option(value='NF') Norfolk Island
  467. option(value='VD') North Vietnam
  468. option(value='MP') Northern Mariana Islands
  469. option(value='NO') Norway
  470. option(value='OM') Oman
  471. option(value='QO') Outlying Oceania
  472. option(value='PC') Pacific Islands Trust Territory
  473. option(value='PK') Pakistan
  474. option(value='PW') Palau
  475. option(value='PS') Palestinian Territories
  476. option(value='PA') Panama
  477. option(value='PZ') Panama Canal Zone
  478. option(value='PY') Paraguay
  479. option(value='YD') People's Democratic Republic of Yemen
  480. option(value='PE') Peru
  481. option(value='PH') Philippines
  482. option(value='PN') Pitcairn Islands
  483. option(value='PL') Poland
  484. option(value='PT') Portugal
  485. option(value='PR') Puerto Rico
  486. option(value='QA') Qatar
  487. option(value='RO') Romania
  488. option(value='RU') Russia
  489. option(value='RW') Rwanda
  490. option(value='RE') Réunion
  491. option(value='BL') Saint Barthélemy
  492. option(value='SH') Saint Helena
  493. option(value='KN') Saint Kitts and Nevis
  494. option(value='LC') Saint Lucia
  495. option(value='MF') Saint Martin
  496. option(value='PM') Saint Pierre and Miquelon
  497. option(value='VC') Saint Vincent and the Grenadines
  498. option(value='WS') Samoa
  499. option(value='SM') San Marino
  500. option(value='SA') Saudi Arabia
  501. option(value='SN') Senegal
  502. option(value='RS') Serbia
  503. option(value='CS') Serbia and Montenegro
  504. option(value='SC') Seychelles
  505. option(value='SL') Sierra Leone
  506. option(value='SG') Singapore
  507. option(value='SK') Slovakia
  508. option(value='SI') Slovenia
  509. option(value='SB') Solomon Islands
  510. option(value='ZA') South Africa
  511. option(value='GS') South Georgia and the South Sandwich Islands
  512. option(value='KR') South Korea
  513. option(value='ES') Spain
  514. option(value='LK') Sri Lanka
  515. option(value='SR') Suriname
  516. option(value='SJ') Svalbard and Jan Mayen
  517. option(value='SZ') Swaziland
  518. option(value='SE') Sweden
  519. option(value='CH') Switzerland
  520. option(value='ST') São Tomé and Príncipe
  521. option(value='TW') Taiwan
  522. option(value='TJ') Tajikistan
  523. option(value='TZ') Tanzania
  524. option(value='TH') Thailand
  525. option(value='TG') Togo
  526. option(value='TK') Tokelau
  527. option(value='TO') Tonga
  528. option(value='TT') Trinidad and Tobago
  529. option(value='TA') Tristan da Cunha
  530. option(value='TN') Tunisia
  531. option(value='TR') Turkey
  532. option(value='TM') Turkmenistan
  533. option(value='TC') Turks and Caicos Islands
  534. option(value='TV') Tuvalu
  535. option(value='UM') U.S. Minor Outlying Islands
  536. option(value='PU') U.S. Miscellaneous Pacific Islands
  537. option(value='VI') U.S. Virgin Islands
  538. option(value='UG') Uganda
  539. option(value='UA') Ukraine
  540. option(value='AE') United Arab Emirates
  541. option(value='GB') United Kingdom
  542. option(value='US') United States
  543. option(value='UY') Uruguay
  544. option(value='UZ') Uzbekistan
  545. option(value='VU') Vanuatu
  546. option(value='VA') Vatican City
  547. option(value='VE') Venezuela
  548. option(value='VN') Vietnam
  549. option(value='WK') Wake Island
  550. option(value='WF') Wallis and Futuna
  551. option(value='EH') Western Sahara
  552. option(value='YE') Yemen
  553. option(value='ZM') Zambia
  554. option(value='AX') Åland Islands