daily pastebin goal
85%
SHARE
TWEET

Cyber Source?

a guest Apr 21st, 2018 1,044 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!doctype html>
  2. <html>
  3.    <head>
  4.       <meta charset="utf-8">
  5.       <title>CyberAIO GUI</title>
  6.       <meta charset="UTF-8">
  7.       <meta name="viewport" content="width=device-width, initial-scale=1">
  8.       <script src="/cdn-cgi/apps/head/lzTGcRElIx4cwRnMUkkyLFYJajI.js"></script><link href="css/bootstrap.min.css" rel="stylesheet">
  9.       <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  10.       <script src="js/bootstrap.min.js"></script>
  11.       <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
  12.       <link href="css/select2.min.css" rel="stylesheet" />
  13.       <script src="js/select2.min.js"></script>
  14.       <link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
  15.       <script src="js/bootstrap-datetimepicker.min.js"></script>
  16.       <link href="css/bootstrap-datepicker.min.css" rel="stylesheet"/>
  17.       <script src="js/bootstrap-datepicker.min.js"></script>
  18.       <link rel="stylesheet" href="dist/bootstrap-tagsinput.css">
  19.       <script src="dist/bootstrap-tagsinput.min.js"></script>
  20.       <script src="css/swal.css"></script>
  21.    </head>
  22.    <body>
  23.       <style>.delet,.quantity-button,.swal-text{text-align:center}#tasks_table th,.bootstrap-tagsinput,.table tbody tr th,.table thead tr th,html{overflow:hidden}.unselectable,body{-webkit-touch-callout:none;-khtml-user-select:none}#save-profile:focus,.btn.btn-cancel-red:focus{outline:0}.addtaskdiv .bilsel,.righ{float:right}.billingdiv,.settingsdiv{top:95px;bottom:75px;position:absolute;box-shadow:10px 10px 100px #000}#tokendiv,.billingdiv,.billingitem.last,.settingsdiv,nav.navbar{position:absolute}#tokendiv,.billingitem span,body{font-family:Poppins,sans-serif!important}.billingdiv,.inner-box,.settingsdiv{box-shadow:10px 10px 100px #000}#navbar li,.addtaskdiv select,.delet{cursor:pointer}body{margin:0;background-color:#16151a;border:1px solid transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.quantity-button,.unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:00;src:local('Poppins-Regular'),url(Poppins-Regular.woff2) format('woff')}.swal-modal{background-color:#201E26}.swal-title{color:#fff}.swal-text{color:#c2c2c2}.swal-button--confirm,.swal-button--success{background-color:#2bb873}.bootstrap-tagsinput input{width:90%!important}#tasks_table th{max-height:51px;white-space:nowrap}.swal-button--cancel{background-color:#e11d41;color:#fff}.swal-icon--success__hide-corners{background-color:none}.unselectable{user-select:none}.table-condensed{color:#999}.table-condensed .btn.btn.btn-primary{background-color:transparent;border-color:#999;color:#999}.bootstrap-datetimepicker-widget{margin-left:-250px;margin-top:10px}.leftdiv{left:40px}.rightdiv{right:40px}.addtaskdiv{height:40px;width:49%;border-bottom:2px solid #28252f;margin-top:10px;color:#fff;padding-top:8px;padding-left:10px}#colordiv,#logindiv{transition:height .3s}.addtaskdiv input[type=text],.addtaskdiv input[type=password]{width:80%;background-color:transparent;color:#fff;border:none;margin-left:20px;float:right}.select2-selection{outline:0!important}.keyword{width:auto;border-radius:11px;padding:0 5px;margin:0 5px 2px;transition:opacity .4s ease-in;background-color:transparent}#keyworddiv::-webkit-scrollbar{display:none}.negative{border:1px solid red;color:red}.positive{border:1px solid #0f0;color:#0f0}.settingsdiv{left:50%;width:60%;margin-left:-30%;background-color:#201e26;padding:60px 80px 80px}.addtaskdiv .switch{margin-top:-6px}.arrow{background-color:transparent}.righ{margin-top:-40px}.billingdiv{width:45.5%;background-color:#201e26;padding:20px}.billingitem img{margin-left:10px}.billingitem span{color:#fff}.billingitem{height:40px;width:100%;border-bottom:2px solid #28252f;margin-top:15px}.billingitem.last{bottom:20px}.bilheader{margin-top:10px;border:none}.billingitem input[type=text],.billingitem input[type=password]{width:70%;background-color:transparent;color:#fff;border:none;margin-left:20px;margin-top:8px}.navbar-nav{margin:.5px 60px}.bilsel{width:70px;border:none;background-color:transparent;color:#67656E;margin-bottom:-10px;margin-left:20px}nav.navbar{top:10;right:0;left:0}#tokendiv{bottom:15px;right:15px;height:auto;color:#fff}.bg0{background-color:#232228;border-color:#232228;margin-bottom:0;border-radius:0;padding:6px 0 0}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.nav>li>a{position:relative;display:block;padding:18px 20px;letter-spacing:1.4px;font-size:14px}.top-heading h3{font-family:olivier;font-size:30px;letter-spacing:.9px;margin-top:35px}nav{transition:border .8s}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#fff;background-color:#232228;border-bottom:2px solid #2bb873;transition:border .5s ease-in,}.container-box,.inner-box{background-color:#201e26;width:auto}.margin20{margin:20px}.mainpage{transition:opacity .3s ease-out}.container-box{border-radius:10px;padding:5px;height:auto}.inner-box{margin:5px;position:absolute;top:75px;right:0;left:0;bottom:75px;border-top-left-radius:10px;border-top-right-radius:10px;transition:left .5s ease-out;transition:right .5s ease-out}#tasks_table tbody::-webkit-scrollbar{width:12px;height:12px}#tasks_table tbody::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#tasks_table tbody::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}#proxy-table tbody::-webkit-scrollbar{width:12px;height:12px}#proxy-table tbody::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#proxy-table tbody::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}#proxies-input textarea::-webkit-scrollbar{width:12px;height:12px}#proxies-input textarea::-webkit-scrollbar-thumb{background:#3d3d3e;border-radius:10px}#proxies-input textarea::-webkit-scrollbar-track{border:1px solid #232228;border-radius:10px}.select2-results__options::-webkit-scrollbar{width:12px!important;height:12px!important}.select2-results__options::-webkit-scrollbar-thumb{background:#57555E!important;border-radius:10px!important}.select2-results__options::-webkit-scrollbar-track{border-radius:10px!important}textarea{resize:none}.quantity{position:absolute;right:144px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.quantity input{width:45px;height:42px;line-height:1.65;float:left;display:block;padding:0 0 0 9px;margin:0;border:none;background:0 0;color:#ddd}#tasks_table thead tr.td1,.table thead tr{border-top-left-radius:21px}#tasks_table tbody tr,.bottom-box{border-top:1px solid #16151a}.quantity input:focus{outline:0}.quantity-nav{float:left;position:relative;height:42px}.quantity-button{position:relative;cursor:pointer;border-left:1px solid #232228;width:20px;color:#67656E;font-size:13px;line-height:1.7;-webkit-transform:translateX(-100%);transform:translateX(-100%);-o-user-select:none;user-select:none}.cmn-toggle+label,.onoffswitch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quantity-button.quantity-up{position:absolute;height:50%;top:0;border-bottom:1px solid #232228}.quantity-button.quantity-down{position:absolute;bottom:-1px;height:50%}.bottom-box{padding:10px;width:auto;height:60px;position:absolute;top:15;bottom:20px;right:5px;left:5px;background-color:#201e26;border-bottom-left-radius:21px;border-bottom-right-radius:21px}.table tbody,.table tbody tr,.table thead,.table thead tr{display:block;width:100%}.table tbody tr:hover{background-color:#28252f}.table tbody tr th:nth-child(1),.table thead tr th:nth-child(1){width:50px;padding-left:10px;margin-right:10px}.table tbody tr th:nth-child(2),.table thead tr th:nth-child(2){width:160px;max-width:160px;padding-right:5px;margin-left:10px}#tasks_table tbody tr th:nth-child(3),#tasks_table thead tr th:nth-child(3){width:230px;max-width:230px;padding-right:5px}#tasks_table tbody tr th:nth-child(4),#tasks_table thead tr th:nth-child(4){width:100px;max-width:100px;padding-right:5px}#tasks_table tbody tr th:nth-child(5),#tasks_table thead tr th:nth-child(5){width:160px;max-width:160px;padding-right:5px}#tasks_table tbody tr th:nth-child(6),#tasks_table thead tr th:nth-child(6){width:110px;max-width:110px;padding-right:5px}#tasks_table tbody tr th:nth-child(7),#tasks_table thead tr th:nth-child(7){width:140px;max-width:140px;padding-right:5px}#tasks_table tbody tr th:nth-child(8),#tasks_table thead tr th:nth-child(8){width:auto}#tasks_table tbody tr th:nth-child(9){height:50px;width:157px;float:right;margin-right:15px;margin-top:-53px}#tasks_table thead tr th:nth-child(9){height:50px;width:157px;float:right;margin-right:27px;margin-top:-50px}.table tbody{overflow-y:scroll;position:absolute;top:52px;right:0;left:0;bottom:0}.table thead tr{border-bottom:1px solid #16151a;border-top-right-radius:21px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px 0;line-height:35px;vertical-align:top;border:none;color:#c2c2c2}.white-heading{color:#fff!important;font-weight:400}.btn.btn-primary,.btn.btn-stop,.btn.btn-stop:hover{color:#fff;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-primary{background-color:#2bb873;border-color:#2bb873}.btn.btn-stop,.btn.btn-stop:hover{background-color:red;border-color:red;width:53px}.btn.btn-primary:hover{background-color:#2bb873;border-color:#2bb873;outline:0}.delet{color:#da4143;font-size:20px;margin:0 5px auto}.modal-footer,.right-texts span,.spinner input,.spinner-right{text-align:right}.btn.btn-edit,.btn.btn-edit:hover{color:#fff;background-color:#201e26;border-color:#fff;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-plus,.btn.btn-plus:hover{color:#fff;background-color:#2bb873;border-color:#2bb873;border-radius:21px;outline:0;padding:5px 18px}.btn.btn-arrow,.btn.btn-arrow:hover,.btn.btn-cancel,.btn.btn-cancel:hover,.btn.btn-start,.btn.btn-start:hover{background-color:#201e26;border-radius:21px;padding:5px 18px;outline:0}.btn.btn-cancel,.btn.btn-cancel:hover{color:#e11d41;border-color:#e11d41}.btn.btn-start,.btn.btn-start:hover{color:#2BB873;border-color:#2BB873}.btn.btn-arrow,.btn.btn-arrow:hover{color:#fff;border-color:#fff}.right-texts span{display:inline;margin:11px;float:right;color:#c2c2c2}.coss-fa,.minus{color:#a5a6bb;cursor:pointer;float:right}.minus{margin-right:4px;margin-top:12px}.coss-fa{margin-right:-16px;margin-top:9px}.bootstrap-tagsinput{width:100%;background-color:transparent;color:#999;margin-top:-10px;border:2px solid #28252f}.modal-content{position:relative;background-color:#232228;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-image:url(../img/login-bg.png)}
  24.           .modal-footer{padding:15px;border-top:1px solid #232228}.form-control20{display:block;width:100%;height:36px;padding:0 82px;font-size:13px;line-height:1.42857143;color:#555;background-color:#232228;border:1px solid #232228;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33;margin-top:-34px}input:focus,select:focus,textarea:focus{outline:0!important}label{color:#fff;font-weight:400}.onoffswitch{position:relative;width:90px}.onoffswitch-checkbox{display:none}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:2px solid #999;border-radius:20px}.onoffswitch-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.onoffswitch-inner:after,.onoffswitch-inner:before{display:block;float:left;width:50%;height:30px;padding:0;line-height:30px;font-size:14px;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner:before{content:"Patient";padding-left:10px;background-color:#2FCCFF;color:#FFF}.onoffswitch-inner:after{content:"Doctor";padding-right:10px;background-color:#EEE;color:#999;text-align:right}.close,.white{color:#fff}.onoffswitch-switch{display:block;width:18px;margin:6px;background:#FFF;border:2px solid #999;border-radius:20px;position:absolute;top:0;bottom:0;right:56px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:0}.cmn-toggle{position:absolute;margin-left:-9999px;visibility:hidden}.cmn-toggle+label{display:block;position:relative;cursor:pointer;outline:0;user-select:none}input.cmn-toggle-round-flat+label{padding:2px;width:60px;height:29px;background-color:#ddd;-webkit-border-radius:60px;-moz-border-radius:60px;-ms-border-radius:60px;-o-border-radius:60px;border-radius:60px;-webkit-transition:background .4s;-moz-transition:background .4s;-o-transition:background .4s;transition:background .4s}input.cmn-toggle-round-flat+label:after,input.cmn-toggle-round-flat+label:before{display:block;position:absolute;content:""}input.cmn-toggle-round-flat+label:before{top:2px;left:2px;bottom:2px;right:2px;background-color:#232228;-webkit-border-radius:60px;-moz-border-radius:60px;-ms-border-radius:60px;-o-border-radius:60px;border-radius:60px;-webkit-transition:background .4s;-moz-transition:background .4s;-o-transition:background .4s;transition:background .4s}input.cmn-toggle-round-flat+label:after{top:4px;left:4px;bottom:4px;width:22px;background-color:#ddd;-webkit-border-radius:52px;-moz-border-radius:52px;-ms-border-radius:52px;-o-border-radius:52px;border-radius:52px;-webkit-transition:margin .4s,background .4s;-moz-transition:margin .4s,background .4s;-o-transition:margin .4s,background .4s;transition:margin .4s,background .4s}input.cmn-toggle-round-flat:checked+label{background-color:#0f0}input.cmn-toggle-round-flat:checked+label:after{margin-left:30px;background-color:#0f0}.bg-left,.form-control30{background-color:#232228}.switch{float:right}.line-b{border-bottom:1px solid #2d2c33;width:100%;margin:5px}.close{float:right;font-size:17px;font-weight:700;line-height:1;position:absolute;right:10px;top:-8px}.form-control30,.form-control40,.form-control50{display:block;width:100%;height:36px;font-size:13px;line-height:1.42857143}.margin15{margin:15px}.p-left{padding:0 1px;margin-top:-32px}.form-group{margin-bottom:24px}.modal-body{position:relative;padding:15px;margin:20px auto}.bg-left{padding:10px}.form-control30{padding:0 37px;color:#555;border:1px solid #232228;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33;margin-top:-26px}.btn.btn-save{color:#fff;background-color:#2bb873;border-color:#2bb873;border-radius:21px;outline:0;padding:5px 31px}.space{margin:0 20px}.btn.btn-cancel-red{color:#e11d41;background-color:#201e26;border-color:#e11d41;border-radius:21px;outline:0;padding:5px 24px}.form-control40,.form-control50,.form-spinner{color:#555;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bg-left02,.form-control40,.form-control50{background-color:#232228}.white{font-weight:400}.form-control40{padding:0;border:1px solid #232228;border-bottom:1px solid #2d2c33;margin-top:-10px}.form-control50{padding:0 159px;border:1px solid #232228;border-bottom:1px solid #2d2c33;margin-top:-34px}.bg-left02{padding:10px 14px 76px}.profix-bix{background-color:#212026;padding:32px}.key{float:right;margin:-42px auto}.dash-spc{margin:0 15px}.spinner{width:100px;float:right;left:-233px}.input-group-btn-vertical{position:relative;white-space:nowrap;width:1%;vertical-align:middle;display:table-cell}.input-group-btn-vertical>.btn{display:block;float:none;width:100%;max-width:100%;padding:8px;margin-left:-1px;position:relative;border-radius:0}.input-group-btn-vertical>.btn:first-child{border-top-right-radius:4px;background:#232228}.input-group-btn-vertical>.btn:last-child{margin-top:-2px;border-bottom-right-radius:4px;background:#232228}.form-control-textarea,.form-spinner{display:block;width:100%;padding:6px 12px;font-size:14px;line-height:1.42857143;background-image:none}.input-group-btn-vertical i{position:absolute;top:0;left:4px}.form-spinner{height:31px;background-color:#232228;border:1px solid #232228;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;border-bottom:1px solid #2d2c33}.btn-default{color:#999;background-color:#232228}.btn-default:hover,focus{color:#333;background-color:#999}.form-control-textarea{height:34px;color:#555;background-color:#2d2c33;border:1px solid #2d2c33;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}textarea.form-control-textarea{height:auto}@media only screen and (max-width:768px){.xs-center{text-align:center!important}.navbar-nav{float:left;margin:5.5px 0}.btn.btn-arrow,.btn.btn-arrow:hover{padding:5px 8px;font-size:13px}.dash-spc{margin:0 8px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:32px;vertical-align:top;border-top:1px solid #16151a;color:#c2c2c2}}.bootstrap-tagsinput input{float:none!important;margin-left:0!important}
  25.           img{
  26.               user-drag: none;
  27. user-select: none;
  28. -moz-user-select: none;
  29. -webkit-user-drag: none;
  30. -webkit-user-select: none;
  31. -ms-user-select: none;}
  32.           </style>
  33.       <header>
  34.          <nav class="navbar navbar-default bg0">
  35.             <div class="container-fluid">
  36.                <div class="navbar-header">
  37.                   <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  38.                   <span class="sr-only">Toggle navigation</span>
  39.                   <span class="icon-bar"></span>
  40.                   <span class="icon-bar"></span>
  41.                   <span class="icon-bar"></span>
  42.                   </button>
  43.                   <a class="navbar-brand"><img src="images/logo.png"></a>
  44.                </div>
  45.                <div style="left:0;right:0;height:50px;position: absolute;margin-left:0; margin-right:80px;" onmousedown="mousedown = true" onmouseup="mousedown=false" onmousemove="if(mousedown){formDrag();}"></div>
  46.                <div id="navbar" class="navbar-collapse collapse">
  47.                   <ul class="nav navbar-nav text-uppercase">
  48.                      <li id="tasks_page_btn" class="active"> <a  onClick="changeActive('tasks_page')">Tasks</a></li>
  49.                      <li id="proxies_page_btn" > <a  onClick="changeActive('proxies_page')">Proxies</a></li>
  50.                      <li id="billing_page_btn"> <a onClick="changeActive('billing_page')">Billing</a></li>
  51.                      <li id="settings_page_btn"><a  onClick="changeActive('settings_page')">Settings</a></li>
  52.                   </ul>
  53.                   <span class="coss-fa hidden-xs hidden-sm" onclick="CloseApplication()"><img src="images/close.png" height="25"></span>
  54.                   <span class="minus hidden-xs hidden-sm" onclick="MinimizeApplication()"><img src="images/minimise.png" height="25"></span>
  55.                </div>
  56.                <!--/.nav-collapse -->
  57.             </div>
  58.             <!--/.container-fluid -->
  59.          </nav>
  60.       </header>
  61.       <div id="maindiv">
  62.          <div id="tasks_page" class="mainpage">
  63.             <div class="container-box">
  64.                <div class="inner-box">
  65.                   <table id="tasks_table" class="table">
  66.                      <thead class="white-heading">
  67.                         <tr>
  68.                             <th class="td1" role="button" scope="col" onclick="sortTable(0)">ID</th>
  69.                             <th class="td2" role="button" scope="col" onclick="sortTable(1)">Retailer</th>
  70.                             <th class="td3" role="button" scope="col" onclick="sortTable(2)">Product</th>
  71.                             <th class="td4" role="button" scope="col" onclick="sortTable(3)">Size</th>
  72.                             <th class="td5" role="button" scope="col" onclick="sortTable(4)">Start Time</th>
  73.                             <th class="td6" role="button" scope="col" onclick="sortTable(5)">Profile</th>
  74.                             <th class="td7" role="button" scope="col" onclick="sortTable(6)">Proxy</th>
  75.                             <th class="td8" role="button" scope="col" onclick="sortTable(7)">Status</th>
  76.                             <th scope="col">Actions</th>
  77.                         </tr>
  78.                      </thead>
  79.                      <tbody id="taskbody" style="overflow-y: scroll;">
  80.                      </tbody>
  81.                   </table>
  82.                </div>
  83.                <div class="bottom-box">
  84.                   <div class="table">
  85.                      <tbody>
  86.                         <tr style="border-top:1px solid #16151a">
  87.                            <button type="button" class="btn btn-plus" id="open-modal-btn" data-toggle="modal" data-target="#myModal"> <img src="images/plus.svg"> Add Tasks</button>
  88.                            <button type="button" id="clear_all_tasks" class="btn btn-cancel"> <img src="images/cross.svg"> Clear All Tasks</button>
  89.                            <div style="position:absolute;left:50%;margin-left:-152px; bottom:16px;"><button type="button" id="start_all_tasks" class="btn btn-start">
  90.                               <img src="images/arrow.svg"> Start All Tasks</button>
  91.                               <button type="button" class="btn btn-cancel" id="stop_all_tasks">
  92.                               <img src="images/hand.svg"> Stop  All Tasks</button>
  93.                            </div>
  94.                            <button type="button" class="btn btn-arrow" style="float:right;" onclick="OpenLinkInput()">
  95.                            <img src="images/link.png"> Link Change</button>
  96.                            <button type="button" class="btn btn-arrow" style="float:right;margin-right:4px" onclick="OpenCaptchaQueue()">
  97.                            <img src="images/capcha.svg"> Open Captcha Queue</button>
  98.                   </div>
  99.                </div>
  100.                <!-- Modal -->
  101.                <div id="myModal" class="modal fade" role="dialog">
  102.                <div class="modal-dialog">
  103.                <!-- Modal content-->
  104.                <div class="modal-content">
  105.                <div class="modal-body">
  106.                <div class="addtaskdiv" id="sitediv" style="padding:5px 0 0 10px;">
  107.                <span style="margin-bottom:10px">Site</span>
  108.                <select id="store-dropdown" class="bilsel js-example-basic-single" style="width:160px;background-color:transparent;float:right;" name="sites">
  109.                <option></option>
  110.                <option value="Supreme">Supreme</option>
  111.                <optgroup label="Mesh">
  112.                <option value="Footpatrol">Footpatrol</option>
  113.                 <option value="JD Sports">JD Sports</option>
  114.                 <option value="Size?">Size?</option>
  115.                 <option value="The Hip Store">The Hip Store</option>
  116.                </optgroup>
  117.                <optgroup label="Footsites">
  118.                <option value="Footlocker US">Footlocker US</option>
  119.                <option value="Footlocker CA">Footlocker CA</option>
  120.                <option value="Footaction">Footaction</option>
  121.                <option value="Champs Sports">Champs Sports</option>
  122.                <option value="EastBay">EastBay</option>
  123.                </optgroup>
  124.                <optgroup label="Shopify">
  125.                <option value="12amrun">12amrun</option>
  126.                 <option value="18montrose">18montrose</option>
  127.                 <option value="Above the Clouds Store">Above the Clouds Store</option>
  128.                 <option value="Addict Miami">Addict Miami</option>
  129.                 <option value="Alife NYC">Alife NYC</option>
  130.                 <option value="Alumni">Alumni</option>
  131.                 <option value="A-ma-maniere">A-ma-maniere</option>
  132.                 <option value="Amongst Few">Amongst Few</option>
  133.                 <option value="Anti Social Social Club">Anti Social Social Club</option>
  134.                 <option value="APB Store">APB Store</option>
  135.                 <option value="Astoreisgood">Astoreisgood</option>
  136.                 <option value="Atmosny">Atmosny</option>
  137.                 <option value="Bape">Bape</option>
  138.                 <option value="BB Branded">BB Branded</option>
  139.                 <option value="Billionaire Boys Club">Billionaire Boys Club</option>
  140.                 <option value="Bodega">Bodega</option>
  141.                 <option value="Beatnic">Beatnic</option>
  142.                 <option value="Bianca Chandon">Bianca Chandon</option>
  143.                 <option value="Blends">Blends</option>
  144.                 <option value="Blkmkt">Blkmkt</option>
  145.                 <option value="BM Plus">BM Plus</option>
  146.                 <option value="Bows and Arrows Berkeley">Bows and Arrows Berkeley</option>
  147.                 <option value="Burn Rubber Sneakers">Burn Rubber Sneakers</option>
  148.                 <option value="Capsule Roronto">Capsule Roronto</option>
  149.                 <option value="Centre">Centre</option>
  150.                 <option value="City Blue">City Blue</option>
  151.                 <option value="Cncpts">Cncpts</option>
  152.                 <option value="Commonwealth-ftgg">Commonwealth-ftgg</option>
  153.                 <option value="Concrete">Concrete</option>
  154.                 <option value="Courtside Sneakers">Courtside Sneakers</option>
  155.                 <option value="Darkside">Darkside</option>
  156.                 <option value="Deadstock">Deadstock</option>
  157.                 <option value="Doomsday-store">Doomsday-store</option>
  158.                 <option value="Dope-factory">Dope-factory</option>
  159.                 <option value="DSM Eflash UK">DSM Eflash UK</option>
  160.                 <option value="DSM Eflash US">DSM Eflash US</option>
  161.                 <option value="DSM Eflash SG">DSM Eflash SG</option>
  162.                 <option value="Exclucity">Exclucity</option>
  163.                 <option value="Extrabutterny">Extrabutterny</option>
  164.                 <option value="Fear Of God">Fear Of God</option>
  165.                 <option value="Feature Sneaker Boutique">Feature Sneaker Boutique</option>
  166.                 <option value="Fresh Rags FL">Fresh Rags FL</option>
  167.                 <option value="Funko Shop">Funko Shop</option>
  168.                 <option value="Good as Gold">Good as Gold</option>
  169.                 <option value="Haven Shop">Haven Shop</option>
  170.                 <option value="Highs and Lows">Highs and Lows</option>
  171.                 <option value="Hombre Amsterdam">Hombre Amsterdam</option>
  172.                 <option value="Hunting Lodge">Hunting Lodge</option>
  173.                 <option value="Justdon">Justdon</option>
  174.                 <option value="Justin Timberlake">Justin Timberlake</option>
  175.                 <option value="Kith">Kith</option>
  176.                 <option value="Kong Online">Kong Online</option>
  177.                 <option value="Lapstone and Hammer">Lapstone and Hammer</option>
  178.                 <option value="Leaders 1354">Leaders 1354</option>
  179.                 <option value="Let Us Prosper">Let Us Prosper</option>
  180.                 <option value="Machus Online">Machus Online</option>
  181.                 <option value="Manorphx">Manorphx</option>
  182.                 <option value="Marathon Sports">Marathon Sports</option>
  183.                 <option value="Mini Shop Madrid">Mini Shop Madrid</option>
  184.                 <option value="Noirfonce">Noirfonce</option>
  185.                 <option value="Nojo Kicks">Nojo Kicks</option>
  186.                 <option value="Nomadnet">Nomadnet</option>
  187.                 <option value="Notre-shop">Notre-shop</option>
  188.                 <option value="Nrml">Nrml</option>
  189.                 <option value="OVO CA">OVO CA</option>
  190.                 <option value="OVO USA">OVO USA</option>
  191.                 <option value="OVO UK">OVO UK</option>
  192.                 <option value="Offthehook CA">Offthehook CA</option>
  193.                 <option value="Oipolloi">Oipolloi</option>
  194.                 <option value="Oneness 287">Oneness 287</option>
  195.                 <option value="Packer Shoes">Packer Shoes</option>
  196.                 <option value="Palace EU">Palace EU</option>
  197.                 <option value="Palace USA">Palace USA</option>
  198.                 <option value="Par 5 Milano Yeezy">Par 5 Milano Yeezy</option>
  199.                 <option value="Philip Browne">Philip Browne</option>
  200.                 <option value="Places+Faces">Places+Faces</option>
  201.                 <option value="Proper Lbc">Proper Lbc</option>
  202.                 <option value="Reigning Champ">Reigning Champ</option>
  203.                 <option value="Renarts">Renarts</option>
  204.                 <option value="Rime NYC">Rime NYC</option>
  205.                 <option value="Rise 45">Rise 45</option>
  206.                 <option value="Rock City Kicks">Rock City Kicks</option>
  207.                 <option value="Rooney Shop">Rooney Shop</option>
  208.                 <option value="Rsvp Gallery">Rsvp Gallery</option>
  209.                 <option value="Saint Alfred">Saint Alfred</option>
  210.                 <option value="Samtabak">Samtabak</option>
  211.                 <option value="Shoe Gallery Miami">Shoe Gallery Miami</option>
  212.                 <option value="Drip">Drip</option>
  213.                 <option value="ShopNY">ShopNY</option>
  214.                 <option value="Shop Nice Kicks">Shop Nice Kicks</option>
  215.                 <option value="Sneaker Junkies USA">Sneaker Junkies USA</option>
  216.                 <option value="Sneaker Politics">Sneaker Politics</option>
  217.                 <option value="Sneaker World Shop">Sneaker World Shop</option>
  218.                 <option value="Social Status">Social Status</option>
  219.                 <option value="Sole Classics">Sole Classics</option>
  220.                 <option value="Solefly">Solefly</option>
  221.                 <option value="Soleheaven">Soleheaven</option>
  222.                 <option value="Solestop">Solestop</option>
  223.                 <option value="Stampd">Stampd</option>
  224.                 <option value="Suede Store">Suede Store</option>
  225.                 <option value="The Chimp Store">The Chimp Store</option>
  226.                 <option value="The Closet">The Closet</option>
  227.                 <option value="The Premier Store">The Premier Store</option>
  228.                 <option value="The Sports Edit">The Sports Edit</option>
  229.                 <option value="The Sure Store">The Sure Store</option>
  230.                 <option value="Travis Scott">Travis Scott</option>
  231.                 <option value="Trophy Room Store">Trophy Room Store</option>
  232.                 <option value="Undefeated">Undefeated</option>
  233.                 <option value="Unknwn">Unknwn</option>
  234.                 <option value="Uptownmia">Uptownmia</option>
  235.                 <option value="Urbanindustry">Urbanindustry</option>
  236.                 <option value="Westnyc">Westnyc</option>
  237.                 <option value="Wishatl">Wishatl</option>
  238.                 <option value="Xhibition">Xhibition</option>
  239.                 <option value="Yeezy Supply">Yeezy Supply</option>
  240.                </optgroup>
  241.                <optgroup label="Lacoste">
  242.                <option value="Lacoste UK">Lacoste UK</option>
  243.                <option value="Lacoste NL">Lacoste NL</option>
  244.                <option value="Lacoste IT">Lacoste IT</option>
  245.                <option value="Lacoste PL">Lacoste PL</option>
  246.                <option value="Lacoste FR">Lacoste FR</option>
  247.                <option value="Lacoste IE">Lacoste IE</option>
  248.                <option value="Lacoste DK">Lacoste DK</option>
  249.                <option value="Lacoste AT">Lacoste AT</option>
  250.                <option value="Lacoste CH">Lacoste CH</option>
  251.                <option value="Lacoste DE">Lacoste DE</option>
  252.                <option value="Lacoste CA">Lacoste CA</option>
  253.                <option value="Lacoste US">Lacoste US</option>
  254.            
  255.                </optgroup>
  256.                </select>
  257.                </div>
  258.                <div class="addtaskdiv righ">
  259.                Size
  260.                <select style="width:80px" class="bilsel" id="sizeslect">
  261.                <optgroup label="Shoes">
  262.                <option value="3">3</option>
  263.                <option value="3.5">3.5</option>
  264.                <option value="4">4</option>
  265.                <option value="4.5">4.5</option>
  266.                <option value="5">5</option>
  267.                <option value="5.5">5.5</option>
  268.                <option value="6">6</option>
  269.                <option value="6.5">6.5</option>
  270.                <option value="7">7</option>
  271.                <option value="7.5">7.5</option>
  272.                <option value="8">8</option>
  273.                <option value="8.5">8.5</option>
  274.                <option value="9">9</option>
  275.                <option value="9.5">9.5</option>
  276.                <option value="10">10</option>
  277.                <option value="10.5">10.5</option>
  278.                <option value="11">11</option>
  279.                <option value="11.5">11.5</option>
  280.                <option value="12">12</option>
  281.                <option value="12.5">12.5</option>
  282.                <option value="13">13</option>
  283.                <option value="13.5">13.5</option>
  284.                <option value="14">14</option>
  285.                <option value="14.5">14.5</option>
  286.                <option value="15">15</option>
  287.                <option value="16">16</option>
  288.                <option value="17">17</option>
  289.                <option value="18">18</option>
  290.                <option value="19">19</option>
  291.                </optgroup>
  292.                <optgroup label="Tops">
  293.                <option value="XSmall">XSmall</option>
  294.                <option value="Small">Small</option>
  295.                <option value="Medium">Medium</option>
  296.                <option value="Large">Large</option>
  297.                <option value="XLarge">XLarge</option>
  298.                <option value="XXLarge">XXLarge</option>
  299.                </optgroup>
  300.                <optgroup label="Bottoms">
  301.                <option value="26">26</option>
  302.                <option value="28">28</option>
  303.                <option value="30">30</option>
  304.                <option value="32">32</option>
  305.                <option value="34">34</option>
  306.                <option value="36">36</option>
  307.                <option value="38">38</option>
  308.                <option value="40">40</option>
  309.                </optgroup>                      
  310.                <option value="OneSize">OneSize</option>
  311.                <option value="Random">Random</option>
  312.                </select>
  313.                </div>
  314.                <div class="addtaskdiv" id="tagsdiv" style="width:100%;height:42px;">
  315.                <span id="keyword_span">Keywords</span>
  316.                <div style="float:right;width:80%;">
  317.                <input type="text" id="tagsinput" value="" style="min-width:100%;" data-role="tagsinput" >
  318.                </div></div>
  319.                <div class="addtaskdiv addtaskcolor" id="colordiv" style="width:100%;z-index:1;height:0px;overflow:hidden;margin:0px;padding:0px;border:none;">
  320.                <div style="width:48%;">
  321.                Color:
  322.                <input type="text" id="colorinput" style="width:20%;text-align:right;float:none;" >
  323.                Random:
  324.                <span class="switch" id="ramdomcolortoggle">
  325.                <input id="cmn-toggle-3" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  326.                <label for="cmn-toggle-3"></label>
  327.                </span>
  328.                </div>
  329.                <div style="float:right;width:49%;margin-top:-30px;padding-left:5px;">
  330.                Category
  331.                <select class="bilsel" id="categoryinput" style="width:150px;">
  332.                <option value="new">new</option>
  333.                <option value="Jackets">Jackets</option>
  334.                <option value="Shirts">Shirts</option>
  335.                <option value="Tops/Sweaters">Tops/Sweaters</option>
  336.                <option value="Sweatshirts">Sweatshirts</option>
  337.                <option value="T-Shirts">T-Shirts</option>
  338.                <option value="Pants">Pants</option>
  339.                <option value="Shorts">Shorts</option>
  340.                <option value="Hats">Hats</option>
  341.                <option value="Bags">Bags</option>
  342.                <option value="Accessories">Accessories</option>
  343.                <option value="Skate">Skate</option>
  344.                <option value="Shoes">Shoes</option>
  345.                </select>
  346.                </div></div>
  347.                <div class="addtaskdiv addtaskcolor" id="logindiv" style="width:100%;height:0px;overflow:hidden;margin:0px;padding:0px;border:none;">
  348.                Login
  349.                <input type="text" class="logininput" id="usernameinput" style="display:none;width:27%;text-align:right;float:none;margin-right:15px;margin-left:15%;" placeholder="email"><span id="login-seperator"></span><input type="text" class="logininput" id="passwordinput" style="display:none;width:27%;float:none;margin-left:15px;" placeholder="password">
  350.                <span class="switch">
  351.                <input id="logintoggle" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  352.                <label for="logintoggle"></label>
  353.                </span>
  354.                </div>
  355.                <div class="addtaskdiv afkmode">
  356.                Checkout Profile
  357.                <select style="width:90px" class="bilsel profileselect" id="profileinput">
  358.                <option value="" disabled selected>-</option>
  359.                </select>
  360.                </div>
  361.                <div class="addtaskdiv righ">
  362.                Amount
  363.                <div class="quantity" style="margin-top:-12px;float:right;position:static">
  364.                <input type="number" id="amountinput" min="1" max="9" step="1" value="1" style="margin-right:30px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
  365.                </div>
  366.                </div>
  367.                <div class="addtaskdiv" style="height:40px;overflow:hidden;">
  368.                Scheduled Start
  369.                <span class="switch" data-attr="afkmode" id="switch4datetime">
  370.                <input id="cmn-toggle-2" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  371.                <label for="cmn-toggle-2"></label>
  372.                </span>
  373.                <div style="height:40px;margin-top:30px;">
  374.                <div id="datetimepicker2" class="input-append input-group" style="width:49%;float:right;margin-top:0px;">
  375.                <input data-format="HH:mm:ss PP" style="box-shadow:none;width:98%;margin-left:0;padding-left:0;" class="form-control" type="text"></input>
  376.                <div class="input-group-addon" style="background-color:transparent;border:none;cursor:pointer;padding-left:5px;" id="datepicker">
  377.                <span class="add-on" style="float:right;">
  378.                <img src="images/speed.svg">
  379.                </span>
  380.                </div>
  381.                </div>
  382.                <div class="input-group date"  style="margin-top:-8px;width:49%;" data-placement="right">
  383.                <input type="text" value="today" class="form-control" style="box-shadow:none;width:98%;margin-left:0;padding-left:0;"  value="now">
  384.                <div class="input-group-addon" style="background-color:transparent;border:none;cursor:pointer;" id="datepicker">
  385.                <img src="images/callerder.svg">
  386.                </div>
  387.                </div></div>
  388.                </div>
  389.                <div class="addtaskdiv righ" style="overflow:hidden;" id="div4proxy">
  390.                Specific Proxy
  391.                <span class="switch" id="toggle4proxy">
  392.                <input id="cmn-toggle-4" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  393.                <label for="cmn-toggle-4"></label>
  394.                </span>
  395.                <input type="text" id="proxyinput" style="width:100%;margin-top:20px;" placeholder="IP:Port:Username:Password">
  396.                </div>
  397.                <div class="addtaskdiv" style="border:none;" id="heplmediv">
  398.                </div>
  399.                <div class="addtaskdiv removeme" style="border:none;">
  400.                </div>
  401.                <div class="addtaskdiv righ removeme" style="border:none;">
  402.                </div>
  403.                <div class="addtaskdiv righ" style="border:none;">
  404.                <button type="button" id="addtaskbtn" class="btn btn-start" style="width:49%;border-color:lime;color:lime;float:right;">  Add Task(s)</button>
  405.                <button type="button" id="updatetaskbtn" class="btn btn-start" style="width:49%;border-color:lime;color:lime;float:right;">  Update Task</button>
  406.                </div>
  407.                </div>
  408.                </div>
  409.                </div>
  410.                </div>
  411.             </div>
  412.          </div>
  413.          <div id="proxies_page"  class="mainpage" style="display:none;opacity:0"><div class="inner-box">
  414.          <table id="proxy-table" class="table">
  415.          <thead class="white-heading">
  416.          <tr>
  417.          <th class="ptd1" scope="col">ID</th>
  418.          <th class="ptd2" scope="col">IP</th>
  419.          <th class="ptd3" scope="col">Port</th>
  420.          <th class="ptd4" scope="col">User</th>
  421.          <th class="ptd5" scope="col">Password</th>
  422.          <th class="ptd6" scope="col">Website</th>
  423.          <th class="ptd7" scope="col">Speed</th>
  424.          <th class="ptd8" style="float:right;margin-top:-50px;width:150px;">Actions</th>
  425.          </tr>
  426.          </thead>
  427.          <tbody id="proxybody" style="overflow-y: scroll;">
  428.          </tbody>
  429.          </table>
  430.          </div>
  431.          <div class="bottom-box">
  432.          <div class="table">
  433.          <tbody><tr style="border-top:1px solid #16151a">
  434.          <button type="button" class="btn btn-plus" data-toggle="modal" data-target="#myModal2"> <img src="images/plus.svg"> Add Proxies</button>
  435.          <div style="position:absolute;left:50%;margin-left:-76px; bottom:16px;"><button type="button" id="test-all-proxies" class="btn btn-start">
  436.          <img src="images/arrow.svg"> Test All Proxies On:<select onclick="" id="test-site" style="margin-left:3px;width:auto" class="bilsel"><option value="Shopify">Shopify</option><option value="Supreme">Supreme</option><option value="Mesh">Mesh</option><option value="Footsites">Footsites</option><option value="Off-White">Off-White</option><option value="custom">Custom</option></select></button>
  437.          </div>
  438.          <button id="clear_all_proxies" type="button" class="btn btn-cancel" style="float:right;"> <img src="images/cross.svg"> Clear All Proxies</button>
  439.          </div> </div>
  440.          <div id="myModal2" class="modal fade" role="dialog" style="display: none;">
  441.          <div class="modal-dialog">
  442.          <!-- Modal content-->
  443.          <div class="modal-content">
  444.          <div class="modal-body" style="margin-bottom:0">
  445.          <form>
  446.          <div id="proxies-input" class="form-group" style="margin:0">
  447.          <textarea class="form-control-textarea" id="proxiesarea" rows="15" placeholder="IP:Port:Username:Password&#10;One proxy per line"></textarea>
  448.          <div class="margin15"></div>
  449.          <div class="text-right">
  450.          <button type="button" id="addproxiesbutton" class="btn btn-plus"> <img src="images/plus.svg">
  451.          Add Proxies</button>
  452.          </div>
  453.          </div>
  454.          </form>
  455.          </div>
  456.          </div>
  457.          </div>
  458.          </div></div>
  459.          <div id="settings_page"  class="mainpage" style="display:none;opacity:0">
  460.          <div class="settingsdiv">
  461.          <div class="billingitem" style="margin-top:0px;">
  462.          <img src="images/license.svg"><input id="keyinput" disabled type="password" placeholder="License Key">
  463.          </div>
  464.          <div class="billingitem" style="border:none;">
  465.          <button style="float:right;margin-left:3px;width:126px;" id="showlicensekey" type="button" class="btn btn-start"><img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Show Key</button>
  466.          <button style="float:right;" type="button" class="btn btn-cancel" onclick="ResetKey()"><img src="images/reset15.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Reset License</button>
  467.          </div>
  468.          <div class="billingitem" style="margin-top:5%;">
  469.          <img src="images/speed.svg"><input type="text" placeholder="Global Delay (ms)" disabled>
  470.          <div class="quantity" style="margin-top:-32px;float:right;position:static">
  471.          <input onkeypress='return event.charCode >= 48 && event.charCode <= 57' id="globaldelay" min="100" max="9" step="100" value="100" style="margin-right:50px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
  472.          </div></div>
  473.          <div class="billingitem" style="margin-top:5%;">
  474.          <img src="images/delay.svg"><input type="text" placeholder="Monitor Delay (ms)" disabled>
  475.          <div class="quantity" style="margin-top:-32px;float:right;position:static">
  476.          <input onkeypress='return event.charCode >= 48 && event.charCode <= 57' id="monitordelay" min="100" max="9" step="100" value="100" style="margin-right:50px;color:#67656E"><div class="quantity-nav"><div class="quantity-button quantity-up">+</div><div class="quantity-button quantity-down">-</div></div>
  477.          </div></div>
  478.          <div class="billingitem" style="margin-top:5%;">
  479.          <img src="images/ipo.svg"><input type="text" placeholder="Current Version:" disabled><label id="version-number" style="margin-top:6px;float:right;color:#67656E">3.0.0.0</label>
  480.          
  481.         </div>
  482.         <div class="billingitem" style="margin-top:4.5%;">
  483.             <img src="images/discord.png"><input type="text" id="webhook" style="width:90%" placeholder="Discord Webhook">    
  484.            </div>
  485.        
  486.         <div class="billingitem" style="border:none;">
  487.  
  488.             <button type="button" class="btn btn-arrow" style="float:right;" onclick="swal('Checking for updates...', '\n', 'info', {buttons:false});CheckForUpdates();">
  489.              <img src="images/update.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Check for Updates</button>
  490.             <button type="button" class="btn btn-arrow" style="float:right;margin-right:3px;" onclick="ContactSupport()">
  491.              <img src="images/support.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Contact Support</button>
  492.             </div>
  493.             <div class="billingitem" style="border:none;">
  494.  
  495.                 <button type="button" class="btn btn-arrow" style="float:right;border-color:#2BB873;color:#2BB873" onclick="swal('Are you sure?', 'This will overide your tasks, proxies, profiles and settings. This cannot be undone!', 'warning', {buttons: ['Cancel','Yes']}).then((go) => {if(go){ImportAll();}})">
  496.                  <img src="images/import.png" style="margin-left:0px;margin-bottom:2px;">    Import Everything</button>
  497.                 <button type="button" class="btn btn-arrow" style="float:right;margin-right:3px;border-color:orange;color:orange" onclick="ExportAll()">
  498.                  <img src="images/export.png" style="margin-left:0px;margin-bottom:2px;">    Export Everything</button>
  499.                 </div>
  500.          <div class="billingitem" style="border:none;">
  501.          <button style="float:right;" type="button" class="btn btn-start" onclick="SaveSettings()"><img src="images/check.png" style="margin-left:0px;margin-bottom:2px;">    Save Settings</button>
  502.          </div>
  503.          </div>
  504.          </div>
  505.          <div id="billing_page"  class="mainpage" style="display:none;opacity:0">
  506.          <div id="billing-left" class="leftdiv billingdiv">
  507.          <div class="billingitem" style="width:60%;margin-top:15px;">
  508.          <img src="images/name-icon.svg"><input id="billing-profile-name" class="billinput" name="profile_name" style="margin-top:0;" type="text" placeholder="Profile Name">
  509.          </div><div style="float:right;margin-top:-50px;">
  510.          <button id="save-profile" type="button" class="btn btn-save">Save</button>
  511.          <button type="button" onclick="if($('#load_profile_select').val() != '-' && $('#load_profile_select').val() != ''){swal('Are you sure?', 'This cannot be undone!', 'warning', {buttons: ['Cancel','Yes']}).then((to_delete) => {if(to_delete){delete_profile();}})}" class="btn btn-cancel-red"> Delete</button>
  512.          </div>
  513.          <div class="billingitem bilheader"><img src="images/payment.svg" style="margin-left:0;" height="40px" width="40px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">PAYMENT DETAILS</span></div>
  514.          <div class="billingitem" style="margin-top:5px;">
  515.          <img src="images/email.svg"><input id="payment-email" class="billinput" name="billing_email" type="text" placeholder="Email">
  516.          </div>
  517.          <div class="billingitem">
  518.          <img src="images/phone.svg"><input id="payment-phone" class="billinput" name="billing_phone" type="text" placeholder="Phone">
  519.          </div>
  520.          <div class="billingitem">
  521.          <img src="images/card.svg"><input id="payment-card-name" class="billinput" name="billing_card_name" type="text" placeholder="Name (as shown on card)">
  522.          </div>
  523.          <div class="billingitem">
  524.          <img src="images/card.svg"><input  id="payment-card-number" class="billinput" name="billing_card_number" type="text" id="cardnumber" maxlength="19" onkeypress="return event.charCode >= 48 && event.charCode <= 57" placeholder="Card Number">
  525.          </div>
  526.          <div class="billingitem" style="width:70%;">
  527.          <img src="images/callerder.svg"><input type="text" style="width:100px;" placeholder="Expiry Date" disabled>
  528.          <div style="float:right;padding-top:8px;">
  529.          <select id="payment-card-expiry-month" name="billing_card_expiry_month" style="width:50px;" class="bilsel billinput">
  530.          <option id="" value="" disabled selected>MM</option>
  531.          <option id="01">01</option>
  532.          <option id="02">02</option>
  533.          <option id="03">03</option>
  534.          <option id="04">04</option>
  535.          <option id="05">05</option>
  536.          <option id="06">06</option>
  537.          <option id="07">07</option>
  538.          <option id="08">08</option>
  539.          <option id="09">09</option>
  540.          <option id="10">10</option>
  541.          <option id="11">11</option>
  542.          <option id="12">12</option>
  543.          </select>
  544.          <select  id="payment-card-expiry-year" name="billing_card_expiry_year" class="bilsel billinput">
  545.          <option id="" value="" disabled selected>YY</option>
  546.          <option>2018</option>
  547.          <option>2019</option>
  548.          <option>2020</option>
  549.          <option>2021</option>
  550.          <option>2022</option>
  551.          <option>2023</option>
  552.          <option>2024</option>
  553.          <option>2025</option>
  554.          </select></div>
  555.          </div>
  556.          <div class="billingitem" style="width:35%;">
  557.          <img src="images/card.svg"><input id="payment-card-cvv" class="billinput" name="billing_card_cvv" style="width:50px;" type="text" maxlength="4" onkeypress='return event.charCode >= 48 && event.charCode <= 57' placeholder="CVV">
  558.          </div>
  559.          <div class="billingitem last" style="width:220px;border-bottom:2px solid #28252f;left:20px;">
  560.          <img src="images/gallery.svg"><input id="load_profile_input" type="text" style="width:75px;" placeholder="Load Profile" disabled>
  561.          <select class="bilsel billinput profileselect" id="load_profile_select" style="margin-left:10px;">
  562.          <option>-</option>
  563.          </select>
  564.          </div>
  565.          <div class="billingitem last" style="width:auto;right:20px;left:auto;border:none;">
  566.          <button type="button" id="new_profile_btn" class="btn btn-plus" style="padding-left:0px;"> <img src="images/plus.svg"> New</button>
  567.          <button type="button" class="btn btn-start" onclick="open_file_import()">Import</button><button style="margin-left:3px;" type="button" class="btn btn-start" onclick="open_file_export()">Export</button>
  568.          </div>
  569.          </div>
  570.          <div id="billing-right" class="rightdiv billingdiv">
  571.          <div class="billingitem bilheader" style="margin-top:0px;"><img src="images/delivery.svg" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">DELIVERY DETAILS</span></div>
  572.          <div class="billingitem" style="width:48%;margin-top:5px;">
  573.          <img src="images/name-icon.svg"><input type="text" id="delivery-first-name" placeholder="First Name">
  574.          </div>
  575.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  576.          <img src="images/name-icon.svg"><input type="text" id="delivery-last-name" placeholder="Last Name">
  577.          </div>
  578.          <div class="billingitem" style="width:48%;margin-top:10px;">
  579.          <img src="images/location.svg"><input type="text" id="delivery-address1" placeholder="Address 1">
  580.          </div>
  581.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  582.          <img src="images/location.svg"><input type="text" id="delivery-address2" placeholder="Address 2 (Optional)">
  583.          </div>
  584.          <div class="billingitem" style="width:48%;margin-top:10px;">
  585.          <img src="images/zip.svg"><input type="text" id="delivery-zip" placeholder="Zip Code">
  586.          </div>
  587.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  588.          <img src="images/city.svg"><input type="text" id="delivery-city" placeholder="City">
  589.          </div>
  590.          <div class="billingitem" style="width:48%;margin-top:10px;">
  591.          <img src="images/earth.svg">
  592.          <select class="bilsel" id="delivery-country" style="margin-top:8px;width:70%;">
  593.             <option id="" value="" disabled="" selected="">Country</option>
  594.             <optgroup id="country-optgroup-Africa" label="Africa">
  595.             <option value="Algeria">Algeria</option>
  596.             <option value="Angola">Angola</option>
  597.             <option value="Benin">Benin</option>
  598.             <option value="Botswana">Botswana</option>
  599.             <option value="Burkina Faso">Burkina Faso</option>
  600.             <option value="Burundi">Burundi</option>
  601.             <option value="Cameroon">Cameroon</option>
  602.             <option value="Cape Verde">Cape Verde</option>
  603.             <option value="Central African Republic">Central African Republic</option>
  604.             <option value="Chad">Chad</option>
  605.             <option value="Comoros">Comoros</option>
  606.             <option value="Congo - Brazzaville">Congo - Brazzaville</option>
  607.             <option value="Congo - Kinshasa">Congo - Kinshasa</option>
  608.             <option value="Côte d’Ivoire">Côte d’Ivoire</option>
  609.             <option value="Djibouti">Djibouti</option>
  610.             <option value="Egypt">Egypt</option>
  611.             <option value="Equatorial Guinea">Equatorial Guinea</option>
  612.             <option value="Eritrea">Eritrea</option>
  613.             <option value="Ethiopia">Ethiopia</option>
  614.             <option value="Gabon">Gabon</option>
  615.             <option value="Gambia">Gambia</option>
  616.             <option value="Ghana">Ghana</option>
  617.             <option value="Guinea">Guinea</option>
  618.             <option value="Guinea-Bissau">Guinea-Bissau</option>
  619.             <option value="Kenya">Kenya</option>
  620.             <option value="Lesotho">Lesotho</option>
  621.             <option value="Liberia">Liberia</option>
  622.             <option value="Libya">Libya</option>
  623.             <option value="Madagascar">Madagascar</option>
  624.             <option value="Malawi">Malawi</option>
  625.             <option value="Mali">Mali</option>
  626.             <option value="Mauritania">Mauritania</option>
  627.             <option value="Mauritius">Mauritius</option>
  628.             <option value="Mayotte">Mayotte</option>
  629.             <option value="Morocco">Morocco</option>
  630.             <option value="Mozambique">Mozambique</option>
  631.             <option value="Namibia">Namibia</option>
  632.             <option value="Niger">Niger</option>
  633.             <option value="Nigeria">Nigeria</option>
  634.             <option value="Rwanda">Rwanda</option>
  635.             <option value="Réunion">Réunion</option>
  636.             <option value="Saint Helena">Saint Helena</option>
  637.             <option value="Senegal">Senegal</option>
  638.             <option value="Seychelles">Seychelles</option>
  639.             <option value="Sierra Leone">Sierra Leone</option>
  640.             <option value="Somalia">Somalia</option>
  641.             <option value="South Africa">South Africa</option>
  642.             <option value="Sudan">Sudan</option>
  643.             <option value="Swaziland">Swaziland</option>
  644.             <option value="São Tomé and Príncipe">São Tomé and Príncipe</option>
  645.             <option value="Tanzania">Tanzania</option>
  646.             <option value="Togo">Togo</option>
  647.             <option value="Tunisia">Tunisia</option>
  648.             <option value="Uganda">Uganda</option>
  649.             <option value="Western Sahara">Western Sahara</option>
  650.             <option value="Zambia">Zambia</option>
  651.             <option value="Zimbabwe">Zimbabwe</option>
  652.             </optgroup>
  653.             <optgroup id="country-optgroup-Americas" label="Americas">
  654.             <option value="Anguilla">Anguilla</option>
  655.             <option value="Antigua and Barbuda">Antigua and Barbuda</option>
  656.             <option value="Argentina">Argentina</option>
  657.             <option value="Aruba">Aruba</option>
  658.             <option value="Bahamas">Bahamas</option>
  659.             <option value="Barbados">Barbados</option>
  660.             <option value="Belize">Belize</option>
  661.             <option value="Bermuda">Bermuda</option>
  662.             <option value="Bolivia">Bolivia</option>
  663.             <option value="Brazil">Brazil</option>
  664.             <option value="British Virgin Islands">British Virgin Islands</option>
  665.             <option value="Canada">Canada</option>
  666.             <option value="Cayman Islands">Cayman Islands</option>
  667.             <option value="Chile">Chile</option>
  668.             <option value="Colombia">Colombia</option>
  669.             <option value="Costa Rica">Costa Rica</option>
  670.             <option value="Cuba">Cuba</option>
  671.             <option value="Dominica">Dominica</option>
  672.             <option value="Dominican Republic">Dominican Republic</option>
  673.             <option value="Ecuador">Ecuador</option>
  674.             <option value="El Salvador">El Salvador</option>
  675.             <option value="Falkland Islands">Falkland Islands</option>
  676.             <option value="French Guiana">French Guiana</option>
  677.             <option value="Greenland">Greenland</option>
  678.             <option value="Grenada">Grenada</option>
  679.             <option value="Guadeloupe">Guadeloupe</option>
  680.             <option value="Guatemala">Guatemala</option>
  681.             <option value="Guyana">Guyana</option>
  682.             <option value="Haiti">Haiti</option>
  683.             <option value="Honduras">Honduras</option>
  684.             <option value="Jamaica">Jamaica</option>
  685.             <option value="Martinique">Martinique</option>
  686.             <option value="Mexico">Mexico</option>
  687.             <option value="Montserrat">Montserrat</option>
  688.             <option value="Netherlands Antilles">Netherlands Antilles</option>
  689.             <option value="Nicaragua">Nicaragua</option>
  690.             <option value="Panama">Panama</option>
  691.             <option value="Paraguay">Paraguay</option>
  692.             <option value="Peru">Peru</option>
  693.             <option value="Puerto Rico">Puerto Rico</option>
  694.             <option value="Saint Barthélemy">Saint Barthélemy</option>
  695.             <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
  696.             <option value="Saint Lucia">Saint Lucia</option>
  697.             <option value="Saint Martin">Saint Martin</option>
  698.             <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
  699.             <option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
  700.             <option value="Suriname">Suriname</option>
  701.             <option value="Trinidad and Tobago">Trinidad and Tobago</option>
  702.             <option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
  703.             <option value="U.S. Virgin Islands">U.S. Virgin Islands</option>
  704.             <option value="United States">United States</option>
  705.             <option value="Uruguay">Uruguay</option>
  706.             <option value="Venezuela">Venezuela</option>
  707.             </optgroup>
  708.             <optgroup id="country-optgroup-Asia" label="Asia">
  709.             <option value="Afghanistan">Afghanistan</option>
  710.             <option value="Armenia">Armenia</option>
  711.             <option value="Azerbaijan">Azerbaijan</option>
  712.             <option value="Bahrain">Bahrain</option>
  713.             <option value="Bangladesh">Bangladesh</option>
  714.             <option value="Bhutan">Bhutan</option>
  715.             <option value="Brunei">Brunei</option>
  716.             <option value="Cambodia">Cambodia</option>
  717.             <option value="China">China</option>
  718.             <option value="Cyprus">Cyprus</option>
  719.             <option value="Georgia">Georgia</option>
  720.             <option value="Hong Kong SAR China">Hong Kong SAR China</option>
  721.             <option value="India">India</option>
  722.             <option value="Indonesia">Indonesia</option>
  723.             <option value="Iran">Iran</option>
  724.             <option value="Iraq">Iraq</option>
  725.             <option value="Israel">Israel</option>
  726.             <option value="Japan">Japan</option>
  727.             <option value="Jordan">Jordan</option>
  728.             <option value="Kazakhstan">Kazakhstan</option>
  729.             <option value="Kuwait">Kuwait</option>
  730.             <option value="Kyrgyzstan">Kyrgyzstan</option>
  731.             <option value="Laos">Laos</option>
  732.             <option value="Lebanon">Lebanon</option>
  733.             <option value="Macau SAR China">Macau SAR China</option>
  734.             <option value="Malaysia">Malaysia</option>
  735.             <option value="Maldives">Maldives</option>
  736.             <option value="Mongolia">Mongolia</option>
  737.             <option value="Myanmar [Burma]">Myanmar [Burma]</option>
  738.             <option value="Nepal">Nepal</option>
  739.             <option value="Neutral Zone">Neutral Zone</option>
  740.             <option value="North Korea">North Korea</option>
  741.             <option value="Oman">Oman</option>
  742.             <option value="Pakistan">Pakistan</option>
  743.             <option value="Palestinian Territories">Palestinian Territories</option>
  744.             <option value="People's Democratic Republic of Yemen">People's Democratic Republic of Yemen</option>
  745.             <option value="Philippines">Philippines</option>
  746.             <option value="Qatar">Qatar</option>
  747.             <option value="Saudi Arabia">Saudi Arabia</option>
  748.             <option value="Singapore">Singapore</option>
  749.             <option value="South Korea">South Korea</option>
  750.             <option value="Sri Lanka">Sri Lanka</option>
  751.             <option value="Syria">Syria</option>
  752.             <option value="Taiwan">Taiwan</option>
  753.             <option value="Tajikistan">Tajikistan</option>
  754.             <option value="Thailand">Thailand</option>
  755.             <option value="Timor-Leste">Timor-Leste</option>
  756.             <option value="Turkey">Turkey</option>
  757.             <option alue="Turkmenistan">Turkmenistan</option>
  758.             <option value="United Arab Emirates">United Arab Emirates</option>
  759.             <option value="Uzbekistan">Uzbekistan</option>
  760.             <option value="Vietnam">Vietnam</option>
  761.             <option value="Yemen">Yemen</option>
  762.             </optgroup>
  763.             <optgroup id="country-optgroup-Europe" label="Europe">
  764.             <option value="Albania">Albania</option>
  765.             <option value="Andorra">Andorra</option>
  766.             <option value="Austria">Austria</option>
  767.             <option value="Belarus">Belarus</option>
  768.             <option value="Belgium">Belgium</option>
  769.             <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
  770.             <option value="Bulgaria">Bulgaria</option>
  771.             <option value="Croatia">Croatia</option>
  772.             <option value="Cyprus">Cyprus</option>
  773.             <option value="Czech Republic">Czech Republic</option>
  774.             <option value="Denmark">Denmark</option>
  775.             <option value="East Germany">East Germany</option>
  776.             <option value="Estonia">Estonia</option>
  777.             <option value="Faroe Islands">Faroe Islands</option>
  778.             <option value="Finland">Finland</option>
  779.             <option value="France">France</option>
  780.             <option value="Germany">Germany</option>
  781.             <option value="Gibraltar">Gibraltar</option>
  782.             <option value="Greece">Greece</option>
  783.             <option value="Guernsey">Guernsey</option>
  784.             <option value="Hungary">Hungary</option>
  785.             <option value="Iceland">Iceland</option>
  786.             <option value="Ireland">Ireland</option>
  787.             <option value="Isle of Man">Isle of Man</option>
  788.             <option value="Italy">Italy</option>
  789.             <option value="Jersey">Jersey</option>
  790.             <option value="Latvia">Latvia</option>
  791.             <option value="Liechtenstein">Liechtenstein</option>
  792.             <option value="Lithuania">Lithuania</option>
  793.             <option value="Luxembourg">Luxembourg</option>
  794.             <option value="Macedonia">Macedonia</option>
  795.             <option value="Malta">Malta</option>
  796.             <option value="Metropolitan France">Metropolitan France</option>
  797.             <option value="Moldova">Moldova</option>
  798.             <option value="Monaco">Monaco</option>
  799.             <option value="Montenegro">Montenegro</option>
  800.             <option value="Netherlands">Netherlands</option>
  801.             <option value="Norway">Norway</option>
  802.             <option value="Poland">Poland</option>
  803.             <option value="Portugal">Portugal</option>
  804.             <option value="Romania">Romania</option>
  805.             <option value="Russia">Russia</option>
  806.             <option value="San Marino">San Marino</option>
  807.             <option value="Serbia">Serbia</option>
  808.             <option value="Serbia and Montenegro">Serbia and Montenegro</option>
  809.             <option value="Slovakia">Slovakia</option>
  810.             <option value="Slovenia">Slovenia</option>
  811.             <option value="Spain">Spain</option>
  812.             <option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
  813.             <option value="Sweden">Sweden</option>
  814.             <option value="Switzerland">Switzerland</option>
  815.             <option value="Ukraine">Ukraine</option>
  816.             <option value="Union of Soviet Socialist Republics">Union of Soviet Socialist Republics</option>
  817.             <option value="United Kingdom">United Kingdom</option>
  818.             <option value="Vatican City">Vatican City</option>
  819.             <option value="Åland Islands">Åland Islands</option>
  820.             </optgroup>
  821.             <optgroup id="country-optgroup-Oceania" label="Oceania">
  822.             <option value="American Samoa">American Samoa</option>
  823.             <option value="Antarctica">Antarctica</option>
  824.             <option value="Australia">Australia</option>
  825.             <option value="Bouvet Island">Bouvet Island</option>
  826.             <option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
  827.             <option value="Christmas Island">Christmas Island</option>
  828.             <option value="Cocos [Keeling] Islands">Cocos [Keeling] Islands</option>
  829.             <option value="Cook Islands">Cook Islands</option>
  830.             <option value="Fiji">Fiji</option>
  831.             <option value="French Polynesia">French Polynesia</option>
  832.             <option value="French Southern Territories">French Southern Territories</option>
  833.             <option value="Guam">Guam</option>
  834.             <option value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
  835.             <option value="Kiribati">Kiribati</option>
  836.             <option value="Marshall Islands">Marshall Islands</option>
  837.             <option value="Micronesia">Micronesia</option>
  838.             <option value="Nauru">Nauru</option>
  839.             <option value="New Caledonia">New Caledonia</option>
  840.             <option value="New Zealand">New Zealand</option>
  841.             <option value="Niue">Niue</option>
  842.             <option value="Norfolk Island">Norfolk Island</option>
  843.             <option value="Northern Mariana Islands">Northern Mariana Islands</option>
  844.             <option value="Palau">Palau</option>
  845.             <option value="Papua New Guinea">Papua New Guinea</option>
  846.             <option value="Pitcairn Islands">Pitcairn Islands</option>
  847.             <option value="Samoa">Samoa</option>
  848.             <option value="Solomon Islands">Solomon Islands</option>
  849.             <option value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
  850.             <option value="Tokelau">Tokelau</option>
  851.             <option value="Tonga">Tonga</option>
  852.             <option value="Tuvalu">Tuvalu</option>
  853.             <option value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands</option>
  854.             <option value="Vanuatu">Vanuatu</option>
  855.             <option value="Wallis and Futuna">Wallis and Futuna</option>
  856.             </optgroup>
  857.             </select>
  858.          </div>
  859.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  860.          <img src="images/earth.svg">
  861.          <select class="bilsel" id="delivery-state" style="margin-top:8px;width:70%;">
  862.                 <option value="" selected>State/Province</option>
  863.          </select>
  864.          </div>
  865.          <div class="billingitem" style="border:none;">
  866.          </div>
  867.          <div id="billing-field" style="position:relative;bottom:35px;right:20px;left:1px;">
  868.          <div class="billingitem bilheader" style="margin-top:0px;"><img src="images/billing.svg" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">BILLING DETAILS</span>
  869.          <span class="switch" id="billing-switch">
  870.          <input id="billing-toggle" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  871.          <label for="billing-toggle"></label>
  872.          </span>
  873.          </div>
  874.          <div class="billingitem" style="width:48%;margin-top:5px;">
  875.          <img src="images/name-icon.svg"><input type="text" id="billing-first-name" placeholder="First Name">
  876.          </div>
  877.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  878.          <img src="images/name-icon.svg"><input type="text" id="billing-last-name" placeholder="Last Name">
  879.          </div>
  880.          <div class="billingitem" style="width:48%;margin-top:10px;">
  881.          <img src="images/location.svg"><input type="text" id="billing-address1" placeholder="Address 1">
  882.          </div>
  883.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  884.          <img src="images/location.svg"><input type="text" id="billing-address2" placeholder="Address 2 (Optional)">
  885.          </div>
  886.          <div class="billingitem" style="width:48%;margin-top:10px;">
  887.          <img src="images/zip.svg"><input type="text" id="billing-zip" placeholder="Zip Code">
  888.          </div>
  889.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  890.          <img src="images/city.svg"><input type="text" id="billing-city" placeholder="City">
  891.          </div>
  892.          <div class="billingitem" style="width:48%;margin-top:10px;">
  893.          <img src="images/earth.svg"><select class="bilsel" id="billing-country" style="margin-top:8px;width:70%;">
  894.             <option id="" value="" disabled="" selected="">Country</option>
  895.             <optgroup id="country-optgroup-Africa" label="Africa">
  896.             <option value="Algeria">Algeria</option>
  897.             <option value="Angola">Angola</option>
  898.             <option value="Benin">Benin</option>
  899.             <option value="Botswana">Botswana</option>
  900.             <option value="Burkina Faso">Burkina Faso</option>
  901.             <option value="Burundi">Burundi</option>
  902.             <option value="Cameroon">Cameroon</option>
  903.             <option value="Cape Verde">Cape Verde</option>
  904.             <option value="Central African Republic">Central African Republic</option>
  905.             <option value="Chad">Chad</option>
  906.             <option value="Comoros">Comoros</option>
  907.             <option value="Congo - Brazzaville">Congo - Brazzaville</option>
  908.             <option value="Congo - Kinshasa">Congo - Kinshasa</option>
  909.             <option value="Côte d’Ivoire">Côte d’Ivoire</option>
  910.             <option value="Djibouti">Djibouti</option>
  911.             <option value="Egypt">Egypt</option>
  912.             <option value="Equatorial Guinea">Equatorial Guinea</option>
  913.             <option value="Eritrea">Eritrea</option>
  914.             <option value="Ethiopia">Ethiopia</option>
  915.             <option value="Gabon">Gabon</option>
  916.             <option value="Gambia">Gambia</option>
  917.             <option value="Ghana">Ghana</option>
  918.             <option value="Guinea">Guinea</option>
  919.             <option value="Guinea-Bissau">Guinea-Bissau</option>
  920.             <option value="Kenya">Kenya</option>
  921.             <option value="Lesotho">Lesotho</option>
  922.             <option value="Liberia">Liberia</option>
  923.             <option value="Libya">Libya</option>
  924.             <option value="Madagascar">Madagascar</option>
  925.             <option value="Malawi">Malawi</option>
  926.             <option value="Mali">Mali</option>
  927.             <option value="Mauritania">Mauritania</option>
  928.             <option value="Mauritius">Mauritius</option>
  929.             <option value="Mayotte">Mayotte</option>
  930.             <option value="Morocco">Morocco</option>
  931.             <option value="Mozambique">Mozambique</option>
  932.             <option value="Namibia">Namibia</option>
  933.             <option value="Niger">Niger</option>
  934.             <option value="Nigeria">Nigeria</option>
  935.             <option value="Rwanda">Rwanda</option>
  936.             <option value="Réunion">Réunion</option>
  937.             <option value="Saint Helena">Saint Helena</option>
  938.             <option value="Senegal">Senegal</option>
  939.             <option value="Seychelles">Seychelles</option>
  940.             <option value="Sierra Leone">Sierra Leone</option>
  941.             <option value="Somalia">Somalia</option>
  942.             <option value="South Africa">South Africa</option>
  943.             <option value="Sudan">Sudan</option>
  944.             <option value="Swaziland">Swaziland</option>
  945.             <option value="São Tomé and Príncipe">São Tomé and Príncipe</option>
  946.             <option value="Tanzania">Tanzania</option>
  947.             <option value="Togo">Togo</option>
  948.             <option value="Tunisia">Tunisia</option>
  949.             <option value="Uganda">Uganda</option>
  950.             <option value="Western Sahara">Western Sahara</option>
  951.             <option value="Zambia">Zambia</option>
  952.             <option value="Zimbabwe">Zimbabwe</option>
  953.             </optgroup>
  954.             <optgroup id="country-optgroup-Americas" label="Americas">
  955.             <option value="Anguilla">Anguilla</option>
  956.             <option value="Antigua and Barbuda">Antigua and Barbuda</option>
  957.             <option value="Argentina">Argentina</option>
  958.             <option value="Aruba">Aruba</option>
  959.             <option value="Bahamas">Bahamas</option>
  960.             <option value="Barbados">Barbados</option>
  961.             <option value="Belize">Belize</option>
  962.             <option value="Bermuda">Bermuda</option>
  963.             <option value="Bolivia">Bolivia</option>
  964.             <option value="Brazil">Brazil</option>
  965.             <option value="British Virgin Islands">British Virgin Islands</option>
  966.             <option value="Canada">Canada</option>
  967.             <option value="Cayman Islands">Cayman Islands</option>
  968.             <option value="Chile">Chile</option>
  969.             <option value="Colombia">Colombia</option>
  970.             <option value="Costa Rica">Costa Rica</option>
  971.             <option value="Cuba">Cuba</option>
  972.             <option value="Dominica">Dominica</option>
  973.             <option value="Dominican Republic">Dominican Republic</option>
  974.             <option value="Ecuador">Ecuador</option>
  975.             <option value="El Salvador">El Salvador</option>
  976.             <option value="Falkland Islands">Falkland Islands</option>
  977.             <option value="French Guiana">French Guiana</option>
  978.             <option value="Greenland">Greenland</option>
  979.             <option value="Grenada">Grenada</option>
  980.             <option value="Guadeloupe">Guadeloupe</option>
  981.             <option value="Guatemala">Guatemala</option>
  982.             <option value="Guyana">Guyana</option>
  983.             <option value="Haiti">Haiti</option>
  984.             <option value="Honduras">Honduras</option>
  985.             <option value="Jamaica">Jamaica</option>
  986.             <option value="Martinique">Martinique</option>
  987.             <option value="Mexico">Mexico</option>
  988.             <option value="Montserrat">Montserrat</option>
  989.             <option value="Netherlands Antilles">Netherlands Antilles</option>
  990.             <option value="Nicaragua">Nicaragua</option>
  991.             <option value="Panama">Panama</option>
  992.             <option value="Paraguay">Paraguay</option>
  993.             <option value="Peru">Peru</option>
  994.             <option value="Puerto Rico">Puerto Rico</option>
  995.             <option value="Saint Barthélemy">Saint Barthélemy</option>
  996.             <option value="Saint Kitts and Nevis">Saint Kitts and Nevis</option>
  997.             <option value="Saint Lucia">Saint Lucia</option>
  998.             <option value="Saint Martin">Saint Martin</option>
  999.             <option value="Saint Pierre and Miquelon">Saint Pierre and Miquelon</option>
  1000.             <option value="Saint Vincent and the Grenadines">Saint Vincent and the Grenadines</option>
  1001.             <option value="Suriname">Suriname</option>
  1002.             <option value="Trinidad and Tobago">Trinidad and Tobago</option>
  1003.             <option value="Turks and Caicos Islands">Turks and Caicos Islands</option>
  1004.             <option value="U.S. Virgin Islands">U.S. Virgin Islands</option>
  1005.             <option value="United States">United States</option>
  1006.             <option value="Uruguay">Uruguay</option>
  1007.             <option value="Venezuela">Venezuela</option>
  1008.             </optgroup>
  1009.             <optgroup id="country-optgroup-Asia" label="Asia">
  1010.             <option value="Afghanistan">Afghanistan</option>
  1011.             <option value="Armenia">Armenia</option>
  1012.             <option value="Azerbaijan">Azerbaijan</option>
  1013.             <option value="Bahrain">Bahrain</option>
  1014.             <option value="Bangladesh">Bangladesh</option>
  1015.             <option value="Bhutan">Bhutan</option>
  1016.             <option value="Brunei">Brunei</option>
  1017.             <option value="Cambodia">Cambodia</option>
  1018.             <option value="China">China</option>
  1019.             <option value="Cyprus">Cyprus</option>
  1020.             <option value="Georgia">Georgia</option>
  1021.             <option value="Hong Kong SAR China">Hong Kong SAR China</option>
  1022.             <option value="India">India</option>
  1023.             <option value="Indonesia">Indonesia</option>
  1024.             <option value="Iran">Iran</option>
  1025.             <option value="Iraq">Iraq</option>
  1026.             <option value="Israel">Israel</option>
  1027.             <option value="Japan">Japan</option>
  1028.             <option value="Jordan">Jordan</option>
  1029.             <option value="Kazakhstan">Kazakhstan</option>
  1030.             <option value="Kuwait">Kuwait</option>
  1031.             <option value="Kyrgyzstan">Kyrgyzstan</option>
  1032.             <option value="Laos">Laos</option>
  1033.             <option value="Lebanon">Lebanon</option>
  1034.             <option value="Macau SAR China">Macau SAR China</option>
  1035.             <option value="Malaysia">Malaysia</option>
  1036.             <option value="Maldives">Maldives</option>
  1037.             <option value="Mongolia">Mongolia</option>
  1038.             <option value="Myanmar [Burma]">Myanmar [Burma]</option>
  1039.             <option value="Nepal">Nepal</option>
  1040.             <option value="Neutral Zone">Neutral Zone</option>
  1041.             <option value="North Korea">North Korea</option>
  1042.             <option value="Oman">Oman</option>
  1043.             <option value="Pakistan">Pakistan</option>
  1044.             <option value="Palestinian Territories">Palestinian Territories</option>
  1045.             <option value="People's Democratic Republic of Yemen">People's Democratic Republic of Yemen</option>
  1046.             <option value="Philippines">Philippines</option>
  1047.             <option value="Qatar">Qatar</option>
  1048.             <option value="Saudi Arabia">Saudi Arabia</option>
  1049.             <option value="Singapore">Singapore</option>
  1050.             <option value="South Korea">South Korea</option>
  1051.             <option value="Sri Lanka">Sri Lanka</option>
  1052.             <option value="Syria">Syria</option>
  1053.             <option value="Taiwan">Taiwan</option>
  1054.             <option value="Tajikistan">Tajikistan</option>
  1055.             <option value="Thailand">Thailand</option>
  1056.             <option value="Timor-Leste">Timor-Leste</option>
  1057.             <option value="Turkey">Turkey</option>
  1058.             <option alue="Turkmenistan">Turkmenistan</option>
  1059.             <option value="United Arab Emirates">United Arab Emirates</option>
  1060.             <option value="Uzbekistan">Uzbekistan</option>
  1061.             <option value="Vietnam">Vietnam</option>
  1062.             <option value="Yemen">Yemen</option>
  1063.             </optgroup>
  1064.             <optgroup id="country-optgroup-Europe" label="Europe">
  1065.             <option value="Albania">Albania</option>
  1066.             <option value="Andorra">Andorra</option>
  1067.             <option value="Austria">Austria</option>
  1068.             <option value="Belarus">Belarus</option>
  1069.             <option value="Belgium">Belgium</option>
  1070.             <option value="Bosnia and Herzegovina">Bosnia and Herzegovina</option>
  1071.             <option value="Bulgaria">Bulgaria</option>
  1072.             <option value="Croatia">Croatia</option>
  1073.             <option value="Cyprus">Cyprus</option>
  1074.             <option value="Czech Republic">Czech Republic</option>
  1075.             <option value="Denmark">Denmark</option>
  1076.             <option value="East Germany">East Germany</option>
  1077.             <option value="Estonia">Estonia</option>
  1078.             <option value="Faroe Islands">Faroe Islands</option>
  1079.             <option value="Finland">Finland</option>
  1080.             <option value="France">France</option>
  1081.             <option value="Germany">Germany</option>
  1082.             <option value="Gibraltar">Gibraltar</option>
  1083.             <option value="Greece">Greece</option>
  1084.             <option value="Guernsey">Guernsey</option>
  1085.             <option value="Hungary">Hungary</option>
  1086.             <option value="Iceland">Iceland</option>
  1087.             <option value="Ireland">Ireland</option>
  1088.             <option value="Isle of Man">Isle of Man</option>
  1089.             <option value="Italy">Italy</option>
  1090.             <option value="Jersey">Jersey</option>
  1091.             <option value="Latvia">Latvia</option>
  1092.             <option value="Liechtenstein">Liechtenstein</option>
  1093.             <option value="Lithuania">Lithuania</option>
  1094.             <option value="Luxembourg">Luxembourg</option>
  1095.             <option value="Macedonia">Macedonia</option>
  1096.             <option value="Malta">Malta</option>
  1097.             <option value="Metropolitan France">Metropolitan France</option>
  1098.             <option value="Moldova">Moldova</option>
  1099.             <option value="Monaco">Monaco</option>
  1100.             <option value="Montenegro">Montenegro</option>
  1101.             <option value="Netherlands">Netherlands</option>
  1102.             <option value="Norway">Norway</option>
  1103.             <option value="Poland">Poland</option>
  1104.             <option value="Portugal">Portugal</option>
  1105.             <option value="Romania">Romania</option>
  1106.             <option value="Russia">Russia</option>
  1107.             <option value="San Marino">San Marino</option>
  1108.             <option value="Serbia">Serbia</option>
  1109.             <option value="Serbia and Montenegro">Serbia and Montenegro</option>
  1110.             <option value="Slovakia">Slovakia</option>
  1111.             <option value="Slovenia">Slovenia</option>
  1112.             <option value="Spain">Spain</option>
  1113.             <option value="Svalbard and Jan Mayen">Svalbard and Jan Mayen</option>
  1114.             <option value="Sweden">Sweden</option>
  1115.             <option value="Switzerland">Switzerland</option>
  1116.             <option value="Ukraine">Ukraine</option>
  1117.             <option value="Union of Soviet Socialist Republics">Union of Soviet Socialist Republics</option>
  1118.             <option value="United Kingdom">United Kingdom</option>
  1119.             <option value="Vatican City">Vatican City</option>
  1120.             <option value="Åland Islands">Åland Islands</option>
  1121.             </optgroup>
  1122.             <optgroup id="country-optgroup-Oceania" label="Oceania">
  1123.             <option value="American Samoa">American Samoa</option>
  1124.             <option value="Antarctica">Antarctica</option>
  1125.             <option value="Australia">Australia</option>
  1126.             <option value="Bouvet Island">Bouvet Island</option>
  1127.             <option value="British Indian Ocean Territory">British Indian Ocean Territory</option>
  1128.             <option value="Christmas Island">Christmas Island</option>
  1129.             <option value="Cocos [Keeling] Islands">Cocos [Keeling] Islands</option>
  1130.             <option value="Cook Islands">Cook Islands</option>
  1131.             <option value="Fiji">Fiji</option>
  1132.             <option value="French Polynesia">French Polynesia</option>
  1133.             <option value="French Southern Territories">French Southern Territories</option>
  1134.             <option value="Guam">Guam</option>
  1135.             <option value="Heard Island and McDonald Islands">Heard Island and McDonald Islands</option>
  1136.             <option value="Kiribati">Kiribati</option>
  1137.             <option value="Marshall Islands">Marshall Islands</option>
  1138.             <option value="Micronesia">Micronesia</option>
  1139.             <option value="Nauru">Nauru</option>
  1140.             <option value="New Caledonia">New Caledonia</option>
  1141.             <option value="New Zealand">New Zealand</option>
  1142.             <option value="Niue">Niue</option>
  1143.             <option value="Norfolk Island">Norfolk Island</option>
  1144.             <option value="Northern Mariana Islands">Northern Mariana Islands</option>
  1145.             <option value="Palau">Palau</option>
  1146.             <option value="Papua New Guinea">Papua New Guinea</option>
  1147.             <option value="Pitcairn Islands">Pitcairn Islands</option>
  1148.             <option value="Samoa">Samoa</option>
  1149.             <option value="Solomon Islands">Solomon Islands</option>
  1150.             <option value="South Georgia and the South Sandwich Islands">South Georgia and the South Sandwich Islands</option>
  1151.             <option value="Tokelau">Tokelau</option>
  1152.             <option value="Tonga">Tonga</option>
  1153.             <option value="Tuvalu">Tuvalu</option>
  1154.             <option value="U.S. Minor Outlying Islands">U.S. Minor Outlying Islands</option>
  1155.             <option value="Vanuatu">Vanuatu</option>
  1156.             <option value="Wallis and Futuna">Wallis and Futuna</option>
  1157.             </optgroup>
  1158.                    </select>
  1159.          </div>
  1160.          <div class="billingitem" style="width:48%;margin-top:-40px;float:right">
  1161.          <img src="images/earth.svg"><select class="bilsel" id="billing-state" style="margin-top:8px;width:70%;">
  1162.                 <option value="" selected>State/Province</option>
  1163.             </select>
  1164.          </div></div><div class="billingitem bilheader" style="margin-top:25px;"><img src="images/checkout.png" style="margin-left:0;" height="35px" width="35px"><span style="font-weight:lighter;font-size:20px; margin-bottom:-10px;margin-left:10px;">ONE CHECKOUT PER PROFILE</span>
  1165.           <span class="switch" id="one-checkout-switch">
  1166.           <input id="one-checkout" class="cmn-toggle cmn-toggle-round-flat" type="checkbox">
  1167.           <label for="one-checkout"></label>
  1168.           </span>
  1169.           </div>
  1170.          </div>
  1171.          </div>
  1172.       </div>
  1173.       <script>
  1174.       let mousedown = false;
  1175.       let selected = 'tasks_page';
  1176. let changing = !1;
  1177. function OpenLinkInput(){
  1178. swal({
  1179.   title: 'Mass Link Change',
  1180.    content: {
  1181.     element: "input",
  1182.     attributes: {
  1183.       placeholder: "Input link",
  1184.     }},
  1185.   button: {
  1186.     text: "Set",
  1187.   },
  1188. })
  1189. .then(link => {
  1190. if(link){
  1191. setMassLink(link);
  1192. swal("Success","Successfully set link to all corresponding tasks","success", {buttons:{visible:false}, timer: 1000})}})
  1193. }
  1194. function sortTable(n) {
  1195.   var table, rows, switching, i, x, y, shouldSwitch, dir, switchcount = 0;
  1196.   table = document.getElementById("tasks_page");
  1197.   switching = true;
  1198.   // Set the sorting direction to ascending:
  1199.   dir = "asc";
  1200.   /* Make a loop that will continue until
  1201.   no switching has been done: */
  1202.   while (switching) {
  1203.     // Start by saying: no switching is done:
  1204.     switching = false;
  1205.     rows = table.getElementsByTagName("tr");
  1206.     /* Loop through all table rows (except the
  1207.     first, which contains table headers): */
  1208.     for (i = 1; i < (rows.length - 1); i++) {
  1209.       // Start by saying there should be no switching:
  1210.       shouldSwitch = false;
  1211.       /* Get the two elements you want to compare,
  1212.       one from current row and one from the next: */
  1213.       x = rows[i].getElementsByTagName("th")[n];
  1214.       y = rows[i + 1].getElementsByTagName("th")[n];
  1215.       /* Check if the two rows should switch place,
  1216.       based on the direction, asc or desc: */
  1217.       if (dir == "asc") {
  1218.         if(!isNaN(parseInt(x.innerHTML.toLowerCase()))){
  1219.             if (parseInt(x.innerHTML.toLowerCase()) > parseInt(y.innerHTML.toLowerCase())){
  1220.                 // If so, mark as a switch and break the loop:
  1221.                 shouldSwitch= true;
  1222.                 break;
  1223.             }
  1224.         }
  1225.         else{
  1226.             if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()){
  1227.                 // If so, mark as a switch and break the loop:
  1228.                 shouldSwitch= true;
  1229.                 break;
  1230.             }
  1231.         }
  1232.       } else if (dir == "desc") {
  1233.         if(!isNaN(parseInt(x.innerHTML.toLowerCase()))){
  1234.             if (parseInt(x.innerHTML.toLowerCase()) < parseInt(y.innerHTML.toLowerCase())){
  1235.                 // If so, mark as a switch and break the loop:
  1236.                 shouldSwitch= true;
  1237.                 break;
  1238.             }
  1239.         }
  1240.         else{
  1241.             if (x.innerHTML.toLowerCase() < y.innerHTML.toLowerCase()){
  1242.                 // If so, mark as a switch and break the loop:
  1243.                 shouldSwitch= true;
  1244.                 break;
  1245.             }
  1246.         }
  1247.       }
  1248.     }
  1249.     if (shouldSwitch) {
  1250.       /* If a switch has been marked, make the switch
  1251.       and mark that a switch has been done: */
  1252.       rows[i].parentNode.insertBefore(rows[i + 1], rows[i]);
  1253.       switching = true;
  1254.       // Each time a switch is done, increase this count by 1:
  1255.       switchcount ++;
  1256.     } else {
  1257.       /* If no switching has been done AND the direction is "asc",
  1258.       set the direction to "desc" and run the while loop again. */
  1259.       if (switchcount == 0 && dir == "asc") {
  1260.         dir = "desc";
  1261.         switching = true;
  1262.       }
  1263.     }
  1264.   }
  1265. }
  1266. function changeActive(id) {
  1267.     if (id != selected && !changing) {
  1268.         changing = !0;
  1269.         document.getElementById(selected).style.opacity = 0;
  1270.         document.getElementById(selected + '_btn').classList.remove('active');
  1271.         document.getElementById(id).style.display = 'block';
  1272.         setTimeout(() => {
  1273.             document.getElementById(selected).style = 'display:none;opacity:0';
  1274.             document.getElementById(id).style.opacity = 1;
  1275.             selected = id;
  1276.             changing = !1;
  1277.             resize_table()
  1278.         }, 300);
  1279.         document.getElementById(id + '_btn').className = 'active'
  1280.     } else if (id != selected && changing) {
  1281.         setTimeout(function() {
  1282.             changeActive(id)
  1283.         }, 0)
  1284.     }
  1285. }
  1286. function changeActive(id) {
  1287.     if (id != selected && !changing) {
  1288.         changing = !0;
  1289.         document.getElementById(selected).style.opacity = 0;
  1290.         document.getElementById(selected + '_btn').classList.remove('active');
  1291.         document.getElementById(id).style.display = 'block';
  1292.         setTimeout(() => {
  1293.             document.getElementById(selected).style = 'display:none;opacity:0';
  1294.             document.getElementById(id).style.opacity = 1;
  1295.             selected = id;
  1296.             changing = !1;
  1297.             resize_table()
  1298.         }, 300);
  1299.         document.getElementById(id + '_btn').className = 'active'
  1300.     } else if (id != selected && changing) {
  1301.         setTimeout(function() {
  1302.             changeActive(id)
  1303.         }, 0)
  1304.     }
  1305. }
  1306. window.addEventListener('resize', resize_table = () => {
  1307.     let window_width = $(window).width();
  1308.     let window_height = $(window).height();
  1309.     let tdsizes = {};
  1310.     if (selected === 'tasks_page') {
  1311.         tdsizes = {
  1312.             td1: Math.round(window_width / 27.2),
  1313.             td2: Math.round(window_width / 9.5),
  1314.             td3: Math.round(window_width / 5.913),
  1315.             td4: Math.round(window_width / 13.6),
  1316.             td5: Math.round(window_width / 7.5),
  1317.             td6: Math.round(window_width / 12.364),
  1318.             td7: Math.round(window_width / 9.714),
  1319.             td8: Math.round(window_width / 7)
  1320.         }
  1321.     } else if (selected === 'proxies_page') {
  1322.         tdsizes = {
  1323.             ptd1: Math.round(window_width / 27.2),
  1324.             ptd2: Math.round(window_width / 7),
  1325.             ptd3: Math.round(window_width / 7),
  1326.             ptd4: Math.round(window_width / 7),
  1327.             ptd5: Math.round(window_width / 7),
  1328.             ptd6: Math.round(window_width / 7),
  1329.             ptd7: Math.round(window_width / 8),
  1330.             ptd8: Math.round(window_width / 10),
  1331.         }
  1332.     } else if (selected === 'settings_page') {
  1333.         if (window_width >= 1073) {
  1334.             $('.settingsdiv .quantity').css('margin-top', '-4px')
  1335.         } else {
  1336.             $('.settingsdiv .quantity').css('margin-top', '-32px')
  1337.         }
  1338.     }
  1339.     for (let key of Object.keys(tdsizes)) {
  1340.         $(`.${key}`).css({
  1341.             "width": `${tdsizes[key]}px`,
  1342.             "max-width": `${tdsizes[key]}px`,
  1343.             "min-width": `${tdsizes[key]}px`,
  1344.             "margin-right": "px",
  1345.             "padding-left": "5px",
  1346.         })
  1347.     }
  1348. }, !0);
  1349. document.addEventListener('DOMContentLoaded', () => {
  1350.     $('#keyinput').val('error'.toUpperCase());
  1351.     resize_table()
  1352. });
  1353. let profiles = {};
  1354. $('#save-profile').click(function() {
  1355.     let profile = {};
  1356.     let cont = !0;
  1357.     if ($('#billing-profile-name').val().replace(/ /g, '') === "" || $('#billing-profile-name').val().replace(/ /g, '') == "-") {
  1358.         $('#billing-profile-name').parent('div').css('border-bottom', '2px solid red');
  1359.         cont = !1
  1360.     }
  1361.     $('#billing_page input:enabled[type=text]').not('#delivery-address2').not('#billing-address2').each(function(){
  1362.       if(!$(this).val() && !$(this).attr('id').includes("billing")){
  1363.         $(this).parent('div').css('border-bottom', '2px solid red')
  1364.         cont = !1
  1365.       }
  1366.     });
  1367.     $('#billing_page select').not('#load_profile_select').each(function(i) {
  1368.       if(!$(this).val() && !$(this).attr('id').includes("billing")){
  1369.         if($(this).attr('id') == 'payment-card-expiry-month' || $(this).attr('id') == 'payment-card-expiry-year'){
  1370.           $(this).parent('div').parent('div').css('border-bottom', '2px solid red')
  1371.           cont = !1
  1372.         }
  1373.         else{
  1374.         $(this).parent('div').css('border-bottom', '2px solid red')
  1375.         cont = !1
  1376.       }
  1377.       }
  1378.     });
  1379.    
  1380.     $('#billing-field input:enabled[type=text]').not('#delivery-address2').not('#billing-address2').each(function(){
  1381.       if(!$(this).val()){
  1382.         $(this).parent('div').css('border-bottom', '2px solid red')
  1383.         cont = !1
  1384.       }
  1385.     });
  1386.     $('#billing-field select:enabled').not('#load_profile_select').each(function(i) {
  1387.       if(!$(this).val()){
  1388.         if($(this).attr('id') == 'payment-card-expiry-month' || $(this).attr('id') == 'payment-card-expiry-year'){
  1389.           $(this).parent('div').parent('div').css('border-bottom', '2px solid red')
  1390.           cont = !1
  1391.         }
  1392.         else{
  1393.         $(this).parent('div').css('border-bottom', '2px solid red')
  1394.         cont = !1
  1395.       }
  1396.       }
  1397.     });
  1398.     if (cont) {
  1399.         profile.name = $('#billing-profile-name').val();
  1400.         profile.payment = {
  1401.             email: $('#payment-email').val(),
  1402.             phone: $('#payment-phone').val(),
  1403.             card: {
  1404.                 name: $('#payment-card-name').val(),
  1405.                 number: $('#payment-card-number').val(),
  1406.                 exp_month: $('#payment-card-expiry-month').val(),
  1407.                 exp_year: $('#payment-card-expiry-year').val(),
  1408.                 cvv: $('#payment-card-cvv').val()
  1409.             }
  1410.         };
  1411.         profile.delivery = {
  1412.             first_name: $('#delivery-first-name').val(),
  1413.             last_name: $('#delivery-last-name').val(),
  1414.             addr1: $('#delivery-address1').val(),
  1415.             addr2: $('#delivery-address2').val(),
  1416.             zip: $('#delivery-zip').val(),
  1417.             city: $('#delivery-city').val(),
  1418.             country: $('#delivery-country').val(),
  1419.             state: $('#delivery-state').val()
  1420.         };
  1421.         if ($('#billing-toggle').prop("checked")) {
  1422.             profile.billing = {
  1423.                 first_name: $('#billing-first-name').val(),
  1424.                 last_name: $('#billing-last-name').val(),
  1425.                 addr1: $('#billing-address1').val(),
  1426.                 addr2: $('#billing-address2').val(),
  1427.                 zip: $('#billing-zip').val(),
  1428.                 city: $('#billing-city').val(),
  1429.                 country: $('#billing-country').val(),
  1430.                 state: $('#billing-state').val()
  1431.             }
  1432.             profile.billing.same_as_del = !0
  1433.         } else {
  1434.             profile.billing = profile.delivery;
  1435.             profile.billing.same_as_del = !1
  1436.         }
  1437.         profile.one_checkout = $('#one-checkout').prop('checked');
  1438.         profiles[profile.name] = profile;
  1439.         update_profile_selects();
  1440.         clear_profile_page()
  1441.     }
  1442. });
  1443.  
  1444. function load_profile(profile) {
  1445.     try {
  1446.         clear_profile_page();
  1447.         $('#billing-profile-name').val(profile.name);
  1448.         $('#payment-email').val(profile.payment.email);
  1449.         $('#payment-phone').val(profile.payment.phone);
  1450.         $('#payment-card-name').val(profile.payment.card.name);
  1451.         $('#payment-card-number').val(profile.payment.card.number);
  1452.         $('#payment-card-expiry-month').val(profile.payment.card.exp_month);
  1453.         $('#payment-card-expiry-year').val(profile.payment.card.exp_year);
  1454.         $('#payment-card-cvv').val(profile.payment.card.cvv);
  1455.         $('#delivery-first-name').val(profile.delivery.first_name);
  1456.         $('#delivery-last-name').val(profile.delivery.last_name);
  1457.         $('#delivery-address1').val(profile.delivery.addr1);
  1458.         $('#delivery-address2').val(profile.delivery.addr2);
  1459.         $('#delivery-zip').val(profile.delivery.zip);
  1460.         $('#delivery-city').val(profile.delivery.city);
  1461.         $('#delivery-country').val(profile.delivery.country);
  1462.         $('#billing-first-name').val(profile.billing.first_name);
  1463.         $('#billing-last-name').val(profile.billing.last_name);
  1464.         $('#billing-address1').val(profile.billing.addr1);
  1465.         $('#billing-address2').val(profile.billing.addr2);
  1466.         $('#billing-zip').val(profile.billing.zip);
  1467.         $('#billing-city').val(profile.billing.city);
  1468.         $('#billing-country').val(profile.billing.country);
  1469.         loadDeliveryStates();
  1470.         loadBillingStates();
  1471.         $('#delivery-state').val(profile.delivery.state);
  1472.         $('#billing-state').val(profile.billing.state);
  1473.         if (!profile.billing.same_as_del) {
  1474.             $('#billing-toggle').prop("checked", !0).trigger('click')
  1475.         } else {
  1476.             $('#billing-toggle').prop("checked", !1).trigger('click')
  1477.         }
  1478.         profile.one_checkout ? $('#one-checkout').prop('checked', !0).trigger('change') : $('#one-checkout').prop('checked', !1).trigger("change")
  1479.     } catch (err) {
  1480.         console.log(err);
  1481.     }
  1482. }
  1483.  
  1484. function delete_profile() {
  1485.     delete profiles[$('#billing-profile-name').val()];
  1486.     update_profile_selects();
  1487.     clear_profile_page()
  1488. }
  1489.  
  1490. function update_profile_selects() {
  1491.     let htmlstring = '<option value="" selected>-</option>\n';
  1492.     for (let single of Object.keys(profiles)) {
  1493.         htmlstring += `<option>${single}</option>\n`
  1494.     }
  1495.     $('.profileselect').html(htmlstring);
  1496.     setProfiles()
  1497. }
  1498. let tagslock = !1;
  1499. $('#datetimepicker2').datetimepicker({
  1500.     language: 'en',
  1501.     pick12HourFormat: !0,
  1502.     pickDate: !1
  1503. });
  1504. $('#datetimepicker3').datetimepicker({
  1505.     language: 'en',
  1506.     pick12HourFormat: !0,
  1507.     pickTime: !1
  1508. });
  1509. $('.date').datepicker({
  1510.     orientation: 'left bottom',
  1511.     autoclose: !0,
  1512.     startDate: 'now',
  1513. });
  1514. $('.clickforkeyword').click(function() {
  1515.     if ($('.js-example-basic-single').select2('data')[0].text !== 'Supreme') {
  1516.         $('.bootstrap-tagsinput input').focus()
  1517.     }
  1518. });
  1519. var elt = $('#tagsinput');
  1520. elt.tagsinput({
  1521.     tagClass: function(item) {
  1522.         if (item.startsWith('http') && !tagslock) {
  1523.             $('#tagsinput').tagsinput('removeAll');
  1524.             return 'label label-primary'
  1525.         } else {
  1526.             return item.startsWith('-') ? 'label label-danger label-important' : 'label label-success'
  1527.         }
  1528.     },
  1529.     itemText: function(item) {
  1530.         if (item.startsWith('-')) {
  1531.             return item.split('-')[1]
  1532.         } else if (item.startsWith('+')) {
  1533.             return item.split('+')[1]
  1534.         } else {
  1535.             return item
  1536.         }
  1537.     },
  1538. });
  1539. const isValidUrl = (string) => {
  1540.     try {
  1541.         new URL(string);
  1542.         return !0
  1543.     } catch (_) {
  1544.         return !1
  1545.     }
  1546. }
  1547. $('#tagsinput').on('beforeItemAdd', function(event) {
  1548.     event.cancel = tagslock;
  1549.     if ((modal_state == "URL" || modal_state == "Keywords/URL") && isValidUrl(event.item)) {
  1550.         tagslock = !0
  1551.     } else if (modal_state === "SKU" || modal_state === "SKU ") {
  1552.         if (isValidUrl(event.item)) {
  1553.             event.cancel = !0
  1554.         } else {
  1555.             tagslock = !0
  1556.         }
  1557.     }
  1558.     if (modal_state === "URL" && !isValidUrl(event.item)) {
  1559.         event.cancel = !0
  1560.     }
  1561. });
  1562. $('#tagsinput').on('beforeItemRemove', function(event) {
  1563.     if (tagslock) {
  1564.         tagslock = !1
  1565.     }
  1566. });
  1567. $('#switch4datetime').change(function() {
  1568.     if ($(this).children('input').prop('checked')) {
  1569.         $(this).parent('.addtaskdiv').css('height', '90px');
  1570.         $('#div4proxy').css('margin-top', '-90px');
  1571.         $('.removeme').css('display', 'none')
  1572.     } else {
  1573.         $(this).parent('.addtaskdiv').css('height', '40px');
  1574.         $('#div4proxy').css('margin-top', '-40px');
  1575.         $('.removeme').css('display', 'block')
  1576.     }
  1577. });
  1578. $('#toggle4proxy').change(function() {
  1579.     if ($(this).children('input').prop('checked')) {
  1580.         $(this).parent('.addtaskdiv').css('height', '90px');
  1581.         $('#proxyinput').focus()
  1582.     } else {
  1583.         $(this).parent('.addtaskdiv').css('height', '40px')
  1584.     }
  1585. });
  1586. $('#tagsinput').on('itemAdded', function(event) {
  1587.     $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
  1588. });
  1589. $('#specialone').click(function() {
  1590.     if ($('.js-example-basic-single').select2('data')[0].text === 'Supreme') {
  1591.         $('#categoryinput').trigger('open')
  1592.     }
  1593. })
  1594. $('#tagsinput').on('itemRemoved', function(event) {
  1595.     $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
  1596. });
  1597. $('#tagsinput').on('itemAddedOnInit', function(event) {
  1598.     $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
  1599. });
  1600. $('#billing_page select').focusin(function() {
  1601.     if ($(this)[0].name == "billing_card_expiry_month" || $(this)[0].name == "billing_card_expiry_year") {
  1602.         $(this).parent('div').parent('div').css('border-bottom', '2px solid #c2c2c2')
  1603.     } else {
  1604.         $(this).parent('div').css('border-bottom', '2px solid #c2c2c2')
  1605.     }
  1606. });
  1607. $('#billing_page select').focusout(function() {
  1608.     if ($(this)[0].name == "billing_card_expiry_month" || $(this)[0].name == "billing_card_expiry_year") {
  1609.         $(this).parent('div').parent('div').css('border-bottom', '2px solid #28252f')
  1610.     } else {
  1611.         $(this).parent('div').css('border-bottom', '2px solid #28252f')
  1612.     }
  1613. });
  1614. $('.bootstrap-tagsinput input').focusin(function() {
  1615.     $('#tagsdiv').css('border-bottom', '2px solid #c2c2c2')
  1616. });
  1617. $('.bootstrap-tagsinput input').focusout(function() {
  1618.     $('#tagsdiv').css('border-bottom', '2px solid #28252f')
  1619. });
  1620. $('.js-example-basic-single').on('select2:opening', function() {
  1621.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
  1622. });
  1623. $('.js-example-basic-single').on('select2:closing', function() {
  1624.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
  1625. });
  1626. $('.logininput').focusin(function() {
  1627.     $('#logindiv').css('border-bottom', '2px solid #c2c2c2')
  1628. });
  1629. $('.logininput').focusout(function() {
  1630.     $('#logindiv').css('border-bottom', '2px solid #28252f')
  1631. });
  1632. let modal_state = "Keywords";
  1633. $('#store-dropdown').on('change', function() {
  1634.     let selected = $('.js-example-basic-single').select2('data')[0].text;
  1635.     let group = $('select option[value="' + selected + '"]').closest('optgroup').attr('label') ? $('select option[value="' + selected + '"]').closest('optgroup').attr('label') : $('select option[value="' + selected + '"]').attr('value')
  1636.    
  1637.     if (group == 'Supreme') {
  1638.         modal_state = "Keywords";
  1639.         $('#colordiv').css('height', '40px')
  1640.         $('#colordiv').css('border-bottom', '2px solid #28252f')
  1641.         $('#colordiv').css('margin-top', '10px')
  1642.         $('#colordiv').css('padding-top', '8px')
  1643.         $('#colordiv').css('padding-left', '10px')
  1644.         $('.clickforkeyword').css('display', 'none')
  1645.         $('#logindiv').css('height', '0px')
  1646.         setTimeout(() => {
  1647.             $('#logindiv').css('border', 'none')
  1648.             $('#logindiv').css('margin', '0px')
  1649.             $('#logindiv').css('padding', '0px')
  1650.         }, 200)
  1651.     } else if (group == 'Shopify') {
  1652.         modal_state = "Keywords/URL"
  1653.         $('#logindiv').css('height', '40px');
  1654.         $('#logindiv').css('border-bottom', '2px solid #28252f');
  1655.         $('#logindiv').css('margin-top', '10px');
  1656.         $('#logindiv').css('padding-top', '8px');
  1657.         $('#logindiv').css('padding-left', '10px');
  1658.         $('#colordiv').css('height', '0px');
  1659.         setTimeout(() => {
  1660.             $('#colordiv').css('border', 'none');
  1661.             $('#colordiv').css('margin', '0px');
  1662.             $('#colordiv').css('padding', '0px')
  1663.         }, 200)
  1664.     } else if (group == 'Footsites') {
  1665.         if(selected == "Footlocker EU"){
  1666.         modal_state = "SKU ";
  1667.         }
  1668.         else{
  1669.             modal_state = "URL";
  1670.         }
  1671.         $('#colordiv').css('height', '0px');
  1672.         setTimeout(() => {
  1673.             $('#colordiv').css('border', 'none');
  1674.             $('#colordiv').css('margin', '0px');
  1675.             $('#colordiv').css('padding', '0px')
  1676.         }, 200);
  1677.         $('#logindiv').css('height', '0px');
  1678.         setTimeout(() => {
  1679.             $('#logindiv').css('border', 'none');
  1680.             $('#logindiv').css('margin', '0px');
  1681.             $('#logindiv').css('padding', '0px')
  1682.         }, 200)
  1683.     } else if (group == 'Off-White') {
  1684.         modal_state = "URL";
  1685.         $('#colordiv').css('height', '0px');
  1686.         setTimeout(() => {
  1687.             $('#colordiv').css('border', 'none');
  1688.             $('#colordiv').css('margin', '0px');
  1689.             $('#colordiv').css('padding', '0px')
  1690.         }, 200);
  1691.         $('#logindiv').css('height', '0px');
  1692.         setTimeout(() => {
  1693.             $('#logindiv').css('border', 'none');
  1694.             $('#logindiv').css('margin', '0px');
  1695.             $('#logindiv').css('padding', '0px')
  1696.         }, 200)
  1697.     } else if (group == 'Mesh') {
  1698.         modal_state = "SKU"
  1699.         $('#colordiv').css('height', '0px');
  1700.         setTimeout(() => {
  1701.             $('#colordiv').css('border', 'none');
  1702.             $('#colordiv').css('margin', '0px');
  1703.             $('#colordiv').css('padding', '0px')
  1704.         }, 200);
  1705.         $('#logindiv').css('height', '0px');
  1706.         setTimeout(() => {
  1707.             $('#logindiv').css('border', 'none');
  1708.             $('#logindiv').css('margin', '0px');
  1709.             $('#logindiv').css('padding', '0px')
  1710.         }, 200)
  1711.     } else if (group == 'Lacoste') {
  1712.         modal_state = "PID"
  1713.         $('#colordiv').css('height', '0px');
  1714.         setTimeout(() => {
  1715.             $('#colordiv').css('border', 'none');
  1716.             $('#colordiv').css('margin', '0px');
  1717.             $('#colordiv').css('padding', '0px')
  1718.         }, 200);
  1719.         $('#logindiv').css('height', '0px');
  1720.         setTimeout(() => {
  1721.             $('#logindiv').css('border', 'none');
  1722.             $('#logindiv').css('margin', '0px');
  1723.             $('#logindiv').css('padding', '0px')
  1724.         }, 200)
  1725.     }
  1726.     if (modal_state !== $('#keyword_span').html()) {
  1727.         $('#keyword_span').html(modal_state);
  1728.         $('#tagsinput').tagsinput('removeAll');
  1729.         tagslock = !1;
  1730.         if (modal_state === "SKU") {
  1731.             $('.bootstrap-tagsinput input').prop({
  1732.                 'type': 'number'
  1733.             })
  1734.         } else {
  1735.             $('.bootstrap-tagsinput input').prop({
  1736.                 'type': 'text'
  1737.             })
  1738.         }
  1739.     }
  1740. });
  1741. $('.bootstrap-tagsinput input').keyup(function() {
  1742.     if ($(this).val().length > 6 && modal_state === "SKU") {
  1743.         $(this).val($(this).val().substring(0, 6))
  1744.     }
  1745. });
  1746. $('.addtaskdiv select').focusin(function() {
  1747.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
  1748. });
  1749. $('.addtaskdiv select').focusout(function() {
  1750.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
  1751. });
  1752. $('#colorinput').focusin(function() {
  1753.     $('#colordiv').css('border-bottom', '2px solid #c2c2c2')
  1754. });
  1755. $('#colorinput').focusout(function() {
  1756.     $('#colordiv').css('border-bottom', '2px solid #28252f')
  1757. });
  1758. $('#proxyinput').focusin(function() {
  1759.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #c2c2c2')
  1760. });
  1761. $('#proxyinput').focusout(function() {
  1762.     $(this).parent('.addtaskdiv').css('border-bottom', '2px solid #28252f')
  1763. });
  1764. let secondline = !1;
  1765. let widthofdiv = 0;
  1766. $('.quantity-button').click(function() {
  1767.     if ($(this).hasClass('quantity-up')) {
  1768.         $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').val()) + parseInt($(this).parent().parent().find('input').attr('step')))
  1769.     } else if ($(this).hasClass('quantity-down')) {
  1770.         if (parseInt($(this).parent().parent().find('input').val()) - parseInt($(this).parent().parent().find('input').attr('step')) < parseInt($(this).parent().parent().find('input').attr('min'))) {
  1771.             $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').attr('min')))
  1772.         } else {
  1773.             $(this).parent().parent().find('input').val(parseInt($(this).parent().parent().find('input').val()) - parseInt($(this).parent().parent().find('input').attr('step')))
  1774.         }
  1775.     }
  1776. });
  1777. let proxies = 0,
  1778.     proxy_list = [];
  1779. $('#addproxiesbutton').click(function() {
  1780.     let ips = $('#proxiesarea').val().split('\n');
  1781.     let new_proxies = [];
  1782.     $('#proxiesarea').val('');
  1783.     for (let ip of ips) {
  1784.         if (ip) {
  1785.             let proxy = {
  1786.                 id: proxies++,
  1787.                 proxy: ip.replace(/ /g,'')
  1788.             };
  1789.             new_proxies.push(proxy);
  1790.             proxy_list.push(proxy);
  1791.         }
  1792.     }
  1793.     add_proxy_row(new_proxies);
  1794.     setProxies()
  1795. });
  1796. $('#new_profile_btn').click(clear_profile_page);
  1797.  
  1798. function updateProxyRow(id, status, row, _color) {
  1799.     $('#prow' + id).find('.ptd' + row).html(status).css({
  1800.         color: _color
  1801.     })
  1802. }
  1803.  
  1804. function clear_profile_page() {
  1805.     $('#billing_page input').parent('div').css('border-bottom', '');
  1806.     $('#billing_page select').parent('div').css('border-bottom', '');
  1807.     $('#billing_page input').val('');
  1808.     $('#billing_page select').not('#load_profile_select').val('')
  1809. };
  1810. $('#load_profile_select').change(function() {
  1811.     load_profile(profiles[$(this).children(":selected").html()])
  1812. });
  1813. $('.billingitem input').focusin(function() {
  1814.     $(this).parent().css('border-bottom', '2px solid #c2c2c2')
  1815. });
  1816. $('.billingitem input').focusout(function() {
  1817.     $(this).parent().css('border-bottom', '2px solid #28252f')
  1818. });
  1819. $('#keyinput').keydown(function(e) {
  1820.     setTimeout(() => {
  1821.         $(this).val($(this).val().toUpperCase())
  1822.     }, 0)
  1823. });
  1824. $('#showlicensekey').click(function() {
  1825.     if ($('#keyinput').attr('type') === 'password') {
  1826.         $('#keyinput').attr('type', 'text');
  1827.         $(this).html('<img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Hide Key')
  1828.     } else {
  1829.         $('#keyinput').attr('type', 'password');
  1830.         $(this).html('<img src="images/eye.png" style="margin-left:0px;margin-right:5px;margin-bottom:2px;">    Show Key')
  1831.     }
  1832. });
  1833. $('#emptyfillerdiv').click(function() {
  1834.     $('#keywordinput').focus()
  1835. })
  1836. $(document).ready(function() {
  1837.     $('.js-example-basic-single').select2({
  1838.         placeholder: 'Select an option',
  1839.     });
  1840.     $('#datetimepicker2 input').val('now')
  1841. });
  1842. $('#billing-toggle').prop('checked', !0).trigger('change');
  1843.  
  1844. function updateTable(message, color, id, cell) {
  1845.     $(`#row${id} th:nth-child(${cell+1})`).html(message).css('color', color)
  1846. }
  1847.  
  1848. function resetModalBorder() {
  1849.     $('#sitediv').css('border-bottom', '2px solid #28252f');
  1850.     $('#profileinput').parent('div').css('border-bottom', '2px solid #28252f');
  1851.     $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid #28252f')
  1852. }
  1853.  
  1854.  
  1855.  
  1856. $('#addtaskbtn').click(function() {
  1857.     let add = !0;
  1858.     if ($('.js-example-basic-single').select2('data')[0].element.index === 0) {
  1859.         $('#sitediv').css('border-bottom', '2px solid red');
  1860.         add = !1
  1861.     }
  1862.     if (!$('#profileinput').val()) {
  1863.         $('#profileinput').parent('div').css('border-bottom', '2px solid red');
  1864.         add = !1
  1865.     }
  1866.     if (!$('#tagsinput').val()) {
  1867.         $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid red');
  1868.         add = !1
  1869.     }
  1870.     if (!$('#profileinput').val()) {
  1871.         $('#profileinput').parent('div').css('border-bottom', '2px solid red');
  1872.         add = !1
  1873.     }
  1874.     if (add) {
  1875.         let today = "";
  1876.         let now = "";
  1877.         if ($('.input-group.date').children('input').val() === 'today') {
  1878.             let date = new Date();
  1879.             today =  date.getUTCDate().toString() + "/" + (date.getUTCMonth() + 1).toString() + "/" +date.getUTCFullYear().toString()
  1880.         } else {
  1881.             today = $('.input-group.date').children('input').val()
  1882.         }
  1883.         if ($('#datetimepicker2').children('input').val() === 'now') {
  1884.             let date = new Date();
  1885.             now = date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString()
  1886.         } else {
  1887.             now = $('#datetimepicker2').children('input').val()
  1888.         }
  1889.         let task = {
  1890.             store: $('.js-example-basic-single').select2('data')[0].text,
  1891.             size: $('#sizeslect').val(),
  1892.             profile: $('#profileinput').children(":selected").html(),
  1893.             afk: !$('#switch4datetime').children('input').prop('checked') ? !1 : new Date(today.split('/')[1] + "/" + today.split('/')[0] + "/" + today.split('/')[2] + " " + now).getTime(),
  1894.             proxy: !$('#toggle4proxy').children('input').prop('checked') ? !1 : $('#proxyinput').val(),
  1895.             keywords: $("#tagsinput").val(),
  1896.             login: !$('.js-example-basic-single').select2('data')[0].element.index >= 8 ? !1 : !$('#logintoggle').prop('checked') ? !1 : $('#usernameinput').val().length > 0 && $('#passwordinput').val().length > 0 ? {
  1897.                 username: $('#usernameinput').val(),
  1898.                 password: $('#passwordinput').val()
  1899.             } : !1,
  1900.             supreme: $('.js-example-basic-single').select2('data')[0].text === "Supreme" ? {
  1901.                 color: $('#colorinput').val().length > 0 ? $('#colorinput').val() : !1,
  1902.                 random: $('#ramdomcolortoggle').children('input').prop('checked'),
  1903.                 category: $('#categoryinput').children(":selected").html(),
  1904.             } : !1,
  1905.             name: "",
  1906.             started: !1,
  1907.         };
  1908.         let new_tasks = [];
  1909.         for (let i = 0; i < parseInt($('#amountinput').val()); i++) {
  1910.                 new_tasks.push(JSON.parse(JSON.stringify(task)));
  1911.         }
  1912.         addTask(new_tasks, true);
  1913.     }
  1914. });
  1915. $('#updatetaskbtn').click(function() {
  1916.     let add = !0;
  1917.     if ($('.js-example-basic-single').select2('data')[0].element.index === 0) {
  1918.         $('#sitediv').css('border-bottom', '2px solid red');
  1919.         add = !1
  1920.     }
  1921.     if (!$('#profileinput').val()) {
  1922.         $('#profileinput').parent('div').css('border-bottom', '2px solid red');
  1923.         add = !1
  1924.     }
  1925.     if (!$('#tagsinput').val()) {
  1926.         $('#tagsinput').parent('div').parent('div').css('border-bottom', '2px solid red');
  1927.         add = !1
  1928.     }
  1929.     if (!$('#profileinput').val()) {
  1930.         $('#profileinput').parent('div').css('border-bottom', '2px solid red');
  1931.         add = !1
  1932.     }
  1933.     if (add) {
  1934.         stopTask(JSON.stringify({0:tasklist[editing]}));
  1935.         let today = "";
  1936.         let now = "";
  1937.         if ($('.input-group.date').children('input').val() === 'today') {
  1938.             let date = new Date();
  1939.             today = date.getUTCDate().toString() + "/" + (date.getUTCMonth() + 1).toString() + "/" + date.getUTCFullYear().toString()
  1940.         } else {
  1941.             today = $('.input-group.date').children('input').val()
  1942.         }
  1943.         if ($('#datetimepicker2').children('input').val() === 'now') {
  1944.             let date = new Date();
  1945.             now = date.getHours().toString() + ':' + date.getMinutes().toString() + ':' + date.getSeconds().toString()
  1946.         } else {
  1947.             now = $('#datetimepicker2').children('input').val()
  1948.         }
  1949.         let task = {
  1950.             store: $('.js-example-basic-single').select2('data')[0].text,
  1951.             size: $('#sizeslect').val(),
  1952.             profile: $('#profileinput').children(":selected").html(),
  1953.             afk: !$('#switch4datetime').children('input').prop('checked') ? !1 : new Date(today.split('/')[1] + "/" + today.split('/')[0] + "/" + today.split('/')[2] + " " + now).getTime(),
  1954.             proxy: !$('#toggle4proxy').children('input').prop('checked') ? !1 : $('#proxyinput').val(),
  1955.             keywords: $("#tagsinput").val(),
  1956.             login: !$('.js-example-basic-single').select2('data')[0].element.index >= 8 ? !1 : !$('#logintoggle').prop('checked') ? !1 : $('#usernameinput').val().length > 0 && $('#passwordinput').val().length > 0 ? {
  1957.                 username: $('#usernameinput').val(),
  1958.                 password: $('#passwordinput').val()
  1959.             } : !1,
  1960.             supreme: $('.js-example-basic-single').select2('data')[0].text === "Supreme" ? {
  1961.                 color: $('#colorinput').val().length > 0 ? $('#colorinput').val() : !1,
  1962.                 random: $('#ramdomcolortoggle').children('input').prop('checked'),
  1963.                 category: $('#categoryinput').children(":selected").html(),
  1964.             } : !1,
  1965.             name: "",
  1966.             started: !1,
  1967.             id: tasklist[editing].id,
  1968.         };
  1969.         tasklist[editing] = task;
  1970.         let r_index = $(`#row${editing}`).index();
  1971.         $(`#row${editing}`).remove();
  1972.         addTableRow(editing, r_index);
  1973.         $('#myModal').modal('toggle')
  1974.     }
  1975. });
  1976. let tasklist = {};
  1977. let tasks = 0;
  1978. let table = 0;
  1979. let editing = !1;
  1980. let editing_row = !1;
  1981.  
  1982. function loadTasks(tasksobject) {
  1983.     let tasks = JSON.parse(tasksobject);
  1984.     let new_tasks = [];
  1985.     for (let key of Object.keys(tasks)) {
  1986.         new_tasks.push(tasks[key])
  1987.     }
  1988.     addTask(new_tasks, !1)
  1989. };
  1990.  
  1991. function loadProfiles(profilesobject) {
  1992.     profiles = JSON.parse(profilesobject);
  1993.     update_profile_selects()
  1994. };
  1995.  
  1996. function loadProxies(proxiesarray) {
  1997.     for (let _proxy of JSON.parse(proxiesarray)) {
  1998.         proxy = _proxy;
  1999.         proxy["id"] = proxies;
  2000.         proxy_list.push(proxy);
  2001.         proxies++;
  2002.     }
  2003.     add_proxy_row(proxy_list);
  2004. };
  2005.  
  2006. function importProfiles(profiles) {
  2007.     swal({
  2008.         title: "Are you sure?",
  2009.         text: "Importing profiles will overwrite existing ones!",
  2010.         icon: "warning",
  2011.         buttons: ["Cancel", "Yes"],
  2012.     }).then((to_import) => {
  2013.         if (to_import) {
  2014.             try {
  2015.                 loadProfiles(profiles);
  2016.                 swal("Success", "Successfully imported profiles!", "success", {
  2017.                     timer: 1500
  2018.                 })
  2019.             } catch (err) {
  2020.                 swal("Error", "There was an error importing profiles. Please make sure they are in the right format (json).", "error")
  2021.             }
  2022.         }
  2023.     })
  2024. }
  2025.  
  2026. function addTask(task_list, set = !0) {
  2027.     for (var i = 0; i < task_list.length; i++) {
  2028.         let task = task_list[i];
  2029.     task.id = tasks;
  2030.     tasklist[tasks] = task;
  2031.     tasks++;
  2032.  
  2033.     }
  2034.     addTableRows(task_list, !1);
  2035.     if (set) {
  2036.         setTasks()
  2037.     }
  2038.  
  2039. }
  2040.  
  2041. function add_proxy_row(proxies) {
  2042.     let html = "";
  2043.     let proxybody = document.getElementById('proxybody');
  2044.     for (var i = 0; i < proxies.length; i++) {
  2045.         try
  2046.         {let proxy = proxies[i];
  2047.             //row = proxybody.insertRow($('#proxybody').children('tr').length),
  2048.         let split_proxy = proxy.proxy.split(':');
  2049.         let id = "prow" + proxy.id.toString();
  2050.         html += `
  2051.         <tr id="${id}">
  2052.             <th class="ptd1" >${proxy.id}</th>
  2053.             <th class="ptd2" >${split_proxy[0]}</th>
  2054.             <th class="ptd3" >${split_proxy[1]}</th>
  2055.             <th class="ptd4" >${split_proxy[2]?split_proxy[2]:'none'}</th>
  2056.             <th class="ptd5" >${split_proxy[3]?split_proxy[3]:'none'}</th>
  2057.             <th class="ptd6" >-</th>
  2058.             <th class="ptd7" >-</th>
  2059.             <th class="ptd8" ><button type="button" onclick="test_proxy(${proxy.id})" class="btn btn-primary"><img src="images/speed.svg"></button>
  2060.             <span onclick="delete_proxy(${proxy.id})" class="delet"><img src="images/trash.png"></span></th>
  2061.         </tr>`;
  2062.     }
  2063.     catch(err){}
  2064.     }
  2065.     proxybody.innerHTML += html;
  2066.     resize_table()
  2067. }
  2068.  
  2069. function delete_proxy(id) {
  2070.     for (let index in proxy_list) {
  2071.         if (proxy_list[index].id.toString() === id.toString()) {
  2072.             $('#prow' + id).remove();
  2073.             proxy_list.splice(index, 1);
  2074.         }
  2075.     }
  2076.     setProxies()
  2077. }
  2078.  
  2079. function test_proxy(id) {
  2080.     for (let index in proxy_list) {
  2081.         if (proxy_list[index].id.toString() === id.toString()) {
  2082.             testProxy(JSON.stringify(proxy_list[index]))
  2083.         }
  2084.     }
  2085. }
  2086. $('#test-all-proxies').click(function(e) {
  2087.     if($(e.target).is('button')){
  2088.     for (let proxy of proxy_list) {
  2089.         if (proxy !== undefined) {
  2090.             testProxy(JSON.stringify(proxy))
  2091.         }
  2092.     }}
  2093. });
  2094. $('#clear_all_proxies').click(function() {
  2095.     proxy_list = [];
  2096.     $('#proxybody')[0].innerHTML = "";
  2097.     setProxies()
  2098. });
  2099. function formatDate(date) {
  2100.   var hours = date.getHours();
  2101.   var minutes = date.getMinutes();
  2102.   var seconds = date.getSeconds();
  2103.   var ampm = hours >= 12 ? 'PM' : 'AM';
  2104.   var day = date.getUTCDate().toString();
  2105.   var month = (date.getUTCMonth() + 1) < 10? '0'+(date.getUTCMonth() + 1).toString() : (date.getUTCMonth() + 1).toString();
  2106.   var year = date.getUTCFullYear().toString();
  2107.   hours = hours % 12;
  2108.   hours = hours ? hours : 12; // the hour '0' should be '12'
  2109.   minutes = minutes < 10 ? '0'+minutes : minutes;
  2110.   seconds = seconds < 10 ? '0'+seconds : seconds;
  2111.   var strTime = day + "/" + month + "/" + year + " " + hours + ':' + minutes + ':' + seconds + ' ' + ampm;
  2112.   return strTime;
  2113. }
  2114.  
  2115. function addTableRow(id, editing_bool) {
  2116.     let task = tasklist[id];
  2117.     let tablebody = document.getElementById('taskbody');
  2118.     let row = tablebody.insertRow(editing_bool || editing_bool === 0 ? editing_bool : $('#tasks_table tbody').children('tr').length);
  2119.     let date = new Date(task.afk);
  2120.     table++;
  2121.     row.id = 'row' + id.toString();
  2122.     row.innerHTML = `
  2123.          <th class="td1" >${id}</th>
  2124.          <th class="td2">${task.store}</th>
  2125.          <th class="td3" >${task.name?task.name:task.keywords}</th>
  2126.          <th class="td4" >${task.size}</th>
  2127.          <th class="td5" >${task.afk?formatDate(date):"manual"}</th>
  2128.          <th class="td6" >${task.profile}</th>
  2129.          <th class="td7" >${task.proxy?task.proxy:"auto"}</th>
  2130.          <th class="td8"  style="color: orange">Idle</th>
  2131.          <th class="td9" align="right" ><button type="button" class="btn btn-primary"><img src="images/play.svg"></button>
  2132.          <button type="button" class="btn btn-edit" onclick="open_modal(${id})" data-toggle="modal" data-target="#myModal"><img src="images/pencil.png"></button>
  2133.          <span onclick="delete_task(${id})" class="delet"><img src="images/trash.png"></span></th>`;
  2134.     resize_table();
  2135.     setTasks()
  2136. }
  2137.  
  2138. function addTableRows(task_list) {
  2139.     let tablebody = document.getElementById('taskbody');
  2140.     let html = "";
  2141.     for (var i = 0; i < task_list.length; i++) {
  2142.     let task = task_list[i];
  2143.     let date = new Date(task.afk);
  2144.     let month = (date.getUTCMonth() + 1) < 10? '0'+date.getUTCMonth().toString() : date.getUTCMonth().toString();
  2145.     table++;
  2146.     let row_id = 'row' + task.id.toString();
  2147.     html += `
  2148.     <tr id="${row_id}">
  2149.          <th class="td1" >${task.id}</th>
  2150.          <th class="td2">${task.store}</th>
  2151.          <th class="td3" >${task.name?task.name:task.keywords}</th>
  2152.          <th class="td4" >${task.size}</th>
  2153.          <th class="td5" >${task.afk?formatDate(date):"manual"}</th>
  2154.          <th class="td6" >${task.profile}</th>
  2155.          <th class="td7" >${task.proxy?task.proxy:"auto"}</th>
  2156.          <th class="td8"  style="color: orange">Idle</th>
  2157.          <th class="td9" align="right" ><button type="button" class="btn btn-primary"><img src="images/play.svg"></button>
  2158.          <button type="button" class="btn btn-edit" onclick="open_modal(${task.id})" data-toggle="modal" data-target="#myModal"><img src="images/pencil.png"></button>
  2159.          <span onclick="delete_task(${task.id})" class="delet"><img src="images/trash.png"></span></th></tr>`;
  2160.    
  2161.     }
  2162.     tablebody.innerHTML += html;
  2163.     resize_table();
  2164.     setTasks()
  2165. }
  2166.  
  2167. function open_modal(id) {
  2168.     resetModalBorder();
  2169.     tagslock = !1;
  2170.     $('#addtaskbtn')[0].style = "display:none";
  2171.     $('#updatetaskbtn')[0].style = "width:49%;border-color:lime;color:lime;float:right;";
  2172.     editing = id;
  2173.     editing_row = $('#row' + id).index();
  2174.     $('.js-example-basic-single').val(tasklist[id].store).trigger('change');
  2175.     $('#sizeslect').val(tasklist[id].size).trigger('change');
  2176.     $('#profileinput').val(tasklist[id].profile);
  2177.     $('#amountinput').val("1");
  2178.     let tags = $('#tagsinput');
  2179.     tags.tagsinput('removeAll');
  2180.     for (keyword of tasklist[id].keywords.split(',')) {
  2181.         tags.tagsinput('add', keyword)
  2182.     }
  2183.     setTimeout(() => {
  2184.         $('#tagsdiv').height($('.bootstrap-tagsinput').height() + 10)
  2185.     }, 300)
  2186.     $('#toggle4proxy').children('input').prop("checked", tasklist[id].proxy ? !0 : !1).trigger('change');
  2187.     if (tasklist[id].proxy) {
  2188.         $('#proxyinput').val(tasklist[id].proxy)
  2189.     }
  2190.     if(tasklist[id].login){
  2191.         $('#logintoggle')[0].checked = true;
  2192.         showLogin();
  2193.         $("#usernameinput").val(tasklist[id].login.username);
  2194.         $("#passwordinput").val(tasklist[id].login.password);
  2195.     }
  2196.     else{
  2197.         $('#logintoggle')[0].checked = false;
  2198.         hideLogin();
  2199.     }
  2200.     $('#switch4datetime').children('input').prop("checked", !tasklist[id].afk ? !1 : !0).trigger('change');
  2201.     if (tasklist[id].afk) {
  2202.         let time = new Date(tasklist[id].afk).toLocaleTimeString(),
  2203.             split = time.split(':'),
  2204.             timestring = "",
  2205.             end = ""
  2206.         if (parseInt(split[0]) > 12) {
  2207.             split[0] = (parseInt(split[0]) - 12).toString();
  2208.             end = "PM"
  2209.         } else {
  2210.             end = "AM"
  2211.         }
  2212.         timestring = split.join(':') + " " + end;
  2213.         let date = new Date(tasklist[id].afk);
  2214.         $('.input-group.date input').val(formatDate(date).split(" ")[0]);
  2215.         $('#datetimepicker2 input').val(timestring)
  2216.     }
  2217.     if (tasklist[id].supreme) {
  2218.         $('#ramdomcolortoggle').children('input').prop('checked', tasklist[id].supreme.random).trigger('change');
  2219.         if (tasklist[id].supreme.color) {
  2220.             $('#colorinput').val(tasklist[id].supreme.color)
  2221.         }
  2222.         $('#categoryinput').val(tasklist[id].supreme.category)
  2223.     }
  2224.     if (tasklist[id].login) {
  2225.         $('#logintoggle').prop('checked', !0)
  2226.         $('#usernameinput').val(tasklist[id].login.username);
  2227.         $('#passwordinput').val(tasklist[id].login.password)
  2228.     }
  2229. }
  2230.  
  2231. function delete_task(id) {
  2232.     $(`#row${id}`).remove();
  2233.     stopTask(JSON.stringify({0:tasklist[id]}));
  2234.     delete tasklist[id];
  2235.     table--;
  2236.     setTasks()
  2237. }
  2238. $(document).on('click', "#taskbody .btn.btn-primary", function() {
  2239.     if ($(this).css('background-color') == "rgb(43, 184, 115)") {
  2240.         startTask(JSON.stringify({0:tasklist[$(this).parent().parent()[0].childNodes[1].innerHTML]}))
  2241.     } else {
  2242.         stopTask(JSON.stringify({0:tasklist[$(this).parent().parent()[0].childNodes[1].innerHTML]}))
  2243.     }
  2244. });
  2245. $('#start_all_tasks').click(function() {
  2246.     startTask(JSON.stringify(tasklist))
  2247.     $('#taskbody .btn.btn-primary').css("background-color", "red").css("border-color", "red").html("<img src='images/square-stop.png'>")
  2248. });
  2249. $('#stop_all_tasks').click(function() {
  2250.     stopTask(JSON.stringify(tasklist))
  2251.     $('#taskbody .btn.btn-primary').css("background-color", "rgb(43, 184, 115)").css("border-color", "rgb(43, 184, 115)").html("<img src='images/play.svg'>")
  2252. });
  2253. $('#clear_all_tasks').click(function() {
  2254.     swal('Are you sure?', 'This will delete all of your tasks!', 'warning', {buttons: ['Cancel','Yes']}).then((to_delete) => {if(to_delete){
  2255.         $('#taskbody')[0].innerHTML = "";
  2256.         stopTask(JSON.stringify(tasklist));
  2257.         tasklist = {};
  2258.         setTasks()
  2259.     }});
  2260. });
  2261. $("#open-modal-btn").on("click", function() {
  2262.     resetModalBorder();
  2263.     $('#addtaskbtn')[0].style = "width:49%;border-color:lime;color:lime;float:right";
  2264.     $('#updatetaskbtn')[0].style = "display:none"
  2265. });
  2266.  
  2267. function disableBilling() {
  2268.     $('#billing-field input').val('');
  2269.     $('#billing-field :input').css({
  2270.         opacity: "0.4"
  2271.     });
  2272.     $('#billing-field :input').each(function(i) {
  2273.         if (i > 0) {
  2274.             $(this)[0].disabled = !0
  2275.         }
  2276.     });
  2277.     $('#billing-field img').each(function(i) {
  2278.         if (i > 0) {
  2279.             $(this).css({
  2280.                 opacity: "0.2"
  2281.             })
  2282.         }
  2283.     })
  2284. }
  2285.  
  2286. function enableBilling() {
  2287.     $('#billing-field :input').css({
  2288.         opacity: "1"
  2289.     });
  2290.     $('#billing-field :input').each(function() {
  2291.         $(this)[0].disabled = !1
  2292.     });
  2293.     $('#billing-field img').each(function(i) {
  2294.         if (i > 0) {
  2295.             $(this).css({
  2296.                 opacity: "1"
  2297.             })
  2298.         }
  2299.     })
  2300. }
  2301.  
  2302. function hideLogin() {
  2303.     $('#usernameinput').css({
  2304.         display: "none"
  2305.     });
  2306.     $('#passwordinput').css({
  2307.         display: "none"
  2308.     })
  2309.     $('#login-seperator').text("");
  2310.  
  2311. }
  2312.  
  2313. function showLogin() {
  2314.     $('#usernameinput').css({
  2315.         display: ""
  2316.     });
  2317.     $('#passwordinput').css({
  2318.         display: ""
  2319.     })
  2320.     $('#login-seperator').text(":");
  2321. }
  2322. $(document).on('click', '#billing-toggle', function() {
  2323.     $(this)[0].checked ? enableBilling() : disableBilling();
  2324.     $('#billing-field input').parent('div').css('border-bottom', '');
  2325.     $('#billing-field select').parent('div').css('border-bottom', '')
  2326. });
  2327. $(document).on('click', '#logintoggle', function() {
  2328.     $(this).prop('checked') ? showLogin() : hideLogin()
  2329. });
  2330.  
  2331. function cc_format(value) {
  2332.     var v = value.replace(/\s+/g, '').replace(/[^0-9]/gi, '');
  2333.     var matches = v.match(/\d{4,16}/g);
  2334.     var match = matches && matches[0] || '';
  2335.     var parts = [];
  2336.     for (i = 0, len = match.length; i < len; i += 4) {
  2337.         parts.push(match.substring(i, i + 4))
  2338.     }
  2339.     if (parts.length) {
  2340.         return parts.join(' ')
  2341.     } else {
  2342.         return value
  2343.     }
  2344. }
  2345. $('#payment-card-number').keyup(function() {
  2346.     $(this).val(cc_format($(this).val()))
  2347. });
  2348.  
  2349. function updateButton(id, running) {
  2350.     if (running) {
  2351.         $(`#row${id} .btn.btn-primary`).css("background-color", "red").css("border-color", "red").html("<img src='images/square-stop.png'>")
  2352.     } else {
  2353.         $(`#row${id} .btn.btn-primary`).css("background-color", "rgb(43, 184, 115)").css("border-color", "rgb(43, 184, 115)").html("<img src='images/play.svg'>")
  2354.     }
  2355. }
  2356.  
  2357.  
  2358. var country_arr = new Array("Afghanistan", "Albania", "Algeria", "American Samoa", "Angola", "Anguilla", "Antartica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Ashmore and Cartier Island", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burma", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Clipperton Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo, Democratic Republic of the", "Congo, Republic of the", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czeck Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Europa Island", "Falkland Islands (Islas Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern and Antarctic Lands", "Gabon", "Gambia, The", "Gaza Strip", "Georgia", "Germany", "Ghana", "Gibraltar", "Glorioso Islands", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City)", "Honduras", "Hong Kong", "Howland Island", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Ireland, Northern", "Israel", "Italy", "Jamaica", "Jan Mayen", "Japan", "Jarvis Island", "Jersey", "Johnston Atoll", "Jordan", "Juan de Nova Island", "Kazakhstan", "Kenya", "Kiribati", "Korea, North", "Korea, South", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macau", "Macedonia, Former Yugoslav Republic of", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Man, Isle of", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Midway Islands", "Moldova", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcaim Islands", "Poland", "Portugal", "Puerto Rico", "Qatar", "Reunion", "Romainia", "Russia", "Rwanda", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Scotland", "Senegal", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and South Sandwich Islands", "Spain", "Spratly Islands", "Sri Lanka", "Sudan", "Suriname", "Svalbard", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Tobago", "Toga", "Tokelau", "Tonga", "Trinidad", "Tunisia", "Turkey", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "Uruguay", "United States", "Uzbekistan", "Vanuatu", "Venezuela", "Vietnam", "Virgin Islands", "Wales", "Wallis and Futuna", "West Bank", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe", "South Korea");
  2359.  
  2360. // States
  2361. var s_a = new Array();
  2362. s_a[0]="";
  2363. s_a[1]="Badakhshan|Badghis|Baghlan|Balkh|Bamian|Farah|Faryab|Ghazni|Ghowr|Helmand|Herat|Jowzjan|Kabol|Kandahar|Kapisa|Konar|Kondoz|Laghman|Lowgar|Nangarhar|Nimruz|Oruzgan|Paktia|Paktika|Parvan|Samangan|Sar-e Pol|Takhar|Vardak|Zabol";
  2364. s_a[2]="Berat|Bulqize|Delvine|Devoll (Bilisht)|Diber (Peshkopi)|Durres|Elbasan|Fier|Gjirokaster|Gramsh|Has (Krume)|Kavaje|Kolonje (Erseke)|Korce|Kruje|Kucove|Kukes|Kurbin|Lezhe|Librazhd|Lushnje|Malesi e Madhe (Koplik)|Mallakaster (Ballsh)|Mat (Burrel)|Mirdite (Rreshen)|Peqin|Permet|Pogradec|Puke|Sarande|Shkoder|Skrapar (Corovode)|Tepelene|Tirane (Tirana)|Tirane (Tirana)|Tropoje (Bajram Curri)|Vlore";
  2365. s_a[3]="Adrar|Ain Defla|Ain Temouchent|Alger|Annaba|Batna|Bechar|Bejaia|Biskra|Blida|Bordj Bou Arreridj|Bouira|Boumerdes|Chlef|Constantine|Djelfa|El Bayadh|El Oued|El Tarf|Ghardaia|Guelma|Illizi|Jijel|Khenchela|Laghouat|M'Sila|Mascara|Medea|Mila|Mostaganem|Naama|Oran|Ouargla|Oum el Bouaghi|Relizane|Saida|Setif|Sidi Bel Abbes|Skikda|Souk Ahras|Tamanghasset|Tebessa|Tiaret|Tindouf|Tipaza|Tissemsilt|Tizi Ouzou|Tlemcen";
  2366. s_a[4]="Eastern|Manu'a|Rose Island|Swains Island|Western";
  2367. s_a[5]="Andorra la Vella|Bengo|Benguela|Bie|Cabinda|Canillo|Cuando Cubango|Cuanza Norte|Cuanza Sul|Cunene|Encamp|Escaldes-Engordany|Huambo|Huila|La Massana|Luanda|Lunda Norte|Lunda Sul|Malanje|Moxico|Namibe|Ordino|Sant Julia de Loria|Uige|Zaire";
  2368. s_a[6]="Anguilla";
  2369. s_a[7]="Antartica";
  2370. s_a[8]="Barbuda|Redonda|Saint George|Saint John|Saint Mary|Saint Paul|Saint Peter|Saint Philip";
  2371. s_a[9]="Antartica e Islas del Atlantico Sur|Buenos Aires|Buenos Aires Capital Federal|Catamarca|Chaco|Chubut|Cordoba|Corrientes|Entre Rios|Formosa|Jujuy|La Pampa|La Rioja|Mendoza|Misiones|Neuquen|Rio Negro|Salta|San Juan|San Luis|Santa Cruz|Santa Fe|Santiago del Estero|Tierra del Fuego|Tucuman";
  2372. s_a[10]="Aragatsotn|Ararat|Armavir|Geghark'unik'|Kotayk'|Lorri|Shirak|Syunik'|Tavush|Vayots' Dzor|Yerevan";
  2373. s_a[11]="Aruba";
  2374. s_a[12]="Ashmore and Cartier Island";
  2375. s_a[13]="Australian Capital Territory|New South Wales|Northern Territory|Queensland|South Australia|Tasmania|Victoria|Western Australia";
  2376. s_a[14]="Burgenland|Kaernten|Niederoesterreich|Oberoesterreich|Salzburg|Steiermark|Tirol|Vorarlberg|Wien";
  2377. s_a[15]="Abseron Rayonu|Agcabadi Rayonu|Agdam Rayonu|Agdas Rayonu|Agstafa Rayonu|Agsu Rayonu|Ali Bayramli Sahari|Astara Rayonu|Baki Sahari|Balakan Rayonu|Barda Rayonu|Beylaqan Rayonu|Bilasuvar Rayonu|Cabrayil Rayonu|Calilabad Rayonu|Daskasan Rayonu|Davaci Rayonu|Fuzuli Rayonu|Gadabay Rayonu|Ganca Sahari|Goranboy Rayonu|Goycay Rayonu|Haciqabul Rayonu|Imisli Rayonu|Ismayilli Rayonu|Kalbacar Rayonu|Kurdamir Rayonu|Lacin Rayonu|Lankaran Rayonu|Lankaran Sahari|Lerik Rayonu|Masalli Rayonu|Mingacevir Sahari|Naftalan Sahari|Naxcivan Muxtar Respublikasi|Neftcala Rayonu|Oguz Rayonu|Qabala Rayonu|Qax Rayonu|Qazax Rayonu|Qobustan Rayonu|Quba Rayonu|Qubadli Rayonu|Qusar Rayonu|Saatli Rayonu|Sabirabad Rayonu|Saki Rayonu|Saki Sahari|Salyan Rayonu|Samaxi Rayonu|Samkir Rayonu|Samux Rayonu|Siyazan Rayonu|Sumqayit Sahari|Susa Rayonu|Susa Sahari|Tartar Rayonu|Tovuz Rayonu|Ucar Rayonu|Xacmaz Rayonu|Xankandi Sahari|Xanlar Rayonu|Xizi Rayonu|Xocali Rayonu|Xocavand Rayonu|Yardimli Rayonu|Yevlax Rayonu|Yevlax Sahari|Zangilan Rayonu|Zaqatala Rayonu|Zardab Rayonu";
  2378. s_a[16]="Acklins and Crooked Islands|Bimini|Cat Island|Exuma|Freeport|Fresh Creek|Governor's Harbour|Green Turtle Cay|Harbour Island|High Rock|Inagua|Kemps Bay|Long Island|Marsh Harbour|Mayaguana|New Providence|Nicholls Town and Berry Islands|Ragged Island|Rock Sound|San Salvador and Rum Cay|Sandy Point";
  2379. s_a[17]="Al Hadd|Al Manamah|Al Mintaqah al Gharbiyah|Al Mintaqah al Wusta|Al Mintaqah ash Shamaliyah|Al Muharraq|Ar Rifa' wa al Mintaqah al Janubiyah|Jidd Hafs|Juzur Hawar|Madinat 'Isa|Madinat Hamad|Sitrah";
  2380. s_a[18]="Barguna|Barisal|Bhola|Jhalokati|Patuakhali|Pirojpur|Bandarban|Brahmanbaria|Chandpur|Chittagong|Comilla|Cox's Bazar|Feni|Khagrachari|Lakshmipur|Noakhali|Rangamati|Dhaka|Faridpur|Gazipur|Gopalganj|Jamalpur|Kishoreganj|Madaripur|Manikganj|Munshiganj|Mymensingh|Narayanganj|Narsingdi|Netrokona|Rajbari|Shariatpur|Sherpur|Tangail|Bagerhat|Chuadanga|Jessore|Jhenaidah|Khulna|Kushtia|Magura|Meherpur|Narail|Satkhira|Bogra|Dinajpur|Gaibandha|Jaipurhat|Kurigram|Lalmonirhat|Naogaon|Natore|Nawabganj|Nilphamari|Pabna|Panchagarh|Rajshahi|Rangpur|Sirajganj|Thakurgaon|Habiganj|Maulvi bazar|Sunamganj|Sylhet";
  2381. s_a[19]="Bridgetown|Christ Church|Saint Andrew|Saint George|Saint James|Saint John|Saint Joseph|Saint Lucy|Saint Michael|Saint Peter|Saint Philip|Saint Thomas";
  2382. s_a[20]="Brestskaya (Brest)|Homyel'skaya (Homyel')|Horad Minsk|Hrodzyenskaya (Hrodna)|Mahilyowskaya (Mahilyow)|Minskaya|Vitsyebskaya (Vitsyebsk)";
  2383. s_a[21]="Antwerpen|Brabant Wallon|Brussels Capitol Region|Hainaut|Liege|Limburg|Luxembourg|Namur|Oost-Vlaanderen|Vlaams Brabant|West-Vlaanderen";
  2384. s_a[22]="Belize|Cayo|Corozal|Orange Walk|Stann Creek|Toledo";
  2385. s_a[23]="Alibori|Atakora|Atlantique|Borgou|Collines|Couffo|Donga|Littoral|Mono|Oueme|Plateau|Zou";
  2386. s_a[24]="Devonshire|Hamilton|Hamilton|Paget|Pembroke|Saint George|Saint Georges|Sandys|Smiths|Southampton|Warwick";
  2387. s_a[25]="Bumthang|Chhukha|Chirang|Daga|Geylegphug|Ha|Lhuntshi|Mongar|Paro|Pemagatsel|Punakha|Samchi|Samdrup Jongkhar|Shemgang|Tashigang|Thimphu|Tongsa|Wangdi Phodrang";
  2388. s_a[26]="Beni|Chuquisaca|Cochabamba|La Paz|Oruro|Pando|Potosi|Santa Cruz|Tarija";
  2389. s_a[27]="Federation of Bosnia and Herzegovina|Republika Srpska";
  2390. s_a[28]="Central|Chobe|Francistown|Gaborone|Ghanzi|Kgalagadi|Kgatleng|Kweneng|Lobatse|Ngamiland|North-East|Selebi-Pikwe|South-East|Southern";
  2391. s_a[29]="Acre|Alagoas|Amapa|Amazonas|Bahia|Ceara|Distrito Federal|Espirito Santo|Goias|Maranhao|Mato Grosso|Mato Grosso do Sul|Minas Gerais|Para|Paraiba|Parana|Pernambuco|Piaui|Rio de Janeiro|Rio Grande do Norte|Rio Grande do Sul|Rondonia|Roraima|Santa Catarina|Sao Paulo|Sergipe|Tocantins";
  2392. s_a[30]="Anegada|Jost Van Dyke|Tortola|Virgin Gorda";
  2393. s_a[31]="Belait|Brunei and Muara|Temburong|Tutong";
  2394. s_a[32]="Blagoevgrad|Burgas|Dobrich|Gabrovo|Khaskovo|Kurdzhali|Kyustendil|Lovech|Montana|Pazardzhik|Pernik|Pleven|Plovdiv|Razgrad|Ruse|Shumen|Silistra|Sliven|Smolyan|Sofiya|Sofiya-Grad|Stara Zagora|Turgovishte|Varna|Veliko Turnovo|Vidin|Vratsa|Yambol";
  2395. s_a[33]="Bale|Bam|Banwa|Bazega|Bougouriba|Boulgou|Boulkiemde|Comoe|Ganzourgou|Gnagna|Gourma|Houet|Ioba|Kadiogo|Kenedougou|Komandjari|Kompienga|Kossi|Koupelogo|Kouritenga|Kourweogo|Leraba|Loroum|Mouhoun|Nahouri|Namentenga|Naumbiel|Nayala|Oubritenga|Oudalan|Passore|Poni|Samentenga|Sanguie|Seno|Sissili|Soum|Sourou|Tapoa|Tuy|Yagha|Yatenga|Ziro|Zondomo|Zoundweogo";
  2396. s_a[34]="Ayeyarwady|Bago|Chin State|Kachin State|Kayah State|Kayin State|Magway|Mandalay|Mon State|Rakhine State|Sagaing|Shan State|Tanintharyi|Yangon";
  2397. s_a[35]="Bubanza|Bujumbura|Bururi|Cankuzo|Cibitoke|Gitega|Karuzi|Kayanza|Kirundo|Makamba|Muramvya|Muyinga|Mwaro|Ngozi|Rutana|Ruyigi";
  2398. s_a[36]="Banteay Mean Cheay|Batdambang|Kampong Cham|Kampong Chhnang|Kampong Spoe|Kampong Thum|Kampot|Kandal|Kaoh Kong|Keb|Kracheh|Mondol Kiri|Otdar Mean Cheay|Pailin|Phnum Penh|Pouthisat|Preah Seihanu (Sihanoukville)|Preah Vihear|Prey Veng|Rotanah Kiri|Siem Reab|Stoeng Treng|Svay Rieng|Takev";
  2399. s_a[37]="Adamaoua|Centre|Est|Extreme-Nord|Littoral|Nord|Nord-Ouest|Ouest|Sud|Sud-Ouest";
  2400. s_a[38]="Alberta|British Columbia|Manitoba|New Brunswick|Newfoundland|Northwest Territories|Nova Scotia|Nunavut|Ontario|Prince Edward Island|Quebec|Saskatchewan|Yukon Territory";
  2401. s_a[39]="Boa Vista|Brava|Maio|Mosteiros|Paul|Porto Novo|Praia|Ribeira Grande|Sal|Santa Catarina|Santa Cruz|Sao Domingos|Sao Filipe|Sao Nicolau|Sao Vicente|Tarrafal";
  2402. s_a[40]="Creek|Eastern|Midland|South Town|Spot Bay|Stake Bay|West End|Western";
  2403. s_a[41]="Bamingui-Bangoran|Bangui|Basse-Kotto|Gribingui|Haut-Mbomou|Haute-Kotto|Haute-Sangha|Kemo-Gribingui|Lobaye|Mbomou|Nana-Mambere|Ombella-Mpoko|Ouaka|Ouham|Ouham-Pende|Sangha|Vakaga";
  2404. s_a[42]="Batha|Biltine|Borkou-Ennedi-Tibesti|Chari-Baguirmi|Guera|Kanem|Lac|Logone Occidental|Logone Oriental|Mayo-Kebbi|Moyen-Chari|Ouaddai|Salamat|Tandjile";
  2405. s_a[43]="Aisen del General Carlos Ibanez del Campo|Antofagasta|Araucania|Atacama|Bio-Bio|Coquimbo|Libertador General Bernardo O'Higgins|Los Lagos|Magallanes y de la Antartica Chilena|Maule|Region Metropolitana (Santiago)|Tarapaca|Valparaiso";
  2406. s_a[44]="Anhui|Beijing|Chongqing|Fujian|Gansu|Guangdong|Guangxi|Guizhou|Hainan|Hebei|Heilongjiang|Henan|Hubei|Hunan|Jiangsu|Jiangxi|Jilin|Liaoning|Nei Mongol|Ningxia|Qinghai|Shaanxi|Shandong|Shanghai|Shanxi|Sichuan|Tianjin|Xinjiang|Xizang (Tibet)|Yunnan|Zhejiang";
  2407. s_a[45]="Christmas Island";
  2408. s_a[46]="Clipperton Island";
  2409. s_a[47]="Direction Island|Home Island|Horsburgh Island|North Keeling Island|South Island|West Island";
  2410. s_a[48]="Amazonas|Antioquia|Arauca|Atlantico|Bolivar|Boyaca|Caldas|Caqueta|Casanare|Cauca|Cesar|Choco|Cordoba|Cundinamarca|Distrito Capital de Santa Fe de Bogota|Guainia|Guaviare|Huila|La Guajira|Magdalena|Meta|Narino|Norte de Santander|Putumayo|Quindio|Risaralda|San Andres y Providencia|Santander|Sucre|Tolima|Valle del Cauca|Vaupes|Vichada";
  2411. // <!-- -->
  2412. s_a[49]="Anjouan (Nzwani)|Domoni|Fomboni|Grande Comore (Njazidja)|Moheli (Mwali)|Moroni|Moutsamoudou";
  2413. s_a[50]="Bandundu|Bas-Congo|Equateur|Kasai-Occidental|Kasai-Oriental|Katanga|Kinshasa|Maniema|Nord-Kivu|Orientale|Sud-Kivu";
  2414. s_a[51]="Bouenza|Brazzaville|Cuvette|Kouilou|Lekoumou|Likouala|Niari|Plateaux|Pool|Sangha";
  2415. s_a[52]="Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Manuae|Mauke|Mitiaro|Nassau Island|Palmerston|Penrhyn|Pukapuka|Rakahanga|Rarotonga|Suwarrow|Takutea";
  2416. s_a[53]="Alajuela|Cartago|Guanacaste|Heredia|Limon|Puntarenas|San Jose";
  2417. s_a[54]="Abengourou|Abidjan|Aboisso|Adiake'|Adzope|Agboville|Agnibilekrou|Ale'pe'|Bangolo|Beoumi|Biankouma|Bocanda|Bondoukou|Bongouanou|Bouafle|Bouake|Bouna|Boundiali|Dabakala|Dabon|Daloa|Danane|Daoukro|Dimbokro|Divo|Duekoue|Ferkessedougou|Gagnoa|Grand Bassam|Grand-Lahou|Guiglo|Issia|Jacqueville|Katiola|Korhogo|Lakota|Man|Mankono|Mbahiakro|Odienne|Oume|Sakassou|San-Pedro|Sassandra|Seguela|Sinfra|Soubre|Tabou|Tanda|Tiassale|Tiebissou|Tingrela|Touba|Toulepleu|Toumodi|Vavoua|Yamoussoukro|Zuenoula";
  2418. s_a[55]="Bjelovarsko-Bilogorska Zupanija|Brodsko-Posavska Zupanija|Dubrovacko-Neretvanska Zupanija|Istarska Zupanija|Karlovacka Zupanija|Koprivnicko-Krizevacka Zupanija|Krapinsko-Zagorska Zupanija|Licko-Senjska Zupanija|Medimurska Zupanija|Osjecko-Baranjska Zupanija|Pozesko-Slavonska Zupanija|Primorsko-Goranska Zupanija|Sibensko-Kninska Zupanija|Sisacko-Moslavacka Zupanija|Splitsko-Dalmatinska Zupanija|Varazdinska Zupanija|Viroviticko-Podravska Zupanija|Vukovarsko-Srijemska Zupanija|Zadarska Zupanija|Zagreb|Zagrebacka Zupanija";
  2419. s_a[56]="Camaguey|Ciego de Avila|Cienfuegos|Ciudad de La Habana|Granma|Guantanamo|Holguin|Isla de la Juventud|La Habana|Las Tunas|Matanzas|Pinar del Rio|Sancti Spiritus|Santiago de Cuba|Villa Clara";
  2420. s_a[57]="Famagusta|Kyrenia|Larnaca|Limassol|Nicosia|Paphos";
  2421. s_a[58]="Brnensky|Budejovicky|Jihlavsky|Karlovarsky|Kralovehradecky|Liberecky|Olomoucky|Ostravsky|Pardubicky|Plzensky|Praha|Stredocesky|Ustecky|Zlinsky";
  2422. s_a[59]="Arhus|Bornholm|Fredericksberg|Frederiksborg|Fyn|Kobenhavn|Kobenhavns|Nordjylland|Ribe|Ringkobing|Roskilde|Sonderjylland|Storstrom|Vejle|Vestsjalland|Viborg";
  2423. s_a[60]="'Ali Sabih|Dikhil|Djibouti|Obock|Tadjoura";
  2424. s_a[61]="Saint Andrew|Saint David|Saint George|Saint John|Saint Joseph|Saint Luke|Saint Mark|Saint Patrick|Saint Paul|Saint Peter";
  2425. s_a[62]="Azua|Baoruco|Barahona|Dajabon|Distrito Nacional|Duarte|El Seibo|Elias Pina|Espaillat|Hato Mayor|Independencia|La Altagracia|La Romana|La Vega|Maria Trinidad Sanchez|Monsenor Nouel|Monte Cristi|Monte Plata|Pedernales|Peravia|Puerto Plata|Salcedo|Samana|San Cristobal|San Juan|San Pedro de Macoris|Sanchez Ramirez|Santiago|Santiago Rodriguez|Valverde";
  2426. // <!-- -->
  2427. s_a[63]="Azuay|Bolivar|Canar|Carchi|Chimborazo|Cotopaxi|El Oro|Esmeraldas|Galapagos|Guayas|Imbabura|Loja|Los Rios|Manabi|Morona-Santiago|Napo|Orellana|Pastaza|Pichincha|Sucumbios|Tungurahua|Zamora-Chinchipe";
  2428. s_a[64]="Ad Daqahliyah|Al Bahr al Ahmar|Al Buhayrah|Al Fayyum|Al Gharbiyah|Al Iskandariyah|Al Isma'iliyah|Al Jizah|Al Minufiyah|Al Minya|Al Qahirah|Al Qalyubiyah|Al Wadi al Jadid|As Suways|Ash Sharqiyah|Aswan|Asyut|Bani Suwayf|Bur Sa'id|Dumyat|Janub Sina'|Kafr ash Shaykh|Matruh|Qina|Shamal Sina'|Suhaj";
  2429. s_a[65]="Ahuachapan|Cabanas|Chalatenango|Cuscatlan|La Libertad|La Paz|La Union|Morazan|San Miguel|San Salvador|San Vicente|Santa Ana|Sonsonate|Usulutan";
  2430. s_a[66]="Annobon|Bioko Norte|Bioko Sur|Centro Sur|Kie-Ntem|Litoral|Wele-Nzas";
  2431. s_a[67]="Akale Guzay|Barka|Denkel|Hamasen|Sahil|Semhar|Senhit|Seraye";
  2432. s_a[68]="Harjumaa (Tallinn)|Hiiumaa (Kardla)|Ida-Virumaa (Johvi)|Jarvamaa (Paide)|Jogevamaa (Jogeva)|Laane-Virumaa (Rakvere)|Laanemaa (Haapsalu)|Parnumaa (Parnu)|Polvamaa (Polva)|Raplamaa (Rapla)|Saaremaa (Kuessaare)|Tartumaa (Tartu)|Valgamaa (Valga)|Viljandimaa (Viljandi)|Vorumaa (Voru)"
  2433. s_a[69]="Adis Abeba (Addis Ababa)|Afar|Amara|Dire Dawa|Gambela Hizboch|Hareri Hizb|Oromiya|Sumale|Tigray|YeDebub Biheroch Bihereseboch na Hizboch";
  2434. s_a[70]="Europa Island";
  2435. s_a[71]="Falkland Islands (Islas Malvinas)"
  2436. s_a[72]="Bordoy|Eysturoy|Mykines|Sandoy|Skuvoy|Streymoy|Suduroy|Tvoroyri|Vagar";
  2437. s_a[73]="Central|Eastern|Northern|Rotuma|Western";
  2438. s_a[74]="Aland|Etela-Suomen Laani|Ita-Suomen Laani|Lansi-Suomen Laani|Lappi|Oulun Laani";
  2439. s_a[75]="Alsace|Aquitaine|Auvergne|Basse-Normandie|Bourgogne|Bretagne|Centre|Champagne-Ardenne|Corse|Franche-Comte|Haute-Normandie|Ile-de-France|Languedoc-Roussillon|Limousin|Lorraine|Midi-Pyrenees|Nord-Pas-de-Calais|Pays de la Loire|Picardie|Poitou-Charentes|Provence-Alpes-Cote d'Azur|Rhone-Alpes";
  2440. s_a[76]="French Guiana";
  2441. s_a[77]="Archipel des Marquises|Archipel des Tuamotu|Archipel des Tubuai|Iles du Vent|Iles Sous-le-Vent";
  2442. s_a[78]="Adelie Land|Ile Crozet|Iles Kerguelen|Iles Saint-Paul et Amsterdam";
  2443. s_a[79]="Estuaire|Haut-Ogooue|Moyen-Ogooue|Ngounie|Nyanga|Ogooue-Ivindo|Ogooue-Lolo|Ogooue-Maritime|Woleu-Ntem";
  2444. s_a[80]="Banjul|Central River|Lower River|North Bank|Upper River|Western";
  2445. s_a[81]="Gaza Strip";
  2446. s_a[82]="Abashis|Abkhazia or Ap'khazet'is Avtonomiuri Respublika (Sokhumi)|Adigenis|Ajaria or Acharis Avtonomiuri Respublika (Bat'umi)|Akhalgoris|Akhalk'alak'is|Akhalts'ikhis|Akhmetis|Ambrolauris|Aspindzis|Baghdat'is|Bolnisis|Borjomis|Ch'khorotsqus|Ch'okhatauris|Chiat'ura|Dedop'listsqaros|Dmanisis|Dushet'is|Gardabanis|Gori|Goris|Gurjaanis|Javis|K'arelis|K'ut'aisi|Kaspis|Kharagaulis|Khashuris|Khobis|Khonis|Lagodekhis|Lanch'khut'is|Lentekhis|Marneulis|Martvilis|Mestiis|Mts'khet'is|Ninotsmindis|Onis|Ozurget'is|P'ot'i|Qazbegis|Qvarlis|Rust'avi|Sach'kheris|Sagarejos|Samtrediis|Senakis|Sighnaghis|T'bilisi|T'elavis|T'erjolis|T'et'ritsqaros|T'ianet'is|Tqibuli|Ts'ageris|Tsalenjikhis|Tsalkis|Tsqaltubo|Vanis|Zestap'onis|Zugdidi|Zugdidis";
  2447. s_a[83]="Baden-Wuerttemberg|Bayern|Berlin|Brandenburg|Bremen|Hamburg|Hessen|Mecklenburg-Vorpommern|Niedersachsen|Nordrhein-Westfalen|Rheinland-Pfalz|Saarland|Sachsen|Sachsen-Anhalt|Schleswig-Holstein|Thueringen";
  2448. s_a[84]="Ashanti|Brong-Ahafo|Central|Eastern|Greater Accra|Northern|Upper East|Upper West|Volta|Western";
  2449. s_a[85]="Gibraltar";
  2450. s_a[86]="Ile du Lys|Ile Glorieuse";
  2451. s_a[87]="Aitolia kai Akarnania|Akhaia|Argolis|Arkadhia|Arta|Attiki|Ayion Oros (Mt. Athos)|Dhodhekanisos|Drama|Evritania|Evros|Evvoia|Florina|Fokis|Fthiotis|Grevena|Ilia|Imathia|Ioannina|Irakleion|Kardhitsa|Kastoria|Kavala|Kefallinia|Kerkyra|Khalkidhiki|Khania|Khios|Kikladhes|Kilkis|Korinthia|Kozani|Lakonia|Larisa|Lasithi|Lesvos|Levkas|Magnisia|Messinia|Pella|Pieria|Preveza|Rethimni|Rodhopi|Samos|Serrai|Thesprotia|Thessaloniki|Trikala|Voiotia|Xanthi|Zakinthos";
  2452. s_a[88]="Avannaa (Nordgronland)|Kitaa (Vestgronland)|Tunu (Ostgronland)"
  2453. s_a[89]="Carriacou and Petit Martinique|Saint Andrew|Saint David|Saint George|Saint John|Saint Mark|Saint Patrick";
  2454. s_a[90]="Basse-Terre|Grande-Terre|Iles de la Petite Terre|Iles des Saintes|Marie-Galante";
  2455. s_a[91]="Guam";
  2456. s_a[92]="Alta Verapaz|Baja Verapaz|Chimaltenango|Chiquimula|El Progreso|Escuintla|Guatemala|Huehuetenango|Izabal|Jalapa|Jutiapa|Peten|Quetzaltenango|Quiche|Retalhuleu|Sacatepequez|San Marcos|Santa Rosa|Solola|Suchitepequez|Totonicapan|Zacapa";
  2457. s_a[93]="Castel|Forest|St. Andrew|St. Martin|St. Peter Port|St. Pierre du Bois|St. Sampson|St. Saviour|Torteval|Vale";
  2458. s_a[94]="Beyla|Boffa|Boke|Conakry|Coyah|Dabola|Dalaba|Dinguiraye|Dubreka|Faranah|Forecariah|Fria|Gaoual|Gueckedou|Kankan|Kerouane|Kindia|Kissidougou|Koubia|Koundara|Kouroussa|Labe|Lelouma|Lola|Macenta|Mali|Mamou|Mandiana|Nzerekore|Pita|Siguiri|Telimele|Tougue|Yomou";
  2459. s_a[95]="Bafata|Biombo|Bissau|Bolama-Bijagos|Cacheu|Gabu|Oio|Quinara|Tombali";
  2460. s_a[96]="Barima-Waini|Cuyuni-Mazaruni|Demerara-Mahaica|East Berbice-Corentyne|Essequibo Islands-West Demerara|Mahaica-Berbice|Pomeroon-Supenaam|Potaro-Siparuni|Upper Demerara-Berbice|Upper Takutu-Upper Essequibo";
  2461. s_a[97]="Artibonite|Centre|Grand'Anse|Nord|Nord-Est|Nord-Ouest|Ouest|Sud|Sud-Est";
  2462. s_a[98]="Heard Island and McDonald Islands";
  2463. s_a[99]="Holy See (Vatican City)"
  2464. s_a[100]="Atlantida|Choluteca|Colon|Comayagua|Copan|Cortes|El Paraiso|Francisco Morazan|Gracias a Dios|Intibuca|Islas de la Bahia|La Paz|Lempira|Ocotepeque|Olancho|Santa Barbara|Valle|Yoro";
  2465. s_a[101]="Hong Kong";
  2466. s_a[102]="Howland Island";
  2467. s_a[103]="Bacs-Kiskun|Baranya|Bekes|Bekescsaba|Borsod-Abauj-Zemplen|Budapest|Csongrad|Debrecen|Dunaujvaros|Eger|Fejer|Gyor|Gyor-Moson-Sopron|Hajdu-Bihar|Heves|Hodmezovasarhely|Jasz-Nagykun-Szolnok|Kaposvar|Kecskemet|Komarom-Esztergom|Miskolc|Nagykanizsa|Nograd|Nyiregyhaza|Pecs|Pest|Somogy|Sopron|Szabolcs-Szatmar-Bereg|Szeged|Szekesfehervar|Szolnok|Szombathely|Tatabanya|Tolna|Vas|Veszprem|Veszprem|Zala|Zalaegerszeg";
  2468. s_a[104]="Akranes|Akureyri|Arnessysla|Austur-Bardhastrandarsysla|Austur-Hunavatnssysla|Austur-Skaftafellssysla|Borgarfjardharsysla|Dalasysla|Eyjafjardharsysla|Gullbringusysla|Hafnarfjordhur|Husavik|Isafjordhur|Keflavik|Kjosarsysla|Kopavogur|Myrasysla|Neskaupstadhur|Nordhur-Isafjardharsysla|Nordhur-Mulasys-la|Nordhur-Thingeyjarsysla|Olafsfjordhur|Rangarvallasysla|Reykjavik|Saudharkrokur|Seydhisfjordhur|Siglufjordhur|Skagafjardharsysla|Snaefellsnes-og Hnappadalssysla|Strandasysla|Sudhur-Mulasysla|Sudhur-Thingeyjarsysla|Vesttmannaeyjar|Vestur-Bardhastrandarsysla|Vestur-Hunavatnssysla|Vestur-Isafjardharsysla|Vestur-Skaftafellssysla";
  2469. s_a[105]="Andaman and Nicobar Islands|Andhra Pradesh|Arunachal Pradesh|Assam|Bihar|Chandigarh|Chhattisgarh|Dadra and Nagar Haveli|Daman and Diu|Delhi|Goa|Gujarat|Haryana|Himachal Pradesh|Jammu and Kashmir|Jharkhand|Karnataka|Kerala|Lakshadweep|Madhya Pradesh|Maharashtra|Manipur|Meghalaya|Mizoram|Nagaland|Orissa|Pondicherry|Punjab|Rajasthan|Sikkim|Tamil Nadu|Tripura|Uttar Pradesh|Uttaranchal|West Bengal";
  2470. s_a[106]="Aceh|Bali|Banten|Bengkulu|East Timor|Gorontalo|Irian Jaya|Jakarta Raya|Jambi|Jawa Barat|Jawa Tengah|Jawa Timur|Kalimantan Barat|Kalimantan Selatan|Kalimantan Tengah|Kalimantan Timur|Kepulauan Bangka Belitung|Lampung|Maluku|Maluku Utara|Nusa Tenggara Barat|Nusa Tenggara Timur|Riau|Sulawesi Selatan|Sulawesi Tengah|Sulawesi Tenggara|Sulawesi Utara|Sumatera Barat|Sumatera Selatan|Sumatera Utara|Yogyakarta";
  2471. s_a[107]="Ardabil|Azarbayjan-e Gharbi|Azarbayjan-e Sharqi|Bushehr|Chahar Mahall va Bakhtiari|Esfahan|Fars|Gilan|Golestan|Hamadan|Hormozgan|Ilam|Kerman|Kermanshah|Khorasan|Khuzestan|Kohgiluyeh va Buyer Ahmad|Kordestan|Lorestan|Markazi|Mazandaran|Qazvin|Qom|Semnan|Sistan va Baluchestan|Tehran|Yazd|Zanjan";
  2472. s_a[108]="Al Anbar|Al Basrah|Al Muthanna|Al Qadisiyah|An Najaf|Arbil|As Sulaymaniyah|At Ta'mim|Babil|Baghdad|Dahuk|Dhi Qar|Diyala|Karbala'|Maysan|Ninawa|Salah ad Din|Wasit";
  2473. s_a[109]="Carlow|Cavan|Clare|Cork|Donegal|Dublin|Galway|Kerry|Kildare|Kilkenny|Laois|Leitrim|Limerick|Longford|Louth|Mayo|Meath|Monaghan|Offaly|Roscommon|Sligo|Tipperary|Waterford|Westmeath|Wexford|Wicklow";
  2474. s_a[110]="Antrim|Ards|Armagh|Ballymena|Ballymoney|Banbridge|Belfast|Carrickfergus|Castlereagh|Coleraine|Cookstown|Craigavon|Derry|Down|Dungannon|Fermanagh|Larne|Limavady|Lisburn|Magherafelt|Moyle|Newry and Mourne|Newtownabbey|North Down|Omagh|Strabane";
  2475. s_a[111]="Central|Haifa|Jerusalem|Northern|Southern|Tel Aviv";
  2476. s_a[112]="Agrigento|Alessandria|Ancona|Aosta|Arezzo|AscoliPiceno|Asti|Avellino|Bari|Barletta-Andria-Trani|Belluno|Benevento|Bergamo|Biella|Bologna|Bolzano|Brescia|Brindisi|Cagliari|Caltanissetta|Campobasso|Carbonia-Iglesias|Caserta|Catania|Catanzaro|Chieti|Como|Cosenza|Cremona|Crotone|Cuneo|Enna|Fermo|Ferrara|Florence|Foggia|Forlì-Cesena|Frosinone|Genoa|Gorizia|Grosseto|Imperia|Isernia|LaSpezia|L'Aquila|Latina|Lecce|Lecco|Livorno|Lodi|Lucca|Macerata|Mantova|Massa-Carrara|Matera|Medio  zCampidano|Messina|Milan|Modena|Monzaedella Brianza|Naples|Novara|Nuoro|Ogliastra|Olbia-Tempio|Oristano|Padova|Palermo|Parma|Pavia|Perugia|Pesaroe Urbino|Pescara|Piacenza|Pisa|Pistoia|Pordenone|Potenza|Prato|Ragusa|Ravenna|Reggio Calabria|Reggio Emilia|Rieti|Rimini|Rome|Rovigo|Salerno|Sassari|Savona|Siena|Siracusa|Sondrio|Taranto|Teramo|Terni|Trapani|Trento|Treviso|Trieste|Turin|Udine|Varese|Venice|Verbano-Cusio-Ossola|Vercelli|Verona|Vibo Valentia|Vicenza|Viterbo";
  2477. s_a[113]="Clarendon|Hanover|Kingston|Manchester|Portland|Saint Andrew|Saint Ann|Saint Catherine|Saint Elizabeth|Saint James|Saint Mary|Saint Thomas|Trelawny|Westmoreland";
  2478. s_a[114]="Jan Mayen";
  2479. s_a[115]="Aichi|Akita|Aomori|Chiba|Ehime|Fukui|Fukuoka|Fukushima|Gifu|Gumma|Hiroshima|Hokkaido|Hyogo|Ibaraki|Ishikawa|Iwate|Kagawa|Kagoshima|Kanagawa|Kochi|Kumamoto|Kyoto|Mie|Miyagi|Miyazaki|Nagano|Nagasaki|Nara|Niigata|Oita|Okayama|Okinawa|Osaka|Saga|Saitama|Shiga|Shimane|Shizuoka|Tochigi|Tokushima|Tokyo|Tottori|Toyama|Wakayama|Yamagata|Yamaguchi|Yamanashi";
  2480. s_a[116]="Jarvis Island";
  2481. s_a[117]="Jersey";
  2482. s_a[118]="Johnston Atoll";
  2483. s_a[119]="'Amman|Ajlun|Al 'Aqabah|Al Balqa'|Al Karak|Al Mafraq|At Tafilah|Az Zarqa'|Irbid|Jarash|Ma'an|Madaba";
  2484. s_a[120]="Juan de Nova Island";
  2485. s_a[121]="Almaty|Aqmola|Aqtobe|Astana|Atyrau|Batys Qazaqstan|Bayqongyr|Mangghystau|Ongtustik Qazaqstan|Pavlodar|Qaraghandy|Qostanay|Qyzylorda|Shyghys Qazaqstan|Soltustik Qazaqstan|Zhambyl";
  2486. s_a[122]="Central|Coast|Eastern|Nairobi Area|North Eastern|Nyanza|Rift Valley|Western";
  2487. s_a[123]="Abaiang|Abemama|Aranuka|Arorae|Banaba|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands|Kanton|Kiritimati|Kuria|Line Islands|Line Islands|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Tarawa|Teraina";
  2488. s_a[124]="Chagang-do (Chagang Province)|Hamgyong-bukto (North Hamgyong Province)|Hamgyong-namdo (South Hamgyong Province)|Hwanghae-bukto (North Hwanghae Province)|Hwanghae-namdo (South Hwanghae Province)|Kaesong-si (Kaesong City)|Kangwon-do (Kangwon Province)|Namp'o-si (Namp'o City)|P'yongan-bukto (North P'yongan Province)|P'yongan-namdo (South P'yongan Province)|P'yongyang-si (P'yongyang City)|Yanggang-do (Yanggang Province)"
  2489. s_a[125]="Ch'ungch'ong-bukto|Ch'ungch'ong-namdo|Cheju-do|Cholla-bukto|Cholla-namdo|Inch'on-gwangyoksi|Kangwon-do|Kwangju-gwangyoksi|Kyonggi-do|Kyongsang-bukto|Kyongsang-namdo|Pusan-gwangyoksi|Soul-t'ukpyolsi|Taegu-gwangyoksi|Taejon-gwangyoksi|Ulsan-gwangyoksi";
  2490. s_a[126]="Al 'Asimah|Al Ahmadi|Al Farwaniyah|Al Jahra'|Hawalli";
  2491. s_a[127]="Batken Oblasty|Bishkek Shaary|Chuy Oblasty (Bishkek)|Jalal-Abad Oblasty|Naryn Oblasty|Osh Oblasty|Talas Oblasty|Ysyk-Kol Oblasty (Karakol)"
  2492. s_a[128]="Attapu|Bokeo|Bolikhamxai|Champasak|Houaphan|Khammouan|Louangnamtha|Louangphabang|Oudomxai|Phongsali|Salavan|Savannakhet|Viangchan|Viangchan|Xaignabouli|Xaisomboun|Xekong|Xiangkhoang";
  2493. s_a[129]="Aizkraukles Rajons|Aluksnes Rajons|Balvu Rajons|Bauskas Rajons|Cesu Rajons|Daugavpils|Daugavpils Rajons|Dobeles Rajons|Gulbenes Rajons|Jekabpils Rajons|Jelgava|Jelgavas Rajons|Jurmala|Kraslavas Rajons|Kuldigas Rajons|Leipaja|Liepajas Rajons|Limbazu Rajons|Ludzas Rajons|Madonas Rajons|Ogres Rajons|Preilu Rajons|Rezekne|Rezeknes Rajons|Riga|Rigas Rajons|Saldus Rajons|Talsu Rajons|Tukuma Rajons|Valkas Rajons|Valmieras Rajons|Ventspils|Ventspils Rajons";
  2494. s_a[130]="Beyrouth|Ech Chimal|Ej Jnoub|El Bekaa|Jabal Loubnane";
  2495. s_a[131]="Berea|Butha-Buthe|Leribe|Mafeteng|Maseru|Mohales Hoek|Mokhotlong|Qacha's Nek|Quthing|Thaba-Tseka";
  2496. s_a[132]="Bomi|Bong|Grand Bassa|Grand Cape Mount|Grand Gedeh|Grand Kru|Lofa|Margibi|Maryland|Montserrado|Nimba|River Cess|Sinoe";
  2497. s_a[133]="Ajdabiya|Al 'Aziziyah|Al Fatih|Al Jabal al Akhdar|Al Jufrah|Al Khums|Al Kufrah|An Nuqat al Khams|Ash Shati'|Awbari|Az Zawiyah|Banghazi|Darnah|Ghadamis|Gharyan|Misratah|Murzuq|Sabha|Sawfajjin|Surt|Tarabulus|Tarhunah|Tubruq|Yafran|Zlitan";
  2498. s_a[134]="Balzers|Eschen|Gamprin|Mauren|Planken|Ruggell|Schaan|Schellenberg|Triesen|Triesenberg|Vaduz";
  2499. s_a[135]="Akmenes Rajonas|Alytaus Rajonas|Alytus|Anyksciu Rajonas|Birstonas|Birzu Rajonas|Druskininkai|Ignalinos Rajonas|Jonavos Rajonas|Joniskio Rajonas|Jurbarko Rajonas|Kaisiadoriu Rajonas|Kaunas|Kauno Rajonas|Kedainiu Rajonas|Kelmes Rajonas|Klaipeda|Klaipedos Rajonas|Kretingos Rajonas|Kupiskio Rajonas|Lazdiju Rajonas|Marijampole|Marijampoles Rajonas|Mazeikiu Rajonas|Moletu Rajonas|Neringa Pakruojo Rajonas|Palanga|Panevezio Rajonas|Panevezys|Pasvalio Rajonas|Plunges Rajonas|Prienu Rajonas|Radviliskio Rajonas|Raseiniu Rajonas|Rokiskio Rajonas|Sakiu Rajonas|Salcininku Rajonas|Siauliai|Siauliu Rajonas|Silales Rajonas|Silutes Rajonas|Sirvintu Rajonas|Skuodo Rajonas|Svencioniu Rajonas|Taurages Rajonas|Telsiu Rajonas|Traku Rajonas|Ukmerges Rajonas|Utenos Rajonas|Varenos Rajonas|Vilkaviskio Rajonas|Vilniaus Rajonas|Vilnius|Zarasu Rajonas";
  2500. s_a[136]="Diekirch|Grevenmacher|Luxembourg";
  2501. s_a[137]="Macau";
  2502. s_a[138]="Aracinovo|Bac|Belcista|Berovo|Bistrica|Bitola|Blatec|Bogdanci|Bogomila|Bogovinje|Bosilovo|Brvenica|Cair (Skopje)|Capari|Caska|Cegrane|Centar (Skopje)|Centar Zupa|Cesinovo|Cucer-Sandevo|Debar|Delcevo|Delogozdi|Demir Hisar|Demir Kapija|Dobrusevo|Dolna Banjica|Dolneni|Dorce Petrov (Skopje)|Drugovo|Dzepciste|Gazi Baba (Skopje)|Gevgelija|Gostivar|Gradsko|Ilinden|Izvor|Jegunovce|Kamenjane|Karbinci|Karpos (Skopje)|Kavadarci|Kicevo|Kisela Voda (Skopje)|Klecevce|Kocani|Konce|Kondovo|Konopiste|Kosel|Kratovo|Kriva Palanka|Krivogastani|Krusevo|Kuklis|Kukurecani|Kumanovo|Labunista|Lipkovo|Lozovo|Lukovo|Makedonska Kamenica|Makedonski Brod|Mavrovi Anovi|Meseista|Miravci|Mogila|Murtino|Negotino|Negotino-Poloska|Novaci|Novo Selo|Oblesevo|Ohrid|Orasac|Orizari|Oslomej|Pehcevo|Petrovec|Plasnia|Podares|Prilep|Probistip|Radovis|Rankovce|Resen|Rosoman|Rostusa|Samokov|Saraj|Sipkovica|Sopiste|Sopotnika|Srbinovo|Star Dojran|Staravina|Staro Nagoricane|Stip|Struga|Strumica|Studenicani|Suto Orizari (Skopje)|Sveti Nikole|Tearce|Tetovo|Topolcani|Valandovo|Vasilevo|Veles|Velesta|Vevcani|Vinica|Vitoliste|Vranestica|Vrapciste|Vratnica|Vrutok|Zajas|Zelenikovo|Zileno|Zitose|Zletovo|Zrnovci";
  2503. s_a[139]="Antananarivo|Antsiranana|Fianarantsoa|Mahajanga|Toamasina|Toliara";
  2504. s_a[140]="Balaka|Blantyre|Chikwawa|Chiradzulu|Chitipa|Dedza|Dowa|Karonga|Kasungu|Likoma|Lilongwe|Machinga (Kasupe)|Mangochi|Mchinji|Mulanje|Mwanza|Mzimba|Nkhata Bay|Nkhotakota|Nsanje|Ntcheu|Ntchisi|Phalombe|Rumphi|Salima|Thyolo|Zomba";
  2505. s_a[141]="Johor|Kedah|Kelantan|Labuan|Melaka|Negeri Sembilan|Pahang|Perak|Perlis|Pulau Pinang|Sabah|Sarawak|Selangor|Terengganu|Wilayah Persekutuan";
  2506. s_a[142]="Alifu|Baa|Dhaalu|Faafu|Gaafu Alifu|Gaafu Dhaalu|Gnaviyani|Haa Alifu|Haa Dhaalu|Kaafu|Laamu|Lhaviyani|Maale|Meemu|Noonu|Raa|Seenu|Shaviyani|Thaa|Vaavu";
  2507. s_a[143]="Gao|Kayes|Kidal|Koulikoro|Mopti|Segou|Sikasso|Tombouctou";
  2508. s_a[144]="Valletta";
  2509. s_a[145]="Man, Isle of";
  2510. s_a[146]="Ailinginae|Ailinglaplap|Ailuk|Arno|Aur|Bikar|Bikini|Bokak|Ebon|Enewetak|Erikub|Jabat|Jaluit|Jemo|Kili|Kwajalein|Lae|Lib|Likiep|Majuro|Maloelap|Mejit|Mili|Namorik|Namu|Rongelap|Rongrik|Toke|Ujae|Ujelang|Utirik|Wotho|Wotje";
  2511. s_a[147]="Martinique";
  2512. s_a[148]="Adrar|Assaba|Brakna|Dakhlet Nouadhibou|Gorgol|Guidimaka|Hodh Ech Chargui|Hodh El Gharbi|Inchiri|Nouakchott|Tagant|Tiris Zemmour|Trarza";
  2513. s_a[149]="Agalega Islands|Black River|Cargados Carajos Shoals|Flacq|Grand Port|Moka|Pamplemousses|Plaines Wilhems|Port Louis|Riviere du Rempart|Rodrigues|Savanne";
  2514. s_a[150]="Mayotte";
  2515. s_a[151]="Aguascalientes|Baja California|Baja California Sur|Campeche|Chiapas|Chihuahua|Coahuila de Zaragoza|Colima|Distrito Federal|Durango|Guanajuato|Guerrero|Hidalgo|Jalisco|Mexico|Michoacan de Ocampo|Morelos|Nayarit|Nuevo Leon|Oaxaca|Puebla|Queretaro de Arteaga|Quintana Roo|San Luis Potosi|Sinaloa|Sonora|Tabasco|Tamaulipas|Tlaxcala|Veracruz-Llave|Yucatan|Zacatecas";
  2516. s_a[152]="Chuuk (Truk)|Kosrae|Pohnpei|Yap";
  2517. s_a[153]="Midway Islands";
  2518. s_a[154]="Balti|Cahul|Chisinau|Chisinau|Dubasari|Edinet|Gagauzia|Lapusna|Orhei|Soroca|Tighina|Ungheni";
  2519. s_a[155]="Fontvieille|La Condamine|Monaco-Ville|Monte-Carlo";
  2520. s_a[156]="Arhangay|Bayan-Olgiy|Bayanhongor|Bulgan|Darhan|Dornod|Dornogovi|Dundgovi|Dzavhan|Erdenet|Govi-Altay|Hentiy|Hovd|Hovsgol|Omnogovi|Ovorhangay|Selenge|Suhbaatar|Tov|Ulaanbaatar|Uvs";
  2521. s_a[157]="Saint Anthony|Saint Georges|Saint Peter's";
  2522. s_a[158]="Agadir|Al Hoceima|Azilal|Ben Slimane|Beni Mellal|Boulemane|Casablanca|Chaouen|El Jadida|El Kelaa des Srarhna|Er Rachidia|Essaouira|Fes|Figuig|Guelmim|Ifrane|Kenitra|Khemisset|Khenifra|Khouribga|Laayoune|Larache|Marrakech|Meknes|Nador|Ouarzazate|Oujda|Rabat-Sale|Safi|Settat|Sidi Kacem|Tan-Tan|Tanger|Taounate|Taroudannt|Tata|Taza|Tetouan|Tiznit";
  2523. s_a[159]="Cabo Delgado|Gaza|Inhambane|Manica|Maputo|Nampula|Niassa|Sofala|Tete|Zambezia";
  2524. s_a[160]="Caprivi|Erongo|Hardap|Karas|Khomas|Kunene|Ohangwena|Okavango|Omaheke|Omusati|Oshana|Oshikoto|Otjozondjupa";
  2525. s_a[161]="Aiwo|Anabar|Anetan|Anibare|Baiti|Boe|Buada|Denigomodu|Ewa|Ijuw|Meneng|Nibok|Uaboe|Yaren";
  2526. s_a[162]="Bagmati|Bheri|Dhawalagiri|Gandaki|Janakpur|Karnali|Kosi|Lumbini|Mahakali|Mechi|Narayani|Rapti|Sagarmatha|Seti";
  2527. s_a[163]="Drenthe|Flevoland|Friesland|Gelderland|Groningen|Limburg|Noord-Brabant|Noord-Holland|Overijssel|Utrecht|Zeeland|Zuid-Holland";
  2528. s_a[164]="Netherlands Antilles";
  2529. s_a[165]="Iles Loyaute|Nord|Sud";
  2530. s_a[166]="Akaroa|Amuri|Ashburton|Bay of Islands|Bruce|Buller|Chatham Islands|Cheviot|Clifton|Clutha|Cook|Dannevirke|Egmont|Eketahuna|Ellesmere|Eltham|Eyre|Featherston|Franklin|Golden Bay|Great Barrier Island|Grey|Hauraki Plains|Hawera|Hawke's Bay|Heathcote|Hikurangi|Hobson|Hokianga|Horowhenua|Hurunui|Hutt|Inangahua|Inglewood|Kaikoura|Kairanga|Kiwitea|Lake|Mackenzie|Malvern|Manaia|Manawatu|Mangonui|Maniototo|Marlborough|Masterton|Matamata|Mount Herbert|Ohinemuri|Opotiki|Oroua|Otamatea|Otorohanga|Oxford|Pahiatua|Paparua|Patea|Piako|Pohangina|Raglan|Rangiora|Rangitikei|Rodney|Rotorua|Runanga|Saint Kilda|Silverpeaks|Southland|Stewart Island|Stratford|Strathallan|Taranaki|Taumarunui|Taupo|Tauranga|Thames-Coromandel|Tuapeka|Vincent|Waiapu|Waiheke|Waihemo|Waikato|Waikohu|Waimairi|Waimarino|Waimate|Waimate West|Waimea|Waipa|Waipawa|Waipukurau|Wairarapa South|Wairewa|Wairoa|Waitaki|Waitomo|Waitotara|Wallace|Wanganui|Waverley|Westland|Whakatane|Whangarei|Whangaroa|Woodville";
  2531. s_a[167]="Atlantico Norte|Atlantico Sur|Boaco|Carazo|Chinandega|Chontales|Esteli|Granada|Jinotega|Leon|Madriz|Managua|Masaya|Matagalpa|Nueva Segovia|Rio San Juan|Rivas";
  2532. s_a[168]="Agadez|Diffa|Dosso|Maradi|Niamey|Tahoua|Tillaberi|Zinder";
  2533. s_a[169]="Abia|Abuja Federal Capital Territory|Adamawa|Akwa Ibom|Anambra|Bauchi|Bayelsa|Benue|Borno|Cross River|Delta|Ebonyi|Edo|Ekiti|Enugu|Gombe|Imo|Jigawa|Kaduna|Kano|Katsina|Kebbi|Kogi|Kwara|Lagos|Nassarawa|Niger|Ogun|Ondo|Osun|Oyo|Plateau|Rivers|Sokoto|Taraba|Yobe|Zamfara";
  2534. s_a[170]="Niue";
  2535. s_a[171]="Norfolk Island";
  2536. s_a[172]="Northern Islands|Rota|Saipan|Tinian";
  2537. s_a[173]="Akershus|Aust-Agder|Buskerud|Finnmark|Hedmark|Hordaland|More og Romsdal|Nord-Trondelag|Nordland|Oppland|Oslo|Ostfold|Rogaland|Sogn og Fjordane|Sor-Trondelag|Telemark|Troms|Vest-Agder|Vestfold";
  2538. s_a[174]="Ad Dakhiliyah|Al Batinah|Al Wusta|Ash Sharqiyah|Az Zahirah|Masqat|Musandam|Zufar";
  2539. s_a[175]="Balochistan|Federally Administered Tribal Areas|Islamabad Capital Territory|North-West Frontier Province|Punjab|Sindh";
  2540. s_a[176]="Aimeliik|Airai|Angaur|Hatobohei|Kayangel|Koror|Melekeok|Ngaraard|Ngarchelong|Ngardmau|Ngatpang|Ngchesar|Ngeremlengui|Ngiwal|Palau Island|Peleliu|Sonsoral|Tobi";
  2541. s_a[177]="Bocas del Toro|Chiriqui|Cocle|Colon|Darien|Herrera|Los Santos|Panama|San Blas|Veraguas";
  2542. s_a[178]="Bougainville|Central|Chimbu|East New Britain|East Sepik|Eastern Highlands|Enga|Gulf|Madang|Manus|Milne Bay|Morobe|National Capital|New Ireland|Northern|Sandaun|Southern Highlands|West New Britain|Western|Western Highlands";
  2543. s_a[179]="Alto Paraguay|Alto Parana|Amambay|Asuncion (city)|Boqueron|Caaguazu|Caazapa|Canindeyu|Central|Concepcion|Cordillera|Guaira|Itapua|Misiones|Neembucu|Paraguari|Presidente Hayes|San Pedro";
  2544. s_a[180]="Amazonas|Ancash|Apurimac|Arequipa|Ayacucho|Cajamarca|Callao|Cusco|Huancavelica|Huanuco|Ica|Junin|La Libertad|Lambayeque|Lima|Loreto|Madre de Dios|Moquegua|Pasco|Piura|Puno|San Martin|Tacna|Tumbes|Ucayali";
  2545. s_a[181]="Abra|Agusan del Norte|Agusan del Sur|Aklan|Albay|Angeles|Antique|Aurora|Bacolod|Bago|Baguio|Bais|Basilan|Basilan City|Bataan|Batanes|Batangas|Batangas City|Benguet|Bohol|Bukidnon|Bulacan|Butuan|Cabanatuan|Cadiz|Cagayan|Cagayan de Oro|Calbayog|Caloocan|Camarines Norte|Camarines Sur|Camiguin|Canlaon|Capiz|Catanduanes|Cavite|Cavite City|Cebu|Cebu City|Cotabato|Dagupan|Danao|Dapitan|Davao City Davao|Davao del Sur|Davao Oriental|Dipolog|Dumaguete|Eastern Samar|General Santos|Gingoog|Ifugao|Iligan|Ilocos Norte|Ilocos Sur|Iloilo|Iloilo City|Iriga|Isabela|Kalinga-Apayao|La Carlota|La Union|Laguna|Lanao del Norte|Lanao del Sur|Laoag|Lapu-Lapu|Legaspi|Leyte|Lipa|Lucena|Maguindanao|Mandaue|Manila|Marawi|Marinduque|Masbate|Mindoro Occidental|Mindoro Oriental|Misamis Occidental|Misamis Oriental|Mountain|Naga|Negros Occidental|Negros Oriental|North Cotabato|Northern Samar|Nueva Ecija|Nueva Vizcaya|Olongapo|Ormoc|Oroquieta|Ozamis|Pagadian|Palawan|Palayan|Pampanga|Pangasinan|Pasay|Puerto Princesa|Quezon|Quezon City|Quirino|Rizal|Romblon|Roxas|Samar|San Carlos (in Negros Occidental)|San Carlos (in Pangasinan)|San Jose|San Pablo|Silay|Siquijor|Sorsogon|South Cotabato|Southern Leyte|Sultan Kudarat|Sulu|Surigao|Surigao del Norte|Surigao del Sur|Tacloban|Tagaytay|Tagbilaran|Tangub|Tarlac|Tawitawi|Toledo|Trece Martires|Zambales|Zamboanga|Zamboanga del Norte|Zamboanga del Sur";
  2546. s_a[182]="Pitcaim Islands";
  2547. s_a[183]="Dolnoslaskie|Kujawsko-Pomorskie|Lodzkie|Lubelskie|Lubuskie|Malopolskie|Mazowieckie|Opolskie|Podkarpackie|Podlaskie|Pomorskie|Slaskie|Swietokrzyskie|Warminsko-Mazurskie|Wielkopolskie|Zachodniopomorskie";
  2548. s_a[184]="Acores (Azores)|Aveiro|Beja|Braga|Braganca|Castelo Branco|Coimbra|Evora|Faro|Guarda|Leiria|Lisboa|Madeira|Portalegre|Porto|Santarem|Setubal|Viana do Castelo|Vila Real|Viseu";
  2549. s_a[185]="Adjuntas|Aguada|Aguadilla|Aguas Buenas|Aibonito|Anasco|Arecibo|Arroyo|Barceloneta|Barranquitas|Bayamon|Cabo Rojo|Caguas|Camuy|Canovanas|Carolina|Catano|Cayey|Ceiba|Ciales|Cidra|Coamo|Comerio|Corozal|Culebra|Dorado|Fajardo|Florida|Guanica|Guayama|Guayanilla|Guaynabo|Gurabo|Hatillo|Hormigueros|Humacao|Isabela|Jayuya|Juana Diaz|Juncos|Lajas|Lares|Las Marias|Las Piedras|Loiza|Luquillo|Manati|Maricao|Maunabo|Mayaguez|Moca|Morovis|Naguabo|Naranjito|Orocovis|Patillas|Penuelas|Ponce|Quebradillas|Rincon|Rio Grande|Sabana Grande|Salinas|San German|San Juan|San Lorenzo|San Sebastian|Santa Isabel|Toa Alta|Toa Baja|Trujillo Alto|Utuado|Vega Alta|Vega Baja|Vieques|Villalba|Yabucoa|Yauco";
  2550. s_a[186]="Ad Dawhah|Al Ghuwayriyah|Al Jumayliyah|Al Khawr|Al Wakrah|Ar Rayyan|Jarayan al Batinah|Madinat ash Shamal|Umm Salal";
  2551. s_a[187]="Reunion";
  2552. s_a[188]="Alba|Arad|Arges|Bacau|Bihor|Bistrita-Nasaud|Botosani|Braila|Brasov|Bucuresti|Buzau|Calarasi|Caras-Severin|Cluj|Constanta|Covasna|Dimbovita|Dolj|Galati|Giurgiu|Gorj|Harghita|Hunedoara|Ialomita|Iasi|Maramures|Mehedinti|Mures|Neamt|Olt|Prahova|Salaj|Satu Mare|Sibiu|Suceava|Teleorman|Timis|Tulcea|Vaslui|Vilcea|Vrancea";
  2553. s_a[189] = "";
  2554. s_a[190]="Butare|Byumba|Cyangugu|Gikongoro|Gisenyi|Gitarama|Kibungo|Kibuye|Kigali Rurale|Kigali-ville|Ruhengeri|Umutara";
  2555. s_a[191]="Ascension|Saint Helena|Tristan da Cunha";
  2556. s_a[192]="Christ Church Nichola Town|Saint Anne Sandy Point|Saint George Basseterre|Saint George Gingerland|Saint James Windward|Saint John Capisterre|Saint John Figtree|Saint Mary Cayon|Saint Paul Capisterre|Saint Paul Charlestown|Saint Peter Basseterre|Saint Thomas Lowland|Saint Thomas Middle Island|Trinity Palmetto Point";
  2557. s_a[193]="Anse-la-Raye|Castries|Choiseul|Dauphin|Dennery|Gros Islet|Laborie|Micoud|Praslin|Soufriere|Vieux Fort";
  2558. s_a[194]="Miquelon|Saint Pierre";
  2559. s_a[195]="Charlotte|Grenadines|Saint Andrew|Saint David|Saint George|Saint Patrick";
  2560. s_a[196]="A'ana|Aiga-i-le-Tai|Atua|Fa'asaleleaga|Gaga'emauga|Gagaifomauga|Palauli|Satupa'itea|Tuamasaga|Va'a-o-Fonoti|Vaisigano";
  2561. s_a[197]="Acquaviva|Borgo Maggiore|Chiesanuova|Domagnano|Faetano|Fiorentino|Monte Giardino|San Marino|Serravalle";
  2562. s_a[198]="Principe|Sao Tome";
  2563. s_a[199]="'Asir|Al Bahah|Al Hudud ash Shamaliyah|Al Jawf|Al Madinah|Al Qasim|Ar Riyad|Ash Sharqiyah (Eastern Province)|Ha'il|Jizan|Makkah|Najran|Tabuk";
  2564. s_a[200]="Aberdeen City|Aberdeenshire|Angus|Argyll and Bute|City of Edinburgh|Clackmannanshire|Dumfries and Galloway|Dundee City|East Ayrshire|East Dunbartonshire|East Lothian|East Renfrewshire|Eilean Siar (Western Isles)|Falkirk|Fife|Glasgow City|Highland|Inverclyde|Midlothian|Moray|North Ayrshire|North Lanarkshire|Orkney Islands|Perth and Kinross|Renfrewshire|Shetland Islands|South Ayrshire|South Lanarkshire|Stirling|The Scottish Borders|West Dunbartonshire|West Lothian";
  2565. s_a[201]="Dakar|Diourbel|Fatick|Kaolack|Kolda|Louga|Saint-Louis|Tambacounda|Thies|Ziguinchor";
  2566. s_a[202]="Anse aux Pins|Anse Boileau|Anse Etoile|Anse Louis|Anse Royale|Baie Lazare|Baie Sainte Anne|Beau Vallon|Bel Air|Bel Ombre|Cascade|Glacis|Grand' Anse (on Mahe)|Grand' Anse (on Praslin)|La Digue|La Riviere Anglaise|Mont Buxton|Mont Fleuri|Plaisance|Pointe La Rue|Port Glaud|Saint Louis|Takamaka";
  2567. s_a[203]="Eastern|Northern|Southern|Western";
  2568. s_a[204]="Singapore";
  2569. s_a[205]="Banskobystricky|Bratislavsky|Kosicky|Nitriansky|Presovsky|Trenciansky|Trnavsky|Zilinsky";
  2570. s_a[206]="Ajdovscina|Beltinci|Bled|Bohinj|Borovnica|Bovec|Brda|Brezice|Brezovica|Cankova-Tisina|Celje|Cerklje na Gorenjskem|Cerknica|Cerkno|Crensovci|Crna na Koroskem|Crnomelj|Destrnik-Trnovska Vas|Divaca|Dobrepolje|Dobrova-Horjul-Polhov Gradec|Dol pri Ljubljani|Domzale|Dornava|Dravograd|Duplek|Gorenja Vas-Poljane|Gorisnica|Gornja Radgona|Gornji Grad|Gornji Petrovci|Grosuplje|Hodos Salovci|Hrastnik|Hrpelje-Kozina|Idrija|Ig|Ilirska Bistrica|Ivancna Gorica|Izola|Jesenice|Jursinci|Kamnik|Kanal|Kidricevo|Kobarid|Kobilje|Kocevje|Komen|Koper|Kozje|Kranj|Kranjska Gora|Krsko|Kungota|Kuzma|Lasko|Lenart|Lendava|Litija|Ljubljana|Ljubno|Ljutomer|Logatec|Loska Dolina|Loski Potok|Luce|Lukovica|Majsperk|Maribor|Medvode|Menges|Metlika|Mezica|Miren-Kostanjevica|Mislinja|Moravce|Moravske Toplice|Mozirje|Murska Sobota|Muta|Naklo|Nazarje|Nova Gorica|Novo Mesto|Odranci|Ormoz|Osilnica|Pesnica|Piran|Pivka|Podcetrtek|Podvelka-Ribnica|Postojna|Preddvor|Ptuj|Puconci|Race-Fram|Radece|Radenci|Radlje ob Dravi|Radovljica|Ravne-Prevalje|Ribnica|Rogasevci|Rogaska Slatina|Rogatec|Ruse|Semic|Sencur|Sentilj|Sentjernej|Sentjur pri Celju|Sevnica|Sezana|Skocjan|Skofja Loka|Skofljica|Slovenj Gradec|Slovenska Bistrica|Slovenske Konjice|Smarje pri Jelsah|Smartno ob Paki|Sostanj|Starse|Store|Sveti Jurij|Tolmin|Trbovlje|Trebnje|Trzic|Turnisce|Velenje|Velike Lasce|Videm|Vipava|Vitanje|Vodice|Vojnik|Vrhnika|Vuzenica|Zagorje ob Savi|Zalec|Zavrc|Zelezniki|Ziri|Zrece";
  2571. s_a[207]="Bellona|Central|Choiseul (Lauru)|Guadalcanal|Honiara|Isabel|Makira|Malaita|Rennell|Temotu|Western";
  2572. s_a[208]="Awdal|Bakool|Banaadir|Bari|Bay|Galguduud|Gedo|Hiiraan|Jubbada Dhexe|Jubbada Hoose|Mudug|Nugaal|Sanaag|Shabeellaha Dhexe|Shabeellaha Hoose|Sool|Togdheer|Woqooyi Galbeed";
  2573. s_a[209]="Eastern Cape|Free State|Gauteng|KwaZulu-Natal|Mpumalanga|North-West|Northern Cape|Northern Province|Western Cape";
  2574. s_a[210]="Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands";
  2575. s_a[211]="Andalucia|Aragon|Asturias|Baleares (Balearic Islands)|Canarias (Canary Islands)|Cantabria|Castilla y Leon|Castilla-La Mancha|Cataluna|Ceuta|Communidad Valencian|Extremadura|Galicia|Islas Chafarinas|La Rioja|Madrid|Melilla|Murcia|Navarra|Pais Vasco (Basque Country)|Penon de Alhucemas|Penon de Velez de la Gomera";
  2576. s_a[212]="Spratly Islands";
  2577. s_a[213]="Central|Eastern|North Central|North Eastern|North Western|Northern|Sabaragamuwa|Southern|Uva|Western";
  2578. s_a[214]="A'ali an Nil|Al Bahr al Ahmar|Al Buhayrat|Al Jazirah|Al Khartum|Al Qadarif|Al Wahdah|An Nil al Abyad|An Nil al Azraq|Ash Shamaliyah|Bahr al Jabal|Gharb al Istiwa'iyah|Gharb Bahr al Ghazal|Gharb Darfur|Gharb Kurdufan|Janub Darfur|Janub Kurdufan|Junqali|Kassala|Nahr an Nil|Shamal Bahr al Ghazal|Shamal Darfur|Shamal Kurdufan|Sharq al Istiwa'iyah|Sinnar|Warab";
  2579. s_a[215]="Brokopondo|Commewijne|Coronie|Marowijne|Nickerie|Para|Paramaribo|Saramacca|Sipaliwini|Wanica";
  2580. s_a[216]="Barentsoya|Bjornoya|Edgeoya|Hopen|Kvitoya|Nordaustandet|Prins Karls Forland|Spitsbergen";
  2581. s_a[217]="Hhohho|Lubombo|Manzini|Shiselweni";
  2582. s_a[218]="Blekinge|Dalarnas|Gavleborgs|Gotlands|Hallands|Jamtlands|Jonkopings|Kalmar|Kronobergs|Norrbottens|Orebro|Ostergotlands|Skane|Sodermanlands|Stockholms|Uppsala|Varmlands|Vasterbottens|Vasternorrlands|Vastmanlands|Vastra Gotalands";
  2583. s_a[219]="Aargau|Ausser-Rhoden|Basel-Landschaft|Basel-Stadt|Bern|Fribourg|Geneve|Glarus|Graubunden|Inner-Rhoden|Jura|Luzern|Neuchatel|Nidwalden|Obwalden|Sankt Gallen|Schaffhausen|Schwyz|Solothurn|Thurgau|Ticino|Uri|Valais|Vaud|Zug|Zurich";
  2584. s_a[220]="Al Hasakah|Al Ladhiqiyah|Al Qunaytirah|Ar Raqqah|As Suwayda'|Dar'a|Dayr az Zawr|Dimashq|Halab|Hamah|Hims|Idlib|Rif Dimashq|Tartus";
  2585. s_a[221]="Chang-hua|Chi-lung|Chia-i|Chia-i|Chung-hsing-hsin-ts'un|Hsin-chu|Hsin-chu|Hua-lien|I-lan|Kao-hsiung|Kao-hsiung|Miao-li|Nan-t'ou|P'eng-hu|P'ing-tung|T'ai-chung|T'ai-chung|T'ai-nan|T'ai-nan|T'ai-pei|T'ai-pei|T'ai-tung|T'ao-yuan|Yun-lin";
  2586. s_a[222]="Viloyati Khatlon|Viloyati Leninobod|Viloyati Mukhtori Kuhistoni Badakhshon";
  2587. s_a[223]="Arusha|Dar es Salaam|Dodoma|Iringa|Kagera|Kigoma|Kilimanjaro|Lindi|Mara|Mbeya|Morogoro|Mtwara|Mwanza|Pemba North|Pemba South|Pwani|Rukwa|Ruvuma|Shinyanga|Singida|Tabora|Tanga|Zanzibar Central/South|Zanzibar North|Zanzibar Urban/West";
  2588. s_a[224]="Amnat Charoen|Ang Thong|Buriram|Chachoengsao|Chai Nat|Chaiyaphum|Chanthaburi|Chiang Mai|Chiang Rai|Chon Buri|Chumphon|Kalasin|Kamphaeng Phet|Kanchanaburi|Khon Kaen|Krabi|Krung Thep Mahanakhon (Bangkok)|Lampang|Lamphun|Loei|Lop Buri|Mae Hong Son|Maha Sarakham|Mukdahan|Nakhon Nayok|Nakhon Pathom|Nakhon Phanom|Nakhon Ratchasima|Nakhon Sawan|Nakhon Si Thammarat|Nan|Narathiwat|Nong Bua Lamphu|Nong Khai|Nonthaburi|Pathum Thani|Pattani|Phangnga|Phatthalung|Phayao|Phetchabun|Phetchaburi|Phichit|Phitsanulok|Phra Nakhon Si Ayutthaya|Phrae|Phuket|Prachin Buri|Prachuap Khiri Khan|Ranong|Ratchaburi|Rayong|Roi Et|Sa Kaeo|Sakon Nakhon|Samut Prakan|Samut Sakhon|Samut Songkhram|Sara Buri|Satun|Sing Buri|Sisaket|Songkhla|Sukhothai|Suphan Buri|Surat Thani|Surin|Tak|Trang|Trat|Ubon Ratchathani|Udon Thani|Uthai Thani|Uttaradit|Yala|Yasothon";
  2589. s_a[225]="Tobago";
  2590. s_a[226]="De La Kara|Des Plateaux|Des Savanes|Du Centre|Maritime";
  2591. s_a[227]="Atafu|Fakaofo|Nukunonu";
  2592. s_a[228]="Ha'apai|Tongatapu|Vava'u";
  2593. s_a[229]="Arima|Caroni|Mayaro|Nariva|Port-of-Spain|Saint Andrew|Saint David|Saint George|Saint Patrick|San Fernando|Victoria";
  2594. s_a[230]="Ariana|Beja|Ben Arous|Bizerte|El Kef|Gabes|Gafsa|Jendouba|Kairouan|Kasserine|Kebili|Mahdia|Medenine|Monastir|Nabeul|Sfax|Sidi Bou Zid|Siliana|Sousse|Tataouine|Tozeur|Tunis|Zaghouan";
  2595. s_a[231]="Adana|Adiyaman|Afyon|Agri|Aksaray|Amasya|Ankara|Antalya|Ardahan|Artvin|Aydin|Balikesir|Bartin|Batman|Bayburt|Bilecik|Bingol|Bitlis|Bolu|Burdur|Bursa|Canakkale|Cankiri|Corum|Denizli|Diyarbakir|Duzce|Edirne|Elazig|Erzincan|Erzurum|Eskisehir|Gaziantep|Giresun|Gumushane|Hakkari|Hatay|Icel|Igdir|Isparta|Istanbul|Izmir|Kahramanmaras|Karabuk|Karaman|Kars|Kastamonu|Kayseri|Kilis|Kirikkale|Kirklareli|Kirsehir|Kocaeli|Konya|Kutahya|Malatya|Manisa|Mardin|Mugla|Mus|Nevsehir|Nigde|Ordu|Osmaniye|Rize|Sakarya|Samsun|Sanliurfa|Siirt|Sinop|Sirnak|Sivas|Tekirdag|Tokat|Trabzon|Tunceli|Usak|Van|Yalova|Yozgat|Zonguldak";
  2596. s_a[232]="Ahal Welayaty|Balkan Welayaty|Dashhowuz Welayaty|Lebap Welayaty|Mary Welayaty";
  2597. s_a[233]="Tuvalu";
  2598. s_a[234]="Adjumani|Apac|Arua|Bugiri|Bundibugyo|Bushenyi|Busia|Gulu|Hoima|Iganga|Jinja|Kabale|Kabarole|Kalangala|Kampala|Kamuli|Kapchorwa|Kasese|Katakwi|Kibale|Kiboga|Kisoro|Kitgum|Kotido|Kumi|Lira|Luwero|Masaka|Masindi|Mbale|Mbarara|Moroto|Moyo|Mpigi|Mubende|Mukono|Nakasongola|Nebbi|Ntungamo|Pallisa|Rakai|Rukungiri|Sembabule|Soroti|Tororo";
  2599. s_a[235]="Avtonomna Respublika Krym (Simferopol')|Cherkas'ka (Cherkasy)|Chernihivs'ka (Chernihiv)|Chernivets'ka (Chernivtsi)|Dnipropetrovs'ka (Dnipropetrovs'k)|Donets'ka (Donets'k)|Ivano-Frankivs'ka (Ivano-Frankivs'k)|Kharkivs'ka (Kharkiv)|Khersons'ka (Kherson)|Khmel'nyts'ka (Khmel'nyts'kyy)|Kirovohrads'ka (Kirovohrad)|Kyyiv|Kyyivs'ka (Kiev)|L'vivs'ka (L'viv)|Luhans'ka (Luhans'k)|Mykolayivs'ka (Mykolayiv)|Odes'ka (Odesa)|Poltavs'ka (Poltava)|Rivnens'ka (Rivne)|Sevastopol'|Sums'ka (Sumy)|Ternopil's'ka (Ternopil')|Vinnyts'ka (Vinnytsya)|Volyns'ka (Luts'k)|Zakarpats'ka (Uzhhorod)|Zaporiz'ka (Zaporizhzhya)|Zhytomyrs'ka (Zhytomyr)"
  2600. s_a[236]="'Ajman|Abu Zaby (Abu Dhabi)|Al Fujayrah|Ash Shariqah (Sharjah)|Dubayy (Dubai)|Ra's al Khaymah|Umm al Qaywayn";
  2601. s_a[237]="Barking and Dagenham|Barnet|Barnsley|Bath and North East Somerset|Bedfordshire|Bexley|Birmingham|Blackburn with Darwen|Blackpool|Bolton|Bournemouth|Bracknell Forest|Bradford|Brent|Brighton and Hove|Bromley|Buckinghamshire|Bury|Calderdale|Cambridgeshire|Camden|Cheshire|City of Bristol|City of Kingston upon Hull|City of London|Cornwall|Coventry|Croydon|Cumbria|Darlington|Derby|Derbyshire|Devon|Doncaster|Dorset|Dudley|Durham|Ealing|East Riding of Yorkshire|East Sussex|Enfield|Essex|Gateshead|Gloucestershire|Greenwich|Hackney|Halton|Hammersmith and Fulham|Hampshire|Haringey|Harrow|Hartlepool|Havering|Herefordshire|Hertfordshire|Hillingdon|Hounslow|Isle of Wight|Islington|Kensington and Chelsea|Kent|Kingston upon Thames|Kirklees|Knowsley|Lambeth|Lancashire|Leeds|Leicester|Leicestershire|Lewisham|Lincolnshire|Liverpool|Luton|Manchester|Medway|Merton|Middlesbrough|Milton Keynes|Newcastle upon Tyne|Newham|Norfolk|North East Lincolnshire|North Lincolnshire|North Somerset|North Tyneside|North Yorkshire|Northamptonshire|Northumberland|Nottingham|Nottinghamshire|Oldham|Oxfordshire|Peterborough|Plymouth|Poole|Portsmouth|Reading|Redbridge|Redcar and Cleveland|Richmond upon Thames|Rochdale|Rotherham|Rutland|Salford|Sandwell|Sefton|Sheffield|Shropshire|Slough|Solihull|Somerset|South Gloucestershire|South Tyneside|Southampton|Southend-on-Sea|Southwark|St. Helens|Staffordshire|Stockport|Stockton-on-Tees|Stoke-on-Trent|Suffolk|Sunderland|Surrey|Sutton|Swindon|Tameside|Telford and Wrekin|Thurrock|Torbay|Tower Hamlets|Trafford|Wakefield|Walsall|Waltham Forest|Wandsworth|Warrington|Warwickshire|West Berkshire|West Sussex|Westminster|Wigan|Wiltshire|Windsor and Maidenhead|Wirral|Wokingham|Wolverhampton|Worcestershire|York";
  2602. s_a[238]="Artigas|Canelones|Cerro Largo|Colonia|Durazno|Flores|Florida|Lavalleja|Maldonado|Montevideo|Paysandu|Rio Negro|Rivera|Rocha|Salto|San Jose|Soriano|Tacuarembo|Treinta y Tres";
  2603. s_a[239]="Alabama|Alaska|Arizona|Arkansas|California|Colorado|Connecticut|Delaware|District of Columbia|Florida|Georgia|Hawaii|Idaho|Illinois|Indiana|Iowa|Kansas|Kentucky|Louisiana|Maine|Maryland|Massachusetts|Michigan|Minnesota|Mississippi|Missouri|Montana|Nebraska|Nevada|New Hampshire|New Jersey|New Mexico|New York|North Carolina|North Dakota|Ohio|Oklahoma|Oregon|Pennsylvania|Rhode Island|South Carolina|South Dakota|Tennessee|Texas|Utah|Vermont|Virginia|Washington|West Virginia|Wisconsin|Wyoming";
  2604. s_a[240]="Andijon Wiloyati|Bukhoro Wiloyati|Farghona Wiloyati|Jizzakh Wiloyati|Khorazm Wiloyati (Urganch)|Namangan Wiloyati|Nawoiy Wiloyati|Qashqadaryo Wiloyati (Qarshi)|Qoraqalpoghiston (Nukus)|Samarqand Wiloyati|Sirdaryo Wiloyati (Guliston)|Surkhondaryo Wiloyati (Termiz)|Toshkent Shahri|Toshkent Wiloyati";
  2605. s_a[241]="Malampa|Penama|Sanma|Shefa|Tafea|Torba";
  2606. s_a[242]="Amazonas|Anzoategui|Apure|Aragua|Barinas|Bolivar|Carabobo|Cojedes|Delta Amacuro|Dependencias Federales|Distrito Federal|Falcon|Guarico|Lara|Merida|Miranda|Monagas|Nueva Esparta|Portuguesa|Sucre|Tachira|Trujillo|Vargas|Yaracuy|Zulia";
  2607. s_a[243]="An Giang|Ba Ria-Vung Tau|Bac Giang|Bac Kan|Bac Lieu|Bac Ninh|Ben Tre|Binh Dinh|Binh Duong|Binh Phuoc|Binh Thuan|Ca Mau|Can Tho|Cao Bang|Da Nang|Dac Lak|Dong Nai|Dong Thap|Gia Lai|Ha Giang|Ha Nam|Ha Noi|Ha Tay|Ha Tinh|Hai Duong|Hai Phong|Ho Chi Minh|Hoa Binh|Hung Yen|Khanh Hoa|Kien Giang|Kon Tum|Lai Chau|Lam Dong|Lang Son|Lao Cai|Long An|Nam Dinh|Nghe An|Ninh Binh|Ninh Thuan|Phu Tho|Phu Yen|Quang Binh|Quang Nam|Quang Ngai|Quang Ninh|Quang Tri|Soc Trang|Son La|Tay Ninh|Thai Binh|Thai Nguyen|Thanh Hoa|Thua Thien-Hue|Tien Giang|Tra Vinh|Tuyen Quang|Vinh Long|Vinh Phuc|Yen Bai";
  2608. s_a[244]="Saint Croix|Saint John|Saint Thomas";
  2609. s_a[245]="Blaenau Gwent|Bridgend|Caerphilly|Cardiff|Carmarthenshire|Ceredigion|Conwy|Denbighshire|Flintshire|Gwynedd|Isle of Anglesey|Merthyr Tydfil|Monmouthshire|Neath Port Talbot|Newport|Pembrokeshire|Powys|Rhondda Cynon Taff|Swansea|The Vale of Glamorgan|Torfaen|Wrexham";
  2610. s_a[246]="Alo|Sigave|Wallis";
  2611. s_a[247]="West Bank";
  2612. s_a[248]="Western Sahara";
  2613. s_a[249]="'Adan|'Ataq|Abyan|Al Bayda'|Al Hudaydah|Al Jawf|Al Mahrah|Al Mahwit|Dhamar|Hadhramawt|Hajjah|Ibb|Lahij|Ma'rib|Sa'dah|San'a'|Ta'izz";
  2614. s_a[250]="Kosovo|Montenegro|Serbia|Vojvodina";
  2615. s_a[251]="Central|Copperbelt|Eastern|Luapula|Lusaka|North-Western|Northern|Southern|Western";
  2616. s_a[252]="Bulawayo|Harare|ManicalandMashonaland Central|Mashonaland East|Mashonaland West|Masvingo|Matabeleland North|Matabeleland South|Midlands";
  2617. s_a[253]="North Chungcheong|South Chungcheong|Gangwon|Gyeonggi|North Gyeongsang|South Gyeongsang|North Jeolla|South Jeolla|Jeju";
  2618.  
  2619. function loadDeliveryStates(){
  2620.     removeOptions($('#delivery-state')[0]);
  2621.     $('#delivery-state')[0].options[0] = new Option("State","", true, true);
  2622.     $('#delivery-state')[0].options[1] = new Option("None","None");
  2623.     let state_list = s_a[ country_arr.indexOf($('#delivery-country option[value="' + $('#delivery-country').val() + '"]').text()) + 1].split("|");
  2624.     if(!state_list.toString() == ""){
  2625.     for (var i=0; i<state_list.length; i++) {
  2626.         $('#delivery-state')[0].options[$('#delivery-state')[0].options.length] = new Option(state_list[i],state_list[i]);
  2627.         }
  2628.     }
  2629.    
  2630. };
  2631.  
  2632. function loadBillingStates(){  
  2633.     removeOptions($('#billing-state')[0]);
  2634.     $('#billing-state')[0].options[0] = new Option("State","", true, true);
  2635.     $('#billing-state')[0].options[1] = new Option("None","None");
  2636.     let state_list = s_a[ country_arr.indexOf($('#billing-country option[value="' + $('#billing-country').val() + '"]').text()) + 1].split("|");
  2637.     if(!state_list.toString() == ""){
  2638.     for (var i=0; i<state_list.length; i++) {
  2639.         $('#billing-state')[0].options[$('#billing-state')[0].options.length] = new Option(state_list[i],state_list[i]);
  2640.         }
  2641.     }
  2642.  
  2643. };
  2644.  
  2645. $('#delivery-country').change(function(){
  2646.    loadDeliveryStates();
  2647. });
  2648.  
  2649. $('#billing-country').change(function(){  
  2650.     loadBillingStates();
  2651. });
  2652.  
  2653.  
  2654.  
  2655. function removeOptions(selectbox)
  2656. {
  2657.     var i;
  2658.     for(i = selectbox.options.length - 1 ; i >= 0 ; i--)
  2659.     {
  2660.         selectbox.remove(i);
  2661.     }
  2662. }
  2663. $("#test-site").change(function(){
  2664.     if($("#test-site option:selected").text() == "Custom"){
  2665.         swal({
  2666.         title: 'Set custom site',
  2667.         content: {
  2668.             element: "input",
  2669.             attributes: {
  2670.             placeholder: "Input link",
  2671.             }},
  2672.         button: {
  2673.             text: "Set",
  2674.         },
  2675.         })
  2676.         .then(link => {
  2677.         if(link){
  2678.             $("#test-site option:selected").val(link);
  2679.         }
  2680.         })
  2681.     }
  2682. })
  2683. </script>
  2684.    </body>
  2685. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top