Softin Trading commited on
Commit ·
52d9fb0
1
Parent(s): f018474
Initial commit from Github
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .htaccess +26 -0
- assets/admin/css/app.css +0 -0
- assets/admin/css/codemirror.min.css +1 -0
- assets/admin/css/custom.css +157 -0
- assets/admin/css/daterangepicker.css +437 -0
- assets/admin/css/fontawesome-iconpicker.min.css +8 -0
- assets/admin/css/monokai.min.css +1 -0
- assets/admin/css/reset.css +1445 -0
- assets/admin/css/spectrum.css +617 -0
- assets/admin/css/vendor/bootstrap-toggle.min.css +28 -0
- assets/admin/css/verification_code.css +197 -0
- assets/admin/images/login.jpg +0 -0
- assets/admin/images/profile/668a414d16c2f1720336717.png +0 -0
- assets/admin/js/app.js +185 -0
- assets/admin/js/charts.js +256 -0
- assets/admin/js/codemirror.min.js +0 -0
- assets/admin/js/css.min.js +1 -0
- assets/admin/js/daterangepicker.min.js +8 -0
- assets/admin/js/fontawesome-iconpicker.js +0 -0
- assets/admin/js/highlighter22.js +39 -0
- assets/admin/js/jquery-sortable.js +693 -0
- assets/admin/js/jquery-ui.min.js +0 -0
- assets/admin/js/moment.min.js +10 -0
- assets/admin/js/search.js +185 -0
- assets/admin/js/spectrum.js +2316 -0
- assets/admin/js/sublime.min.js +1 -0
- assets/admin/js/vendor/apexcharts.min.js +0 -0
- assets/admin/js/vendor/bootstrap-toggle.min.js +9 -0
- assets/admin/js/vendor/chart.js.2.8.0.js +0 -0
- assets/admin/js/xml.js +417 -0
- assets/errors/css/main.css +336 -0
- assets/errors/images/bg-404.png +0 -0
- assets/errors/images/cat.gif +0 -0
- assets/errors/images/error-404.png +0 -0
- assets/errors/images/error-419.png +0 -0
- assets/errors/images/error-500.png +0 -0
- assets/errors/images/star-glow.png +0 -0
- assets/font/solaimanLipi_bold.ttf +0 -0
- assets/global/css/all.min.css +0 -0
- assets/global/css/bootstrap.min.css +0 -0
- assets/global/css/installer.css +748 -0
- assets/global/css/iziToast.min.css +6 -0
- assets/global/css/iziToast_custom.css +93 -0
- assets/global/css/line-awesome.min.css +1 -0
- assets/global/css/select2.min.css +1 -0
- assets/global/css/verification-code.css +170 -0
- assets/global/fonts/la-brands-400.eot +0 -0
- assets/global/fonts/la-brands-400.svg +0 -0
- assets/global/fonts/la-brands-400.ttf +0 -0
- assets/global/fonts/la-brands-400.woff +0 -0
.htaccess
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<IfModule mod_rewrite.c>
|
| 2 |
+
<IfModule mod_negotiation.c>
|
| 3 |
+
Options -MultiViews -Indexes
|
| 4 |
+
</IfModule>
|
| 5 |
+
|
| 6 |
+
RewriteEngine On
|
| 7 |
+
|
| 8 |
+
# Handle Authorization Header
|
| 9 |
+
RewriteCond %{HTTP:Authorization} .
|
| 10 |
+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
| 11 |
+
|
| 12 |
+
# Redirect Trailing Slashes If Not A Folder...
|
| 13 |
+
RewriteCond %{REQUEST_FILENAME} !-d
|
| 14 |
+
RewriteCond %{REQUEST_URI} (.+)/$
|
| 15 |
+
RewriteRule ^ %1 [L,R=301]
|
| 16 |
+
|
| 17 |
+
# Send Requests To Front Controller...
|
| 18 |
+
RewriteCond %{REQUEST_FILENAME} !-d
|
| 19 |
+
RewriteCond %{REQUEST_FILENAME} !-f
|
| 20 |
+
RewriteRule ^ index.php [L]
|
| 21 |
+
|
| 22 |
+
<Files .env>
|
| 23 |
+
Order allow,deny
|
| 24 |
+
Deny from all
|
| 25 |
+
</Files>
|
| 26 |
+
</IfModule>
|
assets/admin/css/app.css
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/css/codemirror.min.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5);-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error{color:red}.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:0}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror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select .list {
|
| 3 |
+
height: 0;
|
| 4 |
+
}
|
| 5 |
+
.nice-select.open .list {
|
| 6 |
+
height: auto;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
/* ============================ Setting Page Css End ============================== */
|
| 11 |
+
/* ================================= Product Response Page Css Start ====================== */
|
| 12 |
+
.product-response__wrapper {
|
| 13 |
+
background-color: hsl(var(--white));
|
| 14 |
+
padding: 32px 24px;
|
| 15 |
+
border-radius: 8px;
|
| 16 |
+
border: 1px solid hsl(var(--border-color));
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.product-response__content {
|
| 20 |
+
display: flex;
|
| 21 |
+
flex-wrap: wrap;
|
| 22 |
+
align-items: start;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
@media screen and (max-width: 767px) {
|
| 26 |
+
.product-response__content {
|
| 27 |
+
margin-bottom: 40px;
|
| 28 |
+
padding-bottom: 40px;
|
| 29 |
+
border-bottom: 1px dashed hsl(var(--border-color-dark));
|
| 30 |
+
border-bottom: 1px dashed hsl(var(--black) / 0.4);
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.product-response__content:last-child {
|
| 35 |
+
margin-bottom: 0;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.product-response__item {
|
| 39 |
+
width: calc(100% - 188px);
|
| 40 |
+
border-left: 1px solid hsl(var(--border-color));
|
| 41 |
+
margin-bottom: 1rem !important;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
@media screen and (max-width: 767px) {
|
| 45 |
+
.product-response__item {
|
| 46 |
+
width: 100%;
|
| 47 |
+
padding-left: 0;
|
| 48 |
+
border: 0;
|
| 49 |
+
border-top: 1px solid hsl(var(--border-color) / 0.6);
|
| 50 |
+
padding-top: 20px;
|
| 51 |
+
margin-top: 20px;
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
/* product reviewer css start */
|
| 56 |
+
.product-reviewer {
|
| 57 |
+
display: flex;
|
| 58 |
+
align-items: center;
|
| 59 |
+
flex-wrap: wrap;
|
| 60 |
+
width: 188px;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.product-reviewer__thumb {
|
| 64 |
+
width: 46px;
|
| 65 |
+
height: 46px;
|
| 66 |
+
border-radius: 50%;
|
| 67 |
+
overflow: hidden;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.product-reviewer__content {
|
| 71 |
+
width: calc(100% - 46px);
|
| 72 |
+
padding-left: 12px;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.product-reviewer__name {
|
| 76 |
+
font-size: 1rem;
|
| 77 |
+
margin-bottom: 0;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.product-reviewer__designation {
|
| 81 |
+
font-size: 0.875rem;
|
| 82 |
+
}
|
| 83 |
+
/* product reviewer css End */
|
| 84 |
+
/* Product Right Item Css Start */
|
| 85 |
+
.product-response-info {
|
| 86 |
+
margin-bottom: 32px;
|
| 87 |
+
border-bottom: 1px solid hsl(var(--border-color));
|
| 88 |
+
display: flex;
|
| 89 |
+
flex-wrap: wrap;
|
| 90 |
+
align-items: center;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
@media screen and (max-width: 767px) {
|
| 94 |
+
.product-response-info {
|
| 95 |
+
padding-bottom: 0;
|
| 96 |
+
border-bottom: 0;
|
| 97 |
+
margin-bottom: 24px;
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.product-response-info__thumb {
|
| 102 |
+
width: 56px;
|
| 103 |
+
height: 56px;
|
| 104 |
+
border-radius: 5px;
|
| 105 |
+
overflow: hidden;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.product-response-info__content {
|
| 109 |
+
width: calc(100% - 56px);
|
| 110 |
+
padding-left: 12px;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.product-response-info__name {
|
| 114 |
+
font-size: 1rem;
|
| 115 |
+
margin-bottom: 0;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
@media screen and (max-width: 767px) {
|
| 119 |
+
.product-response-info__name {
|
| 120 |
+
font-size: 0.875rem;
|
| 121 |
+
}
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.product-response-info__date {
|
| 125 |
+
font-size: 0.875rem;
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
.avatar-from-fav {
|
| 130 |
+
padding: 15px;
|
| 131 |
+
background: #cccccc;
|
| 132 |
+
filter: grayscale(1);
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
.product-response__content.activity .product-response__item {
|
| 137 |
+
margin-bottom: 1.2rem;
|
| 138 |
+
border-bottom: 1px solid hsl(var(--body-color) / 0.2);
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.product-response__content.activity .product-response-info__thumb {
|
| 142 |
+
border-radius: 50% !important;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
@media screen and (max-width: 767px) {
|
| 146 |
+
.product-response__content.activity .product-response__item {
|
| 147 |
+
border-top: 0;
|
| 148 |
+
padding-top: 0;
|
| 149 |
+
margin-top: 0;
|
| 150 |
+
}
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.empty_list img {
|
| 154 |
+
max-width: 100px;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
|
assets/admin/css/daterangepicker.css
ADDED
|
@@ -0,0 +1,437 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.daterangepicker {
|
| 2 |
+
position: absolute;
|
| 3 |
+
color: inherit;
|
| 4 |
+
background-color: #fff;
|
| 5 |
+
border-radius: 4px;
|
| 6 |
+
border: 1px solid #ddd;
|
| 7 |
+
width: 278px;
|
| 8 |
+
max-width: none;
|
| 9 |
+
padding: 0;
|
| 10 |
+
margin-top: 7px;
|
| 11 |
+
top: 100px;
|
| 12 |
+
left: 20px;
|
| 13 |
+
z-index: 3001;
|
| 14 |
+
display: none;
|
| 15 |
+
font-family: arial;
|
| 16 |
+
font-size: 15px;
|
| 17 |
+
line-height: 1em;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.daterangepicker:before,
|
| 21 |
+
.daterangepicker:after {
|
| 22 |
+
position: absolute;
|
| 23 |
+
display: inline-block;
|
| 24 |
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
| 25 |
+
content: '';
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.daterangepicker:before {
|
| 29 |
+
top: -7px;
|
| 30 |
+
border-right: 7px solid transparent;
|
| 31 |
+
border-left: 7px solid transparent;
|
| 32 |
+
border-bottom: 7px solid #ccc;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.daterangepicker:after {
|
| 36 |
+
top: -6px;
|
| 37 |
+
border-right: 6px solid transparent;
|
| 38 |
+
border-bottom: 6px solid #fff;
|
| 39 |
+
border-left: 6px solid transparent;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.daterangepicker.opensleft:before {
|
| 43 |
+
right: 9px;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.daterangepicker.opensleft:after {
|
| 47 |
+
right: 10px;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.daterangepicker.openscenter:before {
|
| 51 |
+
left: 0;
|
| 52 |
+
right: 0;
|
| 53 |
+
width: 0;
|
| 54 |
+
margin-left: auto;
|
| 55 |
+
margin-right: auto;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.daterangepicker.openscenter:after {
|
| 59 |
+
left: 0;
|
| 60 |
+
right: 0;
|
| 61 |
+
width: 0;
|
| 62 |
+
margin-left: auto;
|
| 63 |
+
margin-right: auto;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.daterangepicker.opensright:before {
|
| 67 |
+
left: 9px;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.daterangepicker.opensright:after {
|
| 71 |
+
left: 10px;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.daterangepicker.drop-up {
|
| 75 |
+
margin-top: -7px;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.daterangepicker.drop-up:before {
|
| 79 |
+
top: initial;
|
| 80 |
+
bottom: -7px;
|
| 81 |
+
border-bottom: initial;
|
| 82 |
+
border-top: 7px solid #ccc;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.daterangepicker.drop-up:after {
|
| 86 |
+
top: initial;
|
| 87 |
+
bottom: -6px;
|
| 88 |
+
border-bottom: initial;
|
| 89 |
+
border-top: 6px solid #fff;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.daterangepicker.single .daterangepicker .ranges,
|
| 93 |
+
.daterangepicker.single .drp-calendar {
|
| 94 |
+
float: none;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.daterangepicker.single .drp-selected {
|
| 98 |
+
display: none;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
.daterangepicker.show-calendar .drp-calendar {
|
| 102 |
+
display: block;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.daterangepicker.show-calendar .drp-buttons {
|
| 106 |
+
display: block;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.daterangepicker.auto-apply .drp-buttons {
|
| 110 |
+
display: none;
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
.daterangepicker .drp-calendar {
|
| 114 |
+
display: none;
|
| 115 |
+
max-width: 270px;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.daterangepicker .drp-calendar.left {
|
| 119 |
+
padding: 8px 0 8px 8px;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.daterangepicker .drp-calendar.right {
|
| 123 |
+
padding: 8px;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.daterangepicker .drp-calendar.single .calendar-table {
|
| 127 |
+
border: none;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.daterangepicker .calendar-table .next span,
|
| 131 |
+
.daterangepicker .calendar-table .prev span {
|
| 132 |
+
color: #fff;
|
| 133 |
+
border: solid black;
|
| 134 |
+
border-width: 0 2px 2px 0;
|
| 135 |
+
border-radius: 0;
|
| 136 |
+
display: inline-block;
|
| 137 |
+
padding: 3px;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
.daterangepicker .calendar-table .next span {
|
| 141 |
+
transform: rotate(-45deg);
|
| 142 |
+
-webkit-transform: rotate(-45deg);
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.daterangepicker .calendar-table .prev span {
|
| 146 |
+
transform: rotate(135deg);
|
| 147 |
+
-webkit-transform: rotate(135deg);
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.daterangepicker .calendar-table th,
|
| 151 |
+
.daterangepicker .calendar-table td {
|
| 152 |
+
white-space: nowrap;
|
| 153 |
+
text-align: center;
|
| 154 |
+
vertical-align: middle;
|
| 155 |
+
min-width: 32px;
|
| 156 |
+
width: 32px;
|
| 157 |
+
height: 24px;
|
| 158 |
+
line-height: 24px;
|
| 159 |
+
font-size: 12px;
|
| 160 |
+
border-radius: 4px;
|
| 161 |
+
border: 1px solid transparent;
|
| 162 |
+
white-space: nowrap;
|
| 163 |
+
cursor: pointer;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.daterangepicker .calendar-table {
|
| 167 |
+
border: 1px solid #fff;
|
| 168 |
+
border-radius: 4px;
|
| 169 |
+
background-color: #fff;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.daterangepicker .calendar-table table {
|
| 173 |
+
width: 100%;
|
| 174 |
+
margin: 0;
|
| 175 |
+
border-spacing: 0;
|
| 176 |
+
border-collapse: collapse;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
.daterangepicker td.available:hover,
|
| 180 |
+
.daterangepicker th.available:hover {
|
| 181 |
+
background-color: #eee;
|
| 182 |
+
border-color: transparent;
|
| 183 |
+
color: inherit;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.daterangepicker td.week,
|
| 187 |
+
.daterangepicker th.week {
|
| 188 |
+
font-size: 80%;
|
| 189 |
+
color: #ccc;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
.daterangepicker td.off,
|
| 193 |
+
.daterangepicker td.off.in-range,
|
| 194 |
+
.daterangepicker td.off.start-date,
|
| 195 |
+
.daterangepicker td.off.end-date {
|
| 196 |
+
background-color: #fff;
|
| 197 |
+
border-color: transparent;
|
| 198 |
+
color: #999;
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
.daterangepicker td.in-range {
|
| 202 |
+
background-color: #ebf4f8;
|
| 203 |
+
border-color: transparent;
|
| 204 |
+
color: #000;
|
| 205 |
+
border-radius: 0;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.daterangepicker td.start-date {
|
| 209 |
+
border-radius: 4px 0 0 4px;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.daterangepicker td.end-date {
|
| 213 |
+
border-radius: 0 4px 4px 0;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.daterangepicker td.start-date.end-date {
|
| 217 |
+
border-radius: 4px;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.daterangepicker td.active,
|
| 221 |
+
.daterangepicker td.active:hover {
|
| 222 |
+
background-color: #357ebd;
|
| 223 |
+
border-color: transparent;
|
| 224 |
+
color: #fff;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.daterangepicker th.month {
|
| 228 |
+
width: auto;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
.daterangepicker td.disabled,
|
| 232 |
+
.daterangepicker option.disabled {
|
| 233 |
+
color: #999;
|
| 234 |
+
cursor: not-allowed;
|
| 235 |
+
text-decoration: line-through;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
.daterangepicker select.monthselect,
|
| 239 |
+
.daterangepicker select.yearselect {
|
| 240 |
+
font-size: 12px;
|
| 241 |
+
padding: 1px;
|
| 242 |
+
height: auto;
|
| 243 |
+
margin: 0;
|
| 244 |
+
cursor: default;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.daterangepicker select.monthselect {
|
| 248 |
+
margin-right: 2%;
|
| 249 |
+
width: 56%;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
.daterangepicker select.yearselect {
|
| 253 |
+
width: 40%;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.daterangepicker select.hourselect,
|
| 257 |
+
.daterangepicker select.minuteselect,
|
| 258 |
+
.daterangepicker select.secondselect,
|
| 259 |
+
.daterangepicker select.ampmselect {
|
| 260 |
+
width: 50px;
|
| 261 |
+
margin: 0 auto;
|
| 262 |
+
background: #eee;
|
| 263 |
+
border: 1px solid #eee;
|
| 264 |
+
padding: 2px;
|
| 265 |
+
outline: 0;
|
| 266 |
+
font-size: 12px;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
.daterangepicker .calendar-time {
|
| 270 |
+
text-align: center;
|
| 271 |
+
margin: 4px auto 0 auto;
|
| 272 |
+
line-height: 30px;
|
| 273 |
+
position: relative;
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
.daterangepicker .calendar-time select.disabled {
|
| 277 |
+
color: #ccc;
|
| 278 |
+
cursor: not-allowed;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.daterangepicker .drp-buttons {
|
| 282 |
+
clear: both;
|
| 283 |
+
text-align: right;
|
| 284 |
+
padding: 8px;
|
| 285 |
+
border-top: 1px solid #ddd;
|
| 286 |
+
display: none;
|
| 287 |
+
line-height: 12px;
|
| 288 |
+
vertical-align: middle;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.daterangepicker .drp-selected {
|
| 292 |
+
display: inline-block;
|
| 293 |
+
font-size: 12px;
|
| 294 |
+
padding-right: 8px;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
.daterangepicker .drp-buttons .btn {
|
| 298 |
+
margin-left: 8px;
|
| 299 |
+
font-size: 12px;
|
| 300 |
+
font-weight: bold;
|
| 301 |
+
padding: 4px 8px;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.daterangepicker.show-ranges.single.rtl .drp-calendar.left {
|
| 305 |
+
border-right: 1px solid #ddd;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.daterangepicker.show-ranges.single.ltr .drp-calendar.left {
|
| 309 |
+
border-left: 1px solid #ddd;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.daterangepicker.show-ranges.rtl .drp-calendar.right {
|
| 313 |
+
border-right: 1px solid #ddd;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.daterangepicker.show-ranges.ltr .drp-calendar.left {
|
| 317 |
+
border-left: 1px solid #ddd;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.daterangepicker .ranges {
|
| 321 |
+
float: none;
|
| 322 |
+
text-align: left;
|
| 323 |
+
margin: 0;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.daterangepicker.show-calendar .ranges {
|
| 327 |
+
margin-top: 8px;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.daterangepicker .ranges ul {
|
| 331 |
+
list-style: none;
|
| 332 |
+
margin: 0 auto;
|
| 333 |
+
padding: 0;
|
| 334 |
+
width: 100%;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
.daterangepicker .ranges li {
|
| 338 |
+
font-size: 12px;
|
| 339 |
+
padding: 8px 12px;
|
| 340 |
+
cursor: pointer;
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
.daterangepicker .ranges li:hover {
|
| 344 |
+
background-color: #eee;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
.daterangepicker .ranges li.active {
|
| 348 |
+
background-color: #08c;
|
| 349 |
+
color: #fff;
|
| 350 |
+
}
|
| 351 |
+
|
| 352 |
+
/* Larger Screen Styling */
|
| 353 |
+
@media (min-width: 564px) {
|
| 354 |
+
.daterangepicker {
|
| 355 |
+
width: auto;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.daterangepicker .ranges ul {
|
| 359 |
+
width: 140px;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.daterangepicker.single .ranges ul {
|
| 363 |
+
width: 100%;
|
| 364 |
+
}
|
| 365 |
+
|
| 366 |
+
.daterangepicker.single .drp-calendar.left {
|
| 367 |
+
clear: none;
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
.daterangepicker.single .ranges,
|
| 371 |
+
.daterangepicker.single .drp-calendar {
|
| 372 |
+
float: left;
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
.daterangepicker {
|
| 376 |
+
direction: ltr;
|
| 377 |
+
text-align: left;
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
.daterangepicker .drp-calendar.left {
|
| 381 |
+
clear: left;
|
| 382 |
+
margin-right: 0;
|
| 383 |
+
}
|
| 384 |
+
|
| 385 |
+
.daterangepicker .drp-calendar.left .calendar-table {
|
| 386 |
+
border-right: none;
|
| 387 |
+
border-top-right-radius: 0;
|
| 388 |
+
border-bottom-right-radius: 0;
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
.daterangepicker .drp-calendar.right {
|
| 392 |
+
margin-left: 0;
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.daterangepicker .drp-calendar.right .calendar-table {
|
| 396 |
+
border-left: none;
|
| 397 |
+
border-top-left-radius: 0;
|
| 398 |
+
border-bottom-left-radius: 0;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
.daterangepicker .drp-calendar.left .calendar-table {
|
| 402 |
+
padding-right: 8px;
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
.daterangepicker .ranges,
|
| 406 |
+
.daterangepicker .drp-calendar {
|
| 407 |
+
float: left;
|
| 408 |
+
}
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
@media (min-width: 730px) {
|
| 412 |
+
.daterangepicker .ranges {
|
| 413 |
+
width: auto;
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
.daterangepicker .ranges {
|
| 417 |
+
float: left;
|
| 418 |
+
}
|
| 419 |
+
|
| 420 |
+
.daterangepicker.rtl .ranges {
|
| 421 |
+
float: right;
|
| 422 |
+
}
|
| 423 |
+
|
| 424 |
+
.daterangepicker .drp-calendar.left {
|
| 425 |
+
clear: none !important;
|
| 426 |
+
}
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.daterangepicker td.active,
|
| 430 |
+
.daterangepicker td.active:hover,
|
| 431 |
+
.daterangepicker .ranges li.active {
|
| 432 |
+
background-color: #4634FF !important;
|
| 433 |
+
}
|
| 434 |
+
|
| 435 |
+
.cancelBtn.btn:hover:hover{
|
| 436 |
+
color: #000 !important;
|
| 437 |
+
}
|
assets/admin/css/fontawesome-iconpicker.min.css
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
* Font Awesome Icon Picker
|
| 3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
| 4 |
+
*
|
| 5 |
+
* @author Javi Aguilar, itsjavi.com
|
| 6 |
+
* @license MIT License
|
| 7 |
+
* @see https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
| 8 |
+
*/.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:234px;background:#f7f7f7;z-index:9}.iconpicker-popover.popover.top,.iconpicker-popover.popover.topLeftCorner,.iconpicker-popover.popover.topLeft,.iconpicker-popover.popover.topRight,.iconpicker-popover.popover.topRightCorner{margin-top:-10px}.iconpicker-popover.popover.right,.iconpicker-popover.popover.rightTop,.iconpicker-popover.popover.rightBottom{margin-left:10px}.iconpicker-popover.popover.bottom,.iconpicker-popover.popover.bottomRightCorner,.iconpicker-popover.popover.bottomRight,.iconpicker-popover.popover.bottomLeft,.iconpicker-popover.popover.bottomLeftCorner{margin-top:10px}.iconpicker-popover.popover.left,.iconpicker-popover.popover.leftBottom,.iconpicker-popover.popover.leftTop{margin-left:-10px}.iconpicker-popover.popover.inline{margin:0 0 12px 0;position:relative;display:inline-block;opacity:1;top:auto;left:auto;bottom:auto;right:auto;max-width:100%;box-shadow:none;z-index:auto;vertical-align:top}.iconpicker-popover.popover.inline>.arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:12px;font-size:13px;line-height:15px;border-bottom:1px solid #ebebeb;background-color:#f7f7f7}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px 0}.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search{margin-top:12px}.iconpicker-popover.popover .popover-content{padding:0px;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:12px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#f7f7f7}.iconpicker-popover .popover-footer:before,.iconpicker-popover .popover-footer:after{content:" ";display:table}.iconpicker-popover .popover-footer:after{clear:both}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:12px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.iconpicker-popover.popover.topLeft>.arrow{left:8px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:8px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightTop>.arrow,.iconpicker-popover.popover.rightBottom>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,0.25)}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:8px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:8px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomRight>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.iconpicker-popover.popover.bottomLeft>.arrow{left:8px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:8px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,0.25)}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:8px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:8px;margin-top:0}.iconpicker{position:relative;text-align:left;text-shadow:none;line-height:0;display:block;margin:0;overflow:hidden}.iconpicker *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;position:relative}.iconpicker:before,.iconpicker:after{content:" ";display:table}.iconpicker:after{clear:both}.iconpicker .iconpicker-items{position:relative;clear:both;float:none;padding:12px 0 0 12px;background:#fff;margin:0;overflow:hidden;overflow-y:auto;min-height:49px;max-height:246px}.iconpicker .iconpicker-items:before,.iconpicker .iconpicker-items:after{content:" ";display:table}.iconpicker .iconpicker-items:after{clear:both}.iconpicker .iconpicker-item{float:left;width:14px;height:14px;padding:12px;margin:0 12px 12px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:14px;box-shadow:0 0 0 1px #ddd;color:inherit}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;color:#fff;background:#000}.iconpicker-component{cursor:pointer}
|
assets/admin/css/monokai.min.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom{color:#ae81ff}.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-comment.cm-attribute{color:#97b757}.cm-s-monokai span.cm-comment.cm-def{color:#bc9262}.cm-s-monokai span.cm-comment.cm-tag{color:#bc6283}.cm-s-monokai span.cm-comment.cm-type{color:#5998a6}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-type,.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header{color:#ae81ff}.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}
|
assets/admin/css/reset.css
ADDED
|
@@ -0,0 +1,1445 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* reset css start */
|
| 2 |
+
html {
|
| 3 |
+
scroll-behavior: smooth;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
body {
|
| 7 |
+
font-family: "Poppins", sans-serif;
|
| 8 |
+
font-size: 1rem;
|
| 9 |
+
padding: 0;
|
| 10 |
+
margin: 0;
|
| 11 |
+
font-weight: 400;
|
| 12 |
+
position: relative;
|
| 13 |
+
background-color: #f3f3f9;
|
| 14 |
+
word-break: break-word;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
a {
|
| 18 |
+
text-decoration: none;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
img {
|
| 22 |
+
max-width: 100%;
|
| 23 |
+
height: auto;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
ul,
|
| 27 |
+
ol {
|
| 28 |
+
padding: 0;
|
| 29 |
+
margin: 0;
|
| 30 |
+
list-style: none;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
button {
|
| 34 |
+
cursor: pointer;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
*:focus {
|
| 38 |
+
outline: none;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
button {
|
| 42 |
+
border: none;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
button:focus {
|
| 46 |
+
outline: none;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
a span {
|
| 50 |
+
color: #007bff;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
a:hover,
|
| 54 |
+
a span:hover {
|
| 55 |
+
text-decoration: none;
|
| 56 |
+
color: #4634ff;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
table {
|
| 60 |
+
width: 100%;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
p,
|
| 64 |
+
li,
|
| 65 |
+
span {
|
| 66 |
+
color: #5b6e88;
|
| 67 |
+
margin-bottom: 0;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
/* reset css end */
|
| 71 |
+
|
| 72 |
+
/* default margin css start */
|
| 73 |
+
|
| 74 |
+
.my-5 {
|
| 75 |
+
margin: 5px 0;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.my-10 {
|
| 79 |
+
margin: 10px 0;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.my-15 {
|
| 83 |
+
margin: 15px 0;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.my-20 {
|
| 87 |
+
margin: 20px 0;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.my-25 {
|
| 91 |
+
margin: 25px 0;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.my-30 {
|
| 95 |
+
margin: 30px 0;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.my-35 {
|
| 99 |
+
margin: 35px 0;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.my-40 {
|
| 103 |
+
margin: 40px 0;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.my-45 {
|
| 107 |
+
margin: 45px 0;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.my-50 {
|
| 111 |
+
margin: 50px 0;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.my-55 {
|
| 115 |
+
margin: 55px 0;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.my-60 {
|
| 119 |
+
margin: 60px 0;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.my-65 {
|
| 123 |
+
margin: 65px 0;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.my-70 {
|
| 127 |
+
margin: 70px 0;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.my-75 {
|
| 131 |
+
margin: 75px 0;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
.my-80 {
|
| 135 |
+
margin: 80px 0;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
.my-85 {
|
| 139 |
+
margin: 85px 0;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.my-90 {
|
| 143 |
+
margin: 90px 0;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.my-95 {
|
| 147 |
+
margin: 95px 0;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
.my-100 {
|
| 151 |
+
margin: 100px 0;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.mx-5 {
|
| 155 |
+
margin: 0 5px;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.mx-10 {
|
| 159 |
+
margin: 0 10px;
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
.mx-15 {
|
| 163 |
+
margin: 0 15px;
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
.mx-20 {
|
| 167 |
+
margin: 0 20px;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
.mx-25 {
|
| 171 |
+
margin: 0 25px;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
.mx-30 {
|
| 175 |
+
margin: 0 30px;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.mx-35 {
|
| 179 |
+
margin: 0 35px;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.mx-40 {
|
| 183 |
+
margin: 0 40px;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.mx-45 {
|
| 187 |
+
margin: 0 45px;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.mx-50 {
|
| 191 |
+
margin: 0 50px;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.mx-55 {
|
| 195 |
+
margin: 0 55px;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
.mx-60 {
|
| 199 |
+
margin: 0 60px;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
.mx-65 {
|
| 203 |
+
margin: 0 65px;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
.mx-70 {
|
| 207 |
+
margin: 0 70px;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
.mx-75 {
|
| 211 |
+
margin: 0 75px;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
.mx-80 {
|
| 215 |
+
margin: 0 80px;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
.mx-85 {
|
| 219 |
+
margin: 0 85px;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.mx-90 {
|
| 223 |
+
margin: 0 90px;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.mx-95 {
|
| 227 |
+
margin: 0 95px;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.mx-100 {
|
| 231 |
+
margin: 0 100px;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.mt-5 {
|
| 235 |
+
margin-top: 5px;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
.mt-10 {
|
| 239 |
+
margin-top: 10px;
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
.mt-15 {
|
| 243 |
+
margin-top: 15px;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.mt-20 {
|
| 247 |
+
margin-top: 20px;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.mt-25 {
|
| 251 |
+
margin-top: 25px;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
.mt-30 {
|
| 255 |
+
margin-top: 30px;
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
+
.mt-35 {
|
| 259 |
+
margin-top: 35px;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.mt-40 {
|
| 263 |
+
margin-top: 40px;
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
.mt-45 {
|
| 267 |
+
margin-top: 45px;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.mt-50 {
|
| 271 |
+
margin-top: 50px;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.mt-55 {
|
| 275 |
+
margin-top: 55px;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.mt-60 {
|
| 279 |
+
margin-top: 60px;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.mt-65 {
|
| 283 |
+
margin-top: 65px;
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.mt-70 {
|
| 287 |
+
margin-top: 70px;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
.mt-75 {
|
| 291 |
+
margin-top: 75px;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
.mt-80 {
|
| 295 |
+
margin-top: 80px;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.mt-85 {
|
| 299 |
+
margin-top: 85px;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.mt-90 {
|
| 303 |
+
margin-top: 90px;
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
.mt-95 {
|
| 307 |
+
margin-top: 95px;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.mt-100 {
|
| 311 |
+
margin-top: 100px;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
.mb-5 {
|
| 315 |
+
margin-bottom: 5px;
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
.mb-10 {
|
| 319 |
+
margin-bottom: 10px;
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
.mb-15 {
|
| 323 |
+
margin-bottom: 15px;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
+
.mb-20 {
|
| 327 |
+
margin-bottom: 20px;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.mb-25 {
|
| 331 |
+
margin-bottom: 25px;
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
.mb-30 {
|
| 335 |
+
margin-bottom: 30px;
|
| 336 |
+
}
|
| 337 |
+
|
| 338 |
+
.mb-35 {
|
| 339 |
+
margin-bottom: 35px;
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.mb-40 {
|
| 343 |
+
margin-bottom: 40px;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.mb-45 {
|
| 347 |
+
margin-bottom: 45px;
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
.mb-50 {
|
| 351 |
+
margin-bottom: 50px;
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
.mb-55 {
|
| 355 |
+
margin-bottom: 55px;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.mb-60 {
|
| 359 |
+
margin-bottom: 60px;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.mb-65 {
|
| 363 |
+
margin-bottom: 65px;
|
| 364 |
+
}
|
| 365 |
+
|
| 366 |
+
.mb-70 {
|
| 367 |
+
margin-bottom: 70px;
|
| 368 |
+
}
|
| 369 |
+
|
| 370 |
+
.mb-75 {
|
| 371 |
+
margin-bottom: 75px;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.mb-80 {
|
| 375 |
+
margin-bottom: 80px;
|
| 376 |
+
}
|
| 377 |
+
|
| 378 |
+
.mb-85 {
|
| 379 |
+
margin-bottom: 85px;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
.mb-90 {
|
| 383 |
+
margin-bottom: 90px;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
.mb-95 {
|
| 387 |
+
margin-bottom: 95px;
|
| 388 |
+
}
|
| 389 |
+
|
| 390 |
+
.mb-100 {
|
| 391 |
+
margin-bottom: 100px;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
.ms-5 {
|
| 395 |
+
margin-left: 5px;
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.ms-10 {
|
| 399 |
+
margin-left: 10px;
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.ms-15 {
|
| 403 |
+
margin-left: 15px;
|
| 404 |
+
}
|
| 405 |
+
|
| 406 |
+
.ms-20 {
|
| 407 |
+
margin-left: 20px;
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
.ms-25 {
|
| 411 |
+
margin-left: 25px;
|
| 412 |
+
}
|
| 413 |
+
|
| 414 |
+
.ms-30 {
|
| 415 |
+
margin-left: 30px;
|
| 416 |
+
}
|
| 417 |
+
|
| 418 |
+
.ms-35 {
|
| 419 |
+
margin-left: 35px;
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
.ms-40 {
|
| 423 |
+
margin-left: 40px;
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
.ms-45 {
|
| 427 |
+
margin-left: 45px;
|
| 428 |
+
}
|
| 429 |
+
|
| 430 |
+
.ms-50 {
|
| 431 |
+
margin-left: 50px;
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
.ms-55 {
|
| 435 |
+
margin-left: 55px;
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
.ms-60 {
|
| 439 |
+
margin-left: 60px;
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
.ms-65 {
|
| 443 |
+
margin-left: 65px;
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
.ms-70 {
|
| 447 |
+
margin-left: 70px;
|
| 448 |
+
}
|
| 449 |
+
|
| 450 |
+
.ms-75 {
|
| 451 |
+
margin-left: 75px;
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
.ms-80 {
|
| 455 |
+
margin-left: 80px;
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
.ms-85 {
|
| 459 |
+
margin-left: 85px;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
.ms-90 {
|
| 463 |
+
margin-left: 90px;
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
.ms-95 {
|
| 467 |
+
margin-left: 95px;
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
.ms-100 {
|
| 471 |
+
margin-left: 100px;
|
| 472 |
+
}
|
| 473 |
+
|
| 474 |
+
.me-5 {
|
| 475 |
+
margin-right: 5px;
|
| 476 |
+
}
|
| 477 |
+
|
| 478 |
+
.me-10 {
|
| 479 |
+
margin-right: 10px;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.me-15 {
|
| 483 |
+
margin-right: 15px;
|
| 484 |
+
}
|
| 485 |
+
|
| 486 |
+
.me-20 {
|
| 487 |
+
margin-right: 20px;
|
| 488 |
+
}
|
| 489 |
+
|
| 490 |
+
.me-25 {
|
| 491 |
+
margin-right: 25px;
|
| 492 |
+
}
|
| 493 |
+
|
| 494 |
+
.me-30 {
|
| 495 |
+
margin-right: 30px;
|
| 496 |
+
}
|
| 497 |
+
|
| 498 |
+
.me-35 {
|
| 499 |
+
margin-right: 35px;
|
| 500 |
+
}
|
| 501 |
+
|
| 502 |
+
.me-40 {
|
| 503 |
+
margin-right: 40px;
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
.me-45 {
|
| 507 |
+
margin-right: 45px;
|
| 508 |
+
}
|
| 509 |
+
|
| 510 |
+
.me-50 {
|
| 511 |
+
margin-right: 50px;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.me-55 {
|
| 515 |
+
margin-right: 55px;
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
.me-60 {
|
| 519 |
+
margin-right: 60px;
|
| 520 |
+
}
|
| 521 |
+
|
| 522 |
+
.me-65 {
|
| 523 |
+
margin-right: 65px;
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
.me-70 {
|
| 527 |
+
margin-right: 70px;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
.me-75 {
|
| 531 |
+
margin-right: 75px;
|
| 532 |
+
}
|
| 533 |
+
|
| 534 |
+
.me-80 {
|
| 535 |
+
margin-right: 80px;
|
| 536 |
+
}
|
| 537 |
+
|
| 538 |
+
.me-85 {
|
| 539 |
+
margin-right: 85px;
|
| 540 |
+
}
|
| 541 |
+
|
| 542 |
+
.me-90 {
|
| 543 |
+
margin-right: 90px;
|
| 544 |
+
}
|
| 545 |
+
|
| 546 |
+
.me-95 {
|
| 547 |
+
margin-right: 95px;
|
| 548 |
+
}
|
| 549 |
+
|
| 550 |
+
.me-100 {
|
| 551 |
+
margin-right: 100px;
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
.my-none-5 {
|
| 555 |
+
margin: -5px 0;
|
| 556 |
+
}
|
| 557 |
+
|
| 558 |
+
.my-none-10 {
|
| 559 |
+
margin: -10px 0;
|
| 560 |
+
}
|
| 561 |
+
|
| 562 |
+
.my-none-15 {
|
| 563 |
+
margin: -15px 0;
|
| 564 |
+
}
|
| 565 |
+
|
| 566 |
+
.my-none-20 {
|
| 567 |
+
margin: -20px 0;
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
.my-none-25 {
|
| 571 |
+
margin: -25px 0;
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
.my-none-30 {
|
| 575 |
+
margin: -30px 0;
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
.my-none-35 {
|
| 579 |
+
margin: -35px 0;
|
| 580 |
+
}
|
| 581 |
+
|
| 582 |
+
.my-none-40 {
|
| 583 |
+
margin: -40px 0;
|
| 584 |
+
}
|
| 585 |
+
|
| 586 |
+
.my-none-45 {
|
| 587 |
+
margin: -45px 0;
|
| 588 |
+
}
|
| 589 |
+
|
| 590 |
+
.my-none-50 {
|
| 591 |
+
margin: -50px 0;
|
| 592 |
+
}
|
| 593 |
+
|
| 594 |
+
.mx-none-5 {
|
| 595 |
+
margin: 0 -5px;
|
| 596 |
+
}
|
| 597 |
+
|
| 598 |
+
.mx-none-10 {
|
| 599 |
+
margin: 0 -10px;
|
| 600 |
+
}
|
| 601 |
+
|
| 602 |
+
.mx-none-15 {
|
| 603 |
+
margin: 0 -15px;
|
| 604 |
+
}
|
| 605 |
+
|
| 606 |
+
.mx-none-20 {
|
| 607 |
+
margin: 0 -20px;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
.mx-none-25 {
|
| 611 |
+
margin: 0 -25px;
|
| 612 |
+
}
|
| 613 |
+
|
| 614 |
+
.mx-none-30 {
|
| 615 |
+
margin: 0 -30px;
|
| 616 |
+
}
|
| 617 |
+
|
| 618 |
+
.mx-none-35 {
|
| 619 |
+
margin: 0 -35px;
|
| 620 |
+
}
|
| 621 |
+
|
| 622 |
+
.mx-none-40 {
|
| 623 |
+
margin: 0 -40px;
|
| 624 |
+
}
|
| 625 |
+
|
| 626 |
+
.mx-none-45 {
|
| 627 |
+
margin: 0 -45px;
|
| 628 |
+
}
|
| 629 |
+
|
| 630 |
+
.mx-none-50 {
|
| 631 |
+
margin: 0 -50px;
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
.mt-none-5 {
|
| 635 |
+
margin-top: -5px;
|
| 636 |
+
}
|
| 637 |
+
|
| 638 |
+
.mt-none-10 {
|
| 639 |
+
margin-top: -10px;
|
| 640 |
+
}
|
| 641 |
+
|
| 642 |
+
.mt-none-15 {
|
| 643 |
+
margin-top: -15px;
|
| 644 |
+
}
|
| 645 |
+
|
| 646 |
+
.mt-none-20 {
|
| 647 |
+
margin-top: -20px;
|
| 648 |
+
}
|
| 649 |
+
|
| 650 |
+
.mt-none-25 {
|
| 651 |
+
margin-top: -25px;
|
| 652 |
+
}
|
| 653 |
+
|
| 654 |
+
.mt-none-30 {
|
| 655 |
+
margin-top: -30px;
|
| 656 |
+
}
|
| 657 |
+
|
| 658 |
+
.mt-none-35 {
|
| 659 |
+
margin-top: -35px;
|
| 660 |
+
}
|
| 661 |
+
|
| 662 |
+
.mt-none-40 {
|
| 663 |
+
margin-top: -40px;
|
| 664 |
+
}
|
| 665 |
+
|
| 666 |
+
.mt-none-45 {
|
| 667 |
+
margin-top: -45px;
|
| 668 |
+
}
|
| 669 |
+
|
| 670 |
+
.mt-none-50 {
|
| 671 |
+
margin-top: -50px;
|
| 672 |
+
}
|
| 673 |
+
|
| 674 |
+
.mb-none-5 {
|
| 675 |
+
margin-bottom: -5px;
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
.mb-none-10 {
|
| 679 |
+
margin-bottom: -10px;
|
| 680 |
+
}
|
| 681 |
+
|
| 682 |
+
.mb-none-15 {
|
| 683 |
+
margin-bottom: -15px;
|
| 684 |
+
}
|
| 685 |
+
|
| 686 |
+
.mb-none-20 {
|
| 687 |
+
margin-bottom: -20px;
|
| 688 |
+
}
|
| 689 |
+
|
| 690 |
+
.mb-none-25 {
|
| 691 |
+
margin-bottom: -25px;
|
| 692 |
+
}
|
| 693 |
+
|
| 694 |
+
.mb-none-30 {
|
| 695 |
+
margin-bottom: -30px;
|
| 696 |
+
}
|
| 697 |
+
|
| 698 |
+
.mb-none-35 {
|
| 699 |
+
margin-bottom: -35px;
|
| 700 |
+
}
|
| 701 |
+
|
| 702 |
+
.mb-none-40 {
|
| 703 |
+
margin-bottom: -40px;
|
| 704 |
+
}
|
| 705 |
+
|
| 706 |
+
.mb-none-45 {
|
| 707 |
+
margin-bottom: -45px;
|
| 708 |
+
}
|
| 709 |
+
|
| 710 |
+
.mb-none-50 {
|
| 711 |
+
margin-bottom: -50px;
|
| 712 |
+
}
|
| 713 |
+
|
| 714 |
+
/* default margin css end */
|
| 715 |
+
/* default padding css start */
|
| 716 |
+
.py-5 {
|
| 717 |
+
padding: 5px 0;
|
| 718 |
+
}
|
| 719 |
+
|
| 720 |
+
.py-10 {
|
| 721 |
+
padding: 10px 0;
|
| 722 |
+
}
|
| 723 |
+
|
| 724 |
+
.py-15 {
|
| 725 |
+
padding: 15px 0;
|
| 726 |
+
}
|
| 727 |
+
|
| 728 |
+
.py-20 {
|
| 729 |
+
padding: 20px 0;
|
| 730 |
+
}
|
| 731 |
+
|
| 732 |
+
.py-25 {
|
| 733 |
+
padding: 25px 0;
|
| 734 |
+
}
|
| 735 |
+
|
| 736 |
+
.py-30 {
|
| 737 |
+
padding: 30px 0;
|
| 738 |
+
}
|
| 739 |
+
|
| 740 |
+
.py-35 {
|
| 741 |
+
padding: 35px 0;
|
| 742 |
+
}
|
| 743 |
+
|
| 744 |
+
.py-40 {
|
| 745 |
+
padding: 40px 0;
|
| 746 |
+
}
|
| 747 |
+
|
| 748 |
+
.py-45 {
|
| 749 |
+
padding: 45px 0;
|
| 750 |
+
}
|
| 751 |
+
|
| 752 |
+
.py-50 {
|
| 753 |
+
padding: 50px 0;
|
| 754 |
+
}
|
| 755 |
+
|
| 756 |
+
.py-55 {
|
| 757 |
+
padding: 55px 0;
|
| 758 |
+
}
|
| 759 |
+
|
| 760 |
+
.py-60 {
|
| 761 |
+
padding: 60px 0;
|
| 762 |
+
}
|
| 763 |
+
|
| 764 |
+
.py-65 {
|
| 765 |
+
padding: 65px 0;
|
| 766 |
+
}
|
| 767 |
+
|
| 768 |
+
.py-70 {
|
| 769 |
+
padding: 70px 0;
|
| 770 |
+
}
|
| 771 |
+
|
| 772 |
+
.py-75 {
|
| 773 |
+
padding: 75px 0;
|
| 774 |
+
}
|
| 775 |
+
|
| 776 |
+
.py-80 {
|
| 777 |
+
padding: 80px 0;
|
| 778 |
+
}
|
| 779 |
+
|
| 780 |
+
.py-85 {
|
| 781 |
+
padding: 85px 0;
|
| 782 |
+
}
|
| 783 |
+
|
| 784 |
+
.py-90 {
|
| 785 |
+
padding: 90px 0;
|
| 786 |
+
}
|
| 787 |
+
|
| 788 |
+
.py-95 {
|
| 789 |
+
padding: 95px 0;
|
| 790 |
+
}
|
| 791 |
+
|
| 792 |
+
.py-100 {
|
| 793 |
+
padding: 100px 0;
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
.py-105 {
|
| 797 |
+
padding: 105px 0;
|
| 798 |
+
}
|
| 799 |
+
|
| 800 |
+
.py-110 {
|
| 801 |
+
padding: 110px 0;
|
| 802 |
+
}
|
| 803 |
+
|
| 804 |
+
.py-115 {
|
| 805 |
+
padding: 100px 0;
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
.py-120 {
|
| 809 |
+
padding: 115px 0;
|
| 810 |
+
}
|
| 811 |
+
|
| 812 |
+
.py-125 {
|
| 813 |
+
padding: 125px 0;
|
| 814 |
+
}
|
| 815 |
+
|
| 816 |
+
.py-130 {
|
| 817 |
+
padding: 130px 0;
|
| 818 |
+
}
|
| 819 |
+
|
| 820 |
+
.py-135 {
|
| 821 |
+
padding: 135px 0;
|
| 822 |
+
}
|
| 823 |
+
|
| 824 |
+
.py-140 {
|
| 825 |
+
padding: 140px 0;
|
| 826 |
+
}
|
| 827 |
+
|
| 828 |
+
.py-145 {
|
| 829 |
+
padding: 145px 0;
|
| 830 |
+
}
|
| 831 |
+
|
| 832 |
+
.py-150 {
|
| 833 |
+
padding: 150px 0;
|
| 834 |
+
}
|
| 835 |
+
|
| 836 |
+
.px-5 {
|
| 837 |
+
padding: 0 5px;
|
| 838 |
+
}
|
| 839 |
+
|
| 840 |
+
.px-10 {
|
| 841 |
+
padding: 0 10px;
|
| 842 |
+
}
|
| 843 |
+
|
| 844 |
+
.px-15 {
|
| 845 |
+
padding: 0 15px;
|
| 846 |
+
}
|
| 847 |
+
|
| 848 |
+
.px-20 {
|
| 849 |
+
padding: 0 20px;
|
| 850 |
+
}
|
| 851 |
+
|
| 852 |
+
.px-25 {
|
| 853 |
+
padding: 0 25px;
|
| 854 |
+
}
|
| 855 |
+
|
| 856 |
+
.px-30 {
|
| 857 |
+
padding: 0 30px;
|
| 858 |
+
}
|
| 859 |
+
|
| 860 |
+
.px-35 {
|
| 861 |
+
padding: 0 35px;
|
| 862 |
+
}
|
| 863 |
+
|
| 864 |
+
.px-40 {
|
| 865 |
+
padding: 0 40px;
|
| 866 |
+
}
|
| 867 |
+
|
| 868 |
+
.px-45 {
|
| 869 |
+
padding: 0 45px;
|
| 870 |
+
}
|
| 871 |
+
|
| 872 |
+
.px-50 {
|
| 873 |
+
padding: 0 50px;
|
| 874 |
+
}
|
| 875 |
+
|
| 876 |
+
.px-55 {
|
| 877 |
+
padding: 0 55px;
|
| 878 |
+
}
|
| 879 |
+
|
| 880 |
+
.px-60 {
|
| 881 |
+
padding: 0 60px;
|
| 882 |
+
}
|
| 883 |
+
|
| 884 |
+
.px-65 {
|
| 885 |
+
padding: 0 65px;
|
| 886 |
+
}
|
| 887 |
+
|
| 888 |
+
.px-70 {
|
| 889 |
+
padding: 0 70px;
|
| 890 |
+
}
|
| 891 |
+
|
| 892 |
+
.px-75 {
|
| 893 |
+
padding: 0 75px;
|
| 894 |
+
}
|
| 895 |
+
|
| 896 |
+
.px-80 {
|
| 897 |
+
padding: 0 80px;
|
| 898 |
+
}
|
| 899 |
+
|
| 900 |
+
.px-85 {
|
| 901 |
+
padding: 0 85px;
|
| 902 |
+
}
|
| 903 |
+
|
| 904 |
+
.px-90 {
|
| 905 |
+
padding: 0 90px;
|
| 906 |
+
}
|
| 907 |
+
|
| 908 |
+
.px-95 {
|
| 909 |
+
padding: 0 95px;
|
| 910 |
+
}
|
| 911 |
+
|
| 912 |
+
.px-100 {
|
| 913 |
+
padding: 0 100px;
|
| 914 |
+
}
|
| 915 |
+
|
| 916 |
+
.px-105 {
|
| 917 |
+
padding: 0 105px;
|
| 918 |
+
}
|
| 919 |
+
|
| 920 |
+
.px-110 {
|
| 921 |
+
padding: 0 110px;
|
| 922 |
+
}
|
| 923 |
+
|
| 924 |
+
.px-115 {
|
| 925 |
+
padding: 0 100px;
|
| 926 |
+
}
|
| 927 |
+
|
| 928 |
+
.px-120 {
|
| 929 |
+
padding: 0 115px;
|
| 930 |
+
}
|
| 931 |
+
|
| 932 |
+
.px-125 {
|
| 933 |
+
padding: 0 125px;
|
| 934 |
+
}
|
| 935 |
+
|
| 936 |
+
.px-130 {
|
| 937 |
+
padding: 0 130px;
|
| 938 |
+
}
|
| 939 |
+
|
| 940 |
+
.px-135 {
|
| 941 |
+
padding: 0 135px;
|
| 942 |
+
}
|
| 943 |
+
|
| 944 |
+
.px-140 {
|
| 945 |
+
padding: 0 140px;
|
| 946 |
+
}
|
| 947 |
+
|
| 948 |
+
.px-145 {
|
| 949 |
+
padding: 0 145px;
|
| 950 |
+
}
|
| 951 |
+
|
| 952 |
+
.px-150 {
|
| 953 |
+
padding: 0 150px;
|
| 954 |
+
}
|
| 955 |
+
|
| 956 |
+
.pt-5 {
|
| 957 |
+
padding-top: 5px;
|
| 958 |
+
}
|
| 959 |
+
|
| 960 |
+
.pt-10 {
|
| 961 |
+
padding-top: 10px;
|
| 962 |
+
}
|
| 963 |
+
|
| 964 |
+
.pt-15 {
|
| 965 |
+
padding-top: 15px;
|
| 966 |
+
}
|
| 967 |
+
|
| 968 |
+
.pt-20 {
|
| 969 |
+
padding-top: 20px;
|
| 970 |
+
}
|
| 971 |
+
|
| 972 |
+
.pt-25 {
|
| 973 |
+
padding-top: 25px;
|
| 974 |
+
}
|
| 975 |
+
|
| 976 |
+
.pt-30 {
|
| 977 |
+
padding-top: 30px;
|
| 978 |
+
}
|
| 979 |
+
|
| 980 |
+
.pt-35 {
|
| 981 |
+
padding-top: 35px;
|
| 982 |
+
}
|
| 983 |
+
|
| 984 |
+
.pt-40 {
|
| 985 |
+
padding-top: 40px;
|
| 986 |
+
}
|
| 987 |
+
|
| 988 |
+
.pt-45 {
|
| 989 |
+
padding-top: 45px;
|
| 990 |
+
}
|
| 991 |
+
|
| 992 |
+
.pt-50 {
|
| 993 |
+
padding-top: 50px;
|
| 994 |
+
}
|
| 995 |
+
|
| 996 |
+
.pt-55 {
|
| 997 |
+
padding-top: 55px;
|
| 998 |
+
}
|
| 999 |
+
|
| 1000 |
+
.pt-60 {
|
| 1001 |
+
padding-top: 60px;
|
| 1002 |
+
}
|
| 1003 |
+
|
| 1004 |
+
.pt-65 {
|
| 1005 |
+
padding-top: 65px;
|
| 1006 |
+
}
|
| 1007 |
+
|
| 1008 |
+
.pt-70 {
|
| 1009 |
+
padding-top: 70px;
|
| 1010 |
+
}
|
| 1011 |
+
|
| 1012 |
+
.pt-75 {
|
| 1013 |
+
padding-top: 75px;
|
| 1014 |
+
}
|
| 1015 |
+
|
| 1016 |
+
.pt-80 {
|
| 1017 |
+
padding-top: 80px;
|
| 1018 |
+
}
|
| 1019 |
+
|
| 1020 |
+
.pt-85 {
|
| 1021 |
+
padding-top: 85px;
|
| 1022 |
+
}
|
| 1023 |
+
|
| 1024 |
+
.pt-90 {
|
| 1025 |
+
padding-top: 90px;
|
| 1026 |
+
}
|
| 1027 |
+
|
| 1028 |
+
.pt-95 {
|
| 1029 |
+
padding-top: 95px;
|
| 1030 |
+
}
|
| 1031 |
+
|
| 1032 |
+
.pt-100 {
|
| 1033 |
+
padding-top: 100px;
|
| 1034 |
+
}
|
| 1035 |
+
|
| 1036 |
+
.pt-105 {
|
| 1037 |
+
padding-top: 105px;
|
| 1038 |
+
}
|
| 1039 |
+
|
| 1040 |
+
.pt-110 {
|
| 1041 |
+
padding-top: 110px;
|
| 1042 |
+
}
|
| 1043 |
+
|
| 1044 |
+
.pt-115 {
|
| 1045 |
+
padding-top: 100px;
|
| 1046 |
+
}
|
| 1047 |
+
|
| 1048 |
+
.pt-120 {
|
| 1049 |
+
padding-top: 115px;
|
| 1050 |
+
}
|
| 1051 |
+
|
| 1052 |
+
.pt-125 {
|
| 1053 |
+
padding-top: 125px;
|
| 1054 |
+
}
|
| 1055 |
+
|
| 1056 |
+
.pt-130 {
|
| 1057 |
+
padding-top: 130px;
|
| 1058 |
+
}
|
| 1059 |
+
|
| 1060 |
+
.pt-135 {
|
| 1061 |
+
padding-top: 135px;
|
| 1062 |
+
}
|
| 1063 |
+
|
| 1064 |
+
.pt-140 {
|
| 1065 |
+
padding-top: 140px;
|
| 1066 |
+
}
|
| 1067 |
+
|
| 1068 |
+
.pt-145 {
|
| 1069 |
+
padding-top: 145px;
|
| 1070 |
+
}
|
| 1071 |
+
|
| 1072 |
+
.pt-150 {
|
| 1073 |
+
padding-top: 150px;
|
| 1074 |
+
}
|
| 1075 |
+
|
| 1076 |
+
.pb-5 {
|
| 1077 |
+
padding-bottom: 5px;
|
| 1078 |
+
}
|
| 1079 |
+
|
| 1080 |
+
.pb-10 {
|
| 1081 |
+
padding-bottom: 10px;
|
| 1082 |
+
}
|
| 1083 |
+
|
| 1084 |
+
.pb-15 {
|
| 1085 |
+
padding-bottom: 15px;
|
| 1086 |
+
}
|
| 1087 |
+
|
| 1088 |
+
.pb-20 {
|
| 1089 |
+
padding-bottom: 20px;
|
| 1090 |
+
}
|
| 1091 |
+
|
| 1092 |
+
.pb-25 {
|
| 1093 |
+
padding-bottom: 25px;
|
| 1094 |
+
}
|
| 1095 |
+
|
| 1096 |
+
.pb-30 {
|
| 1097 |
+
padding-bottom: 30px;
|
| 1098 |
+
}
|
| 1099 |
+
|
| 1100 |
+
.pb-35 {
|
| 1101 |
+
padding-bottom: 35px;
|
| 1102 |
+
}
|
| 1103 |
+
|
| 1104 |
+
.pb-40 {
|
| 1105 |
+
padding-bottom: 40px;
|
| 1106 |
+
}
|
| 1107 |
+
|
| 1108 |
+
.pb-45 {
|
| 1109 |
+
padding-bottom: 45px;
|
| 1110 |
+
}
|
| 1111 |
+
|
| 1112 |
+
.pb-50 {
|
| 1113 |
+
padding-bottom: 50px;
|
| 1114 |
+
}
|
| 1115 |
+
|
| 1116 |
+
.pb-55 {
|
| 1117 |
+
padding-bottom: 55px;
|
| 1118 |
+
}
|
| 1119 |
+
|
| 1120 |
+
.pb-60 {
|
| 1121 |
+
padding-bottom: 60px;
|
| 1122 |
+
}
|
| 1123 |
+
|
| 1124 |
+
.pb-65 {
|
| 1125 |
+
padding-bottom: 65px;
|
| 1126 |
+
}
|
| 1127 |
+
|
| 1128 |
+
.pb-70 {
|
| 1129 |
+
padding-bottom: 70px;
|
| 1130 |
+
}
|
| 1131 |
+
|
| 1132 |
+
.pb-75 {
|
| 1133 |
+
padding-bottom: 75px;
|
| 1134 |
+
}
|
| 1135 |
+
|
| 1136 |
+
.pb-80 {
|
| 1137 |
+
padding-bottom: 80px;
|
| 1138 |
+
}
|
| 1139 |
+
|
| 1140 |
+
.pb-85 {
|
| 1141 |
+
padding-bottom: 85px;
|
| 1142 |
+
}
|
| 1143 |
+
|
| 1144 |
+
.pb-90 {
|
| 1145 |
+
padding-bottom: 90px;
|
| 1146 |
+
}
|
| 1147 |
+
|
| 1148 |
+
.pb-95 {
|
| 1149 |
+
padding-bottom: 95px;
|
| 1150 |
+
}
|
| 1151 |
+
|
| 1152 |
+
.pb-100 {
|
| 1153 |
+
padding-bottom: 100px;
|
| 1154 |
+
}
|
| 1155 |
+
|
| 1156 |
+
.pb-105 {
|
| 1157 |
+
padding-bottom: 105px;
|
| 1158 |
+
}
|
| 1159 |
+
|
| 1160 |
+
.pb-110 {
|
| 1161 |
+
padding-bottom: 110px;
|
| 1162 |
+
}
|
| 1163 |
+
|
| 1164 |
+
.pb-115 {
|
| 1165 |
+
padding-bottom: 100px;
|
| 1166 |
+
}
|
| 1167 |
+
|
| 1168 |
+
.pb-120 {
|
| 1169 |
+
padding-bottom: 115px;
|
| 1170 |
+
}
|
| 1171 |
+
|
| 1172 |
+
.pb-125 {
|
| 1173 |
+
padding-bottom: 125px;
|
| 1174 |
+
}
|
| 1175 |
+
|
| 1176 |
+
.pb-130 {
|
| 1177 |
+
padding-bottom: 130px;
|
| 1178 |
+
}
|
| 1179 |
+
|
| 1180 |
+
.pb-135 {
|
| 1181 |
+
padding-bottom: 135px;
|
| 1182 |
+
}
|
| 1183 |
+
|
| 1184 |
+
.pb-140 {
|
| 1185 |
+
padding-bottom: 140px;
|
| 1186 |
+
}
|
| 1187 |
+
|
| 1188 |
+
.pb-145 {
|
| 1189 |
+
padding-bottom: 145px;
|
| 1190 |
+
}
|
| 1191 |
+
|
| 1192 |
+
.pb-150 {
|
| 1193 |
+
padding-bottom: 150px;
|
| 1194 |
+
}
|
| 1195 |
+
|
| 1196 |
+
.pl-5 {
|
| 1197 |
+
padding-left: 5px;
|
| 1198 |
+
}
|
| 1199 |
+
|
| 1200 |
+
.pl-10 {
|
| 1201 |
+
padding-left: 10px;
|
| 1202 |
+
}
|
| 1203 |
+
|
| 1204 |
+
.pl-15 {
|
| 1205 |
+
padding-left: 15px;
|
| 1206 |
+
}
|
| 1207 |
+
|
| 1208 |
+
.pl-20 {
|
| 1209 |
+
padding-left: 20px;
|
| 1210 |
+
}
|
| 1211 |
+
|
| 1212 |
+
.pl-25 {
|
| 1213 |
+
padding-left: 25px;
|
| 1214 |
+
}
|
| 1215 |
+
|
| 1216 |
+
.pl-30 {
|
| 1217 |
+
padding-left: 30px;
|
| 1218 |
+
}
|
| 1219 |
+
|
| 1220 |
+
.pl-35 {
|
| 1221 |
+
padding-left: 35px;
|
| 1222 |
+
}
|
| 1223 |
+
|
| 1224 |
+
.pl-40 {
|
| 1225 |
+
padding-left: 40px;
|
| 1226 |
+
}
|
| 1227 |
+
|
| 1228 |
+
.pl-45 {
|
| 1229 |
+
padding-left: 45px;
|
| 1230 |
+
}
|
| 1231 |
+
|
| 1232 |
+
.pl-50 {
|
| 1233 |
+
padding-left: 50px;
|
| 1234 |
+
}
|
| 1235 |
+
|
| 1236 |
+
.pl-55 {
|
| 1237 |
+
padding-left: 55px;
|
| 1238 |
+
}
|
| 1239 |
+
|
| 1240 |
+
.pl-60 {
|
| 1241 |
+
padding-left: 60px;
|
| 1242 |
+
}
|
| 1243 |
+
|
| 1244 |
+
.pl-65 {
|
| 1245 |
+
padding-left: 65px;
|
| 1246 |
+
}
|
| 1247 |
+
|
| 1248 |
+
.pl-70 {
|
| 1249 |
+
padding-left: 70px;
|
| 1250 |
+
}
|
| 1251 |
+
|
| 1252 |
+
.pl-75 {
|
| 1253 |
+
padding-left: 75px;
|
| 1254 |
+
}
|
| 1255 |
+
|
| 1256 |
+
.pl-80 {
|
| 1257 |
+
padding-left: 80px;
|
| 1258 |
+
}
|
| 1259 |
+
|
| 1260 |
+
.pl-85 {
|
| 1261 |
+
padding-left: 85px;
|
| 1262 |
+
}
|
| 1263 |
+
|
| 1264 |
+
.pl-90 {
|
| 1265 |
+
padding-left: 90px;
|
| 1266 |
+
}
|
| 1267 |
+
|
| 1268 |
+
.pl-95 {
|
| 1269 |
+
padding-left: 95px;
|
| 1270 |
+
}
|
| 1271 |
+
|
| 1272 |
+
.pl-100 {
|
| 1273 |
+
padding-left: 100px;
|
| 1274 |
+
}
|
| 1275 |
+
|
| 1276 |
+
.pl-105 {
|
| 1277 |
+
padding-left: 105px;
|
| 1278 |
+
}
|
| 1279 |
+
|
| 1280 |
+
.pl-110 {
|
| 1281 |
+
padding-left: 110px;
|
| 1282 |
+
}
|
| 1283 |
+
|
| 1284 |
+
.pl-115 {
|
| 1285 |
+
padding-left: 100px;
|
| 1286 |
+
}
|
| 1287 |
+
|
| 1288 |
+
.pl-120 {
|
| 1289 |
+
padding-left: 115px;
|
| 1290 |
+
}
|
| 1291 |
+
|
| 1292 |
+
.pl-125 {
|
| 1293 |
+
padding-left: 125px;
|
| 1294 |
+
}
|
| 1295 |
+
|
| 1296 |
+
.pl-130 {
|
| 1297 |
+
padding-left: 130px;
|
| 1298 |
+
}
|
| 1299 |
+
|
| 1300 |
+
.pl-135 {
|
| 1301 |
+
padding-left: 135px;
|
| 1302 |
+
}
|
| 1303 |
+
|
| 1304 |
+
.pl-140 {
|
| 1305 |
+
padding-left: 140px;
|
| 1306 |
+
}
|
| 1307 |
+
|
| 1308 |
+
.pl-145 {
|
| 1309 |
+
padding-left: 145px;
|
| 1310 |
+
}
|
| 1311 |
+
|
| 1312 |
+
.pl-150 {
|
| 1313 |
+
padding-left: 150px;
|
| 1314 |
+
}
|
| 1315 |
+
|
| 1316 |
+
.pr-5 {
|
| 1317 |
+
padding-right: 5px;
|
| 1318 |
+
}
|
| 1319 |
+
|
| 1320 |
+
.pr-10 {
|
| 1321 |
+
padding-right: 10px;
|
| 1322 |
+
}
|
| 1323 |
+
|
| 1324 |
+
.pr-15 {
|
| 1325 |
+
padding-right: 15px;
|
| 1326 |
+
}
|
| 1327 |
+
|
| 1328 |
+
.pr-20 {
|
| 1329 |
+
padding-right: 20px;
|
| 1330 |
+
}
|
| 1331 |
+
|
| 1332 |
+
.pr-25 {
|
| 1333 |
+
padding-right: 25px;
|
| 1334 |
+
}
|
| 1335 |
+
|
| 1336 |
+
.pr-30 {
|
| 1337 |
+
padding-right: 30px;
|
| 1338 |
+
}
|
| 1339 |
+
|
| 1340 |
+
.pr-35 {
|
| 1341 |
+
padding-right: 35px;
|
| 1342 |
+
}
|
| 1343 |
+
|
| 1344 |
+
.pr-40 {
|
| 1345 |
+
padding-right: 40px;
|
| 1346 |
+
}
|
| 1347 |
+
|
| 1348 |
+
.pr-45 {
|
| 1349 |
+
padding-right: 45px;
|
| 1350 |
+
}
|
| 1351 |
+
|
| 1352 |
+
.pr-50 {
|
| 1353 |
+
padding-right: 50px;
|
| 1354 |
+
}
|
| 1355 |
+
|
| 1356 |
+
.pr-55 {
|
| 1357 |
+
padding-right: 55px;
|
| 1358 |
+
}
|
| 1359 |
+
|
| 1360 |
+
.pr-60 {
|
| 1361 |
+
padding-right: 60px;
|
| 1362 |
+
}
|
| 1363 |
+
|
| 1364 |
+
.pr-65 {
|
| 1365 |
+
padding-right: 65px;
|
| 1366 |
+
}
|
| 1367 |
+
|
| 1368 |
+
.pr-70 {
|
| 1369 |
+
padding-right: 70px;
|
| 1370 |
+
}
|
| 1371 |
+
|
| 1372 |
+
.pr-75 {
|
| 1373 |
+
padding-right: 75px;
|
| 1374 |
+
}
|
| 1375 |
+
|
| 1376 |
+
.pr-80 {
|
| 1377 |
+
padding-right: 80px;
|
| 1378 |
+
}
|
| 1379 |
+
|
| 1380 |
+
.pr-85 {
|
| 1381 |
+
padding-right: 85px;
|
| 1382 |
+
}
|
| 1383 |
+
|
| 1384 |
+
.pr-90 {
|
| 1385 |
+
padding-right: 90px;
|
| 1386 |
+
}
|
| 1387 |
+
|
| 1388 |
+
.pr-95 {
|
| 1389 |
+
padding-right: 95px;
|
| 1390 |
+
}
|
| 1391 |
+
|
| 1392 |
+
.pr-100 {
|
| 1393 |
+
padding-right: 100px;
|
| 1394 |
+
}
|
| 1395 |
+
|
| 1396 |
+
.pr-105 {
|
| 1397 |
+
padding-right: 105px;
|
| 1398 |
+
}
|
| 1399 |
+
|
| 1400 |
+
.pr-110 {
|
| 1401 |
+
padding-right: 110px;
|
| 1402 |
+
}
|
| 1403 |
+
|
| 1404 |
+
.pr-115 {
|
| 1405 |
+
padding-right: 100px;
|
| 1406 |
+
}
|
| 1407 |
+
|
| 1408 |
+
.pr-120 {
|
| 1409 |
+
padding-right: 115px;
|
| 1410 |
+
}
|
| 1411 |
+
|
| 1412 |
+
.pr-125 {
|
| 1413 |
+
padding-right: 125px;
|
| 1414 |
+
}
|
| 1415 |
+
|
| 1416 |
+
.pr-130 {
|
| 1417 |
+
padding-right: 130px;
|
| 1418 |
+
}
|
| 1419 |
+
|
| 1420 |
+
.pr-135 {
|
| 1421 |
+
padding-right: 135px;
|
| 1422 |
+
}
|
| 1423 |
+
|
| 1424 |
+
.pr-140 {
|
| 1425 |
+
padding-right: 140px;
|
| 1426 |
+
}
|
| 1427 |
+
|
| 1428 |
+
.pr-145 {
|
| 1429 |
+
padding-right: 145px;
|
| 1430 |
+
}
|
| 1431 |
+
|
| 1432 |
+
.pr-150 {
|
| 1433 |
+
padding-right: 150px;
|
| 1434 |
+
}
|
| 1435 |
+
|
| 1436 |
+
.bb-none {
|
| 1437 |
+
border-bottom: none !important;
|
| 1438 |
+
}
|
| 1439 |
+
|
| 1440 |
+
.bt-none {
|
| 1441 |
+
border-top: none !important;
|
| 1442 |
+
}
|
| 1443 |
+
|
| 1444 |
+
|
| 1445 |
+
/* default padding css end */
|
assets/admin/css/spectrum.css
ADDED
|
@@ -0,0 +1,617 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.0
|
| 3 |
+
https://github.com/bgrins/spectrum
|
| 4 |
+
Author: Brian Grinstead
|
| 5 |
+
License: MIT
|
| 6 |
+
***/
|
| 7 |
+
|
| 8 |
+
.sp-container {
|
| 9 |
+
position: absolute;
|
| 10 |
+
top: 0;
|
| 11 |
+
left: 0;
|
| 12 |
+
display: inline-block;
|
| 13 |
+
*display: inline;
|
| 14 |
+
*zoom: 1;
|
| 15 |
+
/* https://github.com/bgrins/spectrum/issues/40 */
|
| 16 |
+
z-index: 9999994;
|
| 17 |
+
overflow: hidden;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.sp-container.sp-flat {
|
| 21 |
+
position: relative;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
/* Fix for * { box-sizing: border-box; } */
|
| 26 |
+
|
| 27 |
+
.sp-container,
|
| 28 |
+
.sp-container * {
|
| 29 |
+
-webkit-box-sizing: content-box;
|
| 30 |
+
-moz-box-sizing: content-box;
|
| 31 |
+
box-sizing: content-box;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
|
| 36 |
+
|
| 37 |
+
.sp-top {
|
| 38 |
+
position: relative;
|
| 39 |
+
width: 100%;
|
| 40 |
+
display: inline-block;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.sp-top-inner {
|
| 44 |
+
position: absolute;
|
| 45 |
+
top: 0;
|
| 46 |
+
left: 0;
|
| 47 |
+
bottom: 0;
|
| 48 |
+
right: 0;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.sp-color {
|
| 52 |
+
position: absolute;
|
| 53 |
+
top: 0;
|
| 54 |
+
left: 0;
|
| 55 |
+
bottom: 0;
|
| 56 |
+
right: 20%;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.sp-hue {
|
| 60 |
+
position: absolute;
|
| 61 |
+
top: 0;
|
| 62 |
+
right: 0;
|
| 63 |
+
bottom: 0;
|
| 64 |
+
left: 84%;
|
| 65 |
+
height: 100%;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.sp-clear-enabled .sp-hue {
|
| 69 |
+
top: 33px;
|
| 70 |
+
height: 77.5%;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.sp-fill {
|
| 74 |
+
padding-top: 80%;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.sp-sat,
|
| 78 |
+
.sp-val {
|
| 79 |
+
position: absolute;
|
| 80 |
+
top: 0;
|
| 81 |
+
left: 0;
|
| 82 |
+
right: 0;
|
| 83 |
+
bottom: 0;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.sp-alpha-enabled .sp-top {
|
| 87 |
+
margin-bottom: 18px;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.sp-alpha-enabled .sp-alpha {
|
| 91 |
+
display: block;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.sp-alpha-handle {
|
| 95 |
+
position: absolute;
|
| 96 |
+
top: -4px;
|
| 97 |
+
bottom: -4px;
|
| 98 |
+
width: 6px;
|
| 99 |
+
left: 50%;
|
| 100 |
+
cursor: pointer;
|
| 101 |
+
border: 1px solid black;
|
| 102 |
+
background: white;
|
| 103 |
+
opacity: .8;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.sp-alpha {
|
| 107 |
+
display: none;
|
| 108 |
+
position: absolute;
|
| 109 |
+
bottom: -14px;
|
| 110 |
+
right: 0;
|
| 111 |
+
left: 0;
|
| 112 |
+
height: 8px;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
.sp-alpha-inner {
|
| 116 |
+
border: solid 1px #333;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.sp-clear {
|
| 120 |
+
display: none;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.sp-clear.sp-clear-display {
|
| 124 |
+
background-position: center;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.sp-clear-enabled .sp-clear {
|
| 128 |
+
display: block;
|
| 129 |
+
position: absolute;
|
| 130 |
+
top: 0px;
|
| 131 |
+
right: 0;
|
| 132 |
+
bottom: 0;
|
| 133 |
+
left: 84%;
|
| 134 |
+
height: 28px;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
/* Don't allow text selection */
|
| 139 |
+
|
| 140 |
+
.sp-container,
|
| 141 |
+
.sp-replacer,
|
| 142 |
+
.sp-preview,
|
| 143 |
+
.sp-dragger,
|
| 144 |
+
.sp-slider,
|
| 145 |
+
.sp-alpha,
|
| 146 |
+
.sp-clear,
|
| 147 |
+
.sp-alpha-handle,
|
| 148 |
+
.sp-container.sp-dragging .sp-input,
|
| 149 |
+
.sp-container button {
|
| 150 |
+
-webkit-user-select: none;
|
| 151 |
+
-moz-user-select: -moz-none;
|
| 152 |
+
-o-user-select: none;
|
| 153 |
+
user-select: none;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.sp-container.sp-input-disabled .sp-input-container {
|
| 157 |
+
display: none;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.sp-container.sp-buttons-disabled .sp-button-container {
|
| 161 |
+
display: none;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
|
| 165 |
+
display: none;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.sp-palette-only .sp-picker-container {
|
| 169 |
+
display: none;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.sp-palette-disabled .sp-palette-container {
|
| 173 |
+
display: none;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.sp-initial-disabled .sp-initial {
|
| 177 |
+
display: none;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
/* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
|
| 182 |
+
|
| 183 |
+
.sp-sat {
|
| 184 |
+
background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
|
| 185 |
+
background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
|
| 186 |
+
background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
| 187 |
+
background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
| 188 |
+
background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
|
| 189 |
+
background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
|
| 190 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
|
| 191 |
+
filter: progid: DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.sp-val {
|
| 195 |
+
background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
|
| 196 |
+
background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
|
| 197 |
+
background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
| 198 |
+
background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
| 199 |
+
background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
|
| 200 |
+
background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
|
| 201 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
|
| 202 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
.sp-hue {
|
| 206 |
+
background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
| 207 |
+
background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
| 208 |
+
background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
| 209 |
+
background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
|
| 210 |
+
background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
| 211 |
+
background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
/* IE filters do not support multiple color stops.
|
| 216 |
+
Generate 6 divs, line them up, and do two color gradients for each.
|
| 217 |
+
Yes, really.
|
| 218 |
+
*/
|
| 219 |
+
|
| 220 |
+
.sp-1 {
|
| 221 |
+
height: 17%;
|
| 222 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.sp-2 {
|
| 226 |
+
height: 16%;
|
| 227 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.sp-3 {
|
| 231 |
+
height: 17%;
|
| 232 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
.sp-4 {
|
| 236 |
+
height: 17%;
|
| 237 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
.sp-5 {
|
| 241 |
+
height: 16%;
|
| 242 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
.sp-6 {
|
| 246 |
+
height: 17%;
|
| 247 |
+
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.sp-hidden {
|
| 251 |
+
display: none !important;
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
|
| 255 |
+
/* Clearfix hack */
|
| 256 |
+
|
| 257 |
+
.sp-cf:before,
|
| 258 |
+
.sp-cf:after {
|
| 259 |
+
content: "";
|
| 260 |
+
display: table;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.sp-cf:after {
|
| 264 |
+
clear: both;
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
.sp-cf {
|
| 268 |
+
*zoom: 1;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
|
| 272 |
+
/* Mobile devices, make hue slider bigger so it is easier to slide */
|
| 273 |
+
|
| 274 |
+
@media (max-device-width: 480px) {
|
| 275 |
+
.sp-color {
|
| 276 |
+
right: 40%;
|
| 277 |
+
}
|
| 278 |
+
.sp-hue {
|
| 279 |
+
left: 63%;
|
| 280 |
+
}
|
| 281 |
+
.sp-fill {
|
| 282 |
+
padding-top: 60%;
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
.sp-dragger {
|
| 287 |
+
border-radius: 5px;
|
| 288 |
+
height: 5px;
|
| 289 |
+
width: 5px;
|
| 290 |
+
border: 1px solid #fff;
|
| 291 |
+
background: #000;
|
| 292 |
+
cursor: pointer;
|
| 293 |
+
position: absolute;
|
| 294 |
+
top: 0;
|
| 295 |
+
left: 0;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
.sp-slider {
|
| 299 |
+
position: absolute;
|
| 300 |
+
top: 0;
|
| 301 |
+
cursor: pointer;
|
| 302 |
+
height: 3px;
|
| 303 |
+
left: -1px;
|
| 304 |
+
right: -1px;
|
| 305 |
+
border: 1px solid #000;
|
| 306 |
+
background: white;
|
| 307 |
+
opacity: .8;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
/*
|
| 312 |
+
Theme authors:
|
| 313 |
+
Here are the basic themeable display options (colors, fonts, global widths).
|
| 314 |
+
See http://bgrins.github.io/spectrum/themes/ for instructions.
|
| 315 |
+
*/
|
| 316 |
+
|
| 317 |
+
.sp-container {
|
| 318 |
+
border-radius: 0;
|
| 319 |
+
background-color: #ECECEC;
|
| 320 |
+
border: solid 1px #f0c49B;
|
| 321 |
+
padding: 0;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
.sp-container,
|
| 325 |
+
.sp-container button,
|
| 326 |
+
.sp-container input,
|
| 327 |
+
.sp-color,
|
| 328 |
+
.sp-hue,
|
| 329 |
+
.sp-clear {
|
| 330 |
+
font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
| 331 |
+
-webkit-box-sizing: border-box;
|
| 332 |
+
-moz-box-sizing: border-box;
|
| 333 |
+
-ms-box-sizing: border-box;
|
| 334 |
+
box-sizing: border-box;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
.sp-top {
|
| 338 |
+
margin-bottom: 3px;
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
.sp-color,
|
| 342 |
+
.sp-hue,
|
| 343 |
+
.sp-clear {
|
| 344 |
+
border: solid 1px #666;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
/* Input */
|
| 349 |
+
|
| 350 |
+
.sp-input-container {
|
| 351 |
+
float: right;
|
| 352 |
+
width: 100px;
|
| 353 |
+
margin-bottom: 4px;
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
.sp-initial-disabled .sp-input-container {
|
| 357 |
+
width: 100%;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
.sp-input {
|
| 361 |
+
font-size: 12px !important;
|
| 362 |
+
border: 1px inset;
|
| 363 |
+
padding: 4px 5px;
|
| 364 |
+
margin: 0;
|
| 365 |
+
width: 100%;
|
| 366 |
+
background: transparent;
|
| 367 |
+
border-radius: 3px;
|
| 368 |
+
color: #222;
|
| 369 |
+
}
|
| 370 |
+
|
| 371 |
+
.sp-input:focus {
|
| 372 |
+
border: 1px solid orange;
|
| 373 |
+
}
|
| 374 |
+
|
| 375 |
+
.sp-input.sp-validation-error {
|
| 376 |
+
border: 1px solid red;
|
| 377 |
+
background: #fdd;
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
.sp-picker-container,
|
| 381 |
+
.sp-palette-container {
|
| 382 |
+
float: left;
|
| 383 |
+
position: relative;
|
| 384 |
+
padding: 10px;
|
| 385 |
+
padding-bottom: 300px;
|
| 386 |
+
margin-bottom: -290px;
|
| 387 |
+
}
|
| 388 |
+
|
| 389 |
+
.sp-picker-container {
|
| 390 |
+
width: 172px;
|
| 391 |
+
border-left: solid 1px #fff;
|
| 392 |
+
}
|
| 393 |
+
|
| 394 |
+
|
| 395 |
+
/* Palettes */
|
| 396 |
+
|
| 397 |
+
.sp-palette-container {
|
| 398 |
+
border-right: solid 1px #ccc;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
.sp-palette-only .sp-palette-container {
|
| 402 |
+
border: 0;
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
.sp-palette .sp-thumb-el {
|
| 406 |
+
display: block;
|
| 407 |
+
position: relative;
|
| 408 |
+
float: left;
|
| 409 |
+
width: 24px;
|
| 410 |
+
height: 15px;
|
| 411 |
+
margin: 3px;
|
| 412 |
+
cursor: pointer;
|
| 413 |
+
border: solid 2px transparent;
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
.sp-palette .sp-thumb-el:hover,
|
| 417 |
+
.sp-palette .sp-thumb-el.sp-thumb-active {
|
| 418 |
+
border-color: orange;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.sp-thumb-el {
|
| 422 |
+
position: relative;
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
|
| 426 |
+
/* Initial */
|
| 427 |
+
|
| 428 |
+
.sp-initial {
|
| 429 |
+
float: left;
|
| 430 |
+
border: solid 1px #333;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
.sp-initial span {
|
| 434 |
+
width: 30px;
|
| 435 |
+
height: 25px;
|
| 436 |
+
border: none;
|
| 437 |
+
display: block;
|
| 438 |
+
float: left;
|
| 439 |
+
margin: 0;
|
| 440 |
+
}
|
| 441 |
+
|
| 442 |
+
.sp-initial .sp-clear-display {
|
| 443 |
+
background-position: center;
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
/* Buttons */
|
| 448 |
+
|
| 449 |
+
.sp-palette-button-container,
|
| 450 |
+
.sp-button-container {
|
| 451 |
+
float: right;
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
|
| 455 |
+
/* Replacer (the little preview div that shows up instead of the <input>) */
|
| 456 |
+
|
| 457 |
+
.sp-replacer {
|
| 458 |
+
margin: 0;
|
| 459 |
+
overflow: hidden;
|
| 460 |
+
cursor: pointer;
|
| 461 |
+
padding: 4px;
|
| 462 |
+
display: inline-block;
|
| 463 |
+
*zoom: 1;
|
| 464 |
+
*display: inline;
|
| 465 |
+
border: solid 1px #91765d;
|
| 466 |
+
background: #eee;
|
| 467 |
+
color: #333;
|
| 468 |
+
vertical-align: middle;
|
| 469 |
+
}
|
| 470 |
+
|
| 471 |
+
.sp-replacer:hover,
|
| 472 |
+
.sp-replacer.sp-active {
|
| 473 |
+
border-color: #F0C49B;
|
| 474 |
+
color: #111;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
.sp-replacer.sp-disabled {
|
| 478 |
+
cursor: default;
|
| 479 |
+
border-color: silver;
|
| 480 |
+
color: silver;
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
.sp-dd {
|
| 484 |
+
padding: 2px 0;
|
| 485 |
+
height: 16px;
|
| 486 |
+
line-height: 16px;
|
| 487 |
+
float: left;
|
| 488 |
+
font-size: 10px;
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.sp-preview {
|
| 492 |
+
position: relative;
|
| 493 |
+
width: 25px;
|
| 494 |
+
height: 20px;
|
| 495 |
+
border: solid 1px #222;
|
| 496 |
+
margin-right: 5px;
|
| 497 |
+
float: left;
|
| 498 |
+
z-index: 0;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
.sp-palette {
|
| 502 |
+
*width: 220px;
|
| 503 |
+
max-width: 220px;
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
.sp-palette .sp-thumb-el {
|
| 507 |
+
width: 16px;
|
| 508 |
+
height: 16px;
|
| 509 |
+
margin: 2px 1px;
|
| 510 |
+
border: solid 1px #d0d0d0;
|
| 511 |
+
}
|
| 512 |
+
|
| 513 |
+
.sp-container {
|
| 514 |
+
padding-bottom: 0;
|
| 515 |
+
}
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
/* Buttons: http://hellohappy.org/css3-buttons/ */
|
| 519 |
+
|
| 520 |
+
.sp-container button {
|
| 521 |
+
background-color: #eeeeee;
|
| 522 |
+
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
| 523 |
+
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
| 524 |
+
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
| 525 |
+
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
| 526 |
+
background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
|
| 527 |
+
border: 1px solid #ccc;
|
| 528 |
+
border-bottom: 1px solid #bbb;
|
| 529 |
+
border-radius: 3px;
|
| 530 |
+
color: #333;
|
| 531 |
+
font-size: 14px;
|
| 532 |
+
line-height: 1;
|
| 533 |
+
padding: 5px 4px;
|
| 534 |
+
text-align: center;
|
| 535 |
+
text-shadow: 0 1px 0 #eee;
|
| 536 |
+
vertical-align: middle;
|
| 537 |
+
}
|
| 538 |
+
|
| 539 |
+
.sp-container button:hover {
|
| 540 |
+
background-color: #dddddd;
|
| 541 |
+
background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
|
| 542 |
+
background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
|
| 543 |
+
background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
|
| 544 |
+
background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
|
| 545 |
+
background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
|
| 546 |
+
border: 1px solid #bbb;
|
| 547 |
+
border-bottom: 1px solid #999;
|
| 548 |
+
cursor: pointer;
|
| 549 |
+
text-shadow: 0 1px 0 #ddd;
|
| 550 |
+
}
|
| 551 |
+
|
| 552 |
+
.sp-container button:active {
|
| 553 |
+
border: 1px solid #aaa;
|
| 554 |
+
border-bottom: 1px solid #888;
|
| 555 |
+
-webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
| 556 |
+
-moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
| 557 |
+
-ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
| 558 |
+
-o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
| 559 |
+
box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
|
| 560 |
+
}
|
| 561 |
+
|
| 562 |
+
.sp-cancel {
|
| 563 |
+
font-size: 11px;
|
| 564 |
+
color: #d93f3f !important;
|
| 565 |
+
margin: 0;
|
| 566 |
+
padding: 2px;
|
| 567 |
+
margin-right: 5px;
|
| 568 |
+
vertical-align: middle;
|
| 569 |
+
text-decoration: none;
|
| 570 |
+
}
|
| 571 |
+
|
| 572 |
+
.sp-cancel:hover {
|
| 573 |
+
color: #d93f3f !important;
|
| 574 |
+
text-decoration: underline;
|
| 575 |
+
}
|
| 576 |
+
|
| 577 |
+
.sp-palette span:hover,
|
| 578 |
+
.sp-palette span.sp-thumb-active {
|
| 579 |
+
border-color: #000;
|
| 580 |
+
}
|
| 581 |
+
|
| 582 |
+
.sp-preview,
|
| 583 |
+
.sp-alpha,
|
| 584 |
+
.sp-thumb-el {
|
| 585 |
+
position: relative;
|
| 586 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
+
.sp-preview-inner,
|
| 590 |
+
.sp-alpha-inner,
|
| 591 |
+
.sp-thumb-inner {
|
| 592 |
+
display: block;
|
| 593 |
+
position: absolute;
|
| 594 |
+
top: 0;
|
| 595 |
+
left: 0;
|
| 596 |
+
bottom: 0;
|
| 597 |
+
right: 0;
|
| 598 |
+
}
|
| 599 |
+
|
| 600 |
+
.sp-palette .sp-thumb-inner {
|
| 601 |
+
background-position: 50% 50%;
|
| 602 |
+
background-repeat: no-repeat;
|
| 603 |
+
}
|
| 604 |
+
|
| 605 |
+
.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
|
| 606 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
|
| 607 |
+
}
|
| 608 |
+
|
| 609 |
+
.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
|
| 610 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
|
| 611 |
+
}
|
| 612 |
+
|
| 613 |
+
.sp-clear-display {
|
| 614 |
+
background-repeat: no-repeat;
|
| 615 |
+
background-position: center;
|
| 616 |
+
background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! ========================================================================
|
| 2 |
+
* Bootstrap Toggle: bootstrap-toggle.css v2.2.0
|
| 3 |
+
* http://www.bootstraptoggle.com
|
| 4 |
+
* ========================================================================
|
| 5 |
+
* Copyright 2014 Min Hur, The New York Times Company
|
| 6 |
+
* Licensed under MIT
|
| 7 |
+
* ======================================================================== */
|
| 8 |
+
.checkbox label .toggle,.checkbox-inline .toggle{margin-left:-20px;margin-right:5px}
|
| 9 |
+
.toggle{position:relative;overflow:hidden}
|
| 10 |
+
.toggle input[type=checkbox]{display:none}
|
| 11 |
+
.toggle-group{position:absolute;width:200%;top:0;bottom:0;left:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none}
|
| 12 |
+
.toggle.off .toggle-group{left:-100%}
|
| 13 |
+
.toggle-on{position:absolute;top:0;bottom:0;left:0;right:50%;margin:0;border:0;border-radius:0}
|
| 14 |
+
.toggle-off{position:absolute;top:0;bottom:0;left:50%;right:0;margin:0;border:0;border-radius:0}
|
| 15 |
+
.toggle-handle{position:relative;margin:0 auto;padding-top:0;padding-bottom:0;height:100%;width:0;border-width:0 1px}
|
| 16 |
+
.toggle.btn{min-width:59px;min-height:34px}
|
| 17 |
+
.toggle-on.btn{padding-right:24px}
|
| 18 |
+
.toggle-off.btn{padding-left:24px}
|
| 19 |
+
.toggle.btn-lg{min-width:79px;min-height:45px}
|
| 20 |
+
.toggle-on.btn-lg{padding-right:31px}
|
| 21 |
+
.toggle-off.btn-lg{padding-left:31px}
|
| 22 |
+
.toggle-handle.btn-lg{width:40px}
|
| 23 |
+
.toggle.btn-sm{min-width:50px;min-height:30px}
|
| 24 |
+
.toggle-on.btn-sm{padding-right:20px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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
|
| 2 |
+
|
| 3 |
+
.login-area{
|
| 4 |
+
width: 480px;
|
| 5 |
+
display: flex;
|
| 6 |
+
flex-wrap: wrap;
|
| 7 |
+
align-items: center;
|
| 8 |
+
justify-content: center;
|
| 9 |
+
border-radius: 10px;
|
| 10 |
+
background-color: #1E157D;
|
| 11 |
+
padding: 40px;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.verification-code {
|
| 15 |
+
display: flex;
|
| 16 |
+
position: relative;
|
| 17 |
+
z-index: 1;
|
| 18 |
+
height: 50px;
|
| 19 |
+
width: 100%;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
.verification-code::after {
|
| 24 |
+
position: absolute;
|
| 25 |
+
content: '';
|
| 26 |
+
right: -37px;
|
| 27 |
+
width: 35px;
|
| 28 |
+
height: 50px;
|
| 29 |
+
background-color: #1E157D;
|
| 30 |
+
z-index: 2;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.verification-code input {
|
| 34 |
+
position: absolute;
|
| 35 |
+
height: 50px;
|
| 36 |
+
width: calc(100% + 80px);
|
| 37 |
+
left: 0;
|
| 38 |
+
background: transparent;
|
| 39 |
+
border: none;
|
| 40 |
+
font-size: 25px !important;
|
| 41 |
+
font-weight: 800;
|
| 42 |
+
letter-spacing: 51px;
|
| 43 |
+
text-indent: 1px;
|
| 44 |
+
border: none;
|
| 45 |
+
z-index: 1;
|
| 46 |
+
padding-left: 25px;
|
| 47 |
+
font-family: 'Courier Prime', monospace;
|
| 48 |
+
color: #fff !important;
|
| 49 |
+
border-color: transparent !important;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.verification-code input:focus {
|
| 53 |
+
outline: none;
|
| 54 |
+
cursor: pointer;
|
| 55 |
+
box-shadow: none;
|
| 56 |
+
border-color: transparent !important;
|
| 57 |
+
}
|
| 58 |
+
.boxes {
|
| 59 |
+
position: absolute;
|
| 60 |
+
top: 0;
|
| 61 |
+
height: 100%;
|
| 62 |
+
width: 100%;
|
| 63 |
+
display: flex;
|
| 64 |
+
flex-wrap: wrap;
|
| 65 |
+
justify-content: space-between;
|
| 66 |
+
z-index: -1;
|
| 67 |
+
}
|
| 68 |
+
.verification-code span {
|
| 69 |
+
height: 50px;
|
| 70 |
+
width: calc((100% / 6) - 3px);
|
| 71 |
+
background: #F1F1F1;
|
| 72 |
+
border: solid 1px #F1F1F1;
|
| 73 |
+
text-align: center;
|
| 74 |
+
line-height: 50px;
|
| 75 |
+
color: #CDC8C8
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.verification-code span {
|
| 79 |
+
height: 50px;
|
| 80 |
+
width: calc((100% / 6) - 3px);
|
| 81 |
+
background: #f1f1f100;
|
| 82 |
+
border: solid 1px #ffffff75;
|
| 83 |
+
text-align: center;
|
| 84 |
+
line-height: 50px;
|
| 85 |
+
color: #cdc8c8;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.login-area::after {
|
| 89 |
+
z-index: -1;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
.verification-text{
|
| 94 |
+
font-size: 1.2rem;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
@media (max-width: 575px) {
|
| 99 |
+
.login-area {
|
| 100 |
+
width: 475px;
|
| 101 |
+
padding: 32px;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.verification-text{
|
| 105 |
+
font-size: 1rem;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.verification-code input {
|
| 109 |
+
width: calc(100% + 72px);
|
| 110 |
+
padding-left: 27px;
|
| 111 |
+
letter-spacing: 53px;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.verification-code::after {
|
| 115 |
+
right: -32px;
|
| 116 |
+
width: 30px;
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
@media (max-width: 500px) {
|
| 122 |
+
.login-area {
|
| 123 |
+
width: 400px;
|
| 124 |
+
padding: 28px;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.verification-text{
|
| 128 |
+
font-size: 0.9rem;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.verification-code input {
|
| 132 |
+
padding-left: 20px;
|
| 133 |
+
letter-spacing: 42px;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.verification-code::after {
|
| 137 |
+
right: -28px;
|
| 138 |
+
width: 26px;
|
| 139 |
+
}
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
@media (max-width: 430px) {
|
| 143 |
+
.login-area {
|
| 144 |
+
width: 380px;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.verification-code input {
|
| 148 |
+
letter-spacing: 38px;
|
| 149 |
+
}
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
@media (max-width: 406px) {
|
| 154 |
+
.login-area {
|
| 155 |
+
width: 340px;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
.verification-code input {
|
| 159 |
+
height: 40px;
|
| 160 |
+
padding-left: 15px;
|
| 161 |
+
letter-spacing: 35px;
|
| 162 |
+
font-size: 20px !important;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
.verification-code {
|
| 166 |
+
height: 40px;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.verification-code::after {
|
| 170 |
+
height: 40px;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.verification-code span{
|
| 174 |
+
height: 40px;
|
| 175 |
+
line-height: 40px;
|
| 176 |
+
}
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
@media (max-width: 366px) {
|
| 180 |
+
.login-area {
|
| 181 |
+
width: 300px;
|
| 182 |
+
}
|
| 183 |
+
.verification-code input {
|
| 184 |
+
padding-left: 14px;
|
| 185 |
+
letter-spacing: 28px;
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
@media (max-width: 328px) {
|
| 190 |
+
.login-area {
|
| 191 |
+
width: 290px;
|
| 192 |
+
}
|
| 193 |
+
.verification-code input {
|
| 194 |
+
padding-left: 13px;
|
| 195 |
+
letter-spacing: 27px;
|
| 196 |
+
}
|
| 197 |
+
}
|
assets/admin/images/login.jpg
ADDED
|
assets/admin/images/profile/668a414d16c2f1720336717.png
ADDED
|
assets/admin/js/app.js
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use strict';
|
| 2 |
+
|
| 3 |
+
// responsive sidebar expand js
|
| 4 |
+
$('.res-sidebar-open-btn').on('click', function (){
|
| 5 |
+
$('.sidebar').addClass('open');
|
| 6 |
+
});
|
| 7 |
+
|
| 8 |
+
$('.res-sidebar-close-btn').on('click', function (){
|
| 9 |
+
$('.sidebar').removeClass('open');
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
$('.sidebar-dropdown > a').on('click', function () {
|
| 14 |
+
if ($(this).parent().find('.sidebar-submenu').length) {
|
| 15 |
+
if ($(this).parent().find('.sidebar-submenu').first().is(':visible')) {
|
| 16 |
+
$(this).find('.side-menu__sub-icon').removeClass('transform rotate-180');
|
| 17 |
+
$(this).removeClass('side-menu--open');
|
| 18 |
+
$(this).parent().find('.sidebar-submenu').first().slideUp({
|
| 19 |
+
done: function done() {
|
| 20 |
+
$(this).removeClass('sidebar-submenu__open');
|
| 21 |
+
}
|
| 22 |
+
});
|
| 23 |
+
} else {
|
| 24 |
+
$(this).find('.side-menu__sub-icon').addClass('transform rotate-180');
|
| 25 |
+
$(this).addClass('side-menu--open');
|
| 26 |
+
$(this).parent().find('.sidebar-submenu').first().slideDown({
|
| 27 |
+
done: function done() {
|
| 28 |
+
$(this).addClass('sidebar-submenu__open');
|
| 29 |
+
}
|
| 30 |
+
});
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
});
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
function proPicURL(input) {
|
| 37 |
+
if (input.files && input.files[0]) {
|
| 38 |
+
var reader = new FileReader();
|
| 39 |
+
reader.onload = function (e) {
|
| 40 |
+
var preview = $(input).closest('.image-upload-wrapper').find('.image-upload-preview');
|
| 41 |
+
$(preview).css('background-image', 'url(' + e.target.result + ')');
|
| 42 |
+
$(preview).addClass('has-image');
|
| 43 |
+
$(preview).hide();
|
| 44 |
+
$(preview).fadeIn(650);
|
| 45 |
+
}
|
| 46 |
+
reader.readAsDataURL(input.files[0]);
|
| 47 |
+
}
|
| 48 |
+
}
|
| 49 |
+
$(".image-upload-input").on('change', function () {
|
| 50 |
+
proPicURL(this);
|
| 51 |
+
});
|
| 52 |
+
$(".remove-image").on('click', function () {
|
| 53 |
+
$(this).parents(".image-upload-preview").css('background-image', 'none');
|
| 54 |
+
$(this).parents(".image-upload-preview").removeClass('has-image');
|
| 55 |
+
$(this).parents(".image-upload-wrapper").find('input[type=file]').val('');
|
| 56 |
+
});
|
| 57 |
+
$("form").on("change", ".file-upload-field", function () {
|
| 58 |
+
$(this).parent(".file-upload-wrapper").attr("data-text", $(this).val().replace(/.*(\/|\\)/, ''));
|
| 59 |
+
});
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
var inputElements = $('input,select,textarea');
|
| 64 |
+
|
| 65 |
+
$.each(inputElements, function (index, element) {
|
| 66 |
+
element = $(element);
|
| 67 |
+
if (!element.hasClass('profilePicUpload') && (!element.attr('id')) && element.attr('type') != 'hidden') {
|
| 68 |
+
element.closest('.form-group').find('label').attr('for',element.attr('name'));
|
| 69 |
+
element.attr('id',element.attr('name'))
|
| 70 |
+
}
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[title], [data-title], [data-bs-title]'))
|
| 76 |
+
tooltipTriggerList.map(function (tooltipTriggerEl) {
|
| 77 |
+
return new bootstrap.Tooltip(tooltipTriggerEl)
|
| 78 |
+
});
|
| 79 |
+
|
| 80 |
+
$.each($('input, select, textarea'), function (i, element) {
|
| 81 |
+
|
| 82 |
+
if (element.hasAttribute('required')) {
|
| 83 |
+
$(element).closest('.form-group').find('label').first().addClass('required');
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
});
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
//Custom Data Table
|
| 90 |
+
$('.custom-data-table').closest('.card').find('.card-body').attr('style','padding-top:0px');
|
| 91 |
+
var tr_elements = $('.custom-data-table tbody tr');
|
| 92 |
+
$(document).on('input','input[name=search_table]',function(){
|
| 93 |
+
var search = $(this).val().toUpperCase();
|
| 94 |
+
var match = tr_elements.filter(function (idx, elem) {
|
| 95 |
+
return $(elem).text().trim().toUpperCase().indexOf(search) >= 0 ? elem : null;
|
| 96 |
+
}).sort();
|
| 97 |
+
var table_content = $('.custom-data-table tbody');
|
| 98 |
+
if (match.length == 0) {
|
| 99 |
+
table_content.html('<tr><td colspan="100%" class="text-center">Data Not Found</td></tr>');
|
| 100 |
+
}else{
|
| 101 |
+
table_content.html(match);
|
| 102 |
+
}
|
| 103 |
+
});
|
| 104 |
+
|
| 105 |
+
$('.pagination').closest('nav').addClass('d-flex justify-content-end');
|
| 106 |
+
|
| 107 |
+
$('.showFilterBtn').on('click',function(){
|
| 108 |
+
$('.responsive-filter-card').slideToggle();
|
| 109 |
+
});
|
| 110 |
+
|
| 111 |
+
$(document).on('click','.short-codes',function () {
|
| 112 |
+
var text = $(this).text();
|
| 113 |
+
var vInput = document.createElement("input");
|
| 114 |
+
vInput.value = text;
|
| 115 |
+
document.body.appendChild(vInput);
|
| 116 |
+
vInput.select();
|
| 117 |
+
document.execCommand("copy");
|
| 118 |
+
document.body.removeChild(vInput);
|
| 119 |
+
$(this).addClass('copied');
|
| 120 |
+
setTimeout(() => {
|
| 121 |
+
$(this).removeClass('copied');
|
| 122 |
+
}, 1000);
|
| 123 |
+
});
|
| 124 |
+
|
| 125 |
+
Array.from(document.querySelectorAll('table')).forEach(table => {
|
| 126 |
+
let heading = table.querySelectorAll('thead tr th');
|
| 127 |
+
Array.from(table.querySelectorAll('tbody tr')).forEach((row) => {
|
| 128 |
+
let columArray = Array.from(row.querySelectorAll('td'));
|
| 129 |
+
if (columArray.length <= 1) return;
|
| 130 |
+
columArray.forEach((colum, i) => {
|
| 131 |
+
colum.setAttribute('data-label', heading[i].innerText)
|
| 132 |
+
});
|
| 133 |
+
});
|
| 134 |
+
});
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
(function ($) {
|
| 138 |
+
$.each($('.select2'), function () {
|
| 139 |
+
$(this)
|
| 140 |
+
.wrap(`<div class="position-relative"></div>`)
|
| 141 |
+
.select2({
|
| 142 |
+
dropdownParent: $(this).parent()
|
| 143 |
+
});
|
| 144 |
+
});
|
| 145 |
+
|
| 146 |
+
$.each($('.select2-auto-tokenize'), function () {
|
| 147 |
+
$(this)
|
| 148 |
+
.wrap(`<div class="position-relative"></div>`)
|
| 149 |
+
.select2({
|
| 150 |
+
tags: true,
|
| 151 |
+
tokenSeparators: [','],
|
| 152 |
+
dropdownParent: $(this).parent()
|
| 153 |
+
});
|
| 154 |
+
});
|
| 155 |
+
|
| 156 |
+
|
| 157 |
+
let disableSubmission = false;
|
| 158 |
+
$('.disableSubmission').on('submit',function(e){
|
| 159 |
+
if (disableSubmission) {
|
| 160 |
+
e.preventDefault()
|
| 161 |
+
}else{
|
| 162 |
+
disableSubmission = true;
|
| 163 |
+
}
|
| 164 |
+
});
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
$('.table-responsive').on('click', '[data-bs-toggle="dropdown"]', function (e) {
|
| 168 |
+
const { top, left } = $(this).next(".dropdown-menu")[0].getBoundingClientRect();
|
| 169 |
+
$(this).next(".dropdown-menu").css({
|
| 170 |
+
position: "fixed",
|
| 171 |
+
inset: "unset",
|
| 172 |
+
transform: "unset",
|
| 173 |
+
top: top + "px",
|
| 174 |
+
left: left + "px",
|
| 175 |
+
});
|
| 176 |
+
});
|
| 177 |
+
|
| 178 |
+
if ($('.table-responsive').length) {
|
| 179 |
+
$(window).on('scroll', function (e) {
|
| 180 |
+
$('.table-responsive .dropdown-menu').removeClass('show');
|
| 181 |
+
$('.table-responsive [data-bs-toggle="dropdown"]').removeClass('show');
|
| 182 |
+
});
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
})(jQuery);
|
assets/admin/js/charts.js
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// doughnut
|
| 2 |
+
function piChart(element, labels, data) {
|
| 3 |
+
|
| 4 |
+
new Chart(element, {
|
| 5 |
+
type: 'doughnut',
|
| 6 |
+
data: {
|
| 7 |
+
labels: labels,
|
| 8 |
+
datasets: [{
|
| 9 |
+
data: data,
|
| 10 |
+
backgroundColor: [
|
| 11 |
+
'#ff7675',
|
| 12 |
+
'#6c5ce7',
|
| 13 |
+
'#ffa62b',
|
| 14 |
+
'#ffeaa7',
|
| 15 |
+
'#D980FA',
|
| 16 |
+
'#fccbcb',
|
| 17 |
+
'#45aaf2',
|
| 18 |
+
'#05dfd7',
|
| 19 |
+
'#FF00F6',
|
| 20 |
+
'#1e90ff',
|
| 21 |
+
'#2ed573',
|
| 22 |
+
'#eccc68',
|
| 23 |
+
'#ff5200',
|
| 24 |
+
'#cd84f1',
|
| 25 |
+
'#7efff5',
|
| 26 |
+
'#7158e2',
|
| 27 |
+
'#fff200',
|
| 28 |
+
'#ff9ff3',
|
| 29 |
+
'#08ffc8',
|
| 30 |
+
'#3742fa',
|
| 31 |
+
'#1089ff',
|
| 32 |
+
'#70FF61',
|
| 33 |
+
'#bf9fee',
|
| 34 |
+
'#574b90'
|
| 35 |
+
],
|
| 36 |
+
borderColor: [
|
| 37 |
+
'rgba(231, 80, 90, 0.75)'
|
| 38 |
+
],
|
| 39 |
+
borderWidth: 0,
|
| 40 |
+
|
| 41 |
+
}]
|
| 42 |
+
},
|
| 43 |
+
options: {
|
| 44 |
+
aspectRatio: 1,
|
| 45 |
+
responsive: true,
|
| 46 |
+
maintainAspectRatio: true,
|
| 47 |
+
elements: {
|
| 48 |
+
line: {
|
| 49 |
+
tension: 0 // disables bezier curves
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
scales: {
|
| 53 |
+
xAxes: [{
|
| 54 |
+
display: false
|
| 55 |
+
}],
|
| 56 |
+
yAxes: [{
|
| 57 |
+
display: false
|
| 58 |
+
}]
|
| 59 |
+
},
|
| 60 |
+
legend: {
|
| 61 |
+
display: false,
|
| 62 |
+
}
|
| 63 |
+
}
|
| 64 |
+
});
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
function barChart(element, currency, series, categories, height = 380) {
|
| 68 |
+
let colors = ['#00e396', '#d92027'];
|
| 69 |
+
|
| 70 |
+
let options = {
|
| 71 |
+
series: series,
|
| 72 |
+
chart: {
|
| 73 |
+
type: 'bar',
|
| 74 |
+
height: height,
|
| 75 |
+
toolbar: {
|
| 76 |
+
show: true,
|
| 77 |
+
offsetX: 0,
|
| 78 |
+
offsetY: 0,
|
| 79 |
+
tools: {
|
| 80 |
+
download: true,
|
| 81 |
+
selection: true,
|
| 82 |
+
zoom: true,
|
| 83 |
+
zoomin: true,
|
| 84 |
+
zoomout: true,
|
| 85 |
+
pan: true,
|
| 86 |
+
reset: true,
|
| 87 |
+
customIcons: []
|
| 88 |
+
},
|
| 89 |
+
export: {
|
| 90 |
+
csv: {
|
| 91 |
+
filename: undefined,
|
| 92 |
+
columnDelimiter: ',',
|
| 93 |
+
headerCategory: 'category',
|
| 94 |
+
headerValue: 'value',
|
| 95 |
+
dateFormatter(timestamp) {
|
| 96 |
+
return new Date(timestamp).toDateString()
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
svg: {
|
| 100 |
+
filename: undefined,
|
| 101 |
+
},
|
| 102 |
+
png: {
|
| 103 |
+
filename: undefined,
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
autoSelected: 'zoom'
|
| 107 |
+
},
|
| 108 |
+
},
|
| 109 |
+
plotOptions: {
|
| 110 |
+
bar: {
|
| 111 |
+
horizontal: false,
|
| 112 |
+
columnWidth: '50%',
|
| 113 |
+
endingShape: 'rounded'
|
| 114 |
+
},
|
| 115 |
+
},
|
| 116 |
+
dataLabels: {
|
| 117 |
+
enabled: false
|
| 118 |
+
},
|
| 119 |
+
stroke: {
|
| 120 |
+
show: true,
|
| 121 |
+
width: 2,
|
| 122 |
+
colors: ['transparent']
|
| 123 |
+
},
|
| 124 |
+
xaxis: {
|
| 125 |
+
categories: categories,
|
| 126 |
+
},
|
| 127 |
+
|
| 128 |
+
yaxis: {
|
| 129 |
+
title: {
|
| 130 |
+
text: currency,
|
| 131 |
+
style: {
|
| 132 |
+
color: '#7c97bb'
|
| 133 |
+
}
|
| 134 |
+
}
|
| 135 |
+
},
|
| 136 |
+
grid: {
|
| 137 |
+
xaxis: {
|
| 138 |
+
lines: {
|
| 139 |
+
show: false
|
| 140 |
+
}
|
| 141 |
+
},
|
| 142 |
+
yaxis: {
|
| 143 |
+
lines: {
|
| 144 |
+
show: false
|
| 145 |
+
}
|
| 146 |
+
},
|
| 147 |
+
},
|
| 148 |
+
fill: {
|
| 149 |
+
opacity: 1,
|
| 150 |
+
colors: colors
|
| 151 |
+
},
|
| 152 |
+
tooltip: {
|
| 153 |
+
y: {
|
| 154 |
+
formatter: function (val) {
|
| 155 |
+
return currency + " " + val + " "
|
| 156 |
+
},
|
| 157 |
+
},
|
| 158 |
+
marker: {
|
| 159 |
+
fillColors: colors
|
| 160 |
+
},
|
| 161 |
+
},
|
| 162 |
+
legend: {
|
| 163 |
+
show: true,
|
| 164 |
+
markers: {
|
| 165 |
+
fillColors: colors
|
| 166 |
+
},
|
| 167 |
+
labels: {
|
| 168 |
+
colors: colors
|
| 169 |
+
}
|
| 170 |
+
}
|
| 171 |
+
};
|
| 172 |
+
|
| 173 |
+
let chart = new ApexCharts(element, options);
|
| 174 |
+
chart.render();
|
| 175 |
+
return chart
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
function lineChart(element, series, categories, height = 380) {
|
| 179 |
+
let colors = ['#00e396', '#d92027'];
|
| 180 |
+
var options = {
|
| 181 |
+
chart: {
|
| 182 |
+
height: height,
|
| 183 |
+
type: "area",
|
| 184 |
+
toolbar: {
|
| 185 |
+
show: true,
|
| 186 |
+
offsetX: 0,
|
| 187 |
+
offsetY: 0,
|
| 188 |
+
tools: {
|
| 189 |
+
download: true,
|
| 190 |
+
selection: true,
|
| 191 |
+
zoom: true,
|
| 192 |
+
zoomin: true,
|
| 193 |
+
zoomout: true,
|
| 194 |
+
pan: true,
|
| 195 |
+
reset: true,
|
| 196 |
+
customIcons: []
|
| 197 |
+
},
|
| 198 |
+
autoSelected: 'zoom'
|
| 199 |
+
},
|
| 200 |
+
dropShadow: {
|
| 201 |
+
enabled: true,
|
| 202 |
+
enabledSeries: [0],
|
| 203 |
+
top: -2,
|
| 204 |
+
left: 0,
|
| 205 |
+
blur: 10,
|
| 206 |
+
opacity: 0.08
|
| 207 |
+
},
|
| 208 |
+
animations: {
|
| 209 |
+
enabled: true,
|
| 210 |
+
easing: 'linear',
|
| 211 |
+
dynamicAnimation: {
|
| 212 |
+
speed: 1000
|
| 213 |
+
}
|
| 214 |
+
},
|
| 215 |
+
},
|
| 216 |
+
colors: colors,
|
| 217 |
+
dataLabels: {
|
| 218 |
+
enabled: false
|
| 219 |
+
},
|
| 220 |
+
series: series,
|
| 221 |
+
fill: {
|
| 222 |
+
type: "gradient",
|
| 223 |
+
gradient: {
|
| 224 |
+
shadeIntensity: 1,
|
| 225 |
+
opacityFrom: 0.7,
|
| 226 |
+
opacityTo: 0.9,
|
| 227 |
+
stops: [0, 90, 100]
|
| 228 |
+
}
|
| 229 |
+
},
|
| 230 |
+
xaxis: {
|
| 231 |
+
categories: categories
|
| 232 |
+
},
|
| 233 |
+
grid: {
|
| 234 |
+
padding: {
|
| 235 |
+
left: 5,
|
| 236 |
+
right: 5
|
| 237 |
+
},
|
| 238 |
+
xaxis: {
|
| 239 |
+
lines: {
|
| 240 |
+
show: false
|
| 241 |
+
}
|
| 242 |
+
},
|
| 243 |
+
yaxis: {
|
| 244 |
+
lines: {
|
| 245 |
+
show: false
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
},
|
| 249 |
+
};
|
| 250 |
+
|
| 251 |
+
var chart = new ApexCharts(element, options);
|
| 252 |
+
|
| 253 |
+
chart.render();
|
| 254 |
+
|
| 255 |
+
return chart
|
| 256 |
+
}
|
assets/admin/js/codemirror.min.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/js/css.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}e.defineMode("css",function(t,r){var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var i,a,n=t.indentUnit,l=r.tokenHooks,s=r.documentTypes||{},d=r.mediaTypes||{},c=r.mediaFeatures||{},p=r.mediaValueKeywords||{},u=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},b=r.fontProperties||{},g=r.counterDescriptors||{},h=r.colorKeywords||{},f=r.valueKeywords||{},k=r.allowNested,y=r.lineComment,w=!0===r.supportsAtComponent,v=!1!==t.highlightNonStandardPropertyKeywords;function x(e,t){return i=t,e}function z(e){return function(t,r){for(var o,i=!1;null!=(o=t.next());){if(o==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==o}return(o==e||!i&&")"!=e)&&(r.tokenize=null),x("string","string")}}function j(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=z(")"),x(null,"(")}function P(e,t,r){this.type=e,this.indent=t,this.prev=r}function q(e,t,r,o){return e.context=new P(r,t.indentation()+(!1===o?0:n),e.context),r}function K(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function C(e,t,r){return T[r.context.type](e,t,r)}function B(e,t,r,o){for(var i=o||1;i>0;i--)r.context=r.context.prev;return C(e,t,r)}function _(e){var t=e.current().toLowerCase();a=f.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var T={top:function(e,t,r){if("{"==e)return q(r,t,"block");if("}"==e&&r.context.prev)return K(r);if(w&&/@component/i.test(e))return q(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return q(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return q(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return q(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return q(r,t,"interpolation");if(":"==e)return"pseudo";if(k&&"("==e)return q(r,t,"parens")}return r.context.type},block:function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return u.hasOwnProperty(o)?(a="property","maybeprop"):m.hasOwnProperty(o)?(a=v?"string-2":"property","maybeprop"):k?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":k||"hash"!=e&&"qualifier"!=e?T.top(e,t,r):(a="error","block")},maybeprop:function(e,t,r){return":"==e?q(r,t,"prop"):C(e,t,r)},prop:function(e,t,r){if(";"==e)return K(r);if("{"==e&&k)return q(r,t,"propBlock");if("}"==e||"{"==e)return B(e,t,r);if("("==e)return q(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)_(t);else if("interpolation"==e)return q(r,t,"interpolation")}else a+=" error";return"prop"},propBlock:function(e,t,r){return"}"==e?K(r):"word"==e?(a="property","maybeprop"):r.context.type},parens:function(e,t,r){return"{"==e||"}"==e?B(e,t,r):")"==e?K(r):"("==e?q(r,t,"parens"):"interpolation"==e?q(r,t,"interpolation"):("word"==e&&_(t),"parens")},pseudo:function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):C(e,t,r)},documentTypes:function(e,t,r){return"word"==e&&s.hasOwnProperty(t.current())?(a="tag",r.context.type):T.atBlock(e,t,r)},atBlock:function(e,t,r){if("("==e)return q(r,t,"atBlock_parens");if("}"==e||";"==e)return B(e,t,r);if("{"==e)return K(r)&&q(r,t,k?"block":"top");if("interpolation"==e)return q(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();a="only"==o||"not"==o||"and"==o||"or"==o?"keyword":d.hasOwnProperty(o)?"attribute":c.hasOwnProperty(o)?"property":p.hasOwnProperty(o)?"keyword":u.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?v?"string-2":"property":f.hasOwnProperty(o)?"atom":h.hasOwnProperty(o)?"keyword":"error"}return r.context.type},atComponentBlock:function(e,t,r){return"}"==e?B(e,t,r):"{"==e?K(r)&&q(r,t,k?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},atBlock_parens:function(e,t,r){return")"==e?K(r):"{"==e||"}"==e?B(e,t,r,2):T.atBlock(e,t,r)},restricted_atBlock_before:function(e,t,r){return"{"==e?q(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):C(e,t,r)},restricted_atBlock:function(e,t,r){return"}"==e?(r.stateArg=null,K(r)):"word"==e?(a="@font-face"==r.stateArg&&!b.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?q(r,t,"top"):C(e,t,r)},at:function(e,t,r){return";"==e?K(r):"{"==e||"}"==e?B(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},interpolation:function(e,t,r){return"}"==e?K(r):"{"==e||";"==e?B(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new P(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function(e,t){var r=e.next();if(l[r]){var o=l[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),x("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?x(null,"compare"):'"'==r||"'"==r?(t.tokenize=z(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),x("atom","hash")):"!"==r?(e.match(/^\s*\w*/),x("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),x("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?x(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?x(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=j),x("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),x("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):e.match(/^\w+-/)?x("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(i=r[1],r=r[0]),a=r,"comment"!=i&&(t.state=T[t.state](i,e,t)),a},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),i=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(i=Math.max(0,r.indent-n)):i=(r=r.prev).indent),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var r=["domain","regexp","url","url-prefix"],o=t(r),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=t(i),n=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],l=t(n),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],d=t(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=t(c),u=["border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],m=t(u),b=t(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],f=t(h),k=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=t(k),w=r.concat(i).concat(n).concat(s).concat(c).concat(u).concat(h).concat(k);function v(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.registerHelper("hintWords","css",w),e.defineMIME("text/css",{documentTypes:o,mediaTypes:a,mediaFeatures:l,mediaValueKeywords:d,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:b,counterDescriptors:g,colorKeywords:f,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=v,v(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:d,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:f,valueKeywords:y,fontProperties:b,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=v,v(e,t)):["operator","operator"]},":":function(e){return!!e.match(/^\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:l,mediaValueKeywords:d,propertyKeywords:p,nonStandardPropertyKeywords:m,colorKeywords:f,valueKeywords:y,fontProperties:b,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=v,v(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:o,mediaTypes:a,mediaFeatures:l,propertyKeywords:p,nonStandardPropertyKeywords:m,fontProperties:b,counterDescriptors:g,colorKeywords:f,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=v,v(e,t))}},name:"css",helperType:"gss"})});
|
assets/admin/js/daterangepicker.min.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* Minified by jsDelivr using Terser v3.14.1.
|
| 3 |
+
* Original file: /npm/daterangepicker@3.1.0/daterangepicker.js
|
| 4 |
+
*
|
| 5 |
+
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
| 6 |
+
*/
|
| 7 |
+
!function (t, e) { if ("function" == typeof define && define.amd) define(["moment", "jquery"], function (t, a) { return a.fn || (a.fn = {}), "function" != typeof t && t.hasOwnProperty("default") && (t = t.default), e(t, a) }); else if ("object" == typeof module && module.exports) { var a = "undefined" != typeof window ? window.jQuery : void 0; a || (a = require("jquery")).fn || (a.fn = {}); var i = "undefined" != typeof window && void 0 !== window.moment ? window.moment : require("moment"); module.exports = e(i, a) } else t.daterangepicker = e(t.moment, t.jQuery) }(this, function (t, e) { var a = function (a, i, s) { if (this.parentEl = "body", this.element = e(a), this.startDate = t().startOf("day"), this.endDate = t().endOf("day"), this.minDate = !1, this.maxDate = !1, this.maxSpan = !1, this.autoApply = !1, this.singleDatePicker = !1, this.showDropdowns = !1, this.minYear = t().subtract(100, "year").format("YYYY"), this.maxYear = t().add(100, "year").format("YYYY"), this.showWeekNumbers = !1, this.showISOWeekNumbers = !1, this.showCustomRangeLabel = !0, this.timePicker = !1, this.timePicker24Hour = !1, this.timePickerIncrement = 1, this.timePickerSeconds = !1, this.linkedCalendars = !0, this.autoUpdateInput = !0, this.alwaysShowCalendars = !1, this.ranges = {}, this.opens = "right", this.element.hasClass("pull-right") && (this.opens = "left"), this.drops = "down", this.element.hasClass("dropup") && (this.drops = "up"), this.buttonClasses = "btn btn-sm", this.applyButtonClasses = "btn-primary", this.cancelButtonClasses = "btn-default", this.locale = { direction: "ltr", format: t.localeData().longDateFormat("L"), separator: " - ", applyLabel: "Apply", cancelLabel: "Cancel", weekLabel: "W", customRangeLabel: "Custom Range", daysOfWeek: t.weekdaysMin(), monthNames: t.monthsShort(), firstDay: t.localeData().firstDayOfWeek() }, this.callback = function () { }, this.isShowing = !1, this.leftCalendar = {}, this.rightCalendar = {}, "object" == typeof i && null !== i || (i = {}), "string" == typeof (i = e.extend(this.element.data(), i)).template || i.template instanceof e || (i.template = '<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'), this.parentEl = i.parentEl && e(i.parentEl).length ? e(i.parentEl) : e(this.parentEl), this.container = e(i.template).appendTo(this.parentEl), "object" == typeof i.locale && ("string" == typeof i.locale.direction && (this.locale.direction = i.locale.direction), "string" == typeof i.locale.format && (this.locale.format = i.locale.format), "string" == typeof i.locale.separator && (this.locale.separator = i.locale.separator), "object" == typeof i.locale.daysOfWeek && (this.locale.daysOfWeek = i.locale.daysOfWeek.slice()), "object" == typeof i.locale.monthNames && (this.locale.monthNames = i.locale.monthNames.slice()), "number" == typeof i.locale.firstDay && (this.locale.firstDay = i.locale.firstDay), "string" == typeof i.locale.applyLabel && (this.locale.applyLabel = i.locale.applyLabel), "string" == typeof i.locale.cancelLabel && (this.locale.cancelLabel = i.locale.cancelLabel), "string" == typeof i.locale.weekLabel && (this.locale.weekLabel = i.locale.weekLabel), "string" == typeof i.locale.customRangeLabel)) { (p = document.createElement("textarea")).innerHTML = i.locale.customRangeLabel; var n = p.value; this.locale.customRangeLabel = n } if (this.container.addClass(this.locale.direction), "string" == typeof i.startDate && (this.startDate = t(i.startDate, this.locale.format)), "string" == typeof i.endDate && (this.endDate = t(i.endDate, this.locale.format)), "string" == typeof i.minDate && (this.minDate = t(i.minDate, this.locale.format)), "string" == typeof i.maxDate && (this.maxDate = t(i.maxDate, this.locale.format)), "object" == typeof i.startDate && (this.startDate = t(i.startDate)), "object" == typeof i.endDate && (this.endDate = t(i.endDate)), "object" == typeof i.minDate && (this.minDate = t(i.minDate)), "object" == typeof i.maxDate && (this.maxDate = t(i.maxDate)), this.minDate && this.startDate.isBefore(this.minDate) && (this.startDate = this.minDate.clone()), this.maxDate && this.endDate.isAfter(this.maxDate) && (this.endDate = this.maxDate.clone()), "string" == typeof i.applyButtonClasses && (this.applyButtonClasses = i.applyButtonClasses), "string" == typeof i.applyClass && (this.applyButtonClasses = i.applyClass), "string" == typeof i.cancelButtonClasses && (this.cancelButtonClasses = i.cancelButtonClasses), "string" == typeof i.cancelClass && (this.cancelButtonClasses = i.cancelClass), "object" == typeof i.maxSpan && (this.maxSpan = i.maxSpan), "object" == typeof i.dateLimit && (this.maxSpan = i.dateLimit), "string" == typeof i.opens && (this.opens = i.opens), "string" == typeof i.drops && (this.drops = i.drops), "boolean" == typeof i.showWeekNumbers && (this.showWeekNumbers = i.showWeekNumbers), "boolean" == typeof i.showISOWeekNumbers && (this.showISOWeekNumbers = i.showISOWeekNumbers), "string" == typeof i.buttonClasses && (this.buttonClasses = i.buttonClasses), "object" == typeof i.buttonClasses && (this.buttonClasses = i.buttonClasses.join(" ")), "boolean" == typeof i.showDropdowns && (this.showDropdowns = i.showDropdowns), "number" == typeof i.minYear && (this.minYear = i.minYear), "number" == typeof i.maxYear && (this.maxYear = i.maxYear), "boolean" == typeof i.showCustomRangeLabel && (this.showCustomRangeLabel = i.showCustomRangeLabel), "boolean" == typeof i.singleDatePicker && (this.singleDatePicker = i.singleDatePicker, this.singleDatePicker && (this.endDate = this.startDate.clone())), "boolean" == typeof i.timePicker && (this.timePicker = i.timePicker), "boolean" == typeof i.timePickerSeconds && (this.timePickerSeconds = i.timePickerSeconds), "number" == typeof i.timePickerIncrement && (this.timePickerIncrement = i.timePickerIncrement), "boolean" == typeof i.timePicker24Hour && (this.timePicker24Hour = i.timePicker24Hour), "boolean" == typeof i.autoApply && (this.autoApply = i.autoApply), "boolean" == typeof i.autoUpdateInput && (this.autoUpdateInput = i.autoUpdateInput), "boolean" == typeof i.linkedCalendars && (this.linkedCalendars = i.linkedCalendars), "function" == typeof i.isInvalidDate && (this.isInvalidDate = i.isInvalidDate), "function" == typeof i.isCustomDate && (this.isCustomDate = i.isCustomDate), "boolean" == typeof i.alwaysShowCalendars && (this.alwaysShowCalendars = i.alwaysShowCalendars), 0 != this.locale.firstDay) for (var r = this.locale.firstDay; r > 0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()), r--; var o, h, l; if (void 0 === i.startDate && void 0 === i.endDate && e(this.element).is(":text")) { var c = e(this.element).val(), d = c.split(this.locale.separator); o = h = null, 2 == d.length ? (o = t(d[0], this.locale.format), h = t(d[1], this.locale.format)) : this.singleDatePicker && "" !== c && (o = t(c, this.locale.format), h = t(c, this.locale.format)), null !== o && null !== h && (this.setStartDate(o), this.setEndDate(h)) } if ("object" == typeof i.ranges) { for (l in i.ranges) { o = "string" == typeof i.ranges[l][0] ? t(i.ranges[l][0], this.locale.format) : t(i.ranges[l][0]), h = "string" == typeof i.ranges[l][1] ? t(i.ranges[l][1], this.locale.format) : t(i.ranges[l][1]), this.minDate && o.isBefore(this.minDate) && (o = this.minDate.clone()); var m = this.maxDate; if (this.maxSpan && m && o.clone().add(this.maxSpan).isAfter(m) && (m = o.clone().add(this.maxSpan)), m && h.isAfter(m) && (h = m.clone()), !(this.minDate && h.isBefore(this.minDate, this.timepicker ? "minute" : "day") || m && o.isAfter(m, this.timepicker ? "minute" : "day"))) { var p; (p = document.createElement("textarea")).innerHTML = l; n = p.value; this.ranges[n] = [o, h] } } var f = "<ul>"; for (l in this.ranges) f += '<li data-range-key="' + l + '">' + l + "</li>"; this.showCustomRangeLabel && (f += '<li data-range-key="' + this.locale.customRangeLabel + '">' + this.locale.customRangeLabel + "</li>"), f += "</ul>", this.container.find(".ranges").prepend(f) } "function" == typeof s && (this.callback = s), this.timePicker || (this.startDate = this.startDate.startOf("day"), this.endDate = this.endDate.endOf("day"), this.container.find(".calendar-time").hide()), this.timePicker && this.autoApply && (this.autoApply = !1), this.autoApply && this.container.addClass("auto-apply"), "object" == typeof i.ranges && this.container.addClass("show-ranges"), this.singleDatePicker && (this.container.addClass("single"), this.container.find(".drp-calendar.left").addClass("single"), this.container.find(".drp-calendar.left").show(), this.container.find(".drp-calendar.right").hide(), !this.timePicker && this.autoApply && this.container.addClass("auto-apply")), (void 0 === i.ranges && !this.singleDatePicker || this.alwaysShowCalendars) && this.container.addClass("show-calendar"), this.container.addClass("opens" + this.opens), this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses), this.applyButtonClasses.length && this.container.find(".applyBtn").addClass(this.applyButtonClasses), this.cancelButtonClasses.length && this.container.find(".cancelBtn").addClass(this.cancelButtonClasses), this.container.find(".applyBtn").html(this.locale.applyLabel), this.container.find(".cancelBtn").html(this.locale.cancelLabel), this.container.find(".drp-calendar").on("click.daterangepicker", ".prev", e.proxy(this.clickPrev, this)).on("click.daterangepicker", ".next", e.proxy(this.clickNext, this)).on("mousedown.daterangepicker", "td.available", e.proxy(this.clickDate, this)).on("mouseenter.daterangepicker", "td.available", e.proxy(this.hoverDate, this)).on("change.daterangepicker", "select.yearselect", e.proxy(this.monthOrYearChanged, this)).on("change.daterangepicker", "select.monthselect", e.proxy(this.monthOrYearChanged, this)).on("change.daterangepicker", "select.hourselect,select.minuteselect,select.secondselect,select.ampmselect", e.proxy(this.timeChanged, this)), this.container.find(".ranges").on("click.daterangepicker", "li", e.proxy(this.clickRange, this)), this.container.find(".drp-buttons").on("click.daterangepicker", "button.applyBtn", e.proxy(this.clickApply, this)).on("click.daterangepicker", "button.cancelBtn", e.proxy(this.clickCancel, this)), this.element.is("input") || this.element.is("button") ? this.element.on({ "click.daterangepicker": e.proxy(this.show, this), "focus.daterangepicker": e.proxy(this.show, this), "keyup.daterangepicker": e.proxy(this.elementChanged, this), "keydown.daterangepicker": e.proxy(this.keydown, this) }) : (this.element.on("click.daterangepicker", e.proxy(this.toggle, this)), this.element.on("keydown.daterangepicker", e.proxy(this.toggle, this))), this.updateElement() }; return a.prototype = { constructor: a, setStartDate: function (e) { "string" == typeof e && (this.startDate = t(e, this.locale.format)), "object" == typeof e && (this.startDate = t(e)), this.timePicker || (this.startDate = this.startDate.startOf("day")), this.timePicker && this.timePickerIncrement && this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement), this.minDate && this.startDate.isBefore(this.minDate) && (this.startDate = this.minDate.clone(), this.timePicker && this.timePickerIncrement && this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement)), this.maxDate && this.startDate.isAfter(this.maxDate) && (this.startDate = this.maxDate.clone(), this.timePicker && this.timePickerIncrement && this.startDate.minute(Math.floor(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement)), this.isShowing || this.updateElement(), this.updateMonthsInView() }, setEndDate: function (e) { "string" == typeof e && (this.endDate = t(e, this.locale.format)), "object" == typeof e && (this.endDate = t(e)), this.timePicker || (this.endDate = this.endDate.endOf("day")), this.timePicker && this.timePickerIncrement && this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement), this.endDate.isBefore(this.startDate) && (this.endDate = this.startDate.clone()), this.maxDate && this.endDate.isAfter(this.maxDate) && (this.endDate = this.maxDate.clone()), this.maxSpan && this.startDate.clone().add(this.maxSpan).isBefore(this.endDate) && (this.endDate = this.startDate.clone().add(this.maxSpan)), this.previousRightTime = this.endDate.clone(), this.container.find(".drp-selected").html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)), this.isShowing || this.updateElement(), this.updateMonthsInView() }, isInvalidDate: function () { return !1 }, isCustomDate: function () { return !1 }, updateView: function () { this.timePicker && (this.renderTimePicker("left"), this.renderTimePicker("right"), this.endDate ? this.container.find(".right .calendar-time select").prop("disabled", !1).removeClass("disabled") : this.container.find(".right .calendar-time select").prop("disabled", !0).addClass("disabled")), this.endDate && this.container.find(".drp-selected").html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)), this.updateMonthsInView(), this.updateCalendars(), this.updateFormInputs() }, updateMonthsInView: function () { if (this.endDate) { if (!this.singleDatePicker && this.leftCalendar.month && this.rightCalendar.month && (this.startDate.format("YYYY-MM") == this.leftCalendar.month.format("YYYY-MM") || this.startDate.format("YYYY-MM") == this.rightCalendar.month.format("YYYY-MM")) && (this.endDate.format("YYYY-MM") == this.leftCalendar.month.format("YYYY-MM") || this.endDate.format("YYYY-MM") == this.rightCalendar.month.format("YYYY-MM"))) return; this.leftCalendar.month = this.startDate.clone().date(2), this.linkedCalendars || this.endDate.month() == this.startDate.month() && this.endDate.year() == this.startDate.year() ? this.rightCalendar.month = this.startDate.clone().date(2).add(1, "month") : this.rightCalendar.month = this.endDate.clone().date(2) } else this.leftCalendar.month.format("YYYY-MM") != this.startDate.format("YYYY-MM") && this.rightCalendar.month.format("YYYY-MM") != this.startDate.format("YYYY-MM") && (this.leftCalendar.month = this.startDate.clone().date(2), this.rightCalendar.month = this.startDate.clone().date(2).add(1, "month")); this.maxDate && this.linkedCalendars && !this.singleDatePicker && this.rightCalendar.month > this.maxDate && (this.rightCalendar.month = this.maxDate.clone().date(2), this.leftCalendar.month = this.maxDate.clone().date(2).subtract(1, "month")) }, updateCalendars: function () { if (this.timePicker) { var t, e, a, i; if (this.endDate) { if (t = parseInt(this.container.find(".left .hourselect").val(), 10), e = parseInt(this.container.find(".left .minuteselect").val(), 10), isNaN(e) && (e = parseInt(this.container.find(".left .minuteselect option:last").val(), 10)), a = this.timePickerSeconds ? parseInt(this.container.find(".left .secondselect").val(), 10) : 0, !this.timePicker24Hour) "PM" === (i = this.container.find(".left .ampmselect").val()) && t < 12 && (t += 12), "AM" === i && 12 === t && (t = 0) } else if (t = parseInt(this.container.find(".right .hourselect").val(), 10), e = parseInt(this.container.find(".right .minuteselect").val(), 10), isNaN(e) && (e = parseInt(this.container.find(".right .minuteselect option:last").val(), 10)), a = this.timePickerSeconds ? parseInt(this.container.find(".right .secondselect").val(), 10) : 0, !this.timePicker24Hour) "PM" === (i = this.container.find(".right .ampmselect").val()) && t < 12 && (t += 12), "AM" === i && 12 === t && (t = 0); this.leftCalendar.month.hour(t).minute(e).second(a), this.rightCalendar.month.hour(t).minute(e).second(a) } this.renderCalendar("left"), this.renderCalendar("right"), this.container.find(".ranges li").removeClass("active"), null != this.endDate && this.calculateChosenLabel() }, renderCalendar: function (a) { var i, s = (i = "left" == a ? this.leftCalendar : this.rightCalendar).month.month(), n = i.month.year(), r = i.month.hour(), o = i.month.minute(), h = i.month.second(), l = t([n, s]).daysInMonth(), c = t([n, s, 1]), d = t([n, s, l]), m = t(c).subtract(1, "month").month(), p = t(c).subtract(1, "month").year(), f = t([p, m]).daysInMonth(), u = c.day(); (i = []).firstDay = c, i.lastDay = d; for (var D = 0; D < 6; D++)i[D] = []; var g = f - u + this.locale.firstDay + 1; g > f && (g -= 7), u == this.locale.firstDay && (g = f - 6); for (var y = t([p, m, g, 12, o, h]), k = (D = 0, 0), b = 0; D < 42; D++, k++, y = t(y).add(24, "hour"))D > 0 && k % 7 == 0 && (k = 0, b++), i[b][k] = y.clone().hour(r).minute(o).second(h), y.hour(12), this.minDate && i[b][k].format("YYYY-MM-DD") == this.minDate.format("YYYY-MM-DD") && i[b][k].isBefore(this.minDate) && "left" == a && (i[b][k] = this.minDate.clone()), this.maxDate && i[b][k].format("YYYY-MM-DD") == this.maxDate.format("YYYY-MM-DD") && i[b][k].isAfter(this.maxDate) && "right" == a && (i[b][k] = this.maxDate.clone()); "left" == a ? this.leftCalendar.calendar = i : this.rightCalendar.calendar = i; var v = "left" == a ? this.minDate : this.startDate, C = this.maxDate, Y = ("left" == a ? this.startDate : this.endDate, this.locale.direction, '<table class="table-condensed">'); Y += "<thead>", Y += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (Y += "<th></th>"), v && !v.isBefore(i.firstDay) || this.linkedCalendars && "left" != a ? Y += "<th></th>" : Y += '<th class="prev available"><span></span></th>'; var w = this.locale.monthNames[i[1][1].month()] + i[1][1].format(" YYYY"); if (this.showDropdowns) { for (var P = i[1][1].month(), x = i[1][1].year(), M = C && C.year() || this.maxYear, I = v && v.year() || this.minYear, S = x == I, B = x == M, A = '<select class="monthselect">', L = 0; L < 12; L++)(!S || v && L >= v.month()) && (!B || C && L <= C.month()) ? A += "<option value='" + L + "'" + (L === P ? " selected='selected'" : "") + ">" + this.locale.monthNames[L] + "</option>" : A += "<option value='" + L + "'" + (L === P ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[L] + "</option>"; A += "</select>"; for (var N = '<select class="yearselect">', E = I; E <= M; E++)N += '<option value="' + E + '"' + (E === x ? ' selected="selected"' : "") + ">" + E + "</option>"; w = A + (N += "</select>") } if (Y += '<th colspan="5" class="month">' + w + "</th>", C && !C.isAfter(i.lastDay) || this.linkedCalendars && "right" != a && !this.singleDatePicker ? Y += "<th></th>" : Y += '<th class="next available"><span></span></th>', Y += "</tr>", Y += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (Y += '<th class="week">' + this.locale.weekLabel + "</th>"), e.each(this.locale.daysOfWeek, function (t, e) { Y += "<th>" + e + "</th>" }), Y += "</tr>", Y += "</thead>", Y += "<tbody>", null == this.endDate && this.maxSpan) { var O = this.startDate.clone().add(this.maxSpan).endOf("day"); C && !O.isBefore(C) || (C = O) } for (b = 0; b < 6; b++) { Y += "<tr>", this.showWeekNumbers ? Y += '<td class="week">' + i[b][0].week() + "</td>" : this.showISOWeekNumbers && (Y += '<td class="week">' + i[b][0].isoWeek() + "</td>"); for (k = 0; k < 7; k++) { var W = []; i[b][k].isSame(new Date, "day") && W.push("today"), i[b][k].isoWeekday() > 5 && W.push("weekend"), i[b][k].month() != i[1][1].month() && W.push("off", "ends"), this.minDate && i[b][k].isBefore(this.minDate, "day") && W.push("off", "disabled"), C && i[b][k].isAfter(C, "day") && W.push("off", "disabled"), this.isInvalidDate(i[b][k]) && W.push("off", "disabled"), i[b][k].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && W.push("active", "start-date"), null != this.endDate && i[b][k].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && W.push("active", "end-date"), null != this.endDate && i[b][k] > this.startDate && i[b][k] < this.endDate && W.push("in-range"); var H = this.isCustomDate(i[b][k]); !1 !== H && ("string" == typeof H ? W.push(H) : Array.prototype.push.apply(W, H)); var j = "", R = !1; for (D = 0; D < W.length; D++)j += W[D] + " ", "disabled" == W[D] && (R = !0); R || (j += "available"), Y += '<td class="' + j.replace(/^\s+|\s+$/g, "") + '" data-title="r' + b + "c" + k + '">' + i[b][k].date() + "</td>" } Y += "</tr>" } Y += "</tbody>", Y += "</table>", this.container.find(".drp-calendar." + a + " .calendar-table").html(Y) }, renderTimePicker: function (t) { if ("right" != t || this.endDate) { var e, a, i, s = this.maxDate; if (!this.maxSpan || this.maxDate && !this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate) || (s = this.startDate.clone().add(this.maxSpan)), "left" == t) a = this.startDate.clone(), i = this.minDate; else if ("right" == t) { a = this.endDate.clone(), i = this.startDate; var n = this.container.find(".drp-calendar.right .calendar-time"); if ("" != n.html() && (a.hour(isNaN(a.hour()) ? n.find(".hourselect option:selected").val() : a.hour()), a.minute(isNaN(a.minute()) ? n.find(".minuteselect option:selected").val() : a.minute()), a.second(isNaN(a.second()) ? n.find(".secondselect option:selected").val() : a.second()), !this.timePicker24Hour)) { var r = n.find(".ampmselect option:selected").val(); "PM" === r && a.hour() < 12 && a.hour(a.hour() + 12), "AM" === r && 12 === a.hour() && a.hour(0) } a.isBefore(this.startDate) && (a = this.startDate.clone()), s && a.isAfter(s) && (a = s.clone()) } e = '<select class="hourselect">'; for (var o = this.timePicker24Hour ? 0 : 1, h = this.timePicker24Hour ? 23 : 12, l = o; l <= h; l++) { var c = l; this.timePicker24Hour || (c = a.hour() >= 12 ? 12 == l ? 12 : l + 12 : 12 == l ? 0 : l); var d = a.clone().hour(c), m = !1; i && d.minute(59).isBefore(i) && (m = !0), s && d.minute(0).isAfter(s) && (m = !0), c != a.hour() || m ? e += m ? '<option value="' + l + '" disabled="disabled" class="disabled">' + l + "</option>" : '<option value="' + l + '">' + l + "</option>" : e += '<option value="' + l + '" selected="selected">' + l + "</option>" } e += "</select> ", e += ': <select class="minuteselect">'; for (l = 0; l < 60; l += this.timePickerIncrement) { var p = l < 10 ? "0" + l : l; d = a.clone().minute(l), m = !1; i && d.second(59).isBefore(i) && (m = !0), s && d.second(0).isAfter(s) && (m = !0), a.minute() != l || m ? e += m ? '<option value="' + l + '" disabled="disabled" class="disabled">' + p + "</option>" : '<option value="' + l + '">' + p + "</option>" : e += '<option value="' + l + '" selected="selected">' + p + "</option>" } if (e += "</select> ", this.timePickerSeconds) { e += ': <select class="secondselect">'; for (l = 0; l < 60; l++) { p = l < 10 ? "0" + l : l, d = a.clone().second(l), m = !1; i && d.isBefore(i) && (m = !0), s && d.isAfter(s) && (m = !0), a.second() != l || m ? e += m ? '<option value="' + l + '" disabled="disabled" class="disabled">' + p + "</option>" : '<option value="' + l + '">' + p + "</option>" : e += '<option value="' + l + '" selected="selected">' + p + "</option>" } e += "</select> " } if (!this.timePicker24Hour) { e += '<select class="ampmselect">'; var f = "", u = ""; i && a.clone().hour(12).minute(0).second(0).isBefore(i) && (f = ' disabled="disabled" class="disabled"'), s && a.clone().hour(0).minute(0).second(0).isAfter(s) && (u = ' disabled="disabled" class="disabled"'), a.hour() >= 12 ? e += '<option value="AM"' + f + '>AM</option><option value="PM" selected="selected"' + u + ">PM</option>" : e += '<option value="AM" selected="selected"' + f + '>AM</option><option value="PM"' + u + ">PM</option>", e += "</select>" } this.container.find(".drp-calendar." + t + " .calendar-time").html(e) } }, updateFormInputs: function () { this.singleDatePicker || this.endDate && (this.startDate.isBefore(this.endDate) || this.startDate.isSame(this.endDate)) ? this.container.find("button.applyBtn").prop("disabled", !1) : this.container.find("button.applyBtn").prop("disabled", !0) }, move: function () { var t, a = { top: 0, left: 0 }, i = this.drops, s = e(window).width(); switch (this.parentEl.is("body") || (a = { top: this.parentEl.offset().top - this.parentEl.scrollTop(), left: this.parentEl.offset().left - this.parentEl.scrollLeft() }, s = this.parentEl[0].clientWidth + this.parentEl.offset().left), i) { case "auto": (t = this.element.offset().top + this.element.outerHeight() - a.top) + this.container.outerHeight() >= this.parentEl[0].scrollHeight && (t = this.element.offset().top - this.container.outerHeight() - a.top, i = "up"); break; case "up": t = this.element.offset().top - this.container.outerHeight() - a.top; break; default: t = this.element.offset().top + this.element.outerHeight() - a.top }this.container.css({ top: 0, left: 0, right: "auto" }); var n = this.container.outerWidth(); if (this.container.toggleClass("drop-up", "up" == i), "left" == this.opens) { var r = s - this.element.offset().left - this.element.outerWidth(); n + r > e(window).width() ? this.container.css({ top: t, right: "auto", left: 9 }) : this.container.css({ top: t, right: r, left: "auto" }) } else if ("center" == this.opens) { (o = this.element.offset().left - a.left + this.element.outerWidth() / 2 - n / 2) < 0 ? this.container.css({ top: t, right: "auto", left: 9 }) : o + n > e(window).width() ? this.container.css({ top: t, left: "auto", right: 0 }) : this.container.css({ top: t, left: o, right: "auto" }) } else { var o; (o = this.element.offset().left - a.left) + n > e(window).width() ? this.container.css({ top: t, left: "auto", right: 0 }) : this.container.css({ top: t, left: o, right: "auto" }) } }, show: function (t) { this.isShowing || (this._outsideClickProxy = e.proxy(function (t) { this.outsideClick(t) }, this), e(document).on("mousedown.daterangepicker", this._outsideClickProxy).on("touchend.daterangepicker", this._outsideClickProxy).on("click.daterangepicker", "[data-toggle=dropdown]", this._outsideClickProxy).on("focusin.daterangepicker", this._outsideClickProxy), e(window).on("resize.daterangepicker", e.proxy(function (t) { this.move(t) }, this)), this.oldStartDate = this.startDate.clone(), this.oldEndDate = this.endDate.clone(), this.previousRightTime = this.endDate.clone(), this.updateView(), this.container.show(), this.move(), this.element.trigger("show.daterangepicker", this), this.isShowing = !0) }, hide: function (t) { this.isShowing && (this.endDate || (this.startDate = this.oldStartDate.clone(), this.endDate = this.oldEndDate.clone()), this.startDate.isSame(this.oldStartDate) && this.endDate.isSame(this.oldEndDate) || this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel), this.updateElement(), e(document).off(".daterangepicker"), e(window).off(".daterangepicker"), this.container.hide(), this.element.trigger("hide.daterangepicker", this), this.isShowing = !1) }, toggle: function (t) { this.isShowing ? this.hide() : this.show() }, outsideClick: function (t) { var a = e(t.target); "focusin" == t.type || a.closest(this.element).length || a.closest(this.container).length || a.closest(".calendar-table").length || (this.hide(), this.element.trigger("outsideClick.daterangepicker", this)) }, showCalendars: function () { this.container.addClass("show-calendar"), this.move(), this.element.trigger("showCalendar.daterangepicker", this) }, hideCalendars: function () { this.container.removeClass("show-calendar"), this.element.trigger("hideCalendar.daterangepicker", this) }, clickRange: function (t) { var e = t.target.getAttribute("data-range-key"); if (this.chosenLabel = e, e == this.locale.customRangeLabel) this.showCalendars(); else { var a = this.ranges[e]; this.startDate = a[0], this.endDate = a[1], this.timePicker || (this.startDate.startOf("day"), this.endDate.endOf("day")), this.alwaysShowCalendars || this.hideCalendars(), this.clickApply() } }, clickPrev: function (t) { e(t.target).parents(".drp-calendar").hasClass("left") ? (this.leftCalendar.month.subtract(1, "month"), this.linkedCalendars && this.rightCalendar.month.subtract(1, "month")) : this.rightCalendar.month.subtract(1, "month"), this.updateCalendars() }, clickNext: function (t) { e(t.target).parents(".drp-calendar").hasClass("left") ? this.leftCalendar.month.add(1, "month") : (this.rightCalendar.month.add(1, "month"), this.linkedCalendars && this.leftCalendar.month.add(1, "month")), this.updateCalendars() }, hoverDate: function (t) { if (e(t.target).hasClass("available")) { var a = e(t.target).attr("data-title"), i = a.substr(1, 1), s = a.substr(3, 1), n = e(t.target).parents(".drp-calendar").hasClass("left") ? this.leftCalendar.calendar[i][s] : this.rightCalendar.calendar[i][s], r = this.leftCalendar, o = this.rightCalendar, h = this.startDate; this.endDate || this.container.find(".drp-calendar tbody td").each(function (t, a) { if (!e(a).hasClass("week")) { var i = e(a).attr("data-title"), s = i.substr(1, 1), l = i.substr(3, 1), c = e(a).parents(".drp-calendar").hasClass("left") ? r.calendar[s][l] : o.calendar[s][l]; c.isAfter(h) && c.isBefore(n) || c.isSame(n, "day") ? e(a).addClass("in-range") : e(a).removeClass("in-range") } }) } }, clickDate: function (t) { if (e(t.target).hasClass("available")) { var a = e(t.target).attr("data-title"), i = a.substr(1, 1), s = a.substr(3, 1), n = e(t.target).parents(".drp-calendar").hasClass("left") ? this.leftCalendar.calendar[i][s] : this.rightCalendar.calendar[i][s]; if (this.endDate || n.isBefore(this.startDate, "day")) { if (this.timePicker) { var r = parseInt(this.container.find(".left .hourselect").val(), 10); if (!this.timePicker24Hour) "PM" === (l = this.container.find(".left .ampmselect").val()) && r < 12 && (r += 12), "AM" === l && 12 === r && (r = 0); var o = parseInt(this.container.find(".left .minuteselect").val(), 10); isNaN(o) && (o = parseInt(this.container.find(".left .minuteselect option:last").val(), 10)); var h = this.timePickerSeconds ? parseInt(this.container.find(".left .secondselect").val(), 10) : 0; n = n.clone().hour(r).minute(o).second(h) } this.endDate = null, this.setStartDate(n.clone()) } else if (!this.endDate && n.isBefore(this.startDate)) this.setEndDate(this.startDate.clone()); else { if (this.timePicker) { var l; r = parseInt(this.container.find(".right .hourselect").val(), 10); if (!this.timePicker24Hour) "PM" === (l = this.container.find(".right .ampmselect").val()) && r < 12 && (r += 12), "AM" === l && 12 === r && (r = 0); o = parseInt(this.container.find(".right .minuteselect").val(), 10); isNaN(o) && (o = parseInt(this.container.find(".right .minuteselect option:last").val(), 10)); h = this.timePickerSeconds ? parseInt(this.container.find(".right .secondselect").val(), 10) : 0; n = n.clone().hour(r).minute(o).second(h) } this.setEndDate(n.clone()), this.autoApply && (this.calculateChosenLabel(), this.clickApply()) } this.singleDatePicker && (this.setEndDate(this.startDate), !this.timePicker && this.autoApply && this.clickApply()), this.updateView(), t.stopPropagation() } }, calculateChosenLabel: function () { var t = !0, e = 0; for (var a in this.ranges) { if (this.timePicker) { var i = this.timePickerSeconds ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD HH:mm"; if (this.startDate.format(i) == this.ranges[a][0].format(i) && this.endDate.format(i) == this.ranges[a][1].format(i)) { t = !1, this.chosenLabel = this.container.find(".ranges li:eq(" + e + ")").addClass("active").attr("data-range-key"); break } } else if (this.startDate.format("YYYY-MM-DD") == this.ranges[a][0].format("YYYY-MM-DD") && this.endDate.format("YYYY-MM-DD") == this.ranges[a][1].format("YYYY-MM-DD")) { t = !1, this.chosenLabel = this.container.find(".ranges li:eq(" + e + ")").addClass("active").attr("data-range-key"); break } e++ } t && (this.showCustomRangeLabel ? this.chosenLabel = this.container.find(".ranges li:last").addClass("active").attr("data-range-key") : this.chosenLabel = null, this.showCalendars()) }, clickApply: function (t) { this.hide(), this.element.trigger("apply.daterangepicker", this) }, clickCancel: function (t) { this.startDate = this.oldStartDate, this.endDate = this.oldEndDate, this.hide(), this.element.trigger("cancel.daterangepicker", this) }, monthOrYearChanged: function (t) { var a = e(t.target).closest(".drp-calendar").hasClass("left"), i = a ? "left" : "right", s = this.container.find(".drp-calendar." + i), n = parseInt(s.find(".monthselect").val(), 10), r = s.find(".yearselect").val(); a || (r < this.startDate.year() || r == this.startDate.year() && n < this.startDate.month()) && (n = this.startDate.month(), r = this.startDate.year()), this.minDate && (r < this.minDate.year() || r == this.minDate.year() && n < this.minDate.month()) && (n = this.minDate.month(), r = this.minDate.year()), this.maxDate && (r > this.maxDate.year() || r == this.maxDate.year() && n > this.maxDate.month()) && (n = this.maxDate.month(), r = this.maxDate.year()), a ? (this.leftCalendar.month.month(n).year(r), this.linkedCalendars && (this.rightCalendar.month = this.leftCalendar.month.clone().add(1, "month"))) : (this.rightCalendar.month.month(n).year(r), this.linkedCalendars && (this.leftCalendar.month = this.rightCalendar.month.clone().subtract(1, "month"))), this.updateCalendars() }, timeChanged: function (t) { var a = e(t.target).closest(".drp-calendar"), i = a.hasClass("left"), s = parseInt(a.find(".hourselect").val(), 10), n = parseInt(a.find(".minuteselect").val(), 10); isNaN(n) && (n = parseInt(a.find(".minuteselect option:last").val(), 10)); var r = this.timePickerSeconds ? parseInt(a.find(".secondselect").val(), 10) : 0; if (!this.timePicker24Hour) { var o = a.find(".ampmselect").val(); "PM" === o && s < 12 && (s += 12), "AM" === o && 12 === s && (s = 0) } if (i) { var h = this.startDate.clone(); h.hour(s), h.minute(n), h.second(r), this.setStartDate(h), this.singleDatePicker ? this.endDate = this.startDate.clone() : this.endDate && this.endDate.format("YYYY-MM-DD") == h.format("YYYY-MM-DD") && this.endDate.isBefore(h) && this.setEndDate(h.clone()) } else if (this.endDate) { var l = this.endDate.clone(); l.hour(s), l.minute(n), l.second(r), this.setEndDate(l) } this.updateCalendars(), this.updateFormInputs(), this.renderTimePicker("left"), this.renderTimePicker("right") }, elementChanged: function () { if (this.element.is("input") && this.element.val().length) { var e = this.element.val().split(this.locale.separator), a = null, i = null; 2 === e.length && (a = t(e[0], this.locale.format), i = t(e[1], this.locale.format)), (this.singleDatePicker || null === a || null === i) && (i = a = t(this.element.val(), this.locale.format)), a.isValid() && i.isValid() && (this.setStartDate(a), this.setEndDate(i), this.updateView()) } }, keydown: function (t) { 9 !== t.keyCode && 13 !== t.keyCode || this.hide(), 27 === t.keyCode && (t.preventDefault(), t.stopPropagation(), this.hide()) }, updateElement: function () { if (this.element.is("input") && this.autoUpdateInput) { var t = this.startDate.format(this.locale.format); this.singleDatePicker || (t += this.locale.separator + this.endDate.format(this.locale.format)), t !== this.element.val() && this.element.val(t).trigger("change") } }, remove: function () { this.container.remove(), this.element.off(".daterangepicker"), this.element.removeData() } }, e.fn.daterangepicker = function (t, i) { var s = e.extend(!0, {}, e.fn.daterangepicker.defaultOptions, t); return this.each(function () { var t = e(this); t.data("daterangepicker") && t.data("daterangepicker").remove(), t.data("daterangepicker", new a(t, s, i)) }), this }, a });
|
| 8 |
+
//# sourceMappingURL=/sm/f07d8d7b2652873f485707eab4f3d300bf1f6f3b42912e189c8933b1b9b3dfde.map
|
assets/admin/js/fontawesome-iconpicker.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/js/highlighter22.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(function ($) {
|
| 2 |
+
$.fn.highlighter22 = function (options) {
|
| 3 |
+
var settings = $.extend({
|
| 4 |
+
color: 'black',
|
| 5 |
+
backgroundColor: '#FFFF00',
|
| 6 |
+
padding: 0,
|
| 7 |
+
targets: []
|
| 8 |
+
}, options);
|
| 9 |
+
|
| 10 |
+
function markStyle() {
|
| 11 |
+
return `color: ${settings.color}; background-color: ${settings.backgroundColor}; padding: ${settings.padding}px;`;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
return this.each(function () {
|
| 16 |
+
var $input = $(this);
|
| 17 |
+
|
| 18 |
+
$input.on('input', function () {
|
| 19 |
+
var inputValue = $input.val().toString().trim();
|
| 20 |
+
var lowerCaseValue;
|
| 21 |
+
|
| 22 |
+
lowerCaseValue = inputValue.toLowerCase().replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
| 23 |
+
|
| 24 |
+
if (settings.targets.length > 0) {
|
| 25 |
+
$.each(settings.targets, function (index, targetEl) {
|
| 26 |
+
|
| 27 |
+
$(targetEl).each(function (_index, target) {
|
| 28 |
+
var highlightedText = $(target).text().replace(new RegExp(lowerCaseValue, 'gi'), function (match) {
|
| 29 |
+
return `<mark style="${markStyle()}">${match}</mark>`;
|
| 30 |
+
});
|
| 31 |
+
|
| 32 |
+
$(target).html(highlightedText);
|
| 33 |
+
});
|
| 34 |
+
});
|
| 35 |
+
}
|
| 36 |
+
});
|
| 37 |
+
});
|
| 38 |
+
};
|
| 39 |
+
})(jQuery);
|
assets/admin/js/jquery-sortable.js
ADDED
|
@@ -0,0 +1,693 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ===================================================
|
| 2 |
+
* jquery-sortable.js v0.9.13
|
| 3 |
+
* http://johnny.github.com/jquery-sortable/
|
| 4 |
+
* ===================================================
|
| 5 |
+
* Copyright (c) 2012 Jonas von Andrian
|
| 6 |
+
* All rights reserved.
|
| 7 |
+
*
|
| 8 |
+
* Redistribution and use in source and binary forms, with or without
|
| 9 |
+
* modification, are permitted provided that the following conditions are met:
|
| 10 |
+
* * Redistributions of source code must retain the above copyright
|
| 11 |
+
* notice, this list of conditions and the following disclaimer.
|
| 12 |
+
* * Redistributions in binary form must reproduce the above copyright
|
| 13 |
+
* notice, this list of conditions and the following disclaimer in the
|
| 14 |
+
* documentation and/or other materials provided with the distribution.
|
| 15 |
+
* * The name of the author may not be used to endorse or promote products
|
| 16 |
+
* derived from this software without specific prior written permission.
|
| 17 |
+
*
|
| 18 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 19 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 20 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 21 |
+
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
| 22 |
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 23 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| 24 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
| 25 |
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 26 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| 27 |
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 28 |
+
* ========================================================== */
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
!function ( $, window, pluginName, undefined){
|
| 32 |
+
var containerDefaults = {
|
| 33 |
+
// If true, items can be dragged from this container
|
| 34 |
+
drag: true,
|
| 35 |
+
// If true, items can be droped onto this container
|
| 36 |
+
drop: true,
|
| 37 |
+
// Exclude items from being draggable, if the
|
| 38 |
+
// selector matches the item
|
| 39 |
+
exclude: "",
|
| 40 |
+
// If true, search for nested containers within an item.If you nest containers,
|
| 41 |
+
// either the original selector with which you call the plugin must only match the top containers,
|
| 42 |
+
// or you need to specify a group (see the bootstrap nav example)
|
| 43 |
+
nested: true,
|
| 44 |
+
// If true, the items are assumed to be arranged vertically
|
| 45 |
+
vertical: true
|
| 46 |
+
}, // end container defaults
|
| 47 |
+
groupDefaults = {
|
| 48 |
+
// This is executed after the placeholder has been moved.
|
| 49 |
+
// $closestItemOrContainer contains the closest item, the placeholder
|
| 50 |
+
// has been put at or the closest empty Container, the placeholder has
|
| 51 |
+
// been appended to.
|
| 52 |
+
afterMove: function ($placeholder, container, $closestItemOrContainer) {
|
| 53 |
+
},
|
| 54 |
+
// The exact css path between the container and its items, e.g. "> tbody"
|
| 55 |
+
containerPath: "",
|
| 56 |
+
// The css selector of the containers
|
| 57 |
+
containerSelector: "ol, ul",
|
| 58 |
+
// Distance the mouse has to travel to start dragging
|
| 59 |
+
distance: 0,
|
| 60 |
+
// Time in milliseconds after mousedown until dragging should start.
|
| 61 |
+
// This option can be used to prevent unwanted drags when clicking on an element.
|
| 62 |
+
delay: 0,
|
| 63 |
+
// The css selector of the drag handle
|
| 64 |
+
handle: "",
|
| 65 |
+
// The exact css path between the item and its subcontainers.
|
| 66 |
+
// It should only match the immediate items of a container.
|
| 67 |
+
// No item of a subcontainer should be matched. E.g. for ol>div>li the itemPath is "> div"
|
| 68 |
+
itemPath: "",
|
| 69 |
+
// The css selector of the items
|
| 70 |
+
itemSelector: "li",
|
| 71 |
+
// The class given to "body" while an item is being dragged
|
| 72 |
+
bodyClass: "dragging",
|
| 73 |
+
// The class giving to an item while being dragged
|
| 74 |
+
draggedClass: "dragged",
|
| 75 |
+
// Check if the dragged item may be inside the container.
|
| 76 |
+
// Use with care, since the search for a valid container entails a depth first search
|
| 77 |
+
// and may be quite expensive.
|
| 78 |
+
isValidTarget: function ($item, container) {
|
| 79 |
+
return true
|
| 80 |
+
},
|
| 81 |
+
// Executed before onDrop if placeholder is detached.
|
| 82 |
+
// This happens if pullPlaceholder is set to false and the drop occurs outside a container.
|
| 83 |
+
onCancel: function ($item, container, _super, event) {
|
| 84 |
+
},
|
| 85 |
+
// Executed at the beginning of a mouse move event.
|
| 86 |
+
// The Placeholder has not been moved yet.
|
| 87 |
+
onDrag: function ($item, position, _super, event) {
|
| 88 |
+
$item.css(position)
|
| 89 |
+
},
|
| 90 |
+
// Called after the drag has been started,
|
| 91 |
+
// that is the mouse button is being held down and
|
| 92 |
+
// the mouse is moving.
|
| 93 |
+
// The container is the closest initialized container.
|
| 94 |
+
// Therefore it might not be the container, that actually contains the item.
|
| 95 |
+
onDragStart: function ($item, container, _super, event) {
|
| 96 |
+
$item.css({
|
| 97 |
+
height: $item.outerHeight(),
|
| 98 |
+
width: $item.outerWidth()
|
| 99 |
+
})
|
| 100 |
+
$item.addClass(container.group.options.draggedClass)
|
| 101 |
+
$("body").addClass(container.group.options.bodyClass)
|
| 102 |
+
},
|
| 103 |
+
// Called when the mouse button is being released
|
| 104 |
+
onDrop: function ($item, container, _super, event) {
|
| 105 |
+
$item.removeClass(container.group.options.draggedClass).removeAttr("style")
|
| 106 |
+
$("body").removeClass(container.group.options.bodyClass)
|
| 107 |
+
},
|
| 108 |
+
// Called on mousedown. If falsy value is returned, the dragging will not start.
|
| 109 |
+
// Ignore if element clicked is input, select or textarea
|
| 110 |
+
onMousedown: function ($item, _super, event) {
|
| 111 |
+
if (!event.target.nodeName.match(/^(input|select|textarea)$/i)) {
|
| 112 |
+
// event.preventDefault()
|
| 113 |
+
return true
|
| 114 |
+
}
|
| 115 |
+
},
|
| 116 |
+
// The class of the placeholder (must match placeholder option markup)
|
| 117 |
+
placeholderClass: "placeholder",
|
| 118 |
+
// Template for the placeholder. Can be any valid jQuery input
|
| 119 |
+
// e.g. a string, a DOM element.
|
| 120 |
+
// The placeholder must have the class "placeholder"
|
| 121 |
+
placeholder: '<li class="placeholder">Drop here</li>',
|
| 122 |
+
// If true, the position of the placeholder is calculated on every mousemove.
|
| 123 |
+
// If false, it is only calculated when the mouse is above a container.
|
| 124 |
+
pullPlaceholder: true,
|
| 125 |
+
// Specifies serialization of the container group.
|
| 126 |
+
// The pair $parent/$children is either container/items or item/subcontainers.
|
| 127 |
+
serialize: function ($parent, $children, parentIsContainer) {
|
| 128 |
+
var result = $.extend({}, $parent.data())
|
| 129 |
+
|
| 130 |
+
if(parentIsContainer)
|
| 131 |
+
return [$children]
|
| 132 |
+
else if ($children[0]){
|
| 133 |
+
result.children = $children
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
delete result.subContainers
|
| 137 |
+
delete result.sortable
|
| 138 |
+
|
| 139 |
+
return result
|
| 140 |
+
},
|
| 141 |
+
// Set tolerance while dragging. Positive values decrease sensitivity,
|
| 142 |
+
// negative values increase it.
|
| 143 |
+
tolerance: 0
|
| 144 |
+
}, // end group defaults
|
| 145 |
+
containerGroups = {},
|
| 146 |
+
groupCounter = 0,
|
| 147 |
+
emptyBox = {
|
| 148 |
+
left: 0,
|
| 149 |
+
top: 0,
|
| 150 |
+
bottom: 0,
|
| 151 |
+
right:0
|
| 152 |
+
},
|
| 153 |
+
eventNames = {
|
| 154 |
+
start: "touchstart.sortable mousedown.sortable",
|
| 155 |
+
drop: "touchend.sortable touchcancel.sortable mouseup.sortable",
|
| 156 |
+
drag: "touchmove.sortable mousemove.sortable",
|
| 157 |
+
scroll: "scroll.sortable"
|
| 158 |
+
},
|
| 159 |
+
subContainerKey = "subContainers"
|
| 160 |
+
|
| 161 |
+
/*
|
| 162 |
+
* a is Array [left, right, top, bottom]
|
| 163 |
+
* b is array [left, top]
|
| 164 |
+
*/
|
| 165 |
+
function d(a,b) {
|
| 166 |
+
var x = Math.max(0, a[0] - b[0], b[0] - a[1]),
|
| 167 |
+
y = Math.max(0, a[2] - b[1], b[1] - a[3])
|
| 168 |
+
return x+y;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
function setDimensions(array, dimensions, tolerance, useOffset) {
|
| 172 |
+
var i = array.length,
|
| 173 |
+
offsetMethod = useOffset ? "offset" : "position"
|
| 174 |
+
tolerance = tolerance || 0
|
| 175 |
+
|
| 176 |
+
while(i--){
|
| 177 |
+
var el = array[i].el ? array[i].el : $(array[i]),
|
| 178 |
+
// use fitting method
|
| 179 |
+
pos = el[offsetMethod]()
|
| 180 |
+
pos.left += parseInt(el.css('margin-left'), 10)
|
| 181 |
+
pos.top += parseInt(el.css('margin-top'),10)
|
| 182 |
+
dimensions[i] = [
|
| 183 |
+
pos.left - tolerance,
|
| 184 |
+
pos.left + el.outerWidth() + tolerance,
|
| 185 |
+
pos.top - tolerance,
|
| 186 |
+
pos.top + el.outerHeight() + tolerance
|
| 187 |
+
]
|
| 188 |
+
}
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
function getRelativePosition(pointer, element) {
|
| 192 |
+
var offset = element.offset()
|
| 193 |
+
return {
|
| 194 |
+
left: pointer.left - offset.left,
|
| 195 |
+
top: pointer.top - offset.top
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
function sortByDistanceDesc(dimensions, pointer, lastPointer) {
|
| 200 |
+
pointer = [pointer.left, pointer.top]
|
| 201 |
+
lastPointer = lastPointer && [lastPointer.left, lastPointer.top]
|
| 202 |
+
|
| 203 |
+
var dim,
|
| 204 |
+
i = dimensions.length,
|
| 205 |
+
distances = []
|
| 206 |
+
|
| 207 |
+
while(i--){
|
| 208 |
+
dim = dimensions[i]
|
| 209 |
+
distances[i] = [i,d(dim,pointer), lastPointer && d(dim, lastPointer)]
|
| 210 |
+
}
|
| 211 |
+
distances = distances.sort(function (a,b) {
|
| 212 |
+
return b[1] - a[1] || b[2] - a[2] || b[0] - a[0]
|
| 213 |
+
})
|
| 214 |
+
|
| 215 |
+
// last entry is the closest
|
| 216 |
+
return distances
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
function ContainerGroup(options) {
|
| 220 |
+
this.options = $.extend({}, groupDefaults, options)
|
| 221 |
+
this.containers = []
|
| 222 |
+
|
| 223 |
+
if(!this.options.rootGroup){
|
| 224 |
+
this.scrollProxy = $.proxy(this.scroll, this)
|
| 225 |
+
this.dragProxy = $.proxy(this.drag, this)
|
| 226 |
+
this.dropProxy = $.proxy(this.drop, this)
|
| 227 |
+
this.placeholder = $(this.options.placeholder)
|
| 228 |
+
|
| 229 |
+
if(!options.isValidTarget)
|
| 230 |
+
this.options.isValidTarget = undefined
|
| 231 |
+
}
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
ContainerGroup.get = function (options) {
|
| 235 |
+
if(!containerGroups[options.group]) {
|
| 236 |
+
if(options.group === undefined)
|
| 237 |
+
options.group = groupCounter ++
|
| 238 |
+
|
| 239 |
+
containerGroups[options.group] = new ContainerGroup(options)
|
| 240 |
+
}
|
| 241 |
+
|
| 242 |
+
return containerGroups[options.group]
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
ContainerGroup.prototype = {
|
| 246 |
+
dragInit: function (e, itemContainer) {
|
| 247 |
+
this.$document = $(itemContainer.el[0].ownerDocument)
|
| 248 |
+
|
| 249 |
+
// get item to drag
|
| 250 |
+
var closestItem = $(e.target).closest(this.options.itemSelector);
|
| 251 |
+
// using the length of this item, prevents the plugin from being started if there is no handle being clicked on.
|
| 252 |
+
// this may also be helpful in instantiating multidrag.
|
| 253 |
+
if (closestItem.length) {
|
| 254 |
+
this.item = closestItem;
|
| 255 |
+
this.itemContainer = itemContainer;
|
| 256 |
+
if (this.item.is(this.options.exclude) || !this.options.onMousedown(this.item, groupDefaults.onMousedown, e)) {
|
| 257 |
+
return;
|
| 258 |
+
}
|
| 259 |
+
this.setPointer(e);
|
| 260 |
+
this.toggleListeners('on');
|
| 261 |
+
this.setupDelayTimer();
|
| 262 |
+
this.dragInitDone = true;
|
| 263 |
+
}
|
| 264 |
+
},
|
| 265 |
+
drag: function (e) {
|
| 266 |
+
if(!this.dragging){
|
| 267 |
+
if(!this.distanceMet(e) || !this.delayMet)
|
| 268 |
+
return
|
| 269 |
+
|
| 270 |
+
this.options.onDragStart(this.item, this.itemContainer, groupDefaults.onDragStart, e)
|
| 271 |
+
this.item.before(this.placeholder)
|
| 272 |
+
this.dragging = true
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
this.setPointer(e)
|
| 276 |
+
// place item under the cursor
|
| 277 |
+
this.options.onDrag(this.item,
|
| 278 |
+
getRelativePosition(this.pointer, this.item.offsetParent()),
|
| 279 |
+
groupDefaults.onDrag,
|
| 280 |
+
e)
|
| 281 |
+
|
| 282 |
+
var p = this.getPointer(e),
|
| 283 |
+
box = this.sameResultBox,
|
| 284 |
+
t = this.options.tolerance
|
| 285 |
+
|
| 286 |
+
if(!box || box.top - t > p.top || box.bottom + t < p.top || box.left - t > p.left || box.right + t < p.left)
|
| 287 |
+
if(!this.searchValidTarget()){
|
| 288 |
+
this.placeholder.detach()
|
| 289 |
+
this.lastAppendedItem = undefined
|
| 290 |
+
}
|
| 291 |
+
},
|
| 292 |
+
drop: function (e) {
|
| 293 |
+
this.toggleListeners('off')
|
| 294 |
+
|
| 295 |
+
this.dragInitDone = false
|
| 296 |
+
|
| 297 |
+
if(this.dragging){
|
| 298 |
+
// processing Drop, check if placeholder is detached
|
| 299 |
+
if(this.placeholder.closest("html")[0]){
|
| 300 |
+
this.placeholder.before(this.item).detach()
|
| 301 |
+
} else {
|
| 302 |
+
this.options.onCancel(this.item, this.itemContainer, groupDefaults.onCancel, e)
|
| 303 |
+
}
|
| 304 |
+
this.options.onDrop(this.item, this.getContainer(this.item), groupDefaults.onDrop, e)
|
| 305 |
+
|
| 306 |
+
// cleanup
|
| 307 |
+
this.clearDimensions()
|
| 308 |
+
this.clearOffsetParent()
|
| 309 |
+
this.lastAppendedItem = this.sameResultBox = undefined
|
| 310 |
+
this.dragging = false
|
| 311 |
+
}
|
| 312 |
+
},
|
| 313 |
+
searchValidTarget: function (pointer, lastPointer) {
|
| 314 |
+
if(!pointer){
|
| 315 |
+
pointer = this.relativePointer || this.pointer
|
| 316 |
+
lastPointer = this.lastRelativePointer || this.lastPointer
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
var distances = sortByDistanceDesc(this.getContainerDimensions(),
|
| 320 |
+
pointer,
|
| 321 |
+
lastPointer),
|
| 322 |
+
i = distances.length
|
| 323 |
+
|
| 324 |
+
while(i--){
|
| 325 |
+
var index = distances[i][0],
|
| 326 |
+
distance = distances[i][1]
|
| 327 |
+
|
| 328 |
+
if(!distance || this.options.pullPlaceholder){
|
| 329 |
+
var container = this.containers[index]
|
| 330 |
+
if(!container.disabled){
|
| 331 |
+
if(!this.$getOffsetParent()){
|
| 332 |
+
var offsetParent = container.getItemOffsetParent()
|
| 333 |
+
pointer = getRelativePosition(pointer, offsetParent)
|
| 334 |
+
lastPointer = getRelativePosition(lastPointer, offsetParent)
|
| 335 |
+
}
|
| 336 |
+
if(container.searchValidTarget(pointer, lastPointer))
|
| 337 |
+
return true
|
| 338 |
+
}
|
| 339 |
+
}
|
| 340 |
+
}
|
| 341 |
+
if(this.sameResultBox)
|
| 342 |
+
this.sameResultBox = undefined
|
| 343 |
+
},
|
| 344 |
+
movePlaceholder: function (container, item, method, sameResultBox) {
|
| 345 |
+
var lastAppendedItem = this.lastAppendedItem
|
| 346 |
+
if(!sameResultBox && lastAppendedItem && lastAppendedItem[0] === item[0])
|
| 347 |
+
return;
|
| 348 |
+
|
| 349 |
+
item[method](this.placeholder)
|
| 350 |
+
this.lastAppendedItem = item
|
| 351 |
+
this.sameResultBox = sameResultBox
|
| 352 |
+
this.options.afterMove(this.placeholder, container, item)
|
| 353 |
+
},
|
| 354 |
+
getContainerDimensions: function () {
|
| 355 |
+
if(!this.containerDimensions)
|
| 356 |
+
setDimensions(this.containers, this.containerDimensions = [], this.options.tolerance, !this.$getOffsetParent())
|
| 357 |
+
return this.containerDimensions
|
| 358 |
+
},
|
| 359 |
+
getContainer: function (element) {
|
| 360 |
+
return element.closest(this.options.containerSelector).data(pluginName)
|
| 361 |
+
},
|
| 362 |
+
$getOffsetParent: function () {
|
| 363 |
+
if(this.offsetParent === undefined){
|
| 364 |
+
var i = this.containers.length - 1,
|
| 365 |
+
offsetParent = this.containers[i].getItemOffsetParent()
|
| 366 |
+
|
| 367 |
+
if(!this.options.rootGroup){
|
| 368 |
+
while(i--){
|
| 369 |
+
if(offsetParent[0] != this.containers[i].getItemOffsetParent()[0]){
|
| 370 |
+
// If every container has the same offset parent,
|
| 371 |
+
// use position() which is relative to this parent,
|
| 372 |
+
// otherwise use offset()
|
| 373 |
+
// compare #setDimensions
|
| 374 |
+
offsetParent = false
|
| 375 |
+
break;
|
| 376 |
+
}
|
| 377 |
+
}
|
| 378 |
+
}
|
| 379 |
+
|
| 380 |
+
this.offsetParent = offsetParent
|
| 381 |
+
}
|
| 382 |
+
return this.offsetParent
|
| 383 |
+
},
|
| 384 |
+
setPointer: function (e) {
|
| 385 |
+
var pointer = this.getPointer(e)
|
| 386 |
+
|
| 387 |
+
if(this.$getOffsetParent()){
|
| 388 |
+
var relativePointer = getRelativePosition(pointer, this.$getOffsetParent())
|
| 389 |
+
this.lastRelativePointer = this.relativePointer
|
| 390 |
+
this.relativePointer = relativePointer
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
this.lastPointer = this.pointer
|
| 394 |
+
this.pointer = pointer
|
| 395 |
+
},
|
| 396 |
+
distanceMet: function (e) {
|
| 397 |
+
var currentPointer = this.getPointer(e)
|
| 398 |
+
return (Math.max(
|
| 399 |
+
Math.abs(this.pointer.left - currentPointer.left),
|
| 400 |
+
Math.abs(this.pointer.top - currentPointer.top)
|
| 401 |
+
) >= this.options.distance)
|
| 402 |
+
},
|
| 403 |
+
getPointer: function(e) {
|
| 404 |
+
var o = (e.originalEvent && e.originalEvent.touches) ? e.originalEvent.touches[0] : null
|
| 405 |
+
return {
|
| 406 |
+
left: e.pageX || o.pageX,
|
| 407 |
+
top: e.pageY || o.pageY
|
| 408 |
+
}
|
| 409 |
+
},
|
| 410 |
+
setupDelayTimer: function () {
|
| 411 |
+
var that = this
|
| 412 |
+
this.delayMet = !this.options.delay
|
| 413 |
+
|
| 414 |
+
// init delay timer if needed
|
| 415 |
+
if (!this.delayMet) {
|
| 416 |
+
clearTimeout(this._mouseDelayTimer);
|
| 417 |
+
this._mouseDelayTimer = setTimeout(function() {
|
| 418 |
+
that.delayMet = true
|
| 419 |
+
}, this.options.delay)
|
| 420 |
+
}
|
| 421 |
+
},
|
| 422 |
+
scroll: function (e) {
|
| 423 |
+
this.clearDimensions()
|
| 424 |
+
this.clearOffsetParent() // TODO is this needed?
|
| 425 |
+
},
|
| 426 |
+
toggleListeners: function (method) {
|
| 427 |
+
var that = this,
|
| 428 |
+
events = ['drag','drop','scroll']
|
| 429 |
+
|
| 430 |
+
$.each(events,function (i,event) {
|
| 431 |
+
that.$document[method](eventNames[event], that[event + 'Proxy'])
|
| 432 |
+
})
|
| 433 |
+
},
|
| 434 |
+
clearOffsetParent: function () {
|
| 435 |
+
this.offsetParent = undefined
|
| 436 |
+
},
|
| 437 |
+
// Recursively clear container and item dimensions
|
| 438 |
+
clearDimensions: function () {
|
| 439 |
+
this.traverse(function(object){
|
| 440 |
+
object._clearDimensions()
|
| 441 |
+
})
|
| 442 |
+
},
|
| 443 |
+
traverse: function(callback) {
|
| 444 |
+
callback(this)
|
| 445 |
+
var i = this.containers.length
|
| 446 |
+
while(i--){
|
| 447 |
+
this.containers[i].traverse(callback)
|
| 448 |
+
}
|
| 449 |
+
},
|
| 450 |
+
_clearDimensions: function(){
|
| 451 |
+
this.containerDimensions = undefined
|
| 452 |
+
},
|
| 453 |
+
_destroy: function () {
|
| 454 |
+
containerGroups[this.options.group] = undefined
|
| 455 |
+
}
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
function Container(element, options) {
|
| 459 |
+
this.el = element
|
| 460 |
+
this.options = $.extend( {}, containerDefaults, options)
|
| 461 |
+
|
| 462 |
+
this.group = ContainerGroup.get(this.options)
|
| 463 |
+
this.rootGroup = this.options.rootGroup || this.group
|
| 464 |
+
this.handle = this.rootGroup.options.handle || this.rootGroup.options.itemSelector
|
| 465 |
+
|
| 466 |
+
var itemPath = this.rootGroup.options.itemPath
|
| 467 |
+
this.target = itemPath ? this.el.find(itemPath) : this.el
|
| 468 |
+
|
| 469 |
+
this.target.on(eventNames.start, this.handle, $.proxy(this.dragInit, this))
|
| 470 |
+
|
| 471 |
+
if(this.options.drop)
|
| 472 |
+
this.group.containers.push(this)
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
Container.prototype = {
|
| 476 |
+
dragInit: function (e) {
|
| 477 |
+
var rootGroup = this.rootGroup
|
| 478 |
+
|
| 479 |
+
if( !this.disabled &&
|
| 480 |
+
!rootGroup.dragInitDone &&
|
| 481 |
+
this.options.drag &&
|
| 482 |
+
this.isValidDrag(e)) {
|
| 483 |
+
rootGroup.dragInit(e, this)
|
| 484 |
+
}
|
| 485 |
+
},
|
| 486 |
+
isValidDrag: function(e) {
|
| 487 |
+
return e.which == 1 ||
|
| 488 |
+
e.type == "touchstart" && e.originalEvent.touches.length == 1
|
| 489 |
+
},
|
| 490 |
+
searchValidTarget: function (pointer, lastPointer) {
|
| 491 |
+
var distances = sortByDistanceDesc(this.getItemDimensions(),
|
| 492 |
+
pointer,
|
| 493 |
+
lastPointer),
|
| 494 |
+
i = distances.length,
|
| 495 |
+
rootGroup = this.rootGroup,
|
| 496 |
+
validTarget = !rootGroup.options.isValidTarget ||
|
| 497 |
+
rootGroup.options.isValidTarget(rootGroup.item, this)
|
| 498 |
+
|
| 499 |
+
if(!i && validTarget){
|
| 500 |
+
rootGroup.movePlaceholder(this, this.target, "append")
|
| 501 |
+
return true
|
| 502 |
+
} else
|
| 503 |
+
while(i--){
|
| 504 |
+
var index = distances[i][0],
|
| 505 |
+
distance = distances[i][1]
|
| 506 |
+
if(!distance && this.hasChildGroup(index)){
|
| 507 |
+
var found = this.getContainerGroup(index).searchValidTarget(pointer, lastPointer)
|
| 508 |
+
if(found)
|
| 509 |
+
return true
|
| 510 |
+
}
|
| 511 |
+
else if(validTarget){
|
| 512 |
+
this.movePlaceholder(index, pointer)
|
| 513 |
+
return true
|
| 514 |
+
}
|
| 515 |
+
}
|
| 516 |
+
},
|
| 517 |
+
movePlaceholder: function (index, pointer) {
|
| 518 |
+
var item = $(this.items[index]),
|
| 519 |
+
dim = this.itemDimensions[index],
|
| 520 |
+
method = "after",
|
| 521 |
+
width = item.outerWidth(),
|
| 522 |
+
height = item.outerHeight(),
|
| 523 |
+
offset = item.offset(),
|
| 524 |
+
sameResultBox = {
|
| 525 |
+
left: offset.left,
|
| 526 |
+
right: offset.left + width,
|
| 527 |
+
top: offset.top,
|
| 528 |
+
bottom: offset.top + height
|
| 529 |
+
}
|
| 530 |
+
if(this.options.vertical){
|
| 531 |
+
var yCenter = (dim[2] + dim[3]) / 2,
|
| 532 |
+
inUpperHalf = pointer.top <= yCenter
|
| 533 |
+
if(inUpperHalf){
|
| 534 |
+
method = "before"
|
| 535 |
+
sameResultBox.bottom -= height / 2
|
| 536 |
+
} else
|
| 537 |
+
sameResultBox.top += height / 2
|
| 538 |
+
} else {
|
| 539 |
+
var xCenter = (dim[0] + dim[1]) / 2,
|
| 540 |
+
inLeftHalf = pointer.left <= xCenter
|
| 541 |
+
if(inLeftHalf){
|
| 542 |
+
method = "before"
|
| 543 |
+
sameResultBox.right -= width / 2
|
| 544 |
+
} else
|
| 545 |
+
sameResultBox.left += width / 2
|
| 546 |
+
}
|
| 547 |
+
if(this.hasChildGroup(index))
|
| 548 |
+
sameResultBox = emptyBox
|
| 549 |
+
this.rootGroup.movePlaceholder(this, item, method, sameResultBox)
|
| 550 |
+
},
|
| 551 |
+
getItemDimensions: function () {
|
| 552 |
+
if(!this.itemDimensions){
|
| 553 |
+
this.items = this.$getChildren(this.el, "item").filter(
|
| 554 |
+
":not(." + this.group.options.placeholderClass + ", ." + this.group.options.draggedClass + ")"
|
| 555 |
+
).get()
|
| 556 |
+
setDimensions(this.items, this.itemDimensions = [], this.options.tolerance)
|
| 557 |
+
}
|
| 558 |
+
return this.itemDimensions
|
| 559 |
+
},
|
| 560 |
+
getItemOffsetParent: function () {
|
| 561 |
+
var offsetParent,
|
| 562 |
+
el = this.el
|
| 563 |
+
// Since el might be empty we have to check el itself and
|
| 564 |
+
// can not do something like el.children().first().offsetParent()
|
| 565 |
+
if(el.css("position") === "relative" || el.css("position") === "absolute" || el.css("position") === "fixed")
|
| 566 |
+
offsetParent = el
|
| 567 |
+
else
|
| 568 |
+
offsetParent = el.offsetParent()
|
| 569 |
+
return offsetParent
|
| 570 |
+
},
|
| 571 |
+
hasChildGroup: function (index) {
|
| 572 |
+
return this.options.nested && this.getContainerGroup(index)
|
| 573 |
+
},
|
| 574 |
+
getContainerGroup: function (index) {
|
| 575 |
+
var childGroup = $.data(this.items[index], subContainerKey)
|
| 576 |
+
if( childGroup === undefined){
|
| 577 |
+
var childContainers = this.$getChildren(this.items[index], "container")
|
| 578 |
+
childGroup = false
|
| 579 |
+
|
| 580 |
+
if(childContainers[0]){
|
| 581 |
+
var options = $.extend({}, this.options, {
|
| 582 |
+
rootGroup: this.rootGroup,
|
| 583 |
+
group: groupCounter ++
|
| 584 |
+
})
|
| 585 |
+
childGroup = childContainers[pluginName](options).data(pluginName).group
|
| 586 |
+
}
|
| 587 |
+
$.data(this.items[index], subContainerKey, childGroup)
|
| 588 |
+
}
|
| 589 |
+
return childGroup
|
| 590 |
+
},
|
| 591 |
+
$getChildren: function (parent, type) {
|
| 592 |
+
var options = this.rootGroup.options,
|
| 593 |
+
path = options[type + "Path"],
|
| 594 |
+
selector = options[type + "Selector"]
|
| 595 |
+
|
| 596 |
+
parent = $(parent)
|
| 597 |
+
if(path)
|
| 598 |
+
parent = parent.find(path)
|
| 599 |
+
|
| 600 |
+
return parent.children(selector)
|
| 601 |
+
},
|
| 602 |
+
_serialize: function (parent, isContainer) {
|
| 603 |
+
var that = this,
|
| 604 |
+
childType = isContainer ? "item" : "container",
|
| 605 |
+
|
| 606 |
+
children = this.$getChildren(parent, childType).not(this.options.exclude).map(function () {
|
| 607 |
+
return that._serialize($(this), !isContainer)
|
| 608 |
+
}).get()
|
| 609 |
+
|
| 610 |
+
return this.rootGroup.options.serialize(parent, children, isContainer)
|
| 611 |
+
},
|
| 612 |
+
traverse: function(callback) {
|
| 613 |
+
$.each(this.items || [], function(item){
|
| 614 |
+
var group = $.data(this, subContainerKey)
|
| 615 |
+
if(group)
|
| 616 |
+
group.traverse(callback)
|
| 617 |
+
});
|
| 618 |
+
|
| 619 |
+
callback(this)
|
| 620 |
+
},
|
| 621 |
+
_clearDimensions: function () {
|
| 622 |
+
this.itemDimensions = undefined
|
| 623 |
+
},
|
| 624 |
+
_destroy: function() {
|
| 625 |
+
var that = this;
|
| 626 |
+
|
| 627 |
+
this.target.off(eventNames.start, this.handle);
|
| 628 |
+
this.el.removeData(pluginName)
|
| 629 |
+
|
| 630 |
+
if(this.options.drop)
|
| 631 |
+
this.group.containers = $.grep(this.group.containers, function(val){
|
| 632 |
+
return val != that
|
| 633 |
+
})
|
| 634 |
+
|
| 635 |
+
$.each(this.items || [], function(){
|
| 636 |
+
$.removeData(this, subContainerKey)
|
| 637 |
+
})
|
| 638 |
+
}
|
| 639 |
+
}
|
| 640 |
+
|
| 641 |
+
var API = {
|
| 642 |
+
enable: function() {
|
| 643 |
+
this.traverse(function(object){
|
| 644 |
+
object.disabled = false
|
| 645 |
+
})
|
| 646 |
+
},
|
| 647 |
+
disable: function (){
|
| 648 |
+
this.traverse(function(object){
|
| 649 |
+
object.disabled = true
|
| 650 |
+
})
|
| 651 |
+
},
|
| 652 |
+
serialize: function () {
|
| 653 |
+
return this._serialize(this.el, true)
|
| 654 |
+
},
|
| 655 |
+
refresh: function() {
|
| 656 |
+
this.traverse(function(object){
|
| 657 |
+
object._clearDimensions()
|
| 658 |
+
})
|
| 659 |
+
},
|
| 660 |
+
destroy: function () {
|
| 661 |
+
this.traverse(function(object){
|
| 662 |
+
object._destroy();
|
| 663 |
+
})
|
| 664 |
+
}
|
| 665 |
+
}
|
| 666 |
+
|
| 667 |
+
$.extend(Container.prototype, API)
|
| 668 |
+
|
| 669 |
+
/**
|
| 670 |
+
* jQuery API
|
| 671 |
+
*
|
| 672 |
+
* Parameters are
|
| 673 |
+
* either options on init
|
| 674 |
+
* or a method name followed by arguments to pass to the method
|
| 675 |
+
*/
|
| 676 |
+
$.fn[pluginName] = function(methodOrOptions) {
|
| 677 |
+
var args = Array.prototype.slice.call(arguments, 1)
|
| 678 |
+
|
| 679 |
+
return this.map(function(){
|
| 680 |
+
var $t = $(this),
|
| 681 |
+
object = $t.data(pluginName)
|
| 682 |
+
|
| 683 |
+
if(object && API[methodOrOptions])
|
| 684 |
+
return API[methodOrOptions].apply(object, args) || this
|
| 685 |
+
else if(!object && (methodOrOptions === undefined ||
|
| 686 |
+
typeof methodOrOptions === "object"))
|
| 687 |
+
$t.data(pluginName, new Container($t, methodOrOptions))
|
| 688 |
+
|
| 689 |
+
return this
|
| 690 |
+
});
|
| 691 |
+
};
|
| 692 |
+
|
| 693 |
+
}(jQuery, window, 'sortable');
|
assets/admin/js/jquery-ui.min.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/js/moment.min.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
//! moment.js
|
| 2 |
+
//! version : 2.18.1
|
| 3 |
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
| 4 |
+
//! license : MIT
|
| 5 |
+
//! momentjs.com
|
| 6 |
+
!function (a, b) { "object" == typeof exports && "undefined" != typeof module ? module.exports = b() : "function" == typeof define && define.amd ? define(b) : a.moment = b() }(this, function () {
|
| 7 |
+
"use strict"; function a() { return sd.apply(null, arguments) } function b(a) { sd = a } function c(a) { return a instanceof Array || "[object Array]" === Object.prototype.toString.call(a) } function d(a) { return null != a && "[object Object]" === Object.prototype.toString.call(a) } function e(a) { var b; for (b in a) return !1; return !0 } function f(a) { return void 0 === a } function g(a) { return "number" == typeof a || "[object Number]" === Object.prototype.toString.call(a) } function h(a) { return a instanceof Date || "[object Date]" === Object.prototype.toString.call(a) } function i(a, b) { var c, d = []; for (c = 0; c < a.length; ++c)d.push(b(a[c], c)); return d } function j(a, b) { return Object.prototype.hasOwnProperty.call(a, b) } function k(a, b) { for (var c in b) j(b, c) && (a[c] = b[c]); return j(b, "toString") && (a.toString = b.toString), j(b, "valueOf") && (a.valueOf = b.valueOf), a } function l(a, b, c, d) { return sb(a, b, c, d, !0).utc() } function m() { return { empty: !1, unusedTokens: [], unusedInput: [], overflow: -2, charsLeftOver: 0, nullInput: !1, invalidMonth: null, invalidFormat: !1, userInvalidated: !1, iso: !1, parsedDateParts: [], meridiem: null, rfc2822: !1, weekdayMismatch: !1 } } function n(a) { return null == a._pf && (a._pf = m()), a._pf } function o(a) { if (null == a._isValid) { var b = n(a), c = ud.call(b.parsedDateParts, function (a) { return null != a }), d = !isNaN(a._d.getTime()) && b.overflow < 0 && !b.empty && !b.invalidMonth && !b.invalidWeekday && !b.nullInput && !b.invalidFormat && !b.userInvalidated && (!b.meridiem || b.meridiem && c); if (a._strict && (d = d && 0 === b.charsLeftOver && 0 === b.unusedTokens.length && void 0 === b.bigHour), null != Object.isFrozen && Object.isFrozen(a)) return d; a._isValid = d } return a._isValid } function p(a) { var b = l(NaN); return null != a ? k(n(b), a) : n(b).userInvalidated = !0, b } function q(a, b) { var c, d, e; if (f(b._isAMomentObject) || (a._isAMomentObject = b._isAMomentObject), f(b._i) || (a._i = b._i), f(b._f) || (a._f = b._f), f(b._l) || (a._l = b._l), f(b._strict) || (a._strict = b._strict), f(b._tzm) || (a._tzm = b._tzm), f(b._isUTC) || (a._isUTC = b._isUTC), f(b._offset) || (a._offset = b._offset), f(b._pf) || (a._pf = n(b)), f(b._locale) || (a._locale = b._locale), vd.length > 0) for (c = 0; c < vd.length; c++)d = vd[c], e = b[d], f(e) || (a[d] = e); return a } function r(b) { q(this, b), this._d = new Date(null != b._d ? b._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), wd === !1 && (wd = !0, a.updateOffset(this), wd = !1) } function s(a) { return a instanceof r || null != a && null != a._isAMomentObject } function t(a) { return a < 0 ? Math.ceil(a) || 0 : Math.floor(a) } function u(a) { var b = +a, c = 0; return 0 !== b && isFinite(b) && (c = t(b)), c } function v(a, b, c) { var d, e = Math.min(a.length, b.length), f = Math.abs(a.length - b.length), g = 0; for (d = 0; d < e; d++)(c && a[d] !== b[d] || !c && u(a[d]) !== u(b[d])) && g++; return g + f } function w(b) { a.suppressDeprecationWarnings === !1 && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + b) } function x(b, c) { var d = !0; return k(function () { if (null != a.deprecationHandler && a.deprecationHandler(null, b), d) { for (var e, f = [], g = 0; g < arguments.length; g++) { if (e = "", "object" == typeof arguments[g]) { e += "\n[" + g + "] "; for (var h in arguments[0]) e += h + ": " + arguments[0][h] + ", "; e = e.slice(0, -2) } else e = arguments[g]; f.push(e) } w(b + "\nArguments: " + Array.prototype.slice.call(f).join("") + "\n" + (new Error).stack), d = !1 } return c.apply(this, arguments) }, c) } function y(b, c) { null != a.deprecationHandler && a.deprecationHandler(b, c), xd[b] || (w(c), xd[b] = !0) } function z(a) { return a instanceof Function || "[object Function]" === Object.prototype.toString.call(a) } function A(a) { var b, c; for (c in a) b = a[c], z(b) ? this[c] = b : this["_" + c] = b; this._config = a, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source) } function B(a, b) { var c, e = k({}, a); for (c in b) j(b, c) && (d(a[c]) && d(b[c]) ? (e[c] = {}, k(e[c], a[c]), k(e[c], b[c])) : null != b[c] ? e[c] = b[c] : delete e[c]); for (c in a) j(a, c) && !j(b, c) && d(a[c]) && (e[c] = k({}, e[c])); return e } function C(a) { null != a && this.set(a) } function D(a, b, c) { var d = this._calendar[a] || this._calendar.sameElse; return z(d) ? d.call(b, c) : d } function E(a) { var b = this._longDateFormat[a], c = this._longDateFormat[a.toUpperCase()]; return b || !c ? b : (this._longDateFormat[a] = c.replace(/MMMM|MM|DD|dddd/g, function (a) { return a.slice(1) }), this._longDateFormat[a]) } function F() { return this._invalidDate } function G(a) { return this._ordinal.replace("%d", a) } function H(a, b, c, d) { var e = this._relativeTime[c]; return z(e) ? e(a, b, c, d) : e.replace(/%d/i, a) } function I(a, b) { var c = this._relativeTime[a > 0 ? "future" : "past"]; return z(c) ? c(b) : c.replace(/%s/i, b) } function J(a, b) { var c = a.toLowerCase(); Hd[c] = Hd[c + "s"] = Hd[b] = a } function K(a) { return "string" == typeof a ? Hd[a] || Hd[a.toLowerCase()] : void 0 } function L(a) { var b, c, d = {}; for (c in a) j(a, c) && (b = K(c), b && (d[b] = a[c])); return d } function M(a, b) { Id[a] = b } function N(a) { var b = []; for (var c in a) b.push({ unit: c, priority: Id[c] }); return b.sort(function (a, b) { return a.priority - b.priority }), b } function O(b, c) { return function (d) { return null != d ? (Q(this, b, d), a.updateOffset(this, c), this) : P(this, b) } } function P(a, b) { return a.isValid() ? a._d["get" + (a._isUTC ? "UTC" : "") + b]() : NaN } function Q(a, b, c) { a.isValid() && a._d["set" + (a._isUTC ? "UTC" : "") + b](c) } function R(a) { return a = K(a), z(this[a]) ? this[a]() : this } function S(a, b) { if ("object" == typeof a) { a = L(a); for (var c = N(a), d = 0; d < c.length; d++)this[c[d].unit](a[c[d].unit]) } else if (a = K(a), z(this[a])) return this[a](b); return this } function T(a, b, c) { var d = "" + Math.abs(a), e = b - d.length, f = a >= 0; return (f ? c ? "+" : "" : "-") + Math.pow(10, Math.max(0, e)).toString().substr(1) + d } function U(a, b, c, d) { var e = d; "string" == typeof d && (e = function () { return this[d]() }), a && (Md[a] = e), b && (Md[b[0]] = function () { return T(e.apply(this, arguments), b[1], b[2]) }), c && (Md[c] = function () { return this.localeData().ordinal(e.apply(this, arguments), a) }) } function V(a) { return a.match(/\[[\s\S]/) ? a.replace(/^\[|\]$/g, "") : a.replace(/\\/g, "") } function W(a) { var b, c, d = a.match(Jd); for (b = 0, c = d.length; b < c; b++)Md[d[b]] ? d[b] = Md[d[b]] : d[b] = V(d[b]); return function (b) { var e, f = ""; for (e = 0; e < c; e++)f += z(d[e]) ? d[e].call(b, a) : d[e]; return f } } function X(a, b) { return a.isValid() ? (b = Y(b, a.localeData()), Ld[b] = Ld[b] || W(b), Ld[b](a)) : a.localeData().invalidDate() } function Y(a, b) { function c(a) { return b.longDateFormat(a) || a } var d = 5; for (Kd.lastIndex = 0; d >= 0 && Kd.test(a);)a = a.replace(Kd, c), Kd.lastIndex = 0, d -= 1; return a } function Z(a, b, c) { ce[a] = z(b) ? b : function (a, d) { return a && c ? c : b } } function $(a, b) { return j(ce, a) ? ce[a](b._strict, b._locale) : new RegExp(_(a)) } function _(a) { return aa(a.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (a, b, c, d, e) { return b || c || d || e })) } function aa(a) { return a.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") } function ba(a, b) { var c, d = b; for ("string" == typeof a && (a = [a]), g(b) && (d = function (a, c) { c[b] = u(a) }), c = 0; c < a.length; c++)de[a[c]] = d } function ca(a, b) { ba(a, function (a, c, d, e) { d._w = d._w || {}, b(a, d._w, d, e) }) } function da(a, b, c) { null != b && j(de, a) && de[a](b, c._a, c, a) } function ea(a, b) { return new Date(Date.UTC(a, b + 1, 0)).getUTCDate() } function fa(a, b) { return a ? c(this._months) ? this._months[a.month()] : this._months[(this._months.isFormat || oe).test(b) ? "format" : "standalone"][a.month()] : c(this._months) ? this._months : this._months.standalone } function ga(a, b) { return a ? c(this._monthsShort) ? this._monthsShort[a.month()] : this._monthsShort[oe.test(b) ? "format" : "standalone"][a.month()] : c(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone } function ha(a, b, c) { var d, e, f, g = a.toLocaleLowerCase(); if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], d = 0; d < 12; ++d)f = l([2e3, d]), this._shortMonthsParse[d] = this.monthsShort(f, "").toLocaleLowerCase(), this._longMonthsParse[d] = this.months(f, "").toLocaleLowerCase(); return c ? "MMM" === b ? (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : null) : (e = ne.call(this._longMonthsParse, g), e !== -1 ? e : null) : "MMM" === b ? (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : (e = ne.call(this._longMonthsParse, g), e !== -1 ? e : null)) : (e = ne.call(this._longMonthsParse, g), e !== -1 ? e : (e = ne.call(this._shortMonthsParse, g), e !== -1 ? e : null)) } function ia(a, b, c) { var d, e, f; if (this._monthsParseExact) return ha.call(this, a, b, c); for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), d = 0; d < 12; d++) { if (e = l([2e3, d]), c && !this._longMonthsParse[d] && (this._longMonthsParse[d] = new RegExp("^" + this.months(e, "").replace(".", "") + "$", "i"), this._shortMonthsParse[d] = new RegExp("^" + this.monthsShort(e, "").replace(".", "") + "$", "i")), c || this._monthsParse[d] || (f = "^" + this.months(e, "") + "|^" + this.monthsShort(e, ""), this._monthsParse[d] = new RegExp(f.replace(".", ""), "i")), c && "MMMM" === b && this._longMonthsParse[d].test(a)) return d; if (c && "MMM" === b && this._shortMonthsParse[d].test(a)) return d; if (!c && this._monthsParse[d].test(a)) return d } } function ja(a, b) { var c; if (!a.isValid()) return a; if ("string" == typeof b) if (/^\d+$/.test(b)) b = u(b); else if (b = a.localeData().monthsParse(b), !g(b)) return a; return c = Math.min(a.date(), ea(a.year(), b)), a._d["set" + (a._isUTC ? "UTC" : "") + "Month"](b, c), a } function ka(b) { return null != b ? (ja(this, b), a.updateOffset(this, !0), this) : P(this, "Month") } function la() { return ea(this.year(), this.month()) } function ma(a) { return this._monthsParseExact ? (j(this, "_monthsRegex") || oa.call(this), a ? this._monthsShortStrictRegex : this._monthsShortRegex) : (j(this, "_monthsShortRegex") || (this._monthsShortRegex = re), this._monthsShortStrictRegex && a ? this._monthsShortStrictRegex : this._monthsShortRegex) } function na(a) { return this._monthsParseExact ? (j(this, "_monthsRegex") || oa.call(this), a ? this._monthsStrictRegex : this._monthsRegex) : (j(this, "_monthsRegex") || (this._monthsRegex = se), this._monthsStrictRegex && a ? this._monthsStrictRegex : this._monthsRegex) } function oa() { function a(a, b) { return b.length - a.length } var b, c, d = [], e = [], f = []; for (b = 0; b < 12; b++)c = l([2e3, b]), d.push(this.monthsShort(c, "")), e.push(this.months(c, "")), f.push(this.months(c, "")), f.push(this.monthsShort(c, "")); for (d.sort(a), e.sort(a), f.sort(a), b = 0; b < 12; b++)d[b] = aa(d[b]), e[b] = aa(e[b]); for (b = 0; b < 24; b++)f[b] = aa(f[b]); this._monthsRegex = new RegExp("^(" + f.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + d.join("|") + ")", "i") } function pa(a) { return qa(a) ? 366 : 365 } function qa(a) { return a % 4 === 0 && a % 100 !== 0 || a % 400 === 0 } function ra() { return qa(this.year()) } function sa(a, b, c, d, e, f, g) { var h = new Date(a, b, c, d, e, f, g); return a < 100 && a >= 0 && isFinite(h.getFullYear()) && h.setFullYear(a), h } function ta(a) { var b = new Date(Date.UTC.apply(null, arguments)); return a < 100 && a >= 0 && isFinite(b.getUTCFullYear()) && b.setUTCFullYear(a), b } function ua(a, b, c) { var d = 7 + b - c, e = (7 + ta(a, 0, d).getUTCDay() - b) % 7; return -e + d - 1 } function va(a, b, c, d, e) { var f, g, h = (7 + c - d) % 7, i = ua(a, d, e), j = 1 + 7 * (b - 1) + h + i; return j <= 0 ? (f = a - 1, g = pa(f) + j) : j > pa(a) ? (f = a + 1, g = j - pa(a)) : (f = a, g = j), { year: f, dayOfYear: g } } function wa(a, b, c) { var d, e, f = ua(a.year(), b, c), g = Math.floor((a.dayOfYear() - f - 1) / 7) + 1; return g < 1 ? (e = a.year() - 1, d = g + xa(e, b, c)) : g > xa(a.year(), b, c) ? (d = g - xa(a.year(), b, c), e = a.year() + 1) : (e = a.year(), d = g), { week: d, year: e } } function xa(a, b, c) { var d = ua(a, b, c), e = ua(a + 1, b, c); return (pa(a) - d + e) / 7 } function ya(a) { return wa(a, this._week.dow, this._week.doy).week } function za() { return this._week.dow } function Aa() { return this._week.doy } function Ba(a) { var b = this.localeData().week(this); return null == a ? b : this.add(7 * (a - b), "d") } function Ca(a) { var b = wa(this, 1, 4).week; return null == a ? b : this.add(7 * (a - b), "d") } function Da(a, b) { return "string" != typeof a ? a : isNaN(a) ? (a = b.weekdaysParse(a), "number" == typeof a ? a : null) : parseInt(a, 10) } function Ea(a, b) { return "string" == typeof a ? b.weekdaysParse(a) % 7 || 7 : isNaN(a) ? null : a } function Fa(a, b) { return a ? c(this._weekdays) ? this._weekdays[a.day()] : this._weekdays[this._weekdays.isFormat.test(b) ? "format" : "standalone"][a.day()] : c(this._weekdays) ? this._weekdays : this._weekdays.standalone } function Ga(a) { return a ? this._weekdaysShort[a.day()] : this._weekdaysShort } function Ha(a) { return a ? this._weekdaysMin[a.day()] : this._weekdaysMin } function Ia(a, b, c) { var d, e, f, g = a.toLocaleLowerCase(); if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], d = 0; d < 7; ++d)f = l([2e3, 1]).day(d), this._minWeekdaysParse[d] = this.weekdaysMin(f, "").toLocaleLowerCase(), this._shortWeekdaysParse[d] = this.weekdaysShort(f, "").toLocaleLowerCase(), this._weekdaysParse[d] = this.weekdays(f, "").toLocaleLowerCase(); return c ? "dddd" === b ? (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : null) : "ddd" === b ? (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : null) : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null) : "dddd" === b ? (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null))) : "ddd" === b ? (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : null))) : (e = ne.call(this._minWeekdaysParse, g), e !== -1 ? e : (e = ne.call(this._weekdaysParse, g), e !== -1 ? e : (e = ne.call(this._shortWeekdaysParse, g), e !== -1 ? e : null))) } function Ja(a, b, c) { var d, e, f; if (this._weekdaysParseExact) return Ia.call(this, a, b, c); for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), d = 0; d < 7; d++) { if (e = l([2e3, 1]).day(d), c && !this._fullWeekdaysParse[d] && (this._fullWeekdaysParse[d] = new RegExp("^" + this.weekdays(e, "").replace(".", ".?") + "$", "i"), this._shortWeekdaysParse[d] = new RegExp("^" + this.weekdaysShort(e, "").replace(".", ".?") + "$", "i"), this._minWeekdaysParse[d] = new RegExp("^" + this.weekdaysMin(e, "").replace(".", ".?") + "$", "i")), this._weekdaysParse[d] || (f = "^" + this.weekdays(e, "") + "|^" + this.weekdaysShort(e, "") + "|^" + this.weekdaysMin(e, ""), this._weekdaysParse[d] = new RegExp(f.replace(".", ""), "i")), c && "dddd" === b && this._fullWeekdaysParse[d].test(a)) return d; if (c && "ddd" === b && this._shortWeekdaysParse[d].test(a)) return d; if (c && "dd" === b && this._minWeekdaysParse[d].test(a)) return d; if (!c && this._weekdaysParse[d].test(a)) return d } } function Ka(a) { if (!this.isValid()) return null != a ? this : NaN; var b = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); return null != a ? (a = Da(a, this.localeData()), this.add(a - b, "d")) : b } function La(a) { if (!this.isValid()) return null != a ? this : NaN; var b = (this.day() + 7 - this.localeData()._week.dow) % 7; return null == a ? b : this.add(a - b, "d") } function Ma(a) { if (!this.isValid()) return null != a ? this : NaN; if (null != a) { var b = Ea(a, this.localeData()); return this.day(this.day() % 7 ? b : b - 7) } return this.day() || 7 } function Na(a) { return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysStrictRegex : this._weekdaysRegex) : (j(this, "_weekdaysRegex") || (this._weekdaysRegex = ye), this._weekdaysStrictRegex && a ? this._weekdaysStrictRegex : this._weekdaysRegex) } function Oa(a) { return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (j(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = ze), this._weekdaysShortStrictRegex && a ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) } function Pa(a) { return this._weekdaysParseExact ? (j(this, "_weekdaysRegex") || Qa.call(this), a ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (j(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ae), this._weekdaysMinStrictRegex && a ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) } function Qa() { function a(a, b) { return b.length - a.length } var b, c, d, e, f, g = [], h = [], i = [], j = []; for (b = 0; b < 7; b++)c = l([2e3, 1]).day(b), d = this.weekdaysMin(c, ""), e = this.weekdaysShort(c, ""), f = this.weekdays(c, ""), g.push(d), h.push(e), i.push(f), j.push(d), j.push(e), j.push(f); for (g.sort(a), h.sort(a), i.sort(a), j.sort(a), b = 0; b < 7; b++)h[b] = aa(h[b]), i[b] = aa(i[b]), j[b] = aa(j[b]); this._weekdaysRegex = new RegExp("^(" + j.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + h.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + g.join("|") + ")", "i") } function Ra() { return this.hours() % 12 || 12 } function Sa() { return this.hours() || 24 } function Ta(a, b) { U(a, 0, 0, function () { return this.localeData().meridiem(this.hours(), this.minutes(), b) }) } function Ua(a, b) { return b._meridiemParse } function Va(a) { return "p" === (a + "").toLowerCase().charAt(0) } function Wa(a, b, c) { return a > 11 ? c ? "pm" : "PM" : c ? "am" : "AM" } function Xa(a) { return a ? a.toLowerCase().replace("_", "-") : a } function Ya(a) { for (var b, c, d, e, f = 0; f < a.length;) { for (e = Xa(a[f]).split("-"), b = e.length, c = Xa(a[f + 1]), c = c ? c.split("-") : null; b > 0;) { if (d = Za(e.slice(0, b).join("-"))) return d; if (c && c.length >= b && v(e, c, !0) >= b - 1) break; b-- } f++ } return null } function Za(a) { var b = null; if (!Fe[a] && "undefined" != typeof module && module && module.exports) try { b = Be._abbr, require("./locale/" + a), $a(b) } catch (a) { } return Fe[a] } function $a(a, b) { var c; return a && (c = f(b) ? bb(a) : _a(a, b), c && (Be = c)), Be._abbr } function _a(a, b) { if (null !== b) { var c = Ee; if (b.abbr = a, null != Fe[a]) y("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), c = Fe[a]._config; else if (null != b.parentLocale) { if (null == Fe[b.parentLocale]) return Ge[b.parentLocale] || (Ge[b.parentLocale] = []), Ge[b.parentLocale].push({ name: a, config: b }), null; c = Fe[b.parentLocale]._config } return Fe[a] = new C(B(c, b)), Ge[a] && Ge[a].forEach(function (a) { _a(a.name, a.config) }), $a(a), Fe[a] } return delete Fe[a], null } function ab(a, b) { if (null != b) { var c, d = Ee; null != Fe[a] && (d = Fe[a]._config), b = B(d, b), c = new C(b), c.parentLocale = Fe[a], Fe[a] = c, $a(a) } else null != Fe[a] && (null != Fe[a].parentLocale ? Fe[a] = Fe[a].parentLocale : null != Fe[a] && delete Fe[a]); return Fe[a] } function bb(a) { var b; if (a && a._locale && a._locale._abbr && (a = a._locale._abbr), !a) return Be; if (!c(a)) { if (b = Za(a)) return b; a = [a] } return Ya(a) } function cb() { return Ad(Fe) } function db(a) { var b, c = a._a; return c && n(a).overflow === -2 && (b = c[fe] < 0 || c[fe] > 11 ? fe : c[ge] < 1 || c[ge] > ea(c[ee], c[fe]) ? ge : c[he] < 0 || c[he] > 24 || 24 === c[he] && (0 !== c[ie] || 0 !== c[je] || 0 !== c[ke]) ? he : c[ie] < 0 || c[ie] > 59 ? ie : c[je] < 0 || c[je] > 59 ? je : c[ke] < 0 || c[ke] > 999 ? ke : -1, n(a)._overflowDayOfYear && (b < ee || b > ge) && (b = ge), n(a)._overflowWeeks && b === -1 && (b = le), n(a)._overflowWeekday && b === -1 && (b = me), n(a).overflow = b), a } function eb(a) { var b, c, d, e, f, g, h = a._i, i = He.exec(h) || Ie.exec(h); if (i) { for (n(a).iso = !0, b = 0, c = Ke.length; b < c; b++)if (Ke[b][1].exec(i[1])) { e = Ke[b][0], d = Ke[b][2] !== !1; break } if (null == e) return void (a._isValid = !1); if (i[3]) { for (b = 0, c = Le.length; b < c; b++)if (Le[b][1].exec(i[3])) { f = (i[2] || " ") + Le[b][0]; break } if (null == f) return void (a._isValid = !1) } if (!d && null != f) return void (a._isValid = !1); if (i[4]) { if (!Je.exec(i[4])) return void (a._isValid = !1); g = "Z" } a._f = e + (f || "") + (g || ""), lb(a) } else a._isValid = !1 } function fb(a) { var b, c, d, e, f, g, h, i, j = { " GMT": " +0000", " EDT": " -0400", " EST": " -0500", " CDT": " -0500", " CST": " -0600", " MDT": " -0600", " MST": " -0700", " PDT": " -0700", " PST": " -0800" }, k = "YXWVUTSRQPONZABCDEFGHIKLM"; if (b = a._i.replace(/\([^\)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s|\s$/g, ""), c = Ne.exec(b)) { if (d = c[1] ? "ddd" + (5 === c[1].length ? ", " : " ") : "", e = "D MMM " + (c[2].length > 10 ? "YYYY " : "YY "), f = "HH:mm" + (c[4] ? ":ss" : ""), c[1]) { var l = new Date(c[2]), m = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][l.getDay()]; if (c[1].substr(0, 3) !== m) return n(a).weekdayMismatch = !0, void (a._isValid = !1) } switch (c[5].length) { case 2: 0 === i ? h = " +0000" : (i = k.indexOf(c[5][1].toUpperCase()) - 12, h = (i < 0 ? " -" : " +") + ("" + i).replace(/^-?/, "0").match(/..$/)[0] + "00"); break; case 4: h = j[c[5]]; break; default: h = j[" GMT"] }c[5] = h, a._i = c.splice(1).join(""), g = " ZZ", a._f = d + e + f + g, lb(a), n(a).rfc2822 = !0 } else a._isValid = !1 } function gb(b) { var c = Me.exec(b._i); return null !== c ? void (b._d = new Date(+c[1])) : (eb(b), void (b._isValid === !1 && (delete b._isValid, fb(b), b._isValid === !1 && (delete b._isValid, a.createFromInputFallback(b))))) } function hb(a, b, c) { return null != a ? a : null != b ? b : c } function ib(b) { var c = new Date(a.now()); return b._useUTC ? [c.getUTCFullYear(), c.getUTCMonth(), c.getUTCDate()] : [c.getFullYear(), c.getMonth(), c.getDate()] } function jb(a) { var b, c, d, e, f = []; if (!a._d) { for (d = ib(a), a._w && null == a._a[ge] && null == a._a[fe] && kb(a), null != a._dayOfYear && (e = hb(a._a[ee], d[ee]), (a._dayOfYear > pa(e) || 0 === a._dayOfYear) && (n(a)._overflowDayOfYear = !0), c = ta(e, 0, a._dayOfYear), a._a[fe] = c.getUTCMonth(), a._a[ge] = c.getUTCDate()), b = 0; b < 3 && null == a._a[b]; ++b)a._a[b] = f[b] = d[b]; for (; b < 7; b++)a._a[b] = f[b] = null == a._a[b] ? 2 === b ? 1 : 0 : a._a[b]; 24 === a._a[he] && 0 === a._a[ie] && 0 === a._a[je] && 0 === a._a[ke] && (a._nextDay = !0, a._a[he] = 0), a._d = (a._useUTC ? ta : sa).apply(null, f), null != a._tzm && a._d.setUTCMinutes(a._d.getUTCMinutes() - a._tzm), a._nextDay && (a._a[he] = 24) } } function kb(a) { var b, c, d, e, f, g, h, i; if (b = a._w, null != b.GG || null != b.W || null != b.E) f = 1, g = 4, c = hb(b.GG, a._a[ee], wa(tb(), 1, 4).year), d = hb(b.W, 1), e = hb(b.E, 1), (e < 1 || e > 7) && (i = !0); else { f = a._locale._week.dow, g = a._locale._week.doy; var j = wa(tb(), f, g); c = hb(b.gg, a._a[ee], j.year), d = hb(b.w, j.week), null != b.d ? (e = b.d, (e < 0 || e > 6) && (i = !0)) : null != b.e ? (e = b.e + f, (b.e < 0 || b.e > 6) && (i = !0)) : e = f } d < 1 || d > xa(c, f, g) ? n(a)._overflowWeeks = !0 : null != i ? n(a)._overflowWeekday = !0 : (h = va(c, d, e, f, g), a._a[ee] = h.year, a._dayOfYear = h.dayOfYear) } function lb(b) { if (b._f === a.ISO_8601) return void eb(b); if (b._f === a.RFC_2822) return void fb(b); b._a = [], n(b).empty = !0; var c, d, e, f, g, h = "" + b._i, i = h.length, j = 0; for (e = Y(b._f, b._locale).match(Jd) || [], c = 0; c < e.length; c++)f = e[c], d = (h.match($(f, b)) || [])[0], d && (g = h.substr(0, h.indexOf(d)), g.length > 0 && n(b).unusedInput.push(g), h = h.slice(h.indexOf(d) + d.length), j += d.length), Md[f] ? (d ? n(b).empty = !1 : n(b).unusedTokens.push(f), da(f, d, b)) : b._strict && !d && n(b).unusedTokens.push(f); n(b).charsLeftOver = i - j, h.length > 0 && n(b).unusedInput.push(h), b._a[he] <= 12 && n(b).bigHour === !0 && b._a[he] > 0 && (n(b).bigHour = void 0), n(b).parsedDateParts = b._a.slice(0), n(b).meridiem = b._meridiem, b._a[he] = mb(b._locale, b._a[he], b._meridiem), jb(b), db(b) } function mb(a, b, c) { var d; return null == c ? b : null != a.meridiemHour ? a.meridiemHour(b, c) : null != a.isPM ? (d = a.isPM(c), d && b < 12 && (b += 12), d || 12 !== b || (b = 0), b) : b } function nb(a) { var b, c, d, e, f; if (0 === a._f.length) return n(a).invalidFormat = !0, void (a._d = new Date(NaN)); for (e = 0; e < a._f.length; e++)f = 0, b = q({}, a), null != a._useUTC && (b._useUTC = a._useUTC), b._f = a._f[e], lb(b), o(b) && (f += n(b).charsLeftOver, f += 10 * n(b).unusedTokens.length, n(b).score = f, (null == d || f < d) && (d = f, c = b)); k(a, c || b) } function ob(a) { if (!a._d) { var b = L(a._i); a._a = i([b.year, b.month, b.day || b.date, b.hour, b.minute, b.second, b.millisecond], function (a) { return a && parseInt(a, 10) }), jb(a) } } function pb(a) { var b = new r(db(qb(a))); return b._nextDay && (b.add(1, "d"), b._nextDay = void 0), b } function qb(a) { var b = a._i, d = a._f; return a._locale = a._locale || bb(a._l), null === b || void 0 === d && "" === b ? p({ nullInput: !0 }) : ("string" == typeof b && (a._i = b = a._locale.preparse(b)), s(b) ? new r(db(b)) : (h(b) ? a._d = b : c(d) ? nb(a) : d ? lb(a) : rb(a), o(a) || (a._d = null), a)) } function rb(b) { var e = b._i; f(e) ? b._d = new Date(a.now()) : h(e) ? b._d = new Date(e.valueOf()) : "string" == typeof e ? gb(b) : c(e) ? (b._a = i(e.slice(0), function (a) { return parseInt(a, 10) }), jb(b)) : d(e) ? ob(b) : g(e) ? b._d = new Date(e) : a.createFromInputFallback(b) } function sb(a, b, f, g, h) { var i = {}; return f !== !0 && f !== !1 || (g = f, f = void 0), (d(a) && e(a) || c(a) && 0 === a.length) && (a = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = h, i._l = f, i._i = a, i._f = b, i._strict = g, pb(i) } function tb(a, b, c, d) { return sb(a, b, c, d, !1) } function ub(a, b) { var d, e; if (1 === b.length && c(b[0]) && (b = b[0]), !b.length) return tb(); for (d = b[0], e = 1; e < b.length; ++e)b[e].isValid() && !b[e][a](d) || (d = b[e]); return d } function vb() { var a = [].slice.call(arguments, 0); return ub("isBefore", a) } function wb() { var a = [].slice.call(arguments, 0); return ub("isAfter", a) } function xb(a) { for (var b in a) if (Re.indexOf(b) === -1 || null != a[b] && isNaN(a[b])) return !1; for (var c = !1, d = 0; d < Re.length; ++d)if (a[Re[d]]) { if (c) return !1; parseFloat(a[Re[d]]) !== u(a[Re[d]]) && (c = !0) } return !0 } function yb() { return this._isValid } function zb() { return Sb(NaN) } function Ab(a) { var b = L(a), c = b.year || 0, d = b.quarter || 0, e = b.month || 0, f = b.week || 0, g = b.day || 0, h = b.hour || 0, i = b.minute || 0, j = b.second || 0, k = b.millisecond || 0; this._isValid = xb(b), this._milliseconds = +k + 1e3 * j + 6e4 * i + 1e3 * h * 60 * 60, this._days = +g + 7 * f, this._months = +e + 3 * d + 12 * c, this._data = {}, this._locale = bb(), this._bubble() } function Bb(a) { return a instanceof Ab } function Cb(a) { return a < 0 ? Math.round(-1 * a) * -1 : Math.round(a) } function Db(a, b) { U(a, 0, 0, function () { var a = this.utcOffset(), c = "+"; return a < 0 && (a = -a, c = "-"), c + T(~~(a / 60), 2) + b + T(~~a % 60, 2) }) } function Eb(a, b) { var c = (b || "").match(a); if (null === c) return null; var d = c[c.length - 1] || [], e = (d + "").match(Se) || ["-", 0, 0], f = +(60 * e[1]) + u(e[2]); return 0 === f ? 0 : "+" === e[0] ? f : -f } function Fb(b, c) { var d, e; return c._isUTC ? (d = c.clone(), e = (s(b) || h(b) ? b.valueOf() : tb(b).valueOf()) - d.valueOf(), d._d.setTime(d._d.valueOf() + e), a.updateOffset(d, !1), d) : tb(b).local() } function Gb(a) { return 15 * -Math.round(a._d.getTimezoneOffset() / 15) } function Hb(b, c, d) { var e, f = this._offset || 0; if (!this.isValid()) return null != b ? this : NaN; if (null != b) { if ("string" == typeof b) { if (b = Eb(_d, b), null === b) return this } else Math.abs(b) < 16 && !d && (b = 60 * b); return !this._isUTC && c && (e = Gb(this)), this._offset = b, this._isUTC = !0, null != e && this.add(e, "m"), f !== b && (!c || this._changeInProgress ? Xb(this, Sb(b - f, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, a.updateOffset(this, !0), this._changeInProgress = null)), this } return this._isUTC ? f : Gb(this) } function Ib(a, b) { return null != a ? ("string" != typeof a && (a = -a), this.utcOffset(a, b), this) : -this.utcOffset() } function Jb(a) { return this.utcOffset(0, a) } function Kb(a) { return this._isUTC && (this.utcOffset(0, a), this._isUTC = !1, a && this.subtract(Gb(this), "m")), this } function Lb() { if (null != this._tzm) this.utcOffset(this._tzm, !1, !0); else if ("string" == typeof this._i) { var a = Eb($d, this._i); null != a ? this.utcOffset(a) : this.utcOffset(0, !0) } return this } function Mb(a) { return !!this.isValid() && (a = a ? tb(a).utcOffset() : 0, (this.utcOffset() - a) % 60 === 0) } function Nb() { return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() } function Ob() { if (!f(this._isDSTShifted)) return this._isDSTShifted; var a = {}; if (q(a, this), a = qb(a), a._a) { var b = a._isUTC ? l(a._a) : tb(a._a); this._isDSTShifted = this.isValid() && v(a._a, b.toArray()) > 0 } else this._isDSTShifted = !1; return this._isDSTShifted } function Pb() { return !!this.isValid() && !this._isUTC } function Qb() { return !!this.isValid() && this._isUTC } function Rb() { return !!this.isValid() && (this._isUTC && 0 === this._offset) } function Sb(a, b) { var c, d, e, f = a, h = null; return Bb(a) ? f = { ms: a._milliseconds, d: a._days, M: a._months } : g(a) ? (f = {}, b ? f[b] = a : f.milliseconds = a) : (h = Te.exec(a)) ? (c = "-" === h[1] ? -1 : 1, f = { y: 0, d: u(h[ge]) * c, h: u(h[he]) * c, m: u(h[ie]) * c, s: u(h[je]) * c, ms: u(Cb(1e3 * h[ke])) * c }) : (h = Ue.exec(a)) ? (c = "-" === h[1] ? -1 : 1, f = { y: Tb(h[2], c), M: Tb(h[3], c), w: Tb(h[4], c), d: Tb(h[5], c), h: Tb(h[6], c), m: Tb(h[7], c), s: Tb(h[8], c) }) : null == f ? f = {} : "object" == typeof f && ("from" in f || "to" in f) && (e = Vb(tb(f.from), tb(f.to)), f = {}, f.ms = e.milliseconds, f.M = e.months), d = new Ab(f), Bb(a) && j(a, "_locale") && (d._locale = a._locale), d } function Tb(a, b) { var c = a && parseFloat(a.replace(",", ".")); return (isNaN(c) ? 0 : c) * b } function Ub(a, b) { var c = { milliseconds: 0, months: 0 }; return c.months = b.month() - a.month() + 12 * (b.year() - a.year()), a.clone().add(c.months, "M").isAfter(b) && --c.months, c.milliseconds = +b - +a.clone().add(c.months, "M"), c } function Vb(a, b) { var c; return a.isValid() && b.isValid() ? (b = Fb(b, a), a.isBefore(b) ? c = Ub(a, b) : (c = Ub(b, a), c.milliseconds = -c.milliseconds, c.months = -c.months), c) : { milliseconds: 0, months: 0 } } function Wb(a, b) { return function (c, d) { var e, f; return null === d || isNaN(+d) || (y(b, "moment()." + b + "(period, number) is deprecated. Please use moment()." + b + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), f = c, c = d, d = f), c = "string" == typeof c ? +c : c, e = Sb(c, d), Xb(this, e, a), this } } function Xb(b, c, d, e) { var f = c._milliseconds, g = Cb(c._days), h = Cb(c._months); b.isValid() && (e = null == e || e, f && b._d.setTime(b._d.valueOf() + f * d), g && Q(b, "Date", P(b, "Date") + g * d), h && ja(b, P(b, "Month") + h * d), e && a.updateOffset(b, g || h)) } function Yb(a, b) { var c = a.diff(b, "days", !0); return c < -6 ? "sameElse" : c < -1 ? "lastWeek" : c < 0 ? "lastDay" : c < 1 ? "sameDay" : c < 2 ? "nextDay" : c < 7 ? "nextWeek" : "sameElse" } function Zb(b, c) { var d = b || tb(), e = Fb(d, this).startOf("day"), f = a.calendarFormat(this, e) || "sameElse", g = c && (z(c[f]) ? c[f].call(this, d) : c[f]); return this.format(g || this.localeData().calendar(f, this, tb(d))) } function $b() { return new r(this) } function _b(a, b) { var c = s(a) ? a : tb(a); return !(!this.isValid() || !c.isValid()) && (b = K(f(b) ? "millisecond" : b), "millisecond" === b ? this.valueOf() > c.valueOf() : c.valueOf() < this.clone().startOf(b).valueOf()) } function ac(a, b) { var c = s(a) ? a : tb(a); return !(!this.isValid() || !c.isValid()) && (b = K(f(b) ? "millisecond" : b), "millisecond" === b ? this.valueOf() < c.valueOf() : this.clone().endOf(b).valueOf() < c.valueOf()) } function bc(a, b, c, d) { return d = d || "()", ("(" === d[0] ? this.isAfter(a, c) : !this.isBefore(a, c)) && (")" === d[1] ? this.isBefore(b, c) : !this.isAfter(b, c)) } function cc(a, b) { var c, d = s(a) ? a : tb(a); return !(!this.isValid() || !d.isValid()) && (b = K(b || "millisecond"), "millisecond" === b ? this.valueOf() === d.valueOf() : (c = d.valueOf(), this.clone().startOf(b).valueOf() <= c && c <= this.clone().endOf(b).valueOf())) } function dc(a, b) { return this.isSame(a, b) || this.isAfter(a, b) } function ec(a, b) { return this.isSame(a, b) || this.isBefore(a, b) } function fc(a, b, c) { var d, e, f, g; return this.isValid() ? (d = Fb(a, this), d.isValid() ? (e = 6e4 * (d.utcOffset() - this.utcOffset()), b = K(b), "year" === b || "month" === b || "quarter" === b ? (g = gc(this, d), "quarter" === b ? g /= 3 : "year" === b && (g /= 12)) : (f = this - d, g = "second" === b ? f / 1e3 : "minute" === b ? f / 6e4 : "hour" === b ? f / 36e5 : "day" === b ? (f - e) / 864e5 : "week" === b ? (f - e) / 6048e5 : f), c ? g : t(g)) : NaN) : NaN } function gc(a, b) { var c, d, e = 12 * (b.year() - a.year()) + (b.month() - a.month()), f = a.clone().add(e, "months"); return b - f < 0 ? (c = a.clone().add(e - 1, "months"), d = (b - f) / (f - c)) : (c = a.clone().add(e + 1, "months"), d = (b - f) / (c - f)), -(e + d) || 0 } function hc() { return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ") } function ic() { if (!this.isValid()) return null; var a = this.clone().utc(); return a.year() < 0 || a.year() > 9999 ? X(a, "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]") : z(Date.prototype.toISOString) ? this.toDate().toISOString() : X(a, "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]") } function jc() { if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)"; var a = "moment", b = ""; this.isLocal() || (a = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", b = "Z"); var c = "[" + a + '("]', d = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", e = "-MM-DD[T]HH:mm:ss.SSS", f = b + '[")]'; return this.format(c + d + e + f) } function kc(b) { b || (b = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat); var c = X(this, b); return this.localeData().postformat(c) } function lc(a, b) { return this.isValid() && (s(a) && a.isValid() || tb(a).isValid()) ? Sb({ to: this, from: a }).locale(this.locale()).humanize(!b) : this.localeData().invalidDate() } function mc(a) { return this.from(tb(), a) } function nc(a, b) { return this.isValid() && (s(a) && a.isValid() || tb(a).isValid()) ? Sb({ from: this, to: a }).locale(this.locale()).humanize(!b) : this.localeData().invalidDate() } function oc(a) { return this.to(tb(), a) } function pc(a) { var b; return void 0 === a ? this._locale._abbr : (b = bb(a), null != b && (this._locale = b), this) } function qc() { return this._locale } function rc(a) { switch (a = K(a)) { case "year": this.month(0); case "quarter": case "month": this.date(1); case "week": case "isoWeek": case "day": case "date": this.hours(0); case "hour": this.minutes(0); case "minute": this.seconds(0); case "second": this.milliseconds(0) }return "week" === a && this.weekday(0), "isoWeek" === a && this.isoWeekday(1), "quarter" === a && this.month(3 * Math.floor(this.month() / 3)), this } function sc(a) { return a = K(a), void 0 === a || "millisecond" === a ? this : ("date" === a && (a = "day"), this.startOf(a).add(1, "isoWeek" === a ? "week" : a).subtract(1, "ms")) } function tc() { return this._d.valueOf() - 6e4 * (this._offset || 0) } function uc() { return Math.floor(this.valueOf() / 1e3) } function vc() { return new Date(this.valueOf()) } function wc() { var a = this; return [a.year(), a.month(), a.date(), a.hour(), a.minute(), a.second(), a.millisecond()] } function xc() { var a = this; return { years: a.year(), months: a.month(), date: a.date(), hours: a.hours(), minutes: a.minutes(), seconds: a.seconds(), milliseconds: a.milliseconds() } } function yc() { return this.isValid() ? this.toISOString() : null } function zc() { return o(this) } function Ac() {
|
| 8 |
+
return k({}, n(this))
|
| 9 |
+
} function Bc() { return n(this).overflow } function Cc() { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict } } function Dc(a, b) { U(0, [a, a.length], 0, b) } function Ec(a) { return Ic.call(this, a, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) } function Fc(a) { return Ic.call(this, a, this.isoWeek(), this.isoWeekday(), 1, 4) } function Gc() { return xa(this.year(), 1, 4) } function Hc() { var a = this.localeData()._week; return xa(this.year(), a.dow, a.doy) } function Ic(a, b, c, d, e) { var f; return null == a ? wa(this, d, e).year : (f = xa(a, d, e), b > f && (b = f), Jc.call(this, a, b, c, d, e)) } function Jc(a, b, c, d, e) { var f = va(a, b, c, d, e), g = ta(f.year, 0, f.dayOfYear); return this.year(g.getUTCFullYear()), this.month(g.getUTCMonth()), this.date(g.getUTCDate()), this } function Kc(a) { return null == a ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (a - 1) + this.month() % 3) } function Lc(a) { var b = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1; return null == a ? b : this.add(a - b, "d") } function Mc(a, b) { b[ke] = u(1e3 * ("0." + a)) } function Nc() { return this._isUTC ? "UTC" : "" } function Oc() { return this._isUTC ? "Coordinated Universal Time" : "" } function Pc(a) { return tb(1e3 * a) } function Qc() { return tb.apply(null, arguments).parseZone() } function Rc(a) { return a } function Sc(a, b, c, d) { var e = bb(), f = l().set(d, b); return e[c](f, a) } function Tc(a, b, c) { if (g(a) && (b = a, a = void 0), a = a || "", null != b) return Sc(a, b, c, "month"); var d, e = []; for (d = 0; d < 12; d++)e[d] = Sc(a, d, c, "month"); return e } function Uc(a, b, c, d) { "boolean" == typeof a ? (g(b) && (c = b, b = void 0), b = b || "") : (b = a, c = b, a = !1, g(b) && (c = b, b = void 0), b = b || ""); var e = bb(), f = a ? e._week.dow : 0; if (null != c) return Sc(b, (c + f) % 7, d, "day"); var h, i = []; for (h = 0; h < 7; h++)i[h] = Sc(b, (h + f) % 7, d, "day"); return i } function Vc(a, b) { return Tc(a, b, "months") } function Wc(a, b) { return Tc(a, b, "monthsShort") } function Xc(a, b, c) { return Uc(a, b, c, "weekdays") } function Yc(a, b, c) { return Uc(a, b, c, "weekdaysShort") } function Zc(a, b, c) { return Uc(a, b, c, "weekdaysMin") } function $c() { var a = this._data; return this._milliseconds = df(this._milliseconds), this._days = df(this._days), this._months = df(this._months), a.milliseconds = df(a.milliseconds), a.seconds = df(a.seconds), a.minutes = df(a.minutes), a.hours = df(a.hours), a.months = df(a.months), a.years = df(a.years), this } function _c(a, b, c, d) { var e = Sb(b, c); return a._milliseconds += d * e._milliseconds, a._days += d * e._days, a._months += d * e._months, a._bubble() } function ad(a, b) { return _c(this, a, b, 1) } function bd(a, b) { return _c(this, a, b, -1) } function cd(a) { return a < 0 ? Math.floor(a) : Math.ceil(a) } function dd() { var a, b, c, d, e, f = this._milliseconds, g = this._days, h = this._months, i = this._data; return f >= 0 && g >= 0 && h >= 0 || f <= 0 && g <= 0 && h <= 0 || (f += 864e5 * cd(fd(h) + g), g = 0, h = 0), i.milliseconds = f % 1e3, a = t(f / 1e3), i.seconds = a % 60, b = t(a / 60), i.minutes = b % 60, c = t(b / 60), i.hours = c % 24, g += t(c / 24), e = t(ed(g)), h += e, g -= cd(fd(e)), d = t(h / 12), h %= 12, i.days = g, i.months = h, i.years = d, this } function ed(a) { return 4800 * a / 146097 } function fd(a) { return 146097 * a / 4800 } function gd(a) { if (!this.isValid()) return NaN; var b, c, d = this._milliseconds; if (a = K(a), "month" === a || "year" === a) return b = this._days + d / 864e5, c = this._months + ed(b), "month" === a ? c : c / 12; switch (b = this._days + Math.round(fd(this._months)), a) { case "week": return b / 7 + d / 6048e5; case "day": return b + d / 864e5; case "hour": return 24 * b + d / 36e5; case "minute": return 1440 * b + d / 6e4; case "second": return 86400 * b + d / 1e3; case "millisecond": return Math.floor(864e5 * b) + d; default: throw new Error("Unknown unit " + a) } } function hd() { return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * u(this._months / 12) : NaN } function id(a) { return function () { return this.as(a) } } function jd(a) { return a = K(a), this.isValid() ? this[a + "s"]() : NaN } function kd(a) { return function () { return this.isValid() ? this._data[a] : NaN } } function ld() { return t(this.days() / 7) } function md(a, b, c, d, e) { return e.relativeTime(b || 1, !!c, a, d) } function nd(a, b, c) { var d = Sb(a).abs(), e = uf(d.as("s")), f = uf(d.as("m")), g = uf(d.as("h")), h = uf(d.as("d")), i = uf(d.as("M")), j = uf(d.as("y")), k = e <= vf.ss && ["s", e] || e < vf.s && ["ss", e] || f <= 1 && ["m"] || f < vf.m && ["mm", f] || g <= 1 && ["h"] || g < vf.h && ["hh", g] || h <= 1 && ["d"] || h < vf.d && ["dd", h] || i <= 1 && ["M"] || i < vf.M && ["MM", i] || j <= 1 && ["y"] || ["yy", j]; return k[2] = b, k[3] = +a > 0, k[4] = c, md.apply(null, k) } function od(a) { return void 0 === a ? uf : "function" == typeof a && (uf = a, !0) } function pd(a, b) { return void 0 !== vf[a] && (void 0 === b ? vf[a] : (vf[a] = b, "s" === a && (vf.ss = b - 1), !0)) } function qd(a) { if (!this.isValid()) return this.localeData().invalidDate(); var b = this.localeData(), c = nd(this, !a, b); return a && (c = b.pastFuture(+this, c)), b.postformat(c) } function rd() { if (!this.isValid()) return this.localeData().invalidDate(); var a, b, c, d = wf(this._milliseconds) / 1e3, e = wf(this._days), f = wf(this._months); a = t(d / 60), b = t(a / 60), d %= 60, a %= 60, c = t(f / 12), f %= 12; var g = c, h = f, i = e, j = b, k = a, l = d, m = this.asSeconds(); return m ? (m < 0 ? "-" : "") + "P" + (g ? g + "Y" : "") + (h ? h + "M" : "") + (i ? i + "D" : "") + (j || k || l ? "T" : "") + (j ? j + "H" : "") + (k ? k + "M" : "") + (l ? l + "S" : "") : "P0D" } var sd, td; td = Array.prototype.some ? Array.prototype.some : function (a) { for (var b = Object(this), c = b.length >>> 0, d = 0; d < c; d++)if (d in b && a.call(this, b[d], d, b)) return !0; return !1 }; var ud = td, vd = a.momentProperties = [], wd = !1, xd = {}; a.suppressDeprecationWarnings = !1, a.deprecationHandler = null; var yd; yd = Object.keys ? Object.keys : function (a) { var b, c = []; for (b in a) j(a, b) && c.push(b); return c }; var zd, Ad = yd, Bd = { sameDay: "[Today at] LT", nextDay: "[Tomorrow at] LT", nextWeek: "dddd [at] LT", lastDay: "[Yesterday at] LT", lastWeek: "[Last] dddd [at] LT", sameElse: "L" }, Cd = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, Dd = "Invalid date", Ed = "%d", Fd = /\d{1,2}/, Gd = { future: "in %s", past: "%s ago", s: "a few seconds", ss: "%d seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }, Hd = {}, Id = {}, Jd = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Kd = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Ld = {}, Md = {}, Nd = /\d/, Od = /\d\d/, Pd = /\d{3}/, Qd = /\d{4}/, Rd = /[+-]?\d{6}/, Sd = /\d\d?/, Td = /\d\d\d\d?/, Ud = /\d\d\d\d\d\d?/, Vd = /\d{1,3}/, Wd = /\d{1,4}/, Xd = /[+-]?\d{1,6}/, Yd = /\d+/, Zd = /[+-]?\d+/, $d = /Z|[+-]\d\d:?\d\d/gi, _d = /Z|[+-]\d\d(?::?\d\d)?/gi, ae = /[+-]?\d+(\.\d{1,3})?/, be = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, ce = {}, de = {}, ee = 0, fe = 1, ge = 2, he = 3, ie = 4, je = 5, ke = 6, le = 7, me = 8; zd = Array.prototype.indexOf ? Array.prototype.indexOf : function (a) { var b; for (b = 0; b < this.length; ++b)if (this[b] === a) return b; return -1 }; var ne = zd; U("M", ["MM", 2], "Mo", function () { return this.month() + 1 }), U("MMM", 0, 0, function (a) { return this.localeData().monthsShort(this, a) }), U("MMMM", 0, 0, function (a) { return this.localeData().months(this, a) }), J("month", "M"), M("month", 8), Z("M", Sd), Z("MM", Sd, Od), Z("MMM", function (a, b) { return b.monthsShortRegex(a) }), Z("MMMM", function (a, b) { return b.monthsRegex(a) }), ba(["M", "MM"], function (a, b) { b[fe] = u(a) - 1 }), ba(["MMM", "MMMM"], function (a, b, c, d) { var e = c._locale.monthsParse(a, d, c._strict); null != e ? b[fe] = e : n(c).invalidMonth = a }); var oe = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, pe = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), qe = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), re = be, se = be; U("Y", 0, 0, function () { var a = this.year(); return a <= 9999 ? "" + a : "+" + a }), U(0, ["YY", 2], 0, function () { return this.year() % 100 }), U(0, ["YYYY", 4], 0, "year"), U(0, ["YYYYY", 5], 0, "year"), U(0, ["YYYYYY", 6, !0], 0, "year"), J("year", "y"), M("year", 1), Z("Y", Zd), Z("YY", Sd, Od), Z("YYYY", Wd, Qd), Z("YYYYY", Xd, Rd), Z("YYYYYY", Xd, Rd), ba(["YYYYY", "YYYYYY"], ee), ba("YYYY", function (b, c) { c[ee] = 2 === b.length ? a.parseTwoDigitYear(b) : u(b) }), ba("YY", function (b, c) { c[ee] = a.parseTwoDigitYear(b) }), ba("Y", function (a, b) { b[ee] = parseInt(a, 10) }), a.parseTwoDigitYear = function (a) { return u(a) + (u(a) > 68 ? 1900 : 2e3) }; var te = O("FullYear", !0); U("w", ["ww", 2], "wo", "week"), U("W", ["WW", 2], "Wo", "isoWeek"), J("week", "w"), J("isoWeek", "W"), M("week", 5), M("isoWeek", 5), Z("w", Sd), Z("ww", Sd, Od), Z("W", Sd), Z("WW", Sd, Od), ca(["w", "ww", "W", "WW"], function (a, b, c, d) { b[d.substr(0, 1)] = u(a) }); var ue = { dow: 0, doy: 6 }; U("d", 0, "do", "day"), U("dd", 0, 0, function (a) { return this.localeData().weekdaysMin(this, a) }), U("ddd", 0, 0, function (a) { return this.localeData().weekdaysShort(this, a) }), U("dddd", 0, 0, function (a) { return this.localeData().weekdays(this, a) }), U("e", 0, 0, "weekday"), U("E", 0, 0, "isoWeekday"), J("day", "d"), J("weekday", "e"), J("isoWeekday", "E"), M("day", 11), M("weekday", 11), M("isoWeekday", 11), Z("d", Sd), Z("e", Sd), Z("E", Sd), Z("dd", function (a, b) { return b.weekdaysMinRegex(a) }), Z("ddd", function (a, b) { return b.weekdaysShortRegex(a) }), Z("dddd", function (a, b) { return b.weekdaysRegex(a) }), ca(["dd", "ddd", "dddd"], function (a, b, c, d) { var e = c._locale.weekdaysParse(a, d, c._strict); null != e ? b.d = e : n(c).invalidWeekday = a }), ca(["d", "e", "E"], function (a, b, c, d) { b[d] = u(a) }); var ve = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), we = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), xe = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), ye = be, ze = be, Ae = be; U("H", ["HH", 2], 0, "hour"), U("h", ["hh", 2], 0, Ra), U("k", ["kk", 2], 0, Sa), U("hmm", 0, 0, function () { return "" + Ra.apply(this) + T(this.minutes(), 2) }), U("hmmss", 0, 0, function () { return "" + Ra.apply(this) + T(this.minutes(), 2) + T(this.seconds(), 2) }), U("Hmm", 0, 0, function () { return "" + this.hours() + T(this.minutes(), 2) }), U("Hmmss", 0, 0, function () { return "" + this.hours() + T(this.minutes(), 2) + T(this.seconds(), 2) }), Ta("a", !0), Ta("A", !1), J("hour", "h"), M("hour", 13), Z("a", Ua), Z("A", Ua), Z("H", Sd), Z("h", Sd), Z("k", Sd), Z("HH", Sd, Od), Z("hh", Sd, Od), Z("kk", Sd, Od), Z("hmm", Td), Z("hmmss", Ud), Z("Hmm", Td), Z("Hmmss", Ud), ba(["H", "HH"], he), ba(["k", "kk"], function (a, b, c) { var d = u(a); b[he] = 24 === d ? 0 : d }), ba(["a", "A"], function (a, b, c) { c._isPm = c._locale.isPM(a), c._meridiem = a }), ba(["h", "hh"], function (a, b, c) { b[he] = u(a), n(c).bigHour = !0 }), ba("hmm", function (a, b, c) { var d = a.length - 2; b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d)), n(c).bigHour = !0 }), ba("hmmss", function (a, b, c) { var d = a.length - 4, e = a.length - 2; b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d, 2)), b[je] = u(a.substr(e)), n(c).bigHour = !0 }), ba("Hmm", function (a, b, c) { var d = a.length - 2; b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d)) }), ba("Hmmss", function (a, b, c) { var d = a.length - 4, e = a.length - 2; b[he] = u(a.substr(0, d)), b[ie] = u(a.substr(d, 2)), b[je] = u(a.substr(e)) }); var Be, Ce = /[ap]\.?m?\.?/i, De = O("Hours", !0), Ee = { calendar: Bd, longDateFormat: Cd, invalidDate: Dd, ordinal: Ed, dayOfMonthOrdinalParse: Fd, relativeTime: Gd, months: pe, monthsShort: qe, week: ue, weekdays: ve, weekdaysMin: xe, weekdaysShort: we, meridiemParse: Ce }, Fe = {}, Ge = {}, He = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Ie = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Je = /Z|[+-]\d\d(?::?\d\d)?/, Ke = [["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], ["GGGG-[W]WW", /\d{4}-W\d\d/, !1], ["YYYY-DDD", /\d{4}-\d{3}/], ["YYYY-MM", /\d{4}-\d\d/, !1], ["YYYYYYMMDD", /[+-]\d{10}/], ["YYYYMMDD", /\d{8}/], ["GGGG[W]WWE", /\d{4}W\d{3}/], ["GGGG[W]WW", /\d{4}W\d{2}/, !1], ["YYYYDDD", /\d{7}/]], Le = [["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], ["HH:mm:ss", /\d\d:\d\d:\d\d/], ["HH:mm", /\d\d:\d\d/], ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], ["HHmmss", /\d\d\d\d\d\d/], ["HHmm", /\d\d\d\d/], ["HH", /\d\d/]], Me = /^\/?Date\((\-?\d+)/i, Ne = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; a.createFromInputFallback = x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function (a) { a._d = new Date(a._i + (a._useUTC ? " UTC" : "")) }), a.ISO_8601 = function () { }, a.RFC_2822 = function () { }; var Oe = x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function () { var a = tb.apply(null, arguments); return this.isValid() && a.isValid() ? a < this ? this : a : p() }), Pe = x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function () { var a = tb.apply(null, arguments); return this.isValid() && a.isValid() ? a > this ? this : a : p() }), Qe = function () { return Date.now ? Date.now() : +new Date }, Re = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; Db("Z", ":"), Db("ZZ", ""), Z("Z", _d), Z("ZZ", _d), ba(["Z", "ZZ"], function (a, b, c) { c._useUTC = !0, c._tzm = Eb(_d, a) }); var Se = /([\+\-]|\d\d)/gi; a.updateOffset = function () { }; var Te = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/, Ue = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; Sb.fn = Ab.prototype, Sb.invalid = zb; var Ve = Wb(1, "add"), We = Wb(-1, "subtract"); a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; var Xe = x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function (a) { return void 0 === a ? this.localeData() : this.locale(a) }); U(0, ["gg", 2], 0, function () { return this.weekYear() % 100 }), U(0, ["GG", 2], 0, function () { return this.isoWeekYear() % 100 }), Dc("gggg", "weekYear"), Dc("ggggg", "weekYear"), Dc("GGGG", "isoWeekYear"), Dc("GGGGG", "isoWeekYear"), J("weekYear", "gg"), J("isoWeekYear", "GG"), M("weekYear", 1), M("isoWeekYear", 1), Z("G", Zd), Z("g", Zd), Z("GG", Sd, Od), Z("gg", Sd, Od), Z("GGGG", Wd, Qd), Z("gggg", Wd, Qd), Z("GGGGG", Xd, Rd), Z("ggggg", Xd, Rd), ca(["gggg", "ggggg", "GGGG", "GGGGG"], function (a, b, c, d) { b[d.substr(0, 2)] = u(a) }), ca(["gg", "GG"], function (b, c, d, e) { c[e] = a.parseTwoDigitYear(b) }), U("Q", 0, "Qo", "quarter"), J("quarter", "Q"), M("quarter", 7), Z("Q", Nd), ba("Q", function (a, b) { b[fe] = 3 * (u(a) - 1) }), U("D", ["DD", 2], "Do", "date"), J("date", "D"), M("date", 9), Z("D", Sd), Z("DD", Sd, Od), Z("Do", function (a, b) { return a ? b._dayOfMonthOrdinalParse || b._ordinalParse : b._dayOfMonthOrdinalParseLenient }), ba(["D", "DD"], ge), ba("Do", function (a, b) { b[ge] = u(a.match(Sd)[0], 10) }); var Ye = O("Date", !0); U("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), J("dayOfYear", "DDD"), M("dayOfYear", 4), Z("DDD", Vd), Z("DDDD", Pd), ba(["DDD", "DDDD"], function (a, b, c) { c._dayOfYear = u(a) }), U("m", ["mm", 2], 0, "minute"), J("minute", "m"), M("minute", 14), Z("m", Sd), Z("mm", Sd, Od), ba(["m", "mm"], ie); var Ze = O("Minutes", !1); U("s", ["ss", 2], 0, "second"), J("second", "s"), M("second", 15), Z("s", Sd), Z("ss", Sd, Od), ba(["s", "ss"], je); var $e = O("Seconds", !1); U("S", 0, 0, function () { return ~~(this.millisecond() / 100) }), U(0, ["SS", 2], 0, function () { return ~~(this.millisecond() / 10) }), U(0, ["SSS", 3], 0, "millisecond"), U(0, ["SSSS", 4], 0, function () { return 10 * this.millisecond() }), U(0, ["SSSSS", 5], 0, function () { return 100 * this.millisecond() }), U(0, ["SSSSSS", 6], 0, function () { return 1e3 * this.millisecond() }), U(0, ["SSSSSSS", 7], 0, function () { return 1e4 * this.millisecond() }), U(0, ["SSSSSSSS", 8], 0, function () { return 1e5 * this.millisecond() }), U(0, ["SSSSSSSSS", 9], 0, function () { return 1e6 * this.millisecond() }), J("millisecond", "ms"), M("millisecond", 16), Z("S", Vd, Nd), Z("SS", Vd, Od), Z("SSS", Vd, Pd); var _e; for (_e = "SSSS"; _e.length <= 9; _e += "S")Z(_e, Yd); for (_e = "S"; _e.length <= 9; _e += "S")ba(_e, Mc); var af = O("Milliseconds", !1); U("z", 0, 0, "zoneAbbr"), U("zz", 0, 0, "zoneName"); var bf = r.prototype; bf.add = Ve, bf.calendar = Zb, bf.clone = $b, bf.diff = fc, bf.endOf = sc, bf.format = kc, bf.from = lc, bf.fromNow = mc, bf.to = nc, bf.toNow = oc, bf.get = R, bf.invalidAt = Bc, bf.isAfter = _b, bf.isBefore = ac, bf.isBetween = bc, bf.isSame = cc, bf.isSameOrAfter = dc, bf.isSameOrBefore = ec, bf.isValid = zc, bf.lang = Xe, bf.locale = pc, bf.localeData = qc, bf.max = Pe, bf.min = Oe, bf.parsingFlags = Ac, bf.set = S, bf.startOf = rc, bf.subtract = We, bf.toArray = wc, bf.toObject = xc, bf.toDate = vc, bf.toISOString = ic, bf.inspect = jc, bf.toJSON = yc, bf.toString = hc, bf.unix = uc, bf.valueOf = tc, bf.creationData = Cc, bf.year = te, bf.isLeapYear = ra, bf.weekYear = Ec, bf.isoWeekYear = Fc, bf.quarter = bf.quarters = Kc, bf.month = ka, bf.daysInMonth = la, bf.week = bf.weeks = Ba, bf.isoWeek = bf.isoWeeks = Ca, bf.weeksInYear = Hc, bf.isoWeeksInYear = Gc, bf.date = Ye, bf.day = bf.days = Ka, bf.weekday = La, bf.isoWeekday = Ma, bf.dayOfYear = Lc, bf.hour = bf.hours = De, bf.minute = bf.minutes = Ze, bf.second = bf.seconds = $e, bf.millisecond = bf.milliseconds = af, bf.utcOffset = Hb, bf.utc = Jb, bf.local = Kb, bf.parseZone = Lb, bf.hasAlignedHourOffset = Mb, bf.isDST = Nb, bf.isLocal = Pb, bf.isUtcOffset = Qb, bf.isUtc = Rb, bf.isUTC = Rb, bf.zoneAbbr = Nc, bf.zoneName = Oc, bf.dates = x("dates accessor is deprecated. Use date instead.", Ye), bf.months = x("months accessor is deprecated. Use month instead", ka), bf.years = x("years accessor is deprecated. Use year instead", te), bf.zone = x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", Ib), bf.isDSTShifted = x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", Ob); var cf = C.prototype; cf.calendar = D, cf.longDateFormat = E, cf.invalidDate = F, cf.ordinal = G, cf.preparse = Rc, cf.postformat = Rc, cf.relativeTime = H, cf.pastFuture = I, cf.set = A, cf.months = fa, cf.monthsShort = ga, cf.monthsParse = ia, cf.monthsRegex = na, cf.monthsShortRegex = ma, cf.week = ya, cf.firstDayOfYear = Aa, cf.firstDayOfWeek = za, cf.weekdays = Fa, cf.weekdaysMin = Ha, cf.weekdaysShort = Ga, cf.weekdaysParse = Ja, cf.weekdaysRegex = Na, cf.weekdaysShortRegex = Oa, cf.weekdaysMinRegex = Pa, cf.isPM = Va, cf.meridiem = Wa, $a("en", { dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function (a) { var b = a % 10, c = 1 === u(a % 100 / 10) ? "th" : 1 === b ? "st" : 2 === b ? "nd" : 3 === b ? "rd" : "th"; return a + c } }), a.lang = x("moment.lang is deprecated. Use moment.locale instead.", $a), a.langData = x("moment.langData is deprecated. Use moment.localeData instead.", bb); var df = Math.abs, ef = id("ms"), ff = id("s"), gf = id("m"), hf = id("h"), jf = id("d"), kf = id("w"), lf = id("M"), mf = id("y"), nf = kd("milliseconds"), of = kd("seconds"), pf = kd("minutes"), qf = kd("hours"), rf = kd("days"), sf = kd("months"), tf = kd("years"), uf = Math.round, vf = { ss: 44, s: 45, m: 45, h: 22, d: 26, M: 11 }, wf = Math.abs, xf = Ab.prototype; return xf.isValid = yb, xf.abs = $c, xf.add = ad, xf.subtract = bd, xf.as = gd, xf.asMilliseconds = ef, xf.asSeconds = ff, xf.asMinutes = gf, xf.asHours = hf, xf.asDays = jf, xf.asWeeks = kf, xf.asMonths = lf, xf.asYears = mf, xf.valueOf = hd, xf._bubble = dd, xf.get = jd, xf.milliseconds = nf, xf.seconds = of, xf.minutes = pf, xf.hours = qf, xf.days = rf, xf.weeks = ld, xf.months = sf, xf.years = tf, xf.humanize = qd, xf.toISOString = rd, xf.toString = rd, xf.toJSON = rd, xf.locale = pc, xf.localeData = qc, xf.toIsoString = x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", rd), xf.lang = Xe, U("X", 0, 0, "unix"), U("x", 0, 0, "valueOf"), Z("x", Zd), Z("X", ae), ba("X", function (a, b, c) { c._d = new Date(1e3 * parseFloat(a, 10)) }), ba("x", function (a, b, c) { c._d = new Date(u(a)) }), a.version = "2.18.1", b(tb), a.fn = bf, a.min = vb, a.max = wb, a.now = Qe, a.utc = l, a.unix = Pc, a.months = Vc, a.isDate = h, a.locale = $a, a.invalid = p, a.duration = Sb, a.isMoment = s, a.weekdays = Xc, a.parseZone = Qc, a.localeData = bb, a.isDuration = Bb, a.monthsShort = Wc, a.weekdaysMin = Zc, a.defineLocale = _a, a.updateLocale = ab, a.locales = cb, a.weekdaysShort = Yc, a.normalizeUnits = K, a.relativeTimeRounding = od, a.relativeTimeThreshold = pd, a.calendarFormat = Yb, a.prototype = bf, a
|
| 10 |
+
});
|
assets/admin/js/search.js
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
var len = 0;
|
| 2 |
+
var clickLink = 0;
|
| 3 |
+
var search = null;
|
| 4 |
+
var process = false;
|
| 5 |
+
|
| 6 |
+
$('#searchInput').on('keydown', function (e) {
|
| 7 |
+
var length = $('.search-list li').length;
|
| 8 |
+
if (search != $(this).val() && process) {
|
| 9 |
+
len = 0;
|
| 10 |
+
clickLink = 0;
|
| 11 |
+
$(`.search-list li:eq(${len}) a`).focus();
|
| 12 |
+
$(`#searchInput`).focus();
|
| 13 |
+
}
|
| 14 |
+
//Down
|
| 15 |
+
if (e.keyCode == 40 && length) {
|
| 16 |
+
process = true;
|
| 17 |
+
var contra = false;
|
| 18 |
+
if (len < clickLink && clickLink < length) {
|
| 19 |
+
len += 2;
|
| 20 |
+
}
|
| 21 |
+
$(`.search-list li[class="active"]`).removeClass('active');
|
| 22 |
+
$(`.search-list li a[class="text-active"]`).removeClass('text-active');
|
| 23 |
+
$(`.search-list li:eq(${len}) a`).focus().addClass('text-active');
|
| 24 |
+
$(`.search-list li:eq(${len})`).addClass('active');
|
| 25 |
+
$(`#searchInput`).focus();
|
| 26 |
+
clickLink = len;
|
| 27 |
+
if (!$(`.search-list li:eq(${clickLink}) a`).length) {
|
| 28 |
+
$(`.search-list li:eq(${len})`).addClass('text-active');
|
| 29 |
+
}
|
| 30 |
+
len += 1;
|
| 31 |
+
if (length == Math.abs(clickLink)) {
|
| 32 |
+
len = 0;
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
//Up
|
| 36 |
+
else if (e.keyCode == 38 && length) {
|
| 37 |
+
process = true;
|
| 38 |
+
if (len > clickLink && len != 0) {
|
| 39 |
+
len -= 2;
|
| 40 |
+
}
|
| 41 |
+
$(`.search-list li[class="active"]`).removeClass('active');
|
| 42 |
+
$(`.search-list li a[class="text-active"]`).removeClass('text-active');
|
| 43 |
+
$(`.search-list li:eq(${len}) a`).focus().addClass('text-active');
|
| 44 |
+
$(`.search-list li:eq(${len})`).addClass('active');
|
| 45 |
+
e.preventDefault();
|
| 46 |
+
$(`#searchInput`).focus();
|
| 47 |
+
clickLink = len;
|
| 48 |
+
if (!$(`.search-list li:eq(${clickLink}) a`).length) {
|
| 49 |
+
$(`.search-list li:eq(${len})`).addClass('text-active');
|
| 50 |
+
}
|
| 51 |
+
len -= 1;
|
| 52 |
+
if (length == Math.abs(clickLink)) {
|
| 53 |
+
len = 0;
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
//Enter
|
| 57 |
+
else if (e.keyCode == 13) {
|
| 58 |
+
e.preventDefault();
|
| 59 |
+
if ($(`.search-list li:eq(${clickLink}) a`).length && process) {
|
| 60 |
+
$(`.search-list li:eq(${clickLink}) a`)[0].click();
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
//Retry
|
| 64 |
+
else if (e.keyCode == 8) {
|
| 65 |
+
len = 0;
|
| 66 |
+
clickLink = 0;
|
| 67 |
+
$(`.search-list li:eq(${len}) a`).focus();
|
| 68 |
+
$(`#searchInput`).focus();
|
| 69 |
+
}
|
| 70 |
+
search = $(this).val();
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
function filterSettings(query) {
|
| 74 |
+
let filteredSettings = [];
|
| 75 |
+
for (var key in settingsData) {
|
| 76 |
+
if (settingsData.hasOwnProperty(key)) {
|
| 77 |
+
var setting = settingsData[key];
|
| 78 |
+
|
| 79 |
+
if (setting.submenu) {
|
| 80 |
+
setting.submenu.forEach(subItem => {
|
| 81 |
+
var keywordMatch = subItem['keyword'].some(function (keyword) {
|
| 82 |
+
return keyword.toLowerCase().includes(query.toLowerCase());
|
| 83 |
+
});
|
| 84 |
+
|
| 85 |
+
var titleMatch = subItem['title'].toLowerCase().includes(query.toLowerCase());
|
| 86 |
+
if (keywordMatch || titleMatch) {
|
| 87 |
+
filteredSettings.push(subItem);
|
| 88 |
+
}
|
| 89 |
+
});
|
| 90 |
+
} else {
|
| 91 |
+
var keywordMatch = setting.keyword.some(function (keyword) {
|
| 92 |
+
return keyword.toLowerCase().includes(query.toLowerCase());
|
| 93 |
+
});
|
| 94 |
+
|
| 95 |
+
var titleMatch = setting.title.toLowerCase().includes(query.toLowerCase());
|
| 96 |
+
var subtitleMatch = null;
|
| 97 |
+
|
| 98 |
+
if (setting.subtitle) {
|
| 99 |
+
subtitleMatch = setting.subtitle.toLowerCase().includes(query.toLowerCase());
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
if (keywordMatch || titleMatch || subtitleMatch) {
|
| 103 |
+
filteredSettings.push(setting);
|
| 104 |
+
}
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
return filteredSettings;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
function isEmpty(obj) {
|
| 112 |
+
return Object.keys(obj).length === 0;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
function renderSettings(filteredSettings, query) {
|
| 116 |
+
var search_result_pane = $('.search-list');
|
| 117 |
+
if (isEmpty(filteredSettings)) {
|
| 118 |
+
$(search_result_pane).append(getEmptyMessage());
|
| 119 |
+
} else {
|
| 120 |
+
var index = 0;
|
| 121 |
+
for (const key in filteredSettings) {
|
| 122 |
+
if (Object.hasOwnProperty.call(filteredSettings, key)) {
|
| 123 |
+
const element = filteredSettings[key];
|
| 124 |
+
var setting = element;
|
| 125 |
+
var url = null;
|
| 126 |
+
var title = null;
|
| 127 |
+
var tempRoute = null;
|
| 128 |
+
var parent = null;
|
| 129 |
+
|
| 130 |
+
tempRoute = setting.route_name;
|
| 131 |
+
routeParams = null;
|
| 132 |
+
if (setting.params) {
|
| 133 |
+
routeParams = setting.params;
|
| 134 |
+
}
|
| 135 |
+
title = setting.title;
|
| 136 |
+
|
| 137 |
+
for (let route of routes) {
|
| 138 |
+
if (tempRoute in route) {
|
| 139 |
+
url = route[tempRoute];
|
| 140 |
+
if (routeParams) {
|
| 141 |
+
$.each(routeParams, function (paramKey, paramValue) {
|
| 142 |
+
url = url.replace(new RegExp(`{${paramKey}\\??}`, 'g'), paramValue);
|
| 143 |
+
});
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
url = url.replace(/\/+$/, '');
|
| 147 |
+
|
| 148 |
+
var link = $(`.sidebar__menu a[href='${url}']`);
|
| 149 |
+
var text = $(link).parents('.sidebar-menu-item.sidebar-dropdown').find('.menu-title')
|
| 150 |
+
.first().text();
|
| 151 |
+
|
| 152 |
+
if (!text) {
|
| 153 |
+
text = 'Main Menu';
|
| 154 |
+
if (setting.subtitle) {
|
| 155 |
+
text = 'System Setting';
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
parent = text;
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
+
|
| 162 |
+
$(search_result_pane).append(`
|
| 163 |
+
<li>
|
| 164 |
+
<a class="search-list-link" href="${url}">
|
| 165 |
+
${parent}
|
| 166 |
+
<p class="fw-bold text-color--3 d-block">${title}</p>
|
| 167 |
+
</a>
|
| 168 |
+
</li>
|
| 169 |
+
`);
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
}
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
$('#searchInput').on('input', function () {
|
| 176 |
+
$('.search-list').html('');
|
| 177 |
+
|
| 178 |
+
var query = $(this).val().trim();
|
| 179 |
+
if (!query) {
|
| 180 |
+
return false;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
var filteredData = filterSettings(query);
|
| 184 |
+
renderSettings(filteredData, query);
|
| 185 |
+
});
|
assets/admin/js/spectrum.js
ADDED
|
@@ -0,0 +1,2316 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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6 |
+
(function(factory) {
|
| 7 |
+
"use strict";
|
| 8 |
+
|
| 9 |
+
if (typeof define === 'function' && define.amd) { // AMD
|
| 10 |
+
define(['jquery'], factory);
|
| 11 |
+
} else if (typeof exports == "object" && typeof module == "object") { // CommonJS
|
| 12 |
+
module.exports = factory(require('jquery'));
|
| 13 |
+
} else { // Browser
|
| 14 |
+
factory(jQuery);
|
| 15 |
+
}
|
| 16 |
+
})(function($, undefined) {
|
| 17 |
+
"use strict";
|
| 18 |
+
|
| 19 |
+
var defaultOpts = {
|
| 20 |
+
|
| 21 |
+
// Callbacks
|
| 22 |
+
beforeShow: noop,
|
| 23 |
+
move: noop,
|
| 24 |
+
change: noop,
|
| 25 |
+
show: noop,
|
| 26 |
+
hide: noop,
|
| 27 |
+
|
| 28 |
+
// Options
|
| 29 |
+
color: false,
|
| 30 |
+
flat: false,
|
| 31 |
+
showInput: false,
|
| 32 |
+
allowEmpty: false,
|
| 33 |
+
showButtons: true,
|
| 34 |
+
clickoutFiresChange: true,
|
| 35 |
+
showInitial: false,
|
| 36 |
+
showPalette: false,
|
| 37 |
+
showPaletteOnly: false,
|
| 38 |
+
hideAfterPaletteSelect: false,
|
| 39 |
+
togglePaletteOnly: false,
|
| 40 |
+
showSelectionPalette: true,
|
| 41 |
+
localStorageKey: false,
|
| 42 |
+
appendTo: "body",
|
| 43 |
+
maxSelectionSize: 7,
|
| 44 |
+
cancelText: "cancel",
|
| 45 |
+
chooseText: "choose",
|
| 46 |
+
togglePaletteMoreText: "more",
|
| 47 |
+
togglePaletteLessText: "less",
|
| 48 |
+
clearText: "Clear Color Selection",
|
| 49 |
+
noColorSelectedText: "No Color Selected",
|
| 50 |
+
preferredFormat: false,
|
| 51 |
+
className: "", // Deprecated - use containerClassName and replacerClassName instead.
|
| 52 |
+
containerClassName: "",
|
| 53 |
+
replacerClassName: "",
|
| 54 |
+
showAlpha: false,
|
| 55 |
+
theme: "sp-light",
|
| 56 |
+
palette: [
|
| 57 |
+
["#ffffff", "#000000", "#ff0000", "#ff8000", "#ffff00", "#008000", "#0000ff", "#4b0082", "#9400d3"]
|
| 58 |
+
],
|
| 59 |
+
selectionPalette: [],
|
| 60 |
+
disabled: false,
|
| 61 |
+
offset: null
|
| 62 |
+
},
|
| 63 |
+
spectrums = [],
|
| 64 |
+
IE = !!/msie/i.exec(window.navigator.userAgent),
|
| 65 |
+
rgbaSupport = (function() {
|
| 66 |
+
function contains(str, substr) {
|
| 67 |
+
return !!~('' + str).indexOf(substr);
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
var elem = document.createElement('div');
|
| 71 |
+
var style = elem.style;
|
| 72 |
+
style.cssText = 'background-color:rgba(0,0,0,.5)';
|
| 73 |
+
return contains(style.backgroundColor, 'rgba') || contains(style.backgroundColor, 'hsla');
|
| 74 |
+
})(),
|
| 75 |
+
replaceInput = [
|
| 76 |
+
"<div class='sp-replacer'>",
|
| 77 |
+
"<div class='sp-preview'><div class='sp-preview-inner'></div></div>",
|
| 78 |
+
"<div class='sp-dd'>▼</div>",
|
| 79 |
+
"</div>"
|
| 80 |
+
].join(''),
|
| 81 |
+
markup = (function() {
|
| 82 |
+
|
| 83 |
+
// IE does not support gradients with multiple stops, so we need to simulate
|
| 84 |
+
// that for the rainbow slider with 8 divs that each have a single gradient
|
| 85 |
+
var gradientFix = "";
|
| 86 |
+
if (IE) {
|
| 87 |
+
for (var i = 1; i <= 6; i++) {
|
| 88 |
+
gradientFix += "<div class='sp-" + i + "'></div>";
|
| 89 |
+
}
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
return [
|
| 93 |
+
"<div class='sp-container sp-hidden'>",
|
| 94 |
+
"<div class='sp-palette-container'>",
|
| 95 |
+
"<div class='sp-palette sp-thumb sp-cf'></div>",
|
| 96 |
+
"<div class='sp-palette-button-container sp-cf'>",
|
| 97 |
+
"<button type='button' class='sp-palette-toggle'></button>",
|
| 98 |
+
"</div>",
|
| 99 |
+
"</div>",
|
| 100 |
+
"<div class='sp-picker-container'>",
|
| 101 |
+
"<div class='sp-top sp-cf'>",
|
| 102 |
+
"<div class='sp-fill'></div>",
|
| 103 |
+
"<div class='sp-top-inner'>",
|
| 104 |
+
"<div class='sp-color'>",
|
| 105 |
+
"<div class='sp-sat'>",
|
| 106 |
+
"<div class='sp-val'>",
|
| 107 |
+
"<div class='sp-dragger'></div>",
|
| 108 |
+
"</div>",
|
| 109 |
+
"</div>",
|
| 110 |
+
"</div>",
|
| 111 |
+
"<div class='sp-clear sp-clear-display'>",
|
| 112 |
+
"</div>",
|
| 113 |
+
"<div class='sp-hue'>",
|
| 114 |
+
"<div class='sp-slider'></div>",
|
| 115 |
+
gradientFix,
|
| 116 |
+
"</div>",
|
| 117 |
+
"</div>",
|
| 118 |
+
"<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>",
|
| 119 |
+
"</div>",
|
| 120 |
+
"<div class='sp-input-container sp-cf'>",
|
| 121 |
+
"<input class='sp-input' type='text' spellcheck='false' />",
|
| 122 |
+
"</div>",
|
| 123 |
+
"<div class='sp-initial sp-thumb sp-cf'></div>",
|
| 124 |
+
"<div class='sp-button-container sp-cf'>",
|
| 125 |
+
"<a class='sp-cancel' href='#'></a>",
|
| 126 |
+
"<button type='button' class='sp-choose'></button>",
|
| 127 |
+
"</div>",
|
| 128 |
+
"</div>",
|
| 129 |
+
"</div>"
|
| 130 |
+
].join("");
|
| 131 |
+
})();
|
| 132 |
+
|
| 133 |
+
function paletteTemplate(p, color, className, opts) {
|
| 134 |
+
var html = [];
|
| 135 |
+
for (var i = 0; i < p.length; i++) {
|
| 136 |
+
var current = p[i];
|
| 137 |
+
if (current) {
|
| 138 |
+
var tiny = tinycolor(current);
|
| 139 |
+
var c = tiny.toHsl().l < 0.5 ? "sp-thumb-el sp-thumb-dark" : "sp-thumb-el sp-thumb-light";
|
| 140 |
+
c += (tinycolor.equals(color, current)) ? " sp-thumb-active" : "";
|
| 141 |
+
var formattedString = tiny.toString(opts.preferredFormat || "rgb");
|
| 142 |
+
var swatchStyle = rgbaSupport ? ("background-color:" + tiny.toRgbString()) : "filter:" + tiny.toFilter();
|
| 143 |
+
html.push('<span title="' + formattedString + '" data-color="' + tiny.toRgbString() + '" class="' + c + '"><span class="sp-thumb-inner" style="' + swatchStyle + ';" /></span>');
|
| 144 |
+
} else {
|
| 145 |
+
var cls = 'sp-clear-display';
|
| 146 |
+
html.push($('<div />')
|
| 147 |
+
.append($('<span data-color="" style="background-color:transparent;" class="' + cls + '"></span>')
|
| 148 |
+
.attr('title', opts.noColorSelectedText)
|
| 149 |
+
)
|
| 150 |
+
.html()
|
| 151 |
+
);
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
return "<div class='sp-cf " + className + "'>" + html.join('') + "</div>";
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
function hideAll() {
|
| 158 |
+
for (var i = 0; i < spectrums.length; i++) {
|
| 159 |
+
if (spectrums[i]) {
|
| 160 |
+
spectrums[i].hide();
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
function instanceOptions(o, callbackContext) {
|
| 166 |
+
var opts = $.extend({}, defaultOpts, o);
|
| 167 |
+
opts.callbacks = {
|
| 168 |
+
'move': bind(opts.move, callbackContext),
|
| 169 |
+
'change': bind(opts.change, callbackContext),
|
| 170 |
+
'show': bind(opts.show, callbackContext),
|
| 171 |
+
'hide': bind(opts.hide, callbackContext),
|
| 172 |
+
'beforeShow': bind(opts.beforeShow, callbackContext)
|
| 173 |
+
};
|
| 174 |
+
|
| 175 |
+
return opts;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
function spectrum(element, o) {
|
| 179 |
+
|
| 180 |
+
var opts = instanceOptions(o, element),
|
| 181 |
+
flat = opts.flat,
|
| 182 |
+
showSelectionPalette = opts.showSelectionPalette,
|
| 183 |
+
localStorageKey = opts.localStorageKey,
|
| 184 |
+
theme = opts.theme,
|
| 185 |
+
callbacks = opts.callbacks,
|
| 186 |
+
resize = throttle(reflow, 10),
|
| 187 |
+
visible = false,
|
| 188 |
+
isDragging = false,
|
| 189 |
+
dragWidth = 0,
|
| 190 |
+
dragHeight = 0,
|
| 191 |
+
dragHelperHeight = 0,
|
| 192 |
+
slideHeight = 0,
|
| 193 |
+
slideWidth = 0,
|
| 194 |
+
alphaWidth = 0,
|
| 195 |
+
alphaSlideHelperWidth = 0,
|
| 196 |
+
slideHelperHeight = 0,
|
| 197 |
+
currentHue = 0,
|
| 198 |
+
currentSaturation = 0,
|
| 199 |
+
currentValue = 0,
|
| 200 |
+
currentAlpha = 1,
|
| 201 |
+
palette = [],
|
| 202 |
+
paletteArray = [],
|
| 203 |
+
paletteLookup = {},
|
| 204 |
+
selectionPalette = opts.selectionPalette.slice(0),
|
| 205 |
+
maxSelectionSize = opts.maxSelectionSize,
|
| 206 |
+
draggingClass = "sp-dragging",
|
| 207 |
+
shiftMovementDirection = null;
|
| 208 |
+
|
| 209 |
+
var doc = element.ownerDocument,
|
| 210 |
+
body = doc.body,
|
| 211 |
+
boundElement = $(element),
|
| 212 |
+
disabled = false,
|
| 213 |
+
container = $(markup, doc).addClass(theme),
|
| 214 |
+
pickerContainer = container.find(".sp-picker-container"),
|
| 215 |
+
dragger = container.find(".sp-color"),
|
| 216 |
+
dragHelper = container.find(".sp-dragger"),
|
| 217 |
+
slider = container.find(".sp-hue"),
|
| 218 |
+
slideHelper = container.find(".sp-slider"),
|
| 219 |
+
alphaSliderInner = container.find(".sp-alpha-inner"),
|
| 220 |
+
alphaSlider = container.find(".sp-alpha"),
|
| 221 |
+
alphaSlideHelper = container.find(".sp-alpha-handle"),
|
| 222 |
+
textInput = container.find(".sp-input"),
|
| 223 |
+
paletteContainer = container.find(".sp-palette"),
|
| 224 |
+
initialColorContainer = container.find(".sp-initial"),
|
| 225 |
+
cancelButton = container.find(".sp-cancel"),
|
| 226 |
+
clearButton = container.find(".sp-clear"),
|
| 227 |
+
chooseButton = container.find(".sp-choose"),
|
| 228 |
+
toggleButton = container.find(".sp-palette-toggle"),
|
| 229 |
+
isInput = boundElement.is("input"),
|
| 230 |
+
isInputTypeColor = isInput && boundElement.attr("type") === "color" && inputTypeColorSupport(),
|
| 231 |
+
shouldReplace = isInput && !flat,
|
| 232 |
+
replacer = (shouldReplace) ? $(replaceInput).addClass(theme).addClass(opts.className).addClass(opts.replacerClassName) : $([]),
|
| 233 |
+
offsetElement = (shouldReplace) ? replacer : boundElement,
|
| 234 |
+
previewElement = replacer.find(".sp-preview-inner"),
|
| 235 |
+
initialColor = opts.color || (isInput && boundElement.val()),
|
| 236 |
+
colorOnShow = false,
|
| 237 |
+
currentPreferredFormat = opts.preferredFormat,
|
| 238 |
+
clickoutFiresChange = !opts.showButtons || opts.clickoutFiresChange,
|
| 239 |
+
isEmpty = !initialColor,
|
| 240 |
+
allowEmpty = opts.allowEmpty && !isInputTypeColor;
|
| 241 |
+
|
| 242 |
+
function applyOptions() {
|
| 243 |
+
|
| 244 |
+
if (opts.showPaletteOnly) {
|
| 245 |
+
opts.showPalette = true;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
toggleButton.text(opts.showPaletteOnly ? opts.togglePaletteMoreText : opts.togglePaletteLessText);
|
| 249 |
+
|
| 250 |
+
if (opts.palette) {
|
| 251 |
+
palette = opts.palette.slice(0);
|
| 252 |
+
paletteArray = $.isArray(palette[0]) ? palette : [palette];
|
| 253 |
+
paletteLookup = {};
|
| 254 |
+
for (var i = 0; i < paletteArray.length; i++) {
|
| 255 |
+
for (var j = 0; j < paletteArray[i].length; j++) {
|
| 256 |
+
var rgb = tinycolor(paletteArray[i][j]).toRgbString();
|
| 257 |
+
paletteLookup[rgb] = true;
|
| 258 |
+
}
|
| 259 |
+
}
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
container.toggleClass("sp-flat", flat);
|
| 263 |
+
container.toggleClass("sp-input-disabled", !opts.showInput);
|
| 264 |
+
container.toggleClass("sp-alpha-enabled", opts.showAlpha);
|
| 265 |
+
container.toggleClass("sp-clear-enabled", allowEmpty);
|
| 266 |
+
container.toggleClass("sp-buttons-disabled", !opts.showButtons);
|
| 267 |
+
container.toggleClass("sp-palette-buttons-disabled", !opts.togglePaletteOnly);
|
| 268 |
+
container.toggleClass("sp-palette-disabled", !opts.showPalette);
|
| 269 |
+
container.toggleClass("sp-palette-only", opts.showPaletteOnly);
|
| 270 |
+
container.toggleClass("sp-initial-disabled", !opts.showInitial);
|
| 271 |
+
container.addClass(opts.className).addClass(opts.containerClassName);
|
| 272 |
+
|
| 273 |
+
reflow();
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
function initialize() {
|
| 277 |
+
|
| 278 |
+
if (IE) {
|
| 279 |
+
container.find("*:not(input)").attr("unselectable", "on");
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
applyOptions();
|
| 283 |
+
|
| 284 |
+
if (shouldReplace) {
|
| 285 |
+
boundElement.after(replacer).hide();
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
if (!allowEmpty) {
|
| 289 |
+
clearButton.hide();
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
if (flat) {
|
| 293 |
+
boundElement.after(container).hide();
|
| 294 |
+
} else {
|
| 295 |
+
|
| 296 |
+
var appendTo = opts.appendTo === "parent" ? boundElement.parent() : $(opts.appendTo);
|
| 297 |
+
if (appendTo.length !== 1) {
|
| 298 |
+
appendTo = $("body");
|
| 299 |
+
}
|
| 300 |
+
|
| 301 |
+
appendTo.append(container);
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
updateSelectionPaletteFromStorage();
|
| 305 |
+
|
| 306 |
+
offsetElement.bind("click.spectrum touchstart.spectrum", function(e) {
|
| 307 |
+
if (!disabled) {
|
| 308 |
+
toggle();
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
e.stopPropagation();
|
| 312 |
+
|
| 313 |
+
if (!$(e.target).is("input")) {
|
| 314 |
+
e.preventDefault();
|
| 315 |
+
}
|
| 316 |
+
});
|
| 317 |
+
|
| 318 |
+
if (boundElement.is(":disabled") || (opts.disabled === true)) {
|
| 319 |
+
disable();
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
// Prevent clicks from bubbling up to document. This would cause it to be hidden.
|
| 323 |
+
container.click(stopPropagation);
|
| 324 |
+
|
| 325 |
+
// Handle user typed input
|
| 326 |
+
textInput.change(setFromTextInput);
|
| 327 |
+
textInput.bind("paste", function() {
|
| 328 |
+
setTimeout(setFromTextInput, 1);
|
| 329 |
+
});
|
| 330 |
+
textInput.keydown(function(e) { if (e.keyCode == 13) { setFromTextInput(); } });
|
| 331 |
+
|
| 332 |
+
cancelButton.text(opts.cancelText);
|
| 333 |
+
cancelButton.bind("click.spectrum", function(e) {
|
| 334 |
+
e.stopPropagation();
|
| 335 |
+
e.preventDefault();
|
| 336 |
+
revert();
|
| 337 |
+
hide();
|
| 338 |
+
});
|
| 339 |
+
|
| 340 |
+
clearButton.attr("title", opts.clearText);
|
| 341 |
+
clearButton.bind("click.spectrum", function(e) {
|
| 342 |
+
e.stopPropagation();
|
| 343 |
+
e.preventDefault();
|
| 344 |
+
isEmpty = true;
|
| 345 |
+
move();
|
| 346 |
+
|
| 347 |
+
if (flat) {
|
| 348 |
+
//for the flat style, this is a change event
|
| 349 |
+
updateOriginalInput(true);
|
| 350 |
+
}
|
| 351 |
+
});
|
| 352 |
+
|
| 353 |
+
chooseButton.text(opts.chooseText);
|
| 354 |
+
chooseButton.bind("click.spectrum", function(e) {
|
| 355 |
+
e.stopPropagation();
|
| 356 |
+
e.preventDefault();
|
| 357 |
+
|
| 358 |
+
if (IE && textInput.is(":focus")) {
|
| 359 |
+
textInput.trigger('change');
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
if (isValid()) {
|
| 363 |
+
updateOriginalInput(true);
|
| 364 |
+
hide();
|
| 365 |
+
}
|
| 366 |
+
});
|
| 367 |
+
|
| 368 |
+
toggleButton.text(opts.showPaletteOnly ? opts.togglePaletteMoreText : opts.togglePaletteLessText);
|
| 369 |
+
toggleButton.bind("click.spectrum", function(e) {
|
| 370 |
+
e.stopPropagation();
|
| 371 |
+
e.preventDefault();
|
| 372 |
+
|
| 373 |
+
opts.showPaletteOnly = !opts.showPaletteOnly;
|
| 374 |
+
|
| 375 |
+
// To make sure the Picker area is drawn on the right, next to the
|
| 376 |
+
// Palette area (and not below the palette), first move the Palette
|
| 377 |
+
// to the left to make space for the picker, plus 5px extra.
|
| 378 |
+
// The 'applyOptions' function puts the whole container back into place
|
| 379 |
+
// and takes care of the button-text and the sp-palette-only CSS class.
|
| 380 |
+
if (!opts.showPaletteOnly && !flat) {
|
| 381 |
+
container.css('left', '-=' + (pickerContainer.outerWidth(true) + 5));
|
| 382 |
+
}
|
| 383 |
+
applyOptions();
|
| 384 |
+
});
|
| 385 |
+
|
| 386 |
+
draggable(alphaSlider, function(dragX, dragY, e) {
|
| 387 |
+
currentAlpha = (dragX / alphaWidth);
|
| 388 |
+
isEmpty = false;
|
| 389 |
+
if (e.shiftKey) {
|
| 390 |
+
currentAlpha = Math.round(currentAlpha * 10) / 10;
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
move();
|
| 394 |
+
}, dragStart, dragStop);
|
| 395 |
+
|
| 396 |
+
draggable(slider, function(dragX, dragY) {
|
| 397 |
+
currentHue = parseFloat(dragY / slideHeight);
|
| 398 |
+
isEmpty = false;
|
| 399 |
+
if (!opts.showAlpha) {
|
| 400 |
+
currentAlpha = 1;
|
| 401 |
+
}
|
| 402 |
+
move();
|
| 403 |
+
}, dragStart, dragStop);
|
| 404 |
+
|
| 405 |
+
draggable(dragger, function(dragX, dragY, e) {
|
| 406 |
+
|
| 407 |
+
// shift+drag should snap the movement to either the x or y axis.
|
| 408 |
+
if (!e.shiftKey) {
|
| 409 |
+
shiftMovementDirection = null;
|
| 410 |
+
} else if (!shiftMovementDirection) {
|
| 411 |
+
var oldDragX = currentSaturation * dragWidth;
|
| 412 |
+
var oldDragY = dragHeight - (currentValue * dragHeight);
|
| 413 |
+
var furtherFromX = Math.abs(dragX - oldDragX) > Math.abs(dragY - oldDragY);
|
| 414 |
+
|
| 415 |
+
shiftMovementDirection = furtherFromX ? "x" : "y";
|
| 416 |
+
}
|
| 417 |
+
|
| 418 |
+
var setSaturation = !shiftMovementDirection || shiftMovementDirection === "x";
|
| 419 |
+
var setValue = !shiftMovementDirection || shiftMovementDirection === "y";
|
| 420 |
+
|
| 421 |
+
if (setSaturation) {
|
| 422 |
+
currentSaturation = parseFloat(dragX / dragWidth);
|
| 423 |
+
}
|
| 424 |
+
if (setValue) {
|
| 425 |
+
currentValue = parseFloat((dragHeight - dragY) / dragHeight);
|
| 426 |
+
}
|
| 427 |
+
|
| 428 |
+
isEmpty = false;
|
| 429 |
+
if (!opts.showAlpha) {
|
| 430 |
+
currentAlpha = 1;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
move();
|
| 434 |
+
|
| 435 |
+
}, dragStart, dragStop);
|
| 436 |
+
|
| 437 |
+
if (!!initialColor) {
|
| 438 |
+
set(initialColor);
|
| 439 |
+
|
| 440 |
+
// In case color was black - update the preview UI and set the format
|
| 441 |
+
// since the set function will not run (default color is black).
|
| 442 |
+
updateUI();
|
| 443 |
+
currentPreferredFormat = opts.preferredFormat || tinycolor(initialColor).format;
|
| 444 |
+
|
| 445 |
+
addColorToSelectionPalette(initialColor);
|
| 446 |
+
} else {
|
| 447 |
+
updateUI();
|
| 448 |
+
}
|
| 449 |
+
|
| 450 |
+
if (flat) {
|
| 451 |
+
show();
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
function paletteElementClick(e) {
|
| 455 |
+
if (e.data && e.data.ignore) {
|
| 456 |
+
set($(e.target).closest(".sp-thumb-el").data("color"));
|
| 457 |
+
move();
|
| 458 |
+
} else {
|
| 459 |
+
set($(e.target).closest(".sp-thumb-el").data("color"));
|
| 460 |
+
move();
|
| 461 |
+
updateOriginalInput(true);
|
| 462 |
+
if (opts.hideAfterPaletteSelect) {
|
| 463 |
+
hide();
|
| 464 |
+
}
|
| 465 |
+
}
|
| 466 |
+
|
| 467 |
+
return false;
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
var paletteEvent = IE ? "mousedown.spectrum" : "click.spectrum touchstart.spectrum";
|
| 471 |
+
paletteContainer.delegate(".sp-thumb-el", paletteEvent, paletteElementClick);
|
| 472 |
+
initialColorContainer.delegate(".sp-thumb-el:nth-child(1)", paletteEvent, { ignore: true }, paletteElementClick);
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
function updateSelectionPaletteFromStorage() {
|
| 476 |
+
|
| 477 |
+
if (localStorageKey && window.localStorage) {
|
| 478 |
+
|
| 479 |
+
// Migrate old palettes over to new format. May want to remove this eventually.
|
| 480 |
+
try {
|
| 481 |
+
var oldPalette = window.localStorage[localStorageKey].split(",#");
|
| 482 |
+
if (oldPalette.length > 1) {
|
| 483 |
+
delete window.localStorage[localStorageKey];
|
| 484 |
+
$.each(oldPalette, function(i, c) {
|
| 485 |
+
addColorToSelectionPalette(c);
|
| 486 |
+
});
|
| 487 |
+
}
|
| 488 |
+
} catch (e) {}
|
| 489 |
+
|
| 490 |
+
try {
|
| 491 |
+
selectionPalette = window.localStorage[localStorageKey].split(";");
|
| 492 |
+
} catch (e) {}
|
| 493 |
+
}
|
| 494 |
+
}
|
| 495 |
+
|
| 496 |
+
function addColorToSelectionPalette(color) {
|
| 497 |
+
if (showSelectionPalette) {
|
| 498 |
+
var rgb = tinycolor(color).toRgbString();
|
| 499 |
+
if (!paletteLookup[rgb] && $.inArray(rgb, selectionPalette) === -1) {
|
| 500 |
+
selectionPalette.push(rgb);
|
| 501 |
+
while (selectionPalette.length > maxSelectionSize) {
|
| 502 |
+
selectionPalette.shift();
|
| 503 |
+
}
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
if (localStorageKey && window.localStorage) {
|
| 507 |
+
try {
|
| 508 |
+
window.localStorage[localStorageKey] = selectionPalette.join(";");
|
| 509 |
+
} catch (e) {}
|
| 510 |
+
}
|
| 511 |
+
}
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
function getUniqueSelectionPalette() {
|
| 515 |
+
var unique = [];
|
| 516 |
+
if (opts.showPalette) {
|
| 517 |
+
for (var i = 0; i < selectionPalette.length; i++) {
|
| 518 |
+
var rgb = tinycolor(selectionPalette[i]).toRgbString();
|
| 519 |
+
|
| 520 |
+
if (!paletteLookup[rgb]) {
|
| 521 |
+
unique.push(selectionPalette[i]);
|
| 522 |
+
}
|
| 523 |
+
}
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
return unique.reverse().slice(0, opts.maxSelectionSize);
|
| 527 |
+
}
|
| 528 |
+
|
| 529 |
+
function drawPalette() {
|
| 530 |
+
|
| 531 |
+
var currentColor = get();
|
| 532 |
+
|
| 533 |
+
var html = $.map(paletteArray, function(palette, i) {
|
| 534 |
+
return paletteTemplate(palette, currentColor, "sp-palette-row sp-palette-row-" + i, opts);
|
| 535 |
+
});
|
| 536 |
+
|
| 537 |
+
updateSelectionPaletteFromStorage();
|
| 538 |
+
|
| 539 |
+
if (selectionPalette) {
|
| 540 |
+
html.push(paletteTemplate(getUniqueSelectionPalette(), currentColor, "sp-palette-row sp-palette-row-selection", opts));
|
| 541 |
+
}
|
| 542 |
+
|
| 543 |
+
paletteContainer.html(html.join(""));
|
| 544 |
+
}
|
| 545 |
+
|
| 546 |
+
function drawInitial() {
|
| 547 |
+
if (opts.showInitial) {
|
| 548 |
+
var initial = colorOnShow;
|
| 549 |
+
var current = get();
|
| 550 |
+
initialColorContainer.html(paletteTemplate([initial, current], current, "sp-palette-row-initial", opts));
|
| 551 |
+
}
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
function dragStart() {
|
| 555 |
+
if (dragHeight <= 0 || dragWidth <= 0 || slideHeight <= 0) {
|
| 556 |
+
reflow();
|
| 557 |
+
}
|
| 558 |
+
isDragging = true;
|
| 559 |
+
container.addClass(draggingClass);
|
| 560 |
+
shiftMovementDirection = null;
|
| 561 |
+
boundElement.trigger('dragstart.spectrum', [get()]);
|
| 562 |
+
}
|
| 563 |
+
|
| 564 |
+
function dragStop() {
|
| 565 |
+
isDragging = false;
|
| 566 |
+
container.removeClass(draggingClass);
|
| 567 |
+
boundElement.trigger('dragstop.spectrum', [get()]);
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
function setFromTextInput() {
|
| 571 |
+
|
| 572 |
+
var value = textInput.val();
|
| 573 |
+
|
| 574 |
+
if ((value === null || value === "") && allowEmpty) {
|
| 575 |
+
set(null);
|
| 576 |
+
updateOriginalInput(true);
|
| 577 |
+
} else {
|
| 578 |
+
var tiny = tinycolor(value);
|
| 579 |
+
if (tiny.isValid()) {
|
| 580 |
+
set(tiny);
|
| 581 |
+
updateOriginalInput(true);
|
| 582 |
+
} else {
|
| 583 |
+
textInput.addClass("sp-validation-error");
|
| 584 |
+
}
|
| 585 |
+
}
|
| 586 |
+
}
|
| 587 |
+
|
| 588 |
+
function toggle() {
|
| 589 |
+
if (visible) {
|
| 590 |
+
hide();
|
| 591 |
+
} else {
|
| 592 |
+
show();
|
| 593 |
+
}
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
function show() {
|
| 597 |
+
var event = $.Event('beforeShow.spectrum');
|
| 598 |
+
|
| 599 |
+
if (visible) {
|
| 600 |
+
reflow();
|
| 601 |
+
return;
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
boundElement.trigger(event, [get()]);
|
| 605 |
+
|
| 606 |
+
if (callbacks.beforeShow(get()) === false || event.isDefaultPrevented()) {
|
| 607 |
+
return;
|
| 608 |
+
}
|
| 609 |
+
|
| 610 |
+
hideAll();
|
| 611 |
+
visible = true;
|
| 612 |
+
|
| 613 |
+
$(doc).bind("keydown.spectrum", onkeydown);
|
| 614 |
+
$(doc).bind("click.spectrum", clickout);
|
| 615 |
+
$(window).bind("resize.spectrum", resize);
|
| 616 |
+
replacer.addClass("sp-active");
|
| 617 |
+
container.removeClass("sp-hidden");
|
| 618 |
+
|
| 619 |
+
reflow();
|
| 620 |
+
updateUI();
|
| 621 |
+
|
| 622 |
+
colorOnShow = get();
|
| 623 |
+
|
| 624 |
+
drawInitial();
|
| 625 |
+
callbacks.show(colorOnShow);
|
| 626 |
+
boundElement.trigger('show.spectrum', [colorOnShow]);
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
function onkeydown(e) {
|
| 630 |
+
// Close on ESC
|
| 631 |
+
if (e.keyCode === 27) {
|
| 632 |
+
hide();
|
| 633 |
+
}
|
| 634 |
+
}
|
| 635 |
+
|
| 636 |
+
function clickout(e) {
|
| 637 |
+
// Return on right click.
|
| 638 |
+
if (e.button == 2) { return; }
|
| 639 |
+
|
| 640 |
+
// If a drag event was happening during the mouseup, don't hide
|
| 641 |
+
// on click.
|
| 642 |
+
if (isDragging) { return; }
|
| 643 |
+
|
| 644 |
+
if (clickoutFiresChange) {
|
| 645 |
+
updateOriginalInput(true);
|
| 646 |
+
} else {
|
| 647 |
+
revert();
|
| 648 |
+
}
|
| 649 |
+
hide();
|
| 650 |
+
}
|
| 651 |
+
|
| 652 |
+
function hide() {
|
| 653 |
+
// Return if hiding is unnecessary
|
| 654 |
+
if (!visible || flat) { return; }
|
| 655 |
+
visible = false;
|
| 656 |
+
|
| 657 |
+
$(doc).unbind("keydown.spectrum", onkeydown);
|
| 658 |
+
$(doc).unbind("click.spectrum", clickout);
|
| 659 |
+
$(window).unbind("resize.spectrum", resize);
|
| 660 |
+
|
| 661 |
+
replacer.removeClass("sp-active");
|
| 662 |
+
container.addClass("sp-hidden");
|
| 663 |
+
|
| 664 |
+
callbacks.hide(get());
|
| 665 |
+
boundElement.trigger('hide.spectrum', [get()]);
|
| 666 |
+
}
|
| 667 |
+
|
| 668 |
+
function revert() {
|
| 669 |
+
set(colorOnShow, true);
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
function set(color, ignoreFormatChange) {
|
| 673 |
+
if (tinycolor.equals(color, get())) {
|
| 674 |
+
// Update UI just in case a validation error needs
|
| 675 |
+
// to be cleared.
|
| 676 |
+
updateUI();
|
| 677 |
+
return;
|
| 678 |
+
}
|
| 679 |
+
|
| 680 |
+
var newColor, newHsv;
|
| 681 |
+
if (!color && allowEmpty) {
|
| 682 |
+
isEmpty = true;
|
| 683 |
+
} else {
|
| 684 |
+
isEmpty = false;
|
| 685 |
+
newColor = tinycolor(color);
|
| 686 |
+
newHsv = newColor.toHsv();
|
| 687 |
+
|
| 688 |
+
currentHue = (newHsv.h % 360) / 360;
|
| 689 |
+
currentSaturation = newHsv.s;
|
| 690 |
+
currentValue = newHsv.v;
|
| 691 |
+
currentAlpha = newHsv.a;
|
| 692 |
+
}
|
| 693 |
+
updateUI();
|
| 694 |
+
|
| 695 |
+
if (newColor && newColor.isValid() && !ignoreFormatChange) {
|
| 696 |
+
currentPreferredFormat = opts.preferredFormat || newColor.getFormat();
|
| 697 |
+
}
|
| 698 |
+
}
|
| 699 |
+
|
| 700 |
+
function get(opts) {
|
| 701 |
+
opts = opts || {};
|
| 702 |
+
|
| 703 |
+
if (allowEmpty && isEmpty) {
|
| 704 |
+
return null;
|
| 705 |
+
}
|
| 706 |
+
|
| 707 |
+
return tinycolor.fromRatio({
|
| 708 |
+
h: currentHue,
|
| 709 |
+
s: currentSaturation,
|
| 710 |
+
v: currentValue,
|
| 711 |
+
a: Math.round(currentAlpha * 100) / 100
|
| 712 |
+
}, { format: opts.format || currentPreferredFormat });
|
| 713 |
+
}
|
| 714 |
+
|
| 715 |
+
function isValid() {
|
| 716 |
+
return !textInput.hasClass("sp-validation-error");
|
| 717 |
+
}
|
| 718 |
+
|
| 719 |
+
function move() {
|
| 720 |
+
updateUI();
|
| 721 |
+
|
| 722 |
+
callbacks.move(get());
|
| 723 |
+
boundElement.trigger('move.spectrum', [get()]);
|
| 724 |
+
}
|
| 725 |
+
|
| 726 |
+
function updateUI() {
|
| 727 |
+
|
| 728 |
+
textInput.removeClass("sp-validation-error");
|
| 729 |
+
|
| 730 |
+
updateHelperLocations();
|
| 731 |
+
|
| 732 |
+
// Update dragger background color (gradients take care of saturation and value).
|
| 733 |
+
var flatColor = tinycolor.fromRatio({ h: currentHue, s: 1, v: 1 });
|
| 734 |
+
dragger.css("background-color", flatColor.toHexString());
|
| 735 |
+
|
| 736 |
+
// Get a format that alpha will be included in (hex and names ignore alpha)
|
| 737 |
+
var format = currentPreferredFormat;
|
| 738 |
+
if (currentAlpha < 1 && !(currentAlpha === 0 && format === "name")) {
|
| 739 |
+
if (format === "hex" || format === "hex3" || format === "hex6" || format === "name") {
|
| 740 |
+
format = "rgb";
|
| 741 |
+
}
|
| 742 |
+
}
|
| 743 |
+
|
| 744 |
+
var realColor = get({ format: format }),
|
| 745 |
+
displayColor = '';
|
| 746 |
+
|
| 747 |
+
//reset background info for preview element
|
| 748 |
+
previewElement.removeClass("sp-clear-display");
|
| 749 |
+
previewElement.css('background-color', 'transparent');
|
| 750 |
+
|
| 751 |
+
if (!realColor && allowEmpty) {
|
| 752 |
+
// Update the replaced elements background with icon indicating no color selection
|
| 753 |
+
previewElement.addClass("sp-clear-display");
|
| 754 |
+
} else {
|
| 755 |
+
var realHex = realColor.toHexString(),
|
| 756 |
+
realRgb = realColor.toRgbString();
|
| 757 |
+
|
| 758 |
+
// Update the replaced elements background color (with actual selected color)
|
| 759 |
+
if (rgbaSupport || realColor.alpha === 1) {
|
| 760 |
+
previewElement.css("background-color", realRgb);
|
| 761 |
+
} else {
|
| 762 |
+
previewElement.css("background-color", "transparent");
|
| 763 |
+
previewElement.css("filter", realColor.toFilter());
|
| 764 |
+
}
|
| 765 |
+
|
| 766 |
+
if (opts.showAlpha) {
|
| 767 |
+
var rgb = realColor.toRgb();
|
| 768 |
+
rgb.a = 0;
|
| 769 |
+
var realAlpha = tinycolor(rgb).toRgbString();
|
| 770 |
+
var gradient = "linear-gradient(left, " + realAlpha + ", " + realHex + ")";
|
| 771 |
+
|
| 772 |
+
if (IE) {
|
| 773 |
+
alphaSliderInner.css("filter", tinycolor(realAlpha).toFilter({ gradientType: 1 }, realHex));
|
| 774 |
+
} else {
|
| 775 |
+
alphaSliderInner.css("background", "-webkit-" + gradient);
|
| 776 |
+
alphaSliderInner.css("background", "-moz-" + gradient);
|
| 777 |
+
alphaSliderInner.css("background", "-ms-" + gradient);
|
| 778 |
+
// Use current syntax gradient on unprefixed property.
|
| 779 |
+
alphaSliderInner.css("background",
|
| 780 |
+
"linear-gradient(to right, " + realAlpha + ", " + realHex + ")");
|
| 781 |
+
}
|
| 782 |
+
}
|
| 783 |
+
|
| 784 |
+
displayColor = realColor.toString(format);
|
| 785 |
+
}
|
| 786 |
+
|
| 787 |
+
// Update the text entry input as it changes happen
|
| 788 |
+
if (opts.showInput) {
|
| 789 |
+
textInput.val(displayColor);
|
| 790 |
+
}
|
| 791 |
+
|
| 792 |
+
if (opts.showPalette) {
|
| 793 |
+
drawPalette();
|
| 794 |
+
}
|
| 795 |
+
|
| 796 |
+
drawInitial();
|
| 797 |
+
}
|
| 798 |
+
|
| 799 |
+
function updateHelperLocations() {
|
| 800 |
+
var s = currentSaturation;
|
| 801 |
+
var v = currentValue;
|
| 802 |
+
|
| 803 |
+
if (allowEmpty && isEmpty) {
|
| 804 |
+
//if selected color is empty, hide the helpers
|
| 805 |
+
alphaSlideHelper.hide();
|
| 806 |
+
slideHelper.hide();
|
| 807 |
+
dragHelper.hide();
|
| 808 |
+
} else {
|
| 809 |
+
//make sure helpers are visible
|
| 810 |
+
alphaSlideHelper.show();
|
| 811 |
+
slideHelper.show();
|
| 812 |
+
dragHelper.show();
|
| 813 |
+
|
| 814 |
+
// Where to show the little circle in that displays your current selected color
|
| 815 |
+
var dragX = s * dragWidth;
|
| 816 |
+
var dragY = dragHeight - (v * dragHeight);
|
| 817 |
+
dragX = Math.max(-dragHelperHeight,
|
| 818 |
+
Math.min(dragWidth - dragHelperHeight, dragX - dragHelperHeight)
|
| 819 |
+
);
|
| 820 |
+
dragY = Math.max(-dragHelperHeight,
|
| 821 |
+
Math.min(dragHeight - dragHelperHeight, dragY - dragHelperHeight)
|
| 822 |
+
);
|
| 823 |
+
dragHelper.css({
|
| 824 |
+
"top": dragY + "px",
|
| 825 |
+
"left": dragX + "px"
|
| 826 |
+
});
|
| 827 |
+
|
| 828 |
+
var alphaX = currentAlpha * alphaWidth;
|
| 829 |
+
alphaSlideHelper.css({
|
| 830 |
+
"left": (alphaX - (alphaSlideHelperWidth / 2)) + "px"
|
| 831 |
+
});
|
| 832 |
+
|
| 833 |
+
// Where to show the bar that displays your current selected hue
|
| 834 |
+
var slideY = (currentHue) * slideHeight;
|
| 835 |
+
slideHelper.css({
|
| 836 |
+
"top": (slideY - slideHelperHeight) + "px"
|
| 837 |
+
});
|
| 838 |
+
}
|
| 839 |
+
}
|
| 840 |
+
|
| 841 |
+
function updateOriginalInput(fireCallback) {
|
| 842 |
+
var color = get(),
|
| 843 |
+
displayColor = '',
|
| 844 |
+
hasChanged = !tinycolor.equals(color, colorOnShow);
|
| 845 |
+
|
| 846 |
+
if (color) {
|
| 847 |
+
displayColor = color.toString(currentPreferredFormat);
|
| 848 |
+
// Update the selection palette with the current color
|
| 849 |
+
addColorToSelectionPalette(color);
|
| 850 |
+
}
|
| 851 |
+
|
| 852 |
+
if (isInput) {
|
| 853 |
+
boundElement.val(displayColor);
|
| 854 |
+
}
|
| 855 |
+
|
| 856 |
+
if (fireCallback && hasChanged) {
|
| 857 |
+
callbacks.change(color);
|
| 858 |
+
boundElement.trigger('change', [color]);
|
| 859 |
+
}
|
| 860 |
+
}
|
| 861 |
+
|
| 862 |
+
function reflow() {
|
| 863 |
+
if (!visible) {
|
| 864 |
+
return; // Calculations would be useless and wouldn't be reliable anyways
|
| 865 |
+
}
|
| 866 |
+
dragWidth = dragger.width();
|
| 867 |
+
dragHeight = dragger.height();
|
| 868 |
+
dragHelperHeight = dragHelper.height();
|
| 869 |
+
slideWidth = slider.width();
|
| 870 |
+
slideHeight = slider.height();
|
| 871 |
+
slideHelperHeight = slideHelper.height();
|
| 872 |
+
alphaWidth = alphaSlider.width();
|
| 873 |
+
alphaSlideHelperWidth = alphaSlideHelper.width();
|
| 874 |
+
|
| 875 |
+
if (!flat) {
|
| 876 |
+
container.css("position", "absolute");
|
| 877 |
+
if (opts.offset) {
|
| 878 |
+
container.offset(opts.offset);
|
| 879 |
+
} else {
|
| 880 |
+
container.offset(getOffset(container, offsetElement));
|
| 881 |
+
}
|
| 882 |
+
}
|
| 883 |
+
|
| 884 |
+
updateHelperLocations();
|
| 885 |
+
|
| 886 |
+
if (opts.showPalette) {
|
| 887 |
+
drawPalette();
|
| 888 |
+
}
|
| 889 |
+
|
| 890 |
+
boundElement.trigger('reflow.spectrum');
|
| 891 |
+
}
|
| 892 |
+
|
| 893 |
+
function destroy() {
|
| 894 |
+
boundElement.show();
|
| 895 |
+
offsetElement.unbind("click.spectrum touchstart.spectrum");
|
| 896 |
+
container.remove();
|
| 897 |
+
replacer.remove();
|
| 898 |
+
spectrums[spect.id] = null;
|
| 899 |
+
}
|
| 900 |
+
|
| 901 |
+
function option(optionName, optionValue) {
|
| 902 |
+
if (optionName === undefined) {
|
| 903 |
+
return $.extend({}, opts);
|
| 904 |
+
}
|
| 905 |
+
if (optionValue === undefined) {
|
| 906 |
+
return opts[optionName];
|
| 907 |
+
}
|
| 908 |
+
|
| 909 |
+
opts[optionName] = optionValue;
|
| 910 |
+
|
| 911 |
+
if (optionName === "preferredFormat") {
|
| 912 |
+
currentPreferredFormat = opts.preferredFormat;
|
| 913 |
+
}
|
| 914 |
+
applyOptions();
|
| 915 |
+
}
|
| 916 |
+
|
| 917 |
+
function enable() {
|
| 918 |
+
disabled = false;
|
| 919 |
+
boundElement.attr("disabled", false);
|
| 920 |
+
offsetElement.removeClass("sp-disabled");
|
| 921 |
+
}
|
| 922 |
+
|
| 923 |
+
function disable() {
|
| 924 |
+
hide();
|
| 925 |
+
disabled = true;
|
| 926 |
+
boundElement.attr("disabled", true);
|
| 927 |
+
offsetElement.addClass("sp-disabled");
|
| 928 |
+
}
|
| 929 |
+
|
| 930 |
+
function setOffset(coord) {
|
| 931 |
+
opts.offset = coord;
|
| 932 |
+
reflow();
|
| 933 |
+
}
|
| 934 |
+
|
| 935 |
+
initialize();
|
| 936 |
+
|
| 937 |
+
var spect = {
|
| 938 |
+
show: show,
|
| 939 |
+
hide: hide,
|
| 940 |
+
toggle: toggle,
|
| 941 |
+
reflow: reflow,
|
| 942 |
+
option: option,
|
| 943 |
+
enable: enable,
|
| 944 |
+
disable: disable,
|
| 945 |
+
offset: setOffset,
|
| 946 |
+
set: function(c) {
|
| 947 |
+
set(c);
|
| 948 |
+
updateOriginalInput();
|
| 949 |
+
},
|
| 950 |
+
get: get,
|
| 951 |
+
destroy: destroy,
|
| 952 |
+
container: container
|
| 953 |
+
};
|
| 954 |
+
|
| 955 |
+
spect.id = spectrums.push(spect) - 1;
|
| 956 |
+
|
| 957 |
+
return spect;
|
| 958 |
+
}
|
| 959 |
+
|
| 960 |
+
/**
|
| 961 |
+
* checkOffset - get the offset below/above and left/right element depending on screen position
|
| 962 |
+
* Thanks https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js
|
| 963 |
+
*/
|
| 964 |
+
function getOffset(picker, input) {
|
| 965 |
+
var extraY = 0;
|
| 966 |
+
var dpWidth = picker.outerWidth();
|
| 967 |
+
var dpHeight = picker.outerHeight();
|
| 968 |
+
var inputHeight = input.outerHeight();
|
| 969 |
+
var doc = picker[0].ownerDocument;
|
| 970 |
+
var docElem = doc.documentElement;
|
| 971 |
+
var viewWidth = docElem.clientWidth + $(doc).scrollLeft();
|
| 972 |
+
var viewHeight = docElem.clientHeight + $(doc).scrollTop();
|
| 973 |
+
var offset = input.offset();
|
| 974 |
+
offset.top += inputHeight;
|
| 975 |
+
|
| 976 |
+
offset.left -=
|
| 977 |
+
Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
|
| 978 |
+
Math.abs(offset.left + dpWidth - viewWidth) : 0);
|
| 979 |
+
|
| 980 |
+
offset.top -=
|
| 981 |
+
Math.min(offset.top, ((offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
|
| 982 |
+
Math.abs(dpHeight + inputHeight - extraY) : extraY));
|
| 983 |
+
|
| 984 |
+
return offset;
|
| 985 |
+
}
|
| 986 |
+
|
| 987 |
+
/**
|
| 988 |
+
* noop - do nothing
|
| 989 |
+
*/
|
| 990 |
+
function noop() {
|
| 991 |
+
|
| 992 |
+
}
|
| 993 |
+
|
| 994 |
+
/**
|
| 995 |
+
* stopPropagation - makes the code only doing this a little easier to read in line
|
| 996 |
+
*/
|
| 997 |
+
function stopPropagation(e) {
|
| 998 |
+
e.stopPropagation();
|
| 999 |
+
}
|
| 1000 |
+
|
| 1001 |
+
/**
|
| 1002 |
+
* Create a function bound to a given object
|
| 1003 |
+
* Thanks to underscore.js
|
| 1004 |
+
*/
|
| 1005 |
+
function bind(func, obj) {
|
| 1006 |
+
var slice = Array.prototype.slice;
|
| 1007 |
+
var args = slice.call(arguments, 2);
|
| 1008 |
+
return function() {
|
| 1009 |
+
return func.apply(obj, args.concat(slice.call(arguments)));
|
| 1010 |
+
};
|
| 1011 |
+
}
|
| 1012 |
+
|
| 1013 |
+
/**
|
| 1014 |
+
* Lightweight drag helper. Handles containment within the element, so that
|
| 1015 |
+
* when dragging, the x is within [0,element.width] and y is within [0,element.height]
|
| 1016 |
+
*/
|
| 1017 |
+
function draggable(element, onmove, onstart, onstop) {
|
| 1018 |
+
onmove = onmove || function() {};
|
| 1019 |
+
onstart = onstart || function() {};
|
| 1020 |
+
onstop = onstop || function() {};
|
| 1021 |
+
var doc = document;
|
| 1022 |
+
var dragging = false;
|
| 1023 |
+
var offset = {};
|
| 1024 |
+
var maxHeight = 0;
|
| 1025 |
+
var maxWidth = 0;
|
| 1026 |
+
var hasTouch = ('ontouchstart' in window);
|
| 1027 |
+
|
| 1028 |
+
var duringDragEvents = {};
|
| 1029 |
+
duringDragEvents["selectstart"] = prevent;
|
| 1030 |
+
duringDragEvents["dragstart"] = prevent;
|
| 1031 |
+
duringDragEvents["touchmove mousemove"] = move;
|
| 1032 |
+
duringDragEvents["touchend mouseup"] = stop;
|
| 1033 |
+
|
| 1034 |
+
function prevent(e) {
|
| 1035 |
+
if (e.stopPropagation) {
|
| 1036 |
+
e.stopPropagation();
|
| 1037 |
+
}
|
| 1038 |
+
if (e.preventDefault) {
|
| 1039 |
+
e.preventDefault();
|
| 1040 |
+
}
|
| 1041 |
+
e.returnValue = false;
|
| 1042 |
+
}
|
| 1043 |
+
|
| 1044 |
+
function move(e) {
|
| 1045 |
+
if (dragging) {
|
| 1046 |
+
// Mouseup happened outside of window
|
| 1047 |
+
if (IE && doc.documentMode < 9 && !e.button) {
|
| 1048 |
+
return stop();
|
| 1049 |
+
}
|
| 1050 |
+
|
| 1051 |
+
var t0 = e.originalEvent && e.originalEvent.touches && e.originalEvent.touches[0];
|
| 1052 |
+
var pageX = t0 && t0.pageX || e.pageX;
|
| 1053 |
+
var pageY = t0 && t0.pageY || e.pageY;
|
| 1054 |
+
|
| 1055 |
+
var dragX = Math.max(0, Math.min(pageX - offset.left, maxWidth));
|
| 1056 |
+
var dragY = Math.max(0, Math.min(pageY - offset.top, maxHeight));
|
| 1057 |
+
|
| 1058 |
+
if (hasTouch) {
|
| 1059 |
+
// Stop scrolling in iOS
|
| 1060 |
+
prevent(e);
|
| 1061 |
+
}
|
| 1062 |
+
|
| 1063 |
+
onmove.apply(element, [dragX, dragY, e]);
|
| 1064 |
+
}
|
| 1065 |
+
}
|
| 1066 |
+
|
| 1067 |
+
function start(e) {
|
| 1068 |
+
var rightclick = (e.which) ? (e.which == 3) : (e.button == 2);
|
| 1069 |
+
|
| 1070 |
+
if (!rightclick && !dragging) {
|
| 1071 |
+
if (onstart.apply(element, arguments) !== false) {
|
| 1072 |
+
dragging = true;
|
| 1073 |
+
maxHeight = $(element).height();
|
| 1074 |
+
maxWidth = $(element).width();
|
| 1075 |
+
offset = $(element).offset();
|
| 1076 |
+
|
| 1077 |
+
$(doc).bind(duringDragEvents);
|
| 1078 |
+
$(doc.body).addClass("sp-dragging");
|
| 1079 |
+
|
| 1080 |
+
move(e);
|
| 1081 |
+
|
| 1082 |
+
prevent(e);
|
| 1083 |
+
}
|
| 1084 |
+
}
|
| 1085 |
+
}
|
| 1086 |
+
|
| 1087 |
+
function stop() {
|
| 1088 |
+
if (dragging) {
|
| 1089 |
+
$(doc).unbind(duringDragEvents);
|
| 1090 |
+
$(doc.body).removeClass("sp-dragging");
|
| 1091 |
+
|
| 1092 |
+
// Wait a tick before notifying observers to allow the click event
|
| 1093 |
+
// to fire in Chrome.
|
| 1094 |
+
setTimeout(function() {
|
| 1095 |
+
onstop.apply(element, arguments);
|
| 1096 |
+
}, 0);
|
| 1097 |
+
}
|
| 1098 |
+
dragging = false;
|
| 1099 |
+
}
|
| 1100 |
+
|
| 1101 |
+
$(element).bind("touchstart mousedown", start);
|
| 1102 |
+
}
|
| 1103 |
+
|
| 1104 |
+
function throttle(func, wait, debounce) {
|
| 1105 |
+
var timeout;
|
| 1106 |
+
return function() {
|
| 1107 |
+
var context = this,
|
| 1108 |
+
args = arguments;
|
| 1109 |
+
var throttler = function() {
|
| 1110 |
+
timeout = null;
|
| 1111 |
+
func.apply(context, args);
|
| 1112 |
+
};
|
| 1113 |
+
if (debounce) clearTimeout(timeout);
|
| 1114 |
+
if (debounce || !timeout) timeout = setTimeout(throttler, wait);
|
| 1115 |
+
};
|
| 1116 |
+
}
|
| 1117 |
+
|
| 1118 |
+
function inputTypeColorSupport() {
|
| 1119 |
+
return $.fn.spectrum.inputTypeColorSupport();
|
| 1120 |
+
}
|
| 1121 |
+
|
| 1122 |
+
/**
|
| 1123 |
+
* Define a jQuery plugin
|
| 1124 |
+
*/
|
| 1125 |
+
var dataID = "spectrum.id";
|
| 1126 |
+
$.fn.spectrum = function(opts, extra) {
|
| 1127 |
+
|
| 1128 |
+
if (typeof opts == "string") {
|
| 1129 |
+
|
| 1130 |
+
var returnValue = this;
|
| 1131 |
+
var args = Array.prototype.slice.call(arguments, 1);
|
| 1132 |
+
|
| 1133 |
+
this.each(function() {
|
| 1134 |
+
var spect = spectrums[$(this).data(dataID)];
|
| 1135 |
+
if (spect) {
|
| 1136 |
+
var method = spect[opts];
|
| 1137 |
+
if (!method) {
|
| 1138 |
+
throw new Error("Spectrum: no such method: '" + opts + "'");
|
| 1139 |
+
}
|
| 1140 |
+
|
| 1141 |
+
if (opts == "get") {
|
| 1142 |
+
returnValue = spect.get();
|
| 1143 |
+
} else if (opts == "container") {
|
| 1144 |
+
returnValue = spect.container;
|
| 1145 |
+
} else if (opts == "option") {
|
| 1146 |
+
returnValue = spect.option.apply(spect, args);
|
| 1147 |
+
} else if (opts == "destroy") {
|
| 1148 |
+
spect.destroy();
|
| 1149 |
+
$(this).removeData(dataID);
|
| 1150 |
+
} else {
|
| 1151 |
+
method.apply(spect, args);
|
| 1152 |
+
}
|
| 1153 |
+
}
|
| 1154 |
+
});
|
| 1155 |
+
|
| 1156 |
+
return returnValue;
|
| 1157 |
+
}
|
| 1158 |
+
|
| 1159 |
+
// Initializing a new instance of spectrum
|
| 1160 |
+
return this.spectrum("destroy").each(function() {
|
| 1161 |
+
var options = $.extend({}, opts, $(this).data());
|
| 1162 |
+
var spect = spectrum(this, options);
|
| 1163 |
+
$(this).data(dataID, spect.id);
|
| 1164 |
+
});
|
| 1165 |
+
};
|
| 1166 |
+
|
| 1167 |
+
$.fn.spectrum.load = true;
|
| 1168 |
+
$.fn.spectrum.loadOpts = {};
|
| 1169 |
+
$.fn.spectrum.draggable = draggable;
|
| 1170 |
+
$.fn.spectrum.defaults = defaultOpts;
|
| 1171 |
+
$.fn.spectrum.inputTypeColorSupport = function inputTypeColorSupport() {
|
| 1172 |
+
if (typeof inputTypeColorSupport._cachedResult === "undefined") {
|
| 1173 |
+
var colorInput = $("<input type='color'/>")[0]; // if color element is supported, value will default to not null
|
| 1174 |
+
inputTypeColorSupport._cachedResult = colorInput.type === "color" && colorInput.value !== "";
|
| 1175 |
+
}
|
| 1176 |
+
return inputTypeColorSupport._cachedResult;
|
| 1177 |
+
};
|
| 1178 |
+
|
| 1179 |
+
$.spectrum = {};
|
| 1180 |
+
$.spectrum.localization = {};
|
| 1181 |
+
$.spectrum.palettes = {};
|
| 1182 |
+
|
| 1183 |
+
$.fn.spectrum.processNativeColorInputs = function() {
|
| 1184 |
+
var colorInputs = $("input[type=color]");
|
| 1185 |
+
if (colorInputs.length && !inputTypeColorSupport()) {
|
| 1186 |
+
colorInputs.spectrum({
|
| 1187 |
+
preferredFormat: "hex6"
|
| 1188 |
+
});
|
| 1189 |
+
}
|
| 1190 |
+
};
|
| 1191 |
+
|
| 1192 |
+
// TinyColor v1.1.2
|
| 1193 |
+
// https://github.com/bgrins/TinyColor
|
| 1194 |
+
// Brian Grinstead, MIT License
|
| 1195 |
+
|
| 1196 |
+
(function() {
|
| 1197 |
+
|
| 1198 |
+
var trimLeft = /^[\s,#]+/,
|
| 1199 |
+
trimRight = /\s+$/,
|
| 1200 |
+
tinyCounter = 0,
|
| 1201 |
+
math = Math,
|
| 1202 |
+
mathRound = math.round,
|
| 1203 |
+
mathMin = math.min,
|
| 1204 |
+
mathMax = math.max,
|
| 1205 |
+
mathRandom = math.random;
|
| 1206 |
+
|
| 1207 |
+
var tinycolor = function(color, opts) {
|
| 1208 |
+
|
| 1209 |
+
color = (color) ? color : '';
|
| 1210 |
+
opts = opts || {};
|
| 1211 |
+
|
| 1212 |
+
// If input is already a tinycolor, return itself
|
| 1213 |
+
if (color instanceof tinycolor) {
|
| 1214 |
+
return color;
|
| 1215 |
+
}
|
| 1216 |
+
// If we are called as a function, call using new instead
|
| 1217 |
+
if (!(this instanceof tinycolor)) {
|
| 1218 |
+
return new tinycolor(color, opts);
|
| 1219 |
+
}
|
| 1220 |
+
|
| 1221 |
+
var rgb = inputToRGB(color);
|
| 1222 |
+
this._originalInput = color,
|
| 1223 |
+
this._r = rgb.r,
|
| 1224 |
+
this._g = rgb.g,
|
| 1225 |
+
this._b = rgb.b,
|
| 1226 |
+
this._a = rgb.a,
|
| 1227 |
+
this._roundA = mathRound(100 * this._a) / 100,
|
| 1228 |
+
this._format = opts.format || rgb.format;
|
| 1229 |
+
this._gradientType = opts.gradientType;
|
| 1230 |
+
|
| 1231 |
+
// Don't let the range of [0,255] come back in [0,1].
|
| 1232 |
+
// Potentially lose a little bit of precision here, but will fix issues where
|
| 1233 |
+
// .5 gets interpreted as half of the total, instead of half of 1
|
| 1234 |
+
// If it was supposed to be 128, this was already taken care of by `inputToRgb`
|
| 1235 |
+
if (this._r < 1) { this._r = mathRound(this._r); }
|
| 1236 |
+
if (this._g < 1) { this._g = mathRound(this._g); }
|
| 1237 |
+
if (this._b < 1) { this._b = mathRound(this._b); }
|
| 1238 |
+
|
| 1239 |
+
this._ok = rgb.ok;
|
| 1240 |
+
this._tc_id = tinyCounter++;
|
| 1241 |
+
};
|
| 1242 |
+
|
| 1243 |
+
tinycolor.prototype = {
|
| 1244 |
+
isDark: function() {
|
| 1245 |
+
return this.getBrightness() < 128;
|
| 1246 |
+
},
|
| 1247 |
+
isLight: function() {
|
| 1248 |
+
return !this.isDark();
|
| 1249 |
+
},
|
| 1250 |
+
isValid: function() {
|
| 1251 |
+
return this._ok;
|
| 1252 |
+
},
|
| 1253 |
+
getOriginalInput: function() {
|
| 1254 |
+
return this._originalInput;
|
| 1255 |
+
},
|
| 1256 |
+
getFormat: function() {
|
| 1257 |
+
return this._format;
|
| 1258 |
+
},
|
| 1259 |
+
getAlpha: function() {
|
| 1260 |
+
return this._a;
|
| 1261 |
+
},
|
| 1262 |
+
getBrightness: function() {
|
| 1263 |
+
var rgb = this.toRgb();
|
| 1264 |
+
return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;
|
| 1265 |
+
},
|
| 1266 |
+
setAlpha: function(value) {
|
| 1267 |
+
this._a = boundAlpha(value);
|
| 1268 |
+
this._roundA = mathRound(100 * this._a) / 100;
|
| 1269 |
+
return this;
|
| 1270 |
+
},
|
| 1271 |
+
toHsv: function() {
|
| 1272 |
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
| 1273 |
+
return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };
|
| 1274 |
+
},
|
| 1275 |
+
toHsvString: function() {
|
| 1276 |
+
var hsv = rgbToHsv(this._r, this._g, this._b);
|
| 1277 |
+
var h = mathRound(hsv.h * 360),
|
| 1278 |
+
s = mathRound(hsv.s * 100),
|
| 1279 |
+
v = mathRound(hsv.v * 100);
|
| 1280 |
+
return (this._a == 1) ?
|
| 1281 |
+
"hsv(" + h + ", " + s + "%, " + v + "%)" :
|
| 1282 |
+
"hsva(" + h + ", " + s + "%, " + v + "%, " + this._roundA + ")";
|
| 1283 |
+
},
|
| 1284 |
+
toHsl: function() {
|
| 1285 |
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
| 1286 |
+
return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };
|
| 1287 |
+
},
|
| 1288 |
+
toHslString: function() {
|
| 1289 |
+
var hsl = rgbToHsl(this._r, this._g, this._b);
|
| 1290 |
+
var h = mathRound(hsl.h * 360),
|
| 1291 |
+
s = mathRound(hsl.s * 100),
|
| 1292 |
+
l = mathRound(hsl.l * 100);
|
| 1293 |
+
return (this._a == 1) ?
|
| 1294 |
+
"hsl(" + h + ", " + s + "%, " + l + "%)" :
|
| 1295 |
+
"hsla(" + h + ", " + s + "%, " + l + "%, " + this._roundA + ")";
|
| 1296 |
+
},
|
| 1297 |
+
toHex: function(allow3Char) {
|
| 1298 |
+
return rgbToHex(this._r, this._g, this._b, allow3Char);
|
| 1299 |
+
},
|
| 1300 |
+
toHexString: function(allow3Char) {
|
| 1301 |
+
return '#' + this.toHex(allow3Char);
|
| 1302 |
+
},
|
| 1303 |
+
toHex8: function() {
|
| 1304 |
+
return rgbaToHex(this._r, this._g, this._b, this._a);
|
| 1305 |
+
},
|
| 1306 |
+
toHex8String: function() {
|
| 1307 |
+
return '#' + this.toHex8();
|
| 1308 |
+
},
|
| 1309 |
+
toRgb: function() {
|
| 1310 |
+
return { r: mathRound(this._r), g: mathRound(this._g), b: mathRound(this._b), a: this._a };
|
| 1311 |
+
},
|
| 1312 |
+
toRgbString: function() {
|
| 1313 |
+
return (this._a == 1) ?
|
| 1314 |
+
"rgb(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ")" :
|
| 1315 |
+
"rgba(" + mathRound(this._r) + ", " + mathRound(this._g) + ", " + mathRound(this._b) + ", " + this._roundA + ")";
|
| 1316 |
+
},
|
| 1317 |
+
toPercentageRgb: function() {
|
| 1318 |
+
return { r: mathRound(bound01(this._r, 255) * 100) + "%", g: mathRound(bound01(this._g, 255) * 100) + "%", b: mathRound(bound01(this._b, 255) * 100) + "%", a: this._a };
|
| 1319 |
+
},
|
| 1320 |
+
toPercentageRgbString: function() {
|
| 1321 |
+
return (this._a == 1) ?
|
| 1322 |
+
"rgb(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%)" :
|
| 1323 |
+
"rgba(" + mathRound(bound01(this._r, 255) * 100) + "%, " + mathRound(bound01(this._g, 255) * 100) + "%, " + mathRound(bound01(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
| 1324 |
+
},
|
| 1325 |
+
toName: function() {
|
| 1326 |
+
if (this._a === 0) {
|
| 1327 |
+
return "transparent";
|
| 1328 |
+
}
|
| 1329 |
+
|
| 1330 |
+
if (this._a < 1) {
|
| 1331 |
+
return false;
|
| 1332 |
+
}
|
| 1333 |
+
|
| 1334 |
+
return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;
|
| 1335 |
+
},
|
| 1336 |
+
toFilter: function(secondColor) {
|
| 1337 |
+
var hex8String = '#' + rgbaToHex(this._r, this._g, this._b, this._a);
|
| 1338 |
+
var secondHex8String = hex8String;
|
| 1339 |
+
var gradientType = this._gradientType ? "GradientType = 1, " : "";
|
| 1340 |
+
|
| 1341 |
+
if (secondColor) {
|
| 1342 |
+
var s = tinycolor(secondColor);
|
| 1343 |
+
secondHex8String = s.toHex8String();
|
| 1344 |
+
}
|
| 1345 |
+
|
| 1346 |
+
return "progid:DXImageTransform.Microsoft.gradient(" + gradientType + "startColorstr=" + hex8String + ",endColorstr=" + secondHex8String + ")";
|
| 1347 |
+
},
|
| 1348 |
+
toString: function(format) {
|
| 1349 |
+
var formatSet = !!format;
|
| 1350 |
+
format = format || this._format;
|
| 1351 |
+
|
| 1352 |
+
var formattedString = false;
|
| 1353 |
+
var hasAlpha = this._a < 1 && this._a >= 0;
|
| 1354 |
+
var needsAlphaFormat = !formatSet && hasAlpha && (format === "hex" || format === "hex6" || format === "hex3" || format === "name");
|
| 1355 |
+
|
| 1356 |
+
if (needsAlphaFormat) {
|
| 1357 |
+
// Special case for "transparent", all other non-alpha formats
|
| 1358 |
+
// will return rgba when there is transparency.
|
| 1359 |
+
if (format === "name" && this._a === 0) {
|
| 1360 |
+
return this.toName();
|
| 1361 |
+
}
|
| 1362 |
+
return this.toRgbString();
|
| 1363 |
+
}
|
| 1364 |
+
if (format === "rgb") {
|
| 1365 |
+
formattedString = this.toRgbString();
|
| 1366 |
+
}
|
| 1367 |
+
if (format === "prgb") {
|
| 1368 |
+
formattedString = this.toPercentageRgbString();
|
| 1369 |
+
}
|
| 1370 |
+
if (format === "hex" || format === "hex6") {
|
| 1371 |
+
formattedString = this.toHexString();
|
| 1372 |
+
}
|
| 1373 |
+
if (format === "hex3") {
|
| 1374 |
+
formattedString = this.toHexString(true);
|
| 1375 |
+
}
|
| 1376 |
+
if (format === "hex8") {
|
| 1377 |
+
formattedString = this.toHex8String();
|
| 1378 |
+
}
|
| 1379 |
+
if (format === "name") {
|
| 1380 |
+
formattedString = this.toName();
|
| 1381 |
+
}
|
| 1382 |
+
if (format === "hsl") {
|
| 1383 |
+
formattedString = this.toHslString();
|
| 1384 |
+
}
|
| 1385 |
+
if (format === "hsv") {
|
| 1386 |
+
formattedString = this.toHsvString();
|
| 1387 |
+
}
|
| 1388 |
+
|
| 1389 |
+
return formattedString || this.toHexString();
|
| 1390 |
+
},
|
| 1391 |
+
|
| 1392 |
+
_applyModification: function(fn, args) {
|
| 1393 |
+
var color = fn.apply(null, [this].concat([].slice.call(args)));
|
| 1394 |
+
this._r = color._r;
|
| 1395 |
+
this._g = color._g;
|
| 1396 |
+
this._b = color._b;
|
| 1397 |
+
this.setAlpha(color._a);
|
| 1398 |
+
return this;
|
| 1399 |
+
},
|
| 1400 |
+
lighten: function() {
|
| 1401 |
+
return this._applyModification(lighten, arguments);
|
| 1402 |
+
},
|
| 1403 |
+
brighten: function() {
|
| 1404 |
+
return this._applyModification(brighten, arguments);
|
| 1405 |
+
},
|
| 1406 |
+
darken: function() {
|
| 1407 |
+
return this._applyModification(darken, arguments);
|
| 1408 |
+
},
|
| 1409 |
+
desaturate: function() {
|
| 1410 |
+
return this._applyModification(desaturate, arguments);
|
| 1411 |
+
},
|
| 1412 |
+
saturate: function() {
|
| 1413 |
+
return this._applyModification(saturate, arguments);
|
| 1414 |
+
},
|
| 1415 |
+
greyscale: function() {
|
| 1416 |
+
return this._applyModification(greyscale, arguments);
|
| 1417 |
+
},
|
| 1418 |
+
spin: function() {
|
| 1419 |
+
return this._applyModification(spin, arguments);
|
| 1420 |
+
},
|
| 1421 |
+
|
| 1422 |
+
_applyCombination: function(fn, args) {
|
| 1423 |
+
return fn.apply(null, [this].concat([].slice.call(args)));
|
| 1424 |
+
},
|
| 1425 |
+
analogous: function() {
|
| 1426 |
+
return this._applyCombination(analogous, arguments);
|
| 1427 |
+
},
|
| 1428 |
+
complement: function() {
|
| 1429 |
+
return this._applyCombination(complement, arguments);
|
| 1430 |
+
},
|
| 1431 |
+
monochromatic: function() {
|
| 1432 |
+
return this._applyCombination(monochromatic, arguments);
|
| 1433 |
+
},
|
| 1434 |
+
splitcomplement: function() {
|
| 1435 |
+
return this._applyCombination(splitcomplement, arguments);
|
| 1436 |
+
},
|
| 1437 |
+
triad: function() {
|
| 1438 |
+
return this._applyCombination(triad, arguments);
|
| 1439 |
+
},
|
| 1440 |
+
tetrad: function() {
|
| 1441 |
+
return this._applyCombination(tetrad, arguments);
|
| 1442 |
+
}
|
| 1443 |
+
};
|
| 1444 |
+
|
| 1445 |
+
// If input is an object, force 1 into "1.0" to handle ratios properly
|
| 1446 |
+
// String input requires "1.0" as input, so 1 will be treated as 1
|
| 1447 |
+
tinycolor.fromRatio = function(color, opts) {
|
| 1448 |
+
if (typeof color == "object") {
|
| 1449 |
+
var newColor = {};
|
| 1450 |
+
for (var i in color) {
|
| 1451 |
+
if (color.hasOwnProperty(i)) {
|
| 1452 |
+
if (i === "a") {
|
| 1453 |
+
newColor[i] = color[i];
|
| 1454 |
+
} else {
|
| 1455 |
+
newColor[i] = convertToPercentage(color[i]);
|
| 1456 |
+
}
|
| 1457 |
+
}
|
| 1458 |
+
}
|
| 1459 |
+
color = newColor;
|
| 1460 |
+
}
|
| 1461 |
+
|
| 1462 |
+
return tinycolor(color, opts);
|
| 1463 |
+
};
|
| 1464 |
+
|
| 1465 |
+
// Given a string or object, convert that input to RGB
|
| 1466 |
+
// Possible string inputs:
|
| 1467 |
+
//
|
| 1468 |
+
// "red"
|
| 1469 |
+
// "#f00" or "f00"
|
| 1470 |
+
// "#ff0000" or "ff0000"
|
| 1471 |
+
// "#ff000000" or "ff000000"
|
| 1472 |
+
// "rgb 255 0 0" or "rgb (255, 0, 0)"
|
| 1473 |
+
// "rgb 1.0 0 0" or "rgb (1, 0, 0)"
|
| 1474 |
+
// "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
|
| 1475 |
+
// "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
|
| 1476 |
+
// "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
|
| 1477 |
+
// "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
|
| 1478 |
+
// "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
|
| 1479 |
+
//
|
| 1480 |
+
function inputToRGB(color) {
|
| 1481 |
+
|
| 1482 |
+
var rgb = { r: 0, g: 0, b: 0 };
|
| 1483 |
+
var a = 1;
|
| 1484 |
+
var ok = false;
|
| 1485 |
+
var format = false;
|
| 1486 |
+
|
| 1487 |
+
if (typeof color == "string") {
|
| 1488 |
+
color = stringInputToObject(color);
|
| 1489 |
+
}
|
| 1490 |
+
|
| 1491 |
+
if (typeof color == "object") {
|
| 1492 |
+
if (color.hasOwnProperty("r") && color.hasOwnProperty("g") && color.hasOwnProperty("b")) {
|
| 1493 |
+
rgb = rgbToRgb(color.r, color.g, color.b);
|
| 1494 |
+
ok = true;
|
| 1495 |
+
format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
|
| 1496 |
+
} else if (color.hasOwnProperty("h") && color.hasOwnProperty("s") && color.hasOwnProperty("v")) {
|
| 1497 |
+
color.s = convertToPercentage(color.s);
|
| 1498 |
+
color.v = convertToPercentage(color.v);
|
| 1499 |
+
rgb = hsvToRgb(color.h, color.s, color.v);
|
| 1500 |
+
ok = true;
|
| 1501 |
+
format = "hsv";
|
| 1502 |
+
} else if (color.hasOwnProperty("h") && color.hasOwnProperty("s") && color.hasOwnProperty("l")) {
|
| 1503 |
+
color.s = convertToPercentage(color.s);
|
| 1504 |
+
color.l = convertToPercentage(color.l);
|
| 1505 |
+
rgb = hslToRgb(color.h, color.s, color.l);
|
| 1506 |
+
ok = true;
|
| 1507 |
+
format = "hsl";
|
| 1508 |
+
}
|
| 1509 |
+
|
| 1510 |
+
if (color.hasOwnProperty("a")) {
|
| 1511 |
+
a = color.a;
|
| 1512 |
+
}
|
| 1513 |
+
}
|
| 1514 |
+
|
| 1515 |
+
a = boundAlpha(a);
|
| 1516 |
+
|
| 1517 |
+
return {
|
| 1518 |
+
ok: ok,
|
| 1519 |
+
format: color.format || format,
|
| 1520 |
+
r: mathMin(255, mathMax(rgb.r, 0)),
|
| 1521 |
+
g: mathMin(255, mathMax(rgb.g, 0)),
|
| 1522 |
+
b: mathMin(255, mathMax(rgb.b, 0)),
|
| 1523 |
+
a: a
|
| 1524 |
+
};
|
| 1525 |
+
}
|
| 1526 |
+
|
| 1527 |
+
|
| 1528 |
+
// Conversion Functions
|
| 1529 |
+
// --------------------
|
| 1530 |
+
|
| 1531 |
+
// `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
|
| 1532 |
+
// <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
|
| 1533 |
+
|
| 1534 |
+
// `rgbToRgb`
|
| 1535 |
+
// Handle bounds / percentage checking to conform to CSS color spec
|
| 1536 |
+
// <http://www.w3.org/TR/css3-color/>
|
| 1537 |
+
// *Assumes:* r, g, b in [0, 255] or [0, 1]
|
| 1538 |
+
// *Returns:* { r, g, b } in [0, 255]
|
| 1539 |
+
function rgbToRgb(r, g, b) {
|
| 1540 |
+
return {
|
| 1541 |
+
r: bound01(r, 255) * 255,
|
| 1542 |
+
g: bound01(g, 255) * 255,
|
| 1543 |
+
b: bound01(b, 255) * 255
|
| 1544 |
+
};
|
| 1545 |
+
}
|
| 1546 |
+
|
| 1547 |
+
// `rgbToHsl`
|
| 1548 |
+
// Converts an RGB color value to HSL.
|
| 1549 |
+
// *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
|
| 1550 |
+
// *Returns:* { h, s, l } in [0,1]
|
| 1551 |
+
function rgbToHsl(r, g, b) {
|
| 1552 |
+
|
| 1553 |
+
r = bound01(r, 255);
|
| 1554 |
+
g = bound01(g, 255);
|
| 1555 |
+
b = bound01(b, 255);
|
| 1556 |
+
|
| 1557 |
+
var max = mathMax(r, g, b),
|
| 1558 |
+
min = mathMin(r, g, b);
|
| 1559 |
+
var h, s, l = (max + min) / 2;
|
| 1560 |
+
|
| 1561 |
+
if (max == min) {
|
| 1562 |
+
h = s = 0; // achromatic
|
| 1563 |
+
} else {
|
| 1564 |
+
var d = max - min;
|
| 1565 |
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
| 1566 |
+
switch (max) {
|
| 1567 |
+
case r:
|
| 1568 |
+
h = (g - b) / d + (g < b ? 6 : 0);
|
| 1569 |
+
break;
|
| 1570 |
+
case g:
|
| 1571 |
+
h = (b - r) / d + 2;
|
| 1572 |
+
break;
|
| 1573 |
+
case b:
|
| 1574 |
+
h = (r - g) / d + 4;
|
| 1575 |
+
break;
|
| 1576 |
+
}
|
| 1577 |
+
|
| 1578 |
+
h /= 6;
|
| 1579 |
+
}
|
| 1580 |
+
|
| 1581 |
+
return { h: h, s: s, l: l };
|
| 1582 |
+
}
|
| 1583 |
+
|
| 1584 |
+
// `hslToRgb`
|
| 1585 |
+
// Converts an HSL color value to RGB.
|
| 1586 |
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
|
| 1587 |
+
// *Returns:* { r, g, b } in the set [0, 255]
|
| 1588 |
+
function hslToRgb(h, s, l) {
|
| 1589 |
+
var r, g, b;
|
| 1590 |
+
|
| 1591 |
+
h = bound01(h, 360);
|
| 1592 |
+
s = bound01(s, 100);
|
| 1593 |
+
l = bound01(l, 100);
|
| 1594 |
+
|
| 1595 |
+
function hue2rgb(p, q, t) {
|
| 1596 |
+
if (t < 0) t += 1;
|
| 1597 |
+
if (t > 1) t -= 1;
|
| 1598 |
+
if (t < 1 / 6) return p + (q - p) * 6 * t;
|
| 1599 |
+
if (t < 1 / 2) return q;
|
| 1600 |
+
if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;
|
| 1601 |
+
return p;
|
| 1602 |
+
}
|
| 1603 |
+
|
| 1604 |
+
if (s === 0) {
|
| 1605 |
+
r = g = b = l; // achromatic
|
| 1606 |
+
} else {
|
| 1607 |
+
var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
| 1608 |
+
var p = 2 * l - q;
|
| 1609 |
+
r = hue2rgb(p, q, h + 1 / 3);
|
| 1610 |
+
g = hue2rgb(p, q, h);
|
| 1611 |
+
b = hue2rgb(p, q, h - 1 / 3);
|
| 1612 |
+
}
|
| 1613 |
+
|
| 1614 |
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
| 1615 |
+
}
|
| 1616 |
+
|
| 1617 |
+
// `rgbToHsv`
|
| 1618 |
+
// Converts an RGB color value to HSV
|
| 1619 |
+
// *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
|
| 1620 |
+
// *Returns:* { h, s, v } in [0,1]
|
| 1621 |
+
function rgbToHsv(r, g, b) {
|
| 1622 |
+
|
| 1623 |
+
r = bound01(r, 255);
|
| 1624 |
+
g = bound01(g, 255);
|
| 1625 |
+
b = bound01(b, 255);
|
| 1626 |
+
|
| 1627 |
+
var max = mathMax(r, g, b),
|
| 1628 |
+
min = mathMin(r, g, b);
|
| 1629 |
+
var h, s, v = max;
|
| 1630 |
+
|
| 1631 |
+
var d = max - min;
|
| 1632 |
+
s = max === 0 ? 0 : d / max;
|
| 1633 |
+
|
| 1634 |
+
if (max == min) {
|
| 1635 |
+
h = 0; // achromatic
|
| 1636 |
+
} else {
|
| 1637 |
+
switch (max) {
|
| 1638 |
+
case r:
|
| 1639 |
+
h = (g - b) / d + (g < b ? 6 : 0);
|
| 1640 |
+
break;
|
| 1641 |
+
case g:
|
| 1642 |
+
h = (b - r) / d + 2;
|
| 1643 |
+
break;
|
| 1644 |
+
case b:
|
| 1645 |
+
h = (r - g) / d + 4;
|
| 1646 |
+
break;
|
| 1647 |
+
}
|
| 1648 |
+
h /= 6;
|
| 1649 |
+
}
|
| 1650 |
+
return { h: h, s: s, v: v };
|
| 1651 |
+
}
|
| 1652 |
+
|
| 1653 |
+
// `hsvToRgb`
|
| 1654 |
+
// Converts an HSV color value to RGB.
|
| 1655 |
+
// *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
|
| 1656 |
+
// *Returns:* { r, g, b } in the set [0, 255]
|
| 1657 |
+
function hsvToRgb(h, s, v) {
|
| 1658 |
+
|
| 1659 |
+
h = bound01(h, 360) * 6;
|
| 1660 |
+
s = bound01(s, 100);
|
| 1661 |
+
v = bound01(v, 100);
|
| 1662 |
+
|
| 1663 |
+
var i = math.floor(h),
|
| 1664 |
+
f = h - i,
|
| 1665 |
+
p = v * (1 - s),
|
| 1666 |
+
q = v * (1 - f * s),
|
| 1667 |
+
t = v * (1 - (1 - f) * s),
|
| 1668 |
+
mod = i % 6,
|
| 1669 |
+
r = [v, q, p, p, t, v][mod],
|
| 1670 |
+
g = [t, v, v, q, p, p][mod],
|
| 1671 |
+
b = [p, p, t, v, v, q][mod];
|
| 1672 |
+
|
| 1673 |
+
return { r: r * 255, g: g * 255, b: b * 255 };
|
| 1674 |
+
}
|
| 1675 |
+
|
| 1676 |
+
// `rgbToHex`
|
| 1677 |
+
// Converts an RGB color to hex
|
| 1678 |
+
// Assumes r, g, and b are contained in the set [0, 255]
|
| 1679 |
+
// Returns a 3 or 6 character hex
|
| 1680 |
+
function rgbToHex(r, g, b, allow3Char) {
|
| 1681 |
+
|
| 1682 |
+
var hex = [
|
| 1683 |
+
pad2(mathRound(r).toString(16)),
|
| 1684 |
+
pad2(mathRound(g).toString(16)),
|
| 1685 |
+
pad2(mathRound(b).toString(16))
|
| 1686 |
+
];
|
| 1687 |
+
|
| 1688 |
+
// Return a 3 character hex if possible
|
| 1689 |
+
if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
|
| 1690 |
+
return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
|
| 1691 |
+
}
|
| 1692 |
+
|
| 1693 |
+
return hex.join("");
|
| 1694 |
+
}
|
| 1695 |
+
// `rgbaToHex`
|
| 1696 |
+
// Converts an RGBA color plus alpha transparency to hex
|
| 1697 |
+
// Assumes r, g, b and a are contained in the set [0, 255]
|
| 1698 |
+
// Returns an 8 character hex
|
| 1699 |
+
function rgbaToHex(r, g, b, a) {
|
| 1700 |
+
|
| 1701 |
+
var hex = [
|
| 1702 |
+
pad2(convertDecimalToHex(a)),
|
| 1703 |
+
pad2(mathRound(r).toString(16)),
|
| 1704 |
+
pad2(mathRound(g).toString(16)),
|
| 1705 |
+
pad2(mathRound(b).toString(16))
|
| 1706 |
+
];
|
| 1707 |
+
|
| 1708 |
+
return hex.join("");
|
| 1709 |
+
}
|
| 1710 |
+
|
| 1711 |
+
// `equals`
|
| 1712 |
+
// Can be called with any tinycolor input
|
| 1713 |
+
tinycolor.equals = function(color1, color2) {
|
| 1714 |
+
if (!color1 || !color2) { return false; }
|
| 1715 |
+
return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
|
| 1716 |
+
};
|
| 1717 |
+
tinycolor.random = function() {
|
| 1718 |
+
return tinycolor.fromRatio({
|
| 1719 |
+
r: mathRandom(),
|
| 1720 |
+
g: mathRandom(),
|
| 1721 |
+
b: mathRandom()
|
| 1722 |
+
});
|
| 1723 |
+
};
|
| 1724 |
+
|
| 1725 |
+
|
| 1726 |
+
// Modification Functions
|
| 1727 |
+
// ----------------------
|
| 1728 |
+
// Thanks to less.js for some of the basics here
|
| 1729 |
+
// <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
|
| 1730 |
+
|
| 1731 |
+
function desaturate(color, amount) {
|
| 1732 |
+
amount = (amount === 0) ? 0 : (amount || 10);
|
| 1733 |
+
var hsl = tinycolor(color).toHsl();
|
| 1734 |
+
hsl.s -= amount / 100;
|
| 1735 |
+
hsl.s = clamp01(hsl.s);
|
| 1736 |
+
return tinycolor(hsl);
|
| 1737 |
+
}
|
| 1738 |
+
|
| 1739 |
+
function saturate(color, amount) {
|
| 1740 |
+
amount = (amount === 0) ? 0 : (amount || 10);
|
| 1741 |
+
var hsl = tinycolor(color).toHsl();
|
| 1742 |
+
hsl.s += amount / 100;
|
| 1743 |
+
hsl.s = clamp01(hsl.s);
|
| 1744 |
+
return tinycolor(hsl);
|
| 1745 |
+
}
|
| 1746 |
+
|
| 1747 |
+
function greyscale(color) {
|
| 1748 |
+
return tinycolor(color).desaturate(100);
|
| 1749 |
+
}
|
| 1750 |
+
|
| 1751 |
+
function lighten(color, amount) {
|
| 1752 |
+
amount = (amount === 0) ? 0 : (amount || 10);
|
| 1753 |
+
var hsl = tinycolor(color).toHsl();
|
| 1754 |
+
hsl.l += amount / 100;
|
| 1755 |
+
hsl.l = clamp01(hsl.l);
|
| 1756 |
+
return tinycolor(hsl);
|
| 1757 |
+
}
|
| 1758 |
+
|
| 1759 |
+
function brighten(color, amount) {
|
| 1760 |
+
amount = (amount === 0) ? 0 : (amount || 10);
|
| 1761 |
+
var rgb = tinycolor(color).toRgb();
|
| 1762 |
+
rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * -(amount / 100))));
|
| 1763 |
+
rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * -(amount / 100))));
|
| 1764 |
+
rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * -(amount / 100))));
|
| 1765 |
+
return tinycolor(rgb);
|
| 1766 |
+
}
|
| 1767 |
+
|
| 1768 |
+
function darken(color, amount) {
|
| 1769 |
+
amount = (amount === 0) ? 0 : (amount || 10);
|
| 1770 |
+
var hsl = tinycolor(color).toHsl();
|
| 1771 |
+
hsl.l -= amount / 100;
|
| 1772 |
+
hsl.l = clamp01(hsl.l);
|
| 1773 |
+
return tinycolor(hsl);
|
| 1774 |
+
}
|
| 1775 |
+
|
| 1776 |
+
// Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.
|
| 1777 |
+
// Values outside of this range will be wrapped into this range.
|
| 1778 |
+
function spin(color, amount) {
|
| 1779 |
+
var hsl = tinycolor(color).toHsl();
|
| 1780 |
+
var hue = (mathRound(hsl.h) + amount) % 360;
|
| 1781 |
+
hsl.h = hue < 0 ? 360 + hue : hue;
|
| 1782 |
+
return tinycolor(hsl);
|
| 1783 |
+
}
|
| 1784 |
+
|
| 1785 |
+
// Combination Functions
|
| 1786 |
+
// ---------------------
|
| 1787 |
+
// Thanks to jQuery xColor for some of the ideas behind these
|
| 1788 |
+
// <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
|
| 1789 |
+
|
| 1790 |
+
function complement(color) {
|
| 1791 |
+
var hsl = tinycolor(color).toHsl();
|
| 1792 |
+
hsl.h = (hsl.h + 180) % 360;
|
| 1793 |
+
return tinycolor(hsl);
|
| 1794 |
+
}
|
| 1795 |
+
|
| 1796 |
+
function triad(color) {
|
| 1797 |
+
var hsl = tinycolor(color).toHsl();
|
| 1798 |
+
var h = hsl.h;
|
| 1799 |
+
return [
|
| 1800 |
+
tinycolor(color),
|
| 1801 |
+
tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
|
| 1802 |
+
tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
|
| 1803 |
+
];
|
| 1804 |
+
}
|
| 1805 |
+
|
| 1806 |
+
function tetrad(color) {
|
| 1807 |
+
var hsl = tinycolor(color).toHsl();
|
| 1808 |
+
var h = hsl.h;
|
| 1809 |
+
return [
|
| 1810 |
+
tinycolor(color),
|
| 1811 |
+
tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
|
| 1812 |
+
tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
|
| 1813 |
+
tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
|
| 1814 |
+
];
|
| 1815 |
+
}
|
| 1816 |
+
|
| 1817 |
+
function splitcomplement(color) {
|
| 1818 |
+
var hsl = tinycolor(color).toHsl();
|
| 1819 |
+
var h = hsl.h;
|
| 1820 |
+
return [
|
| 1821 |
+
tinycolor(color),
|
| 1822 |
+
tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),
|
| 1823 |
+
tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l })
|
| 1824 |
+
];
|
| 1825 |
+
}
|
| 1826 |
+
|
| 1827 |
+
function analogous(color, results, slices) {
|
| 1828 |
+
results = results || 6;
|
| 1829 |
+
slices = slices || 30;
|
| 1830 |
+
|
| 1831 |
+
var hsl = tinycolor(color).toHsl();
|
| 1832 |
+
var part = 360 / slices;
|
| 1833 |
+
var ret = [tinycolor(color)];
|
| 1834 |
+
|
| 1835 |
+
for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results;) {
|
| 1836 |
+
hsl.h = (hsl.h + part) % 360;
|
| 1837 |
+
ret.push(tinycolor(hsl));
|
| 1838 |
+
}
|
| 1839 |
+
return ret;
|
| 1840 |
+
}
|
| 1841 |
+
|
| 1842 |
+
function monochromatic(color, results) {
|
| 1843 |
+
results = results || 6;
|
| 1844 |
+
var hsv = tinycolor(color).toHsv();
|
| 1845 |
+
var h = hsv.h,
|
| 1846 |
+
s = hsv.s,
|
| 1847 |
+
v = hsv.v;
|
| 1848 |
+
var ret = [];
|
| 1849 |
+
var modification = 1 / results;
|
| 1850 |
+
|
| 1851 |
+
while (results--) {
|
| 1852 |
+
ret.push(tinycolor({ h: h, s: s, v: v }));
|
| 1853 |
+
v = (v + modification) % 1;
|
| 1854 |
+
}
|
| 1855 |
+
|
| 1856 |
+
return ret;
|
| 1857 |
+
}
|
| 1858 |
+
|
| 1859 |
+
// Utility Functions
|
| 1860 |
+
// ---------------------
|
| 1861 |
+
|
| 1862 |
+
tinycolor.mix = function(color1, color2, amount) {
|
| 1863 |
+
amount = (amount === 0) ? 0 : (amount || 50);
|
| 1864 |
+
|
| 1865 |
+
var rgb1 = tinycolor(color1).toRgb();
|
| 1866 |
+
var rgb2 = tinycolor(color2).toRgb();
|
| 1867 |
+
|
| 1868 |
+
var p = amount / 100;
|
| 1869 |
+
var w = p * 2 - 1;
|
| 1870 |
+
var a = rgb2.a - rgb1.a;
|
| 1871 |
+
|
| 1872 |
+
var w1;
|
| 1873 |
+
|
| 1874 |
+
if (w * a == -1) {
|
| 1875 |
+
w1 = w;
|
| 1876 |
+
} else {
|
| 1877 |
+
w1 = (w + a) / (1 + w * a);
|
| 1878 |
+
}
|
| 1879 |
+
|
| 1880 |
+
w1 = (w1 + 1) / 2;
|
| 1881 |
+
|
| 1882 |
+
var w2 = 1 - w1;
|
| 1883 |
+
|
| 1884 |
+
var rgba = {
|
| 1885 |
+
r: rgb2.r * w1 + rgb1.r * w2,
|
| 1886 |
+
g: rgb2.g * w1 + rgb1.g * w2,
|
| 1887 |
+
b: rgb2.b * w1 + rgb1.b * w2,
|
| 1888 |
+
a: rgb2.a * p + rgb1.a * (1 - p)
|
| 1889 |
+
};
|
| 1890 |
+
|
| 1891 |
+
return tinycolor(rgba);
|
| 1892 |
+
};
|
| 1893 |
+
|
| 1894 |
+
|
| 1895 |
+
// Readability Functions
|
| 1896 |
+
// ---------------------
|
| 1897 |
+
// <http://www.w3.org/TR/AERT#color-contrast>
|
| 1898 |
+
|
| 1899 |
+
// `readability`
|
| 1900 |
+
// Analyze the 2 colors and returns an object with the following properties:
|
| 1901 |
+
// `brightness`: difference in brightness between the two colors
|
| 1902 |
+
// `color`: difference in color/hue between the two colors
|
| 1903 |
+
tinycolor.readability = function(color1, color2) {
|
| 1904 |
+
var c1 = tinycolor(color1);
|
| 1905 |
+
var c2 = tinycolor(color2);
|
| 1906 |
+
var rgb1 = c1.toRgb();
|
| 1907 |
+
var rgb2 = c2.toRgb();
|
| 1908 |
+
var brightnessA = c1.getBrightness();
|
| 1909 |
+
var brightnessB = c2.getBrightness();
|
| 1910 |
+
var colorDiff = (
|
| 1911 |
+
Math.max(rgb1.r, rgb2.r) - Math.min(rgb1.r, rgb2.r) +
|
| 1912 |
+
Math.max(rgb1.g, rgb2.g) - Math.min(rgb1.g, rgb2.g) +
|
| 1913 |
+
Math.max(rgb1.b, rgb2.b) - Math.min(rgb1.b, rgb2.b)
|
| 1914 |
+
);
|
| 1915 |
+
|
| 1916 |
+
return {
|
| 1917 |
+
brightness: Math.abs(brightnessA - brightnessB),
|
| 1918 |
+
color: colorDiff
|
| 1919 |
+
};
|
| 1920 |
+
};
|
| 1921 |
+
|
| 1922 |
+
// `readable`
|
| 1923 |
+
// http://www.w3.org/TR/AERT#color-contrast
|
| 1924 |
+
// Ensure that foreground and background color combinations provide sufficient contrast.
|
| 1925 |
+
// *Example*
|
| 1926 |
+
// tinycolor.isReadable("#000", "#111") => false
|
| 1927 |
+
tinycolor.isReadable = function(color1, color2) {
|
| 1928 |
+
var readability = tinycolor.readability(color1, color2);
|
| 1929 |
+
return readability.brightness > 125 && readability.color > 500;
|
| 1930 |
+
};
|
| 1931 |
+
|
| 1932 |
+
// `mostReadable`
|
| 1933 |
+
// Given a base color and a list of possible foreground or background
|
| 1934 |
+
// colors for that base, returns the most readable color.
|
| 1935 |
+
// *Example*
|
| 1936 |
+
// tinycolor.mostReadable("#123", ["#fff", "#000"]) => "#000"
|
| 1937 |
+
tinycolor.mostReadable = function(baseColor, colorList) {
|
| 1938 |
+
var bestColor = null;
|
| 1939 |
+
var bestScore = 0;
|
| 1940 |
+
var bestIsReadable = false;
|
| 1941 |
+
for (var i = 0; i < colorList.length; i++) {
|
| 1942 |
+
|
| 1943 |
+
// We normalize both around the "acceptable" breaking point,
|
| 1944 |
+
// but rank brightness constrast higher than hue.
|
| 1945 |
+
|
| 1946 |
+
var readability = tinycolor.readability(baseColor, colorList[i]);
|
| 1947 |
+
var readable = readability.brightness > 125 && readability.color > 500;
|
| 1948 |
+
var score = 3 * (readability.brightness / 125) + (readability.color / 500);
|
| 1949 |
+
|
| 1950 |
+
if ((readable && !bestIsReadable) ||
|
| 1951 |
+
(readable && bestIsReadable && score > bestScore) ||
|
| 1952 |
+
((!readable) && (!bestIsReadable) && score > bestScore)) {
|
| 1953 |
+
bestIsReadable = readable;
|
| 1954 |
+
bestScore = score;
|
| 1955 |
+
bestColor = tinycolor(colorList[i]);
|
| 1956 |
+
}
|
| 1957 |
+
}
|
| 1958 |
+
return bestColor;
|
| 1959 |
+
};
|
| 1960 |
+
|
| 1961 |
+
|
| 1962 |
+
// Big List of Colors
|
| 1963 |
+
// ------------------
|
| 1964 |
+
// <http://www.w3.org/TR/css3-color/#svg-color>
|
| 1965 |
+
var names = tinycolor.names = {
|
| 1966 |
+
aliceblue: "f0f8ff",
|
| 1967 |
+
antiquewhite: "faebd7",
|
| 1968 |
+
aqua: "0ff",
|
| 1969 |
+
aquamarine: "7fffd4",
|
| 1970 |
+
azure: "f0ffff",
|
| 1971 |
+
beige: "f5f5dc",
|
| 1972 |
+
bisque: "ffe4c4",
|
| 1973 |
+
black: "000",
|
| 1974 |
+
blanchedalmond: "ffebcd",
|
| 1975 |
+
blue: "00f",
|
| 1976 |
+
blueviolet: "8a2be2",
|
| 1977 |
+
brown: "a52a2a",
|
| 1978 |
+
burlywood: "deb887",
|
| 1979 |
+
burntsienna: "ea7e5d",
|
| 1980 |
+
cadetblue: "5f9ea0",
|
| 1981 |
+
chartreuse: "7fff00",
|
| 1982 |
+
chocolate: "d2691e",
|
| 1983 |
+
coral: "ff7f50",
|
| 1984 |
+
cornflowerblue: "6495ed",
|
| 1985 |
+
cornsilk: "fff8dc",
|
| 1986 |
+
crimson: "dc143c",
|
| 1987 |
+
cyan: "0ff",
|
| 1988 |
+
darkblue: "00008b",
|
| 1989 |
+
darkcyan: "008b8b",
|
| 1990 |
+
darkgoldenrod: "b8860b",
|
| 1991 |
+
darkgray: "a9a9a9",
|
| 1992 |
+
darkgreen: "006400",
|
| 1993 |
+
darkgrey: "a9a9a9",
|
| 1994 |
+
darkkhaki: "bdb76b",
|
| 1995 |
+
darkmagenta: "8b008b",
|
| 1996 |
+
darkolivegreen: "556b2f",
|
| 1997 |
+
darkorange: "ff8c00",
|
| 1998 |
+
darkorchid: "9932cc",
|
| 1999 |
+
darkred: "8b0000",
|
| 2000 |
+
darksalmon: "e9967a",
|
| 2001 |
+
darkseagreen: "8fbc8f",
|
| 2002 |
+
darkslateblue: "483d8b",
|
| 2003 |
+
darkslategray: "2f4f4f",
|
| 2004 |
+
darkslategrey: "2f4f4f",
|
| 2005 |
+
darkturquoise: "00ced1",
|
| 2006 |
+
darkviolet: "9400d3",
|
| 2007 |
+
deeppink: "ff1493",
|
| 2008 |
+
deepskyblue: "00bfff",
|
| 2009 |
+
dimgray: "696969",
|
| 2010 |
+
dimgrey: "696969",
|
| 2011 |
+
dodgerblue: "1e90ff",
|
| 2012 |
+
firebrick: "b22222",
|
| 2013 |
+
floralwhite: "fffaf0",
|
| 2014 |
+
forestgreen: "228b22",
|
| 2015 |
+
fuchsia: "f0f",
|
| 2016 |
+
gainsboro: "dcdcdc",
|
| 2017 |
+
ghostwhite: "f8f8ff",
|
| 2018 |
+
gold: "ffd700",
|
| 2019 |
+
goldenrod: "daa520",
|
| 2020 |
+
gray: "808080",
|
| 2021 |
+
green: "008000",
|
| 2022 |
+
greenyellow: "adff2f",
|
| 2023 |
+
grey: "808080",
|
| 2024 |
+
honeydew: "f0fff0",
|
| 2025 |
+
hotpink: "ff69b4",
|
| 2026 |
+
indianred: "cd5c5c",
|
| 2027 |
+
indigo: "4b0082",
|
| 2028 |
+
ivory: "fffff0",
|
| 2029 |
+
khaki: "f0e68c",
|
| 2030 |
+
lavender: "e6e6fa",
|
| 2031 |
+
lavenderblush: "fff0f5",
|
| 2032 |
+
lawngreen: "7cfc00",
|
| 2033 |
+
lemonchiffon: "fffacd",
|
| 2034 |
+
lightblue: "add8e6",
|
| 2035 |
+
lightcoral: "f08080",
|
| 2036 |
+
lightcyan: "e0ffff",
|
| 2037 |
+
lightgoldenrodyellow: "fafad2",
|
| 2038 |
+
lightgray: "d3d3d3",
|
| 2039 |
+
lightgreen: "90ee90",
|
| 2040 |
+
lightgrey: "d3d3d3",
|
| 2041 |
+
lightpink: "ffb6c1",
|
| 2042 |
+
lightsalmon: "ffa07a",
|
| 2043 |
+
lightseagreen: "20b2aa",
|
| 2044 |
+
lightskyblue: "87cefa",
|
| 2045 |
+
lightslategray: "789",
|
| 2046 |
+
lightslategrey: "789",
|
| 2047 |
+
lightsteelblue: "b0c4de",
|
| 2048 |
+
lightyellow: "ffffe0",
|
| 2049 |
+
lime: "0f0",
|
| 2050 |
+
limegreen: "32cd32",
|
| 2051 |
+
linen: "faf0e6",
|
| 2052 |
+
magenta: "f0f",
|
| 2053 |
+
maroon: "800000",
|
| 2054 |
+
mediumaquamarine: "66cdaa",
|
| 2055 |
+
mediumblue: "0000cd",
|
| 2056 |
+
mediumorchid: "ba55d3",
|
| 2057 |
+
mediumpurple: "9370db",
|
| 2058 |
+
mediumseagreen: "3cb371",
|
| 2059 |
+
mediumslateblue: "7b68ee",
|
| 2060 |
+
mediumspringgreen: "00fa9a",
|
| 2061 |
+
mediumturquoise: "48d1cc",
|
| 2062 |
+
mediumvioletred: "c71585",
|
| 2063 |
+
midnightblue: "191970",
|
| 2064 |
+
mintcream: "f5fffa",
|
| 2065 |
+
mistyrose: "ffe4e1",
|
| 2066 |
+
moccasin: "ffe4b5",
|
| 2067 |
+
navajowhite: "ffdead",
|
| 2068 |
+
navy: "000080",
|
| 2069 |
+
oldlace: "fdf5e6",
|
| 2070 |
+
olive: "808000",
|
| 2071 |
+
olivedrab: "6b8e23",
|
| 2072 |
+
orange: "ffa500",
|
| 2073 |
+
orangered: "ff4500",
|
| 2074 |
+
orchid: "da70d6",
|
| 2075 |
+
palegoldenrod: "eee8aa",
|
| 2076 |
+
palegreen: "98fb98",
|
| 2077 |
+
paleturquoise: "afeeee",
|
| 2078 |
+
palevioletred: "db7093",
|
| 2079 |
+
papayawhip: "ffefd5",
|
| 2080 |
+
peachpuff: "ffdab9",
|
| 2081 |
+
peru: "cd853f",
|
| 2082 |
+
pink: "ffc0cb",
|
| 2083 |
+
plum: "dda0dd",
|
| 2084 |
+
powderblue: "b0e0e6",
|
| 2085 |
+
purple: "800080",
|
| 2086 |
+
rebeccapurple: "663399",
|
| 2087 |
+
red: "f00",
|
| 2088 |
+
rosybrown: "bc8f8f",
|
| 2089 |
+
royalblue: "4169e1",
|
| 2090 |
+
saddlebrown: "8b4513",
|
| 2091 |
+
salmon: "fa8072",
|
| 2092 |
+
sandybrown: "f4a460",
|
| 2093 |
+
seagreen: "2e8b57",
|
| 2094 |
+
seashell: "fff5ee",
|
| 2095 |
+
sienna: "a0522d",
|
| 2096 |
+
silver: "c0c0c0",
|
| 2097 |
+
skyblue: "87ceeb",
|
| 2098 |
+
slateblue: "6a5acd",
|
| 2099 |
+
slategray: "708090",
|
| 2100 |
+
slategrey: "708090",
|
| 2101 |
+
snow: "fffafa",
|
| 2102 |
+
springgreen: "00ff7f",
|
| 2103 |
+
steelblue: "4682b4",
|
| 2104 |
+
tan: "d2b48c",
|
| 2105 |
+
teal: "008080",
|
| 2106 |
+
thistle: "d8bfd8",
|
| 2107 |
+
tomato: "ff6347",
|
| 2108 |
+
turquoise: "40e0d0",
|
| 2109 |
+
violet: "ee82ee",
|
| 2110 |
+
wheat: "f5deb3",
|
| 2111 |
+
white: "fff",
|
| 2112 |
+
whitesmoke: "f5f5f5",
|
| 2113 |
+
yellow: "ff0",
|
| 2114 |
+
yellowgreen: "9acd32"
|
| 2115 |
+
};
|
| 2116 |
+
|
| 2117 |
+
// Make it easy to access colors via `hexNames[hex]`
|
| 2118 |
+
var hexNames = tinycolor.hexNames = flip(names);
|
| 2119 |
+
|
| 2120 |
+
|
| 2121 |
+
// Utilities
|
| 2122 |
+
// ---------
|
| 2123 |
+
|
| 2124 |
+
// `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
|
| 2125 |
+
function flip(o) {
|
| 2126 |
+
var flipped = {};
|
| 2127 |
+
for (var i in o) {
|
| 2128 |
+
if (o.hasOwnProperty(i)) {
|
| 2129 |
+
flipped[o[i]] = i;
|
| 2130 |
+
}
|
| 2131 |
+
}
|
| 2132 |
+
return flipped;
|
| 2133 |
+
}
|
| 2134 |
+
|
| 2135 |
+
// Return a valid alpha value [0,1] with all invalid values being set to 1
|
| 2136 |
+
function boundAlpha(a) {
|
| 2137 |
+
a = parseFloat(a);
|
| 2138 |
+
|
| 2139 |
+
if (isNaN(a) || a < 0 || a > 1) {
|
| 2140 |
+
a = 1;
|
| 2141 |
+
}
|
| 2142 |
+
|
| 2143 |
+
return a;
|
| 2144 |
+
}
|
| 2145 |
+
|
| 2146 |
+
// Take input from [0, n] and return it as [0, 1]
|
| 2147 |
+
function bound01(n, max) {
|
| 2148 |
+
if (isOnePointZero(n)) { n = "100%"; }
|
| 2149 |
+
|
| 2150 |
+
var processPercent = isPercentage(n);
|
| 2151 |
+
n = mathMin(max, mathMax(0, parseFloat(n)));
|
| 2152 |
+
|
| 2153 |
+
// Automatically convert percentage into number
|
| 2154 |
+
if (processPercent) {
|
| 2155 |
+
n = parseInt(n * max, 10) / 100;
|
| 2156 |
+
}
|
| 2157 |
+
|
| 2158 |
+
// Handle floating point rounding errors
|
| 2159 |
+
if ((math.abs(n - max) < 0.000001)) {
|
| 2160 |
+
return 1;
|
| 2161 |
+
}
|
| 2162 |
+
|
| 2163 |
+
// Convert into [0, 1] range if it isn't already
|
| 2164 |
+
return (n % max) / parseFloat(max);
|
| 2165 |
+
}
|
| 2166 |
+
|
| 2167 |
+
// Force a number between 0 and 1
|
| 2168 |
+
function clamp01(val) {
|
| 2169 |
+
return mathMin(1, mathMax(0, val));
|
| 2170 |
+
}
|
| 2171 |
+
|
| 2172 |
+
// Parse a base-16 hex value into a base-10 integer
|
| 2173 |
+
function parseIntFromHex(val) {
|
| 2174 |
+
return parseInt(val, 16);
|
| 2175 |
+
}
|
| 2176 |
+
|
| 2177 |
+
// Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
|
| 2178 |
+
// <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
|
| 2179 |
+
function isOnePointZero(n) {
|
| 2180 |
+
return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
|
| 2181 |
+
}
|
| 2182 |
+
|
| 2183 |
+
// Check to see if string passed in is a percentage
|
| 2184 |
+
function isPercentage(n) {
|
| 2185 |
+
return typeof n === "string" && n.indexOf('%') != -1;
|
| 2186 |
+
}
|
| 2187 |
+
|
| 2188 |
+
// Force a hex value to have 2 characters
|
| 2189 |
+
function pad2(c) {
|
| 2190 |
+
return c.length == 1 ? '0' + c : '' + c;
|
| 2191 |
+
}
|
| 2192 |
+
|
| 2193 |
+
// Replace a decimal with it's percentage value
|
| 2194 |
+
function convertToPercentage(n) {
|
| 2195 |
+
if (n <= 1) {
|
| 2196 |
+
n = (n * 100) + "%";
|
| 2197 |
+
}
|
| 2198 |
+
|
| 2199 |
+
return n;
|
| 2200 |
+
}
|
| 2201 |
+
|
| 2202 |
+
// Converts a decimal to a hex value
|
| 2203 |
+
function convertDecimalToHex(d) {
|
| 2204 |
+
return Math.round(parseFloat(d) * 255).toString(16);
|
| 2205 |
+
}
|
| 2206 |
+
// Converts a hex value to a decimal
|
| 2207 |
+
function convertHexToDecimal(h) {
|
| 2208 |
+
return (parseIntFromHex(h) / 255);
|
| 2209 |
+
}
|
| 2210 |
+
|
| 2211 |
+
var matchers = (function() {
|
| 2212 |
+
|
| 2213 |
+
// <http://www.w3.org/TR/css3-values/#integers>
|
| 2214 |
+
var CSS_INTEGER = "[-\\+]?\\d+%?";
|
| 2215 |
+
|
| 2216 |
+
// <http://www.w3.org/TR/css3-values/#number-value>
|
| 2217 |
+
var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
|
| 2218 |
+
|
| 2219 |
+
// Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
|
| 2220 |
+
var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
|
| 2221 |
+
|
| 2222 |
+
// Actual matching.
|
| 2223 |
+
// Parentheses and commas are optional, but not required.
|
| 2224 |
+
// Whitespace can take the place of commas or opening paren
|
| 2225 |
+
var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
| 2226 |
+
var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
|
| 2227 |
+
|
| 2228 |
+
return {
|
| 2229 |
+
rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
|
| 2230 |
+
rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
|
| 2231 |
+
hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
|
| 2232 |
+
hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
|
| 2233 |
+
hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
|
| 2234 |
+
hsva: new RegExp("hsva" + PERMISSIVE_MATCH4),
|
| 2235 |
+
hex3: /^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
| 2236 |
+
hex6: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
| 2237 |
+
hex8: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
| 2238 |
+
};
|
| 2239 |
+
})();
|
| 2240 |
+
|
| 2241 |
+
// `stringInputToObject`
|
| 2242 |
+
// Permissive string parsing. Take in a number of formats, and output an object
|
| 2243 |
+
// based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
|
| 2244 |
+
function stringInputToObject(color) {
|
| 2245 |
+
|
| 2246 |
+
color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase();
|
| 2247 |
+
var named = false;
|
| 2248 |
+
if (names[color]) {
|
| 2249 |
+
color = names[color];
|
| 2250 |
+
named = true;
|
| 2251 |
+
} else if (color == 'transparent') {
|
| 2252 |
+
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
| 2253 |
+
}
|
| 2254 |
+
|
| 2255 |
+
// Try to match string input using regular expressions.
|
| 2256 |
+
// Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
|
| 2257 |
+
// Just return an object and let the conversion functions handle that.
|
| 2258 |
+
// This way the result will be the same whether the tinycolor is initialized with string or object.
|
| 2259 |
+
var match;
|
| 2260 |
+
if ((match = matchers.rgb.exec(color))) {
|
| 2261 |
+
return { r: match[1], g: match[2], b: match[3] };
|
| 2262 |
+
}
|
| 2263 |
+
if ((match = matchers.rgba.exec(color))) {
|
| 2264 |
+
return { r: match[1], g: match[2], b: match[3], a: match[4] };
|
| 2265 |
+
}
|
| 2266 |
+
if ((match = matchers.hsl.exec(color))) {
|
| 2267 |
+
return { h: match[1], s: match[2], l: match[3] };
|
| 2268 |
+
}
|
| 2269 |
+
if ((match = matchers.hsla.exec(color))) {
|
| 2270 |
+
return { h: match[1], s: match[2], l: match[3], a: match[4] };
|
| 2271 |
+
}
|
| 2272 |
+
if ((match = matchers.hsv.exec(color))) {
|
| 2273 |
+
return { h: match[1], s: match[2], v: match[3] };
|
| 2274 |
+
}
|
| 2275 |
+
if ((match = matchers.hsva.exec(color))) {
|
| 2276 |
+
return { h: match[1], s: match[2], v: match[3], a: match[4] };
|
| 2277 |
+
}
|
| 2278 |
+
if ((match = matchers.hex8.exec(color))) {
|
| 2279 |
+
return {
|
| 2280 |
+
a: convertHexToDecimal(match[1]),
|
| 2281 |
+
r: parseIntFromHex(match[2]),
|
| 2282 |
+
g: parseIntFromHex(match[3]),
|
| 2283 |
+
b: parseIntFromHex(match[4]),
|
| 2284 |
+
format: named ? "name" : "hex8"
|
| 2285 |
+
};
|
| 2286 |
+
}
|
| 2287 |
+
if ((match = matchers.hex6.exec(color))) {
|
| 2288 |
+
return {
|
| 2289 |
+
r: parseIntFromHex(match[1]),
|
| 2290 |
+
g: parseIntFromHex(match[2]),
|
| 2291 |
+
b: parseIntFromHex(match[3]),
|
| 2292 |
+
format: named ? "name" : "hex"
|
| 2293 |
+
};
|
| 2294 |
+
}
|
| 2295 |
+
if ((match = matchers.hex3.exec(color))) {
|
| 2296 |
+
return {
|
| 2297 |
+
r: parseIntFromHex(match[1] + '' + match[1]),
|
| 2298 |
+
g: parseIntFromHex(match[2] + '' + match[2]),
|
| 2299 |
+
b: parseIntFromHex(match[3] + '' + match[3]),
|
| 2300 |
+
format: named ? "name" : "hex"
|
| 2301 |
+
};
|
| 2302 |
+
}
|
| 2303 |
+
|
| 2304 |
+
return false;
|
| 2305 |
+
}
|
| 2306 |
+
|
| 2307 |
+
window.tinycolor = tinycolor;
|
| 2308 |
+
})();
|
| 2309 |
+
|
| 2310 |
+
$(function() {
|
| 2311 |
+
if ($.fn.spectrum.load) {
|
| 2312 |
+
$.fn.spectrum.processNativeColorInputs();
|
| 2313 |
+
}
|
| 2314 |
+
});
|
| 2315 |
+
|
| 2316 |
+
});
|
assets/admin/js/sublime.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/edit/matchbrackets")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/edit/matchbrackets"],e):e(CodeMirror)}(function(e){"use strict";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy(function(o){return t.display.shift||t.doc.extend||o.empty()?function(t,r,o){if(o<0&&0==r.ch)return t.clipPos(n(r.line-1));var i=t.getLine(r.line);if(o>0&&r.ch>=i.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=o<0?0:i.length,u=0;c!=f;c+=o,u++){var d=i.charAt(o<0?c-1:c),m="_"!=d&&e.isWordChar(d)?"w":"o";if("w"==m&&d.toUpperCase()==d&&(m="W"),"start"==a)"o"!=m?(a="in",l=m):s=c+o;else if("in"==a&&l!=m){if("w"==l&&"W"==m&&o<0&&c--,"W"==l&&"w"==m&&o>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}(t.doc,o.head,r):r<0?o.from():o.to()})}function o(t,r){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,o=[],i=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=i)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),o.push({head:s,anchor:s}),i=a.line+1}}t.setSelections(o)}),t.execCommand("indentAuto")}function i(t,r){for(var o=r.ch,i=o,l=t.getLine(r.line);o&&e.isWordChar(l.charAt(o-1));)--o;for(;i<l.length&&e.isWordChar(l.charAt(i));)++i;return{from:n(r.line,o),to:n(r.line,i),word:l.slice(o,i)}}function l(e,t){for(var n=e.listSelections(),r=[],o=0;o<n.length;o++){var i=n[o],l=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),a=e.findPosV(i.head,t,"line",i.head.goalColumn);l.goalColumn=null!=i.anchor.goalColumn?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,a.goalColumn=null!=i.head.goalColumn?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var s={anchor:l,head:a};r.push(i),r.push(s)}e.setSelections(r)}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++)for(var i=t[o].from(),l=t[o].to(),a=i.line;a<=l.line;++a)l.line>i.line&&a==l.line&&0==l.ch||r.push({anchor:a==i.line?i:n(a,0),head:a==l.line?l:n(a)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){var i=t[o];r.push({anchor:n(i.from().line,0),head:n(i.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return o(e,!1)},t.insertLineBefore=function(e){return o(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor("from"),o=t.getCursor("to"),l=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,o)){var a=i(t,r);if(!a.word)return;t.setSelection(a.from,a.to),l=!0}else{var s=t.getRange(r,o),c=l?new RegExp("\\b"+s+"\\b"):s,f=t.getSearchCursor(c,o),u=f.findNext();if(u||(u=(f=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!u||function(t,n,r){for(var o=0;o<t.length;o++)if(0==e.cmpPos(t[o].from(),n)&&0==e.cmpPos(t[o].to(),r))return!0;return!1}(t.listSelections(),f.from(),f.to()))return;t.addSelection(f.from(),f.to())}l&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),o=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,o)&&n.doc.setSelections(n.doc.listSelections().filter(function(e){return e.anchor!=r||e.head!=o}))},t.addCursorToPrevLine=function(e){l(e,-1)},t.addCursorToNextLine=function(e){l(e,1)};var a="(){}[]";function s(t){for(var r=t.listSelections(),o=[],i=0;i<r.length;i++){var l=r[i],s=l.head,c=t.scanForBracket(s,-1);if(!c)return!1;for(;;){var f=t.scanForBracket(s,1);if(!f)return!1;if(f.ch==a.charAt(a.indexOf(c.ch)+1)){var u=n(c.pos.line,c.pos.ch+1);if(0!=e.cmpPos(u,l.from())||0!=e.cmpPos(f.pos,l.to())){o.push({anchor:u,head:f.pos});break}if(!(c=t.scanForBracket(c.pos,-1)))return!1}s=n(f.pos.line,f.pos.ch+1)}}return t.setSelections(o),!0}function c(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function f(t,r,o){if(t.isReadOnly())return e.Pass;for(var i,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,u=c.to().line;s<l.length-1&&l[s+1].from().line==u;)u=l[++s].to().line;l[s].to().ch||u--,a.push(f,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation(function(){for(var e=[],l=0;l<a.length;l+=2){var s=a[l],c=a[l+1],f=n(s,0),u=n(c),d=t.getRange(f,u,!1);r?d.sort(function(e,t){return e<t?-o:e==t?0:o}):d.sort(function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-o:e==t?0:o}),t.replaceRange(d,f,u),i&&e.push({anchor:f,head:n(c+1,0)})}i&&t.setSelections(e,0)})}function u(t,n){t.operation(function(){for(var r=t.listSelections(),o=[],l=[],a=0;a<r.length;a++){(c=r[a]).empty()?(o.push(a),l.push("")):l.push(n(t.getRange(c.from(),c.to())))}t.replaceSelections(l,"around","case");var s;for(a=o.length-1;a>=0;a--){var c=r[o[a]];if(!(s&&e.cmpPos(c.head,s)>0)){var f=i(t,c.head);s=f.from,t.replaceRange(n(f.word),f.from,f.to)}}})}function d(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=i(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function m(e,t){var r=d(e);if(r){var o=r.query,i=e.getSearchCursor(o,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(o,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}t.selectScope=function(e){s(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy(function(r){var o=t.scanForBracket(r.head,1,c(t.getTokenTypeAt(r.head)));if(o&&0!=e.cmpPos(o.pos,r.head))return o.pos;var i=t.scanForBracket(r.head,-1,c(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return i&&n(i.pos.line,i.pos.ch+1)||r.head})},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.firstLine()-1,l=[],a=0;a<r.length;a++){var s=r[a],c=s.from().line-1,f=s.to().line;l.push({anchor:n(s.anchor.line-1,s.anchor.ch),head:n(s.head.line-1,s.head.ch)}),0!=s.to().ch||s.empty()||--f,c>i?o.push(c,f):o.length&&(o[o.length-1]=f),i=f}t.operation(function(){for(var e=0;e<o.length;e+=2){var r=o[e],i=o[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),i>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(i,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()})},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=t.lastLine()+1,l=r.length-1;l>=0;l--){var a=r[l],s=a.to().line+1,c=a.from().line;0!=a.to().ch||a.empty()||s--,s<i?o.push(s,c):o.length&&(o[o.length-1]=c),i=c}t.operation(function(){for(var e=o.length-2;e>=0;e-=2){var r=o[e],i=o[e+1],l=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(l+"\n",n(i,0),null,"+swapLine")}t.scrollIntoView()})},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){for(var i=t[o],l=i.from(),a=l.line,s=i.to().line;o<t.length-1&&t[o+1].from().line==s;)s=t[++o].to().line;r.push({start:a,end:s,anchor:!i.empty()&&l})}e.operation(function(){for(var t=0,o=[],i=0;i<r.length;i++){for(var l,a=r[i],s=a.anchor&&n(a.anchor.line-t,a.anchor.ch),c=a.start;c<=a.end;c++){var f=c-t;c==a.end&&(l=n(f,e.getLine(f).length+1)),f<e.lastLine()&&(e.replaceRange(" ",n(f),n(f+1,/^\s*/.exec(e.getLine(f+1))[0].length)),++t)}o.push({anchor:s||l,head:l})}e.setSelections(o,0)})},t.duplicateLine=function(e){e.operation(function(){for(var t=e.listSelections().length,r=0;r<t;r++){var o=e.listSelections()[r];o.empty()?e.replaceRange(e.getLine(o.head.line)+"\n",n(o.head.line,0)):e.replaceRange(e.getRange(o.from(),o.to()),o.from())}e.scrollIntoView()})},t.sortLines=function(e){f(e,!0,1)},t.reverseSortLines=function(e){f(e,!0,-1)},t.sortLinesInsensitive=function(e){f(e,!1,1)},t.reverseSortLinesInsensitive=function(e){f(e,!1,-1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var o=t[r].from(),i=t[r].to(),l=t[r].empty()?e.findMarksAt(o):e.findMarks(o,i),a=0;a<l.length;a++)if(l[a].sublimeBookmark){l[a].clear();for(var s=0;s<n.length;s++)n[s]==l[a]&&n.splice(s--,1);break}a==l.length&&n.push(e.markText(o,i,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var o=t[r].find();o?n.push({anchor:o.from,head:o.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation(function(){for(var r=t.listSelections(),o=t.getOption("indentUnit"),i=r.length-1;i>=0;i--){var l=r[i].head,a=t.getRange({line:l.line,ch:0},l),s=e.countColumn(a,null,t.getOption("tabSize")),c=t.findPosH(l,-1,"char",!1);if(a&&!/\S/.test(a)&&s%o==0){var f=new n(l.line,e.findColumn(a,s-o,o));f.ch!=l.ch&&(c=f)}t.replaceRange("",c,l,"+delete")}})},t.delLineRight=function(e){e.operation(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()})},t.upcaseAtCursor=function(e){u(e,function(e){return e.toUpperCase()})},t.downcaseAtCursor=function(e){u(e,function(e){return e.toLowerCase()})},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),o=n;if(e.cmpPos(r,o)>0){var i=o;o=r,r=i}t.state.sublimeKilled=t.getRange(r,o),t.replaceRange("",r,o)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){m(e,!0)},t.findUnderPrevious=function(e){m(e,!1)},t.findAllUnder=function(e){var t=d(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],o=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&o++;e.setSelections(r,o)}};var h=e.keyMap;h.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(h.macSublime),h.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(h.pcSublime);var C=h.default==h.macDefault;h.sublime=C?h.macSublime:h.pcSublime});
|
assets/admin/js/vendor/apexcharts.min.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/js/vendor/bootstrap-toggle.min.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! ========================================================================
|
| 2 |
+
* Bootstrap Toggle: bootstrap-toggle.js v2.2.0
|
| 3 |
+
* http://www.bootstraptoggle.com
|
| 4 |
+
* ========================================================================
|
| 5 |
+
* Copyright 2014 Min Hur, The New York Times Company
|
| 6 |
+
* Licensed under MIT
|
| 7 |
+
* ======================================================================== */
|
| 8 |
+
+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.toggle"),f="object"==typeof b&&b;e||d.data("bs.toggle",e=new c(this,f)),"string"==typeof b&&e[b]&&e[b]()})}var c=function(b,c){this.$element=a(b),this.options=a.extend({},this.defaults(),c),this.render()};c.VERSION="2.2.0",c.DEFAULTS={on:"On",off:"Off",onstyle:"primary",offstyle:"default",size:"normal",style:"",width:null,height:null},c.prototype.defaults=function(){return{on:this.$element.attr("data-on")||c.DEFAULTS.on,off:this.$element.attr("data-off")||c.DEFAULTS.off,onstyle:this.$element.attr("data-onstyle")||c.DEFAULTS.onstyle,offstyle:this.$element.attr("data-offstyle")||c.DEFAULTS.offstyle,size:this.$element.attr("data-size")||c.DEFAULTS.size,style:this.$element.attr("data-style")||c.DEFAULTS.style,width:this.$element.attr("data-width")||c.DEFAULTS.width,height:this.$element.attr("data-height")||c.DEFAULTS.height}},c.prototype.render=function(){this._onstyle="btn-"+this.options.onstyle,this._offstyle="btn-"+this.options.offstyle;var b="large"===this.options.size?"btn-lg":"small"===this.options.size?"btn-sm":"mini"===this.options.size?"btn-xs":"",c=a('<label class="btn">').html(this.options.on).addClass(this._onstyle+" "+b),d=a('<label class="btn">').html(this.options.off).addClass(this._offstyle+" "+b+" active"),e=a('<span class="toggle-handle btn btn-default">').addClass(b),f=a('<div class="toggle-group">').append(c,d,e),g=a('<div class="toggle btn" data-bs-toggle="toggle">').addClass(this.$element.prop("checked")?this._onstyle:this._offstyle+" off").addClass(b).addClass(this.options.style);this.$element.wrap(g),a.extend(this,{$toggle:this.$element.parent(),$toggleOn:c,$toggleOff:d,$toggleGroup:f}),this.$toggle.append(f);var h=this.options.width||Math.max(c.outerWidth(),d.outerWidth())+e.outerWidth()/2,i=this.options.height||Math.max(c.outerHeight(),d.outerHeight());c.addClass("toggle-on"),d.addClass("toggle-off"),this.$toggle.css({width:h,height:i}),this.options.height&&(c.css("line-height",c.height()+"px"),d.css("line-height",d.height()+"px")),this.update(!0),this.trigger(!0)},c.prototype.toggle=function(){this.$element.prop("checked")?this.off():this.on()},c.prototype.on=function(a){return this.$element.prop("disabled")?!1:(this.$toggle.removeClass(this._offstyle+" off").addClass(this._onstyle),this.$element.prop("checked",!0),void(a||this.trigger()))},c.prototype.off=function(a){return this.$element.prop("disabled")?!1:(this.$toggle.removeClass(this._onstyle).addClass(this._offstyle+" off"),this.$element.prop("checked",!1),void(a||this.trigger()))},c.prototype.enable=function(){this.$toggle.removeAttr("disabled"),this.$element.prop("disabled",!1)},c.prototype.disable=function(){this.$toggle.attr("disabled","disabled"),this.$element.prop("disabled",!0)},c.prototype.update=function(a){this.$element.prop("disabled")?this.disable():this.enable(),this.$element.prop("checked")?this.on(a):this.off(a)},c.prototype.trigger=function(b){this.$element.off("change.bs.toggle"),b||this.$element.change(),this.$element.on("change.bs.toggle",a.proxy(function(){this.update()},this))},c.prototype.destroy=function(){this.$element.off("change.bs.toggle"),this.$toggleGroup.remove(),this.$element.removeData("bs.toggle"),this.$element.unwrap()};var d=a.fn.bootstrapToggle;a.fn.bootstrapToggle=b,a.fn.bootstrapToggle.Constructor=c,a.fn.toggle.noConflict=function(){return a.fn.bootstrapToggle=d,this},a(function(){a("input[type=checkbox][data-bs-toggle^=toggle]").bootstrapToggle()}),a(document).on("click.bs.toggle","div[data-bs-toggle^=toggle]",function(b){var c=a(this).find("input[type=checkbox]");c.bootstrapToggle("toggle"),b.preventDefault()})}(jQuery);
|
| 9 |
+
//# sourceMappingURL=bootstrap-toggle.min.js.map
|
assets/admin/js/vendor/chart.js.2.8.0.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/admin/js/xml.js
ADDED
|
@@ -0,0 +1,417 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 1 |
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
| 2 |
+
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
|
| 3 |
+
|
| 4 |
+
(function(mod) {
|
| 5 |
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
| 6 |
+
mod(require("../../lib/codemirror"));
|
| 7 |
+
else if (typeof define == "function" && define.amd) // AMD
|
| 8 |
+
define(["../../lib/codemirror"], mod);
|
| 9 |
+
else // Plain browser env
|
| 10 |
+
mod(CodeMirror);
|
| 11 |
+
})(function(CodeMirror) {
|
| 12 |
+
"use strict";
|
| 13 |
+
|
| 14 |
+
var htmlConfig = {
|
| 15 |
+
autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,
|
| 16 |
+
'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,
|
| 17 |
+
'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,
|
| 18 |
+
'track': true, 'wbr': true, 'menuitem': true},
|
| 19 |
+
implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,
|
| 20 |
+
'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,
|
| 21 |
+
'th': true, 'tr': true},
|
| 22 |
+
contextGrabbers: {
|
| 23 |
+
'dd': {'dd': true, 'dt': true},
|
| 24 |
+
'dt': {'dd': true, 'dt': true},
|
| 25 |
+
'li': {'li': true},
|
| 26 |
+
'option': {'option': true, 'optgroup': true},
|
| 27 |
+
'optgroup': {'optgroup': true},
|
| 28 |
+
'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,
|
| 29 |
+
'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,
|
| 30 |
+
'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,
|
| 31 |
+
'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,
|
| 32 |
+
'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},
|
| 33 |
+
'rp': {'rp': true, 'rt': true},
|
| 34 |
+
'rt': {'rp': true, 'rt': true},
|
| 35 |
+
'tbody': {'tbody': true, 'tfoot': true},
|
| 36 |
+
'td': {'td': true, 'th': true},
|
| 37 |
+
'tfoot': {'tbody': true},
|
| 38 |
+
'th': {'td': true, 'th': true},
|
| 39 |
+
'thead': {'tbody': true, 'tfoot': true},
|
| 40 |
+
'tr': {'tr': true}
|
| 41 |
+
},
|
| 42 |
+
doNotIndent: {"pre": true},
|
| 43 |
+
allowUnquoted: true,
|
| 44 |
+
allowMissing: true,
|
| 45 |
+
caseFold: true
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
var xmlConfig = {
|
| 49 |
+
autoSelfClosers: {},
|
| 50 |
+
implicitlyClosed: {},
|
| 51 |
+
contextGrabbers: {},
|
| 52 |
+
doNotIndent: {},
|
| 53 |
+
allowUnquoted: false,
|
| 54 |
+
allowMissing: false,
|
| 55 |
+
allowMissingTagName: false,
|
| 56 |
+
caseFold: false
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
CodeMirror.defineMode("xml", function(editorConf, config_) {
|
| 60 |
+
var indentUnit = editorConf.indentUnit
|
| 61 |
+
var config = {}
|
| 62 |
+
var defaults = config_.htmlMode ? htmlConfig : xmlConfig
|
| 63 |
+
for (var prop in defaults) config[prop] = defaults[prop]
|
| 64 |
+
for (var prop in config_) config[prop] = config_[prop]
|
| 65 |
+
|
| 66 |
+
// Return variables for tokenizers
|
| 67 |
+
var type, setStyle;
|
| 68 |
+
|
| 69 |
+
function inText(stream, state) {
|
| 70 |
+
function chain(parser) {
|
| 71 |
+
state.tokenize = parser;
|
| 72 |
+
return parser(stream, state);
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
var ch = stream.next();
|
| 76 |
+
if (ch == "<") {
|
| 77 |
+
if (stream.eat("!")) {
|
| 78 |
+
if (stream.eat("[")) {
|
| 79 |
+
if (stream.match("CDATA[")) return chain(inBlock("atom", "]]>"));
|
| 80 |
+
else return null;
|
| 81 |
+
} else if (stream.match("--")) {
|
| 82 |
+
return chain(inBlock("comment", "-->"));
|
| 83 |
+
} else if (stream.match("DOCTYPE", true, true)) {
|
| 84 |
+
stream.eatWhile(/[\w\._\-]/);
|
| 85 |
+
return chain(doctype(1));
|
| 86 |
+
} else {
|
| 87 |
+
return null;
|
| 88 |
+
}
|
| 89 |
+
} else if (stream.eat("?")) {
|
| 90 |
+
stream.eatWhile(/[\w\._\-]/);
|
| 91 |
+
state.tokenize = inBlock("meta", "?>");
|
| 92 |
+
return "meta";
|
| 93 |
+
} else {
|
| 94 |
+
type = stream.eat("/") ? "closeTag" : "openTag";
|
| 95 |
+
state.tokenize = inTag;
|
| 96 |
+
return "tag bracket";
|
| 97 |
+
}
|
| 98 |
+
} else if (ch == "&") {
|
| 99 |
+
var ok;
|
| 100 |
+
if (stream.eat("#")) {
|
| 101 |
+
if (stream.eat("x")) {
|
| 102 |
+
ok = stream.eatWhile(/[a-fA-F\d]/) && stream.eat(";");
|
| 103 |
+
} else {
|
| 104 |
+
ok = stream.eatWhile(/[\d]/) && stream.eat(";");
|
| 105 |
+
}
|
| 106 |
+
} else {
|
| 107 |
+
ok = stream.eatWhile(/[\w\.\-:]/) && stream.eat(";");
|
| 108 |
+
}
|
| 109 |
+
return ok ? "atom" : "error";
|
| 110 |
+
} else {
|
| 111 |
+
stream.eatWhile(/[^&<]/);
|
| 112 |
+
return null;
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
inText.isInText = true;
|
| 116 |
+
|
| 117 |
+
function inTag(stream, state) {
|
| 118 |
+
var ch = stream.next();
|
| 119 |
+
if (ch == ">" || (ch == "/" && stream.eat(">"))) {
|
| 120 |
+
state.tokenize = inText;
|
| 121 |
+
type = ch == ">" ? "endTag" : "selfcloseTag";
|
| 122 |
+
return "tag bracket";
|
| 123 |
+
} else if (ch == "=") {
|
| 124 |
+
type = "equals";
|
| 125 |
+
return null;
|
| 126 |
+
} else if (ch == "<") {
|
| 127 |
+
state.tokenize = inText;
|
| 128 |
+
state.state = baseState;
|
| 129 |
+
state.tagName = state.tagStart = null;
|
| 130 |
+
var next = state.tokenize(stream, state);
|
| 131 |
+
return next ? next + " tag error" : "tag error";
|
| 132 |
+
} else if (/[\'\"]/.test(ch)) {
|
| 133 |
+
state.tokenize = inAttribute(ch);
|
| 134 |
+
state.stringStartCol = stream.column();
|
| 135 |
+
return state.tokenize(stream, state);
|
| 136 |
+
} else {
|
| 137 |
+
stream.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);
|
| 138 |
+
return "word";
|
| 139 |
+
}
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
function inAttribute(quote) {
|
| 143 |
+
var closure = function(stream, state) {
|
| 144 |
+
while (!stream.eol()) {
|
| 145 |
+
if (stream.next() == quote) {
|
| 146 |
+
state.tokenize = inTag;
|
| 147 |
+
break;
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
return "string";
|
| 151 |
+
};
|
| 152 |
+
closure.isInAttribute = true;
|
| 153 |
+
return closure;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
function inBlock(style, terminator) {
|
| 157 |
+
return function(stream, state) {
|
| 158 |
+
while (!stream.eol()) {
|
| 159 |
+
if (stream.match(terminator)) {
|
| 160 |
+
state.tokenize = inText;
|
| 161 |
+
break;
|
| 162 |
+
}
|
| 163 |
+
stream.next();
|
| 164 |
+
}
|
| 165 |
+
return style;
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
function doctype(depth) {
|
| 170 |
+
return function(stream, state) {
|
| 171 |
+
var ch;
|
| 172 |
+
while ((ch = stream.next()) != null) {
|
| 173 |
+
if (ch == "<") {
|
| 174 |
+
state.tokenize = doctype(depth + 1);
|
| 175 |
+
return state.tokenize(stream, state);
|
| 176 |
+
} else if (ch == ">") {
|
| 177 |
+
if (depth == 1) {
|
| 178 |
+
state.tokenize = inText;
|
| 179 |
+
break;
|
| 180 |
+
} else {
|
| 181 |
+
state.tokenize = doctype(depth - 1);
|
| 182 |
+
return state.tokenize(stream, state);
|
| 183 |
+
}
|
| 184 |
+
}
|
| 185 |
+
}
|
| 186 |
+
return "meta";
|
| 187 |
+
};
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
function lower(tagName) {
|
| 191 |
+
return tagName && tagName.toLowerCase();
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
function Context(state, tagName, startOfLine) {
|
| 195 |
+
this.prev = state.context;
|
| 196 |
+
this.tagName = tagName || "";
|
| 197 |
+
this.indent = state.indented;
|
| 198 |
+
this.startOfLine = startOfLine;
|
| 199 |
+
if (config.doNotIndent.hasOwnProperty(tagName) || (state.context && state.context.noIndent))
|
| 200 |
+
this.noIndent = true;
|
| 201 |
+
}
|
| 202 |
+
function popContext(state) {
|
| 203 |
+
if (state.context) state.context = state.context.prev;
|
| 204 |
+
}
|
| 205 |
+
function maybePopContext(state, nextTagName) {
|
| 206 |
+
var parentTagName;
|
| 207 |
+
while (true) {
|
| 208 |
+
if (!state.context) {
|
| 209 |
+
return;
|
| 210 |
+
}
|
| 211 |
+
parentTagName = state.context.tagName;
|
| 212 |
+
if (!config.contextGrabbers.hasOwnProperty(lower(parentTagName)) ||
|
| 213 |
+
!config.contextGrabbers[lower(parentTagName)].hasOwnProperty(lower(nextTagName))) {
|
| 214 |
+
return;
|
| 215 |
+
}
|
| 216 |
+
popContext(state);
|
| 217 |
+
}
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
function baseState(type, stream, state) {
|
| 221 |
+
if (type == "openTag") {
|
| 222 |
+
state.tagStart = stream.column();
|
| 223 |
+
return tagNameState;
|
| 224 |
+
} else if (type == "closeTag") {
|
| 225 |
+
return closeTagNameState;
|
| 226 |
+
} else {
|
| 227 |
+
return baseState;
|
| 228 |
+
}
|
| 229 |
+
}
|
| 230 |
+
function tagNameState(type, stream, state) {
|
| 231 |
+
if (type == "word") {
|
| 232 |
+
state.tagName = stream.current();
|
| 233 |
+
setStyle = "tag";
|
| 234 |
+
return attrState;
|
| 235 |
+
} else if (config.allowMissingTagName && type == "endTag") {
|
| 236 |
+
setStyle = "tag bracket";
|
| 237 |
+
return attrState(type, stream, state);
|
| 238 |
+
} else {
|
| 239 |
+
setStyle = "error";
|
| 240 |
+
return tagNameState;
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
function closeTagNameState(type, stream, state) {
|
| 244 |
+
if (type == "word") {
|
| 245 |
+
var tagName = stream.current();
|
| 246 |
+
if (state.context && state.context.tagName != tagName &&
|
| 247 |
+
config.implicitlyClosed.hasOwnProperty(lower(state.context.tagName)))
|
| 248 |
+
popContext(state);
|
| 249 |
+
if ((state.context && state.context.tagName == tagName) || config.matchClosing === false) {
|
| 250 |
+
setStyle = "tag";
|
| 251 |
+
return closeState;
|
| 252 |
+
} else {
|
| 253 |
+
setStyle = "tag error";
|
| 254 |
+
return closeStateErr;
|
| 255 |
+
}
|
| 256 |
+
} else if (config.allowMissingTagName && type == "endTag") {
|
| 257 |
+
setStyle = "tag bracket";
|
| 258 |
+
return closeState(type, stream, state);
|
| 259 |
+
} else {
|
| 260 |
+
setStyle = "error";
|
| 261 |
+
return closeStateErr;
|
| 262 |
+
}
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
function closeState(type, _stream, state) {
|
| 266 |
+
if (type != "endTag") {
|
| 267 |
+
setStyle = "error";
|
| 268 |
+
return closeState;
|
| 269 |
+
}
|
| 270 |
+
popContext(state);
|
| 271 |
+
return baseState;
|
| 272 |
+
}
|
| 273 |
+
function closeStateErr(type, stream, state) {
|
| 274 |
+
setStyle = "error";
|
| 275 |
+
return closeState(type, stream, state);
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
function attrState(type, _stream, state) {
|
| 279 |
+
if (type == "word") {
|
| 280 |
+
setStyle = "attribute";
|
| 281 |
+
return attrEqState;
|
| 282 |
+
} else if (type == "endTag" || type == "selfcloseTag") {
|
| 283 |
+
var tagName = state.tagName, tagStart = state.tagStart;
|
| 284 |
+
state.tagName = state.tagStart = null;
|
| 285 |
+
if (type == "selfcloseTag" ||
|
| 286 |
+
config.autoSelfClosers.hasOwnProperty(lower(tagName))) {
|
| 287 |
+
maybePopContext(state, tagName);
|
| 288 |
+
} else {
|
| 289 |
+
maybePopContext(state, tagName);
|
| 290 |
+
state.context = new Context(state, tagName, tagStart == state.indented);
|
| 291 |
+
}
|
| 292 |
+
return baseState;
|
| 293 |
+
}
|
| 294 |
+
setStyle = "error";
|
| 295 |
+
return attrState;
|
| 296 |
+
}
|
| 297 |
+
function attrEqState(type, stream, state) {
|
| 298 |
+
if (type == "equals") return attrValueState;
|
| 299 |
+
if (!config.allowMissing) setStyle = "error";
|
| 300 |
+
return attrState(type, stream, state);
|
| 301 |
+
}
|
| 302 |
+
function attrValueState(type, stream, state) {
|
| 303 |
+
if (type == "string") return attrContinuedState;
|
| 304 |
+
if (type == "word" && config.allowUnquoted) {setStyle = "string"; return attrState;}
|
| 305 |
+
setStyle = "error";
|
| 306 |
+
return attrState(type, stream, state);
|
| 307 |
+
}
|
| 308 |
+
function attrContinuedState(type, stream, state) {
|
| 309 |
+
if (type == "string") return attrContinuedState;
|
| 310 |
+
return attrState(type, stream, state);
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
return {
|
| 314 |
+
startState: function(baseIndent) {
|
| 315 |
+
var state = {tokenize: inText,
|
| 316 |
+
state: baseState,
|
| 317 |
+
indented: baseIndent || 0,
|
| 318 |
+
tagName: null, tagStart: null,
|
| 319 |
+
context: null}
|
| 320 |
+
if (baseIndent != null) state.baseIndent = baseIndent
|
| 321 |
+
return state
|
| 322 |
+
},
|
| 323 |
+
|
| 324 |
+
token: function(stream, state) {
|
| 325 |
+
if (!state.tagName && stream.sol())
|
| 326 |
+
state.indented = stream.indentation();
|
| 327 |
+
|
| 328 |
+
if (stream.eatSpace()) return null;
|
| 329 |
+
type = null;
|
| 330 |
+
var style = state.tokenize(stream, state);
|
| 331 |
+
if ((style || type) && style != "comment") {
|
| 332 |
+
setStyle = null;
|
| 333 |
+
state.state = state.state(type || style, stream, state);
|
| 334 |
+
if (setStyle)
|
| 335 |
+
style = setStyle == "error" ? style + " error" : setStyle;
|
| 336 |
+
}
|
| 337 |
+
return style;
|
| 338 |
+
},
|
| 339 |
+
|
| 340 |
+
indent: function(state, textAfter, fullLine) {
|
| 341 |
+
var context = state.context;
|
| 342 |
+
// Indent multi-line strings (e.g. css).
|
| 343 |
+
if (state.tokenize.isInAttribute) {
|
| 344 |
+
if (state.tagStart == state.indented)
|
| 345 |
+
return state.stringStartCol + 1;
|
| 346 |
+
else
|
| 347 |
+
return state.indented + indentUnit;
|
| 348 |
+
}
|
| 349 |
+
if (context && context.noIndent) return CodeMirror.Pass;
|
| 350 |
+
if (state.tokenize != inTag && state.tokenize != inText)
|
| 351 |
+
return fullLine ? fullLine.match(/^(\s*)/)[0].length : 0;
|
| 352 |
+
// Indent the starts of attribute names.
|
| 353 |
+
if (state.tagName) {
|
| 354 |
+
if (config.multilineTagIndentPastTag !== false)
|
| 355 |
+
return state.tagStart + state.tagName.length + 2;
|
| 356 |
+
else
|
| 357 |
+
return state.tagStart + indentUnit * (config.multilineTagIndentFactor || 1);
|
| 358 |
+
}
|
| 359 |
+
if (config.alignCDATA && /<!\[CDATA\[/.test(textAfter)) return 0;
|
| 360 |
+
var tagAfter = textAfter && /^<(\/)?([\w_:\.-]*)/.exec(textAfter);
|
| 361 |
+
if (tagAfter && tagAfter[1]) { // Closing tag spotted
|
| 362 |
+
while (context) {
|
| 363 |
+
if (context.tagName == tagAfter[2]) {
|
| 364 |
+
context = context.prev;
|
| 365 |
+
break;
|
| 366 |
+
} else if (config.implicitlyClosed.hasOwnProperty(lower(context.tagName))) {
|
| 367 |
+
context = context.prev;
|
| 368 |
+
} else {
|
| 369 |
+
break;
|
| 370 |
+
}
|
| 371 |
+
}
|
| 372 |
+
} else if (tagAfter) { // Opening tag spotted
|
| 373 |
+
while (context) {
|
| 374 |
+
var grabbers = config.contextGrabbers[lower(context.tagName)];
|
| 375 |
+
if (grabbers && grabbers.hasOwnProperty(lower(tagAfter[2])))
|
| 376 |
+
context = context.prev;
|
| 377 |
+
else
|
| 378 |
+
break;
|
| 379 |
+
}
|
| 380 |
+
}
|
| 381 |
+
while (context && context.prev && !context.startOfLine)
|
| 382 |
+
context = context.prev;
|
| 383 |
+
if (context) return context.indent + indentUnit;
|
| 384 |
+
else return state.baseIndent || 0;
|
| 385 |
+
},
|
| 386 |
+
|
| 387 |
+
electricInput: /<\/[\s\w:]+>$/,
|
| 388 |
+
blockCommentStart: "<!--",
|
| 389 |
+
blockCommentEnd: "-->",
|
| 390 |
+
|
| 391 |
+
configuration: config.htmlMode ? "html" : "xml",
|
| 392 |
+
helperType: config.htmlMode ? "html" : "xml",
|
| 393 |
+
|
| 394 |
+
skipAttribute: function(state) {
|
| 395 |
+
if (state.state == attrValueState)
|
| 396 |
+
state.state = attrState
|
| 397 |
+
},
|
| 398 |
+
|
| 399 |
+
xmlCurrentTag: function(state) {
|
| 400 |
+
return state.tagName ? {name: state.tagName, close: state.type == "closeTag"} : null
|
| 401 |
+
},
|
| 402 |
+
|
| 403 |
+
xmlCurrentContext: function(state) {
|
| 404 |
+
var context = []
|
| 405 |
+
for (var cx = state.context; cx; cx = cx.prev)
|
| 406 |
+
context.push(cx.tagName)
|
| 407 |
+
return context.reverse()
|
| 408 |
+
}
|
| 409 |
+
};
|
| 410 |
+
});
|
| 411 |
+
|
| 412 |
+
CodeMirror.defineMIME("text/xml", "xml");
|
| 413 |
+
CodeMirror.defineMIME("application/xml", "xml");
|
| 414 |
+
if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
|
| 415 |
+
CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
|
| 416 |
+
|
| 417 |
+
});
|
assets/errors/css/main.css
ADDED
|
@@ -0,0 +1,336 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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700&family=Roboto&family=Playfair+Display&display=swap");
|
| 3 |
+
|
| 4 |
+
html {
|
| 5 |
+
scroll-behavior: smooth;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
body {
|
| 9 |
+
font-family: "Roboto", sans-serif;
|
| 10 |
+
color: #6f6f6f;
|
| 11 |
+
font-size: 16px;
|
| 12 |
+
padding: 0;
|
| 13 |
+
margin: 0;
|
| 14 |
+
font-weight: 400;
|
| 15 |
+
position: relative;
|
| 16 |
+
line-height: 1.7;
|
| 17 |
+
background-color: #fff;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
img {
|
| 21 |
+
max-width: 100%;
|
| 22 |
+
height: auto;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/* reset css end */
|
| 26 |
+
h1 {
|
| 27 |
+
font-size: 62px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
h2 {
|
| 31 |
+
font-size: 32px;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
@media (max-width: 991px) {
|
| 35 |
+
h2 {
|
| 36 |
+
font-size: 36px;
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
@media (max-width: 575px) {
|
| 41 |
+
h2 {
|
| 42 |
+
font-size: 28px;
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
h3 {
|
| 47 |
+
font-size: 24px;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
h4 {
|
| 51 |
+
font-size: 22px;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
@media (max-width: 767px) {
|
| 55 |
+
h4 {
|
| 56 |
+
font-size: 20px;
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
h5 {
|
| 61 |
+
font-size: 20px;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
@media (max-width: 767px) {
|
| 65 |
+
h5 {
|
| 66 |
+
font-size: 18px;
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
h6 {
|
| 71 |
+
font-size: 18px;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
h1,
|
| 75 |
+
h2,
|
| 76 |
+
h3,
|
| 77 |
+
h4,
|
| 78 |
+
h5,
|
| 79 |
+
h6 {
|
| 80 |
+
font-family: "Poppins", sans-serif;
|
| 81 |
+
color: #525252;
|
| 82 |
+
font-weight: 600;
|
| 83 |
+
margin: 0;
|
| 84 |
+
line-height: 1.4;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
h1>a,
|
| 88 |
+
h2>a,
|
| 89 |
+
h3>a,
|
| 90 |
+
h4>a,
|
| 91 |
+
h5>a,
|
| 92 |
+
h6>a {
|
| 93 |
+
font-family: "Poppins", sans-serif;
|
| 94 |
+
color: #525252;
|
| 95 |
+
font-weight: 600;
|
| 96 |
+
-webkit-transition: all 0.3s;
|
| 97 |
+
-o-transition: all 0.3s;
|
| 98 |
+
transition: all 0.3s;
|
| 99 |
+
line-height: 1.4;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
p,
|
| 103 |
+
li,
|
| 104 |
+
span {
|
| 105 |
+
margin: 0;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
a {
|
| 109 |
+
text-decoration: none;
|
| 110 |
+
display: inline-block;
|
| 111 |
+
font-family: "Roboto", sans-serif;
|
| 112 |
+
font-weight: 400;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
a:hover {
|
| 116 |
+
text-decoration: none;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* button css start */
|
| 120 |
+
.cmn-btn {
|
| 121 |
+
padding: 8px 20px;
|
| 122 |
+
text-transform: uppercase;
|
| 123 |
+
border-radius: 5px;
|
| 124 |
+
transition: all 0.3s;
|
| 125 |
+
border: 1px solid #5b28ff;
|
| 126 |
+
color: #5b28ff;
|
| 127 |
+
-webkit-border-radius: 5px;
|
| 128 |
+
-moz-border-radius: 5px;
|
| 129 |
+
-ms-border-radius: 5px;
|
| 130 |
+
-o-border-radius: 5px;
|
| 131 |
+
-webkit-transition: all 0.3s;
|
| 132 |
+
-o-transition: all 0.3s;
|
| 133 |
+
display: flex;
|
| 134 |
+
max-width: fit-content;
|
| 135 |
+
margin-inline: auto;
|
| 136 |
+
align-items: center;
|
| 137 |
+
gap: 10px;
|
| 138 |
+
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.cmn-btn .icon {
|
| 142 |
+
display: inline-block;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.cmn-btn .icon svg {
|
| 146 |
+
width: 20px;
|
| 147 |
+
height: 20px;
|
| 148 |
+
fill: #5b28ff;
|
| 149 |
+
transition: all 0.3s;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.cmn-btn .text {
|
| 153 |
+
margin-top: 3px;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.cmn-btn:hover {
|
| 157 |
+
color: #ffffff;
|
| 158 |
+
background-color: #5b28ff;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.cmn-btn:hover .icon svg {
|
| 162 |
+
fill: #ffffff;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
/* button css end */
|
| 167 |
+
/* error-404 css start */
|
| 168 |
+
.error {
|
| 169 |
+
padding: 20px 60px;
|
| 170 |
+
height: 100vh;
|
| 171 |
+
justify-content: center;
|
| 172 |
+
display: flex;
|
| 173 |
+
align-items: center;
|
| 174 |
+
background-repeat: no-repeat;
|
| 175 |
+
background-position: center center;
|
| 176 |
+
background-size: cover;
|
| 177 |
+
position: relative;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
.error .title {
|
| 181 |
+
font-size: 56px;
|
| 182 |
+
font-weight: 600;
|
| 183 |
+
margin-top: 70px;
|
| 184 |
+
margin-bottom: 15px;
|
| 185 |
+
color: #211742;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.error.error-419 .title {
|
| 189 |
+
font-size: 45px;
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
.error .description {
|
| 193 |
+
font-size: 18px;
|
| 194 |
+
color: #211742;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
.error-500-thumb{
|
| 198 |
+
position: relative;
|
| 199 |
+
}
|
| 200 |
+
.error-500-thumb-cat{
|
| 201 |
+
position: absolute;
|
| 202 |
+
bottom: 0;
|
| 203 |
+
left: 60%;
|
| 204 |
+
right: 40%;
|
| 205 |
+
width: 103px;
|
| 206 |
+
height: 103px;
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
@media screen and (max-width:480px) {
|
| 210 |
+
|
| 211 |
+
.error-500-thumb-cat{
|
| 212 |
+
width: 80px;
|
| 213 |
+
height: 80px;
|
| 214 |
+
}
|
| 215 |
+
}
|
| 216 |
+
@media screen and (max-width:375px) {
|
| 217 |
+
.error-500-thumb-cat{
|
| 218 |
+
width: 50px;
|
| 219 |
+
height: 50px;
|
| 220 |
+
}
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
@media (max-width: 768px) {
|
| 224 |
+
.error {
|
| 225 |
+
padding-inline: 15px;
|
| 226 |
+
}
|
| 227 |
+
|
| 228 |
+
.error .title,
|
| 229 |
+
.error.error-419 .title {
|
| 230 |
+
font-size: 32px;
|
| 231 |
+
margin-top: 50px;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.error .description {
|
| 235 |
+
font-size: 16px;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
@media (max-width: 425px) {
|
| 242 |
+
.error {
|
| 243 |
+
padding-inline: 10px;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
.error .title,
|
| 247 |
+
.error.error-419 .title {
|
| 248 |
+
font-size: 28px;
|
| 249 |
+
margin-top: 30px;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
.error .description {
|
| 253 |
+
font-size: 15px;
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.error .title b {
|
| 260 |
+
font-size: 72px;
|
| 261 |
+
color: #f45570;
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
.error p {
|
| 265 |
+
font-size: 18px;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
/* Start Glow animation Start */
|
| 269 |
+
.star-glow {
|
| 270 |
+
display: inline-block;
|
| 271 |
+
position: absolute;
|
| 272 |
+
background-size: cover !important;
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
.star-glow.glow-1 {
|
| 276 |
+
width: 25px;
|
| 277 |
+
height: 25px;
|
| 278 |
+
left: 50%;
|
| 279 |
+
right: 50%;
|
| 280 |
+
top: 50%;
|
| 281 |
+
animation: glow 3s infinite;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.star-glow.glow-2 {
|
| 285 |
+
width: 20px;
|
| 286 |
+
height: 20px;
|
| 287 |
+
left: 40%;
|
| 288 |
+
right: 60%;
|
| 289 |
+
top: 40%;
|
| 290 |
+
animation: glow 4s infinite;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
.star-glow.glow-3 {
|
| 294 |
+
width: 15px;
|
| 295 |
+
height: 15px;
|
| 296 |
+
left: 58%;
|
| 297 |
+
right: 42%;
|
| 298 |
+
top: 30%;
|
| 299 |
+
animation: glow 2s infinite;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
.star-glow.glow-4 {
|
| 303 |
+
width: 25px;
|
| 304 |
+
height: 25px;
|
| 305 |
+
left: 47%;
|
| 306 |
+
right: 53%;
|
| 307 |
+
top: 16%;
|
| 308 |
+
animation: glow 5s infinite;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
@media (max-width: 768px) {
|
| 312 |
+
|
| 313 |
+
.star-glow.glow-1 {
|
| 314 |
+
top: 45%;
|
| 315 |
+
left: 60%;
|
| 316 |
+
}
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
@keyframes glow {
|
| 320 |
+
0% {
|
| 321 |
+
opacity: 0.3;
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
50% {
|
| 325 |
+
opacity: 1;
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
100% {
|
| 329 |
+
opacity: 0.3;
|
| 330 |
+
}
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
|
| 334 |
+
/* Start Glow animation End */
|
| 335 |
+
|
| 336 |
+
/* error-404 css end */
|
assets/errors/images/bg-404.png
ADDED
|
assets/errors/images/cat.gif
ADDED
|
assets/errors/images/error-404.png
ADDED
|
assets/errors/images/error-419.png
ADDED
|
assets/errors/images/error-500.png
ADDED
|
assets/errors/images/star-glow.png
ADDED
|
assets/font/solaimanLipi_bold.ttf
ADDED
|
Binary file (310 kB). View file
|
|
|
assets/global/css/all.min.css
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/global/css/bootstrap.min.css
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/global/css/installer.css
ADDED
|
@@ -0,0 +1,748 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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serlab.com
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
@import url(https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap);
|
| 7 |
+
|
| 8 |
+
html {
|
| 9 |
+
font-size: 18px;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
color: #ddd;
|
| 14 |
+
line-height: 26px;
|
| 15 |
+
font-family: "Courier Prime", sans-serif;
|
| 16 |
+
background: #050d3d;
|
| 17 |
+
display: flex;
|
| 18 |
+
flex-direction: column;
|
| 19 |
+
min-height: 100vh;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
footer {
|
| 23 |
+
margin-top: auto;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
h1,
|
| 27 |
+
h2,
|
| 28 |
+
h3,
|
| 29 |
+
h4,
|
| 30 |
+
h5,
|
| 31 |
+
h6 {
|
| 32 |
+
font-weight: 700;
|
| 33 |
+
margin: 0;
|
| 34 |
+
line-height: 1.3;
|
| 35 |
+
color: #fff;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
h2 {
|
| 39 |
+
font-size: 36px;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
h3 {
|
| 43 |
+
font-size: 28px;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
h4 {
|
| 47 |
+
font-size: 24px;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
h5 {
|
| 51 |
+
font-size: 20px;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
h6 {
|
| 55 |
+
font-size: 18px;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
@media (min-width: 768px) {
|
| 59 |
+
h2 {
|
| 60 |
+
font-size: 48px;
|
| 61 |
+
line-height: 50px;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
h3 {
|
| 65 |
+
font-size: 36px;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
h4 {
|
| 69 |
+
font-size: 30px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
h5 {
|
| 73 |
+
font-size: 24px;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
h6 {
|
| 77 |
+
font-size: 22px;
|
| 78 |
+
}
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
@media (max-width: 575px) {
|
| 82 |
+
h2 {
|
| 83 |
+
font-size: 42px;
|
| 84 |
+
line-height: 50px;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
h3 {
|
| 88 |
+
font-size: 22px;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
h4 {
|
| 92 |
+
font-size: 20px;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
h5 {
|
| 96 |
+
font-size: 18px;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
h6 {
|
| 100 |
+
font-size: 16px;
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
@media (max-width:450px) {
|
| 105 |
+
h3 {
|
| 106 |
+
font-size: 18px;
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
ul {
|
| 111 |
+
margin: 0;
|
| 112 |
+
padding: 0;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
ul li {
|
| 116 |
+
list-style: none;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.padding-top {
|
| 120 |
+
padding-top: 100px;
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
.padding-bottom {
|
| 124 |
+
padding-bottom: 100px;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
@media (max-width:991px) {
|
| 128 |
+
.padding-bottom {
|
| 129 |
+
padding-bottom: 70px;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.padding-top {
|
| 133 |
+
padding-top: 70px;
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.installation-wrapper {
|
| 138 |
+
background: #071251;
|
| 139 |
+
border-radius: 10px;
|
| 140 |
+
margin-bottom: 40px;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.installation-wrapper:last-child {
|
| 144 |
+
margin-bottom: 0;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
@media (max-width: 991px) {
|
| 148 |
+
.installation-wrapper {
|
| 149 |
+
padding: 40px 30px;
|
| 150 |
+
}
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
@media (max-width: 767px) {
|
| 154 |
+
.installation-wrapper {
|
| 155 |
+
padding: 0;
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.box-item {
|
| 160 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 161 |
+
padding: 30px;
|
| 162 |
+
border-radius: 0 0 15px 15px;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
@media (max-width: 575px) {
|
| 166 |
+
.box-item {
|
| 167 |
+
padding: 30px 15px;
|
| 168 |
+
}
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
.install-item .title {
|
| 172 |
+
padding: 16px 0 12px 0;
|
| 173 |
+
border-radius: 10px 10px 0 0;
|
| 174 |
+
background: #0087ff;
|
| 175 |
+
text-transform: uppercase;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.install-item .item {
|
| 179 |
+
margin-bottom: 50px;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.install-item .item:last-child {
|
| 183 |
+
margin-bottom: 0;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.install-item .item .subtitle {
|
| 187 |
+
font-weight: 400;
|
| 188 |
+
margin-bottom: 20px;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.install-item .item p {
|
| 192 |
+
margin: 0;
|
| 193 |
+
margin-bottom: 20px;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.install-item .item .check-list {
|
| 197 |
+
margin-bottom: 25px;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
.install-item .item .check-list:last-child {
|
| 201 |
+
margin-bottom: 0 !important;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
.install-item .item .check-list li:first-child {
|
| 205 |
+
padding-top: 0;
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
.install-item .item .check-list li:last-child {
|
| 209 |
+
padding-bottom: 0;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.install-item .item .check-list li::before {
|
| 213 |
+
content: "\f00c";
|
| 214 |
+
color: #28C76F;
|
| 215 |
+
font-family: "Font Awesome 5 Free";
|
| 216 |
+
font-weight: 600;
|
| 217 |
+
font-size: 14px;
|
| 218 |
+
margin-right: 5px;
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.install-item .item .check-list li.no::before {
|
| 222 |
+
color: #ff4111;
|
| 223 |
+
content: "\f00d";
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.install-item .item .info {
|
| 227 |
+
margin-bottom: 25px;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.install-item .item .info:last-child {
|
| 231 |
+
margin-bottom: 0 !important;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.install-item .item .info img {
|
| 235 |
+
width: 20px;
|
| 236 |
+
margin-right: 5px;
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.install-item .item .info a {
|
| 240 |
+
margin: 0 5px;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
@media (max-width: 575px) {
|
| 244 |
+
.install-item .item {
|
| 245 |
+
margin-bottom: 40px;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
.install-item .item .subtitle {
|
| 249 |
+
margin-bottom: 15px;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
.install-item .item .check-list,
|
| 253 |
+
.install-item .item .info,
|
| 254 |
+
.install-item .item p {
|
| 255 |
+
margin-bottom: 20px;
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.requirment-table {
|
| 260 |
+
width: 100%;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.requirment-table tr {
|
| 264 |
+
border-left: 1px solid rgba(255, 255, 255, 0.12);
|
| 265 |
+
border-right: 1px solid rgba(255, 255, 255, 0.12);
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.requirment-table tr:first-child {
|
| 269 |
+
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
.requirment-table tr td {
|
| 273 |
+
padding: 10px;
|
| 274 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
@media (max-width:767px) {
|
| 278 |
+
.requirment-table tr td {
|
| 279 |
+
font-size: 16px;
|
| 280 |
+
;
|
| 281 |
+
}
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
@media (max-width:575px) {
|
| 285 |
+
.requirment-table tr td {
|
| 286 |
+
font-size: 15px;
|
| 287 |
+
;
|
| 288 |
+
}
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.requirment-table tr td:last-child {
|
| 292 |
+
text-align: center;
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.requirment-table tr td i {
|
| 296 |
+
color: #e84118;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
.requirment-table tr td i[class*="check"] {
|
| 300 |
+
color: #28C76F;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.requirment-table tr:nth-child(even) {
|
| 304 |
+
background: #050d3d;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
.table-area.item {
|
| 308 |
+
margin-bottom: 30px;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
@media (max-width: 767px) {
|
| 312 |
+
.table-area {
|
| 313 |
+
overflow-x: auto;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.table-area .requirment-table {
|
| 317 |
+
width: 700px;
|
| 318 |
+
}
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.info-item {
|
| 322 |
+
margin-bottom: 40px;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
.info-item:last-child {
|
| 326 |
+
margin-bottom: 0 !important;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
.info-item .subtitle {
|
| 330 |
+
text-transform: uppercase;
|
| 331 |
+
font-weight: 400;
|
| 332 |
+
font-size: 18px;
|
| 333 |
+
margin-bottom: 10px;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
@media (max-width: 575px) {
|
| 337 |
+
.info-item {
|
| 338 |
+
margin-bottom: 30px;
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
p {
|
| 342 |
+
font-size: 16px;
|
| 343 |
+
}
|
| 344 |
+
|
| 345 |
+
.check-list {
|
| 346 |
+
font-size: 16px;
|
| 347 |
+
}
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
.mb--20 {
|
| 351 |
+
margin-bottom: -20px;
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
.information-form-group {
|
| 355 |
+
margin-bottom: 20px;
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.success-area {
|
| 359 |
+
padding: 30px 0;
|
| 360 |
+
}
|
| 361 |
+
|
| 362 |
+
.success-area .subtitle {
|
| 363 |
+
text-transform: uppercase;
|
| 364 |
+
margin-bottom: 70px;
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
.success-area .info {
|
| 368 |
+
display: block;
|
| 369 |
+
color: #28C76F;
|
| 370 |
+
margin-bottom: 30px;
|
| 371 |
+
}
|
| 372 |
+
|
| 373 |
+
.success-area .warning {
|
| 374 |
+
margin-top: 70px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
@media (max-width: 575px) {
|
| 378 |
+
.success-area .subtitle {
|
| 379 |
+
margin-bottom: 40px;
|
| 380 |
+
}
|
| 381 |
+
|
| 382 |
+
.success-area .info {
|
| 383 |
+
margin-bottom: 20px;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
.success-area .warning {
|
| 387 |
+
margin-top: 40px;
|
| 388 |
+
}
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
.logo {
|
| 392 |
+
max-width: 180px;
|
| 393 |
+
object-fit: contain;
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
@media (max-width:575px) {
|
| 397 |
+
.logo {
|
| 398 |
+
max-width: 140px;
|
| 399 |
+
}
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
@media (max-width:450px) {
|
| 403 |
+
.logo {
|
| 404 |
+
max-width: 115px;
|
| 405 |
+
}
|
| 406 |
+
}
|
| 407 |
+
|
| 408 |
+
a {
|
| 409 |
+
display: inline-block;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.theme-button {
|
| 413 |
+
font-weight: 700;
|
| 414 |
+
border-radius: 5px;
|
| 415 |
+
line-height: 28px;
|
| 416 |
+
padding: 15px 30px;
|
| 417 |
+
text-transform: uppercase;
|
| 418 |
+
color: #fff;
|
| 419 |
+
background: #0087ff;
|
| 420 |
+
position: relative;
|
| 421 |
+
z-index: 1;
|
| 422 |
+
}
|
| 423 |
+
|
| 424 |
+
.theme-button::before {
|
| 425 |
+
position: absolute;
|
| 426 |
+
content: "";
|
| 427 |
+
top: 0;
|
| 428 |
+
left: 0;
|
| 429 |
+
width: 0;
|
| 430 |
+
height: 100%;
|
| 431 |
+
background-color: #28C76F;
|
| 432 |
+
transition: all 0.45s;
|
| 433 |
+
z-index: -1;
|
| 434 |
+
border-radius: 5px;
|
| 435 |
+
}
|
| 436 |
+
|
| 437 |
+
.theme-button:hover::before {
|
| 438 |
+
width: 100%;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
.theme-button i:last-child {
|
| 442 |
+
margin-left: 7px;
|
| 443 |
+
}
|
| 444 |
+
|
| 445 |
+
.theme-button i:first-child {
|
| 446 |
+
margin-right: 7px;
|
| 447 |
+
}
|
| 448 |
+
|
| 449 |
+
.theme-button:hover {
|
| 450 |
+
color: #fff;
|
| 451 |
+
text-decoration: none;
|
| 452 |
+
}
|
| 453 |
+
|
| 454 |
+
.theme-button.choto {
|
| 455 |
+
padding: 10px 30px;
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
button.theme-button {
|
| 459 |
+
border: none;
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
@media (max-width:575px) {
|
| 463 |
+
.theme-button {
|
| 464 |
+
font-size: 15px;
|
| 465 |
+
}
|
| 466 |
+
}
|
| 467 |
+
|
| 468 |
+
@keyframes outer-ripple {
|
| 469 |
+
0% {
|
| 470 |
+
transform: scale(1);
|
| 471 |
+
opacity: 0.5;
|
| 472 |
+
-webkit-transform: scale(1);
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
80% {
|
| 476 |
+
transform: scale(1.5);
|
| 477 |
+
opacity: 0;
|
| 478 |
+
-webkit-transform: scale(1.5);
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
100% {
|
| 482 |
+
transform: scale(2.5);
|
| 483 |
+
opacity: 0;
|
| 484 |
+
-webkit-transform: scale(2.5);
|
| 485 |
+
}
|
| 486 |
+
}
|
| 487 |
+
|
| 488 |
+
@keyframes inner-ripple {
|
| 489 |
+
0% {
|
| 490 |
+
transform: scale(1);
|
| 491 |
+
opacity: 0.5;
|
| 492 |
+
-webkit-transform: scale(1);
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
30% {
|
| 496 |
+
transform: scale(1);
|
| 497 |
+
opacity: 0.5;
|
| 498 |
+
-webkit-transform: scale(1);
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
100% {
|
| 502 |
+
transform: scale(1.5);
|
| 503 |
+
opacity: 0;
|
| 504 |
+
-webkit-transform: scale(1.5);
|
| 505 |
+
}
|
| 506 |
+
}
|
| 507 |
+
|
| 508 |
+
a {
|
| 509 |
+
text-decoration: none;
|
| 510 |
+
}
|
| 511 |
+
|
| 512 |
+
.bg--dark {
|
| 513 |
+
background-color: #071251 !important;
|
| 514 |
+
}
|
| 515 |
+
|
| 516 |
+
.passed-btn {
|
| 517 |
+
background: transparent;
|
| 518 |
+
color: #28c76f;
|
| 519 |
+
border-color: #28c76f;
|
| 520 |
+
font-weight: 500;
|
| 521 |
+
line-height: 1;
|
| 522 |
+
padding-top: 7px;
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
.passed-btn:hover {
|
| 526 |
+
color: #000;
|
| 527 |
+
background-color: #28c76f;
|
| 528 |
+
border-color: #28c76f;
|
| 529 |
+
}
|
| 530 |
+
|
| 531 |
+
.passed-btn:focus {
|
| 532 |
+
box-shadow: none;
|
| 533 |
+
}
|
| 534 |
+
|
| 535 |
+
|
| 536 |
+
input:not([type=radio]) {
|
| 537 |
+
border-radius: 5px;
|
| 538 |
+
color: #fff;
|
| 539 |
+
}
|
| 540 |
+
|
| 541 |
+
input:not([type=radio]) ::placeholder {
|
| 542 |
+
color: rgb(185, 185, 185);
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
input:not([type=radio]) {
|
| 546 |
+
width: 100%;
|
| 547 |
+
height: 50px;
|
| 548 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 549 |
+
background: #050f48;
|
| 550 |
+
padding: 0 15px;
|
| 551 |
+
outline: 0 !important;
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
input:focus {
|
| 555 |
+
border-color: #0087ff !important;
|
| 556 |
+
}
|
| 557 |
+
|
| 558 |
+
input::placeholder {
|
| 559 |
+
color: #ddd;
|
| 560 |
+
}
|
| 561 |
+
|
| 562 |
+
.text-success {
|
| 563 |
+
color: #28C76F !important;
|
| 564 |
+
}
|
| 565 |
+
|
| 566 |
+
.text-danger {
|
| 567 |
+
color: #ff4111 !important;
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
.icon.big {
|
| 571 |
+
font-size: 76px;
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
.success-icon {
|
| 575 |
+
font-size: 70px;
|
| 576 |
+
}
|
| 577 |
+
|
| 578 |
+
.font-small {
|
| 579 |
+
font-size: 15px
|
| 580 |
+
}
|
| 581 |
+
|
| 582 |
+
.alert-primary {
|
| 583 |
+
color: #1e74f5;
|
| 584 |
+
background-color: #08429830;
|
| 585 |
+
border-color: #084298;
|
| 586 |
+
}
|
| 587 |
+
|
| 588 |
+
.alert-warning {
|
| 589 |
+
color: #af8406;
|
| 590 |
+
background-color: #a77e0730;
|
| 591 |
+
border-color: #664d03;
|
| 592 |
+
}
|
| 593 |
+
|
| 594 |
+
.alert-success {
|
| 595 |
+
color: #1a955b;
|
| 596 |
+
background-color: #13764857;
|
| 597 |
+
border-color: #0f5132;
|
| 598 |
+
}
|
| 599 |
+
|
| 600 |
+
.word-break-all {
|
| 601 |
+
word-break: break-all;
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
.fs-17 {
|
| 605 |
+
font-size: 17px;
|
| 606 |
+
}
|
| 607 |
+
|
| 608 |
+
.agree-label {
|
| 609 |
+
margin-left: 5px;
|
| 610 |
+
}
|
| 611 |
+
|
| 612 |
+
.p-code-info {
|
| 613 |
+
cursor: pointer;
|
| 614 |
+
}
|
| 615 |
+
|
| 616 |
+
|
| 617 |
+
|
| 618 |
+
.alert-area {
|
| 619 |
+
text-align: center;
|
| 620 |
+
margin-bottom: 30px;
|
| 621 |
+
}
|
| 622 |
+
|
| 623 |
+
.alert-danger {
|
| 624 |
+
color: #d90e1f;
|
| 625 |
+
background-color: #d90e1f29;
|
| 626 |
+
border-color: #d90e1f;
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
.alert-area h5 {
|
| 630 |
+
color: #d90e1f;
|
| 631 |
+
}
|
| 632 |
+
|
| 633 |
+
.alert-area a {
|
| 634 |
+
line-height: 1;
|
| 635 |
+
padding-top: 7px;
|
| 636 |
+
text-transform: uppercase;
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
|
| 640 |
+
/* secure password */
|
| 641 |
+
.hover-input-popup {
|
| 642 |
+
position: relative;
|
| 643 |
+
}
|
| 644 |
+
|
| 645 |
+
.input-popup {
|
| 646 |
+
display: none;
|
| 647 |
+
}
|
| 648 |
+
|
| 649 |
+
.hover-input-popup .input-popup {
|
| 650 |
+
display: block;
|
| 651 |
+
position: absolute;
|
| 652 |
+
bottom: 100%;
|
| 653 |
+
left: 50%;
|
| 654 |
+
width: 280px;
|
| 655 |
+
background-color: #1a1a1a;
|
| 656 |
+
color: #fff;
|
| 657 |
+
padding: 10px;
|
| 658 |
+
border-radius: 5px;
|
| 659 |
+
-webkit-border-radius: 5px;
|
| 660 |
+
-moz-border-radius: 5px;
|
| 661 |
+
-ms-border-radius: 5px;
|
| 662 |
+
-o-border-radius: 5px;
|
| 663 |
+
-webkit-transform: translateX(-50%);
|
| 664 |
+
-ms-transform: translateX(-50%);
|
| 665 |
+
transform: translateX(-50%);
|
| 666 |
+
-webkit-transition: all 0.3s;
|
| 667 |
+
-o-transition: all 0.3s;
|
| 668 |
+
transition: all 0.3s;
|
| 669 |
+
z-index: 99999;
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
.hover-input-popup .input-popup p {
|
| 673 |
+
margin-bottom: 0;
|
| 674 |
+
}
|
| 675 |
+
|
| 676 |
+
.input-popup::after {
|
| 677 |
+
position: absolute;
|
| 678 |
+
content: '';
|
| 679 |
+
bottom: -19px;
|
| 680 |
+
left: 50%;
|
| 681 |
+
margin-left: -5px;
|
| 682 |
+
border-width: 10px 10px 10px 10px;
|
| 683 |
+
border-style: solid;
|
| 684 |
+
border-color: transparent transparent #1a1a1a transparent;
|
| 685 |
+
-webkit-transform: rotate(180deg);
|
| 686 |
+
-ms-transform: rotate(180deg);
|
| 687 |
+
transform: rotate(180deg);
|
| 688 |
+
}
|
| 689 |
+
|
| 690 |
+
.input-popup p {
|
| 691 |
+
padding-left: 20px;
|
| 692 |
+
position: relative;
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
+
.input-popup p::before {
|
| 696 |
+
position: absolute;
|
| 697 |
+
content: '';
|
| 698 |
+
font-family: 'Line Awesome Free';
|
| 699 |
+
font-weight: 900;
|
| 700 |
+
left: 0;
|
| 701 |
+
top: 4px;
|
| 702 |
+
line-height: 1;
|
| 703 |
+
font-size: 18px;
|
| 704 |
+
}
|
| 705 |
+
|
| 706 |
+
.input-popup p.error::before {
|
| 707 |
+
content: "\2716";
|
| 708 |
+
color: #ea5455;
|
| 709 |
+
}
|
| 710 |
+
|
| 711 |
+
.input-popup p.success::before {
|
| 712 |
+
content: "\2714";
|
| 713 |
+
color: #28c76f;
|
| 714 |
+
}
|
| 715 |
+
|
| 716 |
+
.input-popup p.success,
|
| 717 |
+
.input-popup p.error {
|
| 718 |
+
font-size: 14px;
|
| 719 |
+
}
|
| 720 |
+
|
| 721 |
+
.weak-password-error::before {
|
| 722 |
+
content: "\2716";
|
| 723 |
+
}
|
| 724 |
+
|
| 725 |
+
.review-alert{
|
| 726 |
+
padding: 0 200px;
|
| 727 |
+
}
|
| 728 |
+
|
| 729 |
+
@media (max-width: 1399px) {
|
| 730 |
+
.review-alert{
|
| 731 |
+
padding: 0 150px;
|
| 732 |
+
}
|
| 733 |
+
}
|
| 734 |
+
@media (max-width: 1199px) {
|
| 735 |
+
.review-alert{
|
| 736 |
+
padding: 0 100px;
|
| 737 |
+
}
|
| 738 |
+
}
|
| 739 |
+
@media (max-width: 991px) {
|
| 740 |
+
.review-alert{
|
| 741 |
+
padding: 0 40px;
|
| 742 |
+
}
|
| 743 |
+
}
|
| 744 |
+
@media (max-width: 991px) {
|
| 745 |
+
.review-alert{
|
| 746 |
+
padding: 0 10px;
|
| 747 |
+
}
|
| 748 |
+
}
|
assets/global/css/iziToast.min.css
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
* iziToast | v1.4.0
|
| 3 |
+
* http://izitoast.marcelodolce.com
|
| 4 |
+
* by Marcelo Dolce.
|
| 5 |
+
*/
|
| 6 |
+
.iziToast-capsule{font-size:0;height:0;width:100%;transform:translateZ(0);backface-visibility:hidden;transition:transform .5s cubic-bezier(.25,.8,.25,1),height .5s cubic-bezier(.25,.8,.25,1)}.iziToast-capsule,.iziToast-capsule *{box-sizing:border-box}.iziToast-overlay{display:block;position:fixed;top:-100px;left:0;right:0;bottom:-100px;z-index:997}.iziToast{display:inline-block;clear:both;position:relative;font-family:'Lato',Tahoma,Arial;font-size:14px;padding:8px 45px 9px 0;background:rgba(238,238,238,.9);border-color:rgba(238,238,238,.9);width:100%;pointer-events:all;cursor:default;transform:translateX(0);-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-height:54px}.iziToast>.iziToast-progressbar{position:absolute;left:0;bottom:0;width:100%;z-index:1;background:rgba(255,255,255,.2)}.iziToast>.iziToast-progressbar>div{height:2px;width:100%;background:rgba(0,0,0,.3);border-radius:0 0 3px 3px}.iziToast.iziToast-balloon:before{content:'';position:absolute;right:8px;left:auto;width:0;height:0;top:100%;border-right:0 solid transparent;border-left:15px solid transparent;border-top:10px solid #000;border-top-color:inherit;border-radius:0}.iziToast.iziToast-balloon .iziToast-progressbar{top:0;bottom:auto}.iziToast.iziToast-balloon>div{border-radius:0 0 0 3px}.iziToast>.iziToast-cover{position:absolute;left:0;top:0;bottom:0;height:100%;margin:0;background-size:100%;background-position:50% 50%;background-repeat:no-repeat;background-color:rgba(0,0,0,.1)}.iziToast>.iziToast-close{position:absolute;right:0;top:0;border:0;padding:0;opacity:.6;width:42px;height:100%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAJPAAACTwBcGfW0QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAD3SURBVFiF1ZdtDoMgDEBfdi4PwAX8vLFn0qT7wxantojKupmQmCi8R4tSACpgjC2ICCUbEBa8ingjsU1AXRBeR8aLN64FiknswN8CYefBBDQ3whuFESy7WyQMeC0ipEI0A+0FeBvHUFN8xPaUhAH/iKoWsnXHGegy4J0yxialOfaHJAz4bhRzQzgDvdGnz4GbAonZbCQMuBm1K/kcFu8Mp1N2cFFpsxsMuJqqbIGExGl4loARajU1twskJLLhIsID7+tvUoDnIjTg5T9DPH9EBrz8rxjPzciAl9+O8SxI8CzJ8CxKFfh3ynK8Dyb8wNHM/XDqejx/AtNyPO87tNybAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px;cursor:pointer;outline:0}.iziToast>.iziToast-close:hover{opacity:1}.iziToast>.iziToast-body{position:relative;padding:0 0 0 10px;height:auto;min-height:36px;margin:0 0 0 15px;text-align:left}.iziToast>.iziToast-body:after{content:"";display:table;clear:both}.iziToast>.iziToast-body .iziToast-texts{margin:10px 0 0;padding-right:2px;display:inline-block;float:left}.iziToast>.iziToast-body .iziToast-inputs{min-height:19px;float:left;margin:3px -2px}.iziToast>.iziToast-body .iziToast-inputs>input:not([type=checkbox]):not([type=radio]),.iziToast>.iziToast-body .iziToast-inputs>select{position:relative;display:inline-block;margin:2px;border-radius:2px;border:0;padding:4px 7px;font-size:13px;letter-spacing:.02em;background:rgba(0,0,0,.1);color:#000;box-shadow:0 0 0 1px rgba(0,0,0,.2);min-height:26px}.iziToast>.iziToast-body .iziToast-inputs>input:not([type=checkbox]):not([type=radio]):focus,.iziToast>.iziToast-body .iziToast-inputs>select:focus{box-shadow:0 0 0 1px rgba(0,0,0,.6)}.iziToast>.iziToast-body .iziToast-buttons{min-height:17px;float:left;margin:4px -2px}.iziToast>.iziToast-body .iziToast-buttons>a,.iziToast>.iziToast-body .iziToast-buttons>button,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]){position:relative;display:inline-block;margin:2px;border-radius:2px;border:0;padding:5px 10px;font-size:12px;letter-spacing:.02em;cursor:pointer;background:rgba(0,0,0,.1);color:#000}.iziToast>.iziToast-body .iziToast-buttons>a:hover,.iziToast>.iziToast-body .iziToast-buttons>button:hover,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):hover{background:rgba(0,0,0,.2)}.iziToast>.iziToast-body .iziToast-buttons>a:focus,.iziToast>.iziToast-body .iziToast-buttons>button:focus,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):focus{box-shadow:0 0 0 1px rgba(0,0,0,.6)}.iziToast>.iziToast-body .iziToast-buttons>a:active,.iziToast>.iziToast-body .iziToast-buttons>button:active,.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):active{top:1px}.iziToast>.iziToast-body .iziToast-icon{position:absolute;left:0;top:50%;display:table;font-size:23px;line-height:24px;margin-top:-12px;color:#000;width:24px;height:24px}.iziToast>.iziToast-body .iziToast-icon.ico-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAflBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACCtoPsAAAAKXRSTlMA6PsIvDob+OapavVhWRYPrIry2MxGQ97czsOzpJaMcE0qJQOwVtKjfxCVFeIAAAI3SURBVFjDlJPZsoIwEETnCiGyb8q+qmjl/3/wFmGKwjBROS9QWbtnOqDDGPq4MdMkSc0m7gcDDhF4NRdv8NoL4EcMpzoJglPl/KTDz4WW3IdvXEvxkfIKn7BMZb1bFK4yZFqghZ03jk0nG8N5NBwzx9xU5cxAg8fXi20/hDdC316lcA8o7t16eRuQvW1XGd2d2P8QSHQDDbdIII/9CR3lUF+lbucfJy4WfMS64EJPORnrZxtfc2pjJdnbuags3l04TTtJMXrdTph4Pyg4XAjugAJqMDf5Rf+oXx2/qi4u6nipakIi7CsgiuMSEF9IGKg8heQJKkxIfFSUU/egWSwNrS1fPDtLfon8sZOcYUQml1Qv9a3kfwsEUyJEMgFBKzdV8o3Iw9yAjg1jdLQCV4qbd3no8yD2GugaC3oMbF0NYHCpJYSDhNI5N2DAWB4F4z9Aj/04Cna/x7eVAQ17vRjQZPh+G/kddYv0h49yY4NWNDWMMOMUIRYvlTECmrN8pUAjo5RCMn8KoPmbJ/+Appgnk//Sy90GYBCGgm7IAskQ7D9hFKW4ApB1ei3FSYD9PjGAKygAV+ARFYBH5BsVgG9kkBSAQWKUFYBRZpkUgGVinRWAdUZQDABBQdIcAElDVBUAUUXWHQBZx1gMAGMprM0AsLbVXHsA5trZe93/wp3svQ0YNb/jWV3AIOLsMtlznSNOH7JqjOpDVh7z8qCZR10ftvO4nxeOvPLkpSuvfXnxzKtvXr7j+v8C5ii0e71At7cAAAAASUVORK5CYII=) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-icon.ico-warning{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAkFBMVEUAAAAAAAABAAIAAAABAAIAAAMAAAABAAIBAAIBAAIAAAIAAAABAAIAAAABAAICAAICAAIAAAIAAAAAAAAAAAABAAIBAAIAAAMAAAABAAIBAAMBAAECAAIAAAIAAAIAAAABAAIBAAIBAAMBAAIBAAEAAAIAAAMAAAAAAAABAAECAAICAAIAAAIAAAMAAAQAAAE05yNAAAAAL3RSTlMAB+kD7V8Q+PXicwv7I9iYhkAzJxnx01IV5cmnk2xmHfzexsK4eEw5L7Gei39aRw640awAAAHQSURBVFjD7ZfJdoJAEEWJgCiI4oDiPM8m7///LidErRO7sHrY5u7YXLr7vKqu9kTC0HPmo9n8cJbEQOzqqAdAUHeUZACQuTkGDQBoDJwkHZR0XBz9FkpafXuHP0SJ09mGeJLZ5wwlTmcbA0THPmdEK7XPGTG1zxmInn3OiJ19zkB0jSVTKExMHT0wjAwlWzC0fSPHF1gWRpIhWMYm7fYTFcQGlbemf4dFfdTGg0B/KXM8qBU/3wntbq7rSGqvJ9kla6IpueFJet8fxfem5yhykjyOgNaWF1qSGd5JMNNxpNF7SZQaVh5JzLrTCZIEJ1GyEyVyd+pClMjdaSJK5O40giSRu5PfFiVyd1pAksjdKRnrSsbVdbiHrgT7yss315fkVQPLFQrL+4FHeOXKO5YRFEKv5AiFaMlKLlBpJuVCJlC5sJfvCgztru/3NmBYccPgGTxRAzxn1XGEMUf58pXZvjoOsOCgjL08+b53mtfAM/SVsZcjKLtysQZPqIy9HPP3m/3zKItRwT0LyQo8sTr26tcO83DIUMWIJjierHLsJda/tbNBFY0BP/bKtcM8HNIWCK3aYR4OMzgxo5w5EFLOLKDExXAm9gI4E3iAO94/Ct/lKWuM2LMGbgAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-icon.ico-error{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAeFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVyEiIAAAAJ3RSTlMA3BsB98QV8uSyWVUFz7+kcWMM2LuZioBpTUVBNcq2qaibj4d1azLZZYABAAACZElEQVRYw7WX25KCMAyGAxUoFDkpiohnV97/DXeGBtoOUprZ2dyo1K82fxKbwJJVp+KQZ7so2mX5oThVQLKwjDe9YZu4DF3ptAn6rxY0qQPOEq9fNC9ha3y77a22ba24v+9Xbe8v8x03dPOC2/NdvB6xeSreLfGJpnx0TyotKqLm2s7Jd/WO6ivXNp0tCy02R/aFz5VQ5wUPlUL5fIfj5KIlVGU0nWHm/5QtoTVMWY8mzIVu1K9O7XH2JiU/xnOOT39gnUfj+lFHddx4tFjL3/H8jjzaFCy2Rf0c/fdQyQszI8BDR973IyMSKa4krjxAiW/lkRvMP+bKK9WbYS1ASQg8dKjaUGlYPwRe/WoIkz8tiQchH5QAEMv6T0k8MD4mUyWr4E7jAWqZ+xWcMIYkXvlwggJ3IvFK+wIOcpXAo8n8P0COAaXyKH4OsjBuZB4ew0IGu+H1SebhNazsQBbWm8yj+hFuUJB5eMsN0IUXmYendAFFfJB5uEkRMYwxmcd6zDGRtmQePEykAgubymMRFmMxCSIPCRbTuFNN5OGORTjmNGc0Po0m8Uv0gcCry6xUhR2QeLii9tofbEfhz/qvNti+OfPqNm2Mq6105FUMvdT4GPmufMiV8PqBMkc+DdT1bjYYbjzU/ew23VP4n3mLAz4n8Jtv/Ui3ceTT2mzz5o1mZt0gnBpmsdjqRqVlmplcPdqa7X23kL9brdm2t/uBYDPn2+tyu48mtIGD10JTuUrukVrbCFiwDzcHrPjxKt7PW+AZQyT/WESO+1WL7f3o+WLHL2dYMSZsg6dg/z360ofvP4//v1NPzgs28WlWAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:80%}.iziToast>.iziToast-body .iziToast-icon.ico-success{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABt0UjBAAAACnRSTlMApAPhIFn82wgGv8mVtwAAAKVJREFUSMft0LEJAkEARNFFFEw1NFJb8CKjAy1AEOzAxNw+bEEEg6nyFjbY4LOzcBwX7S/gwUxoTdIn+Jbv4Lv8bx446+kB6VsBtK0B+wbMCKxrwL33wOrVeeChX28n7KTOTjgoEu6DRSYAgAAAAkAmAIAAAAIACQIkMkACAAgAIACAyECBKAOJuCagTJwSUCaUAEMAABEBRwAAEQFLbCJgO4bW+AZKGnktR+jAFAAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziTo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KA4/jyvUsaoSyZLA5kjOjDPFZen8Ql5TsvBskUgjciIPSX3QAXC86DT7VWvlEh/xZ+ij9BDVWJ0QL0SbZq6QaFxoLPcXPmBLveLCc4wXdDK6s+6/vwhCSniFLPXW0NJe5UB8zKCsviqpc7vGPVQFcyZbyPwGD+d5ZnxmNWlhG4xSBZZjivjIWHEQgoDkSMjMwTo54569JSE5IpA7EyJSMTyGTUAUFlO1ZKOtaHTMeL1PhYYFTcihmY2cQ5+ullj7EDkiVfVez2sCTz8yiv84djhg7IJVk81xFWJlPdfHBG0flkRC/zQFZ+DSllNtfDdUsOMCliyGX5uOzU3ZhIXFDof4m1gDuKbEx0t2YS25gVGpcMnr/I1kx3c6piB8P8ZoqEwfMX3ZyCXynJTmq/U7NUXqfUzCbWL1wqVKBQUeESzQYoUlW8TAcVL1RCxUu1G6BYXfFyfQ4VPbDI4T8d2WzgQ6sc/vmxnTsqfHCZQzUJxm1h5dxS5Tu6lQgTZ0ipqRVqSwzTbbLHMt+c19iO76tsx/cLZub+Ali+tYC93olEAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTA5LTA5VDIwOjE4OjE3KzAyOjAwjKtfjgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0wOS0wOVQyMDoxODoxNyswMjowMP325zIAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:85%}.iziToast>.iziToast-body .iziToast-message,.iziToast>.iziToast-body .iziToast-title{padding:0;font-size:14px;line-height:16px;text-align:left;float:left;white-space:normal}.iziToast>.iziToast-body .iziToast-title{color:#000;margin:0}.iziToast>.iziToast-body .iziToast-message{margin:0 0 10px;color:rgba(0,0,0,.6)}.iziToast.iziToast-animateInside .iziToast-buttons-child,.iziToast.iziToast-animateInside .iziToast-icon,.iziToast.iziToast-animateInside .iziToast-inputs-child,.iziToast.iziToast-animateInside .iziToast-message,.iziToast.iziToast-animateInside .iziToast-title{opacity:0}.iziToast-target{position:relative;width:100%;margin:0 auto}.iziToast-target .iziToast-capsule{overflow:hidden}.iziToast-target .iziToast-capsule:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.iziToast-target .iziToast-capsule .iziToast{width:100%;float:left}.iziToast-wrapper{z-index:99999;position:fixed;width:100%;pointer-events:none;display:flex;flex-direction:column}.iziToast-wrapper .iziToast.iziToast-balloon:before{border-right:0 solid transparent;border-left:15px solid transparent;border-top:10px solid #000;border-top-color:inherit;right:8px;left:auto}.iziToast-wrapper-bottomLeft{left:0;bottom:0;text-align:left}.iziToast-wrapper-bottomLeft .iziToast.iziToast-balloon:before,.iziToast-wrapper-topLeft .iziToast.iziToast-balloon:before{border-right:15px solid transparent;border-left:0 solid transparent;right:auto;left:8px}.iziToast-wrapper-bottomRight{right:0;bottom:0;text-align:right}.iziToast-wrapper-topLeft{left:0;top:0;text-align:left}.iziToast-wrapper-topRight{top:0;right:0;text-align:right}.iziToast-wrapper-topCenter{top:0;left:0;right:0;text-align:center}.iziToast-wrapper-bottomCenter,.iziToast-wrapper-center{bottom:0;left:0;right:0;text-align:center}.iziToast-wrapper-center{top:0;justify-content:center;flex-flow:column;align-items:center}.iziToast-rtl{direction:rtl;padding:8px 0 9px 45px;font-family:Tahoma,'Lato',Arial}.iziToast-rtl .iziToast-cover{left:auto;right:0}.iziToast-rtl .iziToast-close{right:auto;left:0}.iziToast-rtl .iziToast-body{padding:0 10px 0 0;margin:0 16px 0 0;text-align:right}.iziToast-rtl .iziToast-body .iziToast-buttons,.iziToast-rtl .iziToast-body .iziToast-inputs,.iziToast-rtl .iziToast-body .iziToast-message,.iziToast-rtl .iziToast-body .iziToast-texts,.iziToast-rtl .iziToast-body .iziToast-title{float:right;text-align:right}.iziToast-rtl .iziToast-body .iziToast-icon{left:auto;right:0}@media only screen and (min-width:568px){.iziToast-wrapper{padding:10px 15px}.iziToast{margin:5px 0;border-radius:3px;width:auto}.iziToast:after{content:'';z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:3px;box-shadow:inset 0 -10px 20px -10px rgba(0,0,0,.2),inset 0 0 5px rgba(0,0,0,.1),0 8px 8px -5px rgba(0,0,0,.25)}.iziToast:not(.iziToast-rtl) .iziToast-cover{border-radius:3px 0 0 3px}.iziToast.iziToast-rtl .iziToast-cover{border-radius:0 3px 3px 0}.iziToast.iziToast-color-dark:after{box-shadow:inset 0 -10px 20px -10px rgba(255,255,255,.3),0 10px 10px -5px rgba(0,0,0,.25)}.iziToast.iziToast-balloon .iziToast-progressbar{background:0 0}.iziToast.iziToast-balloon:after{box-shadow:0 10px 10px -5px rgba(0,0,0,.25),inset 0 10px 20px -5px rgba(0,0,0,.25)}.iziToast-target .iziToast:after{box-shadow:inset 0 -10px 20px -10px rgba(0,0,0,.2),inset 0 0 5px rgba(0,0,0,.1)}}.iziToast.iziToast-theme-dark{background:#565c70;border-color:#565c70}.iziToast.iziToast-theme-dark .iziToast-title{color:#fff}.iziToast.iziToast-theme-dark .iziToast-message{color:rgba(255,255,255,.7);font-weight:300}.iziToast.iziToast-theme-dark .iziToast-close{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfgCR4OIQIPSao6AAAAwElEQVRIx72VUQ6EIAwFmz2XB+AConhjzqTJ7JeGKhLYlyx/BGdoBVpjIpMJNjgIZDKTkQHYmYfwmR2AfAqGFBcO2QjXZCd24bEggvd1KBx+xlwoDpYmvnBUUy68DYXD77ESr8WDtYqvxRex7a8oHP4Wo1Mkt5I68Mc+qYqv1h5OsZmZsQ3gj/02h6cO/KEYx29hu3R+VTTwz6D3TymIP1E8RvEiiVdZfEzicxYLiljSxKIqlnW5seitTW6uYnv/Aqh4whX3mEUrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA5LTMwVDE0OjMzOjAyKzAyOjAwl6RMVgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wOS0zMFQxNDozMzowMiswMjowMOb59OoAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:8px}.iziToast.iziToast-theme-dark .iziToast-icon{color:#fff}.iziToast.iziToast-theme-dark .iziToast-icon.ico-info{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAflBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////vroaSAAAAKXRSTlMA6PsIvDob+OapavVhWRYPrIry2MxGQ97czsOzpJaMcE0qJQOwVtKjfxCVFeIAAAI3SURBVFjDlJPZsoIwEETnCiGyb8q+qmjl/3/wFmGKwjBROS9QWbtnOqDDGPq4MdMkSc0m7gcDDhF4NRdv8NoL4EcMpzoJglPl/KTDz4WW3IdvXEvxkfIKn7BMZb1bFK4yZFqghZ03jk0nG8N5NBwzx9xU5cxAg8fXi20/hDdC316lcA8o7t16eRuQvW1XGd2d2P8QSHQDDbdIII/9CR3lUF+lbucfJy4WfMS64EJPORnrZxtfc2pjJdnbuags3l04TTtJMXrdTph4Pyg4XAjugAJqMDf5Rf+oXx2/qi4u6nipakIi7CsgiuMSEF9IGKg8heQJKkxIfFSUU/egWSwNrS1fPDtLfon8sZOcYUQml1Qv9a3kfwsEUyJEMgFBKzdV8o3Iw9yAjg1jdLQCV4qbd3no8yD2GugaC3oMbF0NYHCpJYSDhNI5N2DAWB4F4z9Aj/04Cna/x7eVAQ17vRjQZPh+G/kddYv0h49yY4NWNDWMMOMUIRYvlTECmrN8pUAjo5RCMn8KoPmbJ/+Appgnk//Sy90GYBCGgm7IAskQ7D9hFKW4ApB1ei3FSYD9PjGAKygAV+ARFYBH5BsVgG9kkBSAQWKUFYBRZpkUgGVinRWAdUZQDABBQdIcAElDVBUAUUXWHQBZx1gMAGMprM0AsLbVXHsA5trZe93/wp3svQ0YNb/jWV3AIOLsMtlznSNOH7JqjOpDVh7z8qCZR10ftvO4nxeOvPLkpSuvfXnxzKtvXr7j+v8C5ii0e71At7cAAAAASUVORK5CYII=) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-warning{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAllBMVEUAAAD////+//3+//3+//3///////z+//3+//3+//3////////////9//3////+//39//3///3////////////+//3+//39//3///z+//z+//7///3///3///3///3////////+//3+//3+//3+//z+//3+//7///3///z////////+//79//3///3///z///v+//3///+trXouAAAAMHRSTlMAB+j87RBf+PXiCwQClSPYhkAzJxnx05tSyadzcmxmHRbp5d7Gwrh4TDkvsYt/WkdQzCITAAAB1UlEQVRYw+3XaXKCQBCGYSIIighoxCVqNJrEPfly/8vFImKXduNsf/Mc4K1y7FnwlMLQc/bUbj85R6bA1LXRDICg6RjJcZa7NQYtnLUGTpERSiOXxrOPkv9s30iGKDmtbYir3H7OUHJa2ylAuvZzRvzUfs7Ii/2cgfTt54x82s8ZSM848gJmYtroQzA2jHwA+LkBIEuMGt+QIng1igzlyMrkuP2CyOi47axRaYTL5jhDJehoR+aovC29s3iIyly3Eb+hRCvZo2qsGTnhKr2cLDS+J73GsqBI9W80UCmWWpEuhIjh6ZRGjyNRarjzKGJ2Ou2himCvjHwqI+rTqQdlRH06TZQR9ek0hiqiPp06mV4ke7QPX6ERUZxO8Uo3sqrfhxvoRrCpvXwL/UjR9GRHMIvLgke4d5QbiwhM6JV2YKKF4vIl7XIBkwm4keryJVmvk/TfwcmPwQNkUQuyA2/sYGwnXL7GPu4bW1jYsmevrNj09/MGZMOEPXslQVqO8hqykD17JfPHP/bmo2yGGpdZiH3IZvzZa7B3+IdDjjpjesHJcvbs5dZ/e+cddVoDdvlq7x12Nac+iN7e4R8OXTjp0pw5CGnOLNDEzeBs5gVwFniAO+8f8wvfeXP2hyqnmwAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-error{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMA3BsB98QV8uSyWVUFz6RxYwzYvbupmYqAaU1FQTXKv7abj4d1azKNUit3AAACZElEQVRYw7WXaZOCMAyGw30UORRQBLxX/v8/3BkaWjrY2szO5otKfGrzJrEp6Kw6F8f8sI+i/SE/FucKSBaWiT8p5idlaEtnXTB9tKDLLHAvdSatOan3je93k9F2vRF36+mr1a6eH2NFNydoHq/ieU/UXcWjjk9XykdNWq2ywtp4tXL6Wb2T/MqtzzZutsrNyfvA51KoQROhVCjfrnASIRpSVUZiD5v4RbWExjRdJzSmOsZFvzYz59kRSr6V5zE+/QELHkNdb3VRx45HS1b1u+zfkkcbRAZ3qJ9l/A4qefHUDMShJe+6kZKJDD2pLQ9Q4lu+5Q7rz7Plperd7AtQEgIPI6o2dxr2D4GXvxqCiKcn8cD4gxIAEt7/GYkHL16KqeJd0NB4gJbXfgVnzCGJlzGcocCVSLzUvoAj9xJ4NF7/R8gxoVQexc/hgBpSebjPjgPs59cHmYfn7NkDb6wXmUf1I1ygIPPw4gtgCE8yDw8eAop4J/PQcBExjQmZx37MsZB2ZB4cLKQCG5vKYxMWSzMxIg8pNtOyUkvkocEmXGo69mh8FgnxS4yBwMvDrJSNHZB4uC3ayz/YkcIP4lflwVIT+OU07ZSjrbTkZQ6dTPkYubZ8GC/Cqxu6WvJZII93dcCw46GdNqdpTeF/tiMOuDGB9z/NI6NvyWetGPM0g+bVNeovBmamHXWj0nCbEaGeTMN2PWrqd6cM26ZxP2DeJvj+ph/30Zi/GmRbtlK5SptI+nwGGnvH6gUruT+L16MJHF+58rwNIifTV0vM8+hwMeOXAb6Yx0wXT+b999WXfvn+8/X/F7fWzjdTord5AAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:80%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-success{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMApAPhIFn82wgGv8mVtwAAAKVJREFUSMft0LEJAkEARNFFFEw1NFJb8CKjAy1AEOzAxNw+bEEEg6nyFjbY4LOzcBwX7S/gwUxoTdIn+Jbv4Lv8bx446+kB6VsBtK0B+wbMCKxrwL33wOrVeeChX28n7KTOTjgoEu6DRSYAgAAAAkAmAIAAAAIACQIkMkACAAgAIACAyECBKAOJuCagTJwSUCaUAEMAABEBRwAAEQFLbCJgO4bW+AZKGnktR+jAFAAAAABJRU5ErkJggg==) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-icon.ico-question{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfhCQkUEg18vki+AAAETUlEQVRo3s1ZTWhbRxD+VlIuxsLFCYVIIQYVopBDoK5bKDWUBupDMNbJ5FBKg/FBziUQdE9yaC+FHBrwsdCfQ9RTGoLxwWl+DqHEojUFFydxnB9bInZDqOsErBrr6yGvs/ueX97bldTKo4Pe7puZb3Z33s7srIIjMY1jyCEjP6ImvyX8pF64arSHznKC06wzijY5xSKz7YbuYokV2lODsyyxqz3gSY6z6gCuqcpxJluFH+Z8U+D/0jyHoxFUBHgfvsGHIS9WMIUlVFFDFTUAGWSRQRY5HMeBEP6b+Ew9dh/7INd2j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Hy/WeeCcvLDwl/9OVze69tPKM+M+v7eJN6OzFpWdEF0ucDbhVNFXadnVrmJFlkVNGTS2M6pzmhMvltfPhnN2B63sVuL7fcNP3D1TSk2ihosPrAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTA5LTA5VDIwOjE4OjEzKzAyOjAweOR7nQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0wOS0wOVQyMDoxODoxMyswMjowMAm5wyEAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC) no-repeat 50% 50%;background-size:85%}.iziToast.iziToast-theme-dark .iziToast-buttons>a,.iziToast.iziToast-theme-dark .iziToast-buttons>button,.iziToast.iziToast-theme-dark .iziToast-buttons>input{color:#fff;background:rgba(255,255,255,.1)}.iziToast.iziToast-theme-dark .iziToast-buttons>a:hover,.iziToast.iziToast-theme-dark .iziToast-buttons>button:hover,.iziToast.iziToast-theme-dark .iziToast-buttons>input:hover{background:rgba(255,255,255,.2)}.iziToast.iziToast-theme-dark .iziToast-buttons>a:focus,.iziToast.iziToast-theme-dark .iziToast-buttons>button:focus,.iziToast.iziToast-theme-dark .iziToast-buttons>input:focus{box-shadow:0 0 0 1px rgba(255,255,255,.6)}.iziToast.iziToast-color-red{background:rgba(255,175,180,.9);border-color:rgba(255,175,180,.9)}.iziToast.iziToast-color-orange{background:rgba(255,207,165,.9);border-color:rgba(255,207,165,.9)}.iziToast.iziToast-color-yellow{background:rgba(255,249,178,.9);border-color:rgba(255,249,178,.9)}.iziToast.iziToast-color-blue{background:rgba(157,222,255,.9);border-color:rgba(157,222,255,.9)}.iziToast.iziToast-color-green{background:rgba(166,239,184,.9);border-color:rgba(166,239,184,.9)}.iziToast.iziToast-layout2 .iziToast-body .iziToast-message,.iziToast.iziToast-layout2 .iziToast-body .iziToast-texts{width:100%}.iziToast.iziToast-layout3{border-radius:2px}.iziToast.iziToast-layout3::after{display:none}.iziToast .revealIn,.iziToast.revealIn{-webkit-animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both;-moz-animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both;animation:iziT-revealIn 1s cubic-bezier(.25,1.6,.25,1) both}.iziToast .slideIn,.iziToast.slideIn{-webkit-animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both;-moz-animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both;animation:iziT-slideIn 1s cubic-bezier(.16,.81,.32,1) both}.iziToast.bounceInLeft{-webkit-animation:iziT-bounceInLeft .7s ease-in-out both;animation:iziT-bounceInLeft .7s ease-in-out both}.iziToast.bounceInRight{-webkit-animation:iziT-bounceInRight .85s ease-in-out both;animation:iziT-bounceInRight .85s ease-in-out both}.iziToast.bounceInDown{-webkit-animation:iziT-bounceInDown .7s ease-in-out both;animation:iziT-bounceInDown .7s ease-in-out both}.iziToast.bounceInUp{-webkit-animation:iziT-bounceInUp .7s ease-in-out both;animation:iziT-bounceInUp .7s ease-in-out both}.iziToast .fadeIn,.iziToast.fadeIn{-webkit-animation:iziT-fadeIn .5s ease both;animation:iziT-fadeIn .5s ease both}.iziToast.fadeInUp{-webkit-animation:iziT-fadeInUp .7s ease both;animation:iziT-fadeInUp .7s ease both}.iziToast.fadeInDown{-webkit-animation:iziT-fadeInDown .7s ease both;animation:iziT-fadeInDown .7s ease both}.iziToast.fadeInLeft{-webkit-animation:iziT-fadeInLeft .85s cubic-bezier(.25,.8,.25,1) both;animation:iziT-fadeInLeft .85s cubic-bezier(.25,.8,.25,1) both}.iziToast.fadeInRight{-webkit-animation:iziT-fadeInRight .85s cubic-bezier(.25,.8,.25,1) both;animation:iziT-fadeInRight .85s cubic-bezier(.25,.8,.25,1) both}.iziToast.flipInX{-webkit-animation:iziT-flipInX .85s cubic-bezier(.35,0,.25,1) both;animation:iziT-flipInX .85s cubic-bezier(.35,0,.25,1) both}.iziToast.fadeOut{-webkit-animation:iziT-fadeOut .7s ease both;animation:iziT-fadeOut .7s ease both}.iziToast.fadeOutDown{-webkit-animation:iziT-fadeOutDown .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-fadeOutDown .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast.fadeOutUp{-webkit-animation:iziT-fadeOutUp .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-fadeOutUp .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast.fadeOutLeft{-webkit-animation:iziT-fadeOutLeft .5s ease both;animation:iziT-fadeOutLeft .5s ease both}.iziToast.fadeOutRight{-webkit-animation:iziT-fadeOutRight .5s ease both;animation:iziT-fadeOutRight .5s ease both}.iziToast.flipOutX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation:iziT-flipOutX .7s cubic-bezier(.4,.45,.15,.91) both;animation:iziT-flipOutX .7s cubic-bezier(.4,.45,.15,.91) both}.iziToast-overlay.fadeIn{-webkit-animation:iziT-fadeIn .5s ease both;animation:iziT-fadeIn .5s ease both}.iziToast-overlay.fadeOut{-webkit-animation:iziT-fadeOut .7s ease both;animation:iziT-fadeOut .7s ease both}@-webkit-keyframes iziT-revealIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,1)}to{opacity:1}}@-moz-keyframes iziT-revealIn{0%{opacity:0;-moz-transform:scale3d(.3,.3,1)}to{opacity:1}}@-webkit-keyframes iziT-slideIn{0%{opacity:0;-webkit-transform:translateX(50px)}to{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes iziT-slideIn{0%{opacity:0;-moz-transform:translateX(50px)}to{opacity:1;-moz-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInLeft{0%{opacity:0;-webkit-transform:translateX(280px)}50%{opacity:1;-webkit-transform:translateX(-20px)}70%{-webkit-transform:translateX(10px)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInRight{0%{opacity:0;-webkit-transform:translateX(-280px)}50%{opacity:1;-webkit-transform:translateX(20px)}70%{-webkit-transform:translateX(-10px)}to{-webkit-transform:translateX(0)}}@-webkit-keyframes iziT-bounceInDown{0%{opacity:0;-webkit-transform:translateY(-200px)}50%{opacity:1;-webkit-transform:translateY(10px)}70%{-webkit-transform:translateY(-5px)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes iziT-bounceInUp{0%{opacity:0;-webkit-transform:translateY(200px)}50%{opacity:1;-webkit-transform:translateY(-10px)}70%{-webkit-transform:translateY(5px)}to{-webkit-transform:translateY(0)}}@-webkit-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-webkit-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-webkit-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@-moz-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-webkit-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-o-keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@keyframes iziT-revealIn{0%{opacity:0;transform:scale3d(.3,.3,1)}to{opacity:1}}@-moz-keyframes iziT-slideIn{0%{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes iziT-slideIn{0%{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@-o-keyframes iziT-slideIn{0%{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@keyframes iziT-slideIn{0%{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}@-moz-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translateX(280px)}50%{opacity:1;transform:translateX(-20px)}70%{transform:translateX(10px)}to{transform:translateX(0)}}@-webkit-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translateX(280px)}50%{opacity:1;transform:translateX(-20px)}70%{transform:translateX(10px)}to{transform:translateX(0)}}@-o-keyframes iziT-bounceInLeft{0%{opacity:0;transform:translateX(280px)}50%{opacity:1;transform:translateX(-20px)}70%{transform:translateX(10px)}to{transform:translateX(0)}}@keyframes iziT-bounceInLeft{0%{opacity:0;transform:translateX(280px)}50%{opacity:1;transform:translateX(-20px)}70%{transform:translateX(10px)}to{transform:translateX(0)}}@-moz-keyframes iziT-bounceInRight{0%{opacity:0;transform:translateX(-280px)}50%{opacity:1;transform:translateX(20px)}70%{transform:translateX(-10px)}to{transform:translateX(0)}}@-webkit-keyframes iziT-bounceInRight{0%{opacity:0;transform:translateX(-280px)}50%{opacity:1;transform:translateX(20px)}70%{transform:translateX(-10px)}to{transform:translateX(0)}}@-o-keyframes iziT-bounceInRight{0%{opacity:0;transform:translateX(-280px)}50%{opacity:1;transform:translateX(20px)}70%{transform:translateX(-10px)}to{transform:translateX(0)}}@keyframes iziT-bounceInRight{0%{opacity:0;transform:translateX(-280px)}50%{opacity:1;transform:translateX(20px)}70%{transform:translateX(-10px)}to{transform:translateX(0)}}@-moz-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-webkit-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-o-keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@keyframes iziT-bounceInDown{0%{opacity:0;transform:translateY(-200px)}50%{opacity:1;transform:translateY(10px)}70%{transform:translateY(-5px)}to{transform:translateY(0)}}@-moz-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-webkit-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-o-keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@keyframes iziT-bounceInUp{0%{opacity:0;transform:translateY(200px)}50%{opacity:1;transform:translateY(-10px)}70%{transform:translateY(5px)}to{transform:translateY(0)}}@-moz-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes iziT-fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(300px,0,0);transform:translate3d(300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-webkit-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-o-keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes iziT-fadeInRight{0%{opacity:0;-webkit-transform:translate3d(-300px,0,0);transform:translate3d(-300px,0,0)}to{opacity:1;-webkit-transform:none;transform:none}}@-moz-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-o-keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes iziT-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg)}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-moz-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-webkit-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-o-keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes iziT-fadeOut{0%{opacity:1}to{opacity:0}}@-moz-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-o-keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes iziT-fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-moz-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-o-keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes iziT-fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-moz-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-webkit-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-o-keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@keyframes iziT-fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-200px,0,0);transform:translate3d(-200px,0,0)}}@-moz-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-webkit-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-o-keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@keyframes iziT-fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(200px,0,0);transform:translate3d(200px,0,0)}}@-moz-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@-webkit-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@-o-keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes iziT-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}
|
assets/global/css/iziToast_custom.css
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.iziToast-wrapper {
|
| 2 |
+
gap: 5px;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
+
.iziToast {
|
| 6 |
+
box-shadow: 0 0 8px 2px #00000012;
|
| 7 |
+
border-radius: 10px;
|
| 8 |
+
overflow: hidden;
|
| 9 |
+
padding: 20px 45px 20px 0;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.iziToast>.iziToast-body {
|
| 13 |
+
position: unset;
|
| 14 |
+
padding: unset;
|
| 15 |
+
height: unset;
|
| 16 |
+
min-height: unset;
|
| 17 |
+
margin: unset;
|
| 18 |
+
display: flex;
|
| 19 |
+
justify-content: center;
|
| 20 |
+
align-items: center;
|
| 21 |
+
gap: 20px;
|
| 22 |
+
padding-left: 20px !important;
|
| 23 |
+
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.iziToast:after {
|
| 27 |
+
box-shadow: none;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.iziToast>.iziToast-body .iziToast-icon {
|
| 31 |
+
position: unset;
|
| 32 |
+
display: flex;
|
| 33 |
+
justify-content: center;
|
| 34 |
+
align-items: center;
|
| 35 |
+
font-size: 18px;
|
| 36 |
+
line-height: 1;
|
| 37 |
+
margin-top: unset;
|
| 38 |
+
width: unset;
|
| 39 |
+
height: unset;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.iziToast .iziToast-icon {
|
| 43 |
+
border-radius: 10px;
|
| 44 |
+
padding: 10px;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.iziToast.iziToast-color-green .iziToast-icon {
|
| 48 |
+
background: #28c76f31;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.iziToast.iziToast-color-red .iziToast-icon {
|
| 52 |
+
background: #eb222231;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.iziToast.iziToast-color-blue .iziToast-icon {
|
| 56 |
+
background: #1e9ff231;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.iziToast.iziToast-color-orange .iziToast-icon {
|
| 60 |
+
background: #ff9f4331;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
.iziToast>.iziToast-body .iziToast-texts {
|
| 65 |
+
margin: 0;
|
| 66 |
+
padding-right: 0;
|
| 67 |
+
display: flex;
|
| 68 |
+
flex-direction: column;
|
| 69 |
+
gap: 5px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.iziToast>.iziToast-body .iziToast-message {
|
| 73 |
+
margin: 0;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
.iziToast>.iziToast-close {
|
| 78 |
+
font-family: 'Line Awesome Free';
|
| 79 |
+
font-weight: 900;
|
| 80 |
+
background: unset;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.iziToast>.iziToast-close::before {
|
| 84 |
+
content: "\f00d";
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.iziToast>.iziToast-progressbar>div {
|
| 88 |
+
height: 4px;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.iziToast>.iziToast-close{
|
| 92 |
+
width: 50px;
|
| 93 |
+
}
|
assets/global/css/line-awesome.min.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.la,.lab,.lad,.lal,.lar,.las{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.la-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.la-xs{font-size:.75em}.la-sm{font-size:.875em}.la-1x{font-size:1em}.la-2x{font-size:2em}.la-3x{font-size:3em}.la-4x{font-size:4em}.la-5x{font-size:5em}.la-6x{font-size:6em}.la-7x{font-size:7em}.la-8x{font-size:8em}.la-9x{font-size:9em}.la-10x{font-size:10em}.la-fw{text-align:center;width:1.25em}.la-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.la-ul>li{position:relative}.la-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.la-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.la-pull-left{float:left}.la-pull-right{float:right}.la.la-pull-left,.lab.la-pull-left,.lal.la-pull-left,.lar.la-pull-left,.las.la-pull-left{margin-right:.3em}.la.la-pull-right,.lab.la-pull-right,.lal.la-pull-right,.lar.la-pull-right,.las.la-pull-right{margin-left:.3em}.la-spin{-webkit-animation:la-spin 2s infinite linear;animation:la-spin 2s infinite linear}.la-pulse{-webkit-animation:la-spin 1s infinite steps(8);animation:la-spin 1s infinite steps(8)}@-webkit-keyframes la-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes la-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.la-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.la-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.la-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.la-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.la-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.la-flip-both,.la-flip-horizontal.la-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .la-flip-both,:root .la-flip-horizontal,:root .la-flip-vertical,:root .la-rotate-180,:root .la-rotate-270,:root .la-rotate-90{-webkit-filter:none;filter:none}.la-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.la-stack-1x,.la-stack-2x{left:0;position:absolute;text-align:center;width:100%}.la-stack-1x{line-height:inherit}.la-stack-2x{font-size:2em}.la-inverse{color:#fff}.la-500px:before{content:"\f26e"}.la-accessible-icon:before{content:"\f368"}.la-accusoft:before{content:"\f369"}.la-acquisitions-incorporated:before{content:"\f6af"}.la-ad:before{content:"\f641"}.la-address-book:before{content:"\f2b9"}.la-address-card:before{content:"\f2bb"}.la-adjust:before{content:"\f042"}.la-adn:before{content:"\f170"}.la-adobe:before{content:"\f778"}.la-adversal:before{content:"\f36a"}.la-affiliatetheme:before{content:"\f36b"}.la-air-freshener:before{content:"\f5d0"}.la-airbnb:before{content:"\f834"}.la-algolia:before{content:"\f36c"}.la-align-center:before{content:"\f037"}.la-align-justify:before{content:"\f039"}.la-align-left:before{content:"\f036"}.la-align-right:before{content:"\f038"}.la-alipay:before{content:"\f642"}.la-allergies:before{content:"\f461"}.la-amazon:before{content:"\f270"}.la-amazon-pay:before{content:"\f42c"}.la-ambulance:before{content:"\f0f9"}.la-american-sign-language-interpreting:before{content:"\f2a3"}.la-amilia:before{content:"\f36d"}.la-anchor:before{content:"\f13d"}.la-android:before{content:"\f17b"}.la-angellist:before{content:"\f209"}.la-angle-double-down:before{content:"\f103"}.la-angle-double-left:before{content:"\f100"}.la-angle-double-right:before{content:"\f101"}.la-angle-double-up:before{content:"\f102"}.la-angle-down:before{content:"\f107"}.la-angle-left:before{content:"\f104"}.la-angle-right:before{content:"\f105"}.la-angle-up:before{content:"\f106"}.la-angry:before{content:"\f556"}.la-angrycreative:before{content:"\f36e"}.la-angular:before{content:"\f420"}.la-ankh:before{content:"\f644"}.la-app-store:before{content:"\f36f"}.la-app-store-ios:before{content:"\f370"}.la-apper:before{content:"\f371"}.la-apple:before{content:"\f179"}.la-apple-alt:before{content:"\f5d1"}.la-apple-pay:before{content:"\f415"}.la-archive:before{content:"\f187"}.la-archway:before{content:"\f557"}.la-arrow-alt-circle-down:before{content:"\f358"}.la-arrow-alt-circle-left:before{content:"\f359"}.la-arrow-alt-circle-right:before{content:"\f35a"}.la-arrow-alt-circle-up:before{content:"\f35b"}.la-arrow-circle-down:before{content:"\f0ab"}.la-arrow-circle-left:before{content:"\f0a8"}.la-arrow-circle-right:before{content:"\f0a9"}.la-arrow-circle-up:before{content:"\f0aa"}.la-arrow-down:before{content:"\f063"}.la-arrow-left:before{content:"\f060"}.la-arrow-right:before{content:"\f061"}.la-arrow-up:before{content:"\f062"}.la-arrows-alt:before{content:"\f0b2"}.la-arrows-alt-h:before{content:"\f337"}.la-arrows-alt-v:before{content:"\f338"}.la-artstation:before{content:"\f77a"}.la-assistive-listening-systems:before{content:"\f2a2"}.la-asterisk:before{content:"\f069"}.la-asymmetrik:before{content:"\f372"}.la-at:before{content:"\f1fa"}.la-atlas:before{content:"\f558"}.la-atlassian:before{content:"\f77b"}.la-atom:before{content:"\f5d2"}.la-audible:before{content:"\f373"}.la-audio-description:before{content:"\f29e"}.la-autoprefixer:before{content:"\f41c"}.la-avianex:before{content:"\f374"}.la-aviato:before{content:"\f421"}.la-award:before{content:"\f559"}.la-aws:before{content:"\f375"}.la-baby:before{content:"\f77c"}.la-baby-carriage:before{content:"\f77d"}.la-backspace:before{content:"\f55a"}.la-backward:before{content:"\f04a"}.la-bacon:before{content:"\f7e5"}.la-balance-scale:before{content:"\f24e"}.la-balance-scale-left:before{content:"\f515"}.la-balance-scale-right:before{content:"\f516"}.la-ban:before{content:"\f05e"}.la-band-aid:before{content:"\f462"}.la-bandcamp:before{content:"\f2d5"}.la-barcode:before{content:"\f02a"}.la-bars:before{content:"\f0c9"}.la-baseball-ball:before{content:"\f433"}.la-basketball-ball:before{content:"\f434"}.la-bath:before{content:"\f2cd"}.la-battery-empty:before{content:"\f244"}.la-battery-full:before{content:"\f240"}.la-battery-half:before{content:"\f242"}.la-battery-quarter:before{content:"\f243"}.la-battery-three-quarters:before{content:"\f241"}.la-battle-net:before{content:"\f835"}.la-bed:before{content:"\f236"}.la-beer:before{content:"\f0fc"}.la-behance:before{content:"\f1b4"}.la-behance-square:before{content:"\f1b5"}.la-bell:before{content:"\f0f3"}.la-bell-slash:before{content:"\f1f6"}.la-bezier-curve:before{content:"\f55b"}.la-bible:before{content:"\f647"}.la-bicycle:before{content:"\f206"}.la-biking:before{content:"\f84a"}.la-bimobject:before{content:"\f378"}.la-binoculars:before{content:"\f1e5"}.la-biohazard:before{content:"\f780"}.la-birthday-cake:before{content:"\f1fd"}.la-bitbucket:before{content:"\f171"}.la-bitcoin:before{content:"\f379"}.la-bity:before{content:"\f37a"}.la-black-tie:before{content:"\f27e"}.la-blackberry:before{content:"\f37b"}.la-blender:before{content:"\f517"}.la-blender-phone:before{content:"\f6b6"}.la-blind:before{content:"\f29d"}.la-blog:before{content:"\f781"}.la-blogger:before{content:"\f37c"}.la-blogger-b:before{content:"\f37d"}.la-bluetooth:before{content:"\f293"}.la-bluetooth-b:before{content:"\f294"}.la-bold:before{content:"\f032"}.la-bolt:before{content:"\f0e7"}.la-bomb:before{content:"\f1e2"}.la-bone:before{content:"\f5d7"}.la-bong:before{content:"\f55c"}.la-book:before{content:"\f02d"}.la-book-dead:before{content:"\f6b7"}.la-book-medical:before{content:"\f7e6"}.la-book-open:before{content:"\f518"}.la-book-reader:before{content:"\f5da"}.la-bookmark:before{content:"\f02e"}.la-bootstrap:before{content:"\f836"}.la-border-all:before{content:"\f84c"}.la-border-none:before{content:"\f850"}.la-border-style:before{content:"\f853"}.la-bowling-ball:before{content:"\f436"}.la-box:before{content:"\f466"}.la-box-open:before{content:"\f49e"}.la-boxes:before{content:"\f468"}.la-braille:before{content:"\f2a1"}.la-brain:before{content:"\f5dc"}.la-bread-slice:before{content:"\f7ec"}.la-briefcase:before{content:"\f0b1"}.la-briefcase-medical:before{content:"\f469"}.la-broadcast-tower:before{content:"\f519"}.la-broom:before{content:"\f51a"}.la-brush:before{content:"\f55d"}.la-btc:before{content:"\f15a"}.la-buffer:before{content:"\f837"}.la-bug:before{content:"\f188"}.la-building:before{content:"\f1ad"}.la-bullhorn:before{content:"\f0a1"}.la-bullseye:before{content:"\f140"}.la-burn:before{content:"\f46a"}.la-buromobelexperte:before{content:"\f37f"}.la-bus:before{content:"\f207"}.la-bus-alt:before{content:"\f55e"}.la-business-time:before{content:"\f64a"}.la-buy-n-large:before{content:"\f8a6"}.la-buysellads:before{content:"\f20d"}.la-calculator:before{content:"\f1ec"}.la-calendar:before{content:"\f133"}.la-calendar-alt:before{content:"\f073"}.la-calendar-check:before{content:"\f274"}.la-calendar-day:before{content:"\f783"}.la-calendar-minus:before{content:"\f272"}.la-calendar-plus:before{content:"\f271"}.la-calendar-times:before{content:"\f273"}.la-calendar-week:before{content:"\f784"}.la-camera:before{content:"\f030"}.la-camera-retro:before{content:"\f083"}.la-campground:before{content:"\f6bb"}.la-canadian-maple-leaf:before{content:"\f785"}.la-candy-cane:before{content:"\f786"}.la-cannabis:before{content:"\f55f"}.la-capsules:before{content:"\f46b"}.la-car:before{content:"\f1b9"}.la-car-alt:before{content:"\f5de"}.la-car-battery:before{content:"\f5df"}.la-car-crash:before{content:"\f5e1"}.la-car-side:before{content:"\f5e4"}.la-caret-down:before{content:"\f0d7"}.la-caret-left:before{content:"\f0d9"}.la-caret-right:before{content:"\f0da"}.la-caret-square-down:before{content:"\f150"}.la-caret-square-left:before{content:"\f191"}.la-caret-square-right:before{content:"\f152"}.la-caret-square-up:before{content:"\f151"}.la-caret-up:before{content:"\f0d8"}.la-carrot:before{content:"\f787"}.la-cart-arrow-down:before{content:"\f218"}.la-cart-plus:before{content:"\f217"}.la-cash-register:before{content:"\f788"}.la-cat:before{content:"\f6be"}.la-cc-amazon-pay:before{content:"\f42d"}.la-cc-amex:before{content:"\f1f3"}.la-cc-apple-pay:before{content:"\f416"}.la-cc-diners-club:before{content:"\f24c"}.la-cc-discover:before{content:"\f1f2"}.la-cc-jcb:before{content:"\f24b"}.la-cc-mastercard:before{content:"\f1f1"}.la-cc-paypal:before{content:"\f1f4"}.la-cc-stripe:before{content:"\f1f5"}.la-cc-visa:before{content:"\f1f0"}.la-centercode:before{content:"\f380"}.la-centos:before{content:"\f789"}.la-certificate:before{content:"\f0a3"}.la-chair:before{content:"\f6c0"}.la-chalkboard:before{content:"\f51b"}.la-chalkboard-teacher:before{content:"\f51c"}.la-charging-station:before{content:"\f5e7"}.la-chart-area:before{content:"\f1fe"}.la-chart-bar:before{content:"\f080"}.la-chart-line:before{content:"\f201"}.la-chart-pie:before{content:"\f200"}.la-check:before{content:"\f00c"}.la-check-circle:before{content:"\f058"}.la-check-double:before{content:"\f560"}.la-check-square:before{content:"\f14a"}.la-cheese:before{content:"\f7ef"}.la-chess:before{content:"\f439"}.la-chess-bishop:before{content:"\f43a"}.la-chess-board:before{content:"\f43c"}.la-chess-king:before{content:"\f43f"}.la-chess-knight:before{content:"\f441"}.la-chess-pawn:before{content:"\f443"}.la-chess-queen:before{content:"\f445"}.la-chess-rook:before{content:"\f447"}.la-chevron-circle-down:before{content:"\f13a"}.la-chevron-circle-left:before{content:"\f137"}.la-chevron-circle-right:before{content:"\f138"}.la-chevron-circle-up:before{content:"\f139"}.la-chevron-down:before{content:"\f078"}.la-chevron-left:before{content:"\f053"}.la-chevron-right:before{content:"\f054"}.la-chevron-up:before{content:"\f077"}.la-child:before{content:"\f1ae"}.la-chrome:before{content:"\f268"}.la-chromecast:before{content:"\f838"}.la-church:before{content:"\f51d"}.la-circle:before{content:"\f111"}.la-circle-notch:before{content:"\f1ce"}.la-city:before{content:"\f64f"}.la-clinic-medical:before{content:"\f7f2"}.la-clipboard:before{content:"\f328"}.la-clipboard-check:before{content:"\f46c"}.la-clipboard-list:before{content:"\f46d"}.la-clock:before{content:"\f017"}.la-clone:before{content:"\f24d"}.la-closed-captioning:before{content:"\f20a"}.la-cloud:before{content:"\f0c2"}.la-cloud-download-alt:before{content:"\f381"}.la-cloud-meatball:before{content:"\f73b"}.la-cloud-moon:before{content:"\f6c3"}.la-cloud-moon-rain:before{content:"\f73c"}.la-cloud-rain:before{content:"\f73d"}.la-cloud-showers-heavy:before{content:"\f740"}.la-cloud-sun:before{content:"\f6c4"}.la-cloud-sun-rain:before{content:"\f743"}.la-cloud-upload-alt:before{content:"\f382"}.la-cloudscale:before{content:"\f383"}.la-cloudsmith:before{content:"\f384"}.la-cloudversify:before{content:"\f385"}.la-cocktail:before{content:"\f561"}.la-code:before{content:"\f121"}.la-code-branch:before{content:"\f126"}.la-codepen:before{content:"\f1cb"}.la-codiepie:before{content:"\f284"}.la-coffee:before{content:"\f0f4"}.la-cog:before{content:"\f013"}.la-cogs:before{content:"\f085"}.la-coins:before{content:"\f51e"}.la-columns:before{content:"\f0db"}.la-comment:before{content:"\f075"}.la-comment-alt:before{content:"\f27a"}.la-comment-dollar:before{content:"\f651"}.la-comment-dots:before{content:"\f4ad"}.la-comment-medical:before{content:"\f7f5"}.la-comment-slash:before{content:"\f4b3"}.la-comments:before{content:"\f086"}.la-comments-dollar:before{content:"\f653"}.la-compact-disc:before{content:"\f51f"}.la-compass:before{content:"\f14e"}.la-compress:before{content:"\f066"}.la-compress-arrows-alt:before{content:"\f78c"}.la-concierge-bell:before{content:"\f562"}.la-confluence:before{content:"\f78d"}.la-connectdevelop:before{content:"\f20e"}.la-contao:before{content:"\f26d"}.la-cookie:before{content:"\f563"}.la-cookie-bite:before{content:"\f564"}.la-copy:before{content:"\f0c5"}.la-copyright:before{content:"\f1f9"}.la-cotton-bureau:before{content:"\f89e"}.la-couch:before{content:"\f4b8"}.la-cpanel:before{content:"\f388"}.la-creative-commons:before{content:"\f25e"}.la-creative-commons-by:before{content:"\f4e7"}.la-creative-commons-nc:before{content:"\f4e8"}.la-creative-commons-nc-eu:before{content:"\f4e9"}.la-creative-commons-nc-jp:before{content:"\f4ea"}.la-creative-commons-nd:before{content:"\f4eb"}.la-creative-commons-pd:before{content:"\f4ec"}.la-creative-commons-pd-alt:before{content:"\f4ed"}.la-creative-commons-remix:before{content:"\f4ee"}.la-creative-commons-sa:before{content:"\f4ef"}.la-creative-commons-sampling:before{content:"\f4f0"}.la-creative-commons-sampling-plus:before{content:"\f4f1"}.la-creative-commons-share:before{content:"\f4f2"}.la-creative-commons-zero:before{content:"\f4f3"}.la-credit-card:before{content:"\f09d"}.la-critical-role:before{content:"\f6c9"}.la-crop:before{content:"\f125"}.la-crop-alt:before{content:"\f565"}.la-cross:before{content:"\f654"}.la-crosshairs:before{content:"\f05b"}.la-crow:before{content:"\f520"}.la-crown:before{content:"\f521"}.la-crutch:before{content:"\f7f7"}.la-css3:before{content:"\f13c"}.la-css3-alt:before{content:"\f38b"}.la-cube:before{content:"\f1b2"}.la-cubes:before{content:"\f1b3"}.la-cut:before{content:"\f0c4"}.la-cuttlefish:before{content:"\f38c"}.la-d-and-d:before{content:"\f38d"}.la-d-and-d-beyond:before{content:"\f6ca"}.la-dashcube:before{content:"\f210"}.la-database:before{content:"\f1c0"}.la-deaf:before{content:"\f2a4"}.la-delicious:before{content:"\f1a5"}.la-democrat:before{content:"\f747"}.la-deploydog:before{content:"\f38e"}.la-deskpro:before{content:"\f38f"}.la-desktop:before{content:"\f108"}.la-dev:before{content:"\f6cc"}.la-deviantart:before{content:"\f1bd"}.la-dharmachakra:before{content:"\f655"}.la-dhl:before{content:"\f790"}.la-diagnoses:before{content:"\f470"}.la-diaspora:before{content:"\f791"}.la-dice:before{content:"\f522"}.la-dice-d20:before{content:"\f6cf"}.la-dice-d6:before{content:"\f6d1"}.la-dice-five:before{content:"\f523"}.la-dice-four:before{content:"\f524"}.la-dice-one:before{content:"\f525"}.la-dice-six:before{content:"\f526"}.la-dice-three:before{content:"\f527"}.la-dice-two:before{content:"\f528"}.la-digg:before{content:"\f1a6"}.la-digital-ocean:before{content:"\f391"}.la-digital-tachograph:before{content:"\f566"}.la-directions:before{content:"\f5eb"}.la-discord:before{content:"\f392"}.la-discourse:before{content:"\f393"}.la-divide:before{content:"\f529"}.la-dizzy:before{content:"\f567"}.la-dna:before{content:"\f471"}.la-dochub:before{content:"\f394"}.la-docker:before{content:"\f395"}.la-dog:before{content:"\f6d3"}.la-dollar-sign:before{content:"\f155"}.la-dolly:before{content:"\f472"}.la-dolly-flatbed:before{content:"\f474"}.la-donate:before{content:"\f4b9"}.la-door-closed:before{content:"\f52a"}.la-door-open:before{content:"\f52b"}.la-dot-circle:before{content:"\f192"}.la-dove:before{content:"\f4ba"}.la-download:before{content:"\f019"}.la-draft2digital:before{content:"\f396"}.la-drafting-compass:before{content:"\f568"}.la-dragon:before{content:"\f6d5"}.la-draw-polygon:before{content:"\f5ee"}.la-dribbble:before{content:"\f17d"}.la-dribbble-square:before{content:"\f397"}.la-dropbox:before{content:"\f16b"}.la-drum:before{content:"\f569"}.la-drum-steelpan:before{content:"\f56a"}.la-drumstick-bite:before{content:"\f6d7"}.la-drupal:before{content:"\f1a9"}.la-dumbbell:before{content:"\f44b"}.la-dumpster:before{content:"\f793"}.la-dumpster-fire:before{content:"\f794"}.la-dungeon:before{content:"\f6d9"}.la-dyalog:before{content:"\f399"}.la-earlybirds:before{content:"\f39a"}.la-ebay:before{content:"\f4f4"}.la-edge:before{content:"\f282"}.la-edit:before{content:"\f044"}.la-egg:before{content:"\f7fb"}.la-eject:before{content:"\f052"}.la-elementor:before{content:"\f430"}.la-ellipsis-h:before{content:"\f141"}.la-ellipsis-v:before{content:"\f142"}.la-ello:before{content:"\f5f1"}.la-ember:before{content:"\f423"}.la-empire:before{content:"\f1d1"}.la-envelope:before{content:"\f0e0"}.la-envelope-open:before{content:"\f2b6"}.la-envelope-open-text:before{content:"\f658"}.la-envelope-square:before{content:"\f199"}.la-envira:before{content:"\f299"}.la-equals:before{content:"\f52c"}.la-eraser:before{content:"\f12d"}.la-erlang:before{content:"\f39d"}.la-ethereum:before{content:"\f42e"}.la-ethernet:before{content:"\f796"}.la-etsy:before{content:"\f2d7"}.la-euro-sign:before{content:"\f153"}.la-evernote:before{content:"\f839"}.la-exchange-alt:before{content:"\f362"}.la-exclamation:before{content:"\f12a"}.la-exclamation-circle:before{content:"\f06a"}.la-exclamation-triangle:before{content:"\f071"}.la-expand:before{content:"\f065"}.la-expand-arrows-alt:before{content:"\f31e"}.la-expeditedssl:before{content:"\f23e"}.la-external-link-alt:before{content:"\f35d"}.la-external-link-square-alt:before{content:"\f360"}.la-eye:before{content:"\f06e"}.la-eye-dropper:before{content:"\f1fb"}.la-eye-slash:before{content:"\f070"}.la-facebook:before{content:"\f09a"}.la-facebook-f:before{content:"\f39e"}.la-facebook-messenger:before{content:"\f39f"}.la-facebook-square:before{content:"\f082"}.la-fan:before{content:"\f863"}.la-fantasy-flight-games:before{content:"\f6dc"}.la-fast-backward:before{content:"\f049"}.la-fast-forward:before{content:"\f050"}.la-fax:before{content:"\f1ac"}.la-feather:before{content:"\f52d"}.la-feather-alt:before{content:"\f56b"}.la-fedex:before{content:"\f797"}.la-fedora:before{content:"\f798"}.la-female:before{content:"\f182"}.la-fighter-jet:before{content:"\f0fb"}.la-figma:before{content:"\f799"}.la-file:before{content:"\f15b"}.la-file-alt:before{content:"\f15c"}.la-file-archive:before{content:"\f1c6"}.la-file-audio:before{content:"\f1c7"}.la-file-code:before{content:"\f1c9"}.la-file-contract:before{content:"\f56c"}.la-file-csv:before{content:"\f6dd"}.la-file-download:before{content:"\f56d"}.la-file-excel:before{content:"\f1c3"}.la-file-export:before{content:"\f56e"}.la-file-image:before{content:"\f1c5"}.la-file-import:before{content:"\f56f"}.la-file-invoice:before{content:"\f570"}.la-file-invoice-dollar:before{content:"\f571"}.la-file-medical:before{content:"\f477"}.la-file-medical-alt:before{content:"\f478"}.la-file-pdf:before{content:"\f1c1"}.la-file-powerpoint:before{content:"\f1c4"}.la-file-prescription:before{content:"\f572"}.la-file-signature:before{content:"\f573"}.la-file-upload:before{content:"\f574"}.la-file-video:before{content:"\f1c8"}.la-file-word:before{content:"\f1c2"}.la-fill:before{content:"\f575"}.la-fill-drip:before{content:"\f576"}.la-film:before{content:"\f008"}.la-filter:before{content:"\f0b0"}.la-fingerprint:before{content:"\f577"}.la-fire:before{content:"\f06d"}.la-fire-alt:before{content:"\f7e4"}.la-fire-extinguisher:before{content:"\f134"}.la-firefox:before{content:"\f269"}.la-first-aid:before{content:"\f479"}.la-first-order:before{content:"\f2b0"}.la-first-order-alt:before{content:"\f50a"}.la-firstdraft:before{content:"\f3a1"}.la-fish:before{content:"\f578"}.la-fist-raised:before{content:"\f6de"}.la-flag:before{content:"\f024"}.la-flag-checkered:before{content:"\f11e"}.la-flag-usa:before{content:"\f74d"}.la-flask:before{content:"\f0c3"}.la-flickr:before{content:"\f16e"}.la-flipboard:before{content:"\f44d"}.la-flushed:before{content:"\f579"}.la-fly:before{content:"\f417"}.la-folder:before{content:"\f07b"}.la-folder-minus:before{content:"\f65d"}.la-folder-open:before{content:"\f07c"}.la-folder-plus:before{content:"\f65e"}.la-font:before{content:"\f031"}.la-font-awesome:before{content:"\f2b4"}.la-font-awesome-alt:before{content:"\f35c"}.la-font-awesome-flag:before{content:"\f425"}.la-font-awesome-logo-full:before{content:"\f4e6"}.la-fonticons:before{content:"\f280"}.la-fonticons-fi:before{content:"\f3a2"}.la-football-ball:before{content:"\f44e"}.la-fort-awesome:before{content:"\f286"}.la-fort-awesome-alt:before{content:"\f3a3"}.la-forumbee:before{content:"\f211"}.la-forward:before{content:"\f04e"}.la-foursquare:before{content:"\f180"}.la-free-code-camp:before{content:"\f2c5"}.la-freebsd:before{content:"\f3a4"}.la-frog:before{content:"\f52e"}.la-frown:before{content:"\f119"}.la-frown-open:before{content:"\f57a"}.la-fulcrum:before{content:"\f50b"}.la-funnel-dollar:before{content:"\f662"}.la-futbol:before{content:"\f1e3"}.la-galactic-republic:before{content:"\f50c"}.la-galactic-senate:before{content:"\f50d"}.la-gamepad:before{content:"\f11b"}.la-gas-pump:before{content:"\f52f"}.la-gavel:before{content:"\f0e3"}.la-gem:before{content:"\f3a5"}.la-genderless:before{content:"\f22d"}.la-get-pocket:before{content:"\f265"}.la-gg:before{content:"\f260"}.la-gg-circle:before{content:"\f261"}.la-ghost:before{content:"\f6e2"}.la-gift:before{content:"\f06b"}.la-gifts:before{content:"\f79c"}.la-git:before{content:"\f1d3"}.la-git-alt:before{content:"\f841"}.la-git-square:before{content:"\f1d2"}.la-github:before{content:"\f09b"}.la-github-alt:before{content:"\f113"}.la-github-square:before{content:"\f092"}.la-gitkraken:before{content:"\f3a6"}.la-gitlab:before{content:"\f296"}.la-gitter:before{content:"\f426"}.la-glass-cheers:before{content:"\f79f"}.la-glass-martini:before{content:"\f000"}.la-glass-martini-alt:before{content:"\f57b"}.la-glass-whiskey:before{content:"\f7a0"}.la-glasses:before{content:"\f530"}.la-glide:before{content:"\f2a5"}.la-glide-g:before{content:"\f2a6"}.la-globe:before{content:"\f0ac"}.la-globe-africa:before{content:"\f57c"}.la-globe-americas:before{content:"\f57d"}.la-globe-asia:before{content:"\f57e"}.la-globe-europe:before{content:"\f7a2"}.la-gofore:before{content:"\f3a7"}.la-golf-ball:before{content:"\f450"}.la-goodreads:before{content:"\f3a8"}.la-goodreads-g:before{content:"\f3a9"}.la-google:before{content:"\f1a0"}.la-google-drive:before{content:"\f3aa"}.la-google-play:before{content:"\f3ab"}.la-google-plus:before{content:"\f2b3"}.la-google-plus-g:before{content:"\f0d5"}.la-google-plus-square:before{content:"\f0d4"}.la-google-wallet:before{content:"\f1ee"}.la-gopuram:before{content:"\f664"}.la-graduation-cap:before{content:"\f19d"}.la-gratipay:before{content:"\f184"}.la-grav:before{content:"\f2d6"}.la-greater-than:before{content:"\f531"}.la-greater-than-equal:before{content:"\f532"}.la-grimace:before{content:"\f57f"}.la-grin:before{content:"\f580"}.la-grin-alt:before{content:"\f581"}.la-grin-beam:before{content:"\f582"}.la-grin-beam-sweat:before{content:"\f583"}.la-grin-hearts:before{content:"\f584"}.la-grin-squint:before{content:"\f585"}.la-grin-squint-tears:before{content:"\f586"}.la-grin-stars:before{content:"\f587"}.la-grin-tears:before{content:"\f588"}.la-grin-tongue:before{content:"\f589"}.la-grin-tongue-squint:before{content:"\f58a"}.la-grin-tongue-wink:before{content:"\f58b"}.la-grin-wink:before{content:"\f58c"}.la-grip-horizontal:before{content:"\f58d"}.la-grip-lines:before{content:"\f7a4"}.la-grip-lines-vertical:before{content:"\f7a5"}.la-grip-vertical:before{content:"\f58e"}.la-gripfire:before{content:"\f3ac"}.la-grunt:before{content:"\f3ad"}.la-guitar:before{content:"\f7a6"}.la-gulp:before{content:"\f3ae"}.la-h-square:before{content:"\f0fd"}.la-hacker-news:before{content:"\f1d4"}.la-hacker-news-square:before{content:"\f3af"}.la-hackerrank:before{content:"\f5f7"}.la-hamburger:before{content:"\f805"}.la-hammer:before{content:"\f6e3"}.la-hamsa:before{content:"\f665"}.la-hand-holding:before{content:"\f4bd"}.la-hand-holding-heart:before{content:"\f4be"}.la-hand-holding-usd:before{content:"\f4c0"}.la-hand-lizard:before{content:"\f258"}.la-hand-middle-finger:before{content:"\f806"}.la-hand-paper:before{content:"\f256"}.la-hand-peace:before{content:"\f25b"}.la-hand-point-down:before{content:"\f0a7"}.la-hand-point-left:before{content:"\f0a5"}.la-hand-point-right:before{content:"\f0a4"}.la-hand-point-up:before{content:"\f0a6"}.la-hand-pointer:before{content:"\f25a"}.la-hand-rock:before{content:"\f255"}.la-hand-scissors:before{content:"\f257"}.la-hand-spock:before{content:"\f259"}.la-hands:before{content:"\f4c2"}.la-hands-helping:before{content:"\f4c4"}.la-handshake:before{content:"\f2b5"}.la-hanukiah:before{content:"\f6e6"}.la-hard-hat:before{content:"\f807"}.la-hashtag:before{content:"\f292"}.la-hat-cowboy:before{content:"\f8c0"}.la-hat-cowboy-side:before{content:"\f8c1"}.la-hat-wizard:before{content:"\f6e8"}.la-haykal:before{content:"\f666"}.la-hdd:before{content:"\f0a0"}.la-heading:before{content:"\f1dc"}.la-headphones:before{content:"\f025"}.la-headphones-alt:before{content:"\f58f"}.la-headset:before{content:"\f590"}.la-heart:before{content:"\f004"}.la-heart-broken:before{content:"\f7a9"}.la-heartbeat:before{content:"\f21e"}.la-helicopter:before{content:"\f533"}.la-highlighter:before{content:"\f591"}.la-hiking:before{content:"\f6ec"}.la-hippo:before{content:"\f6ed"}.la-hips:before{content:"\f452"}.la-hire-a-helper:before{content:"\f3b0"}.la-history:before{content:"\f1da"}.la-hockey-puck:before{content:"\f453"}.la-holly-berry:before{content:"\f7aa"}.la-home:before{content:"\f015"}.la-hooli:before{content:"\f427"}.la-hornbill:before{content:"\f592"}.la-horse:before{content:"\f6f0"}.la-horse-head:before{content:"\f7ab"}.la-hospital:before{content:"\f0f8"}.la-hospital-alt:before{content:"\f47d"}.la-hospital-symbol:before{content:"\f47e"}.la-hot-tub:before{content:"\f593"}.la-hotdog:before{content:"\f80f"}.la-hotel:before{content:"\f594"}.la-hotjar:before{content:"\f3b1"}.la-hourglass:before{content:"\f254"}.la-hourglass-end:before{content:"\f253"}.la-hourglass-half:before{content:"\f252"}.la-hourglass-start:before{content:"\f251"}.la-house-damage:before{content:"\f6f1"}.la-houzz:before{content:"\f27c"}.la-hryvnia:before{content:"\f6f2"}.la-html5:before{content:"\f13b"}.la-hubspot:before{content:"\f3b2"}.la-i-cursor:before{content:"\f246"}.la-ice-cream:before{content:"\f810"}.la-icicles:before{content:"\f7ad"}.la-icons:before{content:"\f86d"}.la-id-badge:before{content:"\f2c1"}.la-id-card:before{content:"\f2c2"}.la-id-card-alt:before{content:"\f47f"}.la-igloo:before{content:"\f7ae"}.la-image:before{content:"\f03e"}.la-images:before{content:"\f302"}.la-imdb:before{content:"\f2d8"}.la-inbox:before{content:"\f01c"}.la-indent:before{content:"\f03c"}.la-industry:before{content:"\f275"}.la-infinity:before{content:"\f534"}.la-info:before{content:"\f129"}.la-info-circle:before{content:"\f05a"}.la-instagram:before{content:"\f16d"}.la-intercom:before{content:"\f7af"}.la-internet-explorer:before{content:"\f26b"}.la-invision:before{content:"\f7b0"}.la-ioxhost:before{content:"\f208"}.la-italic:before{content:"\f033"}.la-itch-io:before{content:"\f83a"}.la-itunes:before{content:"\f3b4"}.la-itunes-note:before{content:"\f3b5"}.la-java:before{content:"\f4e4"}.la-jedi:before{content:"\f669"}.la-jedi-order:before{content:"\f50e"}.la-jenkins:before{content:"\f3b6"}.la-jira:before{content:"\f7b1"}.la-joget:before{content:"\f3b7"}.la-joint:before{content:"\f595"}.la-joomla:before{content:"\f1aa"}.la-journal-whills:before{content:"\f66a"}.la-js:before{content:"\f3b8"}.la-js-square:before{content:"\f3b9"}.la-jsfiddle:before{content:"\f1cc"}.la-kaaba:before{content:"\f66b"}.la-kaggle:before{content:"\f5fa"}.la-key:before{content:"\f084"}.la-keybase:before{content:"\f4f5"}.la-keyboard:before{content:"\f11c"}.la-keycdn:before{content:"\f3ba"}.la-khanda:before{content:"\f66d"}.la-kickstarter:before{content:"\f3bb"}.la-kickstarter-k:before{content:"\f3bc"}.la-kiss:before{content:"\f596"}.la-kiss-beam:before{content:"\f597"}.la-kiss-wink-heart:before{content:"\f598"}.la-kiwi-bird:before{content:"\f535"}.la-korvue:before{content:"\f42f"}.la-landmark:before{content:"\f66f"}.la-language:before{content:"\f1ab"}.la-laptop:before{content:"\f109"}.la-laptop-code:before{content:"\f5fc"}.la-laptop-medical:before{content:"\f812"}.la-laravel:before{content:"\f3bd"}.la-lastfm:before{content:"\f202"}.la-lastfm-square:before{content:"\f203"}.la-laugh:before{content:"\f599"}.la-laugh-beam:before{content:"\f59a"}.la-laugh-squint:before{content:"\f59b"}.la-laugh-wink:before{content:"\f59c"}.la-layer-group:before{content:"\f5fd"}.la-leaf:before{content:"\f06c"}.la-leanpub:before{content:"\f212"}.la-lemon:before{content:"\f094"}.la-less:before{content:"\f41d"}.la-less-than:before{content:"\f536"}.la-less-than-equal:before{content:"\f537"}.la-level-down-alt:before{content:"\f3be"}.la-level-up-alt:before{content:"\f3bf"}.la-life-ring:before{content:"\f1cd"}.la-lightbulb:before{content:"\f0eb"}.la-line:before{content:"\f3c0"}.la-link:before{content:"\f0c1"}.la-linkedin:before{content:"\f08c"}.la-linkedin-in:before{content:"\f0e1"}.la-linode:before{content:"\f2b8"}.la-linux:before{content:"\f17c"}.la-lira-sign:before{content:"\f195"}.la-list:before{content:"\f03a"}.la-list-alt:before{content:"\f022"}.la-list-ol:before{content:"\f0cb"}.la-list-ul:before{content:"\f0ca"}.la-location-arrow:before{content:"\f124"}.la-lock:before{content:"\f023"}.la-lock-open:before{content:"\f3c1"}.la-long-arrow-alt-down:before{content:"\f309"}.la-long-arrow-alt-left:before{content:"\f30a"}.la-long-arrow-alt-right:before{content:"\f30b"}.la-long-arrow-alt-up:before{content:"\f30c"}.la-low-vision:before{content:"\f2a8"}.la-luggage-cart:before{content:"\f59d"}.la-lyft:before{content:"\f3c3"}.la-magento:before{content:"\f3c4"}.la-magic:before{content:"\f0d0"}.la-magnet:before{content:"\f076"}.la-mail-bulk:before{content:"\f674"}.la-mailchimp:before{content:"\f59e"}.la-male:before{content:"\f183"}.la-mandalorian:before{content:"\f50f"}.la-map:before{content:"\f279"}.la-map-marked:before{content:"\f59f"}.la-map-marked-alt:before{content:"\f5a0"}.la-map-marker:before{content:"\f041"}.la-map-marker-alt:before{content:"\f3c5"}.la-map-pin:before{content:"\f276"}.la-map-signs:before{content:"\f277"}.la-markdown:before{content:"\f60f"}.la-marker:before{content:"\f5a1"}.la-mars:before{content:"\f222"}.la-mars-double:before{content:"\f227"}.la-mars-stroke:before{content:"\f229"}.la-mars-stroke-h:before{content:"\f22b"}.la-mars-stroke-v:before{content:"\f22a"}.la-mask:before{content:"\f6fa"}.la-mastodon:before{content:"\f4f6"}.la-maxcdn:before{content:"\f136"}.la-mdb:before{content:"\f8ca"}.la-medal:before{content:"\f5a2"}.la-medapps:before{content:"\f3c6"}.la-medium:before{content:"\f23a"}.la-medium-m:before{content:"\f3c7"}.la-medkit:before{content:"\f0fa"}.la-medrt:before{content:"\f3c8"}.la-meetup:before{content:"\f2e0"}.la-megaport:before{content:"\f5a3"}.la-meh:before{content:"\f11a"}.la-meh-blank:before{content:"\f5a4"}.la-meh-rolling-eyes:before{content:"\f5a5"}.la-memory:before{content:"\f538"}.la-mendeley:before{content:"\f7b3"}.la-menorah:before{content:"\f676"}.la-mercury:before{content:"\f223"}.la-meteor:before{content:"\f753"}.la-microchip:before{content:"\f2db"}.la-microphone:before{content:"\f130"}.la-microphone-alt:before{content:"\f3c9"}.la-microphone-alt-slash:before{content:"\f539"}.la-microphone-slash:before{content:"\f131"}.la-microscope:before{content:"\f610"}.la-microsoft:before{content:"\f3ca"}.la-minus:before{content:"\f068"}.la-minus-circle:before{content:"\f056"}.la-minus-square:before{content:"\f146"}.la-mitten:before{content:"\f7b5"}.la-mix:before{content:"\f3cb"}.la-mixcloud:before{content:"\f289"}.la-mizuni:before{content:"\f3cc"}.la-mobile:before{content:"\f10b"}.la-mobile-alt:before{content:"\f3cd"}.la-modx:before{content:"\f285"}.la-monero:before{content:"\f3d0"}.la-money-bill:before{content:"\f0d6"}.la-money-bill-alt:before{content:"\f3d1"}.la-money-bill-wave:before{content:"\f53a"}.la-money-bill-wave-alt:before{content:"\f53b"}.la-money-check:before{content:"\f53c"}.la-money-check-alt:before{content:"\f53d"}.la-monument:before{content:"\f5a6"}.la-moon:before{content:"\f186"}.la-mortar-pestle:before{content:"\f5a7"}.la-mosque:before{content:"\f678"}.la-motorcycle:before{content:"\f21c"}.la-mountain:before{content:"\f6fc"}.la-mouse:before{content:"\f8cc"}.la-mouse-pointer:before{content:"\f245"}.la-mug-hot:before{content:"\f7b6"}.la-music:before{content:"\f001"}.la-napster:before{content:"\f3d2"}.la-neos:before{content:"\f612"}.la-network-wired:before{content:"\f6ff"}.la-neuter:before{content:"\f22c"}.la-newspaper:before{content:"\f1ea"}.la-nimblr:before{content:"\f5a8"}.la-node:before{content:"\f419"}.la-node-js:before{content:"\f3d3"}.la-not-equal:before{content:"\f53e"}.la-notes-medical:before{content:"\f481"}.la-npm:before{content:"\f3d4"}.la-ns8:before{content:"\f3d5"}.la-nutritionix:before{content:"\f3d6"}.la-object-group:before{content:"\f247"}.la-object-ungroup:before{content:"\f248"}.la-odnoklassniki:before{content:"\f263"}.la-odnoklassniki-square:before{content:"\f264"}.la-oil-can:before{content:"\f613"}.la-old-republic:before{content:"\f510"}.la-om:before{content:"\f679"}.la-opencart:before{content:"\f23d"}.la-openid:before{content:"\f19b"}.la-opera:before{content:"\f26a"}.la-optin-monster:before{content:"\f23c"}.la-orcid:before{content:"\f8d2"}.la-osi:before{content:"\f41a"}.la-otter:before{content:"\f700"}.la-outdent:before{content:"\f03b"}.la-page4:before{content:"\f3d7"}.la-pagelines:before{content:"\f18c"}.la-pager:before{content:"\f815"}.la-paint-brush:before{content:"\f1fc"}.la-paint-roller:before{content:"\f5aa"}.la-palette:before{content:"\f53f"}.la-palfed:before{content:"\f3d8"}.la-pallet:before{content:"\f482"}.la-paper-plane:before{content:"\f1d8"}.la-paperclip:before{content:"\f0c6"}.la-parachute-box:before{content:"\f4cd"}.la-paragraph:before{content:"\f1dd"}.la-parking:before{content:"\f540"}.la-passport:before{content:"\f5ab"}.la-pastafarianism:before{content:"\f67b"}.la-paste:before{content:"\f0ea"}.la-patreon:before{content:"\f3d9"}.la-pause:before{content:"\f04c"}.la-pause-circle:before{content:"\f28b"}.la-paw:before{content:"\f1b0"}.la-paypal:before{content:"\f1ed"}.la-peace:before{content:"\f67c"}.la-pen:before{content:"\f304"}.la-pen-alt:before{content:"\f305"}.la-pen-fancy:before{content:"\f5ac"}.la-pen-nib:before{content:"\f5ad"}.la-pen-square:before{content:"\f14b"}.la-pencil-alt:before{content:"\f303"}.la-pencil-ruler:before{content:"\f5ae"}.la-penny-arcade:before{content:"\f704"}.la-people-carry:before{content:"\f4ce"}.la-pepper-hot:before{content:"\f816"}.la-percent:before{content:"\f295"}.la-percentage:before{content:"\f541"}.la-periscope:before{content:"\f3da"}.la-person-booth:before{content:"\f756"}.la-phabricator:before{content:"\f3db"}.la-phoenix-framework:before{content:"\f3dc"}.la-phoenix-squadron:before{content:"\f511"}.la-phone:before{content:"\f095"}.la-phone-alt:before{content:"\f879"}.la-phone-slash:before{content:"\f3dd"}.la-phone-square:before{content:"\f098"}.la-phone-square-alt:before{content:"\f87b"}.la-phone-volume:before{content:"\f2a0"}.la-photo-video:before{content:"\f87c"}.la-php:before{content:"\f457"}.la-pied-piper:before{content:"\f2ae"}.la-pied-piper-alt:before{content:"\f1a8"}.la-pied-piper-hat:before{content:"\f4e5"}.la-pied-piper-pp:before{content:"\f1a7"}.la-piggy-bank:before{content:"\f4d3"}.la-pills:before{content:"\f484"}.la-pinterest:before{content:"\f0d2"}.la-pinterest-p:before{content:"\f231"}.la-pinterest-square:before{content:"\f0d3"}.la-pizza-slice:before{content:"\f818"}.la-place-of-worship:before{content:"\f67f"}.la-plane:before{content:"\f072"}.la-plane-arrival:before{content:"\f5af"}.la-plane-departure:before{content:"\f5b0"}.la-play:before{content:"\f04b"}.la-play-circle:before{content:"\f144"}.la-playstation:before{content:"\f3df"}.la-plug:before{content:"\f1e6"}.la-plus:before{content:"\f067"}.la-plus-circle:before{content:"\f055"}.la-plus-square:before{content:"\f0fe"}.la-podcast:before{content:"\f2ce"}.la-poll:before{content:"\f681"}.la-poll-h:before{content:"\f682"}.la-poo:before{content:"\f2fe"}.la-poo-storm:before{content:"\f75a"}.la-poop:before{content:"\f619"}.la-portrait:before{content:"\f3e0"}.la-pound-sign:before{content:"\f154"}.la-power-off:before{content:"\f011"}.la-pray:before{content:"\f683"}.la-praying-hands:before{content:"\f684"}.la-prescription:before{content:"\f5b1"}.la-prescription-bottle:before{content:"\f485"}.la-prescription-bottle-alt:before{content:"\f486"}.la-print:before{content:"\f02f"}.la-procedures:before{content:"\f487"}.la-product-hunt:before{content:"\f288"}.la-project-diagram:before{content:"\f542"}.la-pushed:before{content:"\f3e1"}.la-puzzle-piece:before{content:"\f12e"}.la-python:before{content:"\f3e2"}.la-qq:before{content:"\f1d6"}.la-qrcode:before{content:"\f029"}.la-question:before{content:"\f128"}.la-question-circle:before{content:"\f059"}.la-quidditch:before{content:"\f458"}.la-quinscape:before{content:"\f459"}.la-quora:before{content:"\f2c4"}.la-quote-left:before{content:"\f10d"}.la-quote-right:before{content:"\f10e"}.la-quran:before{content:"\f687"}.la-r-project:before{content:"\f4f7"}.la-radiation:before{content:"\f7b9"}.la-radiation-alt:before{content:"\f7ba"}.la-rainbow:before{content:"\f75b"}.la-random:before{content:"\f074"}.la-raspberry-pi:before{content:"\f7bb"}.la-ravelry:before{content:"\f2d9"}.la-react:before{content:"\f41b"}.la-reacteurope:before{content:"\f75d"}.la-readme:before{content:"\f4d5"}.la-rebel:before{content:"\f1d0"}.la-receipt:before{content:"\f543"}.la-record-vinyl:before{content:"\f8d9"}.la-recycle:before{content:"\f1b8"}.la-red-river:before{content:"\f3e3"}.la-reddit:before{content:"\f1a1"}.la-reddit-alien:before{content:"\f281"}.la-reddit-square:before{content:"\f1a2"}.la-redhat:before{content:"\f7bc"}.la-redo:before{content:"\f01e"}.la-redo-alt:before{content:"\f2f9"}.la-registered:before{content:"\f25d"}.la-remove-format:before{content:"\f87d"}.la-renren:before{content:"\f18b"}.la-reply:before{content:"\f3e5"}.la-reply-all:before{content:"\f122"}.la-replyd:before{content:"\f3e6"}.la-republican:before{content:"\f75e"}.la-researchgate:before{content:"\f4f8"}.la-resolving:before{content:"\f3e7"}.la-restroom:before{content:"\f7bd"}.la-retweet:before{content:"\f079"}.la-rev:before{content:"\f5b2"}.la-ribbon:before{content:"\f4d6"}.la-ring:before{content:"\f70b"}.la-road:before{content:"\f018"}.la-robot:before{content:"\f544"}.la-rocket:before{content:"\f135"}.la-rocketchat:before{content:"\f3e8"}.la-rockrms:before{content:"\f3e9"}.la-route:before{content:"\f4d7"}.la-rss:before{content:"\f09e"}.la-rss-square:before{content:"\f143"}.la-ruble-sign:before{content:"\f158"}.la-ruler:before{content:"\f545"}.la-ruler-combined:before{content:"\f546"}.la-ruler-horizontal:before{content:"\f547"}.la-ruler-vertical:before{content:"\f548"}.la-running:before{content:"\f70c"}.la-rupee-sign:before{content:"\f156"}.la-sad-cry:before{content:"\f5b3"}.la-sad-tear:before{content:"\f5b4"}.la-safari:before{content:"\f267"}.la-salesforce:before{content:"\f83b"}.la-sass:before{content:"\f41e"}.la-satellite:before{content:"\f7bf"}.la-satellite-dish:before{content:"\f7c0"}.la-save:before{content:"\f0c7"}.la-schlix:before{content:"\f3ea"}.la-school:before{content:"\f549"}.la-screwdriver:before{content:"\f54a"}.la-scribd:before{content:"\f28a"}.la-scroll:before{content:"\f70e"}.la-sd-card:before{content:"\f7c2"}.la-search:before{content:"\f002"}.la-search-dollar:before{content:"\f688"}.la-search-location:before{content:"\f689"}.la-search-minus:before{content:"\f010"}.la-search-plus:before{content:"\f00e"}.la-searchengin:before{content:"\f3eb"}.la-seedling:before{content:"\f4d8"}.la-sellcast:before{content:"\f2da"}.la-sellsy:before{content:"\f213"}.la-server:before{content:"\f233"}.la-servicestack:before{content:"\f3ec"}.la-shapes:before{content:"\f61f"}.la-share:before{content:"\f064"}.la-share-alt:before{content:"\f1e0"}.la-share-alt-square:before{content:"\f1e1"}.la-share-square:before{content:"\f14d"}.la-shekel-sign:before{content:"\f20b"}.la-shield-alt:before{content:"\f3ed"}.la-ship:before{content:"\f21a"}.la-shipping-fast:before{content:"\f48b"}.la-shirtsinbulk:before{content:"\f214"}.la-shoe-prints:before{content:"\f54b"}.la-shopping-bag:before{content:"\f290"}.la-shopping-basket:before{content:"\f291"}.la-shopping-cart:before{content:"\f07a"}.la-shopware:before{content:"\f5b5"}.la-shower:before{content:"\f2cc"}.la-shuttle-van:before{content:"\f5b6"}.la-sign:before{content:"\f4d9"}.la-sign-in-alt:before{content:"\f2f6"}.la-sign-language:before{content:"\f2a7"}.la-sign-out-alt:before{content:"\f2f5"}.la-signal:before{content:"\f012"}.la-signature:before{content:"\f5b7"}.la-sim-card:before{content:"\f7c4"}.la-simplybuilt:before{content:"\f215"}.la-sistrix:before{content:"\f3ee"}.la-sitemap:before{content:"\f0e8"}.la-sith:before{content:"\f512"}.la-skating:before{content:"\f7c5"}.la-sketch:before{content:"\f7c6"}.la-skiing:before{content:"\f7c9"}.la-skiing-nordic:before{content:"\f7ca"}.la-skull:before{content:"\f54c"}.la-skull-crossbones:before{content:"\f714"}.la-skyatlas:before{content:"\f216"}.la-skype:before{content:"\f17e"}.la-slack:before{content:"\f198"}.la-slack-hash:before{content:"\f3ef"}.la-slash:before{content:"\f715"}.la-sleigh:before{content:"\f7cc"}.la-sliders-h:before{content:"\f1de"}.la-slideshare:before{content:"\f1e7"}.la-smile:before{content:"\f118"}.la-smile-beam:before{content:"\f5b8"}.la-smile-wink:before{content:"\f4da"}.la-smog:before{content:"\f75f"}.la-smoking:before{content:"\f48d"}.la-smoking-ban:before{content:"\f54d"}.la-sms:before{content:"\f7cd"}.la-snapchat:before{content:"\f2ab"}.la-snapchat-ghost:before{content:"\f2ac"}.la-snapchat-square:before{content:"\f2ad"}.la-snowboarding:before{content:"\f7ce"}.la-snowflake:before{content:"\f2dc"}.la-snowman:before{content:"\f7d0"}.la-snowplow:before{content:"\f7d2"}.la-socks:before{content:"\f696"}.la-solar-panel:before{content:"\f5ba"}.la-sort:before{content:"\f0dc"}.la-sort-alpha-down:before{content:"\f15d"}.la-sort-alpha-down-alt:before{content:"\f881"}.la-sort-alpha-up:before{content:"\f15e"}.la-sort-alpha-up-alt:before{content:"\f882"}.la-sort-amount-down:before{content:"\f160"}.la-sort-amount-down-alt:before{content:"\f884"}.la-sort-amount-up:before{content:"\f161"}.la-sort-amount-up-alt:before{content:"\f885"}.la-sort-down:before{content:"\f0dd"}.la-sort-numeric-down:before{content:"\f162"}.la-sort-numeric-down-alt:before{content:"\f886"}.la-sort-numeric-up:before{content:"\f163"}.la-sort-numeric-up-alt:before{content:"\f887"}.la-sort-up:before{content:"\f0de"}.la-soundcloud:before{content:"\f1be"}.la-sourcetree:before{content:"\f7d3"}.la-spa:before{content:"\f5bb"}.la-space-shuttle:before{content:"\f197"}.la-speakap:before{content:"\f3f3"}.la-speaker-deck:before{content:"\f83c"}.la-spell-check:before{content:"\f891"}.la-spider:before{content:"\f717"}.la-spinner:before{content:"\f110"}.la-splotch:before{content:"\f5bc"}.la-spotify:before{content:"\f1bc"}.la-spray-can:before{content:"\f5bd"}.la-square:before{content:"\f0c8"}.la-square-full:before{content:"\f45c"}.la-square-root-alt:before{content:"\f698"}.la-squarespace:before{content:"\f5be"}.la-stack-exchange:before{content:"\f18d"}.la-stack-overflow:before{content:"\f16c"}.la-stackpath:before{content:"\f842"}.la-stamp:before{content:"\f5bf"}.la-star:before{content:"\f005"}.la-star-and-crescent:before{content:"\f699"}.la-star-half:before{content:"\f089"}.la-star-half-alt:before{content:"\f5c0"}.la-star-of-david:before{content:"\f69a"}.la-star-of-life:before{content:"\f621"}.la-staylinked:before{content:"\f3f5"}.la-steam:before{content:"\f1b6"}.la-steam-square:before{content:"\f1b7"}.la-steam-symbol:before{content:"\f3f6"}.la-step-backward:before{content:"\f048"}.la-step-forward:before{content:"\f051"}.la-stethoscope:before{content:"\f0f1"}.la-sticker-mule:before{content:"\f3f7"}.la-sticky-note:before{content:"\f249"}.la-stop:before{content:"\f04d"}.la-stop-circle:before{content:"\f28d"}.la-stopwatch:before{content:"\f2f2"}.la-store:before{content:"\f54e"}.la-store-alt:before{content:"\f54f"}.la-strava:before{content:"\f428"}.la-stream:before{content:"\f550"}.la-street-view:before{content:"\f21d"}.la-strikethrough:before{content:"\f0cc"}.la-stripe:before{content:"\f429"}.la-stripe-s:before{content:"\f42a"}.la-stroopwafel:before{content:"\f551"}.la-studiovinari:before{content:"\f3f8"}.la-stumbleupon:before{content:"\f1a4"}.la-stumbleupon-circle:before{content:"\f1a3"}.la-subscript:before{content:"\f12c"}.la-subway:before{content:"\f239"}.la-suitcase:before{content:"\f0f2"}.la-suitcase-rolling:before{content:"\f5c1"}.la-sun:before{content:"\f185"}.la-superpowers:before{content:"\f2dd"}.la-superscript:before{content:"\f12b"}.la-supple:before{content:"\f3f9"}.la-surprise:before{content:"\f5c2"}.la-suse:before{content:"\f7d6"}.la-swatchbook:before{content:"\f5c3"}.la-swift:before{content:"\f8e1"}.la-swimmer:before{content:"\f5c4"}.la-swimming-pool:before{content:"\f5c5"}.la-symfony:before{content:"\f83d"}.la-synagogue:before{content:"\f69b"}.la-sync:before{content:"\f021"}.la-sync-alt:before{content:"\f2f1"}.la-syringe:before{content:"\f48e"}.la-table:before{content:"\f0ce"}.la-table-tennis:before{content:"\f45d"}.la-tablet:before{content:"\f10a"}.la-tablet-alt:before{content:"\f3fa"}.la-tablets:before{content:"\f490"}.la-tachometer-alt:before{content:"\f3fd"}.la-tag:before{content:"\f02b"}.la-tags:before{content:"\f02c"}.la-tape:before{content:"\f4db"}.la-tasks:before{content:"\f0ae"}.la-taxi:before{content:"\f1ba"}.la-teamspeak:before{content:"\f4f9"}.la-teeth:before{content:"\f62e"}.la-teeth-open:before{content:"\f62f"}.la-telegram:before{content:"\f2c6"}.la-telegram-plane:before{content:"\f3fe"}.la-temperature-high:before{content:"\f769"}.la-temperature-low:before{content:"\f76b"}.la-tencent-weibo:before{content:"\f1d5"}.la-tenge:before{content:"\f7d7"}.la-terminal:before{content:"\f120"}.la-text-height:before{content:"\f034"}.la-text-width:before{content:"\f035"}.la-th:before{content:"\f00a"}.la-th-large:before{content:"\f009"}.la-th-list:before{content:"\f00b"}.la-the-red-yeti:before{content:"\f69d"}.la-theater-masks:before{content:"\f630"}.la-themeco:before{content:"\f5c6"}.la-themeisle:before{content:"\f2b2"}.la-thermometer:before{content:"\f491"}.la-thermometer-empty:before{content:"\f2cb"}.la-thermometer-full:before{content:"\f2c7"}.la-thermometer-half:before{content:"\f2c9"}.la-thermometer-quarter:before{content:"\f2ca"}.la-thermometer-three-quarters:before{content:"\f2c8"}.la-think-peaks:before{content:"\f731"}.la-thumbs-down:before{content:"\f165"}.la-thumbs-up:before{content:"\f164"}.la-thumbtack:before{content:"\f08d"}.la-ticket-alt:before{content:"\f3ff"}.la-times:before{content:"\f00d"}.la-times-circle:before{content:"\f057"}.la-tint:before{content:"\f043"}.la-tint-slash:before{content:"\f5c7"}.la-tired:before{content:"\f5c8"}.la-toggle-off:before{content:"\f204"}.la-toggle-on:before{content:"\f205"}.la-toilet:before{content:"\f7d8"}.la-toilet-paper:before{content:"\f71e"}.la-toolbox:before{content:"\f552"}.la-tools:before{content:"\f7d9"}.la-tooth:before{content:"\f5c9"}.la-torah:before{content:"\f6a0"}.la-torii-gate:before{content:"\f6a1"}.la-tractor:before{content:"\f722"}.la-trade-federation:before{content:"\f513"}.la-trademark:before{content:"\f25c"}.la-traffic-light:before{content:"\f637"}.la-train:before{content:"\f238"}.la-tram:before{content:"\f7da"}.la-transgender:before{content:"\f224"}.la-transgender-alt:before{content:"\f225"}.la-trash:before{content:"\f1f8"}.la-trash-alt:before{content:"\f2ed"}.la-trash-restore:before{content:"\f829"}.la-trash-restore-alt:before{content:"\f82a"}.la-tree:before{content:"\f1bb"}.la-trello:before{content:"\f181"}.la-tripadvisor:before{content:"\f262"}.la-trophy:before{content:"\f091"}.la-truck:before{content:"\f0d1"}.la-truck-loading:before{content:"\f4de"}.la-truck-monster:before{content:"\f63b"}.la-truck-moving:before{content:"\f4df"}.la-truck-pickup:before{content:"\f63c"}.la-tshirt:before{content:"\f553"}.la-tty:before{content:"\f1e4"}.la-tumblr:before{content:"\f173"}.la-tumblr-square:before{content:"\f174"}.la-tv:before{content:"\f26c"}.la-twitch:before{content:"\f1e8"}.la-twitter:before{content:"\f099"}.la-twitter-square:before{content:"\f081"}.la-typo3:before{content:"\f42b"}.la-uber:before{content:"\f402"}.la-ubuntu:before{content:"\f7df"}.la-uikit:before{content:"\f403"}.la-umbraco:before{content:"\f8e8"}.la-umbrella:before{content:"\f0e9"}.la-umbrella-beach:before{content:"\f5ca"}.la-underline:before{content:"\f0cd"}.la-undo:before{content:"\f0e2"}.la-undo-alt:before{content:"\f2ea"}.la-uniregistry:before{content:"\f404"}.la-universal-access:before{content:"\f29a"}.la-university:before{content:"\f19c"}.la-unlink:before{content:"\f127"}.la-unlock:before{content:"\f09c"}.la-unlock-alt:before{content:"\f13e"}.la-untappd:before{content:"\f405"}.la-upload:before{content:"\f093"}.la-ups:before{content:"\f7e0"}.la-usb:before{content:"\f287"}.la-user:before{content:"\f007"}.la-user-alt:before{content:"\f406"}.la-user-alt-slash:before{content:"\f4fa"}.la-user-astronaut:before{content:"\f4fb"}.la-user-check:before{content:"\f4fc"}.la-user-circle:before{content:"\f2bd"}.la-user-clock:before{content:"\f4fd"}.la-user-cog:before{content:"\f4fe"}.la-user-edit:before{content:"\f4ff"}.la-user-friends:before{content:"\f500"}.la-user-graduate:before{content:"\f501"}.la-user-injured:before{content:"\f728"}.la-user-lock:before{content:"\f502"}.la-user-md:before{content:"\f0f0"}.la-user-minus:before{content:"\f503"}.la-user-ninja:before{content:"\f504"}.la-user-nurse:before{content:"\f82f"}.la-user-plus:before{content:"\f234"}.la-user-secret:before{content:"\f21b"}.la-user-shield:before{content:"\f505"}.la-user-slash:before{content:"\f506"}.la-user-tag:before{content:"\f507"}.la-user-tie:before{content:"\f508"}.la-user-times:before{content:"\f235"}.la-users:before{content:"\f0c0"}.la-users-cog:before{content:"\f509"}.la-usps:before{content:"\f7e1"}.la-ussunnah:before{content:"\f407"}.la-utensil-spoon:before{content:"\f2e5"}.la-utensils:before{content:"\f2e7"}.la-vaadin:before{content:"\f408"}.la-vector-square:before{content:"\f5cb"}.la-venus:before{content:"\f221"}.la-venus-double:before{content:"\f226"}.la-venus-mars:before{content:"\f228"}.la-viacoin:before{content:"\f237"}.la-viadeo:before{content:"\f2a9"}.la-viadeo-square:before{content:"\f2aa"}.la-vial:before{content:"\f492"}.la-vials:before{content:"\f493"}.la-viber:before{content:"\f409"}.la-video:before{content:"\f03d"}.la-video-slash:before{content:"\f4e2"}.la-vihara:before{content:"\f6a7"}.la-vimeo:before{content:"\f40a"}.la-vimeo-square:before{content:"\f194"}.la-vimeo-v:before{content:"\f27d"}.la-vine:before{content:"\f1ca"}.la-vk:before{content:"\f189"}.la-vnv:before{content:"\f40b"}.la-voicemail:before{content:"\f897"}.la-volleyball-ball:before{content:"\f45f"}.la-volume-down:before{content:"\f027"}.la-volume-mute:before{content:"\f6a9"}.la-volume-off:before{content:"\f026"}.la-volume-up:before{content:"\f028"}.la-vote-yea:before{content:"\f772"}.la-vr-cardboard:before{content:"\f729"}.la-vuejs:before{content:"\f41f"}.la-walking:before{content:"\f554"}.la-wallet:before{content:"\f555"}.la-warehouse:before{content:"\f494"}.la-water:before{content:"\f773"}.la-wave-square:before{content:"\f83e"}.la-waze:before{content:"\f83f"}.la-weebly:before{content:"\f5cc"}.la-weibo:before{content:"\f18a"}.la-weight:before{content:"\f496"}.la-weight-hanging:before{content:"\f5cd"}.la-weixin:before{content:"\f1d7"}.la-whatsapp:before{content:"\f232"}.la-whatsapp-square:before{content:"\f40c"}.la-wheelchair:before{content:"\f193"}.la-whmcs:before{content:"\f40d"}.la-wifi:before{content:"\f1eb"}.la-wikipedia-w:before{content:"\f266"}.la-wind:before{content:"\f72e"}.la-window-close:before{content:"\f410"}.la-window-maximize:before{content:"\f2d0"}.la-window-minimize:before{content:"\f2d1"}.la-window-restore:before{content:"\f2d2"}.la-windows:before{content:"\f17a"}.la-wine-bottle:before{content:"\f72f"}.la-wine-glass:before{content:"\f4e3"}.la-wine-glass-alt:before{content:"\f5ce"}.la-wix:before{content:"\f5cf"}.la-wizards-of-the-coast:before{content:"\f730"}.la-wolf-pack-battalion:before{content:"\f514"}.la-won-sign:before{content:"\f159"}.la-wordpress:before{content:"\f19a"}.la-wordpress-simple:before{content:"\f411"}.la-wpbeginner:before{content:"\f297"}.la-wpexplorer:before{content:"\f2de"}.la-wpforms:before{content:"\f298"}.la-wpressr:before{content:"\f3e4"}.la-wrench:before{content:"\f0ad"}.la-x-ray:before{content:"\f497"}.la-xbox:before{content:"\f412"}.la-xing:before{content:"\f168"}.la-xing-square:before{content:"\f169"}.la-y-combinator:before{content:"\f23b"}.la-yahoo:before{content:"\f19e"}.la-yammer:before{content:"\f840"}.la-yandex:before{content:"\f413"}.la-yandex-international:before{content:"\f414"}.la-yarn:before{content:"\f7e3"}.la-yelp:before{content:"\f1e9"}.la-yen-sign:before{content:"\f157"}.la-yin-yang:before{content:"\f6ad"}.la-yoast:before{content:"\f2b1"}.la-youtube:before{content:"\f167"}.la-youtube-square:before{content:"\f431"}.la-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:'Line Awesome Brands';font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/la-brands-400.eot);src:url(../fonts/la-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/la-brands-400.woff2) format("woff2"),url(../fonts/la-brands-400.woff) format("woff"),url(../fonts/la-brands-400.ttf) format("truetype"),url(../fonts/la-brands-400.svg#lineawesome) format("svg")}.lab{font-family:'Line Awesome Brands'}@font-face{font-family:'Line Awesome Free';font-style:normal;font-weight:400;font-display:auto;src:url(../fonts/la-regular-400.eot);src:url(../fonts/la-regular-400.eot?#iefix) format("embedded-opentype"),url(../fonts/la-regular-400.woff2) format("woff2"),url(../fonts/la-regular-400.woff) format("woff"),url(../fonts/la-regular-400.ttf) format("truetype"),url(../fonts/la-regular-400.svg#lineawesome) format("svg")}.lar{font-family:'Line Awesome Free';font-weight:400}@font-face{font-family:'Line Awesome Free';font-style:normal;font-weight:900;font-display:auto;src:url(../fonts/la-solid-900.eot);src:url(../fonts/la-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/la-solid-900.woff2) format("woff2"),url(../fonts/la-solid-900.woff) format("woff"),url(../fonts/la-solid-900.ttf) format("truetype"),url(../fonts/la-solid-900.svg#lineawesome) format("svg")}.la,.las{font-family:'Line Awesome Free';font-weight:900}.la.la-glass:before{content:"\f000"}.la.la-meetup{font-family:'Line Awesome Brands';font-weight:400}.la.la-star-o{font-family:'Line Awesome Free';font-weight:400}.la.la-star-o:before{content:"\f005"}.la.la-remove:before{content:"\f00d"}.la.la-close:before{content:"\f00d"}.la.la-gear:before{content:"\f013"}.la.la-trash-o{font-family:'Line Awesome Free';font-weight:400}.la.la-trash-o:before{content:"\f2ed"}.la.la-file-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-o:before{content:"\f15b"}.la.la-clock-o{font-family:'Line Awesome Free';font-weight:400}.la.la-clock-o:before{content:"\f017"}.la.la-arrow-circle-o-down{font-family:'Line Awesome Free';font-weight:400}.la.la-arrow-circle-o-down:before{content:"\f358"}.la.la-arrow-circle-o-up{font-family:'Line Awesome Free';font-weight:400}.la.la-arrow-circle-o-up:before{content:"\f35b"}.la.la-play-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-play-circle-o:before{content:"\f144"}.la.la-repeat:before{content:"\f01e"}.la.la-rotate-right:before{content:"\f01e"}.la.la-refresh:before{content:"\f021"}.la.la-list-alt{font-family:'Line Awesome Free';font-weight:400}.la.la-dedent:before{content:"\f03b"}.la.la-video-camera:before{content:"\f03d"}.la.la-picture-o{font-family:'Line Awesome Free';font-weight:400}.la.la-picture-o:before{content:"\f03e"}.la.la-photo{font-family:'Line Awesome Free';font-weight:400}.la.la-photo:before{content:"\f03e"}.la.la-image{font-family:'Line Awesome Free';font-weight:400}.la.la-image:before{content:"\f03e"}.la.la-pencil:before{content:"\f303"}.la.la-map-marker:before{content:"\f3c5"}.la.la-pencil-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-pencil-square-o:before{content:"\f044"}.la.la-share-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-share-square-o:before{content:"\f14d"}.la.la-check-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-check-square-o:before{content:"\f14a"}.la.la-arrows:before{content:"\f0b2"}.la.la-times-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-times-circle-o:before{content:"\f057"}.la.la-check-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-check-circle-o:before{content:"\f058"}.la.la-mail-forward:before{content:"\f064"}.la.la-eye{font-family:'Line Awesome Free';font-weight:400}.la.la-eye-slash{font-family:'Line Awesome Free';font-weight:400}.la.la-warning:before{content:"\f071"}.la.la-calendar:before{content:"\f073"}.la.la-arrows-v:before{content:"\f338"}.la.la-arrows-h:before{content:"\f337"}.la.la-bar-chart{font-family:'Line Awesome Free';font-weight:400}.la.la-bar-chart:before{content:"\f080"}.la.la-bar-chart-o{font-family:'Line Awesome Free';font-weight:400}.la.la-bar-chart-o:before{content:"\f080"}.la.la-twitter-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-facebook-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-gears:before{content:"\f085"}.la.la-thumbs-o-up{font-family:'Line Awesome Free';font-weight:400}.la.la-thumbs-o-up:before{content:"\f164"}.la.la-thumbs-o-down{font-family:'Line Awesome Free';font-weight:400}.la.la-thumbs-o-down:before{content:"\f165"}.la.la-heart-o{font-family:'Line Awesome Free';font-weight:400}.la.la-heart-o:before{content:"\f004"}.la.la-sign-out:before{content:"\f2f5"}.la.la-linkedin-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-linkedin-square:before{content:"\f08c"}.la.la-thumb-tack:before{content:"\f08d"}.la.la-external-link:before{content:"\f35d"}.la.la-sign-in:before{content:"\f2f6"}.la.la-github-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-lemon-o{font-family:'Line Awesome Free';font-weight:400}.la.la-lemon-o:before{content:"\f094"}.la.la-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-square-o:before{content:"\f0c8"}.la.la-bookmark-o{font-family:'Line Awesome Free';font-weight:400}.la.la-bookmark-o:before{content:"\f02e"}.la.la-twitter{font-family:'Line Awesome Brands';font-weight:400}.la.la-facebook{font-family:'Line Awesome Brands';font-weight:400}.la.la-facebook:before{content:"\f39e"}.la.la-facebook-f{font-family:'Line Awesome Brands';font-weight:400}.la.la-facebook-f:before{content:"\f39e"}.la.la-github{font-family:'Line Awesome Brands';font-weight:400}.la.la-credit-card{font-family:'Line Awesome Free';font-weight:400}.la.la-feed:before{content:"\f09e"}.la.la-hdd-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hdd-o:before{content:"\f0a0"}.la.la-hand-o-right{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-o-right:before{content:"\f0a4"}.la.la-hand-o-left{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-o-left:before{content:"\f0a5"}.la.la-hand-o-up{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-o-up:before{content:"\f0a6"}.la.la-hand-o-down{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-o-down:before{content:"\f0a7"}.la.la-arrows-alt:before{content:"\f31e"}.la.la-group:before{content:"\f0c0"}.la.la-chain:before{content:"\f0c1"}.la.la-scissors:before{content:"\f0c4"}.la.la-files-o{font-family:'Line Awesome Free';font-weight:400}.la.la-files-o:before{content:"\f0c5"}.la.la-floppy-o{font-family:'Line Awesome Free';font-weight:400}.la.la-floppy-o:before{content:"\f0c7"}.la.la-navicon:before{content:"\f0c9"}.la.la-reorder:before{content:"\f0c9"}.la.la-pinterest{font-family:'Line Awesome Brands';font-weight:400}.la.la-pinterest-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus:before{content:"\f0d5"}.la.la-money{font-family:'Line Awesome Free';font-weight:400}.la.la-money:before{content:"\f3d1"}.la.la-unsorted:before{content:"\f0dc"}.la.la-sort-desc:before{content:"\f0dd"}.la.la-sort-asc:before{content:"\f0de"}.la.la-linkedin{font-family:'Line Awesome Brands';font-weight:400}.la.la-linkedin:before{content:"\f0e1"}.la.la-rotate-left:before{content:"\f0e2"}.la.la-legal:before{content:"\f0e3"}.la.la-tachometer:before{content:"\f3fd"}.la.la-dashboard:before{content:"\f3fd"}.la.la-comment-o{font-family:'Line Awesome Free';font-weight:400}.la.la-comment-o:before{content:"\f075"}.la.la-comments-o{font-family:'Line Awesome Free';font-weight:400}.la.la-comments-o:before{content:"\f086"}.la.la-flash:before{content:"\f0e7"}.la.la-clipboard{font-family:'Line Awesome Free';font-weight:400}.la.la-paste{font-family:'Line Awesome Free';font-weight:400}.la.la-paste:before{content:"\f328"}.la.la-lightbulb-o{font-family:'Line Awesome Free';font-weight:400}.la.la-lightbulb-o:before{content:"\f0eb"}.la.la-exchange:before{content:"\f362"}.la.la-cloud-download:before{content:"\f381"}.la.la-cloud-upload:before{content:"\f382"}.la.la-bell-o{font-family:'Line Awesome Free';font-weight:400}.la.la-bell-o:before{content:"\f0f3"}.la.la-cutlery:before{content:"\f2e7"}.la.la-file-text-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-text-o:before{content:"\f15c"}.la.la-building-o{font-family:'Line Awesome Free';font-weight:400}.la.la-building-o:before{content:"\f1ad"}.la.la-hospital-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hospital-o:before{content:"\f0f8"}.la.la-tablet:before{content:"\f3fa"}.la.la-mobile:before{content:"\f3cd"}.la.la-mobile-phone:before{content:"\f3cd"}.la.la-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-circle-o:before{content:"\f111"}.la.la-mail-reply:before{content:"\f3e5"}.la.la-github-alt{font-family:'Line Awesome Brands';font-weight:400}.la.la-folder-o{font-family:'Line Awesome Free';font-weight:400}.la.la-folder-o:before{content:"\f07b"}.la.la-folder-open-o{font-family:'Line Awesome Free';font-weight:400}.la.la-folder-open-o:before{content:"\f07c"}.la.la-smile-o{font-family:'Line Awesome Free';font-weight:400}.la.la-smile-o:before{content:"\f118"}.la.la-frown-o{font-family:'Line Awesome Free';font-weight:400}.la.la-frown-o:before{content:"\f119"}.la.la-meh-o{font-family:'Line Awesome Free';font-weight:400}.la.la-meh-o:before{content:"\f11a"}.la.la-keyboard-o{font-family:'Line Awesome Free';font-weight:400}.la.la-keyboard-o:before{content:"\f11c"}.la.la-flag-o{font-family:'Line Awesome Free';font-weight:400}.la.la-flag-o:before{content:"\f024"}.la.la-mail-reply-all:before{content:"\f122"}.la.la-star-half-o{font-family:'Line Awesome Free';font-weight:400}.la.la-star-half-o:before{content:"\f089"}.la.la-star-half-empty{font-family:'Line Awesome Free';font-weight:400}.la.la-star-half-empty:before{content:"\f089"}.la.la-star-half-full{font-family:'Line Awesome Free';font-weight:400}.la.la-star-half-full:before{content:"\f089"}.la.la-code-fork:before{content:"\f126"}.la.la-chain-broken:before{content:"\f127"}.la.la-shield:before{content:"\f3ed"}.la.la-calendar-o{font-family:'Line Awesome Free';font-weight:400}.la.la-calendar-o:before{content:"\f133"}.la.la-maxcdn{font-family:'Line Awesome Brands';font-weight:400}.la.la-html5{font-family:'Line Awesome Brands';font-weight:400}.la.la-css3{font-family:'Line Awesome Brands';font-weight:400}.la.la-ticket:before{content:"\f3ff"}.la.la-minus-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-minus-square-o:before{content:"\f146"}.la.la-level-up:before{content:"\f3bf"}.la.la-level-down:before{content:"\f3be"}.la.la-pencil-square:before{content:"\f14b"}.la.la-external-link-square:before{content:"\f360"}.la.la-compass{font-family:'Line Awesome Free';font-weight:400}.la.la-caret-square-o-down{font-family:'Line Awesome Free';font-weight:400}.la.la-caret-square-o-down:before{content:"\f150"}.la.la-toggle-down{font-family:'Line Awesome Free';font-weight:400}.la.la-toggle-down:before{content:"\f150"}.la.la-caret-square-o-up{font-family:'Line Awesome Free';font-weight:400}.la.la-caret-square-o-up:before{content:"\f151"}.la.la-toggle-up{font-family:'Line Awesome Free';font-weight:400}.la.la-toggle-up:before{content:"\f151"}.la.la-caret-square-o-right{font-family:'Line Awesome Free';font-weight:400}.la.la-caret-square-o-right:before{content:"\f152"}.la.la-toggle-right{font-family:'Line Awesome Free';font-weight:400}.la.la-toggle-right:before{content:"\f152"}.la.la-eur:before{content:"\f153"}.la.la-euro:before{content:"\f153"}.la.la-gbp:before{content:"\f154"}.la.la-usd:before{content:"\f155"}.la.la-dollar:before{content:"\f155"}.la.la-inr:before{content:"\f156"}.la.la-rupee:before{content:"\f156"}.la.la-jpy:before{content:"\f157"}.la.la-cny:before{content:"\f157"}.la.la-rmb:before{content:"\f157"}.la.la-yen:before{content:"\f157"}.la.la-rub:before{content:"\f158"}.la.la-ruble:before{content:"\f158"}.la.la-rouble:before{content:"\f158"}.la.la-krw:before{content:"\f159"}.la.la-won:before{content:"\f159"}.la.la-btc{font-family:'Line Awesome Brands';font-weight:400}.la.la-bitcoin{font-family:'Line Awesome Brands';font-weight:400}.la.la-bitcoin:before{content:"\f15a"}.la.la-file-text:before{content:"\f15c"}.la.la-sort-alpha-asc:before{content:"\f15d"}.la.la-sort-alpha-desc:before{content:"\f881"}.la.la-sort-amount-asc:before{content:"\f160"}.la.la-sort-amount-desc:before{content:"\f884"}.la.la-sort-numeric-asc:before{content:"\f162"}.la.la-sort-numeric-desc:before{content:"\f886"}.la.la-youtube-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-youtube{font-family:'Line Awesome Brands';font-weight:400}.la.la-xing{font-family:'Line Awesome Brands';font-weight:400}.la.la-xing-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-youtube-play{font-family:'Line Awesome Brands';font-weight:400}.la.la-youtube-play:before{content:"\f167"}.la.la-dropbox{font-family:'Line Awesome Brands';font-weight:400}.la.la-stack-overflow{font-family:'Line Awesome Brands';font-weight:400}.la.la-instagram{font-family:'Line Awesome Brands';font-weight:400}.la.la-flickr{font-family:'Line Awesome Brands';font-weight:400}.la.la-adn{font-family:'Line Awesome Brands';font-weight:400}.la.la-bitbucket{font-family:'Line Awesome Brands';font-weight:400}.la.la-bitbucket-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-bitbucket-square:before{content:"\f171"}.la.la-tumblr{font-family:'Line Awesome Brands';font-weight:400}.la.la-tumblr-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-long-arrow-down:before{content:"\f309"}.la.la-long-arrow-up:before{content:"\f30c"}.la.la-long-arrow-left:before{content:"\f30a"}.la.la-long-arrow-right:before{content:"\f30b"}.la.la-apple{font-family:'Line Awesome Brands';font-weight:400}.la.la-windows{font-family:'Line Awesome Brands';font-weight:400}.la.la-android{font-family:'Line Awesome Brands';font-weight:400}.la.la-linux{font-family:'Line Awesome Brands';font-weight:400}.la.la-dribbble{font-family:'Line Awesome Brands';font-weight:400}.la.la-skype{font-family:'Line Awesome Brands';font-weight:400}.la.la-foursquare{font-family:'Line Awesome Brands';font-weight:400}.la.la-trello{font-family:'Line Awesome Brands';font-weight:400}.la.la-gratipay{font-family:'Line Awesome Brands';font-weight:400}.la.la-gittip{font-family:'Line Awesome Brands';font-weight:400}.la.la-gittip:before{content:"\f184"}.la.la-sun-o{font-family:'Line Awesome Free';font-weight:400}.la.la-sun-o:before{content:"\f185"}.la.la-moon-o{font-family:'Line Awesome Free';font-weight:400}.la.la-moon-o:before{content:"\f186"}.la.la-vk{font-family:'Line Awesome Brands';font-weight:400}.la.la-weibo{font-family:'Line Awesome Brands';font-weight:400}.la.la-renren{font-family:'Line Awesome Brands';font-weight:400}.la.la-pagelines{font-family:'Line Awesome Brands';font-weight:400}.la.la-stack-exchange{font-family:'Line Awesome Brands';font-weight:400}.la.la-arrow-circle-o-right{font-family:'Line Awesome Free';font-weight:400}.la.la-arrow-circle-o-right:before{content:"\f35a"}.la.la-arrow-circle-o-left{font-family:'Line Awesome Free';font-weight:400}.la.la-arrow-circle-o-left:before{content:"\f359"}.la.la-caret-square-o-left{font-family:'Line Awesome Free';font-weight:400}.la.la-caret-square-o-left:before{content:"\f191"}.la.la-toggle-left{font-family:'Line Awesome Free';font-weight:400}.la.la-toggle-left:before{content:"\f191"}.la.la-dot-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-dot-circle-o:before{content:"\f192"}.la.la-vimeo-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-try:before{content:"\f195"}.la.la-turkish-lira:before{content:"\f195"}.la.la-plus-square-o{font-family:'Line Awesome Free';font-weight:400}.la.la-plus-square-o:before{content:"\f0fe"}.la.la-slack{font-family:'Line Awesome Brands';font-weight:400}.la.la-wordpress{font-family:'Line Awesome Brands';font-weight:400}.la.la-openid{font-family:'Line Awesome Brands';font-weight:400}.la.la-institution:before{content:"\f19c"}.la.la-bank:before{content:"\f19c"}.la.la-mortar-board:before{content:"\f19d"}.la.la-yahoo{font-family:'Line Awesome Brands';font-weight:400}.la.la-google{font-family:'Line Awesome Brands';font-weight:400}.la.la-reddit{font-family:'Line Awesome Brands';font-weight:400}.la.la-reddit-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-stumbleupon-circle{font-family:'Line Awesome Brands';font-weight:400}.la.la-stumbleupon{font-family:'Line Awesome Brands';font-weight:400}.la.la-delicious{font-family:'Line Awesome Brands';font-weight:400}.la.la-digg{font-family:'Line Awesome Brands';font-weight:400}.la.la-pied-piper-pp{font-family:'Line Awesome Brands';font-weight:400}.la.la-pied-piper-alt{font-family:'Line Awesome Brands';font-weight:400}.la.la-drupal{font-family:'Line Awesome Brands';font-weight:400}.la.la-joomla{font-family:'Line Awesome Brands';font-weight:400}.la.la-spoon:before{content:"\f2e5"}.la.la-behance{font-family:'Line Awesome Brands';font-weight:400}.la.la-behance-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-steam{font-family:'Line Awesome Brands';font-weight:400}.la.la-steam-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-automobile:before{content:"\f1b9"}.la.la-cab:before{content:"\f1ba"}.la.la-envelope-o{font-family:'Line Awesome Free';font-weight:400}.la.la-envelope-o:before{content:"\f0e0"}.la.la-deviantart{font-family:'Line Awesome Brands';font-weight:400}.la.la-soundcloud{font-family:'Line Awesome Brands';font-weight:400}.la.la-file-pdf-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-pdf-o:before{content:"\f1c1"}.la.la-file-word-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-word-o:before{content:"\f1c2"}.la.la-file-excel-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-excel-o:before{content:"\f1c3"}.la.la-file-powerpoint-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-powerpoint-o:before{content:"\f1c4"}.la.la-file-image-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-image-o:before{content:"\f1c5"}.la.la-file-photo-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-photo-o:before{content:"\f1c5"}.la.la-file-picture-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-picture-o:before{content:"\f1c5"}.la.la-file-archive-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-archive-o:before{content:"\f1c6"}.la.la-file-zip-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-zip-o:before{content:"\f1c6"}.la.la-file-audio-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-audio-o:before{content:"\f1c7"}.la.la-file-sound-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-sound-o:before{content:"\f1c7"}.la.la-file-video-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-video-o:before{content:"\f1c8"}.la.la-file-movie-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-movie-o:before{content:"\f1c8"}.la.la-file-code-o{font-family:'Line Awesome Free';font-weight:400}.la.la-file-code-o:before{content:"\f1c9"}.la.la-vine{font-family:'Line Awesome Brands';font-weight:400}.la.la-codepen{font-family:'Line Awesome Brands';font-weight:400}.la.la-jsfiddle{font-family:'Line Awesome Brands';font-weight:400}.la.la-life-ring{font-family:'Line Awesome Free';font-weight:400}.la.la-life-bouy{font-family:'Line Awesome Free';font-weight:400}.la.la-life-bouy:before{content:"\f1cd"}.la.la-life-buoy{font-family:'Line Awesome Free';font-weight:400}.la.la-life-buoy:before{content:"\f1cd"}.la.la-life-saver{font-family:'Line Awesome Free';font-weight:400}.la.la-life-saver:before{content:"\f1cd"}.la.la-support{font-family:'Line Awesome Free';font-weight:400}.la.la-support:before{content:"\f1cd"}.la.la-circle-o-notch:before{content:"\f1ce"}.la.la-rebel{font-family:'Line Awesome Brands';font-weight:400}.la.la-ra{font-family:'Line Awesome Brands';font-weight:400}.la.la-ra:before{content:"\f1d0"}.la.la-resistance{font-family:'Line Awesome Brands';font-weight:400}.la.la-resistance:before{content:"\f1d0"}.la.la-empire{font-family:'Line Awesome Brands';font-weight:400}.la.la-ge{font-family:'Line Awesome Brands';font-weight:400}.la.la-ge:before{content:"\f1d1"}.la.la-git-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-git{font-family:'Line Awesome Brands';font-weight:400}.la.la-hacker-news{font-family:'Line Awesome Brands';font-weight:400}.la.la-y-combinator-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-y-combinator-square:before{content:"\f1d4"}.la.la-yc-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-yc-square:before{content:"\f1d4"}.la.la-tencent-weibo{font-family:'Line Awesome Brands';font-weight:400}.la.la-qq{font-family:'Line Awesome Brands';font-weight:400}.la.la-weixin{font-family:'Line Awesome Brands';font-weight:400}.la.la-wechat{font-family:'Line Awesome Brands';font-weight:400}.la.la-wechat:before{content:"\f1d7"}.la.la-send:before{content:"\f1d8"}.la.la-paper-plane-o{font-family:'Line Awesome Free';font-weight:400}.la.la-paper-plane-o:before{content:"\f1d8"}.la.la-send-o{font-family:'Line Awesome Free';font-weight:400}.la.la-send-o:before{content:"\f1d8"}.la.la-circle-thin{font-family:'Line Awesome Free';font-weight:400}.la.la-circle-thin:before{content:"\f111"}.la.la-header:before{content:"\f1dc"}.la.la-sliders:before{content:"\f1de"}.la.la-futbol-o{font-family:'Line Awesome Free';font-weight:400}.la.la-futbol-o:before{content:"\f1e3"}.la.la-soccer-ball-o{font-family:'Line Awesome Free';font-weight:400}.la.la-soccer-ball-o:before{content:"\f1e3"}.la.la-slideshare{font-family:'Line Awesome Brands';font-weight:400}.la.la-twitch{font-family:'Line Awesome Brands';font-weight:400}.la.la-yelp{font-family:'Line Awesome Brands';font-weight:400}.la.la-newspaper-o{font-family:'Line Awesome Free';font-weight:400}.la.la-newspaper-o:before{content:"\f1ea"}.la.la-paypal{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-wallet{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-visa{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-mastercard{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-discover{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-amex{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-paypal{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-stripe{font-family:'Line Awesome Brands';font-weight:400}.la.la-bell-slash-o{font-family:'Line Awesome Free';font-weight:400}.la.la-bell-slash-o:before{content:"\f1f6"}.la.la-trash:before{content:"\f2ed"}.la.la-copyright{font-family:'Line Awesome Free';font-weight:400}.la.la-eyedropper:before{content:"\f1fb"}.la.la-area-chart:before{content:"\f1fe"}.la.la-pie-chart:before{content:"\f200"}.la.la-line-chart:before{content:"\f201"}.la.la-lastfm{font-family:'Line Awesome Brands';font-weight:400}.la.la-lastfm-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-ioxhost{font-family:'Line Awesome Brands';font-weight:400}.la.la-angellist{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc{font-family:'Line Awesome Free';font-weight:400}.la.la-cc:before{content:"\f20a"}.la.la-ils:before{content:"\f20b"}.la.la-shekel:before{content:"\f20b"}.la.la-sheqel:before{content:"\f20b"}.la.la-meanpath{font-family:'Line Awesome Brands';font-weight:400}.la.la-meanpath:before{content:"\f2b4"}.la.la-buysellads{font-family:'Line Awesome Brands';font-weight:400}.la.la-connectdevelop{font-family:'Line Awesome Brands';font-weight:400}.la.la-dashcube{font-family:'Line Awesome Brands';font-weight:400}.la.la-forumbee{font-family:'Line Awesome Brands';font-weight:400}.la.la-leanpub{font-family:'Line Awesome Brands';font-weight:400}.la.la-sellsy{font-family:'Line Awesome Brands';font-weight:400}.la.la-shirtsinbulk{font-family:'Line Awesome Brands';font-weight:400}.la.la-simplybuilt{font-family:'Line Awesome Brands';font-weight:400}.la.la-skyatlas{font-family:'Line Awesome Brands';font-weight:400}.la.la-diamond{font-family:'Line Awesome Free';font-weight:400}.la.la-diamond:before{content:"\f3a5"}.la.la-intersex:before{content:"\f224"}.la.la-facebook-official{font-family:'Line Awesome Brands';font-weight:400}.la.la-facebook-official:before{content:"\f09a"}.la.la-pinterest-p{font-family:'Line Awesome Brands';font-weight:400}.la.la-whatsapp{font-family:'Line Awesome Brands';font-weight:400}.la.la-hotel:before{content:"\f236"}.la.la-viacoin{font-family:'Line Awesome Brands';font-weight:400}.la.la-medium{font-family:'Line Awesome Brands';font-weight:400}.la.la-y-combinator{font-family:'Line Awesome Brands';font-weight:400}.la.la-yc{font-family:'Line Awesome Brands';font-weight:400}.la.la-yc:before{content:"\f23b"}.la.la-optin-monster{font-family:'Line Awesome Brands';font-weight:400}.la.la-opencart{font-family:'Line Awesome Brands';font-weight:400}.la.la-expeditedssl{font-family:'Line Awesome Brands';font-weight:400}.la.la-battery-4:before{content:"\f240"}.la.la-battery:before{content:"\f240"}.la.la-battery-3:before{content:"\f241"}.la.la-battery-2:before{content:"\f242"}.la.la-battery-1:before{content:"\f243"}.la.la-battery-0:before{content:"\f244"}.la.la-object-group{font-family:'Line Awesome Free';font-weight:400}.la.la-object-ungroup{font-family:'Line Awesome Free';font-weight:400}.la.la-sticky-note-o{font-family:'Line Awesome Free';font-weight:400}.la.la-sticky-note-o:before{content:"\f249"}.la.la-cc-jcb{font-family:'Line Awesome Brands';font-weight:400}.la.la-cc-diners-club{font-family:'Line Awesome Brands';font-weight:400}.la.la-clone{font-family:'Line Awesome Free';font-weight:400}.la.la-hourglass-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hourglass-o:before{content:"\f254"}.la.la-hourglass-1:before{content:"\f251"}.la.la-hourglass-2:before{content:"\f252"}.la.la-hourglass-3:before{content:"\f253"}.la.la-hand-rock-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-rock-o:before{content:"\f255"}.la.la-hand-grab-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-grab-o:before{content:"\f255"}.la.la-hand-paper-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-paper-o:before{content:"\f256"}.la.la-hand-stop-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-stop-o:before{content:"\f256"}.la.la-hand-scissors-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-scissors-o:before{content:"\f257"}.la.la-hand-lizard-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-lizard-o:before{content:"\f258"}.la.la-hand-spock-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-spock-o:before{content:"\f259"}.la.la-hand-pointer-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-pointer-o:before{content:"\f25a"}.la.la-hand-peace-o{font-family:'Line Awesome Free';font-weight:400}.la.la-hand-peace-o:before{content:"\f25b"}.la.la-registered{font-family:'Line Awesome Free';font-weight:400}.la.la-creative-commons{font-family:'Line Awesome Brands';font-weight:400}.la.la-gg{font-family:'Line Awesome Brands';font-weight:400}.la.la-gg-circle{font-family:'Line Awesome Brands';font-weight:400}.la.la-tripadvisor{font-family:'Line Awesome Brands';font-weight:400}.la.la-odnoklassniki{font-family:'Line Awesome Brands';font-weight:400}.la.la-odnoklassniki-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-get-pocket{font-family:'Line Awesome Brands';font-weight:400}.la.la-wikipedia-w{font-family:'Line Awesome Brands';font-weight:400}.la.la-safari{font-family:'Line Awesome Brands';font-weight:400}.la.la-chrome{font-family:'Line Awesome Brands';font-weight:400}.la.la-firefox{font-family:'Line Awesome Brands';font-weight:400}.la.la-opera{font-family:'Line Awesome Brands';font-weight:400}.la.la-internet-explorer{font-family:'Line Awesome Brands';font-weight:400}.la.la-television:before{content:"\f26c"}.la.la-contao{font-family:'Line Awesome Brands';font-weight:400}.la.la-500px{font-family:'Line Awesome Brands';font-weight:400}.la.la-amazon{font-family:'Line Awesome Brands';font-weight:400}.la.la-calendar-plus-o{font-family:'Line Awesome Free';font-weight:400}.la.la-calendar-plus-o:before{content:"\f271"}.la.la-calendar-minus-o{font-family:'Line Awesome Free';font-weight:400}.la.la-calendar-minus-o:before{content:"\f272"}.la.la-calendar-times-o{font-family:'Line Awesome Free';font-weight:400}.la.la-calendar-times-o:before{content:"\f273"}.la.la-calendar-check-o{font-family:'Line Awesome Free';font-weight:400}.la.la-calendar-check-o:before{content:"\f274"}.la.la-map-o{font-family:'Line Awesome Free';font-weight:400}.la.la-map-o:before{content:"\f279"}.la.la-commenting:before{content:"\f4ad"}.la.la-commenting-o{font-family:'Line Awesome Free';font-weight:400}.la.la-commenting-o:before{content:"\f4ad"}.la.la-houzz{font-family:'Line Awesome Brands';font-weight:400}.la.la-vimeo{font-family:'Line Awesome Brands';font-weight:400}.la.la-vimeo:before{content:"\f27d"}.la.la-black-tie{font-family:'Line Awesome Brands';font-weight:400}.la.la-fonticons{font-family:'Line Awesome Brands';font-weight:400}.la.la-reddit-alien{font-family:'Line Awesome Brands';font-weight:400}.la.la-edge{font-family:'Line Awesome Brands';font-weight:400}.la.la-credit-card-alt:before{content:"\f09d"}.la.la-codiepie{font-family:'Line Awesome Brands';font-weight:400}.la.la-modx{font-family:'Line Awesome Brands';font-weight:400}.la.la-fort-awesome{font-family:'Line Awesome Brands';font-weight:400}.la.la-usb{font-family:'Line Awesome Brands';font-weight:400}.la.la-product-hunt{font-family:'Line Awesome Brands';font-weight:400}.la.la-mixcloud{font-family:'Line Awesome Brands';font-weight:400}.la.la-scribd{font-family:'Line Awesome Brands';font-weight:400}.la.la-pause-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-pause-circle-o:before{content:"\f28b"}.la.la-stop-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-stop-circle-o:before{content:"\f28d"}.la.la-bluetooth{font-family:'Line Awesome Brands';font-weight:400}.la.la-bluetooth-b{font-family:'Line Awesome Brands';font-weight:400}.la.la-gitlab{font-family:'Line Awesome Brands';font-weight:400}.la.la-wpbeginner{font-family:'Line Awesome Brands';font-weight:400}.la.la-wpforms{font-family:'Line Awesome Brands';font-weight:400}.la.la-envira{font-family:'Line Awesome Brands';font-weight:400}.la.la-wheelchair-alt{font-family:'Line Awesome Brands';font-weight:400}.la.la-wheelchair-alt:before{content:"\f368"}.la.la-question-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-question-circle-o:before{content:"\f059"}.la.la-volume-control-phone:before{content:"\f2a0"}.la.la-asl-interpreting:before{content:"\f2a3"}.la.la-deafness:before{content:"\f2a4"}.la.la-hard-of-hearing:before{content:"\f2a4"}.la.la-glide{font-family:'Line Awesome Brands';font-weight:400}.la.la-glide-g{font-family:'Line Awesome Brands';font-weight:400}.la.la-signing:before{content:"\f2a7"}.la.la-viadeo{font-family:'Line Awesome Brands';font-weight:400}.la.la-viadeo-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-snapchat{font-family:'Line Awesome Brands';font-weight:400}.la.la-snapchat-ghost{font-family:'Line Awesome Brands';font-weight:400}.la.la-snapchat-square{font-family:'Line Awesome Brands';font-weight:400}.la.la-pied-piper{font-family:'Line Awesome Brands';font-weight:400}.la.la-first-order{font-family:'Line Awesome Brands';font-weight:400}.la.la-yoast{font-family:'Line Awesome Brands';font-weight:400}.la.la-themeisle{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus-official{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus-official:before{content:"\f2b3"}.la.la-google-plus-circle{font-family:'Line Awesome Brands';font-weight:400}.la.la-google-plus-circle:before{content:"\f2b3"}.la.la-font-awesome{font-family:'Line Awesome Brands';font-weight:400}.la.la-fa{font-family:'Line Awesome Brands';font-weight:400}.la.la-fa:before{content:"\f2b4"}.la.la-handshake-o{font-family:'Line Awesome Free';font-weight:400}.la.la-handshake-o:before{content:"\f2b5"}.la.la-envelope-open-o{font-family:'Line Awesome Free';font-weight:400}.la.la-envelope-open-o:before{content:"\f2b6"}.la.la-linode{font-family:'Line Awesome Brands';font-weight:400}.la.la-address-book-o{font-family:'Line Awesome Free';font-weight:400}.la.la-address-book-o:before{content:"\f2b9"}.la.la-vcard:before{content:"\f2bb"}.la.la-address-card-o{font-family:'Line Awesome Free';font-weight:400}.la.la-address-card-o:before{content:"\f2bb"}.la.la-vcard-o{font-family:'Line Awesome Free';font-weight:400}.la.la-vcard-o:before{content:"\f2bb"}.la.la-user-circle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-user-circle-o:before{content:"\f2bd"}.la.la-user-o{font-family:'Line Awesome Free';font-weight:400}.la.la-user-o:before{content:"\f007"}.la.la-id-badge{font-family:'Line Awesome Free';font-weight:400}.la.la-drivers-license:before{content:"\f2c2"}.la.la-id-card-o{font-family:'Line Awesome Free';font-weight:400}.la.la-id-card-o:before{content:"\f2c2"}.la.la-drivers-license-o{font-family:'Line Awesome Free';font-weight:400}.la.la-drivers-license-o:before{content:"\f2c2"}.la.la-quora{font-family:'Line Awesome Brands';font-weight:400}.la.la-free-code-camp{font-family:'Line Awesome Brands';font-weight:400}.la.la-telegram{font-family:'Line Awesome Brands';font-weight:400}.la.la-thermometer-4:before{content:"\f2c7"}.la.la-thermometer:before{content:"\f2c7"}.la.la-thermometer-3:before{content:"\f2c8"}.la.la-thermometer-2:before{content:"\f2c9"}.la.la-thermometer-1:before{content:"\f2ca"}.la.la-thermometer-0:before{content:"\f2cb"}.la.la-bathtub:before{content:"\f2cd"}.la.la-s15:before{content:"\f2cd"}.la.la-window-maximize{font-family:'Line Awesome Free';font-weight:400}.la.la-window-restore{font-family:'Line Awesome Free';font-weight:400}.la.la-times-rectangle:before{content:"\f410"}.la.la-window-close-o{font-family:'Line Awesome Free';font-weight:400}.la.la-window-close-o:before{content:"\f410"}.la.la-times-rectangle-o{font-family:'Line Awesome Free';font-weight:400}.la.la-times-rectangle-o:before{content:"\f410"}.la.la-bandcamp{font-family:'Line Awesome Brands';font-weight:400}.la.la-grav{font-family:'Line Awesome Brands';font-weight:400}.la.la-etsy{font-family:'Line Awesome Brands';font-weight:400}.la.la-imdb{font-family:'Line Awesome Brands';font-weight:400}.la.la-ravelry{font-family:'Line Awesome Brands';font-weight:400}.la.la-eercast{font-family:'Line Awesome Brands';font-weight:400}.la.la-eercast:before{content:"\f2da"}.la.la-snowflake-o{font-family:'Line Awesome Free';font-weight:400}.la.la-snowflake-o:before{content:"\f2dc"}.la.la-superpowers{font-family:'Line Awesome Brands';font-weight:400}.la.la-wpexplorer{font-family:'Line Awesome Brands';font-weight:400}.la.la-spotify{font-family:'Line Awesome Brands';font-weight:400}
|
assets/global/css/select2.min.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline;list-style:none;padding:0}.select2-container .select2-selection--multiple .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;margin-left:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option--selectable{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px;padding-right:0px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;padding-bottom:5px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:20px;margin-right:10px;margin-top:5px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-right:1px solid #aaa;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#999;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{background-color:#f1f1f1;color:#333;outline:none}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-left:1px solid #aaa;border-right:none;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{float:left;margin-left:10px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--group{padding:0}.select2-container--default .select2-results__option--disabled{color:#999}.select2-container--default .select2-results__option--selected{background-color:#ddd}.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;padding-bottom:5px;padding-right:5px}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--classic .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#888;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;outline:none}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option--group{padding:0}.select2-container--classic .select2-results__option--disabled{color:grey}.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}
|
assets/global/css/verification-code.css
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');
|
| 2 |
+
|
| 3 |
+
.form-control:focus {
|
| 4 |
+
background: transparent;
|
| 5 |
+
border: none;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
.verification-code-wrapper{
|
| 9 |
+
width: 480px;
|
| 10 |
+
padding: 40px;
|
| 11 |
+
display: flex;
|
| 12 |
+
align-items: center;
|
| 13 |
+
justify-content: center;
|
| 14 |
+
border-radius: 5px;
|
| 15 |
+
background-color: #fff;
|
| 16 |
+
border: 1px solid #ebebeb
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.verification-area{
|
| 20 |
+
width: 100%;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.verification-code {
|
| 24 |
+
display: flex;
|
| 25 |
+
position: relative;
|
| 26 |
+
z-index: 1;
|
| 27 |
+
height: 50px;
|
| 28 |
+
width: 100%;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.verification-code::after {
|
| 32 |
+
position: absolute;
|
| 33 |
+
content: '';
|
| 34 |
+
right: -37px;
|
| 35 |
+
width: 35px;
|
| 36 |
+
height: 50px;
|
| 37 |
+
background-color: #fff;
|
| 38 |
+
z-index: 2;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.verification-code input {
|
| 42 |
+
position: absolute;
|
| 43 |
+
height: 50px;
|
| 44 |
+
width: calc(100% + 80px);
|
| 45 |
+
left: 0;
|
| 46 |
+
background: transparent;
|
| 47 |
+
border: none;
|
| 48 |
+
font-size: 25px !important;
|
| 49 |
+
font-weight: 800;
|
| 50 |
+
letter-spacing: 51px;
|
| 51 |
+
text-indent: 1px;
|
| 52 |
+
border: none;
|
| 53 |
+
z-index: 1;
|
| 54 |
+
padding-left: 25px;
|
| 55 |
+
font-family: 'Courier Prime', monospace;
|
| 56 |
+
color: #504c4c !important;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.verification-code input:focus {
|
| 60 |
+
outline: none;
|
| 61 |
+
cursor: pointer;
|
| 62 |
+
box-shadow: none;
|
| 63 |
+
background-color: transparent;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.boxes {
|
| 67 |
+
position: absolute;
|
| 68 |
+
top: 0;
|
| 69 |
+
height: 100%;
|
| 70 |
+
width: 100%;
|
| 71 |
+
display: flex;
|
| 72 |
+
flex-wrap: wrap;
|
| 73 |
+
justify-content: space-between;
|
| 74 |
+
z-index: -1;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.verification-code span {
|
| 78 |
+
height: 50px;
|
| 79 |
+
width: calc((100% / 6) - 3px);
|
| 80 |
+
background: #f1f1f1;
|
| 81 |
+
border: solid 1px #f1f1f1;
|
| 82 |
+
text-align: center;
|
| 83 |
+
line-height: 50px;
|
| 84 |
+
color: #cdc8c8
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.verification-text{
|
| 88 |
+
font-size: 1.2rem;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
@media (max-width: 575px) {
|
| 93 |
+
.verification-code-wrapper {
|
| 94 |
+
width: 400px;
|
| 95 |
+
padding: 32px;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.verification-code input {
|
| 99 |
+
width: calc(100% + 35px);
|
| 100 |
+
padding-left: 18px;
|
| 101 |
+
letter-spacing: 41px;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.verification-text{
|
| 105 |
+
font-size: 1rem;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.verification-code::after {
|
| 109 |
+
right: -32px;
|
| 110 |
+
width: 30px;
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
@media (max-width: 450px) {
|
| 115 |
+
.verification-code-wrapper {
|
| 116 |
+
width: 380px;
|
| 117 |
+
padding: 32px;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.verification-code input {
|
| 121 |
+
width: calc(100% + 45px);
|
| 122 |
+
padding-left: 15px;
|
| 123 |
+
letter-spacing: 38px;
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
@media (max-width: 400px) {
|
| 128 |
+
.verification-code {
|
| 129 |
+
height: 40px;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.verification-code-wrapper {
|
| 133 |
+
width: 340px;
|
| 134 |
+
padding: 32px;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.verification-code input {
|
| 138 |
+
width: calc(100% + 40px);
|
| 139 |
+
padding-left: 15px;
|
| 140 |
+
letter-spacing: 34px;
|
| 141 |
+
height: 40px;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
.verification-code span {
|
| 145 |
+
height: 40px;
|
| 146 |
+
line-height: 40px;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.verification-code::after {
|
| 150 |
+
height: 40px;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.verification-code input {
|
| 154 |
+
font-size: 20px !important;
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
@media (max-width: 375px) {
|
| 160 |
+
.verification-code-wrapper {
|
| 161 |
+
width: 300px;
|
| 162 |
+
padding: 32px;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
.verification-code input {
|
| 166 |
+
padding-left: 13px;
|
| 167 |
+
letter-spacing: 27px;
|
| 168 |
+
height: 40px;
|
| 169 |
+
}
|
| 170 |
+
}
|
assets/global/fonts/la-brands-400.eot
ADDED
|
Binary file (156 kB). View file
|
|
|
assets/global/fonts/la-brands-400.svg
ADDED
|
|
assets/global/fonts/la-brands-400.ttf
ADDED
|
Binary file (156 kB). View file
|
|
|
assets/global/fonts/la-brands-400.woff
ADDED
|
Binary file (98.7 kB). View file
|
|
|