commit 7e9bc5c8e0f1fe911ac2127f14d52cc645c663fc Author: vsphim Date: Wed May 20 12:51:54 2026 +0700 Initial commit diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..1cc7861 Binary files /dev/null and b/.DS_Store differ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/README.md b/README.md new file mode 100755 index 0000000..cc121d0 --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# THEME - XING KONG 2024 - VSMOV CMS + +## Demo +https://forum.ophim.cc/d/30-theme-xingkong + +## Requirements +https://github.com/vsphim/vsmov-core + +## Install +1. Tại thư mục của Project: `composer require vsmov/theme-xingkong` +2. Kích hoạt giao diện trong Admin Panel + +## Update +1. Tại thư mục của Project: `composer update vsmov/theme-xingkong` +2. Re-Activate giao diện trong Admin Panel + +## Note +- Một vài lưu ý quan trọng của các nút chức năng: + + `Activate` và `Re-Activate` sẽ publish toàn bộ file js,css trong themes ra ngoài public của laravel. + + `Reset` reset lại toàn bộ cấu hình của themes + +## Document +### List +- Home page: `display_label|display_description|relation|find_by_field|value|sort_by_field|sort_algo|limit|show_more_url|section_template(default|with_top)` +#### + Phim chiếu rạp mới||is_shown_in_theater|1|created_at|desc|12|/danh-sach/phim-chieu-rap|default + Phim bộ mới||type|series|updated_at|desc|10|/danh-sach/phim-bo|with_top + Phim lẻ mới||type|single|updated_at|desc|10|/danh-sach/phim-le|with_top + Phim hoạt hình mới|categories|slug|hoat-hinh|updated_at|desc|10|/the-loai/hoat-hinh|with_top +#### + +- Cột phải: `Label|relation|find_by_field|value|sort_by_field|sort_algo|limit` +#### + Top phim lẻ||type|single|view_week|desc|8 + Top phim bộ||type|series|view_week|desc|8 + Phim sắp chiếu||status|trailer|publish_year|desc|8 +#### + +### Custom View Blade +- File blade gốc trong Package: `/vendor/vsmov/theme-xingkong/resources/views/themexingkong` +- Copy file cần custom đến: `/resources/views/vendor/themes/xingkong` + diff --git a/composer.json b/composer.json new file mode 100755 index 0000000..b0ff2fa --- /dev/null +++ b/composer.json @@ -0,0 +1,32 @@ +{ + "name": "vsmov/theme-xingkong", + "description": "VsMov's xingkong theme", + "type": "library", + "authors": [ + { + "name": "vsmov", + "email": "vsmov@gmail.com" + } + ], + "require": { + "laravel/framework": "^6|^7|^8", + "ckfinder/ckfinder-laravel-package": "v3.5.2.1", + "vsmov/vsmov-core": "^1.0.0" + }, + "license": "MIT", + "autoload": { + "psr-4": { + "VsMov\\ThemeXingKong\\": "src/", + "VsMov\\ThemeXingKong\\Database\\Factories\\": "database/factories/", + "VsMov\\ThemeXingKong\\Database\\Seeders\\": "database/seeders/" + } + }, + "extra": { + "laravel": { + "providers": [ + "VsMov\\ThemeXingKong\\ThemeXingKongServiceProvider" + ] + } + }, + "minimum-stability": "stable" +} diff --git a/resources/.DS_Store b/resources/.DS_Store new file mode 100644 index 0000000..5b5c67e Binary files /dev/null and b/resources/.DS_Store differ diff --git a/resources/assets/.DS_Store b/resources/assets/.DS_Store new file mode 100644 index 0000000..299be54 Binary files /dev/null and b/resources/assets/.DS_Store differ diff --git a/resources/assets/css/iconfont.css b/resources/assets/css/iconfont.css new file mode 100644 index 0000000..c7cb2a6 --- /dev/null +++ b/resources/assets/css/iconfont.css @@ -0,0 +1,157 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1541765615725'); /* IE9*/ + src: url('iconfont.eot?t=1541765615725#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAADMQAAsAAAAAVbQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8mknFY21hcAAAAYAAAAJRAAAF9tgKnqVnbHlmAAAD1AAAKuoAAEc42tWYT2hlYWQAAC7AAAAAMQAAADYTn3nFaGhlYQAALvQAAAAgAA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?t=1541765615725') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1541765615725#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-all:before { content: "\e696"; } + +.icon-back:before { content: "\e697"; } + +.icon-cart:before { content: "\e698"; } + +.icon-category:before { content: "\e699"; } + +.icon-close:before { content: "\e69a"; } + +.icon-comments:before { content: "\e69b"; } + +.icon-cry:before { content: "\e69c"; } + +.icon-delete:before { content: "\e69d"; } + +.icon-edit:before { content: "\e69e"; } + +.icon-email:before { content: "\e69f"; } + +.icon-favorite:before { content: "\e6a0"; } + +.icon-form:before { content: "\e6a2"; } + +.icon-help:before { content: "\e6a3"; } + +.icon-information:before { content: "\e6a4"; } + +.icon-less:before { content: "\e6a5"; } + +.icon-moreunfold:before { content: "\e6a6"; } + +.icon-more:before { content: "\e6a7"; } + +.icon-pic:before { content: "\e6a8"; } + +.icon-qrcode:before { content: "\e6a9"; } + +.icon-refresh:before { content: "\e6aa"; } + +.icon-rfq:before { content: "\e6ab"; } + +.icon-search:before { content: "\e6ac"; } + +.icon-selected:before { content: "\e6ad"; } + +.icon-set:before { content: "\e6ae"; } + +.icon-smile:before { content: "\e6af"; } + +.icon-success:before { content: "\e6b1"; } + +.icon-survey:before { content: "\e6b2"; } + +.icon-training:before { content: "\e6b3"; } + +.icon-viewgallery:before { content: "\e6b4"; } + +.icon-viewlist:before { content: "\e6b5"; } + +.icon-warning:before { content: "\e6b6"; } + +.icon-wrong:before { content: "\e6b7"; } + +.icon-account:before { content: "\e6b8"; } + +.icon-add:before { content: "\e6b9"; } + +.icon-clock:before { content: "\e6bb"; } + +.icon-remind:before { content: "\e6bc"; } + +.icon-calendar:before { content: "\e6bf"; } + +.icon-attachment:before { content: "\e6c0"; } + +.icon-discount:before { content: "\e6c5"; } + +.icon-service:before { content: "\e6c7"; } + +.icon-print:before { content: "\e6c9"; } + +.icon-box:before { content: "\e6cb"; } + +.icon-process:before { content: "\e6ce"; } + +.icon-lights:before { content: "\e6de"; } + +.icon-jewelry:before { content: "\e6e4"; } + +.icon-browse:before { content: "\e6e6"; } + +.icon-scanning:before { content: "\e6ec"; } + +.icon-pin:before { content: "\e6f2"; } + +.icon-link:before { content: "\e6f7"; } + +.icon-cut:before { content: "\e6f8"; } + +.icon-text:before { content: "\e6fc"; } + +.icon-move:before { content: "\e6fd"; } + +.icon-icondownload:before { content: "\e714"; } + +.icon-map:before { content: "\e715"; } + +.icon-bad:before { content: "\e716"; } + +.icon-good:before { content: "\e717"; } + +.icon-iconfontplay2:before { content: "\e719"; } + +.icon-iconfontstop:before { content: "\e71a"; } + +.icon-compass:before { content: "\e71b"; } + +.icon-security:before { content: "\e71c"; } + +.icon-share:before { content: "\e71d"; } + +.icon-home:before { content: "\e60b"; } + +.icon-app:before { content: "\e6f0"; } + +.icon-hot:before { content: "\e756"; } + +.icon-data:before { content: "\e757"; } + +.icon-phone:before { content: "\e682"; } + +.icon-top:before { content: "\e6b0"; } + +.icon-favorites:before { content: "\e7ce"; } + +.icon-list:before { content: "\e667"; } + +.icon-share1:before { content: "\e644"; } + diff --git a/resources/assets/css/index.html b/resources/assets/css/index.html new file mode 100644 index 0000000..e69de29 diff --git a/resources/assets/css/stui_block.css b/resources/assets/css/stui_block.css new file mode 100644 index 0000000..1cad104 --- /dev/null +++ b/resources/assets/css/stui_block.css @@ -0,0 +1,519 @@ +/*! + * v3.0 Copyright http://v.shoutu.cn + * email 726662013@qq.com + */ + +@charset "utf-8"; + +/* all */ +body, html{width:100%;} +body{ margin: 0; font-family:"Roboto", sans-serif; font-size:14px; line-height: 140%} +ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,tr,dl,dd,dt{margin:0;padding:0; font-weight:normal} +input,select{font-size:12px;vertical-align:middle; border:none;} +ul,li{list-style-type:none;} +img{border:0 none;} +p{margin:0 0 10px;} + +/* container */ +*{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box} +:after,:before{-webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box} +.container {position: relative; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;} +.row{position: relative; margin-right: -15px; margin-left: -15px;} +.container:before,.container:after,.row:before,.row:after,.clearfix:before, .clearfix:after{ display: table; content: " "; clear: both;} + +/* col */ +.col-pd,.col-lg-1,.col-lg-10,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding:10px}.col-xs-1,.col-xs-10,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-wide-1,.col-xs-wide-10,.col-xs-wide-15,.col-xs-wide-2,.col-xs-wide-25,.col-xs-wide-3,.col-xs-wide-35,.col-xs-wide-4,.col-xs-wide-45,.col-xs-wide-5,.col-xs-wide-55,.col-xs-wide-6,.col-xs-wide-65,.col-xs-wide-7,.col-xs-wide-75,.col-xs-wide-8,.col-xs-wide-85,.col-xs-wide-9,.col-xs-wide-95{float:left}.col-xs-10{width:10%}.col-xs-9{width:11.1111111%}.col-xs-8{width:12.5%}.col-xs-7{width:14.2857143%}.col-xs-6{width:16.6666667%}.col-xs-5{width:20%}.col-xs-4{width:25%}.col-xs-3{width:33.3333333%}.col-xs-2{width:50%}.col-xs-1{width:100%}.col-xs-wide-10{width:10%}.col-xs-wide-9{width:90%}.col-xs-wide-8{width:80%}.col-xs-wide-7{width:70%}.col-xs-wide-6{width:60%}.col-xs-wide-5{width:50%}.col-xs-wide-4{width:40%}.col-xs-wide-3{width:30%}.col-xs-wide-2{width:20%}.col-xs-wide-15{width:15%}.col-xs-wide-95{width:95%}.col-xs-wide-85{width:85%}.col-xs-wide-75{width:75%}.col-xs-wide-65{width:65%}.col-xs-wide-55{width:55%}.col-xs-wide-45{width:45%}.col-xs-wide-35{width:35%}.col-xs-wide-25{width:25%} + +@media (min-width: 768px){ +.col-sm-1,.col-sm-10,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-wide-1,.col-sm-wide-10,.col-sm-wide-15,.col-sm-wide-2,.col-sm-wide-25,.col-sm-wide-3,.col-sm-wide-35,.col-sm-wide-4,.col-sm-wide-45,.col-sm-wide-5,.col-sm-wide-55,.col-sm-wide-6,.col-sm-wide-65,.col-sm-wide-7,.col-sm-wide-75,.col-sm-wide-8,.col-sm-wide-85,.col-sm-wide-9,.col-sm-wide-95{float:left}.col-sm-10{width:10%}.col-sm-9{width:11.1111111%}.col-sm-8{width:12.5%}.col-sm-7{width:14.2857143%}.col-sm-6{width:16.6666667%}.col-sm-5{width:20%}.col-sm-4{width:25%}.col-sm-3{width:33.3333333%}.col-sm-2{width:50%}.col-sm-1{width:100%}.col-sm-wide-10{width:10%}.col-sm-wide-9{width:90%}.col-sm-wide-8{width:80%}.col-sm-wide-7{width:70%}.col-sm-wide-6{width:60%}.col-sm-wide-5{width:50%}.col-sm-wide-4{width:40%}.col-sm-wide-3{width:30%}.col-sm-wide-2{width:20%}.col-sm-wide-15{width:15%}.col-sm-wide-95{width:95%}.col-sm-wide-85{width:85%}.col-sm-wide-75{width:75%}.col-sm-wide-65{width:65%}.col-sm-wide-55{width:55%}.col-sm-wide-45{width:45%}.col-sm-wide-35{width:35%}.col-sm-wide-25{width:25%}} + +@media (min-width: 992px){ +.col-md-1,.col-md-10,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-wide-1,.col-md-wide-10,.col-md-wide-15,.col-md-wide-2,.col-md-wide-25,.col-md-wide-3,.col-md-wide-35,.col-md-wide-4,.col-md-wide-45,.col-md-wide-5,.col-md-wide-55,.col-md-wide-6,.col-md-wide-65,.col-md-wide-7,.col-md-wide-75,.col-md-wide-8,.col-md-wide-85,.col-md-wide-9,.col-md-wide-95{float:left}.col-md-10{width:10%}.col-md-9{width:11.1111111%}.col-md-8{width:12.5%}.col-md-7{width:14.2857143%}.col-md-6{width:16.6666667%}.col-md-5{width:20%}.col-md-4{width:25%}.col-md-3{width:33.3333333%}.col-md-2{width:50%}.col-md-1{width:100%}.col-md-wide-10{width:10%}.col-md-wide-9{width:90%}.col-md-wide-8{width:80%}.col-md-wide-7{width:70%}.col-md-wide-6{width:60%}.col-md-wide-5{width:50%}.col-md-wide-4{width:40%}.col-md-wide-3{width:30%}.col-md-wide-2{width:20%}.col-md-wide-15{width:15%}.col-md-wide-95{width:95%}.col-md-wide-85{width:85%}.col-md-wide-75{width:75%}.col-md-wide-65{width:65%}.col-md-wide-55{width:55%}.col-md-wide-45{width:45%}.col-md-wide-35{width:35%}.col-md-wide-25{width:25%}} + +@media (min-width: 1200px){ +.col-lg-1,.col-lg-10,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-wide-1,.col-lg-wide-10,.col-lg-wide-15,.col-lg-wide-2,.col-lg-wide-25,.col-lg-wide-3,.col-lg-wide-35,.col-lg-wide-4,.col-lg-wide-45,.col-lg-wide-5,.col-lg-wide-55,.col-lg-wide-6,.col-lg-wide-65,.col-lg-wide-7,.col-lg-wide-75,.col-lg-wide-8,.col-lg-wide-85,.col-lg-wide-9,.col-lg-wide-95{float:left}.col-lg-10{width:10%}.col-lg-9{width:11.1111111%}.col-lg-8{width:12.5%}.col-lg-7{width:14.2857143%}.col-lg-6{width:16.6666667%}.col-lg-5{width:20%}.col-lg-4{width:25%}.col-lg-3{width:33.3333333%}.col-lg-2{width:50%}.col-lg-1{width:100%}.col-lg-wide-10{width:10%}.col-lg-wide-9{width:90%}.col-lg-wide-8{width:80%}.col-lg-wide-7{width:70%}.col-lg-wide-6{width:60%}.col-lg-wide-5{width:50%}.col-lg-wide-4{width:40%}.col-lg-wide-3{width:30%}.col-lg-wide-2{width:20%}.col-lg-wide-15{width:15%}.col-lg-wide-95{width:95%}.col-lg-wide-85{width:85%}.col-lg-wide-75{width:75%}.col-lg-wide-65{width:65%}.col-lg-wide-55{width:55%}.col-lg-wide-45{width:45%}.col-lg-wide-35{width:35%}.col-lg-wide-25{width:25%}} + +@media (max-width: 767px){[class*=col-]{padding:5px}} + +/* text */ +h1{ font-size:22px; line-height: 28px;} +h2{ font-size:20px; line-height: 26px;} +h3{ font-size:18px; line-height: 24px;} +h4{ font-size:16px; line-height: 22px;} +h5{ font-size:14px; line-height: 20px;} +h6{ font-size:12px; line-height: 18px;} +h1,h2,h3,h4,h5,h6{ font-weight: 400; margin-top:10px; margin-bottom:10px} +a,button{ text-decoration:none; outline:none; -webkit-tap-highlight-color:rgba(0,0,0,0)} +button:hover{ cursor: pointer;} +a:focus,a:hover,a:active{ text-decoration:none;} +.icon{ font-size: 16px; vertical-align: -1px;} +.font-16{ font-size: 16px;} +.font-14{ font-size: 14px;} +.font-12{ font-size: 12px;} +.text-center{ text-align: center;} +.text-left{ text-align: left;} +.text-right{ text-align: right;} +.text-overflow{ width:100%; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;} + +/* img */ +img{border: 0; vertical-align:middle} +.img-circle{ border-radius: 50%;} +.img-rounded{ border-radius: 5px;} +.img-thumbnail{ padding: 5px; border-radius: 5px;} +.img-responsive{ max-width: 100%;} + +/* form */ +input,textarea{outline: medium none; outline: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);} +input.form-control,input.btn{ outline:0px; -webkit-appearance: none;} +input[type="checkbox"]{ vertical-align: -2px;} +.form-control{display:block; width:100%; height:30px; padding: 10px; font-size:12px; line-height: 25px; border-radius:4px; transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;} +textarea.form-control{ height: auto;} +.input-list{ margin-bottom: 20px;} +.input-list li{ padding: 10px 20px;} +.input-list li input.form-control{ height: 40px;} +#form-filter .form-control{padding: 5px;} + +/* line */ +.split-line{display: inline-block; margin-left: 12px; margin-right: 12px; width: 1px; height: 14px; vertical-align: -2px;} +.top-line,.top-line-dot,.bottom-line,.bottom-line-dot{ position: relative;} +.top-line:before,.top-line-dot:before{content: " "; position: absolute; left: 0; top: 0; right: 0; width: 100%; height: 1px;} +.bottom-line:after,.bottom-line-dot:before{content: " "; position: absolute; left: 0; bottom: 0; right: 0; width: 100%; height: 1px;} + +/* badge */ +.badge{display: inline-block; margin-right: 10px; width: 18px; height: 18px; text-align: center; line-height: 18px; border-radius: 2px; font-size: 12px;} +.badge-radius{ border-radius: 50%;} + +/* btn */ +.btn{display: inline-block; padding: 6px 30px; font-size: 12px; border-radius: 4px;} +.btn .icon{ font-size: 12px;} +.btn-min{ padding: 4px 15px;} +.btn-lg{ padding: 12px 30px;} +.btn-block{ display: block; width: 100%; text-align: center;} +.btn.disabled{cursor: not-allowed;} + +/* tag */ +.tag{ padding-left: 10px;} +.tag li{ float: left;} +.tag-btn,.tag-type{ padding-top: 10px; padding-left: 10px;} +.tag-btn li ,.tag-type li{ padding:0 10px 10px 0;} +.tag-btn li a ,.tag-type li a{ display: block; padding:0 10px; height: 30px; line-height: 30px; text-align: center; font-size: 12px; border-radius: 2px;} +.tag-btn.active li a,.tag-type.active li a{ border-radius: 14px;} +.tag-text li{ padding-right: 10px; padding-bottom: 10px;} + +/* nav */ +.nav{ height: 30px;} +.nav > li{ float: left;} +.nav-head > li{ margin-top: 5px; margin-right: 30px;} +.nav-head > li > a{ padding-bottom: 12px; font-size: 16px;} +.nav-tabs > li{margin-left: 30px;} +.nav-tabs > li > a{display: inline-block; padding: 8px 0 10px;} +.nav-tag > li{ margin-left: 10px;} +.nav-tag > li > a{ display: inline-block; padding:0 10px; height: 25px; line-height: 23px; font-size: 12px; border-radius: 20px;} +.nav-text > li{line-height: 30px;} +.nav-text > li.active > a{ color: #f80;} +.nav-page{ margin-left: 10px;} +.nav-page > li{ margin-left: 5px;} +.nav-page > li > a{ display: inline-block; font-size: 12px; padding: 0 6px; height: 25px; line-height: 23px;} +.nav-page > li > a > .icon{ font-size: 12px;} +.nav-page > li:first-child{ margin-left: 0;} +.nav-page > li:first-child > a{ border-radius: 4px 0 0 4px;} +.nav-page > li:last-child > a{ border-radius: 0 4px 4px 0;} + +/* pic-tag */ +.pic-tag{ position: absolute; z-index: 99; padding:2px 5px; font-size: 12px; border-radius: 2px;} +.pic-tag-t{top: 5px; left: 5px;} +.pic-tag-l{bottom: 5px; left: 5px;} +.pic-tag-b{bottom: 5px; right: 5px;} +.pic-tag-r{top: 5px; right: 5px;} +.pic-tag-h{left: 0; top: 0; padding:2px 8px; border-radius: 0 0 8px 0;} +.pic-tag-lg{ padding: 4px 10px;} +.pic-text{display: block; width: 100%; position: absolute; bottom: 0; left: 0; padding:5px 10px; font-size: 12px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;} +.pic-text-silde{ padding-bottom: 20px; font-size: 14px;} +.pic-text-lg{ padding: 8px 20px; font-size: 14px;} +.pic-title-t{display: block; width: 100%; position: absolute; top: 0; left: 0; padding:5px 10px 10px; font-size: 12px; word-break:break-all; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;} +.pic-title-b{display: block; width: 100%; position: absolute; bottom: 0; left: 0; padding:5px 10px; font-size: 12px; word-break:break-all; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;} + +/* pannel */ +.stui-pannel{position: relative; margin-bottom: 20px;} +.stui-pannel.stui-pannel-x{ margin: -10px -10px 10px;} +.stui-pannel-bg{border-radius: 2px;} +.stui-pannel-side{ padding: 0 0 0 20px;} +.stui-pannel-box{ padding: 10px;} +.stui-pannel-box.active{ padding: 0; margin: -10px;} +.stui-pannel_hd{ padding: 10px;} +.stui-pannel_ft{ margin-top: 10px; padding: 10px 10px 0; text-align: center;} + +/* pannel-head */ +.stui-pannel__head{ position: relative; height: 30px;} +.stui-pannel__head.active{height: 40px;} +.stui-pannel__head .title{float: left; margin:0; padding-right: 10px; line-height: 24px;} +.stui-pannel__head .title img{ display: inline-block; width: 24px; height: 24px; margin-right: 10px; vertical-align: -5px;} +.stui-pannel__head .more{ line-height: 30px;} + +/* tabbar */ +.stui_nav__taddar .item{ display: block; text-align: center;} +.stui_nav__taddar .item .icon{ display: block; text-align: center; font-size: 20px; line-height: 20px;} +.stui_nav__taddar .item .icon-img{display: inline-block; width: 24px; height: 24px;} +.stui_nav__taddar .item .title{ display: block; margin-top: 3px; font-size: 12px;;} +.stui_nav__taddar.fixed{ position: fixed; bottom: 0; width: 100%; padding: 5px 0 0;} + +/* vod-list */ +.stui-vodlist__thumb{display: block; position: relative; padding-top: 150%; background: url(/themes/xingkong/img/load.gif) no-repeat; background-position: 50% 50%; background-size: cover;} +.stui-vodlist__thumb.square{ padding-top: 100%; background: url(/themes/xingkong/img/load_f.gif) no-repeat; background-position: 50% 50%; background-size: cover;} +.stui-vodlist__thumb.active{ padding-top: 60%; background: url(/themes/xingkong/img/load_w.gif) no-repeat; background-position: 50% 50%; background-size: cover;} +.stui-vodlist__thumb.picture {background: none; overflow: hidden;} +.stui-vodlist__thumb.picture img{position: absolute; top: 0; left: 0; width: 100%; height: 100%;} +.stui-vodlist__thumb .play{display: none; position: absolute; top: 0; z-index: 1; width: 100%; height: 100%; background: rgba(0,0,0,0.1) url(/themes/xingkong/img/play.png) center no-repeat;} +.stui-vodlist__thumb .play.active{ display: block;} +.stui-vodlist__thumb:hover .play{ display: block;} +.stui-vodlist__detail.active{ padding: 0 10px 10px;} +.stui-vodlist__detail .title{ font-size: 14px; margin-bottom: 0;} +.stui-vodlist__detail .title.active{ font-size: 16px; margin-bottom: 10px;} +.stui-vodlist__detail .text{ min-height: 19px; font-size: 12px; margin-bottom: 0; margin-top: 5px;} +.stui-vodlist__detail .text-title{ font-size: 14px; line-height: 18px; margin:11px 0 0; height: 36px; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;} + +/* text-list */ +.stui-vodlist__text li a{ display: block; padding: 10px 15px 10px 0;} +.stui-vodlist__text.active li a{ padding: 10px 0 10px;} +.stui-vodlist__text.active li:first-child a{ padding-top: 0;} +.stui-vodlist__text.striped li{ padding: 10px 0 10px;} +.stui-vodlist__text.striped li a{ display: inline-block; padding: 0;} +.stui-vodlist__text.striped .striped-head{ padding: 10px; border-radius: 5px;} +.stui-vodlist__text.to-color li{ padding: 10px; border-radius: 5px;} +.stui-vodlist__text.to-color li a{ padding: 0;} +.stui-vodlist__text.downlist{ padding-top: 0;} +.stui-vodlist__text.downlist li{ padding: 10px 0;} +.stui-vodlist__text.downlist li .text{ line-height: 30px; overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;} +.stui-vodlist__text.downlist li a{ display: inline-block; padding: 0;} +.stui-vodlist__text.downlist li a.btn{ padding: 4px 12px; margin-left: 10px;} + +/* media-list */ +.stui-vodlist__media li { padding: 10px 0 10px;} +.stui-vodlist__media.active li:first-child{ padding-top: 0;} +.stui-vodlist__media.active li:last-child{ padding-bottom: 0;} +.stui-vodlist__media li .thumb,.stui-vodlist__media .detail{display: table-cell; vertical-align: top;} +.stui-vodlist__media li .thumb .w-thumb{ width: 190px;} +.stui-vodlist__media li .thumb .v-thumb{ width: 120px;} +.stui-vodlist__media li .thumb .f-thumb{ width: 120px;} +.stui-vodlist__media li .thumb .m-thumb{ width: 65px;} +.stui-vodlist__media li .detail{ width: 100%; padding:0 20px 0;} +.stui-vodlist__media li .detail-side{ padding:0 10px 0;} +.stui-vodlist__media li .detail-left{ padding: 0 20px 0 0;} +.stui-vodlist__media li .detail .title{ margin: 10px 0 10px;} + +/* screen-list */ +.stui-vodlist__screen { padding:10px 0 5px;} +.stui-vodlist__screen:first-child{ padding-top: 0;} +.stui-vodlist__screen:last-child{ padding-bottom: 0;} +.stui-vodlist__screen li{ float: left; width: 25%; margin-bottom: 5px;} + +/* rank-list */ +.stui-vodlist__rank li{ margin-bottom: 10px;} +.stui-vodlist__rank li:last-child{ margin-bottom: 0;} + +/* link-list */ +.stui-link__text li{ float: left; margin-right: 15px; margin-bottom: 10px;} +.stui-link__pic li a{ display: block; padding:10px 20px; border-radius: 4px;} +.stui-link__pic li a img{ max-width: 100%;} + +/* play-list */ +.stui-content__playlist{ position: relative;} +.stui-content__playlist.overflow{ max-height: 300px; overflow-y: scroll;} +.stui-content__playlist li{float:left; margin-bottom:10px; margin-right:10px} +.stui-content__playlist li a{display:inline-block; padding:5px 20px;border-radius:5px} +.stui-content__playlist.full li{ float: none; width: 100%; margin-right: 0;} +.stui-content__playlist.column3 li{ width: 33.3333333%; padding: 0 5px; margin-right: 0;} +.stui-content__playlist.column6 li{ width: 16.6666667%; padding: 0 5px; margin-right: 0;} +.stui-content__playlist.column8 li{ width: 12.5%; padding: 0 5px; margin-right: 0;} +.stui-content__playlist.column8 li.more,.stui-content__playlist.column10 li.narrow{ width: 15%;} +.stui-content__playlist.column10 li{ width: 10%; padding: 0 5px; margin-right: 0;} +.stui-content__playlist.column10 li.more,.stui-content__playlist.column10 li.narrow{ width: 20%;} +.stui-content__playlist.column12 li{ width: 8.33333333%; padding: 0 5px; margin-right: 0;} +.stui-content__playlist.column12 li.more,.stui-content__playlist.column12 li.narrow{ width: 16.6666667%;} +.stui-content__playlist.column3,.stui-content__playlist.column6,.stui-content__playlist.column8,.stui-content__playlist.column10,.stui-content__playlist.column12{ margin: 0 -5px;} +.stui-content__playlist.column3 li a,.stui-content__playlist.column6 li a,.stui-content__playlist.column8 li a,.stui-content__playlist.column10 li a,.stui-content__playlist.column12 li a{ padding: 5px;} +.stui-content__playlist.full li a,.stui-content__playlist.column3 li a,.stui-content__playlist.column6 li a,.stui-content__playlist.column8 li a,.stui-content__playlist.column10 li a,.stui-content__playlist.column12 li a{ display: block; text-align: center;overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap;} + +/* screen */ +.stui-screen__list{position:relative;padding:10px 0 0;} +.stui-screen__list li{float:left;margin-right:10px;margin-bottom:10px} +.stui-screen__list li span{display:inline-block;padding:3px 0 3px} +.stui-screen__list li a{display:inline-block;padding:3px 10px;border-radius:2px} +.stui-screen__list.letter-list li{ margin: 0;} +.stui-screen__list.letter-list li:first-child{ margin-right: 10px;} +.stui-screen__list.letter-list li.active a{padding:3px 10px} + +/* page */ +.stui-page{margin-bottom:30px;display: flex;justify-content: center;justify-items: center;}.stui-page li{display:inline-block;margin-left:10px} +.stui-page li .num,.stui-page li a{display:inline-block;padding:5px 15px;border-radius:5px} +.stui-page-text{ padding:0 20px 20px;} +.stui-page-text a,.stui-page-text em,.stui-page-text span{font-style:normal;display:inline-block;margin:0;padding:6px 12px;border-radius:2px;cursor:pointer} +.stui-page-text .pagego{ padding: 6px; margin-right: 5px;border-radius: 5;} +.stui-page-text .pagebtn{ padding: 6px 12px; cursor: pointer;} + +/* extra */ +.stui-extra{position:fixed;right:50px;bottom:50px} +.stui-extra li{position:relative;padding:15px 10px 0} +.stui-extra li a,.stui-extra li span{display:block;width:50px;height:50px;line-height:50px;text-align:center;border-radius:4px;font-size:18px;cursor:pointer} +.stui-extra li a .icon,.stui-extra li span .icon{font-size:18px} +.stui-extra li a img{margin-top:15px;width:20px;height:20px} +.stui-extra li .sideslip{display:none;position:absolute;bottom:0;right:100%;width: 160px;} +.stui-extra li .sideslip:before{content:" ";width:10px;height:10px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);border-width:0 1px 1px 0;position:absolute;bottom:20px;right:-6px;border-style:solid} +.stui-extra li:hover .sideslip{display:block} + +/* flickity */ +.flickity-enabled{position:relative;} +.flickity-enabled:focus{outline:0} +.flickity-viewport{overflow:hidden;position:relative;height:100%} +.flickity-slider{position:absolute;width:100%;height:100%} +.flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing} +.flickity-prev-next-button{position:absolute;top:50%;width:30px;height:60px;border:none; background-color: rgba(0,0,0,.6); cursor:pointer;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)} +.flickity-prev-next-button.previous{left:10px;border-radius:0 10px 10px 0} +.flickity-prev-next-button.next{right:10px;border-radius:10px 0 0 10px} +.flickity-prev-next-button:disabled{opacity:0;cursor:auto} +.flickity-prev-next-button svg{position:absolute;left:20%;top:20%;width:60%;height:60%} +.flickity-prev-next-button .arrow{fill:#fff} +.flickity-prev-next-button.no-svg{color:#fff;font-size:18px} +.flickity-page-dots{position:absolute;width:100%;bottom:20px;left:0;padding:0;margin:0;list-style:none;text-align:center;line-height:1} +.flickity-page-dots .dot{display:inline-block;width:15px;height:3px;margin:0 5px;background:#f80;opacity:.25;cursor:pointer} +.flickity-page-dots .dot.is-selected{opacity:1} +.flickity-page{ padding-bottom: 15px; overflow: hidden;} +.flickity-page .flickity-page-dots{ bottom: 5px;} + +/* carousel */ +.carousel{ position: relative; width: 100%; height:100%; overflow: hidden; white-space: nowrap;} +.carousel [class^="col-"]{ float: none; display: inline-block;} +.carousel .list{ padding: 0; margin-right: 20px;} +.carousel .wide{ width: 100%; display: inline-block;} +.carousel_center{ padding-bottom: 20px;} +.carousel_center .list a{ position: relative;} +.carousel_center .list a:before{ content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,.6);} +.carousel_center .list.is-selected a:before{ display: none;} + +/* popup */ +.popup{position: fixed; right: -100%; top: 0; z-index: 1001; width: 100%; height: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-transition:.5s; -o-transition:.5s; -moz-transition:.5s; -ms-transition:.5s; transition:.5s;} +.popup-visible{ right: 0;} +.popup-head { padding: 15px 10px; margin-bottom: 10px;} +.popup-head .title{ display: inline-block; margin: 0;} +.popup-head .icon{ font-size: 20px;} + +/* embed */ +.embed-responsive{position:relative;display:block;overflow:hidden;padding:0;height:0} +.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0} +.embed-responsive-16by9{padding-bottom:56.25%} +.embed-responsive-4by3{padding-bottom:75%} + +/* bootstrap.js */ +.fade{opacity: 0;-webkit-transition: opacity .15s linear;-o-transition: opacity .15s linear;transition: opacity .15s linear;} +.fade.in{opacity: 1;} +.tab-content>.tab-pane,.carousel-inner>.item{ display: none;} +.tab-content>.tab-pane.active,.carousel-inner>.item.active{ display: block;} +.dropdown{ position: relative;} +.dropdown-menu{display: none; position:absolute; top:100%; left:-80%; z-index:1000; padding: 10px 0; border-radius: 2px;} +.dropdown-menu:before{ content:" "; width:10px; height:10px; -webkit-transform:rotate(-45deg); -ms-transform:rotate(-45deg); transform:rotate(-45deg); border-width:1px 1px 0 0; position: absolute; top:-6px; right: 20px; border-style: solid;} +.dropdown-menu>li>a{display: block; padding: 6px 20px; text-align: center;} +.open>.dropdown-menu {display: block;} +.carousel-side{ position: absolute; z-index: 99; top: 0; bottom: 0; display: block; width: 100px; height: 100%;} +.carousel-side .icon{ position: absolute; top: 50%; margin-top: -25px; display: block; width: 50px; height: 50px; text-align: center; font-size: 30px; line-height: 50px; background-color: rgba(0,0,0,0.6); color: #fff; border-radius: 50%;} +.carousel-side.left{ left: 0;} +.carousel-side.left .icon{ left: 30px;} +.carousel-side.right{ right: 0; } +.carousel-side.right .icon{ right: 30px;} +.carousel-bootom{ position: absolute; width: 100%; bottom: 20px; left: 0; text-align: center;} +.carousel-bootom li{ display: inline-block; margin: 0 5px; width:15px; height:3px; background: #f80; opacity:.25; cursor:pointer} +.carousel-bootom li.active{ opacity:1;} + +/* modal */ +.stui-modal{position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999; display: none; overflow: hidden; -webkit-overflow-scrolling: touch; outline: 0;} +.stui-modal__dialog{position: relative; width: 350px; margin: 140px auto; } +.stui-modal__content{ position: relative; background-color: #fff; border-radius: 6px; outline: 0; box-shadow: 0 3px 9px rgba(0,0,0,.5);} +.modal-open{ overflow: hidden;} +.modal-backdrop{position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000;} +.modal-backdrop.fade{ opacity: 0;} +.modal-backdrop.fade.in{ opacity: .5;} + +/* mobile-share */ +.mobile-share{ position: fixed; z-index: 999; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; animation: fade-in; animation-duration: .5s; -webkit-animation:fade-in .5s;} +.share-weixin{ background: url(../img/share_weixin.png) rgba(0, 0, 0, .8) no-repeat; background-position: right top 10px; background-size: 80%;} +.share-other{ background: url(../img/share_other.png) rgba(0, 0, 0, .8) no-repeat; background-position: center bottom 10px; background-size: 80%;} + +/* more */ +.relative{ position: relative;} +.top-fixed-up{ margin-top: 0 !important;} +.top-fixed{ -webkit-transition:.5s; -o-transition:.5s; -moz-transition:.5s; -ms-transition:.5s; transition:.5s;} +.pull-left{ float: left !important;} +.pull-right{ float: right !important;} +.margin-0{ margin: 0 !important;} +.padding-0{ padding: 0 !important;} +.margin-t0{ margin: 0 !important;} +.padding-t0{ padding: 0 !important;} +.margin-b0{ margin: 0 !important;} +.padding-b0{ padding: 0 !important;} +.block{ display: block !important;} +.inline-block{ display: inline-block !important;} +.hide,.visible-lg, .visible-md, .visible-sm, .visible-xs, .visible-mi{ display: none !important;} +.mask{ position: fixed; top: 0; left: 0; bottom: 0; z-index: 999; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); animation: fade-in; animation-duration: .5s; -webkit-animation:fade-in .5s;} +@keyframes fade-in {0% {opacity: 0;}40% {opacity: 0;}100% {opacity: 1;}} +@-webkit-keyframes fade-in { 0% {opacity: 0;} 40% {opacity: 0;}100% {opacity: 1;}} + +@media (min-width: 1200px){ + .visible-lg { display: block !important;} + .hidden-lg {display: none !important;} +} + +@media (max-width: 1199px) and (min-width: 992px){ + .visible-md { display: block !important;} + .hidden-md {display: none!important;} +} + +@media (max-width: 991px) and (min-width: 768px){ + .visible-sm{ display: block !important;} + .hidden-sm {display: none !important;} +} + +@media (max-width: 991px){ + + .stui-pannel-side{ padding: 0;} + + /* screen */ + .stui-screen__list{ height: 40px; padding:10px 0 10px; overflow:hidden; white-space: nowrap;} + .stui-screen__list:last-child{ padding: 10px 0 0;} + .stui-screen__list li{ float: none; display: inline-block; margin-right:10px; margin-bottom:0} + .stui-screen__list li span{padding:2px 5px 2px 0} + .stui-screen__list li a{padding:2px 5px 2px; white-space:nowrap} + .stui-screen__list.letter-list li{ margin-right: 5px; margin-bottom: 0;} + .stui-screen__list.letter-list li a,.stui-screen__list.letter-list li.active a{padding:2px 5px 2px} + + /* vod-list */ + .stui-vodlist__detail .title.active{ font-size: 14px; margin-bottom: 0;} + + /* media-list */ + .stui-vodlist__media li .thumb .v-thumb{ width: 110px;} + .stui-vodlist__media li .thumb .w-thumb{ width: 130px;} + .stui-vodlist__media li .thumb .f-thumb{ width: 70px;} + + /* play-list */ + .stui-content__playlist{ -webkit-overflow-scrolling : touch;} + .stui-content__playlist.column3 li{ width: 50%;} + .stui-content__playlist.column6 li{ width: 25%;} + .stui-content__playlist.column8 li{ width: 20%;} + .stui-content__playlist.column10 li{ width: 16.6666667%;} + + /* modal */ + .stui-modal__dialog{ width: 320px; margin: 50px auto;} + +@media (max-width: 767px){ + .visible-xs { display: block !important;} + .hidden-xs {display: none!important;} + + /* all */ + body{ font-size: 12px;} + + /* text */ + h1{ font-size:20px; line-height: 24px;} + h2{ font-size:18px; line-height: 22px;} + h3{ font-size:16px; line-height: 20px;} + h4{ font-size:14px; line-height: 18px;} + h5{ font-size:12px; line-height: 16px;} + h6{ font-size:10px; line-height: 14px;} + + /* btn */ + .btn{padding: 6px 20px;} + .btn-min{ padding: 3px 8px;} + .btn-lg{ padding: 12px 24px;} + + /*nav*/ + .nav{ height: 20px;} + .nav-head > li{ margin-top: 2px; margin-right: 20px;} + .nav-head > li > a{ padding-bottom: 10px; font-size: 14px;} + .nav-tabs > li{ margin-left: 20px;} + .nav-tabs > li > a{padding: 6px 0 6px;} + .nav-page > li > a{ padding: 0 3px; height: 20px; line-height: 18px;} + + /* pic-text */ + .pic-text-silde{ font-size: 12px;} + + /* line */ + .split-line{ height: 12px; margin-left: 5px; margin-right: 5px;} + .top-line:before,.top-line-dot:before{-webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);} + .bottom-line:after,.bottom-line-dot:before{ -webkit-transform-origin: 0 100%;transform-origin: 0 100%; -webkit-transform: scaleY(0.5);transform: scaleY(0.5);} + .m-top-line,.m-top-line-dot,.m-bottom-line,.m-bottom-line-dot{ position: relative;} + .m-top-line:before,.m-top-line-dot:before{content: " "; position: absolute; left: 0; top: 0; right: 0; width: 100%; height: 1px; -webkit-transform-origin: 0 0;transform-origin: 0 0;-webkit-transform: scaleY(0.5);transform: scaleY(0.5);} + .m-bottom-line:after,.m-bottom-line-dot:before{content: " "; position: absolute; left: 0; bottom: 0; right: 0; width: 100%; height: 1px; -webkit-transform-origin: 0 100%;transform-origin: 0 100%; -webkit-transform: scaleY(0.5);transform: scaleY(0.5);} + + /* pannel */ + .stui-pannel{ margin-bottom: 10px;} + .stui-pannel.stui-pannel-x{ margin: 0 0 5px;} + .stui-pannel-bg{border-radius: 0;} + .stui-pannel-box{ padding:10px 5px;} + .stui-pannel-box.active{ margin:5px;} + .stui-pannel_hd{ padding:0 5px 10px;} + + /* pannel-head */ + .stui-pannel__head{ height: 20px;} + .stui-pannel__head.active{height: 30px;} + .stui-pannel__head .title,.stui-pannel__head .title a{font-size: 16px;} + .stui-pannel__head .title img{ width: 18px; height: 18px; margin-right: 5px; vertical-align: -3px;} + .stui-pannel__head .more{ line-height: 20px;} + + /* vod-list */ + .stui-vodlist__thumb .tag{ padding: 0 5px;} + .stui-vodlist__thumb .silde-title{ font-size: 12px;} + .stui-vodlist__detail .title,.stui-vodlist__detail .title.active{margin-bottom: 0; font-size: 12px;} + + /* media-list */ + .stui-vodlist__media li .thumb .v-thumb{ width: 100px;} + .stui-vodlist__media li .thumb .w-thumb{ width: 130px;} + .stui-vodlist__media li .thumb .f-thumb{ width: 70px;} + .stui-vodlist__media li .detail{ padding: 0 10px;} + .stui-vodlist__media li .detail.active{ padding-left: 0; padding-right: 10px;} + + /* text-list */ + .stui-vodlist__text li a{ padding:10px 0;} + .stui-vodlist__text.downlist li{ padding: 5px 0 0;} + + /* play-list */ + .stui-content__playlist li a{padding:5px 10px;font-size:12px} + .stui-content__playlist.column3 li{ float: none; width: 100%;} + .stui-content__playlist.column6 li,.stui-content__playlist.column8 li,.stui-content__playlist.column10 li,.stui-content__playlist.column12 li{ width: 25%;} + + /* page */ + .stui-page li{float:left;width:20%;margin:0;padding:0 5px 0 5px} + .stui-page li a,.stui-page__box li .num{display:block;padding:5px 0;text-align:center} + .stui-page li.page-item{ width: auto; margin-bottom: 5px;} + .stui-page li.page-item a{ padding: 5px 15px;} + + /* extra */ + .stui-extra{right:15px;bottom:15px} + .stui-extra li{padding:8px 0 0} + .stui-extra li a,.stui-extra li span{width:35px;height:35px;line-height:35px;font-size:16px} + .stui-extra li a .icon,.stui-extra li span .icon{font-size:16px} + .stui-extra li a img{margin-top:8px;width:18px;height:18px} + + /* carousel */ + .carousel .list{ margin-right: 10px;} + + /* flickity */ + .flickity-prev-next-button{display: none;} + .flickity-prev-next-button.previous{left:5px;border-radius:0 5px 5px 0} + .flickity-prev-next-button.next{right:5px;border-radius:5px 0 0 5px} + .flickity-page-dots{ bottom: 15px;} + + /* modal */ + .stui-modal__dialog{ width: 100%; margin: 0; padding: 50px 20px;} + + .carousel-control{ width: 50px; height: 100%;} + .carousel-control .icon{ margin-top: -15px; width: 30px; height: 30px; font-size: 20px; line-height: 30px;} + .carousel-control.left .icon{ left: 10px;} + .carousel-control.right .icon{ right: 10px;} + +} +@media (max-width: 374px){ + .visible-mi{ display: block !important;} + .hidden-mi{display: none !important;} + + /* media-list */ + .stui-vodlist__media li .thumb .v-thumb{ width: 90px;} + .stui-vodlist__media li .thumb .w-thumb{ width: 100px;} + .stui-vodlist__media li .thumb .f-thumb{ width: 50px;} +} diff --git a/resources/assets/css/stui_block_color.css b/resources/assets/css/stui_block_color.css new file mode 100644 index 0000000..3bd0e43 --- /dev/null +++ b/resources/assets/css/stui_block_color.css @@ -0,0 +1,183 @@ +/*! + * Edition v3.0 Copyright 2016-2018 http://v.shoutu.cn + * Email 726662013@qq.com,admin@shoutu.cn + */ +@charset "utf-8"; + +/* all */ +body{ background: url(/themes/xingkong/img/bg_icon.jpg); color: #666;} + +/* text */ +a,h1, h2, h3, h4, h5, h6{ color: #333333;} +a:hover{ color: #FF9900;} +.text-red{ color: red;} +.text-muted{ color: #999999;} + +/* form */ +.form-control{ background-color: #F5F5F5; color: #999999; border: 1px solid #EEEEEE;} +.form-control.colorfff{ background-color: #FFFFFF;} +.form-control:focus{border-color:#FF9900; -webkit-box-shadow:inset 0 1px 1px rgba(255,136,0,.075),0 0 8px rgba(255,136,0,.6);} + +/* btn */ +.btn,.btn:hover,.btn .icon{ color: #333333;} +.btn{ border: 1px solid #EEEEEE;} +.btn-default{ background-color: #f5f5f5; color: #333333;} +.btn-default:hover{ background-color: #f0eeee;} +.btn-primary{ background-color: #FF9900; border: 1px solid #FF9900; color: #FFFFFF;} +.btn-primary .icon{ color: #FFFFFF;} +.btn-primary:hover{ background-color: #FF6600; border: 1px solid #FF6600; color: #FFFFFF;} +.btn-primary:hover .icon{ color: #FFFFFF;} + +/* dropdown */ +.dropdown-menu{ background-color: #FFFFFF; border: 1px solid #EEEEEE;} +.dropdown-menu:before{background-color: #FFFFFF; border-color: #EEEEEE;} +.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover{ background-color: #FF9900; color: #FFFFFF;} + +/* line */ +.split-line{ background-color: #EEEEEE;} +.top-line:before{ border-top: 1px solid #EEEEEE;} +.bottom-line:after{ border-bottom: 1px solid #EEEEEE;} +.top-line-dot:before{ border-top: 1px dotted #EEEEEE;} +.bottom-line-dot:before{ border-bottom: 1px dotted #EEEEEE;} + +/* badge */ +.badge{ background-color: #EEEEEE;} +.badge-first{ background-color: #FF4A4A; color: #FFFFFF;} +.badge-second{ background-color: #FF7701; color: #FFFFFF;} +.badge-third{ background-color: #FFB400; color: #FFFFFF;} + +/* nav */ +.nav-head > li.active > a,.nav-tabs > li.active > a{ border-bottom: 2px solid #FF9900; color: #FF9900;} +.nav-tag > li > a,.nav-page > li > a{ background-color: #FFFFFF; border: 1px solid #EEEEEE; color: #333333;} +.nav-tag > li > a:hover,.nav-tag > li.active a,.nav-page > li > a:hover,.nav-page > li.active > a{ background-color: #FF9900; border: 1px solid #FF9900; color: #FFFFFF;} +.nav-page > li > a:hover > .icon{ color: #fff;} + +/* tag */ +.tag-type li a{ background-color: #FFFFFF; border: 1px solid #EEEEEE; color: #666666;} +.tag-type li a:hover,.tag-type li.active a{ background-color: #FF9900; border: 1px solid #FF9900; color: #FFFFFF;} +.tag-btn li a{ background-color: #F8F8F8; color: #666666;} +.tag-btn li a.active,.tag-text li a.active,.tag-type li a.active{ color: #FF9900;} +.tag-btn li a:hover,.tag li.active a{ background-color: #FF9900; color: #FFFFFF;} + +/* pic-tag */ +.pic-tag{ background-color: rgba(0,0,0,0.6); color: #FFFFFF;} +.pic-tag.active,.pic-tag-h{ background-color: #FF9900; color: #FFFFFF;} +.pic-text,.pic-title-b{ background-repeat: no-repeat; background-image: linear-gradient(transparent,rgba(0,0,0,.5)); color: #FFFFFF;} +.pic-text.active{ background: rgba(0,0,0,0.6); color: #FFFFFF;} +.pic-title-t{background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%,rgba(0,0,0,0) 100%); color: #FFFFFF;} + +/* pannel */ +.stui-pannel-bg{background-color: #FFFFFF; border: 1px solid #EEEEEE;} + +/* tabbar */ +.stui_nav__taddar .item .icon,.stui_nav__taddar .item .title{ color: #999;} +.stui_nav__taddar .item.active .title,.stui_nav__taddar .item.active .icon{color: #FF9900;} +.stui_nav__taddar.fixed{ background-color: #FFFFFF;} + +/* vodlist */ +.stui-vodlist__bg{background-color: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.05);} +.stui-vodlist__bg:hover{ box-shadow: 0 3px 5px rgba(0,0,0,.08);} + +/* text-list */ +.stui-vodlist__text.striped .striped-head,.stui-vodlist__text.to-color li:nth-of-type(odd){ background-color: #f5f5f5;} + +/* link */ +.stui-link__pic li a{ background-color: #FFFFFF; border: 1px solid #F5F5F5;} +.stui-link__pic li a:hover{ border: 1px solid #FF9900;} + +/* screen */ +.stui-screen__list li a{ color: #333333;} +.stui-screen__list li.active a{ background-color: #FF9900; color: #FFFFFF;} + +/* playlist */ +.stui-content__playlist li a{ border: 1px solid #EEEEEE;} +.stui-content__playlist li a:hover,.stui-content__playlist li.active a{ border: 1px solid #FF9900; background-color: #FF9900; color: #FFFFFF;} + +/* player */ +.stui-player__video{ background-color: #000000;} + +/* page */ +.stui-page li a,.stui-page li .num,.stui-page-text a,.stui-page-text em,.stui-page-text span{background-color: #FFFFFF; border: 1px solid #EEEEEE;} +.stui-page li a:hover,.stui-page li.active a,.stui-page li.active .num,.stui-page li.disabled a,.stui-page-text span.pagenow{ background-color: #FF9900; color: #FFFFFF; border: 1px solid #FF9900;} +.stui-page-text .pagego{ border: 1px solid #EEEEEE;} +.stui-page-text .pagebtn{background-color: #FFFFFF; border: 1px solid #EEEEEE;} + +/* extra */ +.stui-extra li a,.stui-extra li span{ background-color: #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);} +.stui-extra li a.backtop{ background-color: rgba(0,0,0,0.6); color: #FFFFFF; } +.stui-extra li .sideslip{ background-color: #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);} +.stui-extra li .sideslip:before{ background-color: #FFFFFF; border-color: rgba(0, 0, 0, 0.1);} + +/* popup */ +.popup{ background-color: #F8F8F8;} +.popup-head{ background-color: #FFFFFF;} + +.maskkkk { + position: fixed; + bottom: 0; + left:0px; + width: 100%; + height: 128px; + z-index: 1001; + +} +.closeee{ + background: url("images/closesanjiao.png") no-repeat center center; +} + +.maskkkk .gotoCenter { + display: block; + width: 100%; + height: 140px; + margin: 0 auto; +} +.maskkkk .closeee { + position: absolute; + top: 0; + left: 20px; + margin-left: 0px; + width: 40px; + height: 100%; + cursor: pointer; +} +.clickarea{ + position: absolute; + top: 0; + left: 200px; + margin-left: 0px; + width: 100%; + height: 100%; + cursor: pointer; +} +.thumbnail { + position: fixed; + right: 0px; + bottom: 0px; + width: 184px; + height: 124px; + cursor: pointer; + /*display: none;*/ +} + +.fd_gb +{ width:20px; height:20px; margin:10px 0 0 0; position:absolute; right:0; top:0;} + + +@-webkit-keyframes rotate { + from {-webkit-transform:rotate(0deg);} + to {-webkit-transform:rotate(360deg);} +} +@media (max-width: 767px){ + + /* form */ + .form-control{ background-color:#F8F8F8; color: #999999; border: 0;} + + /*pannel*/ + .stui-pannel-bg,.stui-vodlist__bg,.stui-vodlist__bg:hover{box-shadow: none;border: 0;} + + /* line */ + .m-top-line:before{ border-top: 1px solid #EEEEEE;} + .m-bottom-line:after{ border-bottom: 1px solid #EEEEEE;} + .m-top-line-dot:before{ border-top: 1px dotted #EEEEEE;} + .m-bottom-line-dot:before{ border-bottom: 1px dotted #EEEEEE;} +} diff --git a/resources/assets/css/stui_default.css b/resources/assets/css/stui_default.css new file mode 100644 index 0000000..7e2741e --- /dev/null +++ b/resources/assets/css/stui_default.css @@ -0,0 +1,170 @@ +@charset "utf-8"; + +/* header */ +.stui-header__top{position: relative; margin-bottom: 20px; background-color: #fff;} + +/* header-logo */ +.stui-header__logo{float:left;} +.stui-header__logo{margin: 20px 0;} + +/* header-menu */ +.stui-header__menu{position:relative; background-color: #333; color: #fff;} +.stui-header__menu li{float:left;} +.stui-header__menu li a{display:inline-block; padding: 15px 25px; font-size:15px; color: #fff;} +.stui-header__menu li.active a, .stui-header__menu li:hover{ background-color: #222;} +.stui-header__menu .more{ position: absolute; top: 0; right: 0; padding: 15px 0; color: #999;} + +.stui-header__menu .submenu { + display: none; + position: absolute; + top: 100%; + left: -100%; + background-color: #222; + z-index: 10; + width: 50vw; +} + +.stui-header__menu .submenu li { + width: 20%; + padding: 2px; +} + +.stui-header__menu .submenu li a{ + padding: 4px 6px !important; +} + +.stui-header__menu li.dropdown:hover .submenu{ + display: block; +} + + +/* header-seacrh */ +.stui-header__search{ float:left; position:relative; width: 380px; margin: 25px 30px 25px 50px; } +.stui-header__search .form-control{display:block; width:100%; height: 38px; padding: 0 45px 0 10px; font-size:12px; line-height: 25px; border-radius: 5px; transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s; background-color:#f5f5f5; color: #999; border: 0;} +.stui-header__search .submit{display:block; position:absolute; top: 0; right: 0; width:35px; height: 38px; border: 0; cursor: pointer; border: 0; background: none; color: #999;} + +/* header-user */ +.stui-header__user{float:right} +.stui-header__user > li{ float:left; position: relative; padding: 35px 0 10px; margin-left: 30px} +.stui-header__user > li .icon{ font-size: 24px; line-height: 24px; vertical-align: -2px; color: #999;} +.stui-header__user > li .dropdown{ display: none; position: absolute; z-index: 999; width: 240px; top: 100%; right: -15px; padding: 15px; font-size: 12px; color: #999; background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); border-radius: 4px; background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2);} +.stui-header__user > li .dropdown:before{ content:" "; width:10px; height:10px; -webkit-transform:rotate(-45deg); -ms-transform:rotate(-45deg); transform:rotate(-45deg); position: absolute; top:-5px; right: 30px; background-color: #fff; border-top: 1px solid #eee; border-right: 1px solid #eee;} +.stui-header__user > li:hover .dropdown{ display: block;} +.stui-header__user .dropdown li{ position: relative; padding: 10px 0;} +.stui-header__user .dropdown li:first-child{ margin-top: 10px;} +.stui-header__user .dropdown li:last-child{ padding-bottom: 0;} + +/* media */ +.stui-vodlist__media li .score{ position: relative;} +.stui-vodlist__media li .score .star{zoom: 50%; display: inline-block; position: relative; top: 5px; width: 160px; height: 25px; background: url(/themes/xingkong/img/star1.png) 0 0 no-repeat;} +.stui-vodlist__media li .score .branch{ display: inline-block; font-size: 12px; color: red;} +.stui-vodlist__media li .score .star .star-cur{display: inline-block; background: url(/themes/xingkong/img/star.png) 0 0 no-repeat; height: 25px; position: absolute; top: 0; z-index: 1;} + +/* content */ +.stui-content__detail,.stui-content__thumb{display:table-cell;vertical-align:top} +.stui-content__thumb .v-thumb{width:190px} +.stui-content__thumb .w-thumb{width:300px} +.stui-content__detail{width:100%;padding:10px 20px;} +.stui-content__detail .title{margin: 0 0 10px; font-size: 24px; line-height:30px; font-weight: 700;} +.stui-content__detail .data{margin-bottom:10px} +.stui-content__detail .data li{float:left;margin-right:20px} +.stui-content__detail .desc{padding-left:42px} +.stui-content__detail .desc .left{margin-left:-42px} +/* .stui-content__detail .play-btn{padding-left:65px;margin-top:20px} */ +.stui-content__detail .play-btn .share{margin-top:5px} +.stui-content__detail .play-btn .btn{ margin-right: 10px;} +.stui-content h2 {font-size: 14px;line-height: 14px;} +/* player */ +.stui-player__video{ background-color: #000} +.stui-player__detail{ margin-top: 20px;} +.stui-player__detail .more-btn{ float: right; padding-top: 10px;} +.stui-player__detail .more-btn li{ display: inline-block; margin-left: 10px;} +.stui-player__detail .more-btn .btn{ padding: 6px 15px;} +.stui-player__detail .title{margin:0 0 10px} +.stui-player__detail .detail-content{padding-top:10px} +.stui-player__detail .desc{padding-left:42px} +.stui-player__detail .desc .left{margin-left:-42px} + +/* autocomplete */ +.autocomplete-suggestions{ padding: 0 10px; margin-top: 5px; border-radius:4px; background-color: #FFFFFF; box-shadow: 0 2px 10px rgba(0,0,0,.05);} +.autocomplete-suggestions.active{position: absolute; z-index: 9999; top: 100%; width: 100%;} +.autocomplete-suggestion{padding:10px 0; cursor:pointer; border-top: 1px solid #EEEEEE;} +.autocomplete-suggestion:first-child{border-top:0} +.mac_results{ z-index: 9999; padding: 0 10px; margin-top: 5px; border-radius:4px; background-color: #FFFFFF; border:1px solid #EEEEEE; box-shadow: 0 2px 10px rgba(0,0,0,.05);} +.mac_results li{padding:10px 0; cursor:pointer; border-top: 1px solid #EEEEEE;} +.mac_results li:first-child{ border: 0;} + + +@media (min-width:768px){ + .container{width:750px} +} +@media (min-width:992px){ + .container{width:920px} +} +@media (min-width:1200px){ + .container{width:1170px} +} +@media (max-width:1024px){ + + /* header */ + .stui-header__top{ margin-bottom: 10px;} + .stui-header__logo{margin:10px 0 10px} + .stui-header__search{ margin: 10px 0 10px 30px; width: 200px;} + .stui-header__search .form-control{ height: 30px;} + .stui-header__search .submit{ width: 30px; height: 30px;} + /* .stui-header__menu ul{ overflow:hidden; white-space: nowrap;} */ + .stui-header__menu li{ float: none; display: inline-block;} + .stui-header__menu li a{ padding: 12px 15px; font-size: 14px; white-space:nowrap;} + .stui-header__user > li{ padding: 15px 0 10px; margin-right: 10px;} + .stui-header__user > li .dropdown{ right: 0;} + .stui-header__user > li .icon{ font-size: 18px; line-height: 18px;} + .stui-header__menu li:hover .dropdown,.stui-header__user > li:hover .dropdown{ display: none;} + + .stui-header__menu .submenu { + left: 0; + max-width: 75vw; + max-height: 50vh; + overflow: auto; + } + .stui-header__menu .submenu li { + width: 100%; + padding: 2px; + } +} +@media (max-width:767px){ + + /* header */ + .stui-header__logo{ margin-left:10px} + .stui-header__search{ margin: 0; position:absolute; top: 15px; left: 170px; right:30px; width:auto;} + .stui-header__user{padding-right:10px} + .stui-header__user > li{ padding: 14px 0; margin: 0;} + .stui-header__user > li .dropdown:before{ right: 8px;} + .stui-header__user > li .icon{ font-size: 24px; line-height: 24px;} + + /* content */ + .stui-content__thumb .v-thumb{width:115px} + .stui-content__thumb .w-thumb{width:160px} + .stui-content__detail{padding:0 10px} + .stui-content__detail .title{ margin:0 0 8px; font-size:18px; line-height:18px; font-weight: 700;} + .stui-content__detail .data{margin:0 0 8px;font-size:12px} + .stui-content__detail .play-btn{margin:0;padding:0} + + /* player */ + .stui-player__detail.detail .title{ margin-top: 10px; font-size: 16px;} + .stui-player__detail{ margin-top: 0;} + .stui-player__detail .title{ font-size:18px; font-weight: 700;} + .stui-player__detail .more-btn{ margin-bottom: 10px;} + .stui-player__detail .more-btn{ float: none; padding: 10px; background-color: #222; display: -webkit-box; display: -webkit-flex; display: flex;} + .stui-player__detail .more-btn li{ margin: 0; padding: 0 5px; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; text-align: center;} + .stui-player__detail .more-btn .btn{ display: block; padding: 6px;} + + /* type */ + .stui-mobile__type li{padding:0 20px} + .stui-mobile__type li a{display:block;padding:10px 0;text-align:center} + + /* foot */ + .stui-foot{padding:20px 0} + +} + +.text_single-line {display: inline-block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;-o-text-overflow: ellipsis;max-width: 140px;} diff --git a/resources/assets/img/bg_icon.jpg b/resources/assets/img/bg_icon.jpg new file mode 100644 index 0000000..cc118ab Binary files /dev/null and b/resources/assets/img/bg_icon.jpg differ diff --git a/resources/assets/img/icon_1.png b/resources/assets/img/icon_1.png new file mode 100644 index 0000000..6ff32a9 Binary files /dev/null and b/resources/assets/img/icon_1.png differ diff --git a/resources/assets/img/icon_30.png b/resources/assets/img/icon_30.png new file mode 100644 index 0000000..02aedb5 Binary files /dev/null and b/resources/assets/img/icon_30.png differ diff --git a/resources/assets/img/icon_6.png b/resources/assets/img/icon_6.png new file mode 100644 index 0000000..e7fbf3d Binary files /dev/null and b/resources/assets/img/icon_6.png differ diff --git a/resources/assets/img/load.gif b/resources/assets/img/load.gif new file mode 100644 index 0000000..1f199a6 Binary files /dev/null and b/resources/assets/img/load.gif differ diff --git a/resources/assets/img/load_f.gif b/resources/assets/img/load_f.gif new file mode 100644 index 0000000..af4436b Binary files /dev/null and b/resources/assets/img/load_f.gif differ diff --git a/resources/assets/img/load_w.gif b/resources/assets/img/load_w.gif new file mode 100644 index 0000000..8791b70 Binary files /dev/null and b/resources/assets/img/load_w.gif differ diff --git a/resources/assets/img/play.png b/resources/assets/img/play.png new file mode 100644 index 0000000..4eca715 Binary files /dev/null and b/resources/assets/img/play.png differ diff --git a/resources/assets/img/star.png b/resources/assets/img/star.png new file mode 100644 index 0000000..b6133af Binary files /dev/null and b/resources/assets/img/star.png differ diff --git a/resources/assets/img/star1.png b/resources/assets/img/star1.png new file mode 100644 index 0000000..2bacd08 Binary files /dev/null and b/resources/assets/img/star1.png differ diff --git a/resources/assets/js/index.html b/resources/assets/js/index.html new file mode 100644 index 0000000..e69de29 diff --git a/resources/assets/js/jquery.min.js b/resources/assets/js/jquery.min.js new file mode 100644 index 0000000..4d9b3a2 --- /dev/null +++ b/resources/assets/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w(" +@endpush diff --git a/resources/views/themexingkong/episode.blade.php b/resources/views/themexingkong/episode.blade.php new file mode 100755 index 0000000..3c59928 --- /dev/null +++ b/resources/views/themexingkong/episode.blade.php @@ -0,0 +1,425 @@ +@extends('themes::themexingkong.layout') + +@push('header') + +@endpush + +@section('content') +
+
+
+
+
+
+ +
+
+
    +
  • +
    + @foreach ($currentMovie->episodes->where('slug', $episode->slug)->where('server', $episode->server) as $server) + + @endforeach +
    + +
  • +
  • + +
  • +
+

+ Tập {{ $episode->name }} +

+

+ Đổi nguồn phát VIP #1, VIP #2 khi lỗi. + +

+
+
+ ({{ $currentMovie->getRatingStar() }} + sao + / + {{ $currentMovie->getRatingCount() }} đánh giá) +
+
+
+
+
+
+ + @foreach ($currentMovie->episodes->sortBy([['server', 'asc']])->groupBy('server') as $server => $data) +
+
+
+
+ +

Phim {{ $currentMovie->name }} - {{ $server }}

+
+
+
+
    + @foreach ($data->sortByDesc('name', SORT_NATURAL)->groupBy('name') as $name => $item) +
  • Tập + {{ $name }} +
  • + @endforeach +
+
+
+
+ @endforeach + +
+
+
+
+

+ Nội dung phim +

+
+
+
+

+ + {!! Str::limit(strip_tags($currentMovie->content), 300, '...') !!} + + + Xem thêm + +

+
+
+
+ + @include('themes::themexingkong.inc.related_movie') + @include('themes::themexingkong.inc.comment') +
+ @include('themes::themexingkong.inc.right_bar') +@endsection + +@push('scripts') + + + + + + + + + + + + + + + + + {!! setting('site_scripts_facebook_sdk') !!} +@endpush diff --git a/resources/views/themexingkong/inc/catalog_filter.blade.php b/resources/views/themexingkong/inc/catalog_filter.blade.php new file mode 100755 index 0000000..91ab498 --- /dev/null +++ b/resources/views/themexingkong/inc/catalog_filter.blade.php @@ -0,0 +1,59 @@ +
+

Bộ lọc phim

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
diff --git a/resources/views/themexingkong/inc/comment.blade.php b/resources/views/themexingkong/inc/comment.blade.php new file mode 100755 index 0000000..197ae99 --- /dev/null +++ b/resources/views/themexingkong/inc/comment.blade.php @@ -0,0 +1,20 @@ +
+
+
+
+
+

+ Bình luận +

+
+
+
+
+
+
+
+
+
+
diff --git a/resources/views/themexingkong/inc/header.blade.php b/resources/views/themexingkong/inc/header.blade.php new file mode 100755 index 0000000..174cfc8 --- /dev/null +++ b/resources/views/themexingkong/inc/header.blade.php @@ -0,0 +1,59 @@ +@php + $logo = setting('site_logo', ''); + $brand = setting('site_brand', ''); + $title = isset($title) ? $title : setting('site_homepage_title', ''); +@endphp + +
+ +
+
+
+ +
+
+
+
diff --git a/resources/views/themexingkong/inc/pagination.blade.php b/resources/views/themexingkong/inc/pagination.blade.php new file mode 100755 index 0000000..9bf6254 --- /dev/null +++ b/resources/views/themexingkong/inc/pagination.blade.php @@ -0,0 +1,42 @@ +@php + $pageRange = 3; +@endphp +@if ($paginator->hasPages()) +
    + {{-- Previous Page Link --}} + @if ($paginator->onFirstPage()) + @else +
  • <<
  • + @endif + + {{-- Pagination Elements --}} + @foreach ($elements as $element) + {{-- Array Of Links --}} + @if (is_array($element)) + @foreach ($element as $page => $url) + @if ($page == $paginator->currentPage()) + +
  • + {{ $page }}/{{ $paginator->total() }} +
  • + @else + @if ( + ($page > $paginator->currentPage() && $page < $paginator->currentPage() + $pageRange) || + ($page < $paginator->currentPage() && $page > $paginator->currentPage() - $pageRange)) + + @endif + @endif + @endforeach + @endif + @endforeach + + {{-- Next Page Link --}} + @if ($paginator->hasMorePages()) +
  • >>
  • + @else + @endif +
+@endif diff --git a/resources/views/themexingkong/inc/related_movie.blade.php b/resources/views/themexingkong/inc/related_movie.blade.php new file mode 100755 index 0000000..4c1de2f --- /dev/null +++ b/resources/views/themexingkong/inc/related_movie.blade.php @@ -0,0 +1,32 @@ +
+
+
+
+

+ Có thể bạn sẽ thích? +

+
+
+
+ +
+
+
diff --git a/resources/views/themexingkong/inc/right_bar.blade.php b/resources/views/themexingkong/inc/right_bar.blade.php new file mode 100644 index 0000000..ab0a0a0 --- /dev/null +++ b/resources/views/themexingkong/inc/right_bar.blade.php @@ -0,0 +1,37 @@ +
+ @foreach ($tops as $top) +
+
+
+
+

{{ $top['label'] }}

+
+
+
+
    + @foreach ($top['data'] as $movie) +
  • +
    + +
    +
    +

    + {{ $movie->name }} +

    +
    +
    + +
    + {{ $movie->getRatingStar() }} +
    +
    +
  • + @endforeach +
+
+
+
+ @endforeach +
diff --git a/resources/views/themexingkong/inc/sections/default.blade.php b/resources/views/themexingkong/inc/sections/default.blade.php new file mode 100644 index 0000000..ef79c45 --- /dev/null +++ b/resources/views/themexingkong/inc/sections/default.blade.php @@ -0,0 +1,42 @@ +
+
+
+
+ +
+ +
+
+
+
+
diff --git a/resources/views/themexingkong/inc/sections/with_top.blade.php b/resources/views/themexingkong/inc/sections/with_top.blade.php new file mode 100644 index 0000000..32add68 --- /dev/null +++ b/resources/views/themexingkong/inc/sections/with_top.blade.php @@ -0,0 +1,75 @@ +
+
+
+
+ +
+ +
+
+
+ +
+
diff --git a/resources/views/themexingkong/inc/slider_recommended.blade.php b/resources/views/themexingkong/inc/slider_recommended.blade.php new file mode 100755 index 0000000..9f4510b --- /dev/null +++ b/resources/views/themexingkong/inc/slider_recommended.blade.php @@ -0,0 +1,16 @@ +
+
+
+ +
+
+
diff --git a/resources/views/themexingkong/index.blade.php b/resources/views/themexingkong/index.blade.php new file mode 100755 index 0000000..89be48f --- /dev/null +++ b/resources/views/themexingkong/index.blade.php @@ -0,0 +1,85 @@ +@extends('themes::themexingkong.layout') + + +@php + use VsMov\Core\Models\Movie; + $recommendations = Cache::remember('site.movies.recommendations', setting('site_cache_ttl', 5 * 60), function () { + return Movie::where('is_recommended', true)->limit(get_theme_option('recommendations_limit', 10))->orderBy('updated_at', 'desc')->get(); + }); + $data = Cache::remember('site.movies.latest', setting('site_cache_ttl', 5 * 60), function () { + $lists = preg_split('/[\n\r]+/', get_theme_option('latest')); + $data = []; + foreach ($lists as $list) { + if (trim($list)) { + $list = explode('|', $list); + [$label, $relation, $field, $val, $sortKey, $alg, $limit, $link, $template] = array_merge($list, ['Phim mới cập nhật', '', 'type', 'series', 'created_at', 'desc', 8, '/', 'default']); + try { + $top = null; + if ($template === 'with_top') { + $top = Movie::when($relation, function ($query) use ($relation, $field, $val) { + $query->whereHas($relation, function ($rel) use ($field, $val) { + $rel->where($field, $val); + }); + }) + ->when(!$relation, function ($query) use ($field, $val) { + $query->where($field, $val); + }) + ->orderBy('view_week', 'desc') + ->limit(9) + ->get(); + } + $data[] = [ + 'label' => $label, + 'data' => Movie::when($relation, function ($query) use ($relation, $field, $val) { + $query->whereHas($relation, function ($rel) use ($field, $val) { + $rel->where($field, $val); + }); + }) + ->when(!$relation, function ($query) use ($field, $val) { + $query->where($field, $val); + }) + ->orderBy($sortKey, $alg) + ->limit($limit) + ->get(), + 'top' => $top, + 'link' => $link ?: '#', + 'template' => $template, + ]; + } catch (\Exception $e) { + } + } + } + return $data; + }); +@endphp + +@push('header') + +@endpush + +@section('content') + @include('themes::themexingkong.inc.slider_recommended') + + @foreach ($data as $item) + @include('themes::themexingkong.inc.sections.' . $item['template']) + @endforeach +@endsection + +@push('scripts') + +@endpush diff --git a/resources/views/themexingkong/layout.blade.php b/resources/views/themexingkong/layout.blade.php new file mode 100755 index 0000000..9b9ee6f --- /dev/null +++ b/resources/views/themexingkong/layout.blade.php @@ -0,0 +1,54 @@ +@extends('themes::layout') + +@php +@endphp + +@push('header') + + + + + + + + + + + + +@endpush + +@section('body') + @include('themes::themexingkong.inc.header') + @if (get_theme_option('ads_header')) +
+
+ {!! get_theme_option('ads_header') !!} +
+
+ @endif +
+
+ @yield('content') +
+
+@endsection + +@push('scripts') +@endpush + +@section('footer') + {!! get_theme_option('footer') !!} + + @if (get_theme_option('ads_catfish')) +
+
+ {!! get_theme_option('ads_catfish') !!} +
+
+ @endif + + {!! setting('site_scripts_google_analytics') !!} +@endsection diff --git a/resources/views/themexingkong/single.blade.php b/resources/views/themexingkong/single.blade.php new file mode 100755 index 0000000..8fe41cf --- /dev/null +++ b/resources/views/themexingkong/single.blade.php @@ -0,0 +1,221 @@ +@extends('themes::themexingkong.layout') + +@php + $watch_url = ''; + if (!$currentMovie->is_copyright && count($currentMovie->episodes) && $currentMovie->episodes[0]['link'] != '') { + $watch_url = $currentMovie->episodes + ->sortBy([['server', 'asc']]) + ->groupBy('server') + ->first() + ->sortByDesc('name', SORT_NATURAL) + ->groupBy('name') + ->last() + ->sortByDesc('type') + ->first() + ->getUrl(); + } +@endphp + +@push('header') +@endpush + +@section('content') +
+
+
+
+
+ +
+

{{ $currentMovie->name }}

+

+

{{ $currentMovie->origin_name }}

+

+

+ +

+

+ + {!! $currentMovie->categories->map(function ($category) { + return '' . $category->name . ''; + })->implode(', ') !!} + + + + {!! $currentMovie->regions->map(function ($region) { + return '' . $region->name . ''; + })->implode(', ') !!} + + + {{ $currentMovie->publish_year }} +

+

+ +

+

+ Ngôn ngữ: {{ $currentMovie->language }} + {{ $currentMovie->quality }} +

+

+ Diễn viên: + {!! $currentMovie->actors->map(function ($actor) { + return '' . $actor->name . ''; + })->implode(', ') !!} +

+

+ Đạo diễn: + {!! $currentMovie->directors->map(function ($director) { + return '' . $director->name . ''; + })->implode(', ') !!} +

+ +
+ + @if ($watch_url) + Xem Phim + @endif + @if (strpos($currentMovie->trailer_url, 'youtube')) + Trailer + @endif +
+
+
+
+
+
+ @if ($watch_url) +
+
+
+
+ +

Xem phim {{ $currentMovie->name }}

+
+
+
+
    + @php + $currentMovie->episodes + ->sortBy([['name', 'desc'], ['type', 'desc']]) + ->sortByDesc('name', SORT_NATURAL) + ->unique('name') + ->take(8) + ->map(function ($episode) { + echo '
  • Tập ' . $episode->name . '
  • '; + }); + @endphp +
+
+
+
+ @endif + + @include('themes::themexingkong.inc.related_movie') + @include('themes::themexingkong.inc.comment') +
+ + @include('themes::themexingkong.inc.right_bar') + + @if (strpos($currentMovie->trailer_url, 'youtube')) + @php + try { + parse_str(parse_url($currentMovie->trailer_url, PHP_URL_QUERY), $parse_url); + $trailer_id = $parse_url['v']; + } catch (\Throwable $th) { + $trailer_id = ''; + } + @endphp + + @endif +@endsection + +@push('scripts') + + + + + {!! setting('site_scripts_facebook_sdk') !!} +@endpush diff --git a/routes/web.php b/routes/web.php new file mode 100755 index 0000000..c950319 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,53 @@ + array_merge( + (array) config('backpack.base.web_middleware', 'web'), + ), +], function () { + Route::get('/', [ThemeXingKongController::class, 'index']); + + Route::get(setting('site_routes_category', '/the-loai/{category}'), [ThemeXingKongController::class, 'getMovieOfCategory']) + ->where(['category' => '.+', 'id' => '[0-9]+']) + ->name('categories.movies.index'); + + Route::get(setting('site_routes_region', '/quoc-gia/{region}'), [ThemeXingKongController::class, 'getMovieOfRegion']) + ->where(['region' => '.+', 'id' => '[0-9]+']) + ->name('regions.movies.index'); + + Route::get(setting('site_routes_tag', '/tu-khoa/{tag}'), [ThemeXingKongController::class, 'getMovieOfTag']) + ->where(['tag' => '.+', 'id' => '[0-9]+']) + ->name('tags.movies.index'); + + Route::get(setting('site_routes_types', '/danh-sach/{type}'), [ThemeXingKongController::class, 'getMovieOfType']) + ->where(['type' => '.+', 'id' => '[0-9]+']) + ->name('types.movies.index'); + + Route::get(setting('site_routes_actors', '/dien-vien/{actor}'), [ThemeXingKongController::class, 'getMovieOfActor']) + ->where(['actor' => '.+', 'id' => '[0-9]+']) + ->name('actors.movies.index'); + + Route::get(setting('site_routes_directors', '/dao-dien/{director}'), [ThemeXingKongController::class, 'getMovieOfDirector']) + ->where(['director' => '.+', 'id' => '[0-9]+']) + ->name('directors.movies.index'); + + Route::get(setting('site_routes_episode', '/phim/{movie}/{episode}-{id}'), [ThemeXingKongController::class, 'getEpisode']) + ->where(['movie' => '.+', 'movie_id' => '[0-9]+', 'episode' => '.+', 'id' => '[0-9]+']) + ->name('episodes.show'); + + Route::post(sprintf('/%s/{movie}/{episode}/report', config('vsmov.routes.movie', 'phim')), [ThemeXingKongController::class, 'reportEpisode'])->name('episodes.report'); + Route::post(sprintf('/%s/{movie}/rate', config('vsmov.routes.movie', 'phim')), [ThemeXingKongController::class, 'rateMovie'])->name('movie.rating'); + + Route::get(setting('site_routes_movie', '/phim/{movie}'), [ThemeXingKongController::class, 'getMovieOverview']) + ->where(['movie' => '.+', 'id' => '[0-9]+']) + ->name('movies.show'); +}); diff --git a/src/Controllers/ThemeXingKongController.php b/src/Controllers/ThemeXingKongController.php new file mode 100755 index 0000000..841a445 --- /dev/null +++ b/src/Controllers/ThemeXingKongController.php @@ -0,0 +1,290 @@ +whereHas('categories', function ($categories) { + $categories->where('id', request('filter')['category']); + }); + })->when(!empty($request['filter']['region']), function ($movie) { + $movie->whereHas('regions', function ($regions) { + $regions->where('id', request('filter')['region']); + }); + })->when(!empty($request['filter']['year']), function ($movie) { + $movie->where('publish_year', request('filter')['year']); + })->when(!empty($request['filter']['type']), function ($movie) { + $movie->where('type', request('filter')['type']); + })->when(!empty($request['search']), function ($query) { + $query->where(function ($query) { + $query->whereRaw("MATCH(name, origin_name) AGAINST(? IN BOOLEAN MODE)", [request('search')]); + }); + })->when(!empty($request['filter']['sort']), function ($movie) { + if (request('filter')['sort'] == 'create') { + return $movie->orderBy('created_at', 'desc'); + } + if (request('filter')['sort'] == 'update') { + return $movie->orderBy('updated_at', 'desc'); + } + if (request('filter')['sort'] == 'year') { + return $movie->orderBy('publish_year', 'desc'); + } + if (request('filter')['sort'] == 'view') { + return $movie->orderBy('view_total', 'desc'); + } + })->paginate(get_theme_option('per_page_limit')); + + return view('themes::themexingkong.catalog', [ + 'data' => $data, + 'search' => $request['search'], + 'section_name' => "Tìm kiếm phim: $request->search" + ]); + } + return view('themes::themexingkong.index', [ + 'title' => Setting::get('site_homepage_title') + ]); + } + + public function getMovieOverview(Request $request) + { + /** @var Movie */ + $movie = Movie::fromCache()->find($request->movie ?: $request->id); + + if (is_null($movie)) abort(404); + + $movie->generateSeoTags(); + + $movie->increment('view_total', 1); + $movie->increment('view_day', 1); + $movie->increment('view_week', 1); + $movie->increment('view_month', 1); + + $movie_related_cache_key = 'movie_related:' . $movie->id; + $movie_related = Cache::get($movie_related_cache_key); + if (is_null($movie_related)) { + $movie_related = $movie->categories[0]->movies()->inRandomOrder()->limit(get_theme_option('movie_related_limit', 10))->get(); + Cache::put($movie_related_cache_key, $movie_related, setting('site_cache_ttl', 5 * 60)); + } + + return view('themes::themexingkong.single', [ + 'currentMovie' => $movie, + 'title' => $movie->getTitle(), + 'movie_related' => $movie_related + ]); + } + + public function getEpisode(Request $request) + { + $movie = Movie::fromCache()->find($request->movie ?: $request->movie_id)->load('episodes'); + + if (is_null($movie)) abort(404); + + /** @var Episode */ + $episode_id = $request->id; + $episode = $movie->episodes->when($episode_id, function ($collection, $episode_id) { + return $collection->where('id', $episode_id); + })->firstWhere('slug', $request->episode); + + if (is_null($episode)) abort(404); + + $episode->generateSeoTags(); + + $movie->increment('view_total', 1); + $movie->increment('view_day', 1); + $movie->increment('view_week', 1); + $movie->increment('view_month', 1); + + $movie_related_cache_key = 'movie_related:' . $movie->id; + $movie_related = Cache::get($movie_related_cache_key); + if (is_null($movie_related)) { + $movie_related = $movie->categories[0]->movies()->inRandomOrder()->limit(get_theme_option('movie_related_limit', 10))->get(); + Cache::put($movie_related_cache_key, $movie_related, setting('site_cache_ttl', 5 * 60)); + } + + return view('themes::themexingkong.episode', [ + 'currentMovie' => $movie, + 'movie_related' => $movie_related, + 'episode' => $episode, + 'title' => $episode->getTitle() + ]); + } + + public function getMovieOfCategory(Request $request) + { + /** @var Category */ + $category = Category::fromCache()->find($request->category ?: $request->id); + + if (is_null($category)) abort(404); + + $category->generateSeoTags(); + + $movies = $category->movies()->orderBy('created_at', 'desc')->paginate(get_theme_option('per_page_limit')); + + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'category' => $category, + 'title' => $category->seo_title ?: $category->getTitle(), + 'section_name' => "Phim thể loại $category->name" + ]); + } + + public function getMovieOfRegion(Request $request) + { + /** @var Region */ + $region = Region::fromCache()->find($request->region ?: $request->id); + + if (is_null($region)) abort(404); + + $region->generateSeoTags(); + + $movies = $region->movies()->orderBy('created_at', 'desc')->paginate(get_theme_option('per_page_limit')); + + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'region' => $region, + 'title' => $region->seo_title ?: $region->getTitle(), + 'section_name' => "Phim quốc gia $region->name" + ]); + } + + public function getMovieOfActor(Request $request) + { + /** @var Actor */ + $actor = Actor::fromCache()->find($request->actor ?: $request->id); + + if (is_null($actor)) abort(404); + + $actor->generateSeoTags(); + + $movies = $actor->movies()->orderBy('created_at', 'desc')->paginate(get_theme_option('per_page_limit')); + + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'person' => $actor, + 'title' => $actor->getTitle(), + 'section_name' => "Diễn viên $actor->name" + ]); + } + + public function getMovieOfDirector(Request $request) + { + /** @var Director */ + $director = Director::fromCache()->find($request->director ?: $request->id); + + if (is_null($director)) abort(404); + + $director->generateSeoTags(); + + $movies = $director->movies()->orderBy('created_at', 'desc')->paginate(get_theme_option('per_page_limit')); + + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'person' => $director, + 'title' => $director->getTitle(), + 'section_name' => "Đạo diễn $director->name" + ]); + } + + public function getMovieOfTag(Request $request) + { + /** @var Tag */ + $tag = Tag::fromCache()->find($request->tag ?: $request->id); + + if (is_null($tag)) abort(404); + + $tag->generateSeoTags(); + + $movies = $tag->movies()->orderBy('created_at', 'desc')->paginate(get_theme_option('per_page_limit')); + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'tag' => $tag, + 'title' => $tag->getTitle(), + 'section_name' => "Tags: $tag->name" + ]); + } + + public function getMovieOfType(Request $request) + { + /** @var Catalog */ + $catalog = Catalog::fromCache()->find($request->type ?: $request->id); + + if (is_null($catalog)) abort(404); + + $catalog->generateSeoTags(); + + $cache_key = 'catalog:' . $catalog->id . ':page:' . ($request['page'] ?: 1); + $movies = Cache::get($cache_key); + if (is_null($movies)) { + $value = explode('|', trim($catalog->value)); + [$relation_config, $field, $val, $sortKey, $alg] = array_merge($value, ['', 'is_copyright', 0, 'created_at', 'desc']); + $relation_config = explode(',', $relation_config); + + [$relation_table, $relation_field, $relation_val] = array_merge($relation_config, ['', '', '']); + try { + $movies = \VsMov\Core\Models\Movie::when($relation_table, function ($query) use ($relation_table, $relation_field, $relation_val, $field, $val) { + $query->whereHas($relation_table, function ($rel) use ($relation_field, $relation_val, $field, $val) { + $rel->where($relation_field, $relation_val)->where(array_combine(explode(",", $field), explode(",", $val))); + }); + })->when(!$relation_table, function ($query) use ($field, $val) { + $query->where(array_combine(explode(",", $field), explode(",", $val))); + }) + ->orderBy($sortKey, $alg) + ->paginate($catalog->paginate); + + Cache::put($cache_key, $movies, setting('site_cache_ttl', 5 * 60)); + } catch (\Exception $e) { + } + } + + return view('themes::themexingkong.catalog', [ + 'data' => $movies, + 'section_name' => "Danh sách $catalog->name" + ]); + } + + public function reportEpisode(Request $request, $movie, $slug) + { + $movie = Movie::fromCache()->find($movie)->load('episodes'); + + $episode = $movie->episodes->when(request('id'), function ($collection) { + return $collection->where('id', request('id')); + })->firstWhere('slug', $slug); + + $episode->update([ + 'report_message' => request('message', ''), + 'has_report' => true + ]); + + return response([], 204); + } + + public function rateMovie(Request $request, $movie) + { + + $movie = Movie::fromCache()->find($movie); + + $movie->refresh()->increment('rating_count', 1, [ + 'rating_star' => $movie->rating_star + ((int) request('rating') - $movie->rating_star) / ($movie->rating_count + 1) + ]); + + return response([], 204); + } +} diff --git a/src/ThemeXingKongServiceProvider.php b/src/ThemeXingKongServiceProvider.php new file mode 100755 index 0000000..5fb6134 --- /dev/null +++ b/src/ThemeXingKongServiceProvider.php @@ -0,0 +1,229 @@ +setupDefaultThemeCustomizer(); + } + + public function boot() + { + $this->loadViewsFrom(__DIR__ . '/../resources/views/', 'themes'); + + $this->publishes([ + __DIR__ . '/../resources/assets' => public_path('themes/xingkong') + ], 'xingkong-assets'); + + view()->composer('themes::themexingkong.*', function ($view) { + $view->with('menu', \VsMov\Core\Models\Menu::getTree()); + }); + + view()->composer(['themes::themexingkong.inc.right_bar'], function ($view) { + $tops = Cache::remember('site.movies.tops', setting('site_cache_ttl', 5 * 60), function () { + $lists = preg_split('/[\n\r]+/', get_theme_option('hotest')); + $data = []; + foreach ($lists as $list) { + if (trim($list)) { + $list = explode('|', $list); + [$label, $relation, $field, $val, $sortKey, $alg, $limit] = array_merge($list, ['Phim hot', '', 'type', 'series', 'view_total', 'desc', 4]); + try { + $data[] = [ + 'label' => $label, + 'data' => \VsMov\Core\Models\Movie::when($relation, function ($query) use ($relation, $field, $val) { + $query->whereHas($relation, function ($rel) use ($field, $val) { + $rel->where($field, $val); + }); + }) + ->when(!$relation, function ($query) use ($field, $val) { + $query->where($field, $val); + }) + ->orderBy($sortKey, $alg) + ->limit($limit) + ->get(), + ]; + } catch (\Exception $e) { + # code + } + } + } + + return $data; + }); + $view->with('tops', $tops); + }); + } + + protected function setupDefaultThemeCustomizer() + { + config(['themes' => array_merge(config('themes', []), [ + 'xingkong' => [ + 'name' => 'Theme XingKong', + 'author' => 'vsmov@gmail.com', + 'package_name' => 'vsmov/theme-xingkong', + 'publishes' => ['xingkong-assets'], + 'preview_image' => '', + 'options' => [ + [ + 'name' => 'recommendations_limit', + 'label' => 'Recommended movies limit', + 'type' => 'number', + 'value' => 10, + 'wrapperAttributes' => [ + 'class' => 'form-group col-md-4', + ], + 'tab' => 'List' + ], + [ + 'name' => 'per_page_limit', + 'label' => 'Pages limit', + 'type' => 'number', + 'value' => 30, + 'wrapperAttributes' => [ + 'class' => 'form-group col-md-4', + ], + 'tab' => 'List' + ], + [ + 'name' => 'movie_related_limit', + 'label' => 'Movies related limit', + 'type' => 'number', + 'value' => 12, + 'wrapperAttributes' => [ + 'class' => 'form-group col-md-4', + ], + 'tab' => 'List' + ], + [ + 'name' => 'latest', + 'label' => 'Home Page', + 'type' => 'code', + 'hint' => 'display_label|display_description|relation|find_by_field|value|sort_by_field|sort_algo|limit|show_more_url|section_template(default|with_top)', + 'value' => << [ + 'rows' => 5 + ], + 'tab' => 'List' + ], + [ + 'name' => 'hotest', + 'label' => 'Danh sách hot', + 'type' => 'code', + 'hint' => 'Label|relation|find_by_field|value|sort_by_field|sort_algo|limit', + 'value' => << [ + 'rows' => 5 + ], + 'tab' => 'List' + ], + [ + 'name' => 'additional_css', + 'label' => 'Additional CSS', + 'type' => 'code', + 'value' => "", + 'tab' => 'Custom CSS' + ], + [ + 'name' => 'body_attributes', + 'label' => 'Body attributes', + 'type' => 'text', + 'value' => '', + 'tab' => 'Custom CSS' + ], + [ + 'name' => 'additional_header_js', + 'label' => 'Header JS', + 'type' => 'code', + 'value' => "", + 'tab' => 'Custom JS' + ], + [ + 'name' => 'additional_body_js', + 'label' => 'Body JS', + 'type' => 'code', + 'value' => "", + 'tab' => 'Custom JS' + ], + [ + 'name' => 'additional_footer_js', + 'label' => 'Footer JS', + 'type' => 'code', + 'value' => "", + 'tab' => 'Custom JS' + ], + [ + 'name' => 'footer', + 'label' => 'Footer', + 'type' => 'code', + 'value' => << +
+
+
+ +
+
+ + +

Copyright © 2015-2024 VsMov +

+
+
+
+ + EOT, + 'tab' => 'Custom HTML' + ], + [ + 'name' => 'ads_header', + 'label' => 'Ads header', + 'type' => 'code', + 'value' => << 'Ads' + ], + [ + 'name' => 'ads_catfish', + 'label' => 'Ads catfish', + 'type' => 'code', + 'value' => << 'Ads' + ] + ], + ] + ])]); + } +} diff --git a/src/screenshot.png b/src/screenshot.png new file mode 100755 index 0000000..899414e Binary files /dev/null and b/src/screenshot.png differ