兔姬桑 4 жил өмнө
parent
commit
b38f1ee406
55 өөрчлөгдсөн 288 нэмэгдсэн , 4195 устгасан
  1. 5 5
      app/Components/DDNS.php
  2. 1 1
      app/Components/PushNotification.php
  3. 1 1
      app/Http/Controllers/Admin/NodeController.php
  4. 1 1
      app/Http/Controllers/Admin/SystemController.php
  5. 1 1
      app/Http/Controllers/Admin/UserController.php
  6. 1 1
      app/Http/Controllers/Controller.php
  7. 8 5
      app/Http/Controllers/UserController.php
  8. 1 1
      app/Http/Middleware/isSecurity.php
  9. 0 1468
      public/assets/custom/Plugin/sweetalert2/bootstrap-4.css
  10. 0 0
      public/assets/custom/Plugin/sweetalert2/bootstrap-4.min.css
  11. 0 0
      public/assets/custom/Plugin/sweetalert2/polyfill.min.js
  12. 0 536
      public/assets/custom/Plugin/sweetalert2/sweetalert2.all.js
  13. 0 0
      public/assets/custom/Plugin/sweetalert2/sweetalert2.all.min.js
  14. 0 1365
      public/assets/custom/Plugin/sweetalert2/sweetalert2.css
  15. 0 536
      public/assets/custom/Plugin/sweetalert2/sweetalert2.js
  16. 0 0
      public/assets/custom/Plugin/sweetalert2/sweetalert2.min.css
  17. 0 0
      public/assets/custom/Plugin/sweetalert2/sweetalert2.min.js
  18. 2 2
      resources/views/admin/aff/index.blade.php
  19. 3 3
      resources/views/admin/article/index.blade.php
  20. 24 24
      resources/views/admin/config/config.blade.php
  21. 6 6
      resources/views/admin/config/emailFilter.blade.php
  22. 8 8
      resources/views/admin/config/system.blade.php
  23. 4 4
      resources/views/admin/coupon/index.blade.php
  24. 5 5
      resources/views/admin/inviteList.blade.php
  25. 9 9
      resources/views/admin/node/auth.blade.php
  26. 3 3
      resources/views/admin/node/cert/index.blade.php
  27. 2 2
      resources/views/admin/node/cert/info.blade.php
  28. 12 12
      resources/views/admin/node/index.blade.php
  29. 5 5
      resources/views/admin/node/info.blade.php
  30. 3 3
      resources/views/admin/rule/group/index.blade.php
  31. 7 7
      resources/views/admin/rule/index.blade.php
  32. 3 3
      resources/views/admin/rule/log.blade.php
  33. 4 4
      resources/views/admin/shop/index.blade.php
  34. 2 2
      resources/views/admin/subscribe/index.blade.php
  35. 6 6
      resources/views/admin/ticket/index.blade.php
  36. 9 9
      resources/views/admin/ticket/reply.blade.php
  37. 2 2
      resources/views/admin/tools/convert.blade.php
  38. 2 2
      resources/views/admin/tools/decompile.blade.php
  39. 3 3
      resources/views/admin/user/group/index.blade.php
  40. 13 13
      resources/views/admin/user/index.blade.php
  41. 12 14
      resources/views/admin/user/info.blade.php
  42. 2 2
      resources/views/auth/login.blade.php
  43. 7 7
      resources/views/auth/register.blade.php
  44. 7 7
      resources/views/user/buy.blade.php
  45. 5 5
      resources/views/user/help.blade.php
  46. 1 1
      resources/views/user/index.blade.php
  47. 68 65
      resources/views/user/invite.blade.php
  48. 6 6
      resources/views/user/invoices.blade.php
  49. 2 2
      resources/views/user/layouts.blade.php
  50. 1 1
      resources/views/user/nodeList.blade.php
  51. 2 2
      resources/views/user/payment.blade.php
  52. 3 9
      resources/views/user/referral.blade.php
  53. 7 7
      resources/views/user/replyTicket.blade.php
  54. 4 4
      resources/views/user/services.blade.php
  55. 5 5
      resources/views/user/ticketList.blade.php

+ 5 - 5
app/Components/DDNS.php

@@ -22,7 +22,7 @@ class DDNS
      * @param  string|null  $type
      * @return false|int
      */
-    public static function destroy($domain, $type = null)
+    public static function destroy(string $domain, $type = null)
     {
         return self::dnsProvider($domain)->destroy($type);
     }
@@ -51,9 +51,9 @@ class DDNS
      * @param  string  $domain  域名
      * @param  string  $ip  ip地址
      * @param  string  $type  记录类型,默认为 A
-     * @return void
+     * @return array|false|mixed
      */
-    public static function update($domain, $ip, $type = 'A')
+    public static function update(string $domain, string $ip, string $type = 'A')
     {
         return self::dnsProvider($domain)->update($ip, $type);
     }
@@ -64,9 +64,9 @@ class DDNS
      * @param  string  $domain  域名
      * @param  string  $ip  ip地址
      * @param  string  $type  记录类型,默认为 A
-     * @return void
+     * @return array|false|mixed
      */
-    public static function store($domain, $ip, $type = 'A')
+    public static function store(string $domain, string $ip, string $type = 'A')
     {
         return self::dnsProvider($domain)->store($ip, $type);
     }

+ 1 - 1
app/Components/PushNotification.php

@@ -9,7 +9,7 @@ use Log;
 
 class PushNotification
 {
-    public static function send($title, $content)
+    public static function send(string $title, string $content)
     {
         switch (sysConfig('is_notification')) {
             case 'serverChan':

+ 1 - 1
app/Http/Controllers/Admin/NodeController.php

@@ -195,7 +195,7 @@ class NodeController extends Controller
 
         $view['nodeName'] = $node->name;
         $view['nodeServer'] = $node->server;
-        $view = array_merge($view, $this->DataFlowChart($node->id, 1));
+        $view = array_merge($view, $this->DataFlowChart($node->id, true));
 
         return view('admin.node.monitor', $view);
     }

+ 1 - 1
app/Http/Controllers/Admin/SystemController.php

@@ -184,7 +184,7 @@ class SystemController extends Controller
 
                     return Response::json(['status' => 'fail', 'message' => $result ? $result['errmsg'] : '未知',]);
                 case 'bark':
-                    if ($result['code'] == 200) {
+                    if ($result['code'] === 200) {
                         return Response::json(['status' => 'success', 'message' => '发送成功,请查看手机是否收到推送消息',]);
                     }
 

+ 1 - 1
app/Http/Controllers/Admin/UserController.php

@@ -110,7 +110,7 @@ class UserController extends Controller
             $user->used_flow = flowAutoShow($user->u + $user->d);
             if ($user->expired_at < date('Y-m-d')) {
                 $user->expireWarning = -1; // 已过期
-            } elseif ($user->expired_at == date('Y-m-d')) {
+            } elseif ($user->expired_at === date('Y-m-d')) {
                 $user->expireWarning = 0; // 今天过期
             } elseif ($user->expired_at > date('Y-m-d') && $user->expired_at <= date('Y-m-d', strtotime("+30 days"))) {
                 $user->expireWarning = 1; // 最近一个月过期

+ 1 - 1
app/Http/Controllers/Controller.php

@@ -217,7 +217,7 @@ class Controller extends BaseController
     }
 
     // 流量使用图表
-    public function dataFlowChart($id, $is_node = 0): array
+    public function dataFlowChart($id, $is_node = false): array
     {
         if ($is_node) {
             $currentFlow = UserDataFlowLog::whereNodeId($id);

+ 8 - 5
app/Http/Controllers/UserController.php

@@ -351,7 +351,7 @@ class UserController extends Controller
                 return Response::json(['status' => 'fail', 'message' => '回复内容不能为空']);
             }
 
-            if ($ticket->status == 2) {
+            if ($ticket->status === 2) {
                 return Response::json(['status' => 'fail', 'message' => '错误:该工单已关闭']);
             }
 
@@ -435,10 +435,13 @@ class UserController extends Controller
         $obj->status = 0;
         $obj->dateline = date('Y-m-d H:i:s', strtotime("+".sysConfig('user_invite_days')." days"));
         $obj->save();
+        if ($obj) {
+            $user->update(['invite_num' => $user->invite_num - 1]);
 
-        $user->decrement('invite_num', 1);
+            return Response::json(['status' => 'success', 'message' => '生成成功']);
+        }
 
-        return Response::json(['status' => 'success', 'message' => '生成成功']);
+        return Response::json(['status' => 'fail', 'message' => '生成邀请码失败']);
     }
 
     // 使用优惠券
@@ -456,11 +459,11 @@ class UserController extends Controller
             return Response::json(['status' => 'fail', 'title' => '优惠券不存在', 'message' => '请确认优惠券是否输入正确!']);
         }
 
-        if ($coupon->status == 1) {
+        if ($coupon->status === 1) {
             return Response::json(['status' => 'fail', 'title' => '抱歉', 'message' => '优惠券已被使用!']);
         }
 
-        if ($coupon->status == 2) {
+        if ($coupon->status === 2) {
             return Response::json(['status' => 'fail', 'title' => '抱歉', 'message' => '优惠券已失效!']);
         }
 

+ 1 - 1
app/Http/Middleware/isSecurity.php

@@ -26,7 +26,7 @@ class isSecurity
         $websiteSecurityCode = sysConfig('website_security_code');
 
         if ($websiteSecurityCode && !Cache::has($cacheKey)) {
-            if ($code != $websiteSecurityCode) {
+            if ($code !== $websiteSecurityCode) {
                 Log::info("拒绝非安全入口访问(".$ip.")");
 
                 return Response::view(

+ 0 - 1468
public/assets/custom/Plugin/sweetalert2/bootstrap-4.css

@@ -1,1468 +0,0 @@
-/*
-* @sweetalert2/themes v2.2.1
-* Released under the MIT License.
-*/
-
-@charset "UTF-8";
-.swal2-popup.swal2-toast {
-  flex-direction: row;
-  align-items: center;
-  width: auto;
-  padding: 0.75rem 0.25rem;
-  overflow-y: hidden;
-  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); }
-  .swal2-popup.swal2-toast .swal2-header {
-    flex-direction: row; }
-  .swal2-popup.swal2-toast .swal2-title {
-    flex-grow: 1;
-    justify-content: flex-start;
-    margin: 0 0.6em;
-    font-size: 0.875rem; }
-  .swal2-popup.swal2-toast .swal2-footer {
-    margin: 0.5em 0 0;
-    padding: 0.5em 0 0;
-    font-size: 0.8em; }
-  .swal2-popup.swal2-toast .swal2-close {
-    position: static;
-    width: 0.8em;
-    height: 0.8em;
-    line-height: 0.8; }
-  .swal2-popup.swal2-toast .swal2-content {
-    justify-content: flex-start;
-    font-size: 0.875rem; }
-  .swal2-popup.swal2-toast .swal2-icon {
-    width: 2em;
-    min-width: 2em;
-    height: 2em;
-    margin: 0; }
-    .swal2-popup.swal2-toast .swal2-icon::before {
-      display: flex;
-      align-items: center;
-      font-size: 2em;
-      font-weight: bold; }
-      @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-        .swal2-popup.swal2-toast .swal2-icon::before {
-          font-size: .25em; } }
-    .swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
-      width: 2em;
-      height: 2em; }
-    .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
-      top: .875em;
-      width: 1.375em; }
-      .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] {
-        left: .3125em; }
-      .swal2-popup.swal2-toast .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] {
-        right: .3125em; }
-  .swal2-popup.swal2-toast .swal2-actions {
-    flex-basis: auto !important;
-    width: auto;
-    height: auto;
-    margin: 0 .3125em; }
-  .swal2-popup.swal2-toast .swal2-styled {
-    margin: 0 .3125em;
-    padding: .3125em .625em;
-    font-size: 0.875rem; }
-    .swal2-popup.swal2-toast .swal2-styled:focus {
-      box-shadow: 0 0 0 0.0625em #fff, 0 0 0 0.125em none; }
-  .swal2-popup.swal2-toast .swal2-success {
-    border-color: #28a745; }
-    .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'] {
-      position: absolute;
-      width: 1.6em;
-      height: 3em;
-      transform: rotate(45deg);
-      border-radius: 50%; }
-      .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'][class$='left'] {
-        top: -.8em;
-        left: -.5em;
-        transform: rotate(-45deg);
-        transform-origin: 2em 2em;
-        border-radius: 4em 0 0 4em; }
-      .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-circular-line'][class$='right'] {
-        top: -.25em;
-        left: .9375em;
-        transform-origin: 0 1.5em;
-        border-radius: 0 4em 4em 0; }
-    .swal2-popup.swal2-toast .swal2-success .swal2-success-ring {
-      width: 2em;
-      height: 2em; }
-    .swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
-      top: 0;
-      left: .4375em;
-      width: .4375em;
-      height: 2.6875em; }
-    .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'] {
-      height: .3125em; }
-      .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'][class$='tip'] {
-        top: 1.125em;
-        left: .1875em;
-        width: .75em; }
-      .swal2-popup.swal2-toast .swal2-success [class^='swal2-success-line'][class$='long'] {
-        top: .9375em;
-        right: .1875em;
-        width: 1.375em; }
-  .swal2-popup.swal2-toast.swal2-show {
-    -webkit-animation: swal2-toast-show 0.5s;
-            animation: swal2-toast-show 0.5s; }
-  .swal2-popup.swal2-toast.swal2-hide {
-    -webkit-animation: swal2-toast-hide 0.1s forwards;
-            animation: swal2-toast-hide 0.1s forwards; }
-  .swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip {
-    -webkit-animation: swal2-toast-animate-success-line-tip 0.75s;
-            animation: swal2-toast-animate-success-line-tip 0.75s; }
-  .swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long {
-    -webkit-animation: swal2-toast-animate-success-line-long 0.75s;
-            animation: swal2-toast-animate-success-line-long 0.75s; }
-
-.swal2-container {
-  display: flex;
-  position: fixed;
-  z-index: 1060;
-  top: 0;
-  right: 0;
-  bottom: 0;
-  left: 0;
-  flex-direction: row;
-  align-items: center;
-  justify-content: center;
-  padding: 0.625em;
-  overflow-x: hidden;
-  background-color: transparent;
-  -webkit-overflow-scrolling: touch; }
-  .swal2-container.swal2-top {
-    align-items: flex-start; }
-  .swal2-container.swal2-top-start, .swal2-container.swal2-top-left {
-    align-items: flex-start;
-    justify-content: flex-start; }
-  .swal2-container.swal2-top-end, .swal2-container.swal2-top-right {
-    align-items: flex-start;
-    justify-content: flex-end; }
-  .swal2-container.swal2-center {
-    align-items: center; }
-  .swal2-container.swal2-center-start, .swal2-container.swal2-center-left {
-    align-items: center;
-    justify-content: flex-start; }
-  .swal2-container.swal2-center-end, .swal2-container.swal2-center-right {
-    align-items: center;
-    justify-content: flex-end; }
-  .swal2-container.swal2-bottom {
-    align-items: flex-end; }
-  .swal2-container.swal2-bottom-start, .swal2-container.swal2-bottom-left {
-    align-items: flex-end;
-    justify-content: flex-start; }
-  .swal2-container.swal2-bottom-end, .swal2-container.swal2-bottom-right {
-    align-items: flex-end;
-    justify-content: flex-end; }
-  .swal2-container.swal2-bottom > :first-child,
-  .swal2-container.swal2-bottom-start > :first-child,
-  .swal2-container.swal2-bottom-left > :first-child,
-  .swal2-container.swal2-bottom-end > :first-child,
-  .swal2-container.swal2-bottom-right > :first-child {
-    margin-top: auto; }
-  .swal2-container.swal2-grow-fullscreen > .swal2-modal {
-    display: flex !important;
-    flex: 1;
-    align-self: stretch;
-    justify-content: center; }
-  .swal2-container.swal2-grow-row > .swal2-modal {
-    display: flex !important;
-    flex: 1;
-    align-content: center;
-    justify-content: center; }
-  .swal2-container.swal2-grow-column {
-    flex: 1;
-    flex-direction: column; }
-    .swal2-container.swal2-grow-column.swal2-top, .swal2-container.swal2-grow-column.swal2-center, .swal2-container.swal2-grow-column.swal2-bottom {
-      align-items: center; }
-    .swal2-container.swal2-grow-column.swal2-top-start, .swal2-container.swal2-grow-column.swal2-center-start, .swal2-container.swal2-grow-column.swal2-bottom-start, .swal2-container.swal2-grow-column.swal2-top-left, .swal2-container.swal2-grow-column.swal2-center-left, .swal2-container.swal2-grow-column.swal2-bottom-left {
-      align-items: flex-start; }
-    .swal2-container.swal2-grow-column.swal2-top-end, .swal2-container.swal2-grow-column.swal2-center-end, .swal2-container.swal2-grow-column.swal2-bottom-end, .swal2-container.swal2-grow-column.swal2-top-right, .swal2-container.swal2-grow-column.swal2-center-right, .swal2-container.swal2-grow-column.swal2-bottom-right {
-      align-items: flex-end; }
-    .swal2-container.swal2-grow-column > .swal2-modal {
-      display: flex !important;
-      flex: 1;
-      align-content: center;
-      justify-content: center; }
-  .swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen) > .swal2-modal {
-    margin: auto; }
-  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-    .swal2-container .swal2-modal {
-      margin: 0 !important; } }
-  .swal2-container.swal2-fade {
-    transition: background-color 0.15s; }
-  .swal2-container.swal2-shown {
-    background-color: rgba(0, 0, 0, 0.5); }
-
-.swal2-popup {
-  display: none;
-  position: relative;
-  box-sizing: border-box;
-  flex-direction: column;
-  justify-content: center;
-  width: 32em;
-  max-width: 100%;
-  padding: 1rem;
-  border: rgba(0, 0, 0, 0.1) solid 1px;
-  border-radius: 0.3rem;
-  background: #fff;
-  font-family: inherit;
-  font-size: 1rem; }
-  .swal2-popup:focus {
-    outline: none; }
-  .swal2-popup.swal2-loading {
-    overflow-y: hidden; }
-
-.swal2-header {
-  display: flex;
-  flex-direction: column;
-  align-items: center; }
-
-.swal2-title {
-  position: relative;
-  max-width: 100%;
-  margin: 0 0 0.4em;
-  padding: 0;
-  color: #595959;
-  font-size: 1.875em;
-  font-weight: 600;
-  text-align: center;
-  text-transform: none;
-  word-wrap: break-word; }
-
-.swal2-actions {
-  display: flex;
-  z-index: 1;
-  flex-wrap: wrap;
-  align-items: center;
-  justify-content: center;
-  width: 100%;
-  margin: 1.25em auto 0; }
-  .swal2-actions:not(.swal2-loading) .swal2-styled[disabled] {
-    opacity: .4; }
-  .swal2-actions:not(.swal2-loading) .swal2-styled:hover {
-    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); }
-  .swal2-actions:not(.swal2-loading) .swal2-styled:active {
-    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)); }
-  .swal2-actions.swal2-loading .swal2-styled.swal2-confirm {
-    box-sizing: border-box;
-    width: 2.5em;
-    height: 2.5em;
-    margin: .46875em;
-    padding: 0;
-    -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-            animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-    border: .25em solid transparent;
-    border-radius: 100%;
-    border-color: transparent;
-    background-color: transparent !important;
-    color: transparent;
-    cursor: default;
-    -webkit-user-select: none;
-       -moz-user-select: none;
-        -ms-user-select: none;
-            user-select: none; }
-  .swal2-actions.swal2-loading .swal2-styled.swal2-cancel {
-    margin-right: 30px;
-    margin-left: 30px; }
-  .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after {
-    content: '';
-    display: inline-block;
-    width: 15px;
-    height: 15px;
-    margin-left: 5px;
-    -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-            animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-    border: 3px solid #999999;
-    border-radius: 50%;
-    border-right-color: transparent;
-    box-shadow: 1px 1px 1px #fff; }
-
-.swal2-styled {
-  margin: .3125em;
-  padding: .625em 2em;
-  box-shadow: none;
-  font-weight: 500; }
-  .swal2-styled:not([disabled]) {
-    cursor: pointer; }
-  .swal2-styled.swal2-confirm {
-    border: 0;
-    border-radius: 0.25em;
-    background: initial;
-    background-color: #007bff;
-    color: #fff;
-    font-size: 1.0625em; }
-  .swal2-styled.swal2-cancel {
-    border: 0;
-    border-radius: 0.25em;
-    background: initial;
-    background-color: #6c757d;
-    color: #fff;
-    font-size: 1.0625em; }
-  .swal2-styled:focus {
-    outline: none;
-    box-shadow: 0 0 0 2px #fff, 0 0 0 4px none; }
-  .swal2-styled::-moz-focus-inner {
-    border: 0; }
-
-.swal2-footer {
-  justify-content: center;
-  margin: 1.25em 0 0;
-  padding: 1em 0 0;
-  border-top: 1px solid #eee;
-  color: #545454;
-  font-size: 1em; }
-
-.swal2-image {
-  max-width: 100%;
-  margin: 1.25em auto; }
-
-.swal2-close {
-  position: absolute;
-  z-index: 2;
-  /* 1617 */
-  top: 0;
-  right: 0;
-  justify-content: center;
-  width: 1.2em;
-  height: 1.2em;
-  padding: 0;
-  overflow: hidden;
-  transition: color 0.1s ease-out;
-  border: none;
-  border-radius: 0;
-  outline: initial;
-  background: transparent;
-  color: rgba(0, 0, 0, 0.5);
-  font-family: serif;
-  font-size: 1.5rem;
-  line-height: 1;
-  cursor: pointer; }
-  .swal2-close:hover {
-    transform: none;
-    background: transparent;
-    color: #000; }
-
-.swal2-content {
-  z-index: 1;
-  justify-content: center;
-  margin: 0;
-  padding: 0;
-  color: #545454;
-  font-size: 1.125em;
-  font-weight: normal;
-  line-height: normal;
-  text-align: center;
-  word-wrap: break-word; }
-
-.swal2-input,
-.swal2-file,
-.swal2-textarea,
-.swal2-select,
-.swal2-radio,
-.swal2-checkbox {
-  margin: 1em auto; }
-
-.swal2-input,
-.swal2-file,
-.swal2-textarea {
-  box-sizing: border-box;
-  width: 100%;
-  transition: border-color 0.3s, box-shadow 0.3s;
-  border: 1px solid #dee2e6;
-  border-radius: 0.25rem;
-  background: inherit;
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
-  color: inherit;
-  font-size: 1rem; }
-  .swal2-input.swal2-inputerror,
-  .swal2-file.swal2-inputerror,
-  .swal2-textarea.swal2-inputerror {
-    border-color: #dc3545 !important;
-    box-shadow: 0 0 2px #dc3545 !important; }
-  .swal2-input:focus,
-  .swal2-file:focus,
-  .swal2-textarea:focus {
-    border: none;
-    outline: none;
-    box-shadow: none; }
-  .swal2-input::-webkit-input-placeholder, .swal2-file::-webkit-input-placeholder, .swal2-textarea::-webkit-input-placeholder {
-    color: #cccccc; }
-  .swal2-input::-moz-placeholder, .swal2-file::-moz-placeholder, .swal2-textarea::-moz-placeholder {
-    color: #cccccc; }
-  .swal2-input:-ms-input-placeholder, .swal2-file:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder {
-    color: #cccccc; }
-  .swal2-input::-ms-input-placeholder, .swal2-file::-ms-input-placeholder, .swal2-textarea::-ms-input-placeholder {
-    color: #cccccc; }
-  .swal2-input::placeholder,
-  .swal2-file::placeholder,
-  .swal2-textarea::placeholder {
-    color: #cccccc; }
-
-.swal2-range {
-  margin: 1em auto;
-  background: inherit; }
-  .swal2-range input {
-    width: 80%; }
-  .swal2-range output {
-    width: 20%;
-    color: inherit;
-    font-weight: 600;
-    text-align: center; }
-  .swal2-range input,
-  .swal2-range output {
-    height: 2.625em;
-    padding: 0;
-    font-size: 1rem;
-    line-height: 2.625em; }
-
-.swal2-input {
-  height: 2.625em;
-  padding: 0.375rem 0.75rem; }
-  .swal2-input[type='number'] {
-    max-width: 10em; }
-
-.swal2-file {
-  background: inherit;
-  font-size: 1rem; }
-
-.swal2-textarea {
-  height: 6.75em;
-  padding: 0.75em; }
-
-.swal2-select {
-  min-width: 50%;
-  max-width: 100%;
-  padding: .375em .625em;
-  background: inherit;
-  color: inherit;
-  font-size: 1rem; }
-
-.swal2-radio,
-.swal2-checkbox {
-  align-items: center;
-  justify-content: center;
-  background: inherit;
-  color: inherit; }
-  .swal2-radio label,
-  .swal2-checkbox label {
-    margin: 0 .6em;
-    font-size: 1rem; }
-  .swal2-radio input,
-  .swal2-checkbox input {
-    margin: 0 .4em; }
-
-.swal2-validation-message {
-  display: none;
-  align-items: center;
-  justify-content: center;
-  padding: 0.625em;
-  overflow: hidden;
-  background: #f0f0f0;
-  color: #666666;
-  font-size: 1em;
-  font-weight: 300; }
-  .swal2-validation-message::before {
-    content: '!';
-    display: inline-block;
-    width: 1.5em;
-    min-width: 1.5em;
-    height: 1.5em;
-    margin: 0 .625em;
-    zoom: normal;
-    border-radius: 50%;
-    background-color: #f27474;
-    color: #fff;
-    font-weight: 600;
-    line-height: 1.5em;
-    text-align: center; }
-
-.swal2-icon {
-  position: relative;
-  box-sizing: content-box;
-  justify-content: center;
-  width: 5em;
-  height: 5em;
-  margin: 1.25em auto 1.875em;
-  zoom: normal;
-  border: .25em solid transparent;
-  border-radius: 50%;
-  font-family: inherit;
-  line-height: 5em;
-  cursor: default;
-  -webkit-user-select: none;
-     -moz-user-select: none;
-      -ms-user-select: none;
-          user-select: none; }
-  .swal2-icon::before {
-    display: flex;
-    align-items: center;
-    height: 92%;
-    font-size: 3.75em; }
-  .swal2-icon.swal2-error {
-    border-color: #dc3545; }
-    .swal2-icon.swal2-error .swal2-x-mark {
-      position: relative;
-      flex-grow: 1; }
-    .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
-      display: block;
-      position: absolute;
-      top: 2.3125em;
-      width: 2.9375em;
-      height: .3125em;
-      border-radius: .125em;
-      background-color: #dc3545; }
-      .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='left'] {
-        left: 1.0625em;
-        transform: rotate(45deg); }
-      .swal2-icon.swal2-error [class^='swal2-x-mark-line'][class$='right'] {
-        right: 1em;
-        transform: rotate(-45deg); }
-  .swal2-icon.swal2-warning {
-    border-color: #ffca2b;
-    color: #ffc107; }
-    .swal2-icon.swal2-warning::before {
-      content: '!'; }
-  .swal2-icon.swal2-info {
-    border-color: #4cd3e9;
-    color: #17a2b8; }
-    .swal2-icon.swal2-info::before {
-      content: 'i'; }
-  .swal2-icon.swal2-question {
-    border-color: #a1a8ae;
-    color: #6c757d; }
-    .swal2-icon.swal2-question::before {
-      content: '?'; }
-    .swal2-icon.swal2-question.swal2-arabic-question-mark::before {
-      content: '؟'; }
-  .swal2-icon.swal2-success {
-    border-color: #28a745; }
-    .swal2-icon.swal2-success [class^='swal2-success-circular-line'] {
-      position: absolute;
-      width: 3.75em;
-      height: 7.5em;
-      transform: rotate(45deg);
-      border-radius: 50%; }
-      .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='left'] {
-        top: -.4375em;
-        left: -2.0635em;
-        transform: rotate(-45deg);
-        transform-origin: 3.75em 3.75em;
-        border-radius: 7.5em 0 0 7.5em; }
-      .swal2-icon.swal2-success [class^='swal2-success-circular-line'][class$='right'] {
-        top: -.6875em;
-        left: 1.875em;
-        transform: rotate(-45deg);
-        transform-origin: 0 3.75em;
-        border-radius: 0 7.5em 7.5em 0; }
-    .swal2-icon.swal2-success .swal2-success-ring {
-      position: absolute;
-      z-index: 2;
-      top: -.25em;
-      left: -.25em;
-      box-sizing: content-box;
-      width: 100%;
-      height: 100%;
-      border: 0.25em solid rgba(165, 220, 134, 0.3);
-      border-radius: 50%; }
-    .swal2-icon.swal2-success .swal2-success-fix {
-      position: absolute;
-      z-index: 1;
-      top: .5em;
-      left: 1.625em;
-      width: .4375em;
-      height: 5.625em;
-      transform: rotate(-45deg); }
-    .swal2-icon.swal2-success [class^='swal2-success-line'] {
-      display: block;
-      position: absolute;
-      z-index: 2;
-      height: .3125em;
-      border-radius: .125em;
-      background-color: #28a745; }
-      .swal2-icon.swal2-success [class^='swal2-success-line'][class$='tip'] {
-        top: 2.875em;
-        left: .875em;
-        width: 1.5625em;
-        transform: rotate(45deg); }
-      .swal2-icon.swal2-success [class^='swal2-success-line'][class$='long'] {
-        top: 2.375em;
-        right: .5em;
-        width: 2.9375em;
-        transform: rotate(-45deg); }
-
-.swal2-progress-steps {
-  align-items: center;
-  margin: 0 0 1.25em;
-  padding: 0;
-  background: inherit;
-  font-weight: 600; }
-  .swal2-progress-steps li {
-    display: inline-block;
-    position: relative; }
-  .swal2-progress-steps .swal2-progress-step {
-    z-index: 20;
-    width: 2em;
-    height: 2em;
-    border-radius: 2em;
-    background: #3085d6;
-    color: #fff;
-    line-height: 2em;
-    text-align: center; }
-    .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
-      background: #3085d6; }
-      .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
-        background: #add8e6;
-        color: #fff; }
-      .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
-        background: #add8e6; }
-  .swal2-progress-steps .swal2-progress-step-line {
-    z-index: 10;
-    width: 2.5em;
-    height: .4em;
-    margin: 0 -1px;
-    background: #3085d6; }
-
-[class^='swal2'] {
-  -webkit-tap-highlight-color: transparent; }
-
-.swal2-show {
-  -webkit-animation: swal2-show 0.3s;
-          animation: swal2-show 0.3s; }
-  .swal2-show.swal2-noanimation {
-    -webkit-animation: none;
-            animation: none; }
-
-.swal2-hide {
-  -webkit-animation: swal2-hide 0.15s forwards;
-          animation: swal2-hide 0.15s forwards; }
-  .swal2-hide.swal2-noanimation {
-    -webkit-animation: none;
-            animation: none; }
-
-.swal2-rtl .swal2-close {
-  right: auto;
-  left: 0; }
-
-.swal2-animate-success-icon .swal2-success-line-tip {
-  -webkit-animation: swal2-animate-success-line-tip 0.75s;
-          animation: swal2-animate-success-line-tip 0.75s; }
-
-.swal2-animate-success-icon .swal2-success-line-long {
-  -webkit-animation: swal2-animate-success-line-long 0.75s;
-          animation: swal2-animate-success-line-long 0.75s; }
-
-.swal2-animate-success-icon .swal2-success-circular-line-right {
-  -webkit-animation: swal2-rotate-success-circular-line 4.25s ease-in;
-          animation: swal2-rotate-success-circular-line 4.25s ease-in; }
-
-.swal2-animate-error-icon {
-  -webkit-animation: swal2-animate-error-icon 0.5s;
-          animation: swal2-animate-error-icon 0.5s; }
-  .swal2-animate-error-icon .swal2-x-mark {
-    -webkit-animation: swal2-animate-error-x-mark 0.5s;
-            animation: swal2-animate-error-x-mark 0.5s; }
-
-@supports (-ms-accelerator: true) {
-  .swal2-range input {
-    width: 100% !important; }
-  .swal2-range output {
-    display: none; } }
-
-@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-  .swal2-range input {
-    width: 100% !important; }
-  .swal2-range output {
-    display: none; } }
-
-@-moz-document url-prefix() {
-  .swal2-close:focus {
-    outline: 2px solid none; } }
-
-@-webkit-keyframes swal2-toast-show {
-  0% {
-    transform: translateY(-0.625em) rotateZ(2deg); }
-  33% {
-    transform: translateY(0) rotateZ(-2deg); }
-  66% {
-    transform: translateY(0.3125em) rotateZ(2deg); }
-  100% {
-    transform: translateY(0) rotateZ(0deg); } }
-
-@keyframes swal2-toast-show {
-  0% {
-    transform: translateY(-0.625em) rotateZ(2deg); }
-  33% {
-    transform: translateY(0) rotateZ(-2deg); }
-  66% {
-    transform: translateY(0.3125em) rotateZ(2deg); }
-  100% {
-    transform: translateY(0) rotateZ(0deg); } }
-
-@-webkit-keyframes swal2-toast-hide {
-  100% {
-    transform: rotateZ(1deg);
-    opacity: 0; } }
-
-@keyframes swal2-toast-hide {
-  100% {
-    transform: rotateZ(1deg);
-    opacity: 0; } }
-
-@-webkit-keyframes swal2-toast-animate-success-line-tip {
-  0% {
-    top: .5625em;
-    left: .0625em;
-    width: 0; }
-  54% {
-    top: .125em;
-    left: .125em;
-    width: 0; }
-  70% {
-    top: .625em;
-    left: -.25em;
-    width: 1.625em; }
-  84% {
-    top: 1.0625em;
-    left: .75em;
-    width: .5em; }
-  100% {
-    top: 1.125em;
-    left: .1875em;
-    width: .75em; } }
-
-@keyframes swal2-toast-animate-success-line-tip {
-  0% {
-    top: .5625em;
-    left: .0625em;
-    width: 0; }
-  54% {
-    top: .125em;
-    left: .125em;
-    width: 0; }
-  70% {
-    top: .625em;
-    left: -.25em;
-    width: 1.625em; }
-  84% {
-    top: 1.0625em;
-    left: .75em;
-    width: .5em; }
-  100% {
-    top: 1.125em;
-    left: .1875em;
-    width: .75em; } }
-
-@-webkit-keyframes swal2-toast-animate-success-line-long {
-  0% {
-    top: 1.625em;
-    right: 1.375em;
-    width: 0; }
-  65% {
-    top: 1.25em;
-    right: .9375em;
-    width: 0; }
-  84% {
-    top: .9375em;
-    right: 0;
-    width: 1.125em; }
-  100% {
-    top: .9375em;
-    right: .1875em;
-    width: 1.375em; } }
-
-@keyframes swal2-toast-animate-success-line-long {
-  0% {
-    top: 1.625em;
-    right: 1.375em;
-    width: 0; }
-  65% {
-    top: 1.25em;
-    right: .9375em;
-    width: 0; }
-  84% {
-    top: .9375em;
-    right: 0;
-    width: 1.125em; }
-  100% {
-    top: .9375em;
-    right: .1875em;
-    width: 1.375em; } }
-
-@-webkit-keyframes swal2-show {
-  0% {
-    transform: scale(0.7); }
-  45% {
-    transform: scale(1.05); }
-  80% {
-    transform: scale(0.95); }
-  100% {
-    transform: scale(1); } }
-
-@keyframes swal2-show {
-  0% {
-    transform: scale(0.7); }
-  45% {
-    transform: scale(1.05); }
-  80% {
-    transform: scale(0.95); }
-  100% {
-    transform: scale(1); } }
-
-@-webkit-keyframes swal2-hide {
-  0% {
-    transform: scale(1);
-    opacity: 1; }
-  100% {
-    transform: scale(0.5);
-    opacity: 0; } }
-
-@keyframes swal2-hide {
-  0% {
-    transform: scale(1);
-    opacity: 1; }
-  100% {
-    transform: scale(0.5);
-    opacity: 0; } }
-
-@-webkit-keyframes swal2-animate-success-line-tip {
-  0% {
-    top: 1.1875em;
-    left: .0625em;
-    width: 0; }
-  54% {
-    top: 1.0625em;
-    left: .125em;
-    width: 0; }
-  70% {
-    top: 2.1875em;
-    left: -.375em;
-    width: 3.125em; }
-  84% {
-    top: 3em;
-    left: 1.3125em;
-    width: 1.0625em; }
-  100% {
-    top: 2.8125em;
-    left: .875em;
-    width: 1.5625em; } }
-
-@keyframes swal2-animate-success-line-tip {
-  0% {
-    top: 1.1875em;
-    left: .0625em;
-    width: 0; }
-  54% {
-    top: 1.0625em;
-    left: .125em;
-    width: 0; }
-  70% {
-    top: 2.1875em;
-    left: -.375em;
-    width: 3.125em; }
-  84% {
-    top: 3em;
-    left: 1.3125em;
-    width: 1.0625em; }
-  100% {
-    top: 2.8125em;
-    left: .875em;
-    width: 1.5625em; } }
-
-@-webkit-keyframes swal2-animate-success-line-long {
-  0% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0; }
-  65% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0; }
-  84% {
-    top: 2.1875em;
-    right: 0;
-    width: 3.4375em; }
-  100% {
-    top: 2.375em;
-    right: .5em;
-    width: 2.9375em; } }
-
-@keyframes swal2-animate-success-line-long {
-  0% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0; }
-  65% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0; }
-  84% {
-    top: 2.1875em;
-    right: 0;
-    width: 3.4375em; }
-  100% {
-    top: 2.375em;
-    right: .5em;
-    width: 2.9375em; } }
-
-@-webkit-keyframes swal2-rotate-success-circular-line {
-  0% {
-    transform: rotate(-45deg); }
-  5% {
-    transform: rotate(-45deg); }
-  12% {
-    transform: rotate(-405deg); }
-  100% {
-    transform: rotate(-405deg); } }
-
-@keyframes swal2-rotate-success-circular-line {
-  0% {
-    transform: rotate(-45deg); }
-  5% {
-    transform: rotate(-45deg); }
-  12% {
-    transform: rotate(-405deg); }
-  100% {
-    transform: rotate(-405deg); } }
-
-@-webkit-keyframes swal2-animate-error-x-mark {
-  0% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0; }
-  50% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0; }
-  80% {
-    margin-top: -.375em;
-    transform: scale(1.15); }
-  100% {
-    margin-top: 0;
-    transform: scale(1);
-    opacity: 1; } }
-
-@keyframes swal2-animate-error-x-mark {
-  0% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0; }
-  50% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0; }
-  80% {
-    margin-top: -.375em;
-    transform: scale(1.15); }
-  100% {
-    margin-top: 0;
-    transform: scale(1);
-    opacity: 1; } }
-
-@-webkit-keyframes swal2-animate-error-icon {
-  0% {
-    transform: rotateX(100deg);
-    opacity: 0; }
-  100% {
-    transform: rotateX(0deg);
-    opacity: 1; } }
-
-@keyframes swal2-animate-error-icon {
-  0% {
-    transform: rotateX(100deg);
-    opacity: 0; }
-  100% {
-    transform: rotateX(0deg);
-    opacity: 1; } }
-
-@-webkit-keyframes swal2-rotate-loading {
-  0% {
-    transform: rotate(0deg); }
-  100% {
-    transform: rotate(360deg); } }
-
-@keyframes swal2-rotate-loading {
-  0% {
-    transform: rotate(0deg); }
-  100% {
-    transform: rotate(360deg); } }
-
-body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
-  overflow: hidden; }
-
-body.swal2-height-auto {
-  height: auto !important; }
-
-body.swal2-no-backdrop .swal2-shown {
-  top: auto;
-  right: auto;
-  bottom: auto;
-  left: auto;
-  max-width: calc(100% - 0.625em * 2);
-  background-color: transparent; }
-  body.swal2-no-backdrop .swal2-shown > .swal2-modal {
-    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); }
-  body.swal2-no-backdrop .swal2-shown.swal2-top {
-    top: 0;
-    left: 50%;
-    transform: translateX(-50%); }
-  body.swal2-no-backdrop .swal2-shown.swal2-top-start, body.swal2-no-backdrop .swal2-shown.swal2-top-left {
-    top: 0;
-    left: 0; }
-  body.swal2-no-backdrop .swal2-shown.swal2-top-end, body.swal2-no-backdrop .swal2-shown.swal2-top-right {
-    top: 0;
-    right: 0; }
-  body.swal2-no-backdrop .swal2-shown.swal2-center {
-    top: 50%;
-    left: 50%;
-    transform: translate(-50%, -50%); }
-  body.swal2-no-backdrop .swal2-shown.swal2-center-start, body.swal2-no-backdrop .swal2-shown.swal2-center-left {
-    top: 50%;
-    left: 0;
-    transform: translateY(-50%); }
-  body.swal2-no-backdrop .swal2-shown.swal2-center-end, body.swal2-no-backdrop .swal2-shown.swal2-center-right {
-    top: 50%;
-    right: 0;
-    transform: translateY(-50%); }
-  body.swal2-no-backdrop .swal2-shown.swal2-bottom {
-    bottom: 0;
-    left: 50%;
-    transform: translateX(-50%); }
-  body.swal2-no-backdrop .swal2-shown.swal2-bottom-start, body.swal2-no-backdrop .swal2-shown.swal2-bottom-left {
-    bottom: 0;
-    left: 0; }
-  body.swal2-no-backdrop .swal2-shown.swal2-bottom-end, body.swal2-no-backdrop .swal2-shown.swal2-bottom-right {
-    right: 0;
-    bottom: 0; }
-
-@media print {
-  body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
-    overflow-y: scroll !important; }
-    body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) > [aria-hidden='true'] {
-      display: none; }
-    body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container {
-      position: static !important; } }
-
-body.swal2-toast-shown .swal2-container {
-  background-color: transparent; }
-  body.swal2-toast-shown .swal2-container.swal2-shown {
-    background-color: transparent; }
-  body.swal2-toast-shown .swal2-container.swal2-top {
-    top: 0;
-    right: auto;
-    bottom: auto;
-    left: 50%;
-    transform: translateX(-50%); }
-  body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right {
-    top: 0;
-    right: 0;
-    bottom: auto;
-    left: auto; }
-  body.swal2-toast-shown .swal2-container.swal2-top-start, body.swal2-toast-shown .swal2-container.swal2-top-left {
-    top: 0;
-    right: auto;
-    bottom: auto;
-    left: 0; }
-  body.swal2-toast-shown .swal2-container.swal2-center-start, body.swal2-toast-shown .swal2-container.swal2-center-left {
-    top: 50%;
-    right: auto;
-    bottom: auto;
-    left: 0;
-    transform: translateY(-50%); }
-  body.swal2-toast-shown .swal2-container.swal2-center {
-    top: 50%;
-    right: auto;
-    bottom: auto;
-    left: 50%;
-    transform: translate(-50%, -50%); }
-  body.swal2-toast-shown .swal2-container.swal2-center-end, body.swal2-toast-shown .swal2-container.swal2-center-right {
-    top: 50%;
-    right: 0;
-    bottom: auto;
-    left: auto;
-    transform: translateY(-50%); }
-  body.swal2-toast-shown .swal2-container.swal2-bottom-start, body.swal2-toast-shown .swal2-container.swal2-bottom-left {
-    top: auto;
-    right: auto;
-    bottom: 0;
-    left: 0; }
-  body.swal2-toast-shown .swal2-container.swal2-bottom {
-    top: auto;
-    right: auto;
-    bottom: 0;
-    left: 50%;
-    transform: translateX(-50%); }
-  body.swal2-toast-shown .swal2-container.swal2-bottom-end, body.swal2-toast-shown .swal2-container.swal2-bottom-right {
-    top: auto;
-    right: 0;
-    bottom: 0;
-    left: auto; }
-
-body.swal2-toast-column .swal2-toast {
-  flex-direction: column;
-  align-items: stretch; }
-  body.swal2-toast-column .swal2-toast .swal2-actions {
-    flex: 1;
-    align-self: stretch;
-    height: 2.2em;
-    margin-top: .3125em; }
-  body.swal2-toast-column .swal2-toast .swal2-loading {
-    justify-content: center; }
-  body.swal2-toast-column .swal2-toast .swal2-input {
-    height: 2em;
-    margin: .3125em auto;
-    font-size: 0.875rem; }
-  body.swal2-toast-column .swal2-toast .swal2-validation-message {
-    font-size: 0.875rem; }
-
-.swal2-confirm,
-.swal2-cancel {
-  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
-
-.swal2-popup {
-  padding: 0;
-  border: 1px solid rgba(0, 0, 0, 0.2); }
-  .swal2-popup.swal2-toast {
-    padding: .25rem .75rem;
-    font-size: .875rem; }
-    .swal2-popup.swal2-toast .swal2-header {
-      padding: 0;
-      border-bottom: 0; }
-    .swal2-popup.swal2-toast .swal2-title {
-      margin: 0;
-      color: #6c757d; }
-    .swal2-popup.swal2-toast .swal2-content {
-      padding: 0 .5rem; }
-    .swal2-popup.swal2-toast .swal2-actions {
-      flex-basis: 0 !important;
-      margin: 0;
-      padding: 0; }
-    .swal2-popup.swal2-toast .swal2-styled {
-      margin: 0; }
-
-.swal2-header {
-  padding: 1rem;
-  border-bottom: 1px solid #dee2e6; }
-
-.swal2-title {
-  margin: 0;
-  font-size: 1.25rem; }
-
-.swal2-content {
-  padding: 1rem 1rem 0; }
-
-.swal2-actions {
-  padding: 0 0 1rem;
-  border-radius: 0.25rem; }
-
-.swal2-footer {
-  padding: 1rem;
-  border-top: 1px solid #dee2e6; }
-
-.swal2-close {
-  height: auto;
-  padding: 1rem 1.2rem 1rem 1rem;
-  font-weight: 700; }
-
-.swal2-input,
-.swal2-textarea {
-  height: inherit;
-  padding: 0.375rem 0.75rem;
-  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-  line-height: 1.5; }
-  .swal2-input:focus,
-  .swal2-textarea:focus {
-    border: 1px solid #80bdff;
-    outline: 0;
-    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
-    color: #495057; }
-  .swal2-input.swal2-inputerror,
-  .swal2-textarea.swal2-inputerror {
-    box-shadow: none !important; }
-    .swal2-input.swal2-inputerror:focus,
-    .swal2-textarea.swal2-inputerror:focus {
-      border-color: #dc3545;
-      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important; }
-
-.swal2-styled.swal2-confirm {
-  padding: 0.375rem 0.75rem;
-  border: 1px solid #007bff;
-  font-size: 1rem; }
-  .swal2-styled.swal2-confirm:hover {
-    border-color: #0062cc;
-    background-color: #0069d9; }
-  .swal2-styled.swal2-confirm:focus {
-    outline: 0;
-    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-  .swal2-styled.swal2-confirm:active {
-    border-color: #005cbf;
-    background-color: #0062cc; }
-    .swal2-styled.swal2-confirm:active:focus {
-      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-
-.swal2-styled.swal2-cancel {
-  padding: 0.375rem 0.75rem;
-  border: 1px solid #6c757d;
-  font-size: 1rem; }
-  .swal2-styled.swal2-cancel:hover {
-    border-color: #545b62;
-    background-color: #5a6268; }
-  .swal2-styled.swal2-cancel:focus {
-    outline: 0;
-    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25); }
-  .swal2-styled.swal2-cancel:active {
-    border-color: #4e555b;
-    background-color: #545b62; }
-    .swal2-styled.swal2-cancel:active:focus {
-      box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25); }
-
-.swal2-select {
-  display: inline-block;
-  width: 100%;
-  height: calc(1.5em + 0.75rem + 2px);
-  padding: .375rem 1.75rem .375rem .75rem;
-  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-  border: 1px solid #dee2e6;
-  border-radius: 0.25rem;
-  background: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3e%3cpath fill="%23343a40" d="M2 0L0 2h4zm0 5L0 3h4z"/%3e%3c/svg%3e') no-repeat right 0.75rem center/8px 10px;
-  background-color: #fff;
-  color: #495057;
-  vertical-align: middle;
-  -webkit-appearance: none;
-     -moz-appearance: none;
-          appearance: none; }
-  .swal2-select:focus {
-    border: 1px solid #80bdff;
-    outline: 0;
-    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-    .swal2-select:focus::-ms-value {
-      background-color: #fff;
-      color: #495057; }
-  .swal2-select[multiple], .swal2-select[size]:not([size='1']) {
-    height: auto;
-    padding-right: 0.75rem;
-    background-image: none; }
-  .swal2-select:disabled {
-    background-color: #e9ecef;
-    color: #fff; }
-  .swal2-select::-ms-expand {
-    display: none; }
-
-.swal2-radio label {
-  position: relative;
-  margin-right: 1rem;
-  margin-left: 1.5rem; }
-  .swal2-radio label input {
-    position: absolute;
-    z-index: -1;
-    opacity: 0; }
-    .swal2-radio label input:checked ~ .swal2-label::before {
-      border-color: #007bff;
-      background: #007bff;
-      color: #fff; }
-    .swal2-radio label input:focus ~ .swal2-label::before {
-      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-    .swal2-radio label input:focus:not(:checked) ~ .swal2-label::before {
-      border-color: #80bdff; }
-    .swal2-radio label input:not(:disabled):active ~ .swal2-label::before {
-      border-color: #b3d7ff;
-      background-color: #b3d7ff;
-      color: #fff; }
-  .swal2-radio label input:checked ~ .swal2-label::after {
-    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 8 8"%3e%3ccircle r="3" fill="%23fff"/%3e%3c/svg%3e'); }
-  .swal2-radio label input:disabled:checked ~ .swal2-label::before {
-    background-color: rgba(0, 123, 255, 0.5); }
-
-.swal2-radio .swal2-label::before {
-  content: '';
-  display: block;
-  position: absolute;
-  top: 0.08333rem;
-  left: -1.5rem;
-  width: 1rem;
-  height: 1rem;
-  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-  border: #adb5bd solid 1px;
-  border-radius: 50%;
-  background-color: #fff;
-  pointer-events: none; }
-
-.swal2-radio .swal2-label::after {
-  content: '';
-  display: block;
-  position: absolute;
-  top: 0.08333rem;
-  left: -1.5rem;
-  width: 1rem;
-  height: 1rem;
-  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-  border: transparent solid 1px;
-  background: no-repeat 50% / 50% 50%; }
-
-.swal2-checkbox {
-  margin-right: 1rem;
-  padding-left: 1.5rem; }
-  .swal2-checkbox input {
-    z-index: -1;
-    opacity: 0; }
-    .swal2-checkbox input:checked ~ .swal2-label::before {
-      border-color: #007bff;
-      background: #007bff;
-      color: #fff; }
-    .swal2-checkbox input:focus ~ .swal2-label::before {
-      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-    .swal2-checkbox input:focus:not(:checked) ~ .swal2-label::before {
-      border-color: #80bdff; }
-    .swal2-checkbox input:not(:disabled):active ~ .swal2-label::before {
-      border-color: #b3d7ff;
-      background-color: #b3d7ff;
-      color: #fff; }
-  .swal2-checkbox input:checked ~ .swal2-label::after {
-    background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"%3e%3cpath fill="%23fff" d="M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z"/%3e%3c/svg%3e'); }
-  .swal2-checkbox input:disabled:checked ~ .swal2-label::before {
-    background-color: rgba(0, 123, 255, 0.5); }
-  .swal2-checkbox .swal2-label {
-    position: relative; }
-    .swal2-checkbox .swal2-label::before {
-      content: '';
-      display: block;
-      position: absolute;
-      top: 0.25rem;
-      left: -1.5rem;
-      width: 1rem;
-      height: 1rem;
-      transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-      border: #adb5bd solid 1px;
-      background-color: #fff;
-      pointer-events: none; }
-    .swal2-checkbox .swal2-label::after {
-      content: '';
-      display: block;
-      position: absolute;
-      top: 0.25rem;
-      left: -1.5rem;
-      width: 1rem;
-      height: 1rem;
-      transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-      border: transparent solid 1px;
-      background: no-repeat 50% / 50% 50%; }
-
-.swal2-range input {
-  width: 100%;
-  height: calc(1rem + 0.6rem);
-  padding: 0;
-  background-color: transparent;
-  -webkit-appearance: none;
-     -moz-appearance: none;
-          appearance: none; }
-  .swal2-range input:focus {
-    outline: none; }
-    .swal2-range input:focus::-webkit-slider-thumb {
-      box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-    .swal2-range input:focus::-moz-range-thumb {
-      box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-    .swal2-range input:focus::-ms-thumb {
-      box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
-  .swal2-range input::-moz-focus-outer {
-    border: 0; }
-  .swal2-range input::-webkit-slider-thumb {
-    width: 1rem;
-    height: 1rem;
-    margin-top: -0.25rem;
-    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-    border: 0;
-    border-radius: 1rem;
-    background: #007bff;
-    box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
-    -webkit-appearance: none;
-            appearance: none; }
-    .swal2-range input::-webkit-slider-thumb:active {
-      background: #b3d7ff; }
-  .swal2-range input::-webkit-slider-runnable-track {
-    width: 100%;
-    height: 0.5rem;
-    border-radius: 1rem;
-    border-color: transparent;
-    background-color: #dee2e6;
-    box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
-    color: transparent;
-    cursor: pointer; }
-  .swal2-range input::-moz-range-thumb {
-    width: 1rem;
-    height: 1rem;
-    margin-top: 1rem;
-    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-    border: 0;
-    border-radius: 1rem;
-    background: #007bff;
-    box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
-    -moz-appearance: none;
-         appearance: none; }
-    .swal2-range input::-moz-range-thumb:active {
-      background: #b3d7ff; }
-  .swal2-range input::-moz-range-track {
-    width: 100%;
-    height: 0.5rem;
-    border-radius: 1rem;
-    border-color: transparent;
-    background-color: #dee2e6;
-    box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
-    color: transparent;
-    cursor: pointer; }
-  .swal2-range input::-ms-thumb {
-    width: 1rem;
-    height: 1rem;
-    margin-top: 0;
-    margin-right: 0.2rem;
-    margin-left: 0.2rem;
-    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
-    border: 0;
-    border-radius: 1rem;
-    background: #007bff;
-    box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
-    appearance: none; }
-    .swal2-range input::-ms-thumb:active {
-      background: #b3d7ff; }
-  .swal2-range input::-ms-track {
-    width: 100%;
-    height: 0.5rem;
-    border-width: 0.5rem;
-    border-color: transparent;
-    background-color: transparent;
-    box-shadow: inset 0 0.25rem 0.25rem rgba(0, 0, 0, 0.1);
-    color: transparent;
-    cursor: pointer; }
-  .swal2-range input::-ms-fill-lower {
-    border-radius: 1rem;
-    background-color: #dee2e6; }
-  .swal2-range input::-ms-fill-upper {
-    margin-right: 15px;
-    border-radius: 1rem;
-    background-color: #dee2e6; }
-  .swal2-range input:disabled::-webkit-slider-thumb {
-    background-color: #adb5bd; }
-  .swal2-range input:disabled::-webkit-slider-runnable-track {
-    cursor: default; }
-  .swal2-range input:disabled::-moz-range-thumb {
-    background-color: #adb5bd; }
-  .swal2-range input:disabled::-moz-range-track {
-    cursor: default; }
-  .swal2-range input:disabled::-ms-thumb {
-    background-color: #adb5bd; }
-
-.swal2-validation-message {
-  position: relative;
-  margin-bottom: 1rem;
-  padding: 0.75rem 1.25rem;
-  border: 1px solid transparent;
-  border-radius: 0.25rem;
-  border-color: #d6d8db;
-  background: #e2e3e5;
-  color: #383d41;
-  font-size: 1rem; }
-  .swal2-validation-message::before {
-    background-color: #e4606d; }
-
-.swal2-toast {
-  max-width: 350px;
-  border-radius: 0.25rem;
-  background-color: rgba(255, 255, 255, 0.85); }

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/assets/custom/Plugin/sweetalert2/bootstrap-4.min.css


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/assets/custom/Plugin/sweetalert2/polyfill.min.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 536
public/assets/custom/Plugin/sweetalert2/sweetalert2.all.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/assets/custom/Plugin/sweetalert2/sweetalert2.all.min.js


+ 0 - 1365
public/assets/custom/Plugin/sweetalert2/sweetalert2.css

@@ -1,1365 +0,0 @@
-@charset "UTF-8";
-.swal2-popup.swal2-toast {
-  flex-direction: row;
-  align-items: center;
-  width: auto;
-  padding: 0.625em;
-  overflow-y: hidden;
-  box-shadow: 0 0 0.625em #d9d9d9;
-}
-.swal2-popup.swal2-toast .swal2-header {
-  flex-direction: row;
-}
-.swal2-popup.swal2-toast .swal2-title {
-  flex-grow: 1;
-  justify-content: flex-start;
-  margin: 0 0.6em;
-  font-size: 1em;
-}
-.swal2-popup.swal2-toast .swal2-footer {
-  margin: 0.5em 0 0;
-  padding: 0.5em 0 0;
-  font-size: 0.8em;
-}
-.swal2-popup.swal2-toast .swal2-close {
-  position: static;
-  width: 0.8em;
-  height: 0.8em;
-  line-height: 0.8;
-}
-.swal2-popup.swal2-toast .swal2-content {
-  justify-content: flex-start;
-  font-size: 1em;
-}
-.swal2-popup.swal2-toast .swal2-icon {
-  width: 2em;
-  min-width: 2em;
-  height: 2em;
-  margin: 0;
-}
-.swal2-popup.swal2-toast .swal2-icon::before {
-  display: flex;
-  align-items: center;
-  font-size: 2em;
-  font-weight: bold;
-}
-@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-  .swal2-popup.swal2-toast .swal2-icon::before {
-    font-size: 0.25em;
-  }
-}
-.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
-  width: 2em;
-  height: 2em;
-}
-.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
-  top: 0.875em;
-  width: 1.375em;
-}
-.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
-  left: 0.3125em;
-}
-.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
-  right: 0.3125em;
-}
-.swal2-popup.swal2-toast .swal2-actions {
-  flex-basis: auto !important;
-  width: auto;
-  height: auto;
-  margin: 0 0.3125em;
-}
-.swal2-popup.swal2-toast .swal2-styled {
-  margin: 0 0.3125em;
-  padding: 0.3125em 0.625em;
-  font-size: 1em;
-}
-.swal2-popup.swal2-toast .swal2-styled:focus {
-  box-shadow: 0 0 0 0.0625em #fff, 0 0 0 0.125em rgba(50, 100, 150, 0.4);
-}
-.swal2-popup.swal2-toast .swal2-success {
-  border-color: #a5dc86;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line] {
-  position: absolute;
-  width: 1.6em;
-  height: 3em;
-  transform: rotate(45deg);
-  border-radius: 50%;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
-  top: -0.8em;
-  left: -0.5em;
-  transform: rotate(-45deg);
-  transform-origin: 2em 2em;
-  border-radius: 4em 0 0 4em;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
-  top: -0.25em;
-  left: 0.9375em;
-  transform-origin: 0 1.5em;
-  border-radius: 0 4em 4em 0;
-}
-.swal2-popup.swal2-toast .swal2-success .swal2-success-ring {
-  width: 2em;
-  height: 2em;
-}
-.swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
-  top: 0;
-  left: 0.4375em;
-  width: 0.4375em;
-  height: 2.6875em;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line] {
-  height: 0.3125em;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip] {
-  top: 1.125em;
-  left: 0.1875em;
-  width: 0.75em;
-}
-.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long] {
-  top: 0.9375em;
-  right: 0.1875em;
-  width: 1.375em;
-}
-.swal2-popup.swal2-toast.swal2-show {
-  -webkit-animation: swal2-toast-show 0.5s;
-          animation: swal2-toast-show 0.5s;
-}
-.swal2-popup.swal2-toast.swal2-hide {
-  -webkit-animation: swal2-toast-hide 0.1s forwards;
-          animation: swal2-toast-hide 0.1s forwards;
-}
-.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip {
-  -webkit-animation: swal2-toast-animate-success-line-tip 0.75s;
-          animation: swal2-toast-animate-success-line-tip 0.75s;
-}
-.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long {
-  -webkit-animation: swal2-toast-animate-success-line-long 0.75s;
-          animation: swal2-toast-animate-success-line-long 0.75s;
-}
-
-.swal2-container {
-  display: flex;
-  position: fixed;
-  z-index: 1060;
-  top: 0;
-  right: 0;
-  bottom: 0;
-  left: 0;
-  flex-direction: row;
-  align-items: center;
-  justify-content: center;
-  padding: 0.625em;
-  overflow-x: hidden;
-  background-color: transparent;
-  -webkit-overflow-scrolling: touch;
-}
-.swal2-container.swal2-top {
-  align-items: flex-start;
-}
-.swal2-container.swal2-top-start, .swal2-container.swal2-top-left {
-  align-items: flex-start;
-  justify-content: flex-start;
-}
-.swal2-container.swal2-top-end, .swal2-container.swal2-top-right {
-  align-items: flex-start;
-  justify-content: flex-end;
-}
-.swal2-container.swal2-center {
-  align-items: center;
-}
-.swal2-container.swal2-center-start, .swal2-container.swal2-center-left {
-  align-items: center;
-  justify-content: flex-start;
-}
-.swal2-container.swal2-center-end, .swal2-container.swal2-center-right {
-  align-items: center;
-  justify-content: flex-end;
-}
-.swal2-container.swal2-bottom {
-  align-items: flex-end;
-}
-.swal2-container.swal2-bottom-start, .swal2-container.swal2-bottom-left {
-  align-items: flex-end;
-  justify-content: flex-start;
-}
-.swal2-container.swal2-bottom-end, .swal2-container.swal2-bottom-right {
-  align-items: flex-end;
-  justify-content: flex-end;
-}
-.swal2-container.swal2-bottom > :first-child, .swal2-container.swal2-bottom-start > :first-child, .swal2-container.swal2-bottom-left > :first-child, .swal2-container.swal2-bottom-end > :first-child, .swal2-container.swal2-bottom-right > :first-child {
-  margin-top: auto;
-}
-.swal2-container.swal2-grow-fullscreen > .swal2-modal {
-  display: flex !important;
-  flex: 1;
-  align-self: stretch;
-  justify-content: center;
-}
-.swal2-container.swal2-grow-row > .swal2-modal {
-  display: flex !important;
-  flex: 1;
-  align-content: center;
-  justify-content: center;
-}
-.swal2-container.swal2-grow-column {
-  flex: 1;
-  flex-direction: column;
-}
-.swal2-container.swal2-grow-column.swal2-top, .swal2-container.swal2-grow-column.swal2-center, .swal2-container.swal2-grow-column.swal2-bottom {
-  align-items: center;
-}
-.swal2-container.swal2-grow-column.swal2-top-start, .swal2-container.swal2-grow-column.swal2-center-start, .swal2-container.swal2-grow-column.swal2-bottom-start, .swal2-container.swal2-grow-column.swal2-top-left, .swal2-container.swal2-grow-column.swal2-center-left, .swal2-container.swal2-grow-column.swal2-bottom-left {
-  align-items: flex-start;
-}
-.swal2-container.swal2-grow-column.swal2-top-end, .swal2-container.swal2-grow-column.swal2-center-end, .swal2-container.swal2-grow-column.swal2-bottom-end, .swal2-container.swal2-grow-column.swal2-top-right, .swal2-container.swal2-grow-column.swal2-center-right, .swal2-container.swal2-grow-column.swal2-bottom-right {
-  align-items: flex-end;
-}
-.swal2-container.swal2-grow-column > .swal2-modal {
-  display: flex !important;
-  flex: 1;
-  align-content: center;
-  justify-content: center;
-}
-.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen) > .swal2-modal {
-  margin: auto;
-}
-@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-  .swal2-container .swal2-modal {
-    margin: 0 !important;
-  }
-}
-.swal2-container.swal2-fade {
-  transition: background-color 0.1s;
-}
-.swal2-container.swal2-shown {
-  background-color: rgba(0, 0, 0, 0.4);
-}
-
-.swal2-popup {
-  display: none;
-  position: relative;
-  box-sizing: border-box;
-  flex-direction: column;
-  justify-content: center;
-  width: 32em;
-  max-width: 100%;
-  padding: 1.25em;
-  border: none;
-  border-radius: 0.3125em;
-  background: #fff;
-  font-family: inherit;
-  font-size: 1rem;
-}
-.swal2-popup:focus {
-  outline: none;
-}
-.swal2-popup.swal2-loading {
-  overflow-y: hidden;
-}
-
-.swal2-header {
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-}
-
-.swal2-title {
-  position: relative;
-  max-width: 100%;
-  margin: 0 0 0.4em;
-  padding: 0;
-  color: #595959;
-  font-size: 1.875em;
-  font-weight: 600;
-  text-align: center;
-  text-transform: none;
-  word-wrap: break-word;
-}
-
-.swal2-actions {
-  display: flex;
-  z-index: 1;
-  flex-wrap: wrap;
-  align-items: center;
-  justify-content: center;
-  width: 100%;
-  margin: 1.25em auto 0;
-}
-.swal2-actions:not(.swal2-loading) .swal2-styled[disabled] {
-  opacity: 0.4;
-}
-.swal2-actions:not(.swal2-loading) .swal2-styled:hover {
-  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
-}
-.swal2-actions:not(.swal2-loading) .swal2-styled:active {
-  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
-}
-.swal2-actions.swal2-loading .swal2-styled.swal2-confirm {
-  box-sizing: border-box;
-  width: 2.5em;
-  height: 2.5em;
-  margin: 0.46875em;
-  padding: 0;
-  -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-          animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-  border: 0.25em solid transparent;
-  border-radius: 100%;
-  border-color: transparent;
-  background-color: transparent !important;
-  color: transparent;
-  cursor: default;
-  -webkit-user-select: none;
-     -moz-user-select: none;
-      -ms-user-select: none;
-          user-select: none;
-}
-.swal2-actions.swal2-loading .swal2-styled.swal2-cancel {
-  margin-right: 30px;
-  margin-left: 30px;
-}
-.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after {
-  content: "";
-  display: inline-block;
-  width: 15px;
-  height: 15px;
-  margin-left: 5px;
-  -webkit-animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-          animation: swal2-rotate-loading 1.5s linear 0s infinite normal;
-  border: 3px solid #999999;
-  border-radius: 50%;
-  border-right-color: transparent;
-  box-shadow: 1px 1px 1px #fff;
-}
-
-.swal2-styled {
-  margin: 0.3125em;
-  padding: 0.625em 2em;
-  box-shadow: none;
-  font-weight: 500;
-}
-.swal2-styled:not([disabled]) {
-  cursor: pointer;
-}
-.swal2-styled.swal2-confirm {
-  border: 0;
-  border-radius: 0.25em;
-  background: initial;
-  background-color: #3085d6;
-  color: #fff;
-  font-size: 1.0625em;
-}
-.swal2-styled.swal2-cancel {
-  border: 0;
-  border-radius: 0.25em;
-  background: initial;
-  background-color: #aaa;
-  color: #fff;
-  font-size: 1.0625em;
-}
-.swal2-styled:focus {
-  outline: none;
-  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(50, 100, 150, 0.4);
-}
-.swal2-styled::-moz-focus-inner {
-  border: 0;
-}
-
-.swal2-footer {
-  justify-content: center;
-  margin: 1.25em 0 0;
-  padding: 1em 0 0;
-  border-top: 1px solid #eee;
-  color: #545454;
-  font-size: 1em;
-}
-
-.swal2-image {
-  max-width: 100%;
-  margin: 1.25em auto;
-}
-
-.swal2-close {
-  position: absolute;
-  z-index: 2;
-  /* 1617 */
-  top: 0;
-  right: 0;
-  justify-content: center;
-  width: 1.2em;
-  height: 1.2em;
-  padding: 0;
-  overflow: hidden;
-  transition: color 0.1s ease-out;
-  border: none;
-  border-radius: 0;
-  outline: initial;
-  background: transparent;
-  color: #cccccc;
-  font-family: serif;
-  font-size: 2.5em;
-  line-height: 1.2;
-  cursor: pointer;
-}
-.swal2-close:hover {
-  transform: none;
-  background: transparent;
-  color: #f27474;
-}
-
-.swal2-content {
-  z-index: 1;
-  justify-content: center;
-  margin: 0;
-  padding: 0;
-  color: #545454;
-  font-size: 1.125em;
-  font-weight: normal;
-  line-height: normal;
-  text-align: center;
-  word-wrap: break-word;
-}
-
-.swal2-input,
-.swal2-file,
-.swal2-textarea,
-.swal2-select,
-.swal2-radio,
-.swal2-checkbox {
-  margin: 1em auto;
-}
-
-.swal2-input,
-.swal2-file,
-.swal2-textarea {
-  box-sizing: border-box;
-  width: 100%;
-  transition: border-color 0.3s, box-shadow 0.3s;
-  border: 1px solid #d9d9d9;
-  border-radius: 0.1875em;
-  background: inherit;
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
-  color: inherit;
-  font-size: 1.125em;
-}
-.swal2-input.swal2-inputerror,
-.swal2-file.swal2-inputerror,
-.swal2-textarea.swal2-inputerror {
-  border-color: #f27474 !important;
-  box-shadow: 0 0 2px #f27474 !important;
-}
-.swal2-input:focus,
-.swal2-file:focus,
-.swal2-textarea:focus {
-  border: 1px solid #b4dbed;
-  outline: none;
-  box-shadow: 0 0 3px #c4e6f5;
-}
-.swal2-input::-webkit-input-placeholder,
-.swal2-file::-webkit-input-placeholder,
-.swal2-textarea::-webkit-input-placeholder {
-  color: #cccccc;
-}
-.swal2-input::-moz-placeholder,
-.swal2-file::-moz-placeholder,
-.swal2-textarea::-moz-placeholder {
-  color: #cccccc;
-}
-.swal2-input:-ms-input-placeholder,
-.swal2-file:-ms-input-placeholder,
-.swal2-textarea:-ms-input-placeholder {
-  color: #cccccc;
-}
-.swal2-input::-ms-input-placeholder,
-.swal2-file::-ms-input-placeholder,
-.swal2-textarea::-ms-input-placeholder {
-  color: #cccccc;
-}
-.swal2-input::placeholder,
-.swal2-file::placeholder,
-.swal2-textarea::placeholder {
-  color: #cccccc;
-}
-
-.swal2-range {
-  margin: 1em auto;
-  background: inherit;
-}
-.swal2-range input {
-  width: 80%;
-}
-.swal2-range output {
-  width: 20%;
-  color: inherit;
-  font-weight: 600;
-  text-align: center;
-}
-.swal2-range input,
-.swal2-range output {
-  height: 2.625em;
-  padding: 0;
-  font-size: 1.125em;
-  line-height: 2.625em;
-}
-
-.swal2-input {
-  height: 2.625em;
-  padding: 0 0.75em;
-}
-.swal2-input[type=number] {
-  max-width: 10em;
-}
-
-.swal2-file {
-  background: inherit;
-  font-size: 1.125em;
-}
-
-.swal2-textarea {
-  height: 6.75em;
-  padding: 0.75em;
-}
-
-.swal2-select {
-  min-width: 50%;
-  max-width: 100%;
-  padding: 0.375em 0.625em;
-  background: inherit;
-  color: inherit;
-  font-size: 1.125em;
-}
-
-.swal2-radio,
-.swal2-checkbox {
-  align-items: center;
-  justify-content: center;
-  background: inherit;
-  color: inherit;
-}
-.swal2-radio label,
-.swal2-checkbox label {
-  margin: 0 0.6em;
-  font-size: 1.125em;
-}
-.swal2-radio input,
-.swal2-checkbox input {
-  margin: 0 0.4em;
-}
-
-.swal2-validation-message {
-  display: none;
-  align-items: center;
-  justify-content: center;
-  padding: 0.625em;
-  overflow: hidden;
-  background: #f0f0f0;
-  color: #666666;
-  font-size: 1em;
-  font-weight: 300;
-}
-.swal2-validation-message::before {
-  content: "!";
-  display: inline-block;
-  width: 1.5em;
-  min-width: 1.5em;
-  height: 1.5em;
-  margin: 0 0.625em;
-  border-radius: 50%;
-  background-color: #f27474;
-  color: #fff;
-  font-weight: 600;
-  line-height: 1.5em;
-  text-align: center;
-}
-
-.swal2-icon {
-  position: relative;
-  box-sizing: content-box;
-  justify-content: center;
-  width: 5em;
-  height: 5em;
-  margin: 1.25em auto 1.875em;
-  border: 0.25em solid transparent;
-  border-radius: 50%;
-  font-family: inherit;
-  line-height: 5em;
-  cursor: default;
-  -webkit-user-select: none;
-     -moz-user-select: none;
-      -ms-user-select: none;
-          user-select: none;
-}
-.swal2-icon::before {
-  display: flex;
-  align-items: center;
-  height: 92%;
-  font-size: 3.75em;
-}
-.swal2-icon.swal2-error {
-  border-color: #f27474;
-}
-.swal2-icon.swal2-error .swal2-x-mark {
-  position: relative;
-  flex-grow: 1;
-}
-.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
-  display: block;
-  position: absolute;
-  top: 2.3125em;
-  width: 2.9375em;
-  height: 0.3125em;
-  border-radius: 0.125em;
-  background-color: #f27474;
-}
-.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
-  left: 1.0625em;
-  transform: rotate(45deg);
-}
-.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
-  right: 1em;
-  transform: rotate(-45deg);
-}
-.swal2-icon.swal2-warning {
-  border-color: #facea8;
-  color: #f8bb86;
-}
-.swal2-icon.swal2-warning::before {
-  content: "!";
-}
-.swal2-icon.swal2-info {
-  border-color: #9de0f6;
-  color: #3fc3ee;
-}
-.swal2-icon.swal2-info::before {
-  content: "i";
-}
-.swal2-icon.swal2-question {
-  border-color: #c9dae1;
-  color: #87adbd;
-}
-.swal2-icon.swal2-question::before {
-  content: "?";
-}
-.swal2-icon.swal2-question.swal2-arabic-question-mark::before {
-  content: "؟";
-}
-.swal2-icon.swal2-success {
-  border-color: #a5dc86;
-}
-.swal2-icon.swal2-success [class^=swal2-success-circular-line] {
-  position: absolute;
-  width: 3.75em;
-  height: 7.5em;
-  transform: rotate(45deg);
-  border-radius: 50%;
-}
-.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left] {
-  top: -0.4375em;
-  left: -2.0635em;
-  transform: rotate(-45deg);
-  transform-origin: 3.75em 3.75em;
-  border-radius: 7.5em 0 0 7.5em;
-}
-.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right] {
-  top: -0.6875em;
-  left: 1.875em;
-  transform: rotate(-45deg);
-  transform-origin: 0 3.75em;
-  border-radius: 0 7.5em 7.5em 0;
-}
-.swal2-icon.swal2-success .swal2-success-ring {
-  position: absolute;
-  z-index: 2;
-  top: -0.25em;
-  left: -0.25em;
-  box-sizing: content-box;
-  width: 100%;
-  height: 100%;
-  border: 0.25em solid rgba(165, 220, 134, 0.3);
-  border-radius: 50%;
-}
-.swal2-icon.swal2-success .swal2-success-fix {
-  position: absolute;
-  z-index: 1;
-  top: 0.5em;
-  left: 1.625em;
-  width: 0.4375em;
-  height: 5.625em;
-  transform: rotate(-45deg);
-}
-.swal2-icon.swal2-success [class^=swal2-success-line] {
-  display: block;
-  position: absolute;
-  z-index: 2;
-  height: 0.3125em;
-  border-radius: 0.125em;
-  background-color: #a5dc86;
-}
-.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip] {
-  top: 2.875em;
-  left: 0.875em;
-  width: 1.5625em;
-  transform: rotate(45deg);
-}
-.swal2-icon.swal2-success [class^=swal2-success-line][class$=long] {
-  top: 2.375em;
-  right: 0.5em;
-  width: 2.9375em;
-  transform: rotate(-45deg);
-}
-
-.swal2-progress-steps {
-  align-items: center;
-  margin: 0 0 1.25em;
-  padding: 0;
-  background: inherit;
-  font-weight: 600;
-}
-.swal2-progress-steps li {
-  display: inline-block;
-  position: relative;
-}
-.swal2-progress-steps .swal2-progress-step {
-  z-index: 20;
-  width: 2em;
-  height: 2em;
-  border-radius: 2em;
-  background: #3085d6;
-  color: #fff;
-  line-height: 2em;
-  text-align: center;
-}
-.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step {
-  background: #3085d6;
-}
-.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step {
-  background: #add8e6;
-  color: #fff;
-}
-.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
-  background: #add8e6;
-}
-.swal2-progress-steps .swal2-progress-step-line {
-  z-index: 10;
-  width: 2.5em;
-  height: 0.4em;
-  margin: 0 -1px;
-  background: #3085d6;
-}
-
-[class^=swal2] {
-  -webkit-tap-highlight-color: transparent;
-}
-
-.swal2-show {
-  -webkit-animation: swal2-show 0.3s;
-          animation: swal2-show 0.3s;
-}
-.swal2-show.swal2-noanimation {
-  -webkit-animation: none;
-          animation: none;
-}
-
-.swal2-hide {
-  -webkit-animation: swal2-hide 0.15s forwards;
-          animation: swal2-hide 0.15s forwards;
-}
-.swal2-hide.swal2-noanimation {
-  -webkit-animation: none;
-          animation: none;
-}
-
-.swal2-rtl .swal2-close {
-  right: auto;
-  left: 0;
-}
-
-.swal2-animate-success-icon .swal2-success-line-tip {
-  -webkit-animation: swal2-animate-success-line-tip 0.75s;
-          animation: swal2-animate-success-line-tip 0.75s;
-}
-.swal2-animate-success-icon .swal2-success-line-long {
-  -webkit-animation: swal2-animate-success-line-long 0.75s;
-          animation: swal2-animate-success-line-long 0.75s;
-}
-.swal2-animate-success-icon .swal2-success-circular-line-right {
-  -webkit-animation: swal2-rotate-success-circular-line 4.25s ease-in;
-          animation: swal2-rotate-success-circular-line 4.25s ease-in;
-}
-
-.swal2-animate-error-icon {
-  -webkit-animation: swal2-animate-error-icon 0.5s;
-          animation: swal2-animate-error-icon 0.5s;
-}
-.swal2-animate-error-icon .swal2-x-mark {
-  -webkit-animation: swal2-animate-error-x-mark 0.5s;
-          animation: swal2-animate-error-x-mark 0.5s;
-}
-
-@supports (-ms-accelerator: true) {
-  .swal2-range input {
-    width: 100% !important;
-  }
-  .swal2-range output {
-    display: none;
-  }
-}
-@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-  .swal2-range input {
-    width: 100% !important;
-  }
-  .swal2-range output {
-    display: none;
-  }
-}
-@-moz-document url-prefix() {
-  .swal2-close:focus {
-    outline: 2px solid rgba(50, 100, 150, 0.4);
-  }
-}
-@-webkit-keyframes swal2-toast-show {
-  0% {
-    transform: translateY(-0.625em) rotateZ(2deg);
-  }
-  33% {
-    transform: translateY(0) rotateZ(-2deg);
-  }
-  66% {
-    transform: translateY(0.3125em) rotateZ(2deg);
-  }
-  100% {
-    transform: translateY(0) rotateZ(0deg);
-  }
-}
-@keyframes swal2-toast-show {
-  0% {
-    transform: translateY(-0.625em) rotateZ(2deg);
-  }
-  33% {
-    transform: translateY(0) rotateZ(-2deg);
-  }
-  66% {
-    transform: translateY(0.3125em) rotateZ(2deg);
-  }
-  100% {
-    transform: translateY(0) rotateZ(0deg);
-  }
-}
-@-webkit-keyframes swal2-toast-hide {
-  100% {
-    transform: rotateZ(1deg);
-    opacity: 0;
-  }
-}
-@keyframes swal2-toast-hide {
-  100% {
-    transform: rotateZ(1deg);
-    opacity: 0;
-  }
-}
-@-webkit-keyframes swal2-toast-animate-success-line-tip {
-  0% {
-    top: 0.5625em;
-    left: 0.0625em;
-    width: 0;
-  }
-  54% {
-    top: 0.125em;
-    left: 0.125em;
-    width: 0;
-  }
-  70% {
-    top: 0.625em;
-    left: -0.25em;
-    width: 1.625em;
-  }
-  84% {
-    top: 1.0625em;
-    left: 0.75em;
-    width: 0.5em;
-  }
-  100% {
-    top: 1.125em;
-    left: 0.1875em;
-    width: 0.75em;
-  }
-}
-@keyframes swal2-toast-animate-success-line-tip {
-  0% {
-    top: 0.5625em;
-    left: 0.0625em;
-    width: 0;
-  }
-  54% {
-    top: 0.125em;
-    left: 0.125em;
-    width: 0;
-  }
-  70% {
-    top: 0.625em;
-    left: -0.25em;
-    width: 1.625em;
-  }
-  84% {
-    top: 1.0625em;
-    left: 0.75em;
-    width: 0.5em;
-  }
-  100% {
-    top: 1.125em;
-    left: 0.1875em;
-    width: 0.75em;
-  }
-}
-@-webkit-keyframes swal2-toast-animate-success-line-long {
-  0% {
-    top: 1.625em;
-    right: 1.375em;
-    width: 0;
-  }
-  65% {
-    top: 1.25em;
-    right: 0.9375em;
-    width: 0;
-  }
-  84% {
-    top: 0.9375em;
-    right: 0;
-    width: 1.125em;
-  }
-  100% {
-    top: 0.9375em;
-    right: 0.1875em;
-    width: 1.375em;
-  }
-}
-@keyframes swal2-toast-animate-success-line-long {
-  0% {
-    top: 1.625em;
-    right: 1.375em;
-    width: 0;
-  }
-  65% {
-    top: 1.25em;
-    right: 0.9375em;
-    width: 0;
-  }
-  84% {
-    top: 0.9375em;
-    right: 0;
-    width: 1.125em;
-  }
-  100% {
-    top: 0.9375em;
-    right: 0.1875em;
-    width: 1.375em;
-  }
-}
-@-webkit-keyframes swal2-show {
-  0% {
-    transform: scale(0.7);
-  }
-  45% {
-    transform: scale(1.05);
-  }
-  80% {
-    transform: scale(0.95);
-  }
-  100% {
-    transform: scale(1);
-  }
-}
-@keyframes swal2-show {
-  0% {
-    transform: scale(0.7);
-  }
-  45% {
-    transform: scale(1.05);
-  }
-  80% {
-    transform: scale(0.95);
-  }
-  100% {
-    transform: scale(1);
-  }
-}
-@-webkit-keyframes swal2-hide {
-  0% {
-    transform: scale(1);
-    opacity: 1;
-  }
-  100% {
-    transform: scale(0.5);
-    opacity: 0;
-  }
-}
-@keyframes swal2-hide {
-  0% {
-    transform: scale(1);
-    opacity: 1;
-  }
-  100% {
-    transform: scale(0.5);
-    opacity: 0;
-  }
-}
-@-webkit-keyframes swal2-animate-success-line-tip {
-  0% {
-    top: 1.1875em;
-    left: 0.0625em;
-    width: 0;
-  }
-  54% {
-    top: 1.0625em;
-    left: 0.125em;
-    width: 0;
-  }
-  70% {
-    top: 2.1875em;
-    left: -0.375em;
-    width: 3.125em;
-  }
-  84% {
-    top: 3em;
-    left: 1.3125em;
-    width: 1.0625em;
-  }
-  100% {
-    top: 2.8125em;
-    left: 0.875em;
-    width: 1.5625em;
-  }
-}
-@keyframes swal2-animate-success-line-tip {
-  0% {
-    top: 1.1875em;
-    left: 0.0625em;
-    width: 0;
-  }
-  54% {
-    top: 1.0625em;
-    left: 0.125em;
-    width: 0;
-  }
-  70% {
-    top: 2.1875em;
-    left: -0.375em;
-    width: 3.125em;
-  }
-  84% {
-    top: 3em;
-    left: 1.3125em;
-    width: 1.0625em;
-  }
-  100% {
-    top: 2.8125em;
-    left: 0.875em;
-    width: 1.5625em;
-  }
-}
-@-webkit-keyframes swal2-animate-success-line-long {
-  0% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0;
-  }
-  65% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0;
-  }
-  84% {
-    top: 2.1875em;
-    right: 0;
-    width: 3.4375em;
-  }
-  100% {
-    top: 2.375em;
-    right: 0.5em;
-    width: 2.9375em;
-  }
-}
-@keyframes swal2-animate-success-line-long {
-  0% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0;
-  }
-  65% {
-    top: 3.375em;
-    right: 2.875em;
-    width: 0;
-  }
-  84% {
-    top: 2.1875em;
-    right: 0;
-    width: 3.4375em;
-  }
-  100% {
-    top: 2.375em;
-    right: 0.5em;
-    width: 2.9375em;
-  }
-}
-@-webkit-keyframes swal2-rotate-success-circular-line {
-  0% {
-    transform: rotate(-45deg);
-  }
-  5% {
-    transform: rotate(-45deg);
-  }
-  12% {
-    transform: rotate(-405deg);
-  }
-  100% {
-    transform: rotate(-405deg);
-  }
-}
-@keyframes swal2-rotate-success-circular-line {
-  0% {
-    transform: rotate(-45deg);
-  }
-  5% {
-    transform: rotate(-45deg);
-  }
-  12% {
-    transform: rotate(-405deg);
-  }
-  100% {
-    transform: rotate(-405deg);
-  }
-}
-@-webkit-keyframes swal2-animate-error-x-mark {
-  0% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0;
-  }
-  50% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0;
-  }
-  80% {
-    margin-top: -0.375em;
-    transform: scale(1.15);
-  }
-  100% {
-    margin-top: 0;
-    transform: scale(1);
-    opacity: 1;
-  }
-}
-@keyframes swal2-animate-error-x-mark {
-  0% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0;
-  }
-  50% {
-    margin-top: 1.625em;
-    transform: scale(0.4);
-    opacity: 0;
-  }
-  80% {
-    margin-top: -0.375em;
-    transform: scale(1.15);
-  }
-  100% {
-    margin-top: 0;
-    transform: scale(1);
-    opacity: 1;
-  }
-}
-@-webkit-keyframes swal2-animate-error-icon {
-  0% {
-    transform: rotateX(100deg);
-    opacity: 0;
-  }
-  100% {
-    transform: rotateX(0deg);
-    opacity: 1;
-  }
-}
-@keyframes swal2-animate-error-icon {
-  0% {
-    transform: rotateX(100deg);
-    opacity: 0;
-  }
-  100% {
-    transform: rotateX(0deg);
-    opacity: 1;
-  }
-}
-@-webkit-keyframes swal2-rotate-loading {
-  0% {
-    transform: rotate(0deg);
-  }
-  100% {
-    transform: rotate(360deg);
-  }
-}
-@keyframes swal2-rotate-loading {
-  0% {
-    transform: rotate(0deg);
-  }
-  100% {
-    transform: rotate(360deg);
-  }
-}
-body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
-  overflow: hidden;
-}
-body.swal2-height-auto {
-  height: auto !important;
-}
-body.swal2-no-backdrop .swal2-shown {
-  top: auto;
-  right: auto;
-  bottom: auto;
-  left: auto;
-  max-width: calc(100% - 0.625em * 2);
-  background-color: transparent;
-}
-body.swal2-no-backdrop .swal2-shown > .swal2-modal {
-  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-top {
-  top: 0;
-  left: 50%;
-  transform: translateX(-50%);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-top-start, body.swal2-no-backdrop .swal2-shown.swal2-top-left {
-  top: 0;
-  left: 0;
-}
-body.swal2-no-backdrop .swal2-shown.swal2-top-end, body.swal2-no-backdrop .swal2-shown.swal2-top-right {
-  top: 0;
-  right: 0;
-}
-body.swal2-no-backdrop .swal2-shown.swal2-center {
-  top: 50%;
-  left: 50%;
-  transform: translate(-50%, -50%);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-center-start, body.swal2-no-backdrop .swal2-shown.swal2-center-left {
-  top: 50%;
-  left: 0;
-  transform: translateY(-50%);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-center-end, body.swal2-no-backdrop .swal2-shown.swal2-center-right {
-  top: 50%;
-  right: 0;
-  transform: translateY(-50%);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-bottom {
-  bottom: 0;
-  left: 50%;
-  transform: translateX(-50%);
-}
-body.swal2-no-backdrop .swal2-shown.swal2-bottom-start, body.swal2-no-backdrop .swal2-shown.swal2-bottom-left {
-  bottom: 0;
-  left: 0;
-}
-body.swal2-no-backdrop .swal2-shown.swal2-bottom-end, body.swal2-no-backdrop .swal2-shown.swal2-bottom-right {
-  right: 0;
-  bottom: 0;
-}
-@media print {
-  body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
-    overflow-y: scroll !important;
-  }
-  body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) > [aria-hidden=true] {
-    display: none;
-  }
-  body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container {
-    position: static !important;
-  }
-}
-body.swal2-toast-shown .swal2-container {
-  background-color: transparent;
-}
-body.swal2-toast-shown .swal2-container.swal2-shown {
-  background-color: transparent;
-}
-body.swal2-toast-shown .swal2-container.swal2-top {
-  top: 0;
-  right: auto;
-  bottom: auto;
-  left: 50%;
-  transform: translateX(-50%);
-}
-body.swal2-toast-shown .swal2-container.swal2-top-end, body.swal2-toast-shown .swal2-container.swal2-top-right {
-  top: 0;
-  right: 0;
-  bottom: auto;
-  left: auto;
-}
-body.swal2-toast-shown .swal2-container.swal2-top-start, body.swal2-toast-shown .swal2-container.swal2-top-left {
-  top: 0;
-  right: auto;
-  bottom: auto;
-  left: 0;
-}
-body.swal2-toast-shown .swal2-container.swal2-center-start, body.swal2-toast-shown .swal2-container.swal2-center-left {
-  top: 50%;
-  right: auto;
-  bottom: auto;
-  left: 0;
-  transform: translateY(-50%);
-}
-body.swal2-toast-shown .swal2-container.swal2-center {
-  top: 50%;
-  right: auto;
-  bottom: auto;
-  left: 50%;
-  transform: translate(-50%, -50%);
-}
-body.swal2-toast-shown .swal2-container.swal2-center-end, body.swal2-toast-shown .swal2-container.swal2-center-right {
-  top: 50%;
-  right: 0;
-  bottom: auto;
-  left: auto;
-  transform: translateY(-50%);
-}
-body.swal2-toast-shown .swal2-container.swal2-bottom-start, body.swal2-toast-shown .swal2-container.swal2-bottom-left {
-  top: auto;
-  right: auto;
-  bottom: 0;
-  left: 0;
-}
-body.swal2-toast-shown .swal2-container.swal2-bottom {
-  top: auto;
-  right: auto;
-  bottom: 0;
-  left: 50%;
-  transform: translateX(-50%);
-}
-body.swal2-toast-shown .swal2-container.swal2-bottom-end, body.swal2-toast-shown .swal2-container.swal2-bottom-right {
-  top: auto;
-  right: 0;
-  bottom: 0;
-  left: auto;
-}
-body.swal2-toast-column .swal2-toast {
-  flex-direction: column;
-  align-items: stretch;
-}
-body.swal2-toast-column .swal2-toast .swal2-actions {
-  flex: 1;
-  align-self: stretch;
-  height: 2.2em;
-  margin-top: 0.3125em;
-}
-body.swal2-toast-column .swal2-toast .swal2-loading {
-  justify-content: center;
-}
-body.swal2-toast-column .swal2-toast .swal2-input {
-  height: 2em;
-  margin: 0.3125em auto;
-  font-size: 1em;
-}
-body.swal2-toast-column .swal2-toast .swal2-validation-message {
-  font-size: 1em;
-}

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 536
public/assets/custom/Plugin/sweetalert2/sweetalert2.js


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/assets/custom/Plugin/sweetalert2/sweetalert2.min.css


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/assets/custom/Plugin/sweetalert2/sweetalert2.min.js


+ 2 - 2
resources/views/admin/aff/index.blade.php

@@ -127,10 +127,10 @@
         function setStatus(id, status) {
             $.post('{{route('admin.aff.setStatus')}}', {_token: '{{csrf_token()}}', id: id, status: status}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                 }
             });
         }

+ 3 - 3
resources/views/admin/article/index.blade.php

@@ -79,7 +79,7 @@
         function delArticle(url) {
             swal.fire({
                 title: '确定删除文章?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -92,10 +92,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 24 - 24
resources/views/admin/config/config.blade.php

@@ -404,7 +404,7 @@
                     $('#level_msg').show().html('请求错误,请重试');
                 },
                 complete: function() {
-                    swal.fire({title: '添加成功', type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: '添加成功', icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 },
             });
         }
@@ -422,10 +422,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -435,7 +435,7 @@
         function delLevel(id, name) {
             swal.fire({
                 title: '确定删除等级 【' + name + '】 ?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -449,10 +449,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });
@@ -498,7 +498,7 @@
                 complete: function() {
                     swal.fire({
                         title: '添加成功',
-                        type: 'success',
+                        icon: 'success',
                         timer: 1000,
                         showConfirmButton: false,
                     }).then(() => window.location.reload());
@@ -515,10 +515,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'});
+                        swal.fire({title: ret.message, icon: 'error'});
                     }
                 },
             });
@@ -528,7 +528,7 @@
         function delCountry(code, name) {
             swal.fire({
                 title: '确定删除 【' + name + '】 信息?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -542,10 +542,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });
@@ -584,7 +584,7 @@
                     $('#msg').show().html('请求错误,请重试');
                 },
                 complete: function() {
-                    swal.fire({title: '添加成功', type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: '添加成功', icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 },
             });
         }
@@ -598,10 +598,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -611,7 +611,7 @@
         function delConfig(id, name) {
             swal.fire({
                 title: '确定删除配置 【' + name + '】 ?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -625,10 +625,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });
@@ -672,7 +672,7 @@
                 complete: function() {
                     swal.fire({
                         title: '添加成功',
-                        type: 'success',
+                        icon: 'success',
                         timer: 1000,
                         showConfirmButton: false,
                     }).then(() => window.location.reload());
@@ -693,10 +693,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -707,7 +707,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除标签 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -719,10 +719,10 @@
                     dataType: 'json',
                     success: function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     },
                 });

+ 6 - 6
resources/views/admin/config/emailFilter.blade.php

@@ -102,7 +102,7 @@
         function addEmailSuffix() {
             const words = $('#words').val();
             if (words.trim() === '') {
-                swal.fire({title: '邮箱后缀不能为空', type: 'warning', timer: 1000, showConfirmButton: false});
+                swal.fire({title: '邮箱后缀不能为空', icon: 'warning', timer: 1000, showConfirmButton: false});
                 $('#words').focus();
                 return false;
             }
@@ -113,10 +113,10 @@
                 words: words,
             }, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                 }
             });
         }
@@ -126,7 +126,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除邮箱后缀 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '取消',
                 confirmButtonText: '确定',
@@ -139,10 +139,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 8 - 8
resources/views/admin/config/system.blade.php

@@ -1571,10 +1571,10 @@
         function systemUpdate(systemItem, value) {
             $.post('{{route('admin.system.update')}}', {_token: '{{csrf_token()}}', name: systemItem, value: value}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1500, showConfirmButton: false});
+                    swal.fire({title: ret.message, icon: 'success', timer: 1500, showConfirmButton: false});
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                 }
             });
         }
@@ -1588,10 +1588,10 @@
         function updateFromInput(systemItem, lowerBound, upperBound) {
             let value = parseInt($('#' + systemItem).val());
             if (lowerBound !== false && value < lowerBound) {
-                swal.fire({title: '不能小于' + lowerBound, type: 'warning', timer: 1500, showConfirmButton: false});
+                swal.fire({title: '不能小于' + lowerBound, icon: 'warning', timer: 1500, showConfirmButton: false});
             }
             else if (upperBound !== false && value > upperBound) {
-                swal.fire({title: '不能大于' + upperBound, type: 'warning', timer: 1500, showConfirmButton: false});
+                swal.fire({title: '不能大于' + upperBound, icon: 'warning', timer: 1500, showConfirmButton: false});
             }
             else {
                 systemUpdate(systemItem, value);
@@ -1624,10 +1624,10 @@
         function sendTestNotification() {
             $.post('{{route('admin.test.notify')}}', {_token: '{{csrf_token()}}'}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1500, showConfirmButton: false});
+                    swal.fire({title: ret.message, icon: 'success', timer: 1500, showConfirmButton: false});
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'});
+                    swal.fire({title: ret.message, icon: 'error'});
                 }
             });
         }
@@ -1647,11 +1647,11 @@
                         html: '商户状态: ' + ret.data['active'] + ' | 账号余额: ' + ret.data['money'] + ' | 结算账号:' + ret.data['account'] +
                             '<br\><br\>渠道手续费:【支付宝 - ' + (100 - ret.data['alirate']) + '% | 微信 - ' + (100 - ret.data['wxrate']) +
                             '% | QQ钱包 - ' + (100 - ret.data['qqrate']) + '%】<br\><br\> 请按照支付平台的介绍为准,本信息纯粹为Api获取信息',
-                        type: 'info',
+                        icon: 'info',
                     });
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'});
+                    swal.fire({title: ret.message, icon: 'error'});
                 }
             });
         }

+ 4 - 4
resources/views/admin/coupon/index.blade.php

@@ -139,7 +139,7 @@
             swal.fire({
                 title: '卡券导出',
                 text: '确定导出所有卡券吗?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -154,7 +154,7 @@
         function delCoupon(id, name) {
             swal.fire({
                 title: '确定删除卡券 【' + name + '】 吗?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -168,10 +168,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 5 - 5
resources/views/admin/inviteList.blade.php

@@ -97,10 +97,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -113,7 +113,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定导出所有邀请码吗',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -128,7 +128,7 @@
         clipboard.on('success', function() {
             swal.fire({
                 title: '复制成功',
-                type: 'success',
+                icon: 'success',
                 timer: 1300,
                 showConfirmButton: false,
             });
@@ -136,7 +136,7 @@
         clipboard.on('error', function() {
             swal.fire({
                 title: '复制失败,请手动复制',
-                type: 'error',
+                icon: 'error',
                 timer: 1500,
                 showConfirmButton: false,
             });

+ 9 - 9
resources/views/admin/node/auth.blade.php

@@ -214,7 +214,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定生成所有节点的授权吗?',
-                type: 'info',
+                icon: 'info',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -222,11 +222,11 @@
                 if (result.value) {
                     $.post('{{route('admin.node.auth.store')}}', {_token: '{{csrf_token()}}'}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }
@@ -238,7 +238,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定删除该授权吗?',
-                type: 'info',
+                icon: 'info',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -251,10 +251,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });
@@ -267,7 +267,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定继续操作吗?',
-                type: 'info',
+                icon: 'info',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -280,10 +280,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 3 - 3
resources/views/admin/node/cert/index.blade.php

@@ -77,7 +77,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定删除该证书吗?',
-                type: 'info',
+                icon: 'info',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -90,10 +90,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 2 - 2
resources/views/admin/node/cert/info.blade.php

@@ -48,10 +48,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('admin.node.cert.index')}}');
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('admin.node.cert.index')}}');
                     }
                     else {
-                        swal.fire({title: '[错误 | Error]', text: ret.message, type: 'error'});
+                        swal.fire({title: '[错误 | Error]', text: ret.message, icon: 'error'});
                     }
                 },
             });

+ 12 - 12
resources/views/admin/node/index.blade.php

@@ -146,14 +146,14 @@
                     if (ret.status === 'success') {
                         swal.fire({
                             title: ret.title,
-                            type: 'info',
+                            icon: 'info',
                             html: '<table class="my-20"><thead class="thead-default"><tr><th> ICMP </th> <th> TCP </th></thead><tbody><tr><td>' +
                                 ret.message[0] + '</td><td>' + ret.message[1] + '</td></tr></tbody></table>',
                             showConfirmButton: false,
                         });
                     }
                     else {
-                        swal.fire({title: ret.title, text: ret.message, type: 'error'});
+                        swal.fire({title: ret.title, text: ret.message, icon: 'error'});
                     }
                 },
                 complete: function() {
@@ -174,7 +174,7 @@
                 success: function(ret) {
                     if (ret.status === 'success') {
                         swal.fire({
-                            type: 'info',
+                            icon: 'info',
                             html: '<table class="my-20"><thead class="thead-default"><tr><th> 电信 </th> <th> 联通 </th> <th> 移动 </th> <th> 香港 </th></thead><tbody><tr><td>' +
                                 ret.message[0] + '</td><td>' + ret.message[1] + '</td><td>' + ret.message[2] + '</td><td>' +
                                 ret.message[3] + '</td></tr></tbody></table>',
@@ -182,7 +182,7 @@
                         });
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'});
+                        swal.fire({title: ret.message, icon: 'error'});
                     }
                 },
                 complete: function() {
@@ -195,7 +195,7 @@
         function reload(id) {
             swal.fire({
                 text: '确定重载节点?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -210,10 +210,10 @@
                         },
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({type: 'info', title: ret.message, showConfirmButton: false});
+                                swal.fire({title: ret.message, icon: 'info', showConfirmButton: false});
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'});
+                                swal.fire({title: ret.message, icon: 'error'});
                             }
                         },
                         complete: function() {
@@ -235,10 +235,10 @@
                 },
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({type: 'info', title: ret.message, showConfirmButton: false});
+                        swal.fire({title: ret.message, icon: 'info', showConfirmButton: false});
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'});
+                        swal.fire({title: ret.message, icon: 'error'});
                     }
                 },
                 complete: function() {
@@ -252,7 +252,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除节点 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -265,10 +265,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 5 - 5
resources/views/admin/node/info.blade.php

@@ -548,11 +548,11 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                             then(() => window.location.href = '{{route('admin.node.index').(Request::getQueryString()?('?'.Request::getQueryString()):'') }}');
                     }
                     else {
-                        swal.fire({title: '[错误 | Error]', text: ret.message, type: 'error'});
+                        swal.fire({title: '[错误 | Error]', text: ret.message, icon: 'error'});
                     }
                 },
                 error: function(data) {
@@ -560,7 +560,7 @@
                     const errors = data.responseJSON;
                     if ($.isEmptyObject(errors) === false) {
                         $.each(errors.errors, function(index, value) {str += '<li>' + value + '</li>';});
-                        swal.fire({title: '提示', html: str, type: 'error', confirmButtonText: '{{trans('home.ticket_confirm')}}'});
+                        swal.fire({title: '提示', html: str, icon: 'error', confirmButtonText: '{{trans('home.ticket_confirm')}}'});
                     }
                 },
             });
@@ -718,7 +718,7 @@
                 title: '[节点 user-config.json 配置示例]',
                 html: '<div class="p-10 bg-grey-900 text-white font-weight-300 text-left" style="line-height: 22px;">' +
                     content + '</div>',
-                type: 'info',
+                icon: 'info',
             });
         }
 
@@ -732,7 +732,7 @@
                 title: '[节点 user-config.json 配置示例]',
                 html: '<div class="p-10 bg-grey-900 text-white font-weight-300 text-left" style="line-height: 22px;">' +
                     content + '</div>',
-                type: 'info',
+                icon: 'info',
             });
         }
     </script>

+ 3 - 3
resources/views/admin/rule/group/index.blade.php

@@ -71,7 +71,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除分组 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -84,11 +84,11 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                     then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 7 - 7
resources/views/admin/rule/index.blade.php

@@ -145,10 +145,10 @@
             }, function(ret) {
                 $('#add').modal('hide');
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                 }
             });
         }
@@ -166,10 +166,10 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -180,7 +180,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除规则 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -193,10 +193,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 3 - 3
resources/views/admin/rule/log.blade.php

@@ -100,7 +100,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定清空所有记录吗?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -108,11 +108,11 @@
                 if (result.value) {
                     $.post("{{route('admin.rule.clear')}}", {_token: '{{csrf_token()}}'}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'});
+                            swal.fire({title: ret.message, icon: 'error'});
                         }
                     });
                 }

+ 4 - 4
resources/views/admin/shop/index.blade.php

@@ -140,7 +140,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除商品 【' + name + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '取消',
                 confirmButtonText: '确定',
@@ -153,12 +153,12 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
-                        }
+                        },
                     });
                 }
             });

+ 2 - 2
resources/views/admin/subscribe/index.blade.php

@@ -112,12 +112,12 @@
         function setSubscribeStatus(url) {
             $.post(url, {_token: '{{csrf_token()}}'}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => {
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => {
                         window.location.reload();
                     });
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error', timer: 1000, showConfirmButton: false}).then(() => {
+                    swal.fire({title: ret.message, icon: 'error', timer: 1000, showConfirmButton: false}).then(() => {
                         window.location.reload();
                     });
                 }

+ 6 - 6
resources/views/admin/ticket/index.blade.php

@@ -144,23 +144,23 @@
             const content = $('#content').val();
 
             if (id.trim() === '' && email.trim() === '') {
-                swal.fire({title: '请填入目标用户信息!', type: 'warning'});
+                swal.fire({title: '请填入目标用户信息!', icon: 'warning'});
                 return false;
             }
 
             if (title.trim() === '') {
-                swal.fire({title: '您未填写工单标题!', type: 'warning'});
+                swal.fire({title: '您未填写工单标题!', icon: 'warning'});
                 return false;
             }
 
             if (content.trim() === '') {
-                swal.fire({title: '您未填写工单内容!', type: 'warning'});
+                swal.fire({title: '您未填写工单内容!', icon: 'warning'});
                 return false;
             }
 
             swal.fire({
                 title: '确定提交工单?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -174,11 +174,11 @@
                         content: content,
                     }, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }

+ 9 - 9
resources/views/admin/ticket/reply.blade.php

@@ -53,7 +53,7 @@
         function closeTicket() {
             swal.fire({
                 title: '确定关闭工单?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -67,14 +67,14 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('admin.ticket.index')}}');
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('admin.ticket.index')}}');
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                         error: function() {
-                            swal.fire('未知错误!请通知客服!');
+                            swal.fire({title: '未知错误!请通知客服', icon: 'error'});
                         },
                     });
                 }
@@ -86,12 +86,12 @@
             const content = document.getElementById('editor').value;
 
             if (content.trim() === '') {
-                swal.fire({title: '您未填写工单内容!', type: 'warning', timer: 1500});
+                swal.fire({title: '您未填写工单内容!', icon: 'warning', timer: 1500});
                 return false;
             }
             swal.fire({
                 title: '确定回复工单?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -105,14 +105,14 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                         error: function() {
-                            swal.fire('未知错误!请查看运行日志!');
+                            swal.fire({title: '未知错误!请查看运行日志', icon: 'error'});
                         },
                     });
                 }

+ 2 - 2
resources/views/admin/tools/convert.blade.php

@@ -80,12 +80,12 @@
             const content = $('#content').val();
 
             if (content.trim() === '') {
-                swal.fire({title: '请填入要转换的配置信息', type: 'warning', timer: 1000, showConfirmButton: false});
+                swal.fire({title: '请填入要转换的配置信息', icon: 'warning', timer: 1000, showConfirmButton: false});
                 return;
             }
             swal.fire({
                 title: '确定继续转换吗?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',

+ 2 - 2
resources/views/admin/tools/decompile.blade.php

@@ -31,12 +31,12 @@
             const content = $('#content').val();
 
             if (content.trim() === '') {
-                swal.fire({title: '请填入要反解析的链接信息', type: 'warning', timer: 1000, showConfirmButton: false});
+                swal.fire({title: '请填入要反解析的链接信息', icon: 'warning', timer: 1000, showConfirmButton: false});
                 return;
             }
             swal.fire({
                 title: '确定继续反解析吗?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',

+ 3 - 3
resources/views/admin/user/group/index.blade.php

@@ -67,7 +67,7 @@
             swal.fire({
                 title: '提示',
                 text: '确定删除该分组吗?',
-                type: 'info',
+                icon: 'info',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -80,10 +80,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });

+ 13 - 13
resources/views/admin/user/index.blade.php

@@ -207,7 +207,7 @@
                 input: 'range',
                 inputAttributes: {min: 1, max: 10},
                 inputValue: 1,
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -215,11 +215,11 @@
                 if (result.value) {
                     $.post('{{route('admin.user.batch')}}', {_token: '{{csrf_token()}}', amount: result.value}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }
@@ -246,7 +246,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定删除用户 【' + email + '】 ?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -259,10 +259,10 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                                swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                             }
                         },
                     });
@@ -275,7 +275,7 @@
             swal.fire({
                 title: '警告',
                 text: '确定重置 【' + email + '】 流量吗?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -283,11 +283,11 @@
                 if (result.value) {
                     $.post('{{route('admin.user.reset')}}', {_token: '{{csrf_token()}}', id: id}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }
@@ -298,10 +298,10 @@
         function switchToUser(id) {
             $.post('{{route('admin.user.switch')}}', {_token: '{{csrf_token()}}', user_id: id}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                 }
                 else {
-                    swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                    swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                 }
             });
         }
@@ -310,7 +310,7 @@
         clipboard.on('success', function() {
             swal.fire({
                 title: '复制成功',
-                type: 'success',
+                icon: 'success',
                 timer: 1000,
                 showConfirmButton: false,
             });
@@ -318,7 +318,7 @@
         clipboard.on('error', function() {
             swal.fire({
                 title: '复制失败,请手动复制',
-                type: 'error',
+                icon: 'error',
                 timer: 1500,
                 showConfirmButton: false,
             });

+ 12 - 14
resources/views/admin/user/info.blade.php

@@ -78,7 +78,7 @@
 
                             <div class="form-group row">
                                 <label class="col-md-2 col-sm-3 col-form-label" for="invite_num">可用邀请码</label>
-                                <div class="col-xl-6 col-sm-8">
+                                <div class="col-xl-4 col-sm-8">
                                     <input type="number" class="form-control" name="invite_num" id="invite_num" value="0" required/>
                                 </div>
                             </div>
@@ -230,7 +230,7 @@
                                 <div class="col-xl-5 col-sm-8">
                                     <select class="form-control" name="method" id="method" data-plugin="selectpicker" data-style="btn-outline btn-primary">
                                         @foreach (Helpers::methodList() as $method)
-                                            <option value="{{$method->name}}">{{$method->name}}</option>
+                                            <option value="{{$method->name}}" @if($method->is_default) selected @endif>{{$method->name}}</option>
                                         @endforeach
                                     </select>
                                 </div>
@@ -269,8 +269,7 @@
                                 <div class="col-xl-5 col-sm-8">
                                     <select class="form-control" name="protocol" id="protocol" data-plugin="selectpicker" data-style="btn-outline btn-primary">
                                         @foreach (Helpers::protocolList() as $protocol)
-                                            <option value="{{$protocol->name}}"
-                                                    @if($protocol->is_default) selected @endif>{{$protocol->name}}</option>
+                                            <option value="{{$protocol->name}}" @if($protocol->is_default) selected @endif>{{$protocol->name}}</option>
                                         @endforeach
                                     </select>
                                 </div>
@@ -280,8 +279,7 @@
                                 <div class="col-xl-5 col-sm-8">
                                     <select data-plugin="selectpicker" data-style="btn-outline btn-primary" class="form-control" name="obfs" id="obfs">
                                         @foreach (Helpers::obfsList() as $obfs)
-                                            <option value="{{$obfs->name}}"
-                                                    @if($obfs->is_default) selected @endif>{{$obfs->name}}</option>
+                                            <option value="{{$obfs->name}}" @if($obfs->is_default) selected @endif>{{$obfs->name}}</option>
                                         @endforeach
                                     </select>
                                 </div>
@@ -289,7 +287,7 @@
                             <hr>
                             <div class="form-group row">
                                 <label class="col-md-2 col-sm-3 col-form-label" for="speed_limit">用户限速</label>
-                                <div class="col-xl-6 col-sm-8">
+                                <div class="col-xl-5 col-sm-8">
                                     <div class="input-group">
                                         <input type="number" class="form-control" name="speed_limit" id="speed_limit" value="200"/>
                                         <span class="input-group-text"> Mbps</span>
@@ -386,11 +384,11 @@
                 method: 'POST',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                        swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                             then(() => window.location.href = '/');
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                     }
                 },
             });
@@ -422,12 +420,12 @@
                     else {
                         $('#handle_user_credit').modal('hide');
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => {
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => {
                                 window.location.reload();
                             });
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     }
                 },
@@ -485,7 +483,7 @@
                         swal.fire({
                             title: '提示',
                             text: '更新成功,是否返回?',
-                            type: 'question',
+                            icon: 'question',
                             showCancelButton: true,
                             cancelButtonText: '{{trans('home.ticket_close')}}',
                             confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -497,7 +495,7 @@
                         );
                     }
                     else {
-                        swal.fire({title: ret.message, timer: 1000, showConfirmButton: false});
+                        swal.fire({title: ret.message, icon: 'error', timer: 1000, showConfirmButton: false});
                     }
                 },
                 error: function(data) {
@@ -505,7 +503,7 @@
                     const errors = data.responseJSON;
                     if ($.isEmptyObject(errors) === false) {
                         $.each(errors.errors, function(index, value) {str += '<li>' + value + '</li>';});
-                        swal.fire({title: '提示', html: str, type: 'error', confirmButtonText: '{{trans('home.ticket_confirm')}}'});
+                        swal.fire({title: '提示', html: str, icon: 'error', confirmButtonText: '{{trans('home.ticket_confirm')}}'});
                     }
                 },
             });

+ 2 - 2
resources/views/auth/login.blade.php

@@ -45,14 +45,14 @@
             @case(3)
             // 先检查Google reCAPTCHA有没有进行验证
             if ($('#g-recaptcha-response').val() === '') {
-                swal.fire({title: '{{trans('auth.required_captcha')}}', type: 'error'});
+                swal.fire({title: '{{trans('auth.required_captcha')}}', icon: 'error'});
                 return false;
             }
             @break
             @case(4)
             // 先检查Google reCAPTCHA有没有进行验证
             if ($('#h-captcha-response').val() === '') {
-                swal.fire({title: '{{trans('auth.required_captcha')}}', type: 'error'});
+                swal.fire({title: '{{trans('auth.required_captcha')}}', icon: 'error'});
                 return false;
             }
             @break

+ 7 - 7
resources/views/auth/register.blade.php

@@ -150,7 +150,7 @@
             let email = $('#emailHead').val().trim();
             const emailTail = $('#emailTail').val();
             if (email === '') {
-                swal.fire({title: '{{trans('auth.email_null')}}', type: 'warning', timer: 1500});
+                swal.fire({title: '{{trans('auth.email_null')}}', icon: 'warning', timer: 1500});
                 return false;
             }
             email += '@' + emailTail;
@@ -168,7 +168,7 @@
             @endif
 
             if (email === '') {
-                swal.fire({title: '{{trans('auth.email_null')}}', type: 'warning', timer: 1500});
+                swal.fire({title: '{{trans('auth.email_null')}}', icon: 'warning', timer: 1500});
                 return false;
             }
 
@@ -180,18 +180,18 @@
                 dataType: 'json',
                 success: function(ret) {
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success'});
+                        swal.fire({title: ret.message, icon: 'success'});
                         $('#sendCode').attr('disabled', true);
                         flag = true;
                     }
                     else {
-                        swal.fire({title: ret.message, type: 'error', timer: 1000, showConfirmButton: false});
+                        swal.fire({title: ret.message, icon: 'error', timer: 1000, showConfirmButton: false});
                         $('#sendCode').attr('disabled', false);
                         flag = false;
                     }
                 },
                 error: function() {
-                    swal.fire({title: '发送失败', type: 'error'});
+                    swal.fire({title: '发送失败', icon: 'error'});
                     flag = false;
                 },
             });
@@ -222,14 +222,14 @@
             @case(3)
             // 先检查Google reCAPTCHA有没有进行验证
             if ($('#g-recaptcha-response').val() === '') {
-                swal.fire({title: '{{trans('auth.required_captcha')}}', type: 'error'});
+                swal.fire({title: '{{trans('auth.required_captcha')}}', icon: 'error'});
                 return false;
             }
             @break
             @case(4)
             // 先检查Google reCAPTCHA有没有进行验证
             if ($('#h-captcha-response').val() === '') {
-                swal.fire({title: '{{trans('auth.required_captcha')}}', type: 'error'});
+                swal.fire({title: '{{trans('auth.required_captcha')}}', icon: 'error'});
                 return false;
             }
             @break

+ 7 - 7
resources/views/user/buy.blade.php

@@ -111,7 +111,7 @@
                         $('.grand-total').text('¥' + total_price.toFixed(2));
                         swal.fire({
                             title: ret.message,
-                            type: 'success',
+                            icon: 'success',
                             timer: 1300,
                             showConfirmButton: false,
                         });
@@ -125,7 +125,7 @@
                         swal.fire({
                             title: ret.title,
                             text: ret.message,
-                            type: 'error',
+                            icon: 'error',
                         });
                     }
                 },
@@ -139,7 +139,7 @@
                 swal.fire({
                     title: '套餐存在冲突',
                     html: '<p>当前购买套餐将自动设置为 <code>预支付套餐</code><p><ol class="text-left"><li> 预支付套餐会在生效中的套餐失效后自动开通!</li><li> 您可以在支付后手动激活套餐!</li></ol>',
-                    type: 'info',
+                    icon: 'info',
                     showCancelButton: true,
                     cancelButtonText: '返 回',
                     confirmButtonText: '继 续',
@@ -173,12 +173,12 @@
                     if (ret.status === 'success') {
                         swal.fire({
                             title: ret.message,
-                            type: 'success',
+                            icon: 'success',
                             timer: 1300,
                             showConfirmButton: false,
                         });
                         if (method === 'credit') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('invoice')}}');
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.href = '{{route('invoice')}}');
                         }
                         if (ret.data) {
                             window.location.href = '{{route('orderDetail', '')}}/' + ret.data;
@@ -188,12 +188,12 @@
                         }
                     }
                     else if (ret.status === 'info') {
-                        swal.fire({title: ret.title, text: ret.message, type: 'question'});
+                        swal.fire({title: ret.title, text: ret.message, icon: 'question'});
                     }
                     else {
                         swal.fire({
                             title: ret.message,
-                            type: 'error',
+                            icon: 'error',
                         });
                     }
                 },

+ 5 - 5
resources/views/user/help.blade.php

@@ -305,7 +305,7 @@
             swal.fire({
                 title: '警告',
                 text: '更换订阅地址将导致:\n1.旧地址立即失效\n2.连接密码被更改',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -313,11 +313,11 @@
                 if (result.value) {
                     $.post('{{route('changeSub')}}', {_token: '{{csrf_token()}}'}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }
@@ -328,7 +328,7 @@
         clipboard.on('success', function() {
             swal.fire({
                 title: '复制成功',
-                type: 'success',
+                icon: 'success',
                 timer: 1300,
                 showConfirmButton: false,
             });
@@ -336,7 +336,7 @@
         clipboard.on('error', function() {
             swal.fire({
                 title: '复制失败,请手动复制',
-                type: 'error',
+                icon: 'error',
                 timer: 1500,
                 showConfirmButton: false,
             });

+ 1 - 1
resources/views/user/index.blade.php

@@ -252,7 +252,7 @@
                 else {
                     swal.fire({
                         title: ret.message,
-                        type: 'error',
+                        icon: 'error',
                     });
                 }
             });

+ 68 - 65
resources/views/user/invite.blade.php

@@ -4,67 +4,69 @@
 @endsection
 @section('content')
     <div class="page-header">
-        <h1 class="page-title cyan-600"><i class="icon wb-extension"></i>{{trans('home.invite_code')}}</h1>
-        <div class="page-content container-fluid">
-            <x-alert type="info" :message="trans('home.promote_invite_code', ['traffic' => $referral_traffic, 'referral_percent' => $referral_percent * 100])"/>
-            <div class="row">
-                <div class="col-xxl-3 col-lg-4">
-                    <div class="card">
-                        <div class="card-block">
-                            <h4 class="card-title cyan-600">
-                                <i class="icon wb-plus"></i> {{trans('home.invite_code_make')}}
-                            </h4>
-                            <x-alert type="info" :message="trans('home.invite_code_tips', ['num'=>$num, 'days' => sysConfig('user_invite_days')])"/>
-                            <button type="button" class="btn btn-primary btn-animate btn-animate-side" onclick="makeInvite()" @if(!$num) disabled @endif>
-                                <i class="icon wb-plus"></i> {{trans('home.invite_code_button')}}
-                            </button>
-                        </div>
+        <h1 class="page-title cyan-600">
+            <i class="icon wb-extension"></i>{{trans('home.invite_code')}}
+        </h1>
+    </div>
+    <div class="page-content container-fluid">
+        <x-alert type="info" :message="trans('home.promote_invite_code', ['traffic' => $referral_traffic, 'referral_percent' => $referral_percent * 100])"/>
+        <div class="row">
+            <div class="col-xxl-3 col-lg-4">
+                <div class="card">
+                    <div class="card-block">
+                        <h4 class="card-title cyan-600">
+                            <i class="icon wb-plus"></i> {{trans('home.invite_code_make')}}
+                        </h4>
+                        <x-alert type="info" :message="trans('home.invite_code_tips', ['num'=>$num, 'days' => sysConfig('user_invite_days')])"/>
+                        <button type="button" class="btn btn-primary btn-animate btn-animate-side" onclick="makeInvite()" @if(!$num) disabled @endif>
+                            <i class="icon wb-plus"></i> {{trans('home.invite_code_button')}}
+                        </button>
                     </div>
                 </div>
-                <div class="col-xxl-9 col-lg-8">
-                    <div class="card">
-                        <div class="card-block">
-                            <h4 class="card-title cyan-600"><i
-                                    class="icon wb-extension"></i>{{trans('home.invite_code_my_codes')}}
-                            </h4>
-                            <table class="text-md-center" data-toggle="table" data-mobile-responsive="true">
-                                <thead class="thead-default">
+            </div>
+            <div class="col-xxl-9 col-lg-8">
+                <div class="card">
+                    <div class="card-block">
+                        <h4 class="card-title cyan-600">
+                            <i class="icon wb-extension"></i>{{trans('home.invite_code_my_codes')}}
+                        </h4>
+                        <table class="text-md-center" data-toggle="table" data-mobile-responsive="true">
+                            <thead class="thead-default">
+                            <tr>
+                                <th data-cell-style="cellStyle"> #</th>
+                                <th> {{trans('home.invite_code_table_name')}} </th>
+                                <th> {{trans('home.invite_code_table_date')}} </th>
+                                <th> {{trans('home.invite_code_table_status')}} </th>
+                                <th> {{trans('home.invite_code_table_user')}} </th>
+                            </tr>
+                            </thead>
+                            <tbody>
+                            @foreach($inviteList as $invite)
                                 <tr>
-                                    <th data-cell-style="cellStyle"> #</th>
-                                    <th> {{trans('home.invite_code_table_name')}} </th>
-                                    <th> {{trans('home.invite_code_table_date')}} </th>
-                                    <th> {{trans('home.invite_code_table_status')}} </th>
-                                    <th> {{trans('home.invite_code_table_user')}} </th>
+                                    <td> {{$loop->iteration}} </td>
+                                    <td>
+                                        <a href="javascript:void(0)" class="mt-clipboard" data-clipboard-action="copy"
+                                           data-clipboard-text="{{route('register', ['aff' => Auth::id(), 'code' => $invite->code])}}">{{$invite->code}}</a>
+                                    </td>
+                                    <td> {{$invite->dateline}} </td>
+                                    <td>
+                                        {!! $invite->status_label !!}
+                                    </td>
+                                    {{$invite->status === 1 ? ($invite->invitee->email ?? '【账号已删除】') : ''}}
                                 </tr>
-                                </thead>
-                                <tbody>
-                                @foreach($inviteList as $invite)
-                                    <tr>
-                                        <td> {{$loop->iteration}} </td>
-                                        <td>
-                                            <a href="javascript:void(0)" class="mt-clipboard" data-clipboard-action="copy"
-                                               data-clipboard-text="{{route('register', ['aff' => Auth::id(), 'code' => $invite->code])}}">{{$invite->code}}</a>
-                                        </td>
-                                        <td> {{$invite->dateline}} </td>
-                                        <td>
-                                            {!!$invite->status_label!!}
-                                        </td>
-                                        {{$invite->status === 1 ? ($invite->invitee->email ?? '【账号已删除】') : ''}}
-                                    </tr>
-                                @endforeach
-                                </tbody>
-                            </table>
-                        </div>
-                        <div class="card-footer card-footer-transparent">
-                            <div class="row">
-                                <div class="col-md-4">
-                                    {{trans('home.invite_code_summary', ['total' => $inviteList->total()])}}
-                                </div>
-                                <div class="col-md-8">
-                                    <nav class="Page navigation float-right">
-                                        {{$inviteList->links()}}
-                                    </nav>
-                                </div>
+                            @endforeach
+                            </tbody>
+                        </table>
+                    </div>
+                    <div class="card-footer card-footer-transparent">
+                        <div class="row">
+                            <div class="col-md-4">
+                                {{trans('home.invite_code_summary', ['total' => $inviteList->total()])}}
+                            </div>
+                            <div class="col-md-8">
+                                <nav class="Page navigation float-right">
+                                    {{$inviteList->links()}}
+                                </nav>
                             </div>
                         </div>
                     </div>
@@ -82,16 +84,17 @@
         function makeInvite() {
             $.ajax({
                 method: 'POST',
-                url: '{{route('createInvite')}}',
                 async: false,
+                url: '{{route('createInvite')}}',
                 data: {_token: '{{csrf_token()}}'},
                 dataType: 'json',
                 success: function(ret) {
-                    swal.fire({title: ret.message, type: 'success', timer: 1000}).then(() => {
-                        if (ret.status === 'success') {
-                            window.location.reload();
-                        }
-                    });
+                    if (ret.status === 'success') {
+                        swal.fire({title: ret.message, icon: 'success'}).then(() => window.location.reload());
+                    }
+                    else {
+                        swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
+                    }
                 },
             });
             return false;
@@ -101,7 +104,7 @@
         clipboard.on('success', function() {
             swal.fire({
                 title: '复制成功',
-                type: 'success',
+                icon: 'success',
                 timer: 1300,
                 showConfirmButton: false,
             });
@@ -109,7 +112,7 @@
         clipboard.on('error', function() {
             swal.fire({
                 title: '复制失败,请手动复制',
-                type: 'error',
+                icon: 'error',
                 timer: 1500,
                 showConfirmButton: false,
             });

+ 6 - 6
resources/views/user/invoices.blade.php

@@ -104,7 +104,7 @@
             swal.fire({
                 title: '是否提前激活预支付套餐?',
                 html: '套餐激活后:<br>先前套餐将直接失效!<br>过期日期将由本日重新开始计算!',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -118,11 +118,11 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                     then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'});
+                                swal.fire({title: ret.message, icon: 'error'});
                             }
                         },
                     });
@@ -133,7 +133,7 @@
         function closeOrder(id) {
             swal.fire({
                 title: '关闭订单?',
-                type: 'warning',
+                icon: 'warning',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -147,11 +147,11 @@
                         dataType: 'json',
                         success: function(ret) {
                             if (ret.status === 'success') {
-                                swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                                swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                     then(() => window.location.reload());
                             }
                             else {
-                                swal.fire({title: ret.message, type: 'error'});
+                                swal.fire({title: ret.message, icon: 'error'});
                             }
                         },
                     });

+ 2 - 2
resources/views/user/layouts.blade.php

@@ -287,7 +287,7 @@
                 success: function(ret) {
                     swal.fire({
                         title: ret.message,
-                        type: 'success',
+                        icon: 'success',
                         timer: 1000,
                         showConfirmButton: false,
                     }).then(() => window.location.href = '{{route('admin.index')}}');
@@ -295,7 +295,7 @@
                 error: function(ret) {
                     swal.fire({
                         title: ret.message,
-                        type: 'error',
+                        icon: 'error',
                         timer: 1500,
                         showConfirmButton: false,
                     });

+ 1 - 1
resources/views/user/nodeList.blade.php

@@ -203,7 +203,7 @@
                                 });
                                 break;
                             default:
-                                swal.fire({title: ret.title, text: ret.data});
+                                swal.fire({title: ret.title, text: ret.data, icon: 'error'});
                         }
                     }
                 },

+ 2 - 2
resources/views/user/payment.blade.php

@@ -64,12 +64,12 @@
                 success: function(ret) {
                     window.clearInterval();
                     if (ret.status === 'success') {
-                        swal.fire({title: ret.message, type: 'success', timer: 1500, showConfirmButton: false}).then(() => {
+                        swal.fire({title: ret.message, icon: 'success', timer: 1500, showConfirmButton: false}).then(() => {
                             window.location.href = '{{route('invoice')}}';
                         });
                     }
                     else if (ret.status === 'error') {
-                        swal.fire({title: ret.message, type: 'error', timer: 1500, showConfirmButton: false}).then(() => {
+                        swal.fire({title: ret.message, icon: 'error', timer: 1500, showConfirmButton: false}).then(() => {
                             window.location.href = '{{route('invoice')}}';
                         });
                     }

+ 3 - 9
resources/views/user/referral.blade.php

@@ -174,13 +174,7 @@
         function extractMoney() {
             $.post('{{route('applyCommission')}}', {_token: '{{csrf_token()}}'}, function(ret) {
                 if (ret.status === 'success') {
-                    swal.fire({
-                        title: ret.message,
-                        type: '1000',
-                        timer: 1300,
-                        showConfirmButton: false,
-                    });
-                    swal.fire(ret.message, {icon: 'success', timer: 1000, showConfirmButton: false}).then(() => {
+                    swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => {
                         window.location.reload();
                     });
                 }
@@ -194,7 +188,7 @@
         clipboard.on('success', function() {
             swal.fire({
                 title: '复制成功',
-                type: 'success',
+                icon: 'success',
                 timer: 1300,
                 showConfirmButton: false,
             });
@@ -202,7 +196,7 @@
         clipboard.on('error', function() {
             swal.fire({
                 title: '复制失败,请手动复制',
-                type: 'error',
+                icon: 'error',
                 timer: 1500,
                 showConfirmButton: false,
             });

+ 7 - 7
resources/views/user/replyTicket.blade.php

@@ -53,7 +53,7 @@
             swal.fire({
                 title: '{{trans('home.ticket_close_title')}}',
                 text: '{{trans('home.ticket_close_content')}}',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -68,12 +68,12 @@
                         success: function(ret) {
                             swal.fire({
                                 title: ret.message,
-                                type: 'success',
+                                icon: 'success',
                                 timer: 1300,
                             }).then(() => window.location.href = '{{route('ticket')}}');
                         },
                         error: function() {
-                            swal.fire('未知错误!请通知客服!');
+                            swal.fire({title: '未知错误!请通知客服', icon: 'error'});
                         },
                     });
                 }
@@ -85,12 +85,12 @@
             const content = document.getElementById('editor').value;
 
             if (content.trim() === '') {
-                swal.fire({title: '您未填写工单内容!', type: 'warning', timer: 1500});
+                swal.fire({title: '您未填写工单内容!', icon: 'warning', timer: 1500});
                 return false;
             }
             swal.fire({
                 title: '确定回复工单?',
-                type: 'question',
+                icon: 'question',
                 allowEnterKey: false,
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
@@ -105,13 +105,13 @@
                         if (ret.status === 'success') {
                             swal.fire({
                                 title: ret.message,
-                                type: 'success',
+                                icon: 'success',
                                 timer: 1000,
                                 showConfirmButton: false,
                             }).then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }

+ 4 - 4
resources/views/user/services.blade.php

@@ -213,7 +213,7 @@
             swal.fire({
                 title: '重置流量',
                 text: '本次重置流量将扣除余额 {{$renewTraffic}} 元?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -221,14 +221,14 @@
                 if (result.value) {
                     $.post('{{route('resetTraffic')}}', {_token: '{{csrf_token()}}'}, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).
                                 then(() => window.location.reload());
                         }
                         else {
                             swal.fire({
                                 title: ret.message,
                                 text: ret.data,
-                                type: 'error',
+                                icon: 'error',
                             }).then(() => window.location.reload());
                         }
                     });
@@ -243,7 +243,7 @@
             const amount = parseInt($('#amount').val());
             if (paymentType === 1) {
                 if (amount <= 0) {
-                    swal.fire({title: '错误', text: '充值余额不合规', type: 'warning', timer: 1000, showConfirmButton: false});
+                    swal.fire({title: '错误', text: '充值余额不合规', icon: 'warning', timer: 1000, showConfirmButton: false});
                     return false;
                 }
 

+ 5 - 5
resources/views/user/ticketList.blade.php

@@ -136,18 +136,18 @@
             const content = $('#content').val();
 
             if (title.trim() === '') {
-                swal.fire({title: '您未填写工单标题!', type: 'warning'});
+                swal.fire({title: '您未填写工单标题!', icon: 'warning'});
                 return false;
             }
 
             if (content.trim() === '') {
-                swal.fire({title: '您未填写工单内容!', type: 'warning'});
+                swal.fire({title: '您未填写工单内容!', icon: 'warning'});
                 return false;
             }
 
             swal.fire({
                 title: '确定提交工单?',
-                type: 'question',
+                icon: 'question',
                 showCancelButton: true,
                 cancelButtonText: '{{trans('home.ticket_close')}}',
                 confirmButtonText: '{{trans('home.ticket_confirm')}}',
@@ -159,10 +159,10 @@
                         content: content,
                     }, function(ret) {
                         if (ret.status === 'success') {
-                            swal.fire({title: ret.message, type: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'success', timer: 1000, showConfirmButton: false}).then(() => window.location.reload());
                         }
                         else {
-                            swal.fire({title: ret.message, type: 'error'}).then(() => window.location.reload());
+                            swal.fire({title: ret.message, icon: 'error'}).then(() => window.location.reload());
                         }
                     });
                 }

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно