正在显示
96 个修改的文件
包含
4438 行增加
和
277 行删除
.idea/encodings.xml
已删除
100644 → 0
.idea/misc.xml
已删除
100644 → 0
.idea/modules.xml
已删除
100644 → 0
.idea/php.xml
已删除
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<project version="4"> | ||
3 | - <component name="PhpIncludePathManager"> | ||
4 | - <include_path> | ||
5 | - <path value="$PROJECT_DIR$/vendor/webmozart/assert" /> | ||
6 | - <path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" /> | ||
7 | - <path value="$PROJECT_DIR$/vendor/ralouphie/getallheaders" /> | ||
8 | - <path value="$PROJECT_DIR$/vendor/symfony/string" /> | ||
9 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-iconv" /> | ||
10 | - <path value="$PROJECT_DIR$/vendor/mockery/mockery" /> | ||
11 | - <path value="$PROJECT_DIR$/vendor/symfony/var-dumper" /> | ||
12 | - <path value="$PROJECT_DIR$/vendor/fzaninotto/faker" /> | ||
13 | - <path value="$PROJECT_DIR$/vendor/symfony/service-contracts" /> | ||
14 | - <path value="$PROJECT_DIR$/vendor/symfony/mime" /> | ||
15 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" /> | ||
16 | - <path value="$PROJECT_DIR$/vendor/sebastian/recursion-context" /> | ||
17 | - <path value="$PROJECT_DIR$/vendor/symfony/routing" /> | ||
18 | - <path value="$PROJECT_DIR$/vendor/sebastian/object-enumerator" /> | ||
19 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-idn" /> | ||
20 | - <path value="$PROJECT_DIR$/vendor/sebastian/global-state" /> | ||
21 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" /> | ||
22 | - <path value="$PROJECT_DIR$/vendor/sebastian/complexity" /> | ||
23 | - <path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" /> | ||
24 | - <path value="$PROJECT_DIR$/vendor/sebastian/diff" /> | ||
25 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" /> | ||
26 | - <path value="$PROJECT_DIR$/vendor/sebastian/lines-of-code" /> | ||
27 | - <path value="$PROJECT_DIR$/vendor/symfony/css-selector" /> | ||
28 | - <path value="$PROJECT_DIR$/vendor/sebastian/object-reflector" /> | ||
29 | - <path value="$PROJECT_DIR$/vendor/symfony/error-handler" /> | ||
30 | - <path value="$PROJECT_DIR$/vendor/sebastian/cli-parser" /> | ||
31 | - <path value="$PROJECT_DIR$/vendor/symfony/console" /> | ||
32 | - <path value="$PROJECT_DIR$/vendor/sebastian/comparator" /> | ||
33 | - <path value="$PROJECT_DIR$/vendor/symfony/process" /> | ||
34 | - <path value="$PROJECT_DIR$/vendor/sebastian/environment" /> | ||
35 | - <path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher-contracts" /> | ||
36 | - <path value="$PROJECT_DIR$/vendor/sebastian/type" /> | ||
37 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" /> | ||
38 | - <path value="$PROJECT_DIR$/vendor/sebastian/version" /> | ||
39 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php73" /> | ||
40 | - <path value="$PROJECT_DIR$/vendor/sebastian/resource-operations" /> | ||
41 | - <path value="$PROJECT_DIR$/vendor/symfony/http-kernel" /> | ||
42 | - <path value="$PROJECT_DIR$/vendor/sebastian/code-unit-reverse-lookup" /> | ||
43 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" /> | ||
44 | - <path value="$PROJECT_DIR$/vendor/sebastian/exporter" /> | ||
45 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-php72" /> | ||
46 | - <path value="$PROJECT_DIR$/vendor/sebastian/code-unit" /> | ||
47 | - <path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" /> | ||
48 | - <path value="$PROJECT_DIR$/vendor/symfony/http-foundation" /> | ||
49 | - <path value="$PROJECT_DIR$/vendor/symfony/finder" /> | ||
50 | - <path value="$PROJECT_DIR$/vendor/symfony/translation" /> | ||
51 | - <path value="$PROJECT_DIR$/vendor/voku/portable-ascii" /> | ||
52 | - <path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" /> | ||
53 | - <path value="$PROJECT_DIR$/vendor/vlucas/phpdotenv" /> | ||
54 | - <path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" /> | ||
55 | - <path value="$PROJECT_DIR$/vendor/guzzlehttp/guzzle" /> | ||
56 | - <path value="$PROJECT_DIR$/vendor/guzzlehttp/psr7" /> | ||
57 | - <path value="$PROJECT_DIR$/vendor/opis/closure" /> | ||
58 | - <path value="$PROJECT_DIR$/vendor/hamcrest/hamcrest-php" /> | ||
59 | - <path value="$PROJECT_DIR$/vendor/guzzlehttp/promises" /> | ||
60 | - <path value="$PROJECT_DIR$/vendor/phar-io/version" /> | ||
61 | - <path value="$PROJECT_DIR$/vendor/phar-io/manifest" /> | ||
62 | - <path value="$PROJECT_DIR$/vendor/nesbot/carbon" /> | ||
63 | - <path value="$PROJECT_DIR$/vendor/filp/whoops" /> | ||
64 | - <path value="$PROJECT_DIR$/vendor/brick/math" /> | ||
65 | - <path value="$PROJECT_DIR$/vendor/psr/log" /> | ||
66 | - <path value="$PROJECT_DIR$/vendor/psr/simple-cache" /> | ||
67 | - <path value="$PROJECT_DIR$/vendor/psr/http-message" /> | ||
68 | - <path value="$PROJECT_DIR$/vendor/asm89/stack-cors" /> | ||
69 | - <path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" /> | ||
70 | - <path value="$PROJECT_DIR$/vendor/psr/http-client" /> | ||
71 | - <path value="$PROJECT_DIR$/vendor/psr/http-factory" /> | ||
72 | - <path value="$PROJECT_DIR$/vendor/psr/container" /> | ||
73 | - <path value="$PROJECT_DIR$/vendor/facade/flare-client-php" /> | ||
74 | - <path value="$PROJECT_DIR$/vendor/facade/ignition" /> | ||
75 | - <path value="$PROJECT_DIR$/vendor/facade/ignition-contracts" /> | ||
76 | - <path value="$PROJECT_DIR$/vendor/composer" /> | ||
77 | - <path value="$PROJECT_DIR$/vendor/nikic/php-parser" /> | ||
78 | - <path value="$PROJECT_DIR$/vendor/nunomaduro/collision" /> | ||
79 | - <path value="$PROJECT_DIR$/vendor/laravel/serializable-closure" /> | ||
80 | - <path value="$PROJECT_DIR$/vendor/laravel/tinker" /> | ||
81 | - <path value="$PROJECT_DIR$/vendor/tijsverkoyen/css-to-inline-styles" /> | ||
82 | - <path value="$PROJECT_DIR$/vendor/laravel/framework" /> | ||
83 | - <path value="$PROJECT_DIR$/vendor/monolog/monolog" /> | ||
84 | - <path value="$PROJECT_DIR$/vendor/league/mime-type-detection" /> | ||
85 | - <path value="$PROJECT_DIR$/vendor/league/flysystem" /> | ||
86 | - <path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" /> | ||
87 | - <path value="$PROJECT_DIR$/vendor/league/commonmark" /> | ||
88 | - <path value="$PROJECT_DIR$/vendor/phpunit/php-timer" /> | ||
89 | - <path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" /> | ||
90 | - <path value="$PROJECT_DIR$/vendor/phpunit/phpunit" /> | ||
91 | - <path value="$PROJECT_DIR$/vendor/dragonmantank/cron-expression" /> | ||
92 | - <path value="$PROJECT_DIR$/vendor/phpunit/php-text-template" /> | ||
93 | - <path value="$PROJECT_DIR$/vendor/phpunit/php-invoker" /> | ||
94 | - <path value="$PROJECT_DIR$/vendor/theseer/tokenizer" /> | ||
95 | - <path value="$PROJECT_DIR$/vendor/graham-campbell/result-type" /> | ||
96 | - <path value="$PROJECT_DIR$/vendor/psy/psysh" /> | ||
97 | - <path value="$PROJECT_DIR$/vendor/ramsey/collection" /> | ||
98 | - <path value="$PROJECT_DIR$/vendor/ramsey/uuid" /> | ||
99 | - <path value="$PROJECT_DIR$/vendor/swiftmailer/swiftmailer" /> | ||
100 | - <path value="$PROJECT_DIR$/vendor/doctrine/lexer" /> | ||
101 | - <path value="$PROJECT_DIR$/vendor/doctrine/instantiator" /> | ||
102 | - <path value="$PROJECT_DIR$/vendor/doctrine/inflector" /> | ||
103 | - <path value="$PROJECT_DIR$/vendor/fideloper/proxy" /> | ||
104 | - <path value="$PROJECT_DIR$/vendor/fruitcake/laravel-cors" /> | ||
105 | - <path value="$PROJECT_DIR$/vendor/egulias/email-validator" /> | ||
106 | - <path value="$PROJECT_DIR$/vendor/phpoption/phpoption" /> | ||
107 | - </include_path> | ||
108 | - </component> | ||
109 | - <component name="PhpProjectSharedConfiguration" php_language_level="7.3" /> | ||
110 | - <component name="PhpUnit"> | ||
111 | - <phpunit_settings> | ||
112 | - <PhpUnitSettings load_method="CUSTOM_LOADER" configuration_file_path="$PROJECT_DIR$/phpunit.xml" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" use_configuration_file="true" /> | ||
113 | - </phpunit_settings> | ||
114 | - </component> | ||
115 | -</project> |
.idea/shopk-main.iml
已删除
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<module type="WEB_MODULE" version="4"> | ||
3 | - <component name="NewModuleRootManager"> | ||
4 | - <content url="file://$MODULE_DIR$"> | ||
5 | - <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="Tests\" /> | ||
6 | - <sourceFolder url="file://$MODULE_DIR$/app" isTestSource="false" packagePrefix="App\" /> | ||
7 | - <sourceFolder url="file://$MODULE_DIR$/database/factories" isTestSource="false" packagePrefix="Database\Factories\" /> | ||
8 | - <sourceFolder url="file://$MODULE_DIR$/database/seeders" isTestSource="false" packagePrefix="Database\Seeders\" /> | ||
9 | - <excludeFolder url="file://$MODULE_DIR$/vendor/asm89/stack-cors" /> | ||
10 | - <excludeFolder url="file://$MODULE_DIR$/vendor/brick/math" /> | ||
11 | - <excludeFolder url="file://$MODULE_DIR$/vendor/composer" /> | ||
12 | - <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" /> | ||
13 | - <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" /> | ||
14 | - <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" /> | ||
15 | - <excludeFolder url="file://$MODULE_DIR$/vendor/dragonmantank/cron-expression" /> | ||
16 | - <excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" /> | ||
17 | - <excludeFolder url="file://$MODULE_DIR$/vendor/facade/flare-client-php" /> | ||
18 | - <excludeFolder url="file://$MODULE_DIR$/vendor/facade/ignition" /> | ||
19 | - <excludeFolder url="file://$MODULE_DIR$/vendor/facade/ignition-contracts" /> | ||
20 | - <excludeFolder url="file://$MODULE_DIR$/vendor/fideloper/proxy" /> | ||
21 | - <excludeFolder url="file://$MODULE_DIR$/vendor/filp/whoops" /> | ||
22 | - <excludeFolder url="file://$MODULE_DIR$/vendor/fruitcake/laravel-cors" /> | ||
23 | - <excludeFolder url="file://$MODULE_DIR$/vendor/fzaninotto/faker" /> | ||
24 | - <excludeFolder url="file://$MODULE_DIR$/vendor/graham-campbell/result-type" /> | ||
25 | - <excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/guzzle" /> | ||
26 | - <excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/promises" /> | ||
27 | - <excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/psr7" /> | ||
28 | - <excludeFolder url="file://$MODULE_DIR$/vendor/hamcrest/hamcrest-php" /> | ||
29 | - <excludeFolder url="file://$MODULE_DIR$/vendor/laravel/framework" /> | ||
30 | - <excludeFolder url="file://$MODULE_DIR$/vendor/laravel/serializable-closure" /> | ||
31 | - <excludeFolder url="file://$MODULE_DIR$/vendor/laravel/tinker" /> | ||
32 | - <excludeFolder url="file://$MODULE_DIR$/vendor/league/commonmark" /> | ||
33 | - <excludeFolder url="file://$MODULE_DIR$/vendor/league/flysystem" /> | ||
34 | - <excludeFolder url="file://$MODULE_DIR$/vendor/league/mime-type-detection" /> | ||
35 | - <excludeFolder url="file://$MODULE_DIR$/vendor/mockery/mockery" /> | ||
36 | - <excludeFolder url="file://$MODULE_DIR$/vendor/monolog/monolog" /> | ||
37 | - <excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" /> | ||
38 | - <excludeFolder url="file://$MODULE_DIR$/vendor/nesbot/carbon" /> | ||
39 | - <excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" /> | ||
40 | - <excludeFolder url="file://$MODULE_DIR$/vendor/nunomaduro/collision" /> | ||
41 | - <excludeFolder url="file://$MODULE_DIR$/vendor/opis/closure" /> | ||
42 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/manifest" /> | ||
43 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/version" /> | ||
44 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpoption/phpoption" /> | ||
45 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" /> | ||
46 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" /> | ||
47 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-invoker" /> | ||
48 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" /> | ||
49 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-timer" /> | ||
50 | - <excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" /> | ||
51 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" /> | ||
52 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" /> | ||
53 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-client" /> | ||
54 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-factory" /> | ||
55 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-message" /> | ||
56 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" /> | ||
57 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psr/simple-cache" /> | ||
58 | - <excludeFolder url="file://$MODULE_DIR$/vendor/psy/psysh" /> | ||
59 | - <excludeFolder url="file://$MODULE_DIR$/vendor/ralouphie/getallheaders" /> | ||
60 | - <excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/collection" /> | ||
61 | - <excludeFolder url="file://$MODULE_DIR$/vendor/ramsey/uuid" /> | ||
62 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/cli-parser" /> | ||
63 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/code-unit" /> | ||
64 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/code-unit-reverse-lookup" /> | ||
65 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" /> | ||
66 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/complexity" /> | ||
67 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/diff" /> | ||
68 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/environment" /> | ||
69 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/exporter" /> | ||
70 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/global-state" /> | ||
71 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/lines-of-code" /> | ||
72 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-enumerator" /> | ||
73 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-reflector" /> | ||
74 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/recursion-context" /> | ||
75 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/resource-operations" /> | ||
76 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/type" /> | ||
77 | - <excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/version" /> | ||
78 | - <excludeFolder url="file://$MODULE_DIR$/vendor/swiftmailer/swiftmailer" /> | ||
79 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" /> | ||
80 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/css-selector" /> | ||
81 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/deprecation-contracts" /> | ||
82 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/error-handler" /> | ||
83 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher" /> | ||
84 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher-contracts" /> | ||
85 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" /> | ||
86 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-foundation" /> | ||
87 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-kernel" /> | ||
88 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mime" /> | ||
89 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" /> | ||
90 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-iconv" /> | ||
91 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-grapheme" /> | ||
92 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" /> | ||
93 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-normalizer" /> | ||
94 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" /> | ||
95 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php72" /> | ||
96 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php73" /> | ||
97 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php80" /> | ||
98 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php81" /> | ||
99 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" /> | ||
100 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" /> | ||
101 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/service-contracts" /> | ||
102 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/string" /> | ||
103 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" /> | ||
104 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation-contracts" /> | ||
105 | - <excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-dumper" /> | ||
106 | - <excludeFolder url="file://$MODULE_DIR$/vendor/theseer/tokenizer" /> | ||
107 | - <excludeFolder url="file://$MODULE_DIR$/vendor/tijsverkoyen/css-to-inline-styles" /> | ||
108 | - <excludeFolder url="file://$MODULE_DIR$/vendor/vlucas/phpdotenv" /> | ||
109 | - <excludeFolder url="file://$MODULE_DIR$/vendor/voku/portable-ascii" /> | ||
110 | - <excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" /> | ||
111 | - </content> | ||
112 | - <orderEntry type="inheritedJdk" /> | ||
113 | - <orderEntry type="sourceFolder" forTests="false" /> | ||
114 | - </component> | ||
115 | -</module> |
.idea/vcs.xml
已删除
100644 → 0
.idea/workspace.xml
已删除
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<project version="4"> | ||
3 | - <component name="ProjectFrameBounds" extendedState="6"> | ||
4 | - <option name="x" value="-12" /> | ||
5 | - <option name="y" value="-12" /> | ||
6 | - <option name="width" value="1401" /> | ||
7 | - <option name="height" value="1038" /> | ||
8 | - </component> | ||
9 | - <component name="PropertiesComponent"> | ||
10 | - <property name="WebServerToolWindowFactoryState" value="false" /> | ||
11 | - <property name="last_opened_file_path" value="$PROJECT_DIR$" /> | ||
12 | - <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> | ||
13 | - <property name="nodejs_npm_path_reset_for_default_project" value="true" /> | ||
14 | - <property name="settings.editor.selected.configurable" value="configurable.group.appearance" /> | ||
15 | - </component> | ||
16 | - <component name="RunManager"> | ||
17 | - <configuration name="phpunit.xml" type="PHPUnitRunConfigurationType" factoryName="PHPUnit"> | ||
18 | - <TestRunner scope="XML" /> | ||
19 | - <method v="2" /> | ||
20 | - </configuration> | ||
21 | - </component> | ||
22 | -</project> |
app/Http/Controllers/Index.php
0 → 100644
1 | +<?php | ||
2 | + | ||
3 | +namespace App\Http\Controllers; | ||
4 | + | ||
5 | +use Illuminate\Http\Request; | ||
6 | +use Illuminate\Support\Facades\View; | ||
7 | + | ||
8 | +class Index extends Controller | ||
9 | +{ | ||
10 | + // | ||
11 | + | ||
12 | + public function __construct() | ||
13 | + { | ||
14 | + View::share('_langs',self::lang()); | ||
15 | + | ||
16 | + View::share('the_lang',THE_LANG); | ||
17 | + | ||
18 | + // 设置语言 | ||
19 | + \Illuminate\Support\Facades\App::setLocale(THE_LANG); | ||
20 | + | ||
21 | + | ||
22 | + } | ||
23 | + | ||
24 | + /** | ||
25 | + * 首页 | ||
26 | + * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View | ||
27 | + * @author:dc | ||
28 | + * @time 2022/11/16 9:06 | ||
29 | + */ | ||
30 | + public function home() | ||
31 | + { | ||
32 | + $this->seo('home'); | ||
33 | + return view('home'); | ||
34 | + } | ||
35 | + | ||
36 | + | ||
37 | + public function about() | ||
38 | + { | ||
39 | + $this->seo('about'); | ||
40 | + return view('about'); | ||
41 | + } | ||
42 | + | ||
43 | + public function blog() | ||
44 | + { | ||
45 | + $this->seo('blog'); | ||
46 | + return view('blog'); | ||
47 | + } | ||
48 | + | ||
49 | + public function kolSolution() | ||
50 | + { | ||
51 | + $this->seo('kolSolution'); | ||
52 | + return view('kolSolution'); | ||
53 | + } | ||
54 | + | ||
55 | + public function fqa() | ||
56 | + { | ||
57 | + $this->seo('fqa'); | ||
58 | + return view('fqa'); | ||
59 | + } | ||
60 | + | ||
61 | + public function shop() | ||
62 | + { | ||
63 | + $this->seo('shop'); | ||
64 | + return view('shop'); | ||
65 | + } | ||
66 | + | ||
67 | + public function shopApp() | ||
68 | + { | ||
69 | + $this->seo('shopApp'); | ||
70 | + return view('shopk_app'); | ||
71 | + } | ||
72 | + | ||
73 | + private function seo($page='home'){ | ||
74 | + $seo = [ | ||
75 | + 'home' => [ | ||
76 | + 'type' => '', | ||
77 | + 'app_name' => '', | ||
78 | + 'title' => '', | ||
79 | + 'keywords' => '', | ||
80 | + 'description' => '' | ||
81 | + ], | ||
82 | + 'about' => [ | ||
83 | + 'type' => '', | ||
84 | + 'app_name' => '', | ||
85 | + 'title' => '', | ||
86 | + 'keywords' => '', | ||
87 | + 'description' => '' | ||
88 | + ], | ||
89 | + 'blog' => [ | ||
90 | + 'type' => 'page', | ||
91 | + 'app_name' => 'ShopK', | ||
92 | + 'title' => 'ShopK - Trusted Online Reselling APP', | ||
93 | + 'keywords' => 'Shopping, APP, Shopk, Online Reseller App', | ||
94 | + 'description' => 'ShopK gives users access to a virtual shop, millions of products from trusted suppliers, payment and shipping facilities thereby removing the hassles of' | ||
95 | + ], | ||
96 | + 'kolSolution' => [ | ||
97 | + 'type' => 'page', | ||
98 | + 'app_name' => 'ShopK', | ||
99 | + 'title' => 'Kol Solution', | ||
100 | + 'keywords' => '', | ||
101 | + 'description' => '' | ||
102 | + ], | ||
103 | + 'fqa' => [ | ||
104 | + 'type' => 'page', | ||
105 | + 'app_name' => 'ShopK', | ||
106 | + 'title' => 'FAQs', | ||
107 | + 'keywords' => '', | ||
108 | + 'description' => 'What do I need to do to sign up? Simply fill out the application form to get started. We’ll contact you by WhatsApp. Does it cost me anything to become a ShopK affiliate? The program is free to join, there are no charges.' | ||
109 | + ], | ||
110 | + 'shop' => [ | ||
111 | + 'type' => 'page', | ||
112 | + 'app_name' => 'ShopK', | ||
113 | + 'title' => 'Shop', | ||
114 | + 'keywords' => '', | ||
115 | + 'description' => '' | ||
116 | + ], | ||
117 | + 'shopApp' => [ | ||
118 | + 'type' => 'page', | ||
119 | + 'app_name' => 'ShopK', | ||
120 | + 'title' => 'ShopK APP Download – Trusted Online Reselling APP', | ||
121 | + 'keywords' => '', | ||
122 | + 'description' => 'ShopK APP Download – Trusted Online Reselling APP' | ||
123 | + ], | ||
124 | + ]; | ||
125 | + View::share('seo',$seo[$page]); | ||
126 | + } | ||
127 | + | ||
128 | + | ||
129 | + /** | ||
130 | + * lang | ||
131 | + * @return string[] | ||
132 | + * @author:dc | ||
133 | + * @time 2022/11/16 14:35 | ||
134 | + */ | ||
135 | + public static function lang() | ||
136 | + { | ||
137 | + return [ | ||
138 | + 'en' => 'English', | ||
139 | + 'fr' => 'French', | ||
140 | + 'de' => 'German', | ||
141 | + 'pt' => 'Portuguese', | ||
142 | + 'es' => 'Spanish', | ||
143 | + 'ru' => 'Russian', | ||
144 | + 'ja' => 'Japanese', | ||
145 | + 'ko' => 'Korean', | ||
146 | + 'ar' => 'Arabic', | ||
147 | + 'ga' => 'Irish', | ||
148 | + 'el' => 'Greek', | ||
149 | + 'tr' => 'Turkish', | ||
150 | + 'it' => 'Italian', | ||
151 | + 'da' => 'Danish', | ||
152 | + 'ro' => 'Romanian', | ||
153 | + 'id' => 'Indonesian', | ||
154 | + 'cs' => 'Czech', | ||
155 | + 'af' => 'Afrikaans', | ||
156 | + 'sv' => 'Swedish', | ||
157 | + 'pl' => 'Polish', | ||
158 | + 'eu' => 'Basque', | ||
159 | + 'ca' => 'Catalan', | ||
160 | + 'eo' => 'Esperanto', | ||
161 | + 'hi' => 'Hindi', | ||
162 | + 'lo' => 'Lao', | ||
163 | + 'sq' => 'Albanian', | ||
164 | + 'am' => 'Amharic', | ||
165 | + 'hy' => 'Armenian', | ||
166 | + 'az' => 'Azerbaijani', | ||
167 | + 'be' => 'Belarusian', | ||
168 | + 'bn' => 'Bengali', | ||
169 | + 'bs' => 'Bosnian', | ||
170 | + 'bg' => 'Bulgarian', | ||
171 | + 'ceb' => 'Cebuano', | ||
172 | + 'ny' => 'Chichewa', | ||
173 | + 'co' => 'Corsican', | ||
174 | + 'hr' => 'Croatian', | ||
175 | + 'nl' => 'Dutch', | ||
176 | + 'et' => 'Estonian', | ||
177 | + 'tl' => 'Filipino', | ||
178 | + 'fi' => 'Finnish', | ||
179 | + 'fy' => 'Frisian', | ||
180 | + 'gl' => 'Galician', | ||
181 | + 'ka' => 'Georgian', | ||
182 | + 'gu' => 'Gujarati', | ||
183 | + 'ht' => 'Haitian', | ||
184 | + 'ha' => 'Hausa', | ||
185 | + 'haw' => 'Hawaiian', | ||
186 | + 'iw' => 'Hebrew', | ||
187 | + 'hmn' => 'Hmong', | ||
188 | + 'hu' => 'Hungarian', | ||
189 | + 'is' => 'Icelandic', | ||
190 | + 'ig' => 'Igbo', | ||
191 | + 'jw' => 'Javanese', | ||
192 | + 'kn' => 'Kannada', | ||
193 | + 'kk' => 'Kazakh', | ||
194 | + 'km' => 'Khmer', | ||
195 | + 'ku' => 'Kurdish', | ||
196 | + 'ky' => 'Kyrgyz', | ||
197 | + 'la' => 'Latin', | ||
198 | + 'lv' => 'Latvian', | ||
199 | + 'lt' => 'Lithuanian', | ||
200 | + 'lb' => 'Luxembou..', | ||
201 | + 'mk' => 'Macedonian', | ||
202 | + 'mg' => 'Malagasy', | ||
203 | + 'ms' => 'Malay', | ||
204 | + 'ml' => 'Malayalam', | ||
205 | + 'mt' => 'Maltese', | ||
206 | + 'mi' => 'Maori', | ||
207 | + 'mr' => 'Marathi', | ||
208 | + 'mn' => 'Mongolian', | ||
209 | + 'my' => 'Burmese', | ||
210 | + 'ne' => 'Nepali', | ||
211 | + 'no' => 'Norwegian', | ||
212 | + 'ps' => 'Pashto', | ||
213 | + 'fa' => 'Persian', | ||
214 | + 'pa' => 'Punjabi', | ||
215 | + 'sr' => 'Serbian', | ||
216 | + 'st' => 'Sesotho', | ||
217 | + 'si' => 'Sinhala', | ||
218 | + 'sk' => 'Slovak', | ||
219 | + 'sl' => 'Slovenian', | ||
220 | + 'so' => 'Somali', | ||
221 | + 'sm' => 'Samoan', | ||
222 | + 'gd' => 'Scots Gaelic', | ||
223 | + 'sn' => 'Shona', | ||
224 | + 'sd' => 'Sindhi', | ||
225 | + 'su' => 'Sundanese', | ||
226 | + 'sw' => 'Swahili', | ||
227 | + 'tg' => 'Tajik', | ||
228 | + 'ta' => 'Tamil', | ||
229 | + 'te' => 'Telugu', | ||
230 | + 'th' => 'Thai', | ||
231 | + 'uk' => 'Ukrainian', | ||
232 | + 'ur' => 'Urdu', | ||
233 | + 'uz' => 'Uzbek', | ||
234 | + 'vi' => 'Vietnamese', | ||
235 | + 'cy' => 'Welsh', | ||
236 | + 'xh' => 'Xhosa', | ||
237 | + 'yi' => 'Yiddish', | ||
238 | + 'yo' => 'Yoruba', | ||
239 | + 'zu' => 'Zulu', | ||
240 | + 'rw' => 'Kinyarwanda', | ||
241 | + 'tt' => 'Tatar', | ||
242 | + 'or' => 'Oriya', | ||
243 | + 'tk' => 'Turkmen', | ||
244 | + 'ug' => 'Uyghur' | ||
245 | + ]; | ||
246 | + } | ||
247 | + | ||
248 | +} |
public/21434579.js
0 → 100644
1 | +(function(){var config = {itv: 1800000,url1:'//ia.51.la/go1?id=21434579',ekc:''};!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(){var e=void 0,t=/id=(\d+)/.exec(config.url1)[1]||"";try{e=u.get("__tins__"+t)}catch(t){e=!1}var n=e&&i.isN(e.sid)&&i.isN(e.expires)&&g-e.sid<18e5?0:1,r=n?1:e.vd+1,o=n?g:e.sid,c=g+18e5;return u.set("__tins__"+t,s.stringify({sid:o,vd:r,expires:c}),null,"/"),[n,n?o:u.get("__tins__"+t).sid,r]}function o(){var e=s.parse(s.stringify(i.extend({},y,v))),t=i.obj2url(e),n=config.url1+"&rt="+g+"&"+t,r=new Image(1,1);r.src=n}var i=n(4),c=n(5),u=n(7).store,s=n(6),a=window,f=a.location,l=a.screen,p=a.navigator,g=i.now(),d=!0,m=r(),v={ekc:config.ekc,sid:m[1],tt:c.getMeta.tt,kw:c.getMeta.kw,cu:f.href,pu:c.getRef()},y={rl:l.width+"*"+l.height,lang:p.language||p.browserLanguage,ct:function(){var e=p.connection||p.mozConnection||p.webkitConnection||p.oConnection,t=i.hasIt(p.userAgent,"mobile")&&e?e.type:"unknow";return t}(),pf:function(){var e=d?1:0;return d=0,e}(),ins:m[0],vd:m[2],ce:p.cookieEnabled?1:0,cd:l.colorDepth||l.pixelDepth,ds:c.getMeta.ds};o.version="2.2.1.2",n(10)(y),o()},,,,function(e,t){"use strict";function n(e,t){return void 0!==e&&e.indexOf(t)!==-1}function r(e){return function(t){return Object.prototype.toString.call(t)==="[object "+e+"]"}}function o(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function i(e){return e.replace(/&/g,"~_~")}function c(e){var t="";for(var n in e)""!==t&&(t+="&"),t+=n+"="+a(a(i(String(e[n]))));return t}function u(e){return e.replace(/^\s+|\s+$/g,"")}function s(){return+new Date}var a=encodeURIComponent,f=r("Object"),l=r("Number"),p=r("String"),g=r("Array"),d=r("Function"),m=r("RegExp");e.exports={isO:f,isN:l,isF:d,isR:m,isS:p,isA:g,hasIt:n,extend:o,obj2url:c,trim:u,now:s}},function(e,t,n){"use strict";function r(e){return u.getElementsByTagName(e.toLowerCase())}function o(){var e="";try{e=c.top.document.referrer}catch(t){if(c.parent)try{e=c.parent.document.referrer}catch(t){e=""}}return""===e&&(e=u.referrer),e}var i=n(4),c=window,u=c.document,s=function(){var e=r("meta"),t=r("title"),n={kw:"",ds:""},o=void 0;n.tt=i.trim(t.length?t[0].innerHTML:"");for(var c=0;c<e.length;c++)e[c].name&&(o=e[c].name.toLowerCase(),i.hasIt("keywords",o)&&(n.kw=e[c].content.slice(0,100)),i.hasIt("description",o)&&(n.ds=e[c].content.slice(0,30)));return n}();e.exports={getMeta:s,getRef:o}},function(module,exports){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};module.exports={parse:function parse(sJSON){return eval("("+sJSON+")")},stringify:function(){function e(o){if(null==o)return"null";if("number"==typeof o)return isFinite(o)?o.toString():"null";if("boolean"==typeof o)return o.toString();if("object"===("undefined"==typeof o?"undefined":_typeof(o))){if("function"==typeof o.toJSON)return e(o.toJSON());if(r(o)){for(var u="[",s=0;s<o.length;s++)u+=(s?", ":"")+e(o[s]);return u+"]"}if("[object Object]"===t.call(o)){var a=[];for(var f in o)n.call(o,f)&&a.push(e(f)+": "+e(o[f]));return"{"+a.join(", ")+"}"}}return'"'+o.toString().replace(c,i)+'"'}var t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=Array.isArray||function(e){return"[object Array]"===t.call(e)},o={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},i=function(e){return o[e]||"\\u"+(e.charCodeAt(0)+65536).toString(16).substr(1)},c=/[\\"\u0000-\u001F\u2028\u2029]/g;return e}()}},function(e,t,n){"use strict";var r=n(5),o=n(6),i={get:function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[-.+*]/g,"\\$&")+"\\s*\\=s*([^;]*).*$)|^.*$"),"$1"))||null},set:function(e,t,n,r,o,i){if(!e||/^(?:expires|max-age|path|domain|secure)$/i.test(e))return!1;var c="";if(n)switch(n.constructor){case Number:c=n===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:c="; expires="+n;break;case Date:c="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+c+(o?"; domain="+o:"")+(r?"; path="+r:"")+(i?"; secure":""),!0}},c={get:function(e){return o.parse((r.isMobi?window.localStorage.getItem(e):i.get(e))||"{}")},set:function(e,t,n,o){return r.isMobi?window.localStorage.setItem(e,t):i.set(e,t,n,o)}};e.exports={cookie:i,store:c}},,,function(e,t,n){"use strict";var r=n(4),o=n(7);e.exports=function(e){var t=o.store.get("__51laig__");t=r.isN(t)?parseInt(t)+1:1,o.cookie.set("__51cke__",config.ekc,null,"/"),e.ing=t,o.store.set("__51laig__",t,null,"/")}}]);}()); |
public/favicon.ico
已删除
100644 → 0
@@ -4,7 +4,7 @@ use Illuminate\Contracts\Http\Kernel; | @@ -4,7 +4,7 @@ use Illuminate\Contracts\Http\Kernel; | ||
4 | use Illuminate\Http\Request; | 4 | use Illuminate\Http\Request; |
5 | 5 | ||
6 | define('LARAVEL_START', microtime(true)); | 6 | define('LARAVEL_START', microtime(true)); |
7 | - | 7 | +define('PUBLIC_PATH',__DIR__.'/'); |
8 | /* | 8 | /* |
9 | |-------------------------------------------------------------------------- | 9 | |-------------------------------------------------------------------------- |
10 | | Check If Application Is Under Maintenance | 10 | | Check If Application Is Under Maintenance |
public/shopk.apk
0 → 100644
不能预览此文件类型
不能预览此文件类型
不能预览此文件类型
public/style/global/img/demo/ab_banner01.jpg
0 → 100644
86.4 KB
public/style/global/img/demo/ad_banner02.jpg
0 → 100644
78.7 KB
public/style/global/img/demo/ad_banner03.jpg
0 → 100644
67.0 KB
public/style/global/img/demo/bg01.png
0 → 100644
27.3 KB
public/style/global/img/demo/bg03.jpg
0 → 100644
60.0 KB
public/style/global/img/demo/ico01.png
0 → 100644
2.8 KB
public/style/global/img/demo/ico02.png
0 → 100644
3.5 KB
public/style/global/img/demo/ico03.png
0 → 100644
3.1 KB
public/style/global/img/demo/ico04.png
0 → 100644
2.7 KB
public/style/global/img/demo/ico06.png
0 → 100644
8.7 KB
public/style/global/img/demo/ico07.png
0 → 100644
9.3 KB
public/style/global/img/demo/ico08.png
0 → 100644
5.3 KB
public/style/global/img/demo/pic06.png
0 → 100644
188.9 KB
public/style/global/js/common.js
0 → 100644
1 | +/*Swiper Banner*/ | ||
2 | +if ($('.swiper-wrapper .swiper-slide').length < 2) { $('.swiper-pagination').hide() } | ||
3 | + | ||
4 | +// transition | ||
5 | +$(function(){ | ||
6 | + $(window).on('load',function(){ | ||
7 | + $('body').removeClass('preload'); | ||
8 | + }) | ||
9 | +}) | ||
10 | + | ||
11 | + | ||
12 | +$(function(){ | ||
13 | + | ||
14 | + // header | ||
15 | + createDropBtn(); | ||
16 | + changeuRL($('a')); | ||
17 | + setHeadFixed(); | ||
18 | + | ||
19 | + setLanguageDrop(); | ||
20 | + goTop(); | ||
21 | + | ||
22 | + | ||
23 | + setBannerSwiper(); | ||
24 | + | ||
25 | + // fit mobile | ||
26 | + mSizeChange(); | ||
27 | + $(window).resize(function() { mSizeChange() }); | ||
28 | + | ||
29 | + // subpage | ||
30 | + setViewSwiper(); | ||
31 | + setRealtedSwiper(); | ||
32 | + tabContainer('.tab-content-wrap', '.tab-title', '.tab-panel'); | ||
33 | + faqAccordion(); | ||
34 | + setCateNav(); | ||
35 | +}) | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | +/*---------------------------------------------- | ||
41 | + FUNCTIONS | ||
42 | +------------------------------------------------*/ | ||
43 | + | ||
44 | + | ||
45 | +/* setBannerSwiper */ | ||
46 | +var interleaveOffset = 0.5; | ||
47 | +function setBannerSwiper(){ | ||
48 | + if($('.slider_banner .swiper-slide').length){ | ||
49 | + var bnItemNum=$('.slider_banner .swiper-slide').length; | ||
50 | + var bnLoop=true; | ||
51 | + if(bnItemNum<2){ | ||
52 | + bnLoop=false; | ||
53 | + } | ||
54 | + var bannerSwiper = new Swiper('.slider_banner', { | ||
55 | + effect: 'slide', | ||
56 | + speed: 1200, | ||
57 | + parallax: true, | ||
58 | + loop: bnLoop, | ||
59 | + allowTouchMove: bnLoop, | ||
60 | + autoplay: { | ||
61 | + delay: 6000, | ||
62 | + disableOnInteraction: false, | ||
63 | + }, | ||
64 | + pagination: { | ||
65 | + el: '.slider_banner .swiper-pagination', | ||
66 | + clickable: true, | ||
67 | + }, | ||
68 | + navigation: { | ||
69 | + nextEl: '.slider_banner .swiper-button-next', | ||
70 | + prevEl: '.slider_banner .swiper-button-prev', | ||
71 | + }, | ||
72 | + on: { | ||
73 | + progress: function() { | ||
74 | + var swiper = this; | ||
75 | + for (var i = 0; i < swiper.slides.length; i++) { | ||
76 | + var slideProgress = swiper.slides[i].progress; | ||
77 | + var innerOffset = swiper.width * interleaveOffset; | ||
78 | + var innerTranslate = slideProgress * innerOffset; | ||
79 | + swiper.slides[i].querySelector(".banner_item_img").style.transform = | ||
80 | + "translate3d(" + innerTranslate + "px, 0, 0)"; | ||
81 | + } | ||
82 | + }, | ||
83 | + touchStart: function() { | ||
84 | + var swiper = this; | ||
85 | + for (var i = 0; i < swiper.slides.length; i++) { | ||
86 | + swiper.slides[i].style.transition = ""; | ||
87 | + } | ||
88 | + }, | ||
89 | + setTransition: function(speed) { | ||
90 | + var swiper = this; | ||
91 | + for (var i = 0; i < swiper.slides.length; i++) { | ||
92 | + swiper.slides[i].style.transition = speed + "ms"; | ||
93 | + swiper.slides[i].querySelector(".banner_item_img").style.transition = | ||
94 | + speed + "ms"; | ||
95 | + } | ||
96 | + } | ||
97 | + } | ||
98 | + }); | ||
99 | + bannerSwiper.on('slideChange', function() { | ||
100 | + setCurPage('.slider_banner', bannerSwiper) | ||
101 | + }); | ||
102 | + function setCurPage(sliderWrap, ele) { | ||
103 | + var curIndex = ele.realIndex + 1; | ||
104 | + var total = ele.slides.length - 2; | ||
105 | + var curHtml = '<i class="cur">' + curIndex + '</i>' + '<b class="line">/</b>' + '<i class="total">' + total + '</i>'; | ||
106 | + $(sliderWrap).find('.slide-page-box').html(curHtml); | ||
107 | + } | ||
108 | + } | ||
109 | +} | ||
110 | + | ||
111 | + | ||
112 | +//swiper.animate.min.js | ||
113 | + | ||
114 | +function swiperAnimateCache(a) { | ||
115 | + for (j = 0; j < a.slides.length; j++) | ||
116 | + for (allBoxes = a.slides[j].querySelectorAll(".ani"), i = 0; i < allBoxes.length; i++) allBoxes[i].attributes["style"] ? allBoxes[i].setAttribute("swiper-animate-style-cache", allBoxes[i].attributes["style"].value) : allBoxes[i].setAttribute("swiper-animate-style-cache", " "), allBoxes[i].style.visibility = "hidden" | ||
117 | +} | ||
118 | +function swiperAnimate(a) { | ||
119 | + clearSwiperAnimate(a); | ||
120 | + var b = a.slides[a.activeIndex].querySelectorAll(".ani"); | ||
121 | + for (i = 0; i < b.length; i++) b[i].style.visibility = "visible", effect = b[i].attributes["swiper-animate-effect"] ? b[i].attributes["swiper-animate-effect"].value : "", b[i].className = b[i].className + " " + effect + " " + "animated", style = b[i].attributes["style"].value, duration = b[i].attributes["swiper-animate-duration"] ? b[i].attributes["swiper-animate-duration"].value : "", duration && (style = style + "animation-duration:" + duration + ";-webkit-animation-duration:" + duration + ";"), delay = b[i].attributes["swiper-animate-delay"] ? b[i].attributes["swiper-animate-delay"].value : "", delay && (style = style + "animation-delay:" + delay + ";-webkit-animation-delay:" + delay + ";"), b[i].setAttribute("style", style) | ||
122 | +} | ||
123 | + | ||
124 | +function clearSwiperAnimate(a) { | ||
125 | + for (j = 0; j < a.slides.length; j++) | ||
126 | + for (allBoxes = a.slides[j].querySelectorAll(".ani"), i = 0; i < allBoxes.length; i++) allBoxes[i].attributes["swiper-animate-style-cache"] && allBoxes[i].setAttribute("style", allBoxes[i].attributes["swiper-animate-style-cache"].value), allBoxes[i].style.visibility = "hidden", allBoxes[i].className = allBoxes[i].className.replace("animated", " "), allBoxes[i].attributes["swiper-animate-effect"] && (effect = allBoxes[i].attributes["swiper-animate-effect"].value, allBoxes[i].className = allBoxes[i].className.replace(effect, " ")) | ||
127 | +} | ||
128 | + | ||
129 | + | ||
130 | +/*setViewSwiper*/ | ||
131 | +function setViewSwiper(){ | ||
132 | + var viewSwiper = new Swiper('.image-additional', { | ||
133 | + slidesPerView: 3, | ||
134 | + spaceBetween: 0, | ||
135 | + pagination: { | ||
136 | + el: '.product-view .swiper-pagination', | ||
137 | + clickable: true, | ||
138 | + }, | ||
139 | + navigation: { | ||
140 | + nextEl: '.product-view .swiper-button-next', | ||
141 | + prevEl: '.product-view .swiper-button-prev', | ||
142 | + }, | ||
143 | + breakpoints: { | ||
144 | + 1366: { | ||
145 | + slidesPerView: 3 | ||
146 | + }, | ||
147 | + 768: { | ||
148 | + slidesPerView: 3 | ||
149 | + }, | ||
150 | + 480: { | ||
151 | + slidesPerView: 1 | ||
152 | + } | ||
153 | + } | ||
154 | + }); | ||
155 | +} | ||
156 | + | ||
157 | +/*setRealtedSwiper*/ | ||
158 | +function setRealtedSwiper(){ | ||
159 | + var realtedSwiper = new Swiper('.goods-may-like .swiper-slider', { | ||
160 | + slidesPerView: 3, | ||
161 | + spaceBetween: 25, | ||
162 | + speed: 400, | ||
163 | + navigation: { | ||
164 | + nextEl: '.goods-may-like .swiper-button-next', | ||
165 | + prevEl: '.goods-may-like .swiper-button-prev', | ||
166 | + }, | ||
167 | + breakpoints: { | ||
168 | + 1920: { | ||
169 | + slidesPerView:3 | ||
170 | + }, | ||
171 | + 1440: { | ||
172 | + slidesPerView: 3, | ||
173 | + spaceBetween: 15 | ||
174 | + }, | ||
175 | + 1280: { | ||
176 | + slidesPerView: 2 | ||
177 | + }, | ||
178 | + 480: { | ||
179 | + slidesPerView: 2, | ||
180 | + slidesPerGroup:2, | ||
181 | + spaceBetween: 4 | ||
182 | + } | ||
183 | + | ||
184 | + } | ||
185 | + }); | ||
186 | +} | ||
187 | + | ||
188 | +/*createDropBtn*/ | ||
189 | +function createDropBtn(){ | ||
190 | + if($('.head_nav li').length){ | ||
191 | + $('.head_nav li').each(function() { | ||
192 | + if ($(this).find('ul').length) { | ||
193 | + $(this).children('a,.menu_cell_tit').append("<b class='menu_toggle'></b>"); | ||
194 | + $(this).addClass('has-child'); | ||
195 | + } | ||
196 | + else { | ||
197 | + if (!$(this).siblings('li').find('ul').length) { | ||
198 | + $(this).addClass('siblings-no-menu') | ||
199 | + } | ||
200 | + } | ||
201 | + }) | ||
202 | + } | ||
203 | +} | ||
204 | + | ||
205 | +/*hideMsgPop*/ | ||
206 | +function hideMsgPop() { $('.inquiry-pop-bd').fadeOut('fast') } | ||
207 | +if ($('body .inquiry-form-wrap').length > 0) { | ||
208 | + var webTop = $('body .inquiry-form-wrap').offset().top - 80 | ||
209 | + $('.product-btn-wrap .email,.company_subscribe .button,.side_content .side_list .email').click(function() { | ||
210 | + $("html, body").animate({ scrollTop: webTop }, 1000); | ||
211 | + $(".ad_prompt").show().delay(3000).hide(300); | ||
212 | + }) | ||
213 | +} else { | ||
214 | + $('.product-btn-wrap .email,.company_subscribe .button,.side_content .side_list .email').click(function() { | ||
215 | + $('.inquiry-pop-bd').fadeIn('fast') | ||
216 | + }) | ||
217 | +} | ||
218 | +$('.inquiry-pop,.product-btn-wrap .email,.company_subscribe .button,.side_content .side_list .email').click(function(e) { e.stopPropagation(); }) | ||
219 | +$(document).click(function() { hideMsgPop() }) | ||
220 | + | ||
221 | +/*changeuRL*/ | ||
222 | +function changeuRL(link) { | ||
223 | + var curUrl = document.location.href; | ||
224 | + var oldUrl = window.location.host + '/'; | ||
225 | + var lgArr = ['fr/', 'de/', 'pt/', 'es/', 'ru/', 'ko/', 'ar/', 'ga/', 'ja/', 'el/', 'tr/', 'it/', 'da/', 'ro/', 'id/', 'cs/', 'af/', 'sv/', 'pl/', 'eu/', 'ca/', 'eo/', 'hi/', 'lo/', 'sq/', 'am/', 'hy/', 'az/', 'be/', 'bn/', 'bs/', 'bg/', 'ceb/', 'ny/', 'co/', 'hr/', 'nl/', 'et/', 'tl/', 'fi/', 'fy/', 'gl/', 'ka/', 'gu/', 'ht/', 'ha/', 'haw/', 'iw/', 'hmn/', 'hu/', 'is/', 'ig/', 'jw/', 'kn/', 'kk/', 'km/', 'ku/', 'ky/', 'la/', 'lv/', 'lt/', 'lb/', 'mk/', 'mg/', 'ms/', 'ml/', 'mt/', 'mi/', 'mr/', 'mn/', 'my/', 'ne/', 'no/', 'ps/', 'fa/', 'pa/', 'sr/', 'st/', 'si/', 'sk/', 'sl/', 'so/', 'sm/', 'gd/', 'sn/', 'sd/', 'su/', 'sw/', 'tg/', 'ta/', 'te/', 'th/', 'uk/', 'ur/', 'uz/', 'vi/', 'cy/', 'xh/', 'yi/', 'yo/', 'zu/', 'zh-CN/', 'zh-TW/']; | ||
226 | + $.each(lgArr, function(i, lenItem) { | ||
227 | + var lgUrl = oldUrl.toString() + lenItem; | ||
228 | + if (curUrl.indexOf(lgUrl) != -1) { | ||
229 | + link.each(function(i) { | ||
230 | + if (!$(this).parents().hasClass('language-flag')) { | ||
231 | + var iLink; | ||
232 | + if ($(this).prop('href')) { | ||
233 | + iLink = $(this).prop('href'); | ||
234 | + } | ||
235 | + if (String(iLink).indexOf(oldUrl) != -1 && String(iLink).indexOf(lgUrl) == -1 && curUrl.indexOf(lgUrl) != -1) { | ||
236 | + var newLink = iLink.replace(oldUrl, lgUrl); | ||
237 | + $(this).attr('href', newLink); | ||
238 | + } | ||
239 | + } | ||
240 | + }) | ||
241 | + } | ||
242 | + }); | ||
243 | +} | ||
244 | + | ||
245 | +/*setLanguageDrop*/ | ||
246 | +function setLanguageDrop(){ | ||
247 | + $('.change-language .change-language-cont').append("<div class='change-empty'>Untranslated</div>") | ||
248 | + $('.prisna-wp-translate-seo').append("<div class='lang-more'>More Language</div>") | ||
249 | + if ($('body .prisna-wp-translate-seo').length > 0 && $('.change-language .prisna-wp-translate-seo').length < 1) { | ||
250 | + $('.prisna-wp-translate-seo').appendTo('.change-language .change-language-cont') | ||
251 | + if ($('.change-language .change-language-cont .prisna-wp-translate-seo li').length > 0) { | ||
252 | + $('.change-language .change-language-cont .change-empty').hide() | ||
253 | + $('.change-language .change-language-cont .prisna-wp-translate-seo li').each(function(index) { | ||
254 | + if (index > 35) { | ||
255 | + $(this).addClass('lang-item lang-item-hide') | ||
256 | + $('.change-language-cont').find('.lang-more').fadeIn() | ||
257 | + } else { | ||
258 | + $('.change-language-cont').find('.lang-more').fadeOut() | ||
259 | + } | ||
260 | + }) | ||
261 | + if ($('.change-language-cont .lang-more').length > 0) { | ||
262 | + $('.change-language-cont .lang-more').click(function() { | ||
263 | + if ($(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').hasClass('lang-item-hide')) { | ||
264 | + $(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').removeClass('lang-item-hide') | ||
265 | + $(this).addClass('more-active').text('×') | ||
266 | + } else { | ||
267 | + $(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').addClass('lang-item-hide') | ||
268 | + $(this).removeClass('more-active').text('More Language') | ||
269 | + } | ||
270 | + }) | ||
271 | + } | ||
272 | + } else { | ||
273 | + $('.change-language .change-language-cont .change-empty').fadeIn() | ||
274 | + } | ||
275 | + } | ||
276 | +} | ||
277 | + | ||
278 | +/*goTop*/ | ||
279 | +function goTop(){ | ||
280 | + var mHeadTop = $('.web_head').offset().top; | ||
281 | + var $backToTopTxt = "", | ||
282 | + $backToTopEle = $('<span class="gotop"></span>').appendTo($("body")) | ||
283 | + .html('<em>' + $backToTopTxt + '</em>').attr("title", $backToTopTxt).click(function() { | ||
284 | + $("html, body").animate({ scrollTop: 0 }, 300); | ||
285 | + }), | ||
286 | + $backToTopFun = function() { | ||
287 | + var st = $(document).scrollTop(), | ||
288 | + winh = $(window).height(); | ||
289 | + (st > mHeadTop) ? $backToTopEle.addClass('active'): $backToTopEle.removeClass('active'); | ||
290 | + if (!window.XMLHttpRequest) { | ||
291 | + $backToTopEle.css("top", st + winh - 210); | ||
292 | + } | ||
293 | + }; | ||
294 | + $(window).bind("scroll", $backToTopFun); | ||
295 | + $backToTopFun(); | ||
296 | +} | ||
297 | + | ||
298 | +/*faqAccordion*/ | ||
299 | +function faqAccordion(){ | ||
300 | + $('.faq-item').each(function(index) { | ||
301 | + var _this = $(this) | ||
302 | + var title = _this.find('.faq-title') | ||
303 | + var cont = _this.find('.faq-cont') | ||
304 | + if (index == 0) { | ||
305 | + title.addClass('show-title') | ||
306 | + } | ||
307 | + title.on('click', function() { | ||
308 | + if (cont.is(':hidden') && !$(this).hasClass('show-title')) { | ||
309 | + cont.slideDown('fast') | ||
310 | + $(this).addClass('show-title') | ||
311 | + _this.siblings().find('.faq-title').removeClass('show-title') | ||
312 | + _this.siblings().find('.faq-cont').slideUp('fast') | ||
313 | + } else { | ||
314 | + cont.slideUp('fast') | ||
315 | + $(this).removeClass('show-title') | ||
316 | + } | ||
317 | + }) | ||
318 | + }) | ||
319 | +} | ||
320 | + | ||
321 | +/*getWinSize*/ | ||
322 | +var winWidth = 0; | ||
323 | +var winHeight = 0; | ||
324 | +function getWinSize() { | ||
325 | + if (window.innerWidth) { | ||
326 | + winWidth = window.innerWidth; | ||
327 | + winHeight = window.innerHeight; | ||
328 | + } | ||
329 | + else if ((document.body) && (document.body.clientWidth)) { | ||
330 | + winWidth = document.body.clientWidth; | ||
331 | + winHeight = document.body.clientHeight; | ||
332 | + } | ||
333 | + else{ | ||
334 | + winHeight = document.documentElement.scrollWidth; | ||
335 | + winWidth = document.documentElement.scrollWidth; | ||
336 | + } | ||
337 | +} | ||
338 | + | ||
339 | +/*setHeadFixed*/ | ||
340 | +function setHeadFixed(){ | ||
341 | + getWinSize(); | ||
342 | + var $nav = $('.web_head'), | ||
343 | + navTop = $('.nav_wrap').offset().top, | ||
344 | + headH = $('.head_layer').outerHeight(), | ||
345 | + winTop_1 = 0, | ||
346 | + spr = $('body').height() - $nav.height(), | ||
347 | + holder = jQuery('<div class="head_holder">'); | ||
348 | + function fixedTop() { | ||
349 | + var winTop_2 = $(window).scrollTop(); | ||
350 | + holder.css('height', headH); | ||
351 | + if (winTop_2 > $('.web_head').outerHeight() && winWidth >= 950) { | ||
352 | + holder.show().appendTo($nav); | ||
353 | + $nav.addClass('fixed-nav'); | ||
354 | + $nav.parents('body').addClass('fixed-body'); | ||
355 | + setTimeout(function() { $nav.addClass('fixed-nav-active') }); | ||
356 | + } else { | ||
357 | + holder.hide(); | ||
358 | + $nav.removeClass('fixed-nav fixed-nav-active'); | ||
359 | + $nav.parents('body').removeClass('fixed-body'); | ||
360 | + } | ||
361 | + if (winTop_2 > winTop_1 && winWidth >= 950) { | ||
362 | + $nav.removeClass('fixed-nav-appear'); | ||
363 | + } else if (winTop_2 < winTop_1) { | ||
364 | + $nav.addClass('fixed-nav-appear'); | ||
365 | + } | ||
366 | + winTop_1 = $(window).scrollTop(); | ||
367 | + } | ||
368 | + fixedTop(); | ||
369 | + $(window).on('scroll', function() { | ||
370 | + fixedTop(); | ||
371 | + }) | ||
372 | + $(window).on('resize', function() { | ||
373 | + fixedTop(); | ||
374 | + }) | ||
375 | +} | ||
376 | + | ||
377 | +/*mSizeChange*/ | ||
378 | +function mSizeChange() { | ||
379 | + getWinSize(); | ||
380 | + if (winWidth <= 950) { | ||
381 | + if ($('.mobile-head-items').length < 1) { | ||
382 | + var mobileService = '<div class="mobile-head-items"><div class="mobile-head-item mobile-head-nav"><div class="title"></div><div class="main-content-wrap side-content-wrap"><div class="content-wrap"></div></div></div><div class="mobile-head-item mobile-head-language"><div class="title"></div><div class="main-content-wrap side-content-wrap"><div class="content-wrap"></div></div></div><div class="mobile-head-item mobile-head-search"><div class="title"></div><div class="main-content-wrap middle-content-wrap"><div class="content-wrap"></div></div></div>' | ||
383 | + $('body').append(mobileService) | ||
384 | + if ($('body .aside').length > 0) { | ||
385 | + $('.mobile-head-items').append('<div class="mobile-head-item mobile-head-aside"><div class="title"></div><div class="main-content-wrap side-content-wrap"><div class="content-wrap"></div></div></div>') | ||
386 | + } | ||
387 | + $('.mobile-head-item').each(function() { | ||
388 | + $(this).find('.title').click(function() { | ||
389 | + if ($(this).parents('.mobile-head-item').find('.main-content-wrap').length > 0) { | ||
390 | + var pItem = $(this).parents('.mobile-head-item') | ||
391 | + if (!pItem.find('.main-content-wrap').hasClass('show-content-wrap')) { | ||
392 | + pItem.find('.main-content-wrap').addClass('show-content-wrap') | ||
393 | + pItem.find('.side-content-wrap').stop().animate({ 'left': '0' }, 300) | ||
394 | + pItem.find('.middle-content-wrap').addClass('middle-show-content-wrap') | ||
395 | + pItem.find('.side-content-wrap').append("<b class='mobile-ico-close'></b>") | ||
396 | + pItem.siblings('.mobile-head-item').find('.main-content-wrap').removeClass('show-content-wrap') | ||
397 | + pItem.siblings('.mobile-head-item').find('.side-content-wrap').stop().animate({ 'left': '-80%' }, 300) | ||
398 | + pItem.siblings('.mobile-head-item').find('.middle-content-wrap').removeClass('middle-show-content-wrap') | ||
399 | + pItem.siblings('.mobile-head-item').find('.side-content-wrap .mobile-ico-close').remove() | ||
400 | + if ($('.mobile-head-items').find('.mobile-body-mask').length < 1) { | ||
401 | + $('.mobile-head-items').append('<div class="mobile-body-mask"></div>') | ||
402 | + } | ||
403 | + } else { | ||
404 | + pItem.find('.main-content-wrap').removeClass('show-content-wrap') | ||
405 | + pItem.find('.side-content-wrap').stop().animate({ 'left': '-80%' }, 300) | ||
406 | + pItem.find('.middle-content-wrap').removeClass('middle-show-content-wrap') | ||
407 | + pItem.find('.side-content-wrap .mobile-ico-close').remove() | ||
408 | + } | ||
409 | + $('.mobile-body-mask').click(function() { | ||
410 | + $('.mobile-body-mask').remove() | ||
411 | + $('.mobile-head-item .main-content-wrap').removeClass('show-content-wrap') | ||
412 | + $('.mobile-head-item .side-content-wrap').animate({ 'left': '-80%' }, 300) | ||
413 | + $('.mobile-head-item .middle-content-wrap').removeClass('middle-show-content-wrap') | ||
414 | + $('.mobile-head-item .side-content-wrap .mobile-ico-close').remove() | ||
415 | + // 点击遮罩层,恢复底部菜单状态 | ||
416 | + if ($(".mobile-head-item .title").length) { | ||
417 | + $(".mobile-head-item .title").removeClass("current"); | ||
418 | + } | ||
419 | + | ||
420 | + }) | ||
421 | + $('.mobile-ico-close').click(function() { | ||
422 | + $('.mobile-body-mask').remove() | ||
423 | + $('.mobile-head-item .main-content-wrap').removeClass('show-content-wrap') | ||
424 | + $('.mobile-head-item .side-content-wrap').stop().animate({ 'left': '-80%' }, 300) | ||
425 | + $('.mobile-head-item .middle-content-wrap').removeClass('middle-show-content-wrap') | ||
426 | + $('.mobile-head-item .side-content-wrap .mobile-ico-close').remove() | ||
427 | + }) | ||
428 | + } | ||
429 | + }) | ||
430 | + }) | ||
431 | + $('.change-currency ').clone().appendTo('.mobile-head-item.mobile-head-currency .main-content-wrap .content-wrap') | ||
432 | + $('.change-language .change-language-cont').clone().appendTo('.mobile-head-item.mobile-head-language .main-content-wrap .content-wrap') | ||
433 | + | ||
434 | + | ||
435 | + // 2021-07-22 | ||
436 | + if($('.btn_inquiry').length){ | ||
437 | + $('.btn_inquiry').clone().appendTo('.mobile-head-item.mobile-head-nav .main-content-wrap .content-wrap') | ||
438 | + } | ||
439 | + | ||
440 | + | ||
441 | + $('.nav_wrap .head_nav').clone().appendTo('.mobile-head-item.mobile-head-nav .main-content-wrap .content-wrap') | ||
442 | + | ||
443 | + | ||
444 | + $('.web_head .web_search_wrap').clone().appendTo('.mobile-head-item.mobile-head-search .main-content-wrap .content-wrap') | ||
445 | + $('.head_sns').clone().appendTo('.mobile-head-item.mobile-head-social .main-content-wrap .content-wrap') | ||
446 | + $('.aside .aside-wrap').clone().appendTo('.mobile-head-item.mobile-head-aside .main-content-wrap .content-wrap') | ||
447 | + } | ||
448 | + } | ||
449 | + //mobile end | ||
450 | + else { | ||
451 | + $(document).ready(function() { | ||
452 | + $('.mobile-body-mask,.mobile-head-items,.mobile-head-items,.mobile-nav-items,.mobile-cart-items,.mobile-tab-items').remove() | ||
453 | + }); | ||
454 | + } | ||
455 | +} | ||
456 | + | ||
457 | +/*setCateNav*/ | ||
458 | +function sideCate(cateEle,siblingsStatus){ | ||
459 | + $(cateEle).each(function() { | ||
460 | + if ($(this).find('ul').length ) { | ||
461 | + $(this).addClass('has-child'); | ||
462 | + $(this).append("<span class='icon-cate icon-cate-down'></span>") | ||
463 | + $(this).children('.icon-cate').click(function(e) { | ||
464 | + var mEle=$(this).parent('li'); | ||
465 | + var mList=$(this).parent('li').children('ul'); | ||
466 | + var msiblings=$(this).parent('li').siblings('li'); | ||
467 | + if(siblingsStatus==0){ | ||
468 | + msiblings.removeClass('li_active'); | ||
469 | + msiblings.children('ul').slideUp(150); | ||
470 | + msiblings.children('.icon-cate').removeClass('icon-cate-up').addClass('icon-cate-down'); | ||
471 | + } | ||
472 | + if (mList.is(':hidden')) { | ||
473 | + mEle.addClass('li_active'); | ||
474 | + mList.slideDown(150); | ||
475 | + $(this).removeClass('icon-cate-down').addClass('icon-cate-up'); | ||
476 | + } else { | ||
477 | + mEle.removeClass('li_active'); | ||
478 | + mList.slideUp(150); | ||
479 | + $(this).removeClass('icon-cate-up').addClass('icon-cate-down'); | ||
480 | + } | ||
481 | + e.stopPropagation(); | ||
482 | + }) | ||
483 | + } | ||
484 | + }) | ||
485 | +} | ||
486 | +function setCateNav(){ | ||
487 | + sideCate('.side-cate li',0); | ||
488 | + $('.side-cate,.side-cate ul').each(function(){ | ||
489 | + if(!$(this).find('ul').length){ | ||
490 | + $(this).addClass('cate-type-list'); | ||
491 | + } | ||
492 | + }) | ||
493 | + var $currentEle=$('.side-widget .side-cate .nav-current'); | ||
494 | + var $currentParent=$currentEle.parents('ul'); | ||
495 | + if ($currentParent.length && $currentEle.find('ul').length ) { | ||
496 | + $currentParent.show(); | ||
497 | + $currentEle.parents('li').addClass("show_li li_active"); | ||
498 | + $currentEle.parents('li.show_li').children('.icon-cate').removeClass('icon-cate-down').addClass('icon-cate-up'); | ||
499 | + $currentEle.children('ul').show(); | ||
500 | + $('.side-widget .side-cate .nav-current ').children('.icon-cate').removeClass('icon-cate-down').addClass('icon-cate-up'); | ||
501 | + } else if ($currentParent.length > 0 && $currentEle.find('ul').length < 1) { | ||
502 | + $currentParent.show(); | ||
503 | + $currentEle.parents('li').addClass("show_li"); | ||
504 | + $currentEle.parents('li.show_li').children('.icon-cate').removeClass('icon-cate-down').addClass('icon-cate-up'); | ||
505 | + } else if ($currentParent.length < 1 && $currentEle.find('ul').length > 0) { | ||
506 | + $currentEle.children('ul').show(); | ||
507 | + $currentEle.children('.icon-cate').removeClass('icon-cate-down').addClass('icon-cate-up'); | ||
508 | + } | ||
509 | +} | ||
510 | + | ||
511 | +/*tabContainer*/ | ||
512 | +function tabContainer(container, title, panel) { | ||
513 | + $(container).each(function() { | ||
514 | + $(this).find(title).each(function() { | ||
515 | + if ($(this).hasClass('current')) { | ||
516 | + j = $(this).index(); | ||
517 | + $(this).parents(container).find(panel).eq(j).removeClass('disabled') | ||
518 | + } | ||
519 | + $(this).click(function() { | ||
520 | + i = $(this).index(); | ||
521 | + $(this).addClass('current').siblings().removeClass('current'); | ||
522 | + $(this).parents(container).find(panel).eq(i).show(); | ||
523 | + $(this).parents(container).find(panel).not($(this).parents(container).find(panel).eq(i)).hide(); | ||
524 | + }) | ||
525 | + }) | ||
526 | + }) | ||
527 | +} | ||
528 | + | ||
529 | + | ||
530 | + | ||
531 | + | ||
532 | + | ||
533 | +$('.business_right .events li').on('click', function() { | ||
534 | + $(this).addClass('current').siblings("li").removeClass('current') | ||
535 | + var i = $(this).index() | ||
536 | + $(this).parents('.index_business').find('.business_middle .tab_content').eq(i).addClass('current').siblings(".tab_content").removeClass('current') | ||
537 | +}) | ||
538 | +$('table').each(function() { | ||
539 | + if (!$(this).parent().hasClass('table_wrap')) { | ||
540 | + $(this).wrap("<div class='table_wrap'><//div>") | ||
541 | + } | ||
542 | +}) | ||
543 | + | ||
544 | + | ||
545 | + | ||
546 | + | ||
547 | +/* -------------- public Function --------------*/ | ||
548 | + | ||
549 | + | ||
550 | +/*! | ||
551 | + 切换CLASS | ||
552 | + ---------- | ||
553 | + * 说明: | ||
554 | + * btn: 按钮 | ||
555 | + * item: 父容器 | ||
556 | + * cName: 切换的className | ||
557 | + * siblingsStatus: 同级是否关闭(0:关闭,其他值:不受click影响) | ||
558 | +*/ | ||
559 | +function toggleEleClass(btn, item, cName, hName, siblingsStatus) { | ||
560 | + var $btn = $(btn); | ||
561 | + var $item = $(item); | ||
562 | + if (siblingsStatus == 0) { | ||
563 | + $btn.parents(item).siblings(item).removeClass(cName).addClass(hName); | ||
564 | + } | ||
565 | + if ($btn.parents(item).hasClass(cName)) { | ||
566 | + $btn.parents(item).removeClass(cName).addClass(hName); | ||
567 | + } else { | ||
568 | + $btn.parents(item).addClass(cName).removeClass(hName); | ||
569 | + } | ||
570 | +} | ||
571 | + | ||
572 | + | ||
573 | + | ||
574 | +// set head nav Direction | ||
575 | +function menuDirection(ele) { | ||
576 | + var winW = $(window).innerWidth(); | ||
577 | + $(ele).each(function() { | ||
578 | + if ($(this).find('ul').length) { | ||
579 | + var linkEleW = $(this).children('a').width(); | ||
580 | + var offRight = winW - $(this).offset().left; | ||
581 | + var childLen = $(this).find('ul').length; | ||
582 | + var childrenWidth = childLen * 250 + 10; | ||
583 | + if (offRight < childrenWidth) { | ||
584 | + $(this).addClass('menu_left'); | ||
585 | + } else { | ||
586 | + $(this).removeClass('menu_left'); | ||
587 | + } | ||
588 | + } | ||
589 | + }) | ||
590 | +} | ||
591 | + | ||
592 | +// dropMenu | ||
593 | +function dropMenu(menuItem, menuList,menustatus,showClass) { | ||
594 | + var mouseover_tid = []; | ||
595 | + var mouseout_tid = []; | ||
596 | + if(showClass){ | ||
597 | + showClass=showClass; | ||
598 | + } | ||
599 | + else{ | ||
600 | + showClass='active'; | ||
601 | + } | ||
602 | + $(menuItem).each(function(index) { | ||
603 | + $(this).hover( | ||
604 | + function() { | ||
605 | + var _self = this; | ||
606 | + clearTimeout(mouseout_tid[index]); | ||
607 | + mouseover_tid[index] = setTimeout(function() { | ||
608 | + if(menustatus=='1'){ | ||
609 | + $(_self).children(menuList).slideDown(150); | ||
610 | + } | ||
611 | + $(_self).addClass(showClass); | ||
612 | + }, 150); | ||
613 | + }, | ||
614 | + function() { | ||
615 | + var _self = this; | ||
616 | + clearTimeout(mouseover_tid[index]); | ||
617 | + mouseout_tid[index] = setTimeout(function() { | ||
618 | + if(menustatus=='1'){ | ||
619 | + $(_self).children(menuList).slideUp(50); | ||
620 | + } | ||
621 | + $(_self).removeClass(showClass); | ||
622 | + }, 150); | ||
623 | + } | ||
624 | + ); | ||
625 | + }) | ||
626 | +} | ||
627 | + | ||
628 | +// quick anchor | ||
629 | +function quickMeta(anchor){ | ||
630 | + var topH=0; | ||
631 | + if($('.index_web_head').length){ | ||
632 | + topH=$('.index_web_head').outerHeight(); | ||
633 | + } | ||
634 | + var $anchor=$(anchor); | ||
635 | + $anchor.on('click',function(){ | ||
636 | + if($('.mobile-nav').length){ | ||
637 | + topH=$('.mobile-nav').height(); | ||
638 | + } | ||
639 | + var targetId=$(this).attr('data-targetId'); | ||
640 | + var targetTop=$(targetId).offset().top; | ||
641 | + // var targetTop=$(targetId).offset().top-topH; | ||
642 | + $('html,body').animate({ | ||
643 | + scrollTop:targetTop+'px' | ||
644 | + },200) | ||
645 | + }) | ||
646 | +} | ||
647 | + | ||
648 | +// addWowAnm | ||
649 | +function addWowAnm(_this,anmName,duration,delay){ | ||
650 | + var curIndex=$(_this).index(); | ||
651 | + $(_this).attr('data-wow-delay',(curIndex*delay).toFixed(2)+'s'); | ||
652 | + $(_this).attr('data-wow-duration',duration); | ||
653 | + $(_this).addClass('wow').addClass(anmName); | ||
654 | +} | ||
655 | + | ||
656 | + | ||
657 | + | ||
658 | + | ||
659 | + | ||
660 | + | ||
661 | + | ||
662 | +/* -------------- header --------------*/ | ||
663 | + | ||
664 | +// dropmenu direction | ||
665 | +$(function() { | ||
666 | + menuDirection('.head_nav>li'); | ||
667 | + $(window).on('resize', function() { | ||
668 | + menuDirection('.head_nav>li'); | ||
669 | + }) | ||
670 | +}) | ||
671 | + | ||
672 | + | ||
673 | +var mouseover_tid = []; | ||
674 | +var mouseout_tid = []; | ||
675 | +$(function() { | ||
676 | + // 导航菜单 | ||
677 | + $('.web_head .head_nav>li').each(function(index) { | ||
678 | + if ($(this).children('ul').length) { } | ||
679 | + var $head = $(this).parents('.web_head'); | ||
680 | + $(this).hover( | ||
681 | + function() { | ||
682 | + var _self = this; | ||
683 | + clearTimeout(mouseout_tid[index]); | ||
684 | + mouseover_tid[index] = setTimeout(function() { | ||
685 | + $(_self).addClass('item_menu_active'); | ||
686 | + $head.addClass("head_menu_show"); | ||
687 | + }, 0); | ||
688 | + }, | ||
689 | + function() { | ||
690 | + var _self = this; | ||
691 | + clearTimeout(mouseover_tid[index]); | ||
692 | + mouseout_tid[index] = setTimeout(function() { | ||
693 | + $(_self).removeClass('item_menu_active'); | ||
694 | + $head.removeClass("head_menu_show"); | ||
695 | + }, 0); | ||
696 | + } | ||
697 | + ); | ||
698 | + | ||
699 | + }); | ||
700 | + | ||
701 | +}) | ||
702 | + | ||
703 | +$(function() { | ||
704 | + // $('.nav_wrap').append('<span class="nav_btn_close"></span>'); | ||
705 | + // 2021-06-22 | ||
706 | + $('.head_nav li .menu_toggle').on('click', function() { | ||
707 | + var navItem = $(this).closest('li'); | ||
708 | + var navMenu; | ||
709 | + if(navItem.children('ul').length){ | ||
710 | + navMenu=navItem.children('ul'); | ||
711 | + } | ||
712 | + else{ | ||
713 | + navMenu=navItem.children().children('ul'); | ||
714 | + } | ||
715 | + var siblingsItem=navItem.siblings('li'); | ||
716 | + if (navMenu.is(':hidden')) { | ||
717 | + siblingsItem.find('ul').slideUp(150); | ||
718 | + siblingsItem.removeClass('active'); | ||
719 | + navMenu.slideDown(150, function() { | ||
720 | + navItem.addClass('active'); | ||
721 | + }); | ||
722 | + } else { | ||
723 | + navItem.removeClass('active'); | ||
724 | + navMenu.slideUp(150); | ||
725 | + } | ||
726 | + return false; | ||
727 | + }) | ||
728 | +}) | ||
729 | + | ||
730 | + | ||
731 | + | ||
732 | +/* -------------- footer --------------*/ | ||
733 | +$(function(){ | ||
734 | + $('.foot_item_nav .foot_item_toggle').on('click',function(){ | ||
735 | + var $footItem=$(this).parents('.foot_item_nav'); | ||
736 | + if(!$footItem.hasClass('foot_item_active')){ | ||
737 | + $('.foot_item_nav').removeClass('foot_item_active'); | ||
738 | + $footItem.addClass('foot_item_active'); | ||
739 | + $('.foot_item_nav .foot_item_bd').slideUp(200); | ||
740 | + $footItem.find('.foot_item_bd').slideDown(200); | ||
741 | + } | ||
742 | + else{ | ||
743 | + $footItem.removeClass('foot_item_active'); | ||
744 | + $footItem.find('.foot_item_bd').slideUp(200); | ||
745 | + } | ||
746 | + }) | ||
747 | +}) | ||
748 | + | ||
749 | + | ||
750 | + | ||
751 | +/* -------------- index --------------*/ | ||
752 | +$(function(){ | ||
753 | + // index_count | ||
754 | + if($('.count_items .count_item_num').length){ | ||
755 | + $('.count_items .count_item_num').countUp(); | ||
756 | + } | ||
757 | + // index_quality | ||
758 | + qualitySlider(); | ||
759 | + | ||
760 | + // index_news | ||
761 | + var $tabItem=$('.news_tabs .news_tab_item'); | ||
762 | + $tabItem.on('click',function(){ | ||
763 | + var _index=$(this).index(); | ||
764 | + $(this).addClass('active').siblings('.news_tab_item').removeClass('active'); | ||
765 | + var $panel=$('.layer_tab_panel'); | ||
766 | + $panel.eq(_index).addClass('panel_active').siblings('.layer_tab_panel').removeClass('panel_active'); | ||
767 | + if($('.panel_active .news_slider').length){ | ||
768 | + newsSwiper.destroy(false); | ||
769 | + var _pdLen=$('.index_news .panel_active .news_slide_item').length; | ||
770 | + newsSwiper = new Swiper('.index_news .panel_active .news_slider', { | ||
771 | + slidesPerView: 3, | ||
772 | + slidesPerGroup:3, | ||
773 | + effect: 'slide', | ||
774 | + loop: true, | ||
775 | + watchOverflow:true, | ||
776 | + speed: 900, | ||
777 | + autoplay: { | ||
778 | + delay: 5000, | ||
779 | + disableOnInteraction: false, | ||
780 | + pauseOnMouseEnter: true, | ||
781 | + }, | ||
782 | + pagination: { | ||
783 | + el: '.index_news .swiper-pagination', | ||
784 | + clickable: true, | ||
785 | + }, | ||
786 | + navigation: { | ||
787 | + nextEl: '.index_news .swiper-button-next', | ||
788 | + prevEl: '.index_news .swiper-button-prev', | ||
789 | + }, | ||
790 | + breakpoints: { | ||
791 | + 950: { | ||
792 | + slidesPerView: 2, | ||
793 | + slidesPerGroup:2, | ||
794 | + }, | ||
795 | + 480: { | ||
796 | + slidesPerView: 1, | ||
797 | + slidesPerGroup:1, | ||
798 | + } | ||
799 | + } | ||
800 | + }) | ||
801 | + } | ||
802 | + }) | ||
803 | + var _pdLen=$('.index_news .panel_active .product_slide_item').length; | ||
804 | + var newsSwiper = new Swiper('.index_news .panel_active .news_slider', { | ||
805 | + slidesPerView: 3, | ||
806 | + slidesPerGroup:3, | ||
807 | + effect: 'slide', | ||
808 | + loop: true, | ||
809 | + watchOverflow:true, | ||
810 | + speed: 900, | ||
811 | + autoplay: { | ||
812 | + delay: 5000, | ||
813 | + disableOnInteraction: false, | ||
814 | + pauseOnMouseEnter: true, | ||
815 | + }, | ||
816 | + pagination: { | ||
817 | + el: '.index_news .swiper-pagination', | ||
818 | + clickable: true, | ||
819 | + }, | ||
820 | + navigation: { | ||
821 | + nextEl: '.index_news .swiper-button-next', | ||
822 | + prevEl: '.index_news .swiper-button-prev', | ||
823 | + }, | ||
824 | + breakpoints: { | ||
825 | + 950: { | ||
826 | + slidesPerView: 2, | ||
827 | + slidesPerGroup:2, | ||
828 | + }, | ||
829 | + 480: { | ||
830 | + slidesPerView: 1, | ||
831 | + slidesPerGroup:1, | ||
832 | + } | ||
833 | + } | ||
834 | + }) | ||
835 | + | ||
836 | + | ||
837 | + | ||
838 | +}) | ||
839 | + | ||
840 | + | ||
841 | +// qualitySlider | ||
842 | +function qualitySlider(){ | ||
843 | + if($('.quality_slider').length) { | ||
844 | + var qualitySwiper = new Swiper('.quality_slider', { | ||
845 | + slidesPerView: 1, | ||
846 | + slidesPerGroup:1, | ||
847 | + effect: 'fade', | ||
848 | + loop: true, | ||
849 | + watchOverflow:true, | ||
850 | + speed: 900, | ||
851 | + autoplay: { | ||
852 | + delay: 5000, | ||
853 | + disableOnInteraction: false, | ||
854 | + pauseOnMouseEnter: true, | ||
855 | + }, | ||
856 | + pagination: { | ||
857 | + el: '.index_quality .swiper-pagination', | ||
858 | + clickable: true, | ||
859 | + }, | ||
860 | + navigation: { | ||
861 | + nextEl: '.index_quality .swiper-button-next', | ||
862 | + prevEl: '.index_quality .swiper-button-prev', | ||
863 | + }, | ||
864 | + breakpoints: { | ||
865 | + 480: { | ||
866 | + } | ||
867 | + } | ||
868 | + }); | ||
869 | + qualitySwiper.el.onmouseover = function() { | ||
870 | + qualitySwiper.autoplay.stop(); | ||
871 | + } | ||
872 | + qualitySwiper.el.onmouseleave = function() { | ||
873 | + qualitySwiper.autoplay.start(); | ||
874 | + } | ||
875 | + } | ||
876 | +} | ||
877 | + | ||
878 | + | ||
879 | + | ||
880 | + | ||
881 | +// video | ||
882 | +$(function(){ | ||
883 | + var playBox=$('.video_play_box'); | ||
884 | + var playVideo = playBox.find('video'); | ||
885 | + playBox.removeClass('video_play_active').addClass('video_play_ended'); | ||
886 | + playBox.on('click',function(){ | ||
887 | + $(this).removeClass('has_poster'); | ||
888 | + if(playVideo[0].paused) { | ||
889 | + playVideo[0].play(); | ||
890 | + $('.video_play_box').addClass('video_play_active').removeClass('video_play_ended'); | ||
891 | + playVideo.attr('controls','controls'); | ||
892 | + console.log('paused') | ||
893 | + } else { | ||
894 | + playVideo[0].pause(); | ||
895 | + $('.video_play_box').addClass('video_play_ended').removeClass('video_play_active'); | ||
896 | + playVideo.removeAttr('controls'); | ||
897 | + } | ||
898 | + }) | ||
899 | + playVideo.on('ended', function() { | ||
900 | + playBox.removeClass('video_play_active').addClass('video_play_ended'); | ||
901 | + }); | ||
902 | +}) | ||
903 | + | ||
904 | + | ||
905 | +// itemHover | ||
906 | +function itemHover(eles,item,activeIndex){ | ||
907 | + var $eles=$(eles); | ||
908 | + if(activeIndex){ | ||
909 | + $eles.find(item).eq(activeIndex-1).addClass('item_hover'); | ||
910 | + $eles.find(item).eq(activeIndex).addClass('item_next'); | ||
911 | + } | ||
912 | + $eles.find(item).hover(function(){ | ||
913 | + $(item).removeClass('item_prev item_next'); | ||
914 | + $(this).addClass('item_hover').siblings(item).removeClass('item_hover'); | ||
915 | + $(this).prev(item).addClass('item_prev'); | ||
916 | + $(this).next(item).addClass('item_next'); | ||
917 | + }) | ||
918 | +} | ||
919 | + | ||
920 | +// sysTabs | ||
921 | +function sysTabs(wrap, tab, panel, item) { | ||
922 | + var _wrap = wrap; | ||
923 | + var _tab = tab; | ||
924 | + var _panel = panel; | ||
925 | + var _item = item; | ||
926 | + $(wrap).find(_tab).on('click', function() { | ||
927 | + var scTop = $(window).scrollTop(); | ||
928 | + $('html,body').animate({ | ||
929 | + scrollTop: scTop + 2 | ||
930 | + }, 0) | ||
931 | + setTimeout(function() { | ||
932 | + $('html,body').animate({ | ||
933 | + scrollTop: scTop | ||
934 | + }, 0) | ||
935 | + }, 5) | ||
936 | + $(this).addClass('active').siblings(_tab).removeClass('active'); | ||
937 | + var tabIndex = $(this).index(); | ||
938 | + var tabWrap = $(this).parents(_wrap); | ||
939 | + // tabWrap.find(_panel).css({ | ||
940 | + // 'opacity': 0 | ||
941 | + // }) | ||
942 | + tabWrap.find(_panel).eq(tabIndex).addClass('panel_active').removeClass('panel_hide').siblings(_panel).addClass('panel_hide').removeClass('panel_active'); | ||
943 | + tabWrap.find(_panel).eq(tabIndex).show().siblings(_panel).hide(); | ||
944 | + tabWrap.find(_panel).removeClass('animated'); | ||
945 | + tabWrap.find(_panel).eq(tabIndex).addClass('animated'); | ||
946 | + }) | ||
947 | +} | ||
948 | + | ||
949 | + | ||
950 | + | ||
951 | + | ||
952 | + | ||
953 | + | ||
954 | + | ||
955 | + | ||
956 | + | ||
957 | + | ||
958 | +/* -------------- subpage --------------*/ | ||
959 | + | ||
960 | +$(function(){ | ||
961 | + $('.side-widget').each(function(){ | ||
962 | + if(!$(this).find('.mobile-aside-toggle').length){ | ||
963 | + $(this).find('.side-tit-bar').append('<span class="mobile-aside-toggle"></span>'); | ||
964 | + } | ||
965 | + }) | ||
966 | + var $cateBtn=$('.aside .mobile-aside-toggle'); | ||
967 | + $cateBtn.on('click',function(){ | ||
968 | + $(this).parents('.side-widget').toggleClass('show-cate'); | ||
969 | + }) | ||
970 | +}) | ||
971 | + | ||
972 | +var sideProduct = new Swiper('.side_slider', { | ||
973 | + slidesPerView: 5, | ||
974 | + slidesPerGroup: 1, | ||
975 | + spaceBetween: 0, | ||
976 | + direction: 'vertical', | ||
977 | + navigation: { | ||
978 | + nextEl: '.side-product-items .btn-next', | ||
979 | + prevEl: '.side-product-items .btn-prev', | ||
980 | + }, | ||
981 | + pagination: { | ||
982 | + el: '.side-product-items .swiper-pagination', | ||
983 | + clickable: true, | ||
984 | + }, | ||
985 | +}); | ||
986 | + | ||
987 | + | ||
988 | +var mSwiper = new Swiper('.main_banner_slider', { | ||
989 | + effect: 'fade', | ||
990 | + speed: 1000, | ||
991 | + loop: false, | ||
992 | + watchOverflow: true, | ||
993 | + spaceBetween: 0, | ||
994 | + autoplay: { | ||
995 | + delay: 5000, | ||
996 | + disableOnInteraction: false, | ||
997 | + }, | ||
998 | + pagination: { | ||
999 | + el: '.main_banner_slider .swiper-pagination', | ||
1000 | + clickable: true, | ||
1001 | + } | ||
1002 | +}); | ||
1003 | + | ||
1004 | + | ||
1005 | +if($('.sys_sub_head .swiper-slide').length<2){ | ||
1006 | + $('.sys_sub_head .swiper-control').hide(); | ||
1007 | +} | ||
1008 | + | ||
1009 | +else{ | ||
1010 | + var hdSwiper = new Swiper('.head_bn_slider',{ | ||
1011 | + effect: 'fade', | ||
1012 | + speed: 1000, | ||
1013 | + loop:true, | ||
1014 | + spaceBetween: 0, | ||
1015 | + watchOverflow:true, | ||
1016 | + autoplay: { | ||
1017 | + delay: 3500, | ||
1018 | + disableOnInteraction: false, | ||
1019 | + }, | ||
1020 | + pagination: { | ||
1021 | + el: '.head_bn_slider .swiper-pagination', | ||
1022 | + clickable: true, | ||
1023 | + } | ||
1024 | + }); | ||
1025 | +} | ||
1026 | + | ||
1027 | + | ||
1028 | +// button | ||
1029 | +$(".sys_btn_wave").mouseenter(function(e) { | ||
1030 | + var parentOffset = $(this).offset(); | ||
1031 | + var relX = e.pageX - parentOffset.left; | ||
1032 | + var relY = e.pageY - parentOffset.top; | ||
1033 | + $(this).find(".btn_wave_circle").css({ "left": relX, "top": relY }); | ||
1034 | + $(this).find(".btn_wave_circle").removeClass("desplode-circle"); | ||
1035 | + $(this).find(".btn_wave_circle").addClass("explode-circle"); | ||
1036 | +}); | ||
1037 | +$(".sys_btn_wave").mouseleave(function(e) { | ||
1038 | + var parentOffset = $(this).offset(); | ||
1039 | + var relX = e.pageX - parentOffset.left; | ||
1040 | + var relY = e.pageY - parentOffset.top; | ||
1041 | + $(this).find(".btn_wave_circle").css({ "left": relX, "top": relY }); | ||
1042 | + $(this).find(".btn_wave_circle").removeClass("explode-circle"); | ||
1043 | + $(this).find(".btn_wave_circle").addClass("desplode-circle"); | ||
1044 | +}); | ||
1045 | +// $('.item_num').countUp(); | ||
1046 | + | ||
1047 | + | ||
1048 | + | ||
1049 | +addCurrent('.promote_items','.promote_item',0) | ||
1050 | +addCurrent('.service_items','.service_item',1) | ||
1051 | + | ||
1052 | +function addCurrent(itmes,item,num){ | ||
1053 | + $(item).eq(num).addClass('active') | ||
1054 | + $(item).each(function(){ | ||
1055 | + $(this).hover(function(){ | ||
1056 | + $(this).addClass('active'); | ||
1057 | + $(this).siblings(item).removeClass('active') | ||
1058 | + }) | ||
1059 | + }) | ||
1060 | +} | ||
1061 | + | ||
1062 | +function getSearchBox(btn,content){ | ||
1063 | + $(document).on("click",btn,function(e){ | ||
1064 | + let _this=$(this) | ||
1065 | + if(_this.prev().hasClass("show")){ | ||
1066 | + _this.prev().removeClass("show") | ||
1067 | + }else{ | ||
1068 | + _this.prev().addClass("show") | ||
1069 | + } | ||
1070 | + e.stopPropagation(); | ||
1071 | + }) | ||
1072 | + $(content).click(function(e){ | ||
1073 | + e.stopPropagation(); | ||
1074 | + }) | ||
1075 | + $(document).click( function(){ | ||
1076 | + $(content).removeClass("show") | ||
1077 | + }) | ||
1078 | +} | ||
1079 | + | ||
1080 | +getSearchBox(".web_search_wrap .get_btn",".web_search_wrap .web_search") | ||
1081 | + |
public/style/global/js/jquery.min.js
0 → 100644
此 diff 太大无法显示。
public/style/global/style.css
0 → 100644
此 diff 太大无法显示。
public/style/public/cloudzoom.css
0 → 100644
1 | +/* | ||
2 | + Cloud Zoom CSS. (c)2012-2013 Star Plugins. | ||
3 | +*/ | ||
4 | + | ||
5 | +/* CSS for lens */ | ||
6 | +.cloudzoom-lens { | ||
7 | + border:5px solid #888; | ||
8 | + width:100px; | ||
9 | + height:100px; | ||
10 | + box-shadow: -0px -0px 10px rgba(0,0,0,0.40); | ||
11 | + cursor:crosshair; | ||
12 | + z-index: 10; | ||
13 | +} | ||
14 | +/* CSS for zoom window. */ | ||
15 | +.cloudzoom-zoom { | ||
16 | + border:1px solid #888; | ||
17 | + width:500px; | ||
18 | + height:200px; | ||
19 | + box-shadow: -0px -0px 10px rgba(0,0,0,0.40); | ||
20 | +} | ||
21 | +/* CSS for zoom window in 'inside' mode. */ | ||
22 | +.cloudzoom-zoom-inside { | ||
23 | + border:none; | ||
24 | + box-shadow:none; | ||
25 | +} | ||
26 | + | ||
27 | +/* CSS for captions */ | ||
28 | +.cloudzoom-caption { | ||
29 | + display:none; /* CSS captions should be hidden initially */ | ||
30 | + text-align: left; | ||
31 | + background-color:#000; | ||
32 | + color:#fff; | ||
33 | + font-weight:bold; | ||
34 | + padding:10px; | ||
35 | + font-family: sans-serif; | ||
36 | + font-size:11px; | ||
37 | +} | ||
38 | + | ||
39 | +/* A blank image */ | ||
40 | +.cloudzoom-blank { | ||
41 | + background-image:url(blank.png); | ||
42 | +} | ||
43 | + | ||
44 | +/* The animated ajax loading image */ | ||
45 | +.cloudzoom-ajax-loader { | ||
46 | + background-image:url(ajax-loader.gif); | ||
47 | + width:32px; | ||
48 | + height:32px; | ||
49 | +} |
public/style/public/cloudzoom.js
0 → 100644
1 | +/* | ||
2 | + Cloud Zoom 10 Site License (CZ01-10). | ||
3 | + Version 3.1 rev 1312051822 | ||
4 | +*/ | ||
5 | +(function(e) { | ||
6 | + function s(a) { | ||
7 | + var b = a.zoom, | ||
8 | + c = a.Q, | ||
9 | + g = a.R, | ||
10 | + k = a.e, | ||
11 | + f = a.g; | ||
12 | + this.data = a; | ||
13 | + this.U = this.b = null; | ||
14 | + this.za = 0; | ||
15 | + this.zoom = b; | ||
16 | + this.V = !0; | ||
17 | + this.r = this.interval = this.t = this.p = 0; | ||
18 | + var q = this, | ||
19 | + m; | ||
20 | + q.b = e("<div class='" + a.K + "' style='position:absolute;overflow:hidden'></div>"); | ||
21 | + var p = e("<img style='-webkit-touch-callout:none;position:absolute;max-width:none' src='" + v(b.T, b.options) + "'/>"); | ||
22 | + b.options.variableMagnification && p.bind("mousewheel", | ||
23 | + function(a, b) { | ||
24 | + q.zoom.ia(0.1 * b); | ||
25 | + return ! 1 | ||
26 | + }); | ||
27 | + q.U = p; | ||
28 | + p.width(q.zoom.e); | ||
29 | + p.height(q.zoom.g); | ||
30 | + d.Ja && q.U.css("-webkit-transform", "perspective(400px)"); | ||
31 | + var l = q.b; | ||
32 | + l.append(p); | ||
33 | + var h = e("<div style='position:absolute;'></div>"); | ||
34 | + a.caption ? ("html" == b.options.captionType ? m = a.caption: "attr" == b.options.captionType && (m = e("<div class='cloudzoom-caption'>" + a.caption + "</div>")), m.css("display", "block"), h.css({ | ||
35 | + width: k | ||
36 | + }), l.append(h), h.append(m), e("body").append(l), this.r = m.outerHeight(), "bottom" == b.options.captionPosition ? h.css("top", f) : (h.css("top", 0), this.za = this.r)) : e("body").append(l); | ||
37 | + l.css({ | ||
38 | + opacity: 0, | ||
39 | + width: k, | ||
40 | + height: f + this.r | ||
41 | + }); | ||
42 | + this.zoom.C = "auto" === b.options.minMagnification ? Math.max(k / b.a.width(), f / b.a.height()) : b.options.minMagnification; | ||
43 | + this.zoom.B = "auto" === b.options.maxMagnification ? p.width() / b.a.width() : b.options.maxMagnification; | ||
44 | + a = l.height(); | ||
45 | + this.V = !1; | ||
46 | + b.options.zoomFlyOut ? (f = b.a.offset(), f.left += b.d / 2, f.top += b.c / 2, l.offset(f), l.width(0), l.height(0), l.animate({ | ||
47 | + left: c, | ||
48 | + top: g, | ||
49 | + width: k, | ||
50 | + height: a, | ||
51 | + opacity: 1 | ||
52 | + }, | ||
53 | + { | ||
54 | + duration: b.options.animationTime, | ||
55 | + complete: function() { | ||
56 | + q.V = !0 | ||
57 | + } | ||
58 | + })) : (l.offset({ | ||
59 | + left: c, | ||
60 | + top: g | ||
61 | + }), l.width(k), l.height(a), l.animate({ | ||
62 | + opacity: 1 | ||
63 | + }, | ||
64 | + { | ||
65 | + duration: b.options.animationTime, | ||
66 | + complete: function() { | ||
67 | + q.V = !0 | ||
68 | + } | ||
69 | + })) | ||
70 | + } | ||
71 | + function x(a, b, c) { | ||
72 | + this.a = a; | ||
73 | + this.ba = a[0]; | ||
74 | + this.Ca = c; | ||
75 | + this.va = !0; | ||
76 | + var g = this; | ||
77 | + this.interval = setInterval(function() { | ||
78 | + 0 < g.ba.width && 0 < g.ba.height && (clearInterval(g.interval), g.va = !1, g.Ca(a)) | ||
79 | + }, | ||
80 | + 100); | ||
81 | + this.ba.src = b | ||
82 | + } | ||
83 | + function d(a, b) { | ||
84 | + function c() { | ||
85 | + k.update(); | ||
86 | + window.Qa(c) | ||
87 | + } | ||
88 | + function g() { | ||
89 | + var c; | ||
90 | + c = "" != b.image ? b.image: "" + a.attr("src"); | ||
91 | + k.sa(); | ||
92 | + b.lazyLoadZoom ? a.bind("touchstart.preload " + k.options.mouseTriggerEvent + ".preload", | ||
93 | + function() { | ||
94 | + k.O(c, b.zoomImage) | ||
95 | + }) : k.O(c, b.zoomImage) | ||
96 | + } | ||
97 | + var k = this; | ||
98 | + b = e.extend({},e.fn.CloudZoom.defaults, b); | ||
99 | + var f = d.qa(a, e.fn.CloudZoom.attr); | ||
100 | + b = e.extend({},b, f); | ||
101 | + 1 > b.easing && (b.easing = 1); | ||
102 | + f = a.parent(); | ||
103 | + f.is("a") && "" == b.zoomImage && (b.zoomImage = f.attr("href"), f.removeAttr("href")); | ||
104 | + f = e("<div class='" + b.zoomClass + "'</div>"); | ||
105 | + e("body").append(f); | ||
106 | + this.Z = f.width(); | ||
107 | + this.Y = f.height(); | ||
108 | + b.zoomWidth && (this.Z = b.zoomWidth, this.Y = b.zoomHeight); | ||
109 | + f.remove(); | ||
110 | + this.options = b; | ||
111 | + this.a = a; | ||
112 | + this.g = this.e = this.d = this.c = 0; | ||
113 | + this.H = this.m = null; | ||
114 | + this.j = this.n = 0; | ||
115 | + this.D = { | ||
116 | + x: 0, | ||
117 | + y: 0 | ||
118 | + }; | ||
119 | + this.Ua = this.caption = ""; | ||
120 | + this.ea = { | ||
121 | + x: 0, | ||
122 | + y: 0 | ||
123 | + }; | ||
124 | + this.k = []; | ||
125 | + this.pa = 0; | ||
126 | + this.oa = ""; | ||
127 | + this.b = this.v = this.u = null; | ||
128 | + this.T = ""; | ||
129 | + this.L = this.S = this.aa = !1; | ||
130 | + this.G = null; | ||
131 | + this.ha = this.Oa = !1; | ||
132 | + this.l = null; | ||
133 | + this.id = ++d.id; | ||
134 | + this.I = this.ua = this.ta = 0; | ||
135 | + this.o = this.h = null; | ||
136 | + this.wa = this.B = this.C = this.f = this.i = this.ja = 0; | ||
137 | + this.na(a); | ||
138 | + this.ma = !1; | ||
139 | + this.N = this.A = this.da = this.ca = 0; | ||
140 | + if (a.is(":hidden")) var q = setInterval(function() { | ||
141 | + a.is(":hidden") || (clearInterval(q), g()) | ||
142 | + }, | ||
143 | + 100); | ||
144 | + else g(); | ||
145 | + c() | ||
146 | + } | ||
147 | + function v(a, b) { | ||
148 | + var c = b.uriEscapeMethod; | ||
149 | + return "escape" == c ? escape(a) : "encodeURI" == c ? encodeURI(a) : a | ||
150 | + } | ||
151 | + function h(a) { | ||
152 | + for (var b = "", | ||
153 | + c, g = C("charCodeAt"), d = a[g](0) - 32, e = 1; e < a.length - 1; e++) c = a[g](e), | ||
154 | + c ^= d & 31, | ||
155 | + d++, | ||
156 | + b += String[C("fromCharCode")](c); | ||
157 | + a[g](e); | ||
158 | + return b | ||
159 | + } | ||
160 | + function C(a) { | ||
161 | + return a; | ||
162 | + } | ||
163 | + function y(a) { | ||
164 | + var b = a || window.event, | ||
165 | + c = [].slice.call(arguments, 1), | ||
166 | + g = 0, | ||
167 | + d = 0, | ||
168 | + f = 0; | ||
169 | + a = e.event.fix(b); | ||
170 | + a.type = "mousewheel"; | ||
171 | + b.wheelDelta && (g = b.wheelDelta / 120); | ||
172 | + b.detail && (g = -b.detail / 3); | ||
173 | + f = g; | ||
174 | + void 0 !== b.axis && b.axis === b.HORIZONTAL_AXIS && (f = 0, d = -1 * g); | ||
175 | + void 0 !== b.wheelDeltaY && (f = b.wheelDeltaY / 120); | ||
176 | + void 0 !== b.wheelDeltaX && (d = -1 * b.wheelDeltaX / 120); | ||
177 | + c.unshift(a, g, d, f); | ||
178 | + return (e.event.dispatch || e.event.handle).apply(this, c) | ||
179 | + } | ||
180 | + var t = ["DOMMouseScroll", "mousewheel"]; | ||
181 | + if (e.event.fixHooks) for (var n = t.length; n;) e.event.fixHooks[t[--n]] = e.event.mouseHooks; | ||
182 | + e.event.special.mousewheel = { | ||
183 | + setup: function() { | ||
184 | + if (this.addEventListener) for (var a = t.length; a;) this.addEventListener(t[--a], y, !1); | ||
185 | + else this.onmousewheel = y | ||
186 | + }, | ||
187 | + teardown: function() { | ||
188 | + if (this.removeEventListener) for (var a = t.length; a;) this.removeEventListener(t[--a], y, !1); | ||
189 | + else this.onmousewheel = null | ||
190 | + } | ||
191 | + }; | ||
192 | + e.fn.extend({ | ||
193 | + mousewheel: function(a) { | ||
194 | + return a ? this.bind("mousewheel", a) : this.trigger("mousewheel") | ||
195 | + }, | ||
196 | + unmousewheel: function(a) { | ||
197 | + return this.unbind("mousewheel", a) | ||
198 | + } | ||
199 | + }); | ||
200 | + window.Qa = function() { | ||
201 | + return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || | ||
202 | + function(a) { | ||
203 | + window.setTimeout(a, 20) | ||
204 | + } | ||
205 | + } (); | ||
206 | + var n = document.getElementsByTagName("script"), | ||
207 | + w = n[n.length - 1].src.lastIndexOf("/"), | ||
208 | + z; | ||
209 | + z = "undefined" != typeof window.CloudZoom ? window.CloudZoom.path: n[n.length - 1].src.slice(0, w); | ||
210 | + var n = window, | ||
211 | + D = n[h("$Bphd|`ee&")], | ||
212 | + u = !0, | ||
213 | + E = !1, | ||
214 | + F = h("%KISIYZ2"), | ||
215 | + w = h("&VRZJBJ_HJ?").length, | ||
216 | + A = !1, | ||
217 | + B = !1; | ||
218 | + 5 == w ? B = !0 : 4 == w && (A = !0); | ||
219 | + d.xa = 1E9; | ||
220 | + e(window).bind("resize.cloudzoom", | ||
221 | + function() { | ||
222 | + d.xa = e(this).width() | ||
223 | + }); | ||
224 | + e(window).trigger("resize.cloudzoom"); | ||
225 | + d.prototype.J = function() { | ||
226 | + return "inside" === this.options.zoomPosition || d.xa <= this.options.autoInside ? !0 : !1 | ||
227 | + }; | ||
228 | + d.prototype.update = function() { | ||
229 | + var a = this.h; | ||
230 | + null != a && (this.q(this.D, 0), this.f != this.i && (this.i += (this.f - this.i) / this.options.easing, 1E-4 > Math.abs(this.f - this.i) && (this.i = this.f), this.Na()), a.update()) | ||
231 | + }; | ||
232 | + d.id = 0; | ||
233 | + d.prototype.Ha = function(a) { | ||
234 | + var b = this.T.replace(/^\/|\/$/g, ""); | ||
235 | + if (0 == this.k.length) return { | ||
236 | + href: this.options.zoomImage, | ||
237 | + title: this.a.attr("title") | ||
238 | + }; | ||
239 | + if (void 0 != a) return this.k; | ||
240 | + a = []; | ||
241 | + for (var c = 0; c < this.k.length && this.k[c].href.replace(/^\/|\/$/g, "") != b; c++); | ||
242 | + for (b = 0; b < this.k.length; b++) a[b] = this.k[c], | ||
243 | + c++, | ||
244 | + c >= this.k.length && (c = 0); | ||
245 | + return a | ||
246 | + }; | ||
247 | + d.prototype.getGalleryList = d.prototype.Ha; | ||
248 | + d.prototype.P = function() { | ||
249 | + clearTimeout(this.ja); | ||
250 | + null != this.o && this.o.remove() | ||
251 | + }; | ||
252 | + d.prototype.sa = function() { | ||
253 | + var a = this; | ||
254 | + this.Oa || this.a.bind("mouseover.prehov mousemove.prehov mouseout.prehov", | ||
255 | + function(b) { | ||
256 | + a.G = "mouseout" == b.type ? null: { | ||
257 | + pageX: b.pageX, | ||
258 | + pageY: b.pageY | ||
259 | + } | ||
260 | + }) | ||
261 | + }; | ||
262 | + d.prototype.Ea = function() { | ||
263 | + this.G = null; | ||
264 | + this.a.unbind("mouseover.prehov mousemove.prehov mouseout.prehov") | ||
265 | + }; | ||
266 | + d.prototype.O = function(a, b) { | ||
267 | + var c = this; | ||
268 | + c.a.unbind("touchstart.preload " + c.options.mouseTriggerEvent + ".preload"); | ||
269 | + c.sa(); | ||
270 | + this.P(); | ||
271 | + e("body").children(".cloudzoom-fade-" + c.id).remove(); | ||
272 | + null != this.v && (this.v.cancel(), this.v = null); | ||
273 | + null != this.u && (this.u.cancel(), this.u = null); | ||
274 | + this.T = "" != b && void 0 != b ? b: a; | ||
275 | + this.L = this.S = !1; ! c.options.galleryFade || !c.aa || c.J() && null != c.h || (c.l = e(new Image).css({ | ||
276 | + position: "absolute" | ||
277 | + }), c.l.attr("src", c.a.attr("src")), c.l.width(c.a.width()), c.l.height(c.a.height()), c.l.offset(c.a.offset()), c.l.addClass("cloudzoom-fade-" + c.id), e("body").append(c.l)); | ||
278 | + this.Ma(); | ||
279 | + var g = e(new Image); | ||
280 | + this.u = new x(g, a, | ||
281 | + function(a, b) { | ||
282 | + c.u = null; | ||
283 | + c.L = !0; | ||
284 | + c.a.attr("src", g.attr("src")); | ||
285 | + e("body").children(".cloudzoom-fade-" + c.id).fadeOut(c.options.fadeTime, | ||
286 | + function() { | ||
287 | + e(this).remove(); | ||
288 | + c.l = null | ||
289 | + }); | ||
290 | + void 0 !== b ? (c.P(), c.options.errorCallback({ | ||
291 | + $element: c.a, | ||
292 | + type: "IMAGE_NOT_FOUND", | ||
293 | + data: b.Ga | ||
294 | + })) : c.ra() | ||
295 | + }) | ||
296 | + }; | ||
297 | + d.prototype.Ma = function() { | ||
298 | + var a = this; | ||
299 | + a.ja = setTimeout(function() { | ||
300 | + a.o = e("<div class='cloudzoom-ajax-loader' style='position:absolute;left:0px;top:0px'/>"); | ||
301 | + e("body").append(a.o); | ||
302 | + var b = a.o.width(), | ||
303 | + g = a.o.height(), | ||
304 | + b = a.a.offset().left + a.a.width() / 2 - b / 2, | ||
305 | + g = a.a.offset().top + a.a.height() / 2 - g / 2; | ||
306 | + a.o.offset({ | ||
307 | + left: b, | ||
308 | + top: g | ||
309 | + }) | ||
310 | + }, | ||
311 | + 250); | ||
312 | + var b = e(new Image); | ||
313 | + this.v = new x(b, this.T, | ||
314 | + function(c, g) { | ||
315 | + a.v = null; | ||
316 | + a.S = !0; | ||
317 | + a.e = b[0].width; | ||
318 | + a.g = b[0].height; | ||
319 | + void 0 !== g ? (a.P(), a.options.errorCallback({ | ||
320 | + $element: a.a, | ||
321 | + type: "IMAGE_NOT_FOUND", | ||
322 | + data: g.Ga | ||
323 | + })) : a.ra() | ||
324 | + }) | ||
325 | + }; | ||
326 | + d.prototype.loadImage = d.prototype.O; | ||
327 | + d.prototype.Ba = function() { | ||
328 | + alert("Cloud Zoom API OK") | ||
329 | + }; | ||
330 | + d.prototype.apiTest = d.prototype.Ba; | ||
331 | + d.prototype.s = function() { | ||
332 | + null != this.h && (this.a.trigger("cloudzoom_end_zoom"), this.h.$()); | ||
333 | + this.h = null | ||
334 | + }; | ||
335 | + d.prototype.$ = function() { | ||
336 | + e(document).unbind("mousemove." + this.id); | ||
337 | + this.a.unbind(); | ||
338 | + null != this.b && (this.b.unbind(), this.s()); | ||
339 | + this.a.removeData("CloudZoom"); | ||
340 | + e("body").children(".cloudzoom-fade-" + this.id).remove(); | ||
341 | + this.ma = !0 | ||
342 | + }; | ||
343 | + d.prototype.destroy = d.prototype.$; | ||
344 | + d.prototype.Da = function(a) { | ||
345 | + if (!this.options.hoverIntentDelay) return ! 1; | ||
346 | + 0 === this.A && (this.A = (new Date).getTime(), this.ca = a.pageX, this.da = a.pageY); | ||
347 | + var b = a.pageX - this.ca, | ||
348 | + c = a.pageY - this.da, | ||
349 | + b = Math.sqrt(b * b + c * c); | ||
350 | + this.ca = a.pageX; | ||
351 | + this.da = a.pageY; | ||
352 | + a = (new Date).getTime(); | ||
353 | + b <= this.options.hoverIntentDistance ? this.N += a - this.A: this.A = a; | ||
354 | + if (this.N < this.options.hoverIntentDelay) return ! 0; | ||
355 | + this.N = this.A = 0; | ||
356 | + return ! 1 | ||
357 | + }; | ||
358 | + d.prototype.W = function() { | ||
359 | + var a = this; | ||
360 | + a.a.bind(a.options.mouseTriggerEvent + ".trigger", | ||
361 | + function(b) { | ||
362 | + if (!a.X() && null == a.b && !a.Da(b)) { | ||
363 | + var c = a.a.offset(); | ||
364 | + b = new d.F(b.pageX - c.left, b.pageY - c.top); | ||
365 | + a.M(); | ||
366 | + a.w(); | ||
367 | + a.q(b, 0); | ||
368 | + a.D = b | ||
369 | + } | ||
370 | + }) | ||
371 | + }; | ||
372 | + d.prototype.X = function() { | ||
373 | + if (this.ma || !this.S || !this.L) return ! 0; | ||
374 | + if (!1 === this.options.disableZoom) return ! 1; | ||
375 | + if (!0 === this.options.disableZoom) return ! 0; | ||
376 | + if ("auto" == this.options.disableZoom) { | ||
377 | + if (!isNaN(this.options.maxMagnification) && 1 < this.options.maxMagnification) return ! 1; | ||
378 | + if (this.a.width() >= this.e) return ! 0 | ||
379 | + } | ||
380 | + return ! 1 | ||
381 | + }; | ||
382 | + d.prototype.ra = function() { | ||
383 | + var a = this; | ||
384 | + if (a.S && a.L) { | ||
385 | + this.la(); | ||
386 | + a.e = a.a.width() * this.i; | ||
387 | + a.g = a.a.height() * this.i; | ||
388 | + this.P(); | ||
389 | + this.ga(); | ||
390 | + null != a.h && (a.s(), a.w(), a.H.attr("src", v(this.a.attr("src"), this.options)), a.q(a.ea, 0)); | ||
391 | + if (!a.aa) { | ||
392 | + a.aa = !0; | ||
393 | + e(document).bind("MSPointerUp." + this.id + " mousemove." + this.id, | ||
394 | + function(b) { | ||
395 | + if (null != a.b) { | ||
396 | + var c = a.a.offset(), | ||
397 | + g = !0, | ||
398 | + c = new d.F(b.pageX - Math.floor(c.left), b.pageY - Math.floor(c.top)); | ||
399 | + if ( - 1 > c.x || c.x > a.d || 0 > c.y || c.y > a.c) g = !1, | ||
400 | + a.options.permaZoom || (a.b.remove(), a.s(), a.b = null); | ||
401 | + a.ha = !1; | ||
402 | + "MSPointerUp" === b.type && (a.ha = !0); | ||
403 | + g && (a.D = c) | ||
404 | + } | ||
405 | + }); | ||
406 | + a.W(); | ||
407 | + var b = 0, | ||
408 | + c = 0, | ||
409 | + g = 0, | ||
410 | + k = function(a, b) { | ||
411 | + return Math.sqrt((a.pageX - b.pageX) * (a.pageX - b.pageX) + (a.pageY - b.pageY) * (a.pageY - b.pageY)) | ||
412 | + }; | ||
413 | + a.a.css({ | ||
414 | + "-ms-touch-action": "none", | ||
415 | + "-ms-user-select": "none" | ||
416 | + }); | ||
417 | + a.a.bind("touchstart touchmove touchend", | ||
418 | + function(e) { | ||
419 | + if (a.X()) return ! 0; | ||
420 | + var f = a.a.offset(), | ||
421 | + h = e.originalEvent, | ||
422 | + l = { | ||
423 | + x: 0, | ||
424 | + y: 0 | ||
425 | + }, | ||
426 | + r = h.type; | ||
427 | + if ("touchend" == r && 0 == h.touches.length) return a.fa(r, l), | ||
428 | + !1; | ||
429 | + l = new d.F(h.touches[0].pageX - Math.floor(f.left), h.touches[0].pageY - Math.floor(f.top)); | ||
430 | + a.D = l; | ||
431 | + if ("touchstart" == r && 1 == h.touches.length && null == a.b) return a.fa(r, l), | ||
432 | + !1; | ||
433 | + 2 > b && 2 == h.touches.length && (c = a.f, g = k(h.touches[0], h.touches[1])); | ||
434 | + b = h.touches.length; | ||
435 | + 2 == b && a.options.variableMagnification && (f = k(h.touches[0], h.touches[1]) / g, a.f = a.J() ? c * f: c / f, a.f < a.C && (a.f = a.C), a.f > a.B && (a.f = a.B)); | ||
436 | + a.fa("touchmove", l); | ||
437 | + e.preventDefault(); | ||
438 | + e.stopPropagation(); | ||
439 | + return e.returnValue = !1 | ||
440 | + }); | ||
441 | + if (null != a.G) { | ||
442 | + if (this.X()) return; | ||
443 | + var f = a.a.offset(), | ||
444 | + f = new d.F(a.G.pageX - f.left, a.G.pageY - f.top); | ||
445 | + a.M(); | ||
446 | + a.w(); | ||
447 | + a.q(f, 0); | ||
448 | + a.D = f | ||
449 | + } | ||
450 | + } | ||
451 | + a.Ea(); | ||
452 | + a.a.trigger("cloudzoom_ready") | ||
453 | + } | ||
454 | + }; | ||
455 | + d.prototype.fa = function(a, b) { | ||
456 | + var c = this; | ||
457 | + switch (a) { | ||
458 | + case "touchstart": | ||
459 | + if (null != c.b) break; | ||
460 | + clearTimeout(c.interval); | ||
461 | + c.interval = setTimeout(function() { | ||
462 | + c.M(); | ||
463 | + c.w(); | ||
464 | + c.q(b, c.j / 2); | ||
465 | + c.update() | ||
466 | + }, | ||
467 | + 150); | ||
468 | + break; | ||
469 | + case "touchend": | ||
470 | + clearTimeout(c.interval); | ||
471 | + null == c.b ? c.ya() : c.options.permaZoom || (c.b.remove(), c.b = null, c.s()); | ||
472 | + break; | ||
473 | + case "touchmove": | ||
474 | + null == c.b && (clearTimeout(c.interval), c.M(), c.w()) | ||
475 | + } | ||
476 | + }; | ||
477 | + d.prototype.Na = function() { | ||
478 | + var a = this.i; | ||
479 | + if (null != this.b) { | ||
480 | + var b = this.h; | ||
481 | + this.n = b.b.width() / (this.a.width() * a) * this.a.width(); | ||
482 | + this.j = b.b.height() / (this.a.height() * a) * this.a.height(); | ||
483 | + this.j -= b.r / a; | ||
484 | + this.m.width(this.n); | ||
485 | + this.m.height(this.j); | ||
486 | + this.q(this.ea, 0) | ||
487 | + } | ||
488 | + }; | ||
489 | + d.prototype.ia = function(a) { | ||
490 | + this.f += a; | ||
491 | + this.f < this.C && (this.f = this.C); | ||
492 | + this.f > this.B && (this.f = this.B) | ||
493 | + }; | ||
494 | + d.prototype.na = function(a) { | ||
495 | + this.caption = null; | ||
496 | + "attr" == this.options.captionType ? (a = a.attr(this.options.captionSource), "" != a && void 0 != a && (this.caption = a)) : "html" == this.options.captionType && (a = e(this.options.captionSource), a.length && (this.caption = a.clone(), a.css("display", "none"))) | ||
497 | + }; | ||
498 | + d.prototype.Ia = function(a, b) { | ||
499 | + if ("html" == b.captionType) { | ||
500 | + var c; | ||
501 | + c = e(b.captionSource); | ||
502 | + c.length && c.css("display", "none") | ||
503 | + } | ||
504 | + }; | ||
505 | + d.prototype.la = function() { | ||
506 | + this.f = this.i = "auto" === this.options.startMagnification ? this.e / this.a.width() : this.options.startMagnification | ||
507 | + }; | ||
508 | + d.prototype.w = function() { | ||
509 | + var a = this; | ||
510 | + a.a.trigger("cloudzoom_start_zoom"); | ||
511 | + this.la(); | ||
512 | + a.e = a.a.width() * this.i; | ||
513 | + a.g = a.a.height() * this.i; | ||
514 | + var b = this.m, | ||
515 | + c = a.d, | ||
516 | + g = a.c, | ||
517 | + d = a.e, | ||
518 | + f = a.g, | ||
519 | + h = a.caption; | ||
520 | + if (a.J()) { | ||
521 | + b.width(a.d / a.e * a.d); | ||
522 | + b.height(a.c / a.g * a.c); | ||
523 | + b.css("display", "none"); | ||
524 | + var m = a.options.zoomOffsetX, | ||
525 | + p = a.options.zoomOffsetY; | ||
526 | + a.options.autoInside && (m = p = 0); | ||
527 | + a.h = new s({ | ||
528 | + zoom: a, | ||
529 | + Q: a.a.offset().left + m, | ||
530 | + R: a.a.offset().top + p, | ||
531 | + e: a.d, | ||
532 | + g: a.c, | ||
533 | + caption: h, | ||
534 | + K: a.options.zoomInsideClass | ||
535 | + }); | ||
536 | + a.ka(a.h.b); | ||
537 | + a.h.b.bind("touchmove touchstart touchend", | ||
538 | + function(b) { | ||
539 | + a.a.trigger(b); | ||
540 | + return ! 1 | ||
541 | + }) | ||
542 | + } else if (isNaN(a.options.zoomPosition)) m = e(a.options.zoomPosition), | ||
543 | + b.width(m.width() / a.e * a.d), | ||
544 | + b.height(m.height() / a.g * a.c), | ||
545 | + b.fadeIn(a.options.fadeTime), | ||
546 | + a.options.zoomFullSize || "full" == a.options.zoomSizeMode ? (b.width(a.d), b.height(a.c), b.css("display", "none"), a.h = new s({ | ||
547 | + zoom: a, | ||
548 | + Q: m.offset().left, | ||
549 | + R: m.offset().top, | ||
550 | + e: a.e, | ||
551 | + g: a.g, | ||
552 | + caption: h, | ||
553 | + K: a.options.zoomClass | ||
554 | + })) : a.h = new s({ | ||
555 | + zoom: a, | ||
556 | + Q: m.offset().left, | ||
557 | + R: m.offset().top, | ||
558 | + e: m.width(), | ||
559 | + g: m.height(), | ||
560 | + caption: h, | ||
561 | + K: a.options.zoomClass | ||
562 | + }); | ||
563 | + else { | ||
564 | + var m = a.options.zoomOffsetX, | ||
565 | + p = a.options.zoomOffsetY, | ||
566 | + l = !1; | ||
567 | + if (this.options.lensWidth) { | ||
568 | + var r = this.options.lensWidth, | ||
569 | + n = this.options.lensHeight; | ||
570 | + r > c && (r = c); | ||
571 | + n > g && (n = g); | ||
572 | + b.width(r); | ||
573 | + b.height(n) | ||
574 | + } | ||
575 | + d *= b.width() / c; | ||
576 | + f *= b.height() / g; | ||
577 | + r = a.options.zoomSizeMode; | ||
578 | + if (a.options.zoomFullSize || "full" == r) d = a.e, | ||
579 | + f = a.g, | ||
580 | + b.width(a.d), | ||
581 | + b.height(a.c), | ||
582 | + b.css("display", "none"), | ||
583 | + l = !0; | ||
584 | + else if (a.options.zoomMatchSize || "image" == r) b.width(a.d / a.e * a.d), | ||
585 | + b.height(a.c / a.g * a.c), | ||
586 | + d = a.d, | ||
587 | + f = a.c; | ||
588 | + else if ("zoom" === r || this.options.zoomWidth) b.width(a.Z / a.e * a.d), | ||
589 | + b.height(a.Y / a.g * a.c), | ||
590 | + d = a.Z, | ||
591 | + f = a.Y; | ||
592 | + c = [[c / 2 - d / 2, -f], [c - d, -f], [c, -f], [c, 0], [c, g / 2 - f / 2], [c, g - f], [c, g], [c - d, g], [c / 2 - d / 2, g], [0, g], [ - d, g], [ - d, g - f], [ - d, g / 2 - f / 2], [ - d, 0], [ - d, -f], [0, -f]]; | ||
593 | + m += c[a.options.zoomPosition][0]; | ||
594 | + p += c[a.options.zoomPosition][1]; | ||
595 | + l || b.fadeIn(a.options.fadeTime); | ||
596 | + a.h = new s({ | ||
597 | + zoom: a, | ||
598 | + Q: a.a.offset().left + m, | ||
599 | + R: a.a.offset().top + p, | ||
600 | + e: d, | ||
601 | + g: f, | ||
602 | + caption: h, | ||
603 | + K: a.options.zoomClass | ||
604 | + }) | ||
605 | + } | ||
606 | + a.h.p = void 0; | ||
607 | + a.n = b.width(); | ||
608 | + a.j = b.height(); | ||
609 | + this.options.variableMagnification && a.m.bind("mousewheel", | ||
610 | + function(b, c) { | ||
611 | + a.ia(0.1 * c); | ||
612 | + return ! 1 | ||
613 | + }) | ||
614 | + }; | ||
615 | + d.prototype.La = function() { | ||
616 | + return this.h ? !0 : !1 | ||
617 | + }; | ||
618 | + d.prototype.isZoomOpen = d.prototype.La; | ||
619 | + d.prototype.Fa = function() { | ||
620 | + this.a.unbind(this.options.mouseTriggerEvent + ".trigger"); | ||
621 | + var a = this; | ||
622 | + null != this.b && (this.b.remove(), this.b = null); | ||
623 | + this.s(); | ||
624 | + setTimeout(function() { | ||
625 | + a.W() | ||
626 | + }, | ||
627 | + 1) | ||
628 | + }; | ||
629 | + d.prototype.closeZoom = d.prototype.Fa; | ||
630 | + d.prototype.ya = function() { | ||
631 | + var a = this; | ||
632 | + this.a.unbind(a.options.mouseTriggerEvent + ".trigger"); | ||
633 | + this.a.trigger("click"); | ||
634 | + setTimeout(function() { | ||
635 | + a.W() | ||
636 | + }, | ||
637 | + 1) | ||
638 | + }; | ||
639 | + d.prototype.ka = function(a) { | ||
640 | + var b = this; | ||
641 | + a.bind("mousedown." + b.id + " mouseup." + b.id, | ||
642 | + function(a) { | ||
643 | + "mousedown" === a.type ? b.wa = (new Date).getTime() : (b.ha && (b.b && b.b.remove(), b.s(), b.b = null), 250 >= (new Date).getTime() - b.wa && b.ya()) | ||
644 | + }) | ||
645 | + }; | ||
646 | + d.prototype.M = function() { | ||
647 | + 5 == F.length && !1 == E && (u = !0); | ||
648 | + var a = this, | ||
649 | + b; | ||
650 | + a.ga(); | ||
651 | + a.m = e("<div class='" + a.options.lensClass + "' style='overflow:hidden;display:none;position:absolute;top:0px;left:0px;'/>"); | ||
652 | + var c = e('<img style="-webkit-touch-callout: none;position:absolute;left:0;top:0;max-width:none" src="' + v(this.a.attr("src"), this.options) + '">'); | ||
653 | + c.width(this.a.width()); | ||
654 | + c.height(this.a.height()); | ||
655 | + a.H = c; | ||
656 | + a.H.attr("src", v(this.a.attr("src"), this.options)); | ||
657 | + var d = a.m; | ||
658 | + a.b = e("<div class='cloudzoom-blank' style='position:absolute;'/>"); | ||
659 | + var k = a.b; | ||
660 | + b = e("<div style='background-color:" + a.options.tintColor + ";width:100%;height:100%;'/>"); | ||
661 | + b.css("opacity", a.options.tintOpacity); | ||
662 | + b.fadeIn(a.options.fadeTime); | ||
663 | + k.width(a.d); | ||
664 | + k.height(a.c); | ||
665 | + k.offset(a.a.offset()); | ||
666 | + e("body").append(k); | ||
667 | + k.append(b); | ||
668 | + k.append(d); | ||
669 | + k.bind("touchmove touchstart touchend", | ||
670 | + function(b) { | ||
671 | + a.a.trigger(b); | ||
672 | + return ! 1 | ||
673 | + }); | ||
674 | + d.append(c); | ||
675 | + a.I = parseInt(d.css("borderTopWidth"), 10); | ||
676 | + isNaN(a.I) && (a.I = 0); | ||
677 | + a.ka(a.b); | ||
678 | + /** | ||
679 | + * 暴力破解 | ||
680 | + * 只要if条件为false,就不会有执行版权信息操作 | ||
681 | + * (你也可以直接删除一段if语句块,效率更好) | ||
682 | + */ | ||
683 | + //if (u || B || A) { | ||
684 | + if (false) { | ||
685 | + b = e(h("3/p|`)$6~rj#I")); | ||
686 | + var f, c = "{}"; | ||
687 | + B ? f = h("7Ttvo<Gqpm!*wvlgk!)ym~cev{}g;uxu2") : A && (f = h("3Pxzcs8Cutq=|f rvbvujro`dx\"nab "), c = h('\'|*kkhgj|`ev>wzzxj; 9?-./\"- akwbbz+0)bb`j2=0|dtu~l`8!,3-bI')); | ||
688 | + u && (f = h("\'Rfechic}jt1Q{`r7BvuvF")); | ||
689 | + /** | ||
690 | + * 此处设置版权信息 | ||
691 | + * | ||
692 | + * f => 极为版权信息 | ||
693 | + * |-- Cloud Zoom (trial) starplugins.com | ||
694 | + * |-- Unlicensed Cloud Zoom | ||
695 | + * | ||
696 | + * h("3/p|`)$6~rj#I")=>div | ||
697 | + * h(".zjhe%")=>text | ||
698 | + * b = e(h("3/p|`)$6~rj#I"));=>div对象,有jquery创建,支持jquery方法 | ||
699 | + * | ||
700 | + * 可以理解为:$('div').text(f) | ||
701 | + */ | ||
702 | + b[h(".zjhe%")](f); | ||
703 | + f = h(',w/~`cxfz{{4-:xxhsqkke#.!h``s*3(:<}v-<3p|`ayz:#8/,mf=,#x.mkbbp+0)==>? !0?6cdq{swuig=:#tjwldkm+&)hd}|pk1.7t{wzq90?}plnp!>\'%ano(\'.ykwd<a{uqy`:#8uss{=,#dljq+aidcgu/4-cp|`9fseq87>{qqt,qj~`$=*8:{t/\"-v~|g9bs~qn9&?|ple /&ugcl`dl.7,=`i0?6wye||h9&?/ox!qlhlb\'+=:;.!,mqrytfzcy|4ytprl=:#!g45$zO'); | ||
704 | + b[h("8{ji)")](e[h(":jznn{USNL5")](f)); | ||
705 | + b[h("8{ji)")](e[h(":jznn{USNL5")](c)); | ||
706 | + /** | ||
707 | + * 简单破解 | ||
708 | + * 原理:把版权提示层不appendTo 提示层内 | ||
709 | + * | ||
710 | + * h(">opdlgPj[") 为 appendTo | ||
711 | + * | ||
712 | + */ | ||
713 | + //此处破解,直接不appendTo | ||
714 | + //b[h(">opdlgPj[")](k); | ||
715 | + } | ||
716 | + }; | ||
717 | + d.prototype.q = function(a, b) { | ||
718 | + var c, d; | ||
719 | + this.ea = a; | ||
720 | + c = a.x; | ||
721 | + d = a.y; | ||
722 | + b = 0; | ||
723 | + this.J() && (b = 0); | ||
724 | + c -= this.n / 2 + 0; | ||
725 | + d -= this.j / 2 + b; | ||
726 | + c > this.d - this.n ? c = this.d - this.n: 0 > c && (c = 0); | ||
727 | + d > this.c - this.j ? d = this.c - this.j: 0 > d && (d = 0); | ||
728 | + var e = this.I; | ||
729 | + this.m.parent(); | ||
730 | + this.m.css({ | ||
731 | + left: Math.ceil(c) - e, | ||
732 | + top: Math.ceil(d) - e | ||
733 | + }); | ||
734 | + c = -c; | ||
735 | + d = -d; | ||
736 | + this.H.css({ | ||
737 | + left: Math.floor(c) + "px", | ||
738 | + top: Math.floor(d) + "px" | ||
739 | + }); | ||
740 | + this.ta = c; | ||
741 | + this.ua = d | ||
742 | + }; | ||
743 | + d.qa = function(a, b) { | ||
744 | + var c = null, | ||
745 | + d = a.attr(b); | ||
746 | + if ("string" == typeof d) { | ||
747 | + var d = e.trim(d), | ||
748 | + h = d.indexOf("{"), | ||
749 | + f = d.indexOf("}"); | ||
750 | + f != d.length - 1 && (f = d.indexOf("};")); | ||
751 | + if ( - 1 != h && -1 != f) { | ||
752 | + d = d.substr(h, f - h + 1); | ||
753 | + try { | ||
754 | + c = e.parseJSON(d) | ||
755 | + } catch(q) { | ||
756 | + console.error("Invalid JSON in " + b + " attribute:" + d) | ||
757 | + } | ||
758 | + } else c = (new D("return {" + d + "}"))() | ||
759 | + } | ||
760 | + return c | ||
761 | + }; | ||
762 | + d.F = function(a, b) { | ||
763 | + this.x = a; | ||
764 | + this.y = b | ||
765 | + }; | ||
766 | + d.point = d.F; | ||
767 | + x.prototype.cancel = function() { | ||
768 | + clearInterval(this.interval); | ||
769 | + this.va = !1 | ||
770 | + }; | ||
771 | + d.Sa = function(a) { | ||
772 | + z = a | ||
773 | + }; | ||
774 | + d.setScriptPath = d.Sa; | ||
775 | + d.Pa = function() { | ||
776 | + e(function() { | ||
777 | + e(".cloudzoom").CloudZoom(); | ||
778 | + e(".cloudzoom-gallery").CloudZoom() | ||
779 | + }) | ||
780 | + }; | ||
781 | + d.quickStart = d.Pa; | ||
782 | + d.prototype.ga = function() { | ||
783 | + this.d = this.a.outerWidth(); | ||
784 | + this.c = this.a.outerHeight() | ||
785 | + }; | ||
786 | + d.prototype.refreshImage = d.prototype.ga; | ||
787 | + d.version = "3.1 rev 1312051822"; | ||
788 | + d.Ta = function() { | ||
789 | + e[h("\'fbhrD")]({ | ||
790 | + url: z + "/" + h(";wu~{qsd,iwN"), | ||
791 | + dataType: "script", | ||
792 | + async: !1, | ||
793 | + crossDomain: !0, | ||
794 | + cache: !0, | ||
795 | + success: function() { | ||
796 | + E = !0 | ||
797 | + } | ||
798 | + }) | ||
799 | + }; | ||
800 | + d.Ka = function() { | ||
801 | + d.browser = {}; | ||
802 | + d.browser.webkit = /webkit/.test(navigator.userAgent.toLowerCase()); | ||
803 | + var a = new D("a", h('2{u<by|vm5pr}~thmm*uth|fid`03-vx~v.7?e}moir=x~lrg8rdt\'k4oeobjjEC[P{xfxv|to4jwqdnu-hjef|`ee\"ea|ds~q<-v%x4hlqwk(#.!->`hz!|j~-l2 *p/u;zrv~ns\'54)hd+g8;fSkWwpn |esagf|xp0z4wysykh,*b_g[)dldlxe%>98/.)7853xAyAab21 ?>g+oillrDj%,!2:sHvH=56;3g`-#\"=b,jjacGo\"jWoS$2?0:=gscmkt:-&lzttpm%5$')); | ||
804 | + if (5 != F.length) { | ||
805 | + var b = h("2agugf{m~suo3}pm-qwewvk}nce#b`sp~*"); | ||
806 | + u = a(b) | ||
807 | + } else u = !1, | ||
808 | + d.Ta(); | ||
809 | + this._ = ":Irhxm%sucqtis`agy%obc#cesadycpqwi5pr}~l!Wpaw<6(Echic}j*\"\'\" -wv *,~)x\'085b25ca9h:2=;omhi2Wuas-\\|y;,(2?21305"; | ||
810 | + this.Ja = -1 != navigator.platform.indexOf("iPhone") || -1 != navigator.platform.indexOf("iPod") || -1 != navigator.platform.indexOf("iPad") | ||
811 | + }; | ||
812 | + d.Ra = function(a) { | ||
813 | + e.fn.CloudZoom.attr = a | ||
814 | + }; | ||
815 | + d.setAttr = d.Ra; | ||
816 | + e.fn.CloudZoom = function(a) { | ||
817 | + return this.each(function() { | ||
818 | + if (e(this).hasClass("cloudzoom-gallery")) { | ||
819 | + var b = d.qa(e(this), e.fn.CloudZoom.attr), | ||
820 | + c = e(b.useZoom).data("CloudZoom"); | ||
821 | + c.Ia(e(this), b); | ||
822 | + var g = e.extend({}, | ||
823 | + c.options, b), | ||
824 | + h = e(this).parent(), | ||
825 | + f = g.zoomImage; | ||
826 | + h.is("a") && (f = h.attr("href")); | ||
827 | + c.k.push({ | ||
828 | + href: f, | ||
829 | + title: e(this).attr("title"), | ||
830 | + Aa: e(this) | ||
831 | + }); | ||
832 | + e(this).bind(g.galleryEvent, | ||
833 | + function() { | ||
834 | + var a; | ||
835 | + for (a = 0; a < c.k.length; a++) c.k[a].Aa.removeClass("cloudzoom-gallery-active"); | ||
836 | + e(this).addClass("cloudzoom-gallery-active"); | ||
837 | + if (b.image == c.oa) return ! 1; | ||
838 | + c.oa = b.image; | ||
839 | + c.options = e.extend({},c.options, b); | ||
840 | + c.na(e(this)); | ||
841 | + var d = e(this).parent(); | ||
842 | + d.is("a") && (b.zoomImage = d.attr("href")); | ||
843 | + a = "mouseover" == b.galleryEvent ? c.options.galleryHoverDelay: 1; | ||
844 | + clearTimeout(c.pa); | ||
845 | + c.pa = setTimeout(function() { | ||
846 | + c.O(b.image, b.zoomImage) | ||
847 | + }, | ||
848 | + a); | ||
849 | + if (d.is("a") || e(this).is("a")) return ! 1 | ||
850 | + }) | ||
851 | + } else e(this).data("CloudZoom", new d(e(this), a)) | ||
852 | + }) | ||
853 | + }; | ||
854 | + e.fn.CloudZoom.attr = "data-cloudzoom"; | ||
855 | + e.fn.CloudZoom.defaults = { | ||
856 | + image: "", | ||
857 | + zoomImage: "", | ||
858 | + tintColor: "#fff", | ||
859 | + tintOpacity: 0.5, | ||
860 | + animationTime: 500, | ||
861 | + sizePriority: "lens", | ||
862 | + lensClass: "cloudzoom-lens", | ||
863 | + lensProportions: "CSS", | ||
864 | + lensAutoCircle: !1, | ||
865 | + innerZoom: !1, | ||
866 | + galleryEvent: "click", | ||
867 | + easeTime: 500, | ||
868 | + zoomSizeMode: "lens", | ||
869 | + zoomMatchSize: !1, | ||
870 | + zoomPosition: 3, | ||
871 | + zoomOffsetX: 15, | ||
872 | + zoomOffsetY: 0, | ||
873 | + zoomFullSize: !1, | ||
874 | + zoomFlyOut: !0, | ||
875 | + zoomClass: "cloudzoom-zoom", | ||
876 | + zoomInsideClass: "cloudzoom-zoom-inside", | ||
877 | + captionSource: "title", | ||
878 | + captionType: "attr", | ||
879 | + captionPosition: "top", | ||
880 | + imageEvent: "click", | ||
881 | + uriEscapeMethod: !1, | ||
882 | + errorCallback: function() {}, | ||
883 | + variableMagnification: !0, | ||
884 | + startMagnification: "auto", | ||
885 | + minMagnification: "auto", | ||
886 | + maxMagnification: "auto", | ||
887 | + easing: 8, | ||
888 | + lazyLoadZoom: !1, | ||
889 | + mouseTriggerEvent: "mousemove", | ||
890 | + disableZoom: !1, | ||
891 | + galleryFade: !0, | ||
892 | + galleryHoverDelay: 200, | ||
893 | + permaZoom: !1, | ||
894 | + zoomWidth: 0, | ||
895 | + zoomHeight: 0, | ||
896 | + lensWidth: 0, | ||
897 | + lensHeight: 0, | ||
898 | + hoverIntentDelay: 0, | ||
899 | + hoverIntentDistance: 2, | ||
900 | + autoInside: 0 | ||
901 | + }; | ||
902 | + s.prototype.update = function() { | ||
903 | + var a = this.zoom, | ||
904 | + b = a.i, | ||
905 | + c = -a.ta + a.n / 2, | ||
906 | + d = -a.ua + a.j / 2; | ||
907 | + void 0 == this.p && (this.p = c, this.t = d); | ||
908 | + this.p += (c - this.p) / a.options.easing; | ||
909 | + this.t += (d - this.t) / a.options.easing; | ||
910 | + var c = -this.p * b, | ||
911 | + c = c + a.n / 2 * b, | ||
912 | + d = -this.t * b, | ||
913 | + d = d + a.j / 2 * b, | ||
914 | + e = a.a.width() * b, | ||
915 | + a = a.a.height() * b; | ||
916 | + 0 < c && (c = 0); | ||
917 | + 0 < d && (d = 0); | ||
918 | + c + e < this.b.width() && (c += this.b.width() - (c + e)); | ||
919 | + d + a < this.b.height() - this.r && (d += this.b.height() - this.r - (d + a)); | ||
920 | + this.U.css({ | ||
921 | + left: c + "px", | ||
922 | + top: d + this.za + "px", | ||
923 | + width: e, | ||
924 | + height: a | ||
925 | + }) | ||
926 | + }; | ||
927 | + s.prototype.$ = function() { | ||
928 | + var a = this; | ||
929 | + a.b.bind("touchstart", | ||
930 | + function() { | ||
931 | + return ! 1 | ||
932 | + }); | ||
933 | + var b = this.zoom.a.offset(); | ||
934 | + this.zoom.options.zoomFlyOut ? this.b.animate({ | ||
935 | + left: b.left + this.zoom.d / 2, | ||
936 | + top: b.top + this.zoom.c / 2, | ||
937 | + opacity: 0, | ||
938 | + width: 1, | ||
939 | + height: 1 | ||
940 | + }, | ||
941 | + { | ||
942 | + duration: this.zoom.options.animationTime, | ||
943 | + step: function() { | ||
944 | + d.browser.webkit && a.b.width(a.b.width()) | ||
945 | + }, | ||
946 | + complete: function() { | ||
947 | + a.b.remove() | ||
948 | + } | ||
949 | + }) : this.b.animate({ | ||
950 | + opacity: 0 | ||
951 | + }, | ||
952 | + { | ||
953 | + duration: this.zoom.options.animationTime, | ||
954 | + complete: function() { | ||
955 | + a.b.remove() | ||
956 | + } | ||
957 | + }) | ||
958 | + }; | ||
959 | + n.CloudZoom = d; | ||
960 | + d.Ka() | ||
961 | +})(jQuery); |
public/style/public/public.css
0 → 100644
1 | +@charset "utf-8"; | ||
2 | + | ||
3 | +.change-language-cont { | ||
4 | + top: 27px; | ||
5 | + *top: 26px; | ||
6 | + padding: 10px 5px; | ||
7 | + width: 380px !important; | ||
8 | + max-height: 80vh !important; | ||
9 | + overflow-y: scroll !important; | ||
10 | +} | ||
11 | +.inquiry-form-wrap.ct-inquiry-form{ margin-top: 20px;} | ||
12 | +.inquiry-form-wrap.ct-inquiry-form .layout{height: 420px !important;} | ||
13 | +@media only screen and (max-width: 950px) { | ||
14 | +.change-language-cont { | ||
15 | + top: 0 !important; | ||
16 | + width: 100% !important; | ||
17 | + | ||
18 | +height: 100vh !important; | ||
19 | + | ||
20 | +max-height: unset !important; | ||
21 | + | ||
22 | +overflow-y: visible !important; | ||
23 | + } | ||
24 | +} | ||
25 | +.product_list_items ,.product-list ul.product_list_items , .items_list ul.product_list_items{ width: 100%; | ||
26 | + margin: 0;} | ||
27 | + | ||
28 | +.product_list_items .product_list_item { } | ||
29 | + | ||
30 | +.product_list_item figure { | ||
31 | + padding: 10px 0; | ||
32 | + background: #fff; | ||
33 | +border-bottom: 1px #eee dashed; | ||
34 | + display: flex; | ||
35 | + justify-content: space-between; | ||
36 | + -webkit-justify-content: space-between; | ||
37 | + flex-wrap: wrap; | ||
38 | + -webkit-flex-wrap: wrap; | ||
39 | +} | ||
40 | + | ||
41 | +.product_list_item figure .item_img { | ||
42 | + display: inline-block; | ||
43 | + max-width: 20%; | ||
44 | +} | ||
45 | +.product_list_item figure .item_img img{ box-shadow: 1px 1px 4px rgba(0,0,0,.2); width: 100%;} | ||
46 | +.product_list_item figure figcaption { | ||
47 | + width: calc(80% - 20px); | ||
48 | + display: flex; | ||
49 | + flex-flow: column; | ||
50 | + justify-content: space-between; | ||
51 | +} | ||
52 | + | ||
53 | +.product_list_item figure figcaption .item_title { | ||
54 | +} | ||
55 | + | ||
56 | +.product_list_item figure figcaption .item_title a { | ||
57 | + text-transform: capitalize; | ||
58 | + font-size: 18px; | ||
59 | + letter-spacing: .38px; | ||
60 | +} | ||
61 | + | ||
62 | +.product_list_item .product_btns { | ||
63 | + text-align: right; | ||
64 | + position: relative; | ||
65 | +} | ||
66 | + | ||
67 | +.product_list_item figure figcaption .item_info { | ||
68 | + font-size: 13px; | ||
69 | + margin: 13px 0; | ||
70 | + max-height: 80px; | ||
71 | + overflow: hidden; | ||
72 | + line-height: 20px; letter-spacing: 0; | ||
73 | +} | ||
74 | + | ||
75 | +.product_list_item .product_btns .priduct_btn_inquiry ,.product_list_item .product_btns .priduct_btn_detail { | ||
76 | +line-height: 30px; | ||
77 | + display: inline-block; | ||
78 | + padding: 0 25px; | ||
79 | + position: relative; | ||
80 | + background: #666; | ||
81 | + text-transform: uppercase; | ||
82 | + color: #fff; | ||
83 | + transition: all ease-in-out .35s; | ||
84 | + -webkit-transition: all ease-in-out .35s; | ||
85 | + letter-spacing: .38px; | ||
86 | + font-weight: bold; | ||
87 | + font-size: 13px; | ||
88 | + z-index: 0; | ||
89 | +} | ||
90 | + | ||
91 | +.product_list_item .product_btns .priduct_btn_inquiry { | ||
92 | + margin-right: 13px; | ||
93 | +} | ||
94 | + | ||
95 | +.product_list_item .product_btns .priduct_btn_detail { | ||
96 | + | ||
97 | +} | ||
98 | +.product_list_item .product_btns .priduct_btn_inquiry:after ,.product_list_item .product_btns .priduct_btn_detail:after{ position: absolute; | ||
99 | + content: ""; | ||
100 | + left: 0; | ||
101 | + top: 0; | ||
102 | + width:0; | ||
103 | + height: 100%; | ||
104 | + background: #13adeb; | ||
105 | + | ||
106 | + z-index: -1; transition: all ease-in-out .35s; | ||
107 | + -webkit-transition: all ease-in-out .35s;} | ||
108 | + | ||
109 | + | ||
110 | +.product_list_item .product_btns .priduct_btn_inquiry:hover:after ,.product_list_item .product_btns .priduct_btn_detail:hover:after{ width: 100%;} | ||
111 | + | ||
112 | + | ||
113 | + | ||
114 | +@media only screen and (max-width: 1280px) { | ||
115 | + .product_list_item figure figcaption .item_info { | ||
116 | + max-height: 60px; | ||
117 | + } | ||
118 | +} | ||
119 | + | ||
120 | +@media only screen and (max-width: 1200px) { | ||
121 | + .product_list_item figure figcaption .item_title a { | ||
122 | + font-size: 16px; | ||
123 | + letter-spacing: unset; | ||
124 | + } | ||
125 | +} | ||
126 | + | ||
127 | +@media only screen and (max-width: 768px) { | ||
128 | + .product_list_item figure .item_img { | ||
129 | + max-width: 25%; | ||
130 | + } | ||
131 | + | ||
132 | + .product_list_item figure figcaption { | ||
133 | + width: 73%; | ||
134 | + } | ||
135 | +} | ||
136 | + | ||
137 | +@media only screen and (max-width: 640px) { | ||
138 | + .product_list_item figure figcaption .item_title a { | ||
139 | + font-size: 14px; | ||
140 | + } | ||
141 | + | ||
142 | + .product_list_item figure figcaption .item_info { | ||
143 | + margin: 7px 0; | ||
144 | + font-size: 12px; | ||
145 | + line-height: 18px; | ||
146 | + max-height: 36px; | ||
147 | + } | ||
148 | + | ||
149 | + .product_list_item .product_btns .priduct_btn_inquiry, .product_list_item .product_btns .priduct_btn_detail { | ||
150 | + line-height: 24px; | ||
151 | + } | ||
152 | +} | ||
153 | + | ||
154 | +@media only screen and (max-width: 480px) { | ||
155 | + .product_list_item figure .item_img { | ||
156 | + max-width: 100%; | ||
157 | + width: 100%; | ||
158 | + text-align: center; | ||
159 | + } | ||
160 | + | ||
161 | + .product_list_item figure figcaption { | ||
162 | + width: 100%; | ||
163 | + padding: 7px 0; | ||
164 | + } | ||
165 | + | ||
166 | + .product_list_item figure figcaption .item_title a { | ||
167 | + font-size: 12px; | ||
168 | + } | ||
169 | + | ||
170 | + .product_list_item figure figcaption .item_info { | ||
171 | + margin: 3px 0; | ||
172 | + } | ||
173 | + | ||
174 | + .product_list_item .product_btns { | ||
175 | + text-align: left; | ||
176 | + margin-top: 7px; | ||
177 | + } | ||
178 | +} | ||
179 | +body iframe{} |
public/style/public/public.js
0 → 100644
1 | +function addHideMsgPop(){$('.inquiry-pop-bd').fadeOut('fast');$('.pop_task').fadeOut('fast')} | ||
2 | + if($('body .inquiry-form-wrap').length>0){ | ||
3 | + var webTop=$('body .inquiry-form-wrap').offset().top-80 | ||
4 | + $('.add_email12').click(function(){ | ||
5 | + $("html, body").animate({ scrollTop:webTop }, 1000); | ||
6 | + $(".ad_prompt").show().delay(3000).hide(300); | ||
7 | + }) | ||
8 | + }else{ | ||
9 | + $('.add_email12').click(function(){ | ||
10 | + $('.inquiry-pop-bd').fadeIn('fast') | ||
11 | + $('.pop_task').fadeIn('fast') | ||
12 | + }) | ||
13 | + } | ||
14 | +$('.add_email12').click(function(e) {e.stopPropagation();}) | ||
15 | + $(function(){ | ||
16 | + $('.change-language-cont .lang-more').click(function(){ | ||
17 | + if($(this).parents('.change-language-cont').find('.prisna-wp-translate-seo li.lang-item').hasClass('lang-item-hide')){ | ||
18 | + $(this).text('More Language') | ||
19 | + }else{ | ||
20 | + $(this).text('x') | ||
21 | + } | ||
22 | + }) | ||
23 | +}) | ||
24 | + |
不能预览此文件类型
不能预览此文件类型
public/style/template/img/all-m.gif
0 → 100644
14.8 KB
public/style/template/img/bg01.jpg
0 → 100644
3.8 KB
84.7 KB
public/style/template/img/demo/banner01.jpg
0 → 100644
192.8 KB
public/style/template/img/demo/ico01.png
0 → 100644
18.0 KB
public/style/template/img/demo/ico02.jpg
0 → 100644
4.4 KB
public/style/template/img/demo/ico02.png
0 → 100644
19.3 KB
public/style/template/img/demo/ico03.jpg
0 → 100644
3.9 KB
public/style/template/img/demo/ico03.png
0 → 100644
16.6 KB
public/style/template/img/demo/ico06.png
0 → 100644
8.7 KB
public/style/template/img/demo/ico07.png
0 → 100644
9.3 KB
public/style/template/img/demo/ico08.png
0 → 100644
5.3 KB
public/style/template/img/demo/pic01_1.png
0 → 100644
426.8 KB
public/style/template/img/demo/pic02.jpg
0 → 100644
176.4 KB
public/style/template/img/demo/pic03_1.png
0 → 100644
650.1 KB
public/style/template/img/ico-arrow.png
0 → 100644
1.2 KB
public/style/template/public.css
0 → 100644
1 | +@media only screen and (max-width: 950px) { | ||
2 | +body{ padding-bottom:71px;} | ||
3 | +.head-wrapper{z-index: 999999;} | ||
4 | +/*.web_head{display:none}*/ | ||
5 | +.mobile-logo{width: 100%; padding:15px 4% 0; text-align:center;background-color: #fff;display:flex;justify-content:center;align-items: center;} | ||
6 | +.mobile-logo img{display: inline-block;vertical-align: middle;max-height: 45px;width:auto;position: relative;} | ||
7 | +.mobile-logo .logo_txt{font-family: 'AkzidGroStdCnd';color:#1d3c7e;font-size: 28px;line-height: 1.1em;padding-left: 10px;text-align: left;} | ||
8 | +.mobile-logo .logo_txt_pc{display: none;} | ||
9 | +.mobile-logo .logo_txt_mobile{display: block;padding: 5px 0 0 10px;text-align: left;} | ||
10 | +.mobile-head-items{ height:auto;top:auto;bottom:0; background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.2); z-index:9999989999999;} | ||
11 | +.mobile-head-item{ width:50%; display:none;} | ||
12 | +.mobile-head-item.mobile-head-nav,.mobile-head-item.mobile-head-language,.mobile-head-item.mobile-head-search,.mobile-head-item.mobile-head-email{ display:block;} | ||
13 | +.mobile-head-item .title{ height:auto; line-height:normal; color:#999; text-align:center; padding:10px 0; background:#FFF;} | ||
14 | +.mobile-head-item .title.current:before,.mobile-head-item .title.pop_hide:before{ background-image: url(../global/img/bottom_ico/mobile_close.png) !important; background-size:50% auto;opacity:.5} | ||
15 | +.mobile-head-item .title em{ display:block;} | ||
16 | +.mobile-head-item .title:before{ content:"" !important; position:relative; display:inline-block; width:30px; height:30px;background:url(../global/img/bottom_ico/ico_cate.png) no-repeat center; background-size:100%;} | ||
17 | +.mobile-head-item.mobile-head-language .title:before{ background-image:url(../global/img/bottom_ico/ico_flag.png)} | ||
18 | +.mobile-head-item.mobile-head-search .title:before{background-image:url(../global/img/bottom_ico/ico_search.png)} | ||
19 | +.mobile-head-item.mobile-head-email .title:before{background-image:url(../global/img/bottom_ico/ico_email.png)} | ||
20 | + .mobile-head-item .middle-content-wrap{top:auto !important} | ||
21 | +.mobile-head-item .middle-show-content-wrap{bottom:50vh;} | ||
22 | +.mobile-head-item .main-content-wrap{ z-index:-1;} | ||
23 | +.mobile-body-mask{ z-index:-2;} | ||
24 | +.mobile-nav, | ||
25 | +.mobile-nav .wrap{background-color: #fff;} | ||
26 | +.mobile-nav{ position:relative; width:100%; height:44px; padding-bottom:0; text-align:center;} | ||
27 | +.mobile-nav .wrap{position:absolute; left:0; top:0; width:100%;padding: 2px 0; overflow:scroll; z-index:999; border-bottom:1px solid transparent;} | ||
28 | +.mobile-nav.mobile-nav-fix .wrap{ position:fixed; border-color:rgba(255,255,255,.2);box-shadow: 0 0 10px rgba(0,0,0,.1);} | ||
29 | +.mobile-nav ul{ position:relative; width:100%;white-space:nowrap;text-align: center;} | ||
30 | +.mobile-nav ul li{ position:relative; display:inline-block; vertical-align:top; padding:0 1.5%; font-size:16px; } | ||
31 | +.mobile-nav ul li a{position:relative; display:block;padding:10px 5px; } | ||
32 | +.mobile-nav .wrap::-webkit-scrollbar, .mobile-nav .wrap::-webkit-scrollbar{width:0px;height:0px;} | ||
33 | +#customer-chat-iframe{ display:none !important;} | ||
34 | +.inquiry-pop-bd #customer-chat-iframe,.inquiry-form-wrap #customer-chat-iframe{ display:block !important;} | ||
35 | +.mobile-head-items .mobile-ico-close{ display:none} | ||
36 | +.mobile-ico-close {position: fixed;right: 0;top:auto;bottom: 80px;z-index: 999999999999; display:none;} | ||
37 | +.mobile-head-item .web_search_wrap{ display:block;width: 100%; } | ||
38 | +.mobile-head-item .web_search_wrap .web_search{ position: relative;display: block;width: 100%; right: auto; left: auto; margin: 0;opacity: 1; visibility: visible;-moz-transform:scale(1);-webkit-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)} | ||
39 | +.mobile-head-item .web_search_wrap .get_btn{ display: none; } | ||
40 | +li.language-flag{padding: 6px 0;} | ||
41 | +} | ||
42 | +@media only screen and (max-width: 768px) { | ||
43 | +} | ||
44 | +@media only screen and (max-width: 640px) { | ||
45 | +} | ||
46 | +@media only screen and (max-width: 480px) { | ||
47 | + .mobile-logo img{max-height: 45px;} | ||
48 | +} |
public/style/template/style.css
0 → 100644
此 diff 太大无法显示。
public/uploads/22429879.png
0 → 100644
11.9 KB
public/uploads/2f31928a.png
0 → 100644
19.5 KB
public/uploads/35a55d99.jpg
0 → 100644
204.4 KB
public/uploads/6b706340.jpg
0 → 100644
186.5 KB
public/uploads/76fe1bdf.png
0 → 100644
1.4 KB
public/uploads/7ab23542.png
0 → 100644
52.0 KB
public/uploads/7edf99e2.png
0 → 100644
18.9 KB
public/uploads/9051ff0d.png
0 → 100644
2.4 KB
public/uploads/JT.png
0 → 100644
15.7 KB
public/uploads/a2e2cfda.png
0 → 100644
19.2 KB
public/uploads/about-1.jpg
0 → 100644
96.6 KB
public/uploads/about-2.jpg
0 → 100644
387.8 KB
1 | +.fl-builder-content *,.fl-builder-content *:before,.fl-builder-content *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}.fl-row:before,.fl-row:after,.fl-row-content:before,.fl-row-content:after,.fl-col-group:before,.fl-col-group:after,.fl-col:before,.fl-col:after,.fl-module:before,.fl-module:after,.fl-module-content:before,.fl-module-content:after {display: table;content: " ";}.fl-row:after,.fl-row-content:after,.fl-col-group:after,.fl-col:after,.fl-module:after,.fl-module-content:after {clear: both;}.fl-row,.fl-row-content,.fl-col-group,.fl-col,.fl-module,.fl-module-content {zoom:1;}.fl-clear {clear: both;}.fl-clearfix:before,.fl-clearfix:after {display: table;content: " ";}.fl-clearfix:after {clear: both;}.fl-clearfix {zoom:1;}.fl-visible-medium,.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-row,.fl-row-content {margin-left: auto;margin-right: auto;}.fl-row-content-wrap {position: relative;}.fl-builder-mobile .fl-row-bg-photo .fl-row-content-wrap {background-attachment: scroll;}.fl-row-bg-video,.fl-row-bg-video .fl-row-content {position: relative;}.fl-row-bg-video .fl-bg-video {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;}.fl-row-bg-video .fl-bg-video video {bottom: 0;left: 0px;position: absolute;right: 0;top: 0px;}.fl-row-bg-video .fl-bg-video iframe {pointer-events: none;width: 100vw;height: 56.25vw; min-height: 100vh;min-width: 177.77vh; position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}.fl-bg-video-fallback {background-position: 50% 50%;background-repeat: no-repeat;background-size: cover;bottom: 0px;left: 0px;position: absolute;right: 0px;top: 0px;}.fl-row-bg-slideshow,.fl-row-bg-slideshow .fl-row-content {position: relative;}.fl-row .fl-bg-slideshow {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;z-index: 0;}.fl-builder-edit .fl-row .fl-bg-slideshow * {bottom: 0;height: auto !important;left: 0;position: absolute !important;right: 0;top: 0;}.fl-row-bg-overlay .fl-row-content-wrap:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-row-bg-overlay .fl-row-content {position: relative;z-index: 1;}.fl-row-full-height .fl-row-content-wrap {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;min-height: 100vh;}.fl-row-full-height .fl-row-content {-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-row-full-height .fl-row-full-width.fl-row-content {max-width: 100%;width: 100%;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content-wrap {height: 1px;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content {flex: 0 0 auto;flex-basis: 100%;margin: 0;}.fl-row-full-height.fl-row-align-center .fl-row-content-wrap {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.fl-row-full-height .fl-row-content-wrap{min-height: 1024px;}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.fl-row-full-height .fl-row-content-wrap{min-height: 768px;}}@media screen and (device-aspect-ratio: 40/71) {.fl-row-full-height .fl-row-content-wrap {min-height: 500px;}}.fl-col-group-equal-height,.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group-equal-height{-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;}.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-col-group-equal-height .fl-col-content{-webkit-box-orient: vertical; -webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column; flex-shrink: 1; min-width: 1px; max-width: 100%;width: 100%;}.fl-col-group-equal-height:before,.fl-col-group-equal-height .fl-col:before,.fl-col-group-equal-height .fl-col-content:before,.fl-col-group-equal-height:after,.fl-col-group-equal-height .fl-col:after,.fl-col-group-equal-height .fl-col-content:after{content: none;}.fl-col-group-equal-height.fl-col-group-align-center .fl-col-content {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}.fl-col-group-equal-height.fl-col-group-align-bottom .fl-col-content {justify-content: flex-end;-webkit-justify-content: flex-end;-webkit-box-align: end;-webkit-box-pack: end;-ms-flex-pack: end;}.fl-col-group-equal-height.fl-col-group-align-center .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group {width: 100%;}.fl-builder-ie-11 .fl-col-group-equal-height .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group{min-height: 1px;}.fl-col {float: left;min-height: 1px;}.fl-col-bg-overlay .fl-col-content {position: relative;}.fl-col-bg-overlay .fl-col-content:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-col-bg-overlay .fl-module {position: relative;z-index: 2;}.fl-module img {max-width: 100%;} .fl-builder-module-template {margin: 0 auto;max-width: 1100px;padding: 20px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {border-radius: 4px;-moz-border-radius: 4px;-webkit-border-radius: 4px;display: inline-block;font-size: 16px;font-weight: normal;line-height: 18px;padding: 12px 24px;text-decoration: none;text-shadow: none;}.fl-builder-content .fl-button:hover {text-decoration: none;}.fl-builder-content .fl-button:active {position: relative;top: 1px;}.fl-builder-content .fl-button-width-full .fl-button {display: block;text-align: center;}.fl-builder-content .fl-button-width-custom .fl-button {display: inline-block;text-align: center;max-width: 100%;}.fl-builder-content .fl-button-left {text-align: left;}.fl-builder-content .fl-button-center {text-align: center;}.fl-builder-content .fl-button-right {text-align: right;}.fl-builder-content .fl-button i {font-size: 1.3em;height: auto;margin-right:8px;vertical-align: middle;width: auto;}.fl-builder-content .fl-button i.fl-button-icon-after {margin-left: 8px;margin-right: 0;}.fl-builder-content .fl-button-has-icon .fl-button-text {vertical-align: middle;}.fl-icon-wrap {display: inline-block;}.fl-icon {display: table-cell;vertical-align: middle;}.fl-icon a {text-decoration: none;}.fl-icon i {float: left;}.fl-icon i:before {border: none !important;}.fl-icon-text {display: table-cell;text-align: left;padding-left: 15px;vertical-align: middle;}.fl-icon-text *:last-child {margin: 0 !important;padding: 0 !important;}.fl-icon-text a {text-decoration: none;}.fl-photo {line-height: 0;position: relative;}.fl-photo-align-left {text-align: left;}.fl-photo-align-center {text-align: center;}.fl-photo-align-right {text-align: right;}.fl-photo-content {display: inline-block;line-height: 0;position: relative;max-width: 100%;}.fl-photo-img-svg {width: 100%;}.fl-photo-content img {display: inline;height: auto !important;max-width: 100%;width: auto !important;}.fl-photo-crop-circle img {-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;}.fl-photo-caption {font-size: 13px;line-height: 18px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.fl-photo-caption-below {padding-bottom: 20px;padding-top: 10px;}.fl-photo-caption-hover {background: rgba(0,0,0,0.7);bottom: 0;color: #fff;left: 0;opacity: 0;filter: alpha(opacity = 0);padding: 10px 15px;position: absolute;right: 0;-webkit-transition:opacity 0.3s ease-in;-moz-transition:opacity 0.3s ease-in;transition:opacity 0.3s ease-in;}.fl-photo-content:hover .fl-photo-caption-hover {opacity: 100;filter: alpha(opacity = 100);}.fl-builder-pagination {padding: 40px 0;}.fl-builder-pagination ul.page-numbers {list-style: none;margin: 0;padding: 0;text-align: center;}.fl-builder-pagination li {display: inline-block;list-style: none;margin: 0;padding: 0;}.fl-builder-pagination li a.page-numbers,.fl-builder-pagination li span.page-numbers {border: 1px solid #e6e6e6;display: inline-block;padding: 5px 10px;margin: 0 0 5px;}.fl-builder-pagination li a.page-numbers:hover,.fl-builder-pagination li span.current {background: #f5f5f5;text-decoration: none;}.fl-slideshow,.fl-slideshow * {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}.fl-slideshow .fl-slideshow-image img {max-width: none !important;}.fl-slideshow-social {line-height: 0 !important;}.fl-slideshow-social * {margin: 0 !important;}.fl-builder-content .bx-wrapper .bx-viewport {background: transparent;border: none;box-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;left: 0;}.mfp-wrap button.mfp-arrow,.mfp-wrap button.mfp-arrow:active, .mfp-wrap button.mfp-arrow:hover, .mfp-wrap button.mfp-arrow:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 50%;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.mfp-wrap .mfp-close,.mfp-wrap .mfp-close:active,.mfp-wrap .mfp-close:hover,.mfp-wrap .mfp-close:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 0;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.admin-bar .mfp-wrap .mfp-close,.admin-bar .mfp-wrap .mfp-close:active,.admin-bar .mfp-wrap .mfp-close:hover,.admin-bar .mfp-wrap .mfp-close:focus {top: 32px!important;}img.mfp-img {padding: 0;}.mfp-counter {display: none;}.mfp-wrap .mfp-preloader.fa {font-size: 30px;}.fl-form-field {margin-bottom: 15px;}.fl-form-field input.fl-form-error {border-color: #DD6420;}.fl-form-error-message {clear: both;color: #DD6420;display: none;padding-top: 8px;font-size: 12px;font-weight: lighter;}.fl-form-button-disabled {opacity: 0.5;}.fl-animation {opacity: 0;}.fl-builder-mobile .fl-animation,.fl-builder-edit .fl-animation,.fl-animated {opacity: 1;}.fl-animated.fl-fade-in {animation: fl-fade-in 1s ease-out;-webkit-animation: fl-fade-in 1s ease-out;-moz-animation: fl-fade-in 1s ease-out;}@keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-webkit-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-moz-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}.fl-animated.fl-slide-left {animation: fl-slide-left 1s ease-out;-webkit-animation: fl-slide-left 1s ease-out;-moz-animation: fl-slide-left 1s ease-out;}@keyframes fl-slide-left {0% { opacity: 0; transform: translateX(10%); }100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-left {0% { opacity: 0; -webkit-transform: translateX(10%); }100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-left {0% { opacity: 0; -moz-transform: translateX(10%); } 100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-right {animation: fl-slide-right 1s ease-out;-webkit-animation: fl-slide-right 1s ease-out;-moz-animation: fl-slide-right 1s ease-out;}@keyframes fl-slide-right {0% { opacity: 0; transform: translateX(-10%); } 100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-right {0% { opacity: 0; -webkit-transform: translateX(-10%); } 100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-right {0% { opacity: 0; -moz-transform: translateX(-10%); }100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-up {animation: fl-slide-up 1s ease-out;-webkit-animation: fl-slide-up 1s ease-out;-moz-animation: fl-slide-up 1s ease-out;}@keyframes fl-slide-up {0% { opacity: 0; transform: translateY(10%); }100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-up {0% { opacity: 0; -webkit-transform: translateY(10%); }100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-up {0% { opacity: 0; -moz-transform: translateY(10%); } 100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-animated.fl-slide-down {animation: fl-slide-down 1s ease-out;-webkit-animation: fl-slide-down 1s ease-out;-moz-animation: fl-slide-down 1s ease-out;}@keyframes fl-slide-down {0% { opacity: 0; transform: translateY(-10%); } 100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-down {0% { opacity: 0; -webkit-transform: translateY(-10%); } 100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-down {0% { opacity: 0; -moz-transform: translateY(-10%); }100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-button.fl-button-icon-animation i {width: 0 !important;opacity: 0;-ms-filter: "alpha(opacity=0)";transition: all 0.2s ease-out;-webkit-transition: all 0.2s ease-out;}.fl-button.fl-button-icon-animation:hover i {opacity: 1! important;-ms-filter: "alpha(opacity=100)";}.fl-button.fl-button-icon-animation i.fl-button-icon-after {margin-left: 0px !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-after {margin-left: 10px !important;}.fl-button.fl-button-icon-animation i.fl-button-icon-before {margin-right: 0 !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-before {margin-right: 20px !important;margin-left: -10px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {background: #fafafa;border: 1px solid #ccc;color: #333;}.fl-builder-content a.fl-button *,.fl-builder-content a.fl-button:visited * {color: #333;}.fl-row-content-wrap { margin: 0px; }.fl-row-content-wrap { padding: 20px; }.fl-row-fixed-width { max-width: 1100px; }.fl-module-content { margin: 10px; }@media (max-width: 992px) { .fl-visible-desktop,.fl-visible-mobile,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-visible-desktop-medium,.fl-visible-medium,.fl-visible-medium-mobile,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col {display: block;} }@media (max-width: 768px) { .fl-visible-desktop,.fl-visible-desktop-medium,.fl-visible-medium,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col {display: none;}.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: block;}.fl-row-content-wrap {background-attachment: scroll !important;}.fl-row-bg-parallax .fl-row-content-wrap {background-attachment: scroll !important;background-position: center center !important;}.fl-col-group.fl-col-group-equal-height {display: block;}.fl-col-group.fl-col-group-equal-height.fl-col-group-custom-width {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group.fl-col-group-responsive-reversed {display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -moz-flex;display: -webkit-flex;display: flex;flex-flow: row wrap;-ms-box-orient: horizontal;-webkit-flex-flow: row wrap;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(1) { -webkit-box-ordinal-group: 12; -moz-box-ordinal-group: 12;-ms-flex-order: 12;-webkit-order: 12; order: 12; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(2) { -webkit-box-ordinal-group: 11;-moz-box-ordinal-group: 11;-ms-flex-order: 11;-webkit-order: 11;order: 11;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(3) { -webkit-box-ordinal-group: 10;-moz-box-ordinal-group: 10;-ms-flex-order: 10;-webkit-order: 10;order: 10; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(4) { -webkit-box-ordinal-group: 9;-moz-box-ordinal-group: 9;-ms-flex-order: 9;-webkit-order: 9;order: 9; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(5) { -webkit-box-ordinal-group: 8;-moz-box-ordinal-group: 8;-ms-flex-order: 8;-webkit-order: 8;order: 8; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(6) { -webkit-box-ordinal-group: 7;-moz-box-ordinal-group: 7;-ms-flex-order: 7;-webkit-order: 7;order: 7; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(7) { -webkit-box-ordinal-group: 6;-moz-box-ordinal-group: 6;-ms-flex-order: 6;-webkit-order: 6;order: 6; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(8) { -webkit-box-ordinal-group: 5;-moz-box-ordinal-group: 5;-ms-flex-order: 5;-webkit-order: 5;order: 5; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(9) { -webkit-box-ordinal-group: 4;-moz-box-ordinal-group: 4;-ms-flex-order: 4;-webkit-order: 4;order: 4; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(10) { -webkit-box-ordinal-group: 3;-moz-box-ordinal-group: 3;-ms-flex-order: 3;-webkit-order: 3;order: 3; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(11) { -webkit-box-ordinal-group: 2;-moz-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(12) {-webkit-box-ordinal-group: 1;-moz-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;}.fl-col {clear: both;float: none;margin-left: auto;margin-right: auto;width: auto !important;}.fl-col-small {max-width: 400px;}.fl-block-col-resize {display:none;}.fl-row[data-node] .fl-row-content-wrap {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;}.fl-row[data-node] .fl-bg-video,.fl-row[data-node] .fl-bg-slideshow {left: 0;right: 0;}.fl-col[data-node] .fl-col-content {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;} }.page .fl-post-header, .single-fl-builder-template .fl-post-header { display:none; }.fl-node-62e487c929e8a {width: 100%;}.fl-accordion-button {cursor: pointer;display: table;}.fl-accordion-button-label {display: table-cell;width: 100%;}.fl-accordion-button-icon {display: table-cell;line-height: inherit;opacity: .5;filter: alpha(opacity = 50);padding-left: 15px;vertical-align: middle;}.fl-accordion-content {display: none;}.fl-accordion-small .fl-accordion-button {padding: 10px 15px;}.fl-accordion-small .fl-accordion-content {padding: 0 30px 10px 15px;}.fl-accordion-medium .fl-accordion-button {padding: 15px 20px;}.fl-accordion-medium .fl-accordion-button-label {font-size: 20px;}.fl-accordion-medium .fl-accordion-content {padding: 0 40px 15px 20px;}.fl-accordion-large .fl-accordion-button {padding: 20px 25px;}.fl-accordion-large .fl-accordion-button-label {font-size: 26px;}.fl-accordion-large .fl-accordion-content {padding: 0 50px 25px 25px;}.fl-node-62e487c928ecd .fl-accordion-item {border: 1px solid #e5e5e5;margin-bottom: 10px;} |
1 | + | ||
2 | +var wpAjaxUrl='https://www.shopk.com/wp-admin/admin-ajax.php';var flBuilderUrl='https://www.shopk.com/wp-content/plugins/bb-plugin/';var FLBuilderLayoutConfig={anchorLinkAnimations:{duration:1000,easing:'swing',offset:100},paths:{pluginUrl:'https://www.shopk.com/wp-content/plugins/bb-plugin/',wpAjaxUrl:'https://www.shopk.com/wp-admin/admin-ajax.php'}};(function($){if(typeof FLBuilderLayout!='undefined'){return;} | ||
3 | +FLBuilderLayout={init:function() | ||
4 | +{FLBuilderLayout._destroy();FLBuilderLayout._initClasses();FLBuilderLayout._initBackgrounds();if(0===$('.fl-builder-edit').length){FLBuilderLayout._initAnchorLinks();FLBuilderLayout._initHash();FLBuilderLayout._initModuleAnimations();FLBuilderLayout._initForms();}},refreshGalleries:function(element) | ||
5 | +{var $element='undefined'==typeof element?$('body'):$(element),mfContent=$element.find('.fl-mosaicflow-content'),wmContent=$element.find('.fl-gallery'),mfObject=null;if(mfContent){mfObject=mfContent.data('mosaicflow');if(mfObject){mfObject.columns=$([]);mfObject.columnsHeights=[];mfContent.data('mosaicflow',mfObject);mfContent.mosaicflow('refill');}} | ||
6 | +if(wmContent){wmContent.trigger('refreshWookmark');}},refreshGridLayout:function(element) | ||
7 | +{var $element='undefined'==typeof element?$('body'):$(element),msnryContent=$element.find('.masonry');if(msnryContent.length){msnryContent.masonry('layout');}},reloadSlider:function(element) | ||
8 | +{var $element='undefined'==typeof element?$('body'):$(element),bxContent=$element.find('.bx-viewport .fl-post-carousel-wrapper'),bxObject=null;if(bxContent.length){bxContent.each(function(){bxObject=$(this).data('bxSlider');if(bxObject){bxObject.reloadSlider();}})}},resizeAudio:function(element) | ||
9 | +{var $element='undefined'==typeof element?$('body'):$(element),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio'),player=null,mejsPlayer=null,rail=null,railWidth=400;if(audioPlayers.length&&typeof mejs!=='undefined'){audioPlayers.each(function(){player=$(this);mejsPlayer=mejs.players[player.attr('id')];rail=player.find('.mejs-controls .mejs-time-rail');var innerMejs=player.find('.mejs-inner'),total=player.find('.mejs-controls .mejs-time-total');if(typeof mejsPlayer!=='undefined'){railWidth=Math.ceil(player.width()*0.8);if(innerMejs.length){rail.css('width',railWidth+'px!important');mejsPlayer.options.autosizeProgress=true;setTimeout(function(){mejsPlayer.setControlsSize();},50);player.find('.mejs-inner').css({visibility:'visible',height:'inherit'});}}});}},preloadAudio:function(element) | ||
10 | +{var $element='undefined'==typeof element?$('body'):$(element),contentWrap=$element.closest('.fl-accordion-item'),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio');if(!contentWrap.hasClass('fl-accordion-item-active')&&audioPlayers.find('.mejs-inner').length){audioPlayers.find('.mejs-inner').css({visibility:'hidden',height:0});}},_destroy:function() | ||
11 | +{var win=$(window);win.off('scroll.fl-bg-parallax');win.off('resize.fl-bg-video');},_isTouch:function() | ||
12 | +{if(('ontouchstart'in window)||(window.DocumentTouch&&document instanceof DocumentTouch)){return true;} | ||
13 | +return false;},_isMobile:function() | ||
14 | +{return/Mobile|Android|Silk\/|Kindle|BlackBerry|Opera Mini|Opera Mobi|webOS/i.test(navigator.userAgent);},_initClasses:function() | ||
15 | +{var body=$('body'),ua=navigator.userAgent;if(!body.hasClass('archive')&&$('.fl-builder-content-primary').length>0){body.addClass('fl-builder');} | ||
16 | +if(FLBuilderLayout._isTouch()){body.addClass('fl-builder-touch');} | ||
17 | +if(FLBuilderLayout._isMobile()){body.addClass('fl-builder-mobile');} | ||
18 | +if(ua.indexOf('Trident/7.0')>-1&&ua.indexOf('rv:11.0')>-1){body.addClass('fl-builder-ie-11');}},_initBackgrounds:function() | ||
19 | +{var win=$(window);if($('.fl-row-bg-parallax').length>0&&!FLBuilderLayout._isMobile()){FLBuilderLayout._scrollParallaxBackgrounds();FLBuilderLayout._initParallaxBackgrounds();win.on('scroll.fl-bg-parallax',FLBuilderLayout._scrollParallaxBackgrounds);} | ||
20 | +if($('.fl-bg-video').length>0){FLBuilderLayout._initBgVideos();FLBuilderLayout._resizeBgVideos();win.on('resize.fl-bg-video',FLBuilderLayout._resizeBgVideos);}},_initParallaxBackgrounds:function() | ||
21 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._initParallaxBackground);},_initParallaxBackground:function() | ||
22 | +{var row=$(this),content=row.find('> .fl-row-content-wrap'),src=row.data('parallax-image'),loaded=row.data('parallax-loaded'),img=new Image();if(loaded){return;} | ||
23 | +else if(typeof src!='undefined'){$(img).on('load',function(){content.css('background-image','url('+src+')');row.data('parallax-loaded',true);});img.src=src;}},_scrollParallaxBackgrounds:function() | ||
24 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._scrollParallaxBackground);},_scrollParallaxBackground:function() | ||
25 | +{var win=$(window),row=$(this),content=row.find('.fl-row-content-wrap'),speed=row.data('parallax-speed'),offset=content.offset(),yPos=-((win.scrollTop()-offset.top)/speed);content.css('background-position','center '+yPos+'px');},_initBgVideos:function() | ||
26 | +{$('.fl-bg-video').each(FLBuilderLayout._initBgVideo);},_initBgVideo:function() | ||
27 | +{var wrap=$(this),width=wrap.data('width'),height=wrap.data('height'),mp4=wrap.data('mp4'),youtube=wrap.data('youtube'),vimeo=wrap.data('vimeo'),mp4Type=wrap.data('mp4-type'),webm=wrap.data('webm'),webmType=wrap.data('webm-type'),fallback=wrap.data('fallback'),loaded=wrap.data('loaded'),fallbackTag='',videoTag=null,mp4Tag=null,webmTag=null,playerTag=wrap.find('.fl-bg-video-player');if(loaded){return;} | ||
28 | +else if(!FLBuilderLayout._isMobile()){videoTag=$('<video autoplay loop muted preload></video>');if('undefined'!=typeof mp4){mp4Tag=$('<source />');mp4Tag.attr('src',mp4);mp4Tag.attr('type',mp4Type);if('undefined'==typeof webm){mp4Tag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
29 | +videoTag.append(mp4Tag);} | ||
30 | +if('undefined'!=typeof webm){webmTag=$('<source />');webmTag.attr('src',webm);webmTag.attr('type',webmType);if('undefined'!=typeof mp4){webmTag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
31 | +videoTag.append(webmTag);} | ||
32 | +if('undefined'!=typeof youtube){FLBuilderLayout._initYoutubeBgVideo.apply(this);} | ||
33 | +else if('undefined'!=typeof vimeo){FLBuilderLayout._initVimeoBgVideo.apply(this);} | ||
34 | +else{wrap.append(videoTag);}} | ||
35 | +else if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);} | ||
36 | +wrap.data('loaded',true);},_initYoutubeBgVideo:function() | ||
37 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player;if(videoId){FLBuilderLayout._onYoutubeApiReady(function(YT){setTimeout(function(){player=new YT.Player(videoPlayer[0],{videoId:videoId,events:{onReady:function(event){if("no"===enableAudio){event.target.mute();} | ||
38 | +else if("yes"===enableAudio&&event.target.isMuted){event.target.unMute();} | ||
39 | +playerWrap.data('YTPlayer',player);FLBuilderLayout._resizeYoutubeBgVideo.apply(playerWrap);event.target.playVideo();},onStateChange:function(event){if(event.data===YT.PlayerState.ENDED){player.seekTo(0);}}},playerVars:{controls:0,showinfo:0}});},1);});}},_onYoutubeApiReady:function(callback){if(window.YT&&YT.loaded){callback(YT);}else{setTimeout(function(){FLBuilderLayout._onYoutubeApiReady(callback);},350);}},_initVimeoBgVideo:function() | ||
40 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player,width=playerWrap.outerWidth();if(typeof Vimeo!=='undefined'&&videoId){player=new Vimeo.Player(videoPlayer[0],{id:videoId,loop:true,title:false,portrait:false});playerWrap.data('VMPlayer',player);if("no"===enableAudio){player.setVolume(0);} | ||
41 | +else if("yes"===enableAudio){player.setVolume(1);} | ||
42 | +player.play();}},_videoBgSourceError:function(e) | ||
43 | +{var source=$(e.target),wrap=source.closest('.fl-bg-video'),vid=wrap.find('video'),fallback=wrap.data('fallback'),fallbackTag='';if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);vid.remove();}},_resizeBgVideos:function() | ||
44 | +{$('.fl-bg-video').each(function(){FLBuilderLayout._resizeBgVideo.apply(this);if($(this).parent().find('img').length>0){$(this).parent().imagesLoaded($.proxy(FLBuilderLayout._resizeBgVideo,this));}});},_resizeBgVideo:function() | ||
45 | +{if(0===$(this).find('video').length&&0===$(this).find('iframe').length){return;} | ||
46 | +var wrap=$(this),wrapHeight=wrap.outerHeight(),wrapWidth=wrap.outerWidth(),vid=wrap.find('video'),vidHeight=wrap.data('height'),vidWidth=wrap.data('width'),newWidth=wrapWidth,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newLeft=0,newTop=0,iframe=wrap.find('iframe');if(vid.length){if(vidHeight===''||typeof vidHeight==='undefined'||vidWidth===''||typeof vidWidth==='undefined'){vid.css({'left':'0px','top':'0px','width':newWidth+'px'});vid.on('loadedmetadata',FLBuilderLayout._resizeOnLoadedMeta);} | ||
47 | +else{if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
48 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
49 | +vid.css({'left':newLeft+'px','top':newTop+'px','height':newHeight+'px','width':newWidth+'px'});}} | ||
50 | +else if(iframe.length){if(typeof wrap.data('youtube')!=='undefined'){FLBuilderLayout._resizeYoutubeBgVideo.apply(this);}}},_resizeOnLoadedMeta:function(){var video=$(this),wrapHeight=video.parent().outerHeight(),wrapWidth=video.parent().outerWidth(),vidWidth=video[0].videoWidth,vidHeight=video[0].videoHeight,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newTop=0;if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
51 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
52 | +video.parent().data('width',vidWidth);video.parent().data('height',vidHeight);video.css({'left':newLeft+'px','top':newTop+'px','width':newWidth+'px','height':newHeight+'px'});},_resizeYoutubeBgVideo:function() | ||
53 | +{var wrap=$(this),wrapWidth=wrap.outerWidth(),wrapHeight=wrap.outerHeight(),player=wrap.data('YTPlayer'),video=player?player.getIframe():null,aspectRatioSetting='16:9',aspectRatioArray=aspectRatioSetting.split(':'),aspectRatio=aspectRatioArray[0]/aspectRatioArray[1],ratioWidth=wrapWidth/aspectRatio,ratioHeight=wrapHeight*aspectRatio,isWidthFixed=wrapWidth/wrapHeight>aspectRatio,width=isWidthFixed?wrapWidth:ratioHeight,height=isWidthFixed?ratioWidth:wrapHeight;if(video){$(video).width(width).height(height);}},_initModuleAnimations:function() | ||
54 | +{if(typeof jQuery.fn.waypoint!=='undefined'&&!FLBuilderLayout._isMobile()){$('.fl-animation').each(function(){var node=$(this),nodeTop=node.offset().top,winHeight=$(window).height(),bodyHeight=$('body').height(),offset='80%';if(bodyHeight-nodeTop<winHeight*0.2){offset='100%';} | ||
55 | +node.waypoint({offset:offset,handler:FLBuilderLayout._doModuleAnimation});});}},_doModuleAnimation:function() | ||
56 | +{var module='undefined'==typeof this.element?$(this):$(this.element),delay=parseFloat(module.data('animation-delay'));if(!isNaN(delay)&&delay>0){setTimeout(function(){module.addClass('fl-animated');},delay*1000);} | ||
57 | +else{module.addClass('fl-animated');}},_initHash:function() | ||
58 | +{var hash=window.location.hash.replace('#','').split('/').shift(),element=null,tabs=null,responsiveLabel=null,tabIndex=null,label=null;if(''!==hash){try{element=$('#'+hash);if(element.length>0){if(element.hasClass('fl-accordion-item')){setTimeout(function(){element.find('.fl-accordion-button').trigger('click');},100);} | ||
59 | +if(element.hasClass('fl-tabs-panel')){setTimeout(function(){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){responsiveLabel.trigger('click');} | ||
60 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');}},100);}}} | ||
61 | +catch(e){}}},_initAnchorLinks:function() | ||
62 | +{$('a').each(FLBuilderLayout._initAnchorLink);},_initAnchorLink:function() | ||
63 | +{var link=$(this),href=link.attr('href'),loc=window.location,id=null,element=null;if('undefined'!=typeof href&&href.indexOf('#')>-1){if(loc.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&loc.hostname==this.hostname){try{id=href.split('#').pop();element=$('#'+id);if(element.length>0){if(link.hasClass('fl-scroll-link')||element.hasClass('fl-row')||element.hasClass('fl-col')||element.hasClass('fl-module')){$(link).on('click',FLBuilderLayout._scrollToElementOnLinkClick);} | ||
64 | +if(element.hasClass('fl-accordion-item')){$(link).on('click',FLBuilderLayout._scrollToAccordionOnLinkClick);} | ||
65 | +if(element.hasClass('fl-tabs-panel')){$(link).on('click',FLBuilderLayout._scrollToTabOnLinkClick);}}} | ||
66 | +catch(e){}}}},_scrollToElementOnLinkClick:function(e,callback) | ||
67 | +{var element=$('#'+$(this).attr('href').split('#').pop());FLBuilderLayout._scrollToElement(element,callback);e.preventDefault();},_scrollToElement:function(element,callback) | ||
68 | +{var config=FLBuilderLayoutConfig.anchorLinkAnimations,dest=0,win=$(window),doc=$(document);if(element.length>0){if(element.offset().top>doc.height()-win.height()){dest=doc.height()-win.height();} | ||
69 | +else{dest=element.offset().top-config.offset;} | ||
70 | +$('html, body').animate({scrollTop:dest},config.duration,config.easing,function(){if('undefined'!=typeof callback){callback();} | ||
71 | +if(undefined!=element.attr('id')){if(history.pushState){history.pushState(null,null,'#'+element.attr('id'));} | ||
72 | +else{window.location.hash=element.attr('id');}}});}},_scrollToAccordionOnLinkClick:function(e) | ||
73 | +{var element=$('#'+$(this).attr('href').split('#').pop());if(element.length>0){var callback=function(){if(element){element.find('.fl-accordion-button').trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);}},_scrollToTabOnLinkClick:function(e) | ||
74 | +{var element=$('#'+$(this).attr('href').split('#').pop()),tabs=null,label=null,responsiveLabel=null;if(element.length>0){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){var callback=function(){if(element){responsiveLabel.trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);} | ||
75 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');} | ||
76 | +e.preventDefault();}},_initForms:function() | ||
77 | +{if(!FLBuilderLayout._hasPlaceholderSupport){$('.fl-form-field input').each(FLBuilderLayout._initFormFieldPlaceholderFallback);} | ||
78 | +$('.fl-form-field input').on('focus',FLBuilderLayout._clearFormFieldError);},_hasPlaceholderSupport:function() | ||
79 | +{var input=document.createElement('input');return'undefined'!=input.placeholder;},_initFormFieldPlaceholderFallback:function() | ||
80 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if('undefined'!=placeholder&&''===val){field.val(placeholder);field.on('focus',FLBuilderLayout._hideFormFieldPlaceholderFallback);field.on('blur',FLBuilderLayout._showFormFieldPlaceholderFallback);}},_hideFormFieldPlaceholderFallback:function() | ||
81 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(val==placeholder){field.val('');}},_showFormFieldPlaceholderFallback:function() | ||
82 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(''===val){field.val(placeholder);}},_clearFormFieldError:function() | ||
83 | +{var field=$(this);field.removeClass('fl-form-error');field.siblings('.fl-form-error-message').hide();}};$(function(){FLBuilderLayout.init();});})(jQuery);(function($){FLBuilderAccordion=function(settings) | ||
84 | +{this.settings=settings;this.nodeClass='.fl-node-'+settings.id;this._init();};FLBuilderAccordion.prototype={settings:{},nodeClass:'',_init:function() | ||
85 | +{$(this.nodeClass+' .fl-accordion-button').on('click',$.proxy(this._buttonClick,this));FLBuilderLayout.preloadAudio(this.nodeClass+' .fl-accordion-content');this._openDefaultItem();},_buttonClick:function(e) | ||
86 | +{var button=$(e.target).closest('.fl-accordion-button'),accordion=button.closest('.fl-accordion'),item=button.closest('.fl-accordion-item'),allContent=accordion.find('.fl-accordion-content'),allIcons=accordion.find('.fl-accordion-button i.fl-accordion-button-icon'),content=button.siblings('.fl-accordion-content'),icon=button.find('i.fl-accordion-button-icon');if(accordion.hasClass('fl-accordion-collapse')){accordion.find('.fl-accordion-item-active').removeClass('fl-accordion-item-active');allContent.slideUp('normal');allIcons.removeClass('fa-minus');allIcons.addClass('fa-plus');} | ||
87 | +if(content.is(':hidden')){item.addClass('fl-accordion-item-active');content.slideDown('normal',this._slideDownComplete);icon.addClass('fa-minus');icon.removeClass('fa-plus');} | ||
88 | +else{item.removeClass('fl-accordion-item-active');content.slideUp('normal',this._slideUpComplete);icon.addClass('fa-plus');icon.removeClass('fa-minus');}},_slideUpComplete:function() | ||
89 | +{var content=$(this),accordion=content.closest('.fl-accordion');accordion.trigger('fl-builder.fl-accordion-toggle-complete');},_slideDownComplete:function() | ||
90 | +{var content=$(this),accordion=content.closest('.fl-accordion'),item=content.parent(),win=$(window);FLBuilderLayout.refreshGalleries(content);FLBuilderLayout.refreshGridLayout(content);FLBuilderLayout.reloadSlider(content);FLBuilderLayout.resizeAudio(content);if(item.offset().top<win.scrollTop()+100){$('html, body').animate({scrollTop:item.offset().top-100},500,'swing');} | ||
91 | +accordion.trigger('fl-builder.fl-accordion-toggle-complete');},_openDefaultItem:function() | ||
92 | +{if(typeof this.settings.defaultItem!=='undefined'){var item=$.isNumeric(this.settings.defaultItem)?(this.settings.defaultItem-1):null;if(item!==null){$(this.nodeClass+' .fl-accordion-button').eq(item).trigger('click');}}}};})(jQuery);(function($){$(function(){new FLBuilderAccordion({id:'62e487c928ecd',defaultItem:false});});})(jQuery); |
1 | +.fl-builder-content *,.fl-builder-content *:before,.fl-builder-content *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}.fl-row:before,.fl-row:after,.fl-row-content:before,.fl-row-content:after,.fl-col-group:before,.fl-col-group:after,.fl-col:before,.fl-col:after,.fl-module:before,.fl-module:after,.fl-module-content:before,.fl-module-content:after {display: table;content: " ";}.fl-row:after,.fl-row-content:after,.fl-col-group:after,.fl-col:after,.fl-module:after,.fl-module-content:after {clear: both;}.fl-row,.fl-row-content,.fl-col-group,.fl-col,.fl-module,.fl-module-content {zoom:1;}.fl-clear {clear: both;}.fl-clearfix:before,.fl-clearfix:after {display: table;content: " ";}.fl-clearfix:after {clear: both;}.fl-clearfix {zoom:1;}.fl-visible-medium,.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-row,.fl-row-content {margin-left: auto;margin-right: auto;}.fl-row-content-wrap {position: relative;}.fl-builder-mobile .fl-row-bg-photo .fl-row-content-wrap {background-attachment: scroll;}.fl-row-bg-video,.fl-row-bg-video .fl-row-content {position: relative;}.fl-row-bg-video .fl-bg-video {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;}.fl-row-bg-video .fl-bg-video video {bottom: 0;left: 0px;position: absolute;right: 0;top: 0px;}.fl-row-bg-video .fl-bg-video iframe {pointer-events: none;width: 100vw;height: 56.25vw; min-height: 100vh;min-width: 177.77vh; position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}.fl-bg-video-fallback {background-position: 50% 50%;background-repeat: no-repeat;background-size: cover;bottom: 0px;left: 0px;position: absolute;right: 0px;top: 0px;}.fl-row-bg-slideshow,.fl-row-bg-slideshow .fl-row-content {position: relative;}.fl-row .fl-bg-slideshow {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;z-index: 0;}.fl-builder-edit .fl-row .fl-bg-slideshow * {bottom: 0;height: auto !important;left: 0;position: absolute !important;right: 0;top: 0;}.fl-row-bg-overlay .fl-row-content-wrap:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-row-bg-overlay .fl-row-content {position: relative;z-index: 1;}.fl-row-full-height .fl-row-content-wrap {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;min-height: 100vh;}.fl-row-full-height .fl-row-content {-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-row-full-height .fl-row-full-width.fl-row-content {max-width: 100%;width: 100%;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content-wrap {height: 1px;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content {flex: 0 0 auto;flex-basis: 100%;margin: 0;}.fl-row-full-height.fl-row-align-center .fl-row-content-wrap {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.fl-row-full-height .fl-row-content-wrap{min-height: 1024px;}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.fl-row-full-height .fl-row-content-wrap{min-height: 768px;}}@media screen and (device-aspect-ratio: 40/71) {.fl-row-full-height .fl-row-content-wrap {min-height: 500px;}}.fl-col-group-equal-height,.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group-equal-height{-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;}.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-col-group-equal-height .fl-col-content{-webkit-box-orient: vertical; -webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column; flex-shrink: 1; min-width: 1px; max-width: 100%;width: 100%;}.fl-col-group-equal-height:before,.fl-col-group-equal-height .fl-col:before,.fl-col-group-equal-height .fl-col-content:before,.fl-col-group-equal-height:after,.fl-col-group-equal-height .fl-col:after,.fl-col-group-equal-height .fl-col-content:after{content: none;}.fl-col-group-equal-height.fl-col-group-align-center .fl-col-content {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}.fl-col-group-equal-height.fl-col-group-align-bottom .fl-col-content {justify-content: flex-end;-webkit-justify-content: flex-end;-webkit-box-align: end;-webkit-box-pack: end;-ms-flex-pack: end;}.fl-col-group-equal-height.fl-col-group-align-center .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group {width: 100%;}.fl-builder-ie-11 .fl-col-group-equal-height .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group{min-height: 1px;}.fl-col {float: left;min-height: 1px;}.fl-col-bg-overlay .fl-col-content {position: relative;}.fl-col-bg-overlay .fl-col-content:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-col-bg-overlay .fl-module {position: relative;z-index: 2;}.fl-module img {max-width: 100%;} .fl-builder-module-template {margin: 0 auto;max-width: 1100px;padding: 20px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {border-radius: 4px;-moz-border-radius: 4px;-webkit-border-radius: 4px;display: inline-block;font-size: 16px;font-weight: normal;line-height: 18px;padding: 12px 24px;text-decoration: none;text-shadow: none;}.fl-builder-content .fl-button:hover {text-decoration: none;}.fl-builder-content .fl-button:active {position: relative;top: 1px;}.fl-builder-content .fl-button-width-full .fl-button {display: block;text-align: center;}.fl-builder-content .fl-button-width-custom .fl-button {display: inline-block;text-align: center;max-width: 100%;}.fl-builder-content .fl-button-left {text-align: left;}.fl-builder-content .fl-button-center {text-align: center;}.fl-builder-content .fl-button-right {text-align: right;}.fl-builder-content .fl-button i {font-size: 1.3em;height: auto;margin-right:8px;vertical-align: middle;width: auto;}.fl-builder-content .fl-button i.fl-button-icon-after {margin-left: 8px;margin-right: 0;}.fl-builder-content .fl-button-has-icon .fl-button-text {vertical-align: middle;}.fl-icon-wrap {display: inline-block;}.fl-icon {display: table-cell;vertical-align: middle;}.fl-icon a {text-decoration: none;}.fl-icon i {float: left;}.fl-icon i:before {border: none !important;}.fl-icon-text {display: table-cell;text-align: left;padding-left: 15px;vertical-align: middle;}.fl-icon-text *:last-child {margin: 0 !important;padding: 0 !important;}.fl-icon-text a {text-decoration: none;}.fl-photo {line-height: 0;position: relative;}.fl-photo-align-left {text-align: left;}.fl-photo-align-center {text-align: center;}.fl-photo-align-right {text-align: right;}.fl-photo-content {display: inline-block;line-height: 0;position: relative;max-width: 100%;}.fl-photo-img-svg {width: 100%;}.fl-photo-content img {display: inline;height: auto !important;max-width: 100%;width: auto !important;}.fl-photo-crop-circle img {-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;}.fl-photo-caption {font-size: 13px;line-height: 18px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.fl-photo-caption-below {padding-bottom: 20px;padding-top: 10px;}.fl-photo-caption-hover {background: rgba(0,0,0,0.7);bottom: 0;color: #fff;left: 0;opacity: 0;filter: alpha(opacity = 0);padding: 10px 15px;position: absolute;right: 0;-webkit-transition:opacity 0.3s ease-in;-moz-transition:opacity 0.3s ease-in;transition:opacity 0.3s ease-in;}.fl-photo-content:hover .fl-photo-caption-hover {opacity: 100;filter: alpha(opacity = 100);}.fl-builder-pagination {padding: 40px 0;}.fl-builder-pagination ul.page-numbers {list-style: none;margin: 0;padding: 0;text-align: center;}.fl-builder-pagination li {display: inline-block;list-style: none;margin: 0;padding: 0;}.fl-builder-pagination li a.page-numbers,.fl-builder-pagination li span.page-numbers {border: 1px solid #e6e6e6;display: inline-block;padding: 5px 10px;margin: 0 0 5px;}.fl-builder-pagination li a.page-numbers:hover,.fl-builder-pagination li span.current {background: #f5f5f5;text-decoration: none;}.fl-slideshow,.fl-slideshow * {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}.fl-slideshow .fl-slideshow-image img {max-width: none !important;}.fl-slideshow-social {line-height: 0 !important;}.fl-slideshow-social * {margin: 0 !important;}.fl-builder-content .bx-wrapper .bx-viewport {background: transparent;border: none;box-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;left: 0;}.mfp-wrap button.mfp-arrow,.mfp-wrap button.mfp-arrow:active, .mfp-wrap button.mfp-arrow:hover, .mfp-wrap button.mfp-arrow:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 50%;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.mfp-wrap .mfp-close,.mfp-wrap .mfp-close:active,.mfp-wrap .mfp-close:hover,.mfp-wrap .mfp-close:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 0;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.admin-bar .mfp-wrap .mfp-close,.admin-bar .mfp-wrap .mfp-close:active,.admin-bar .mfp-wrap .mfp-close:hover,.admin-bar .mfp-wrap .mfp-close:focus {top: 32px!important;}img.mfp-img {padding: 0;}.mfp-counter {display: none;}.mfp-wrap .mfp-preloader.fa {font-size: 30px;}.fl-form-field {margin-bottom: 15px;}.fl-form-field input.fl-form-error {border-color: #DD6420;}.fl-form-error-message {clear: both;color: #DD6420;display: none;padding-top: 8px;font-size: 12px;font-weight: lighter;}.fl-form-button-disabled {opacity: 0.5;}.fl-animation {opacity: 0;}.fl-builder-mobile .fl-animation,.fl-builder-edit .fl-animation,.fl-animated {opacity: 1;}.fl-animated.fl-fade-in {animation: fl-fade-in 1s ease-out;-webkit-animation: fl-fade-in 1s ease-out;-moz-animation: fl-fade-in 1s ease-out;}@keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-webkit-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-moz-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}.fl-animated.fl-slide-left {animation: fl-slide-left 1s ease-out;-webkit-animation: fl-slide-left 1s ease-out;-moz-animation: fl-slide-left 1s ease-out;}@keyframes fl-slide-left {0% { opacity: 0; transform: translateX(10%); }100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-left {0% { opacity: 0; -webkit-transform: translateX(10%); }100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-left {0% { opacity: 0; -moz-transform: translateX(10%); } 100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-right {animation: fl-slide-right 1s ease-out;-webkit-animation: fl-slide-right 1s ease-out;-moz-animation: fl-slide-right 1s ease-out;}@keyframes fl-slide-right {0% { opacity: 0; transform: translateX(-10%); } 100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-right {0% { opacity: 0; -webkit-transform: translateX(-10%); } 100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-right {0% { opacity: 0; -moz-transform: translateX(-10%); }100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-up {animation: fl-slide-up 1s ease-out;-webkit-animation: fl-slide-up 1s ease-out;-moz-animation: fl-slide-up 1s ease-out;}@keyframes fl-slide-up {0% { opacity: 0; transform: translateY(10%); }100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-up {0% { opacity: 0; -webkit-transform: translateY(10%); }100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-up {0% { opacity: 0; -moz-transform: translateY(10%); } 100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-animated.fl-slide-down {animation: fl-slide-down 1s ease-out;-webkit-animation: fl-slide-down 1s ease-out;-moz-animation: fl-slide-down 1s ease-out;}@keyframes fl-slide-down {0% { opacity: 0; transform: translateY(-10%); } 100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-down {0% { opacity: 0; -webkit-transform: translateY(-10%); } 100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-down {0% { opacity: 0; -moz-transform: translateY(-10%); }100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-button.fl-button-icon-animation i {width: 0 !important;opacity: 0;-ms-filter: "alpha(opacity=0)";transition: all 0.2s ease-out;-webkit-transition: all 0.2s ease-out;}.fl-button.fl-button-icon-animation:hover i {opacity: 1! important;-ms-filter: "alpha(opacity=100)";}.fl-button.fl-button-icon-animation i.fl-button-icon-after {margin-left: 0px !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-after {margin-left: 10px !important;}.fl-button.fl-button-icon-animation i.fl-button-icon-before {margin-right: 0 !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-before {margin-right: 20px !important;margin-left: -10px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {background: #fafafa;border: 1px solid #ccc;color: #333;}.fl-builder-content a.fl-button *,.fl-builder-content a.fl-button:visited * {color: #333;}.fl-row-content-wrap { margin: 0px; }.fl-row-content-wrap { padding: 20px; }.fl-row-fixed-width { max-width: 1100px; }.fl-module-content { margin: 10px; }@media (max-width: 992px) { .fl-visible-desktop,.fl-visible-mobile,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-visible-desktop-medium,.fl-visible-medium,.fl-visible-medium-mobile,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col {display: block;} }@media (max-width: 768px) { .fl-visible-desktop,.fl-visible-desktop-medium,.fl-visible-medium,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col {display: none;}.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: block;}.fl-row-content-wrap {background-attachment: scroll !important;}.fl-row-bg-parallax .fl-row-content-wrap {background-attachment: scroll !important;background-position: center center !important;}.fl-col-group.fl-col-group-equal-height {display: block;}.fl-col-group.fl-col-group-equal-height.fl-col-group-custom-width {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group.fl-col-group-responsive-reversed {display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -moz-flex;display: -webkit-flex;display: flex;flex-flow: row wrap;-ms-box-orient: horizontal;-webkit-flex-flow: row wrap;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(1) { -webkit-box-ordinal-group: 12; -moz-box-ordinal-group: 12;-ms-flex-order: 12;-webkit-order: 12; order: 12; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(2) { -webkit-box-ordinal-group: 11;-moz-box-ordinal-group: 11;-ms-flex-order: 11;-webkit-order: 11;order: 11;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(3) { -webkit-box-ordinal-group: 10;-moz-box-ordinal-group: 10;-ms-flex-order: 10;-webkit-order: 10;order: 10; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(4) { -webkit-box-ordinal-group: 9;-moz-box-ordinal-group: 9;-ms-flex-order: 9;-webkit-order: 9;order: 9; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(5) { -webkit-box-ordinal-group: 8;-moz-box-ordinal-group: 8;-ms-flex-order: 8;-webkit-order: 8;order: 8; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(6) { -webkit-box-ordinal-group: 7;-moz-box-ordinal-group: 7;-ms-flex-order: 7;-webkit-order: 7;order: 7; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(7) { -webkit-box-ordinal-group: 6;-moz-box-ordinal-group: 6;-ms-flex-order: 6;-webkit-order: 6;order: 6; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(8) { -webkit-box-ordinal-group: 5;-moz-box-ordinal-group: 5;-ms-flex-order: 5;-webkit-order: 5;order: 5; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(9) { -webkit-box-ordinal-group: 4;-moz-box-ordinal-group: 4;-ms-flex-order: 4;-webkit-order: 4;order: 4; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(10) { -webkit-box-ordinal-group: 3;-moz-box-ordinal-group: 3;-ms-flex-order: 3;-webkit-order: 3;order: 3; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(11) { -webkit-box-ordinal-group: 2;-moz-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(12) {-webkit-box-ordinal-group: 1;-moz-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;}.fl-col {clear: both;float: none;margin-left: auto;margin-right: auto;width: auto !important;}.fl-col-small {max-width: 400px;}.fl-block-col-resize {display:none;}.fl-row[data-node] .fl-row-content-wrap {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;}.fl-row[data-node] .fl-bg-video,.fl-row[data-node] .fl-bg-slideshow {left: 0;right: 0;}.fl-col[data-node] .fl-col-content {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;} }.page .fl-post-header, .single-fl-builder-template .fl-post-header { display:none; } .fl-node-62e741c42de3a > .fl-row-content-wrap {padding-right:0px;padding-left:0px;}.fl-node-62e741c42eb8c {width: 100%;} |
1 | + | ||
2 | +var wpAjaxUrl='https://www.shopk.com/wp-admin/admin-ajax.php';var flBuilderUrl='https://www.shopk.com/wp-content/plugins/bb-plugin/';var FLBuilderLayoutConfig={anchorLinkAnimations:{duration:1000,easing:'swing',offset:100},paths:{pluginUrl:'https://www.shopk.com/wp-content/plugins/bb-plugin/',wpAjaxUrl:'https://www.shopk.com/wp-admin/admin-ajax.php'}};(function($){if(typeof FLBuilderLayout!='undefined'){return;} | ||
3 | +FLBuilderLayout={init:function() | ||
4 | +{FLBuilderLayout._destroy();FLBuilderLayout._initClasses();FLBuilderLayout._initBackgrounds();if(0===$('.fl-builder-edit').length){FLBuilderLayout._initAnchorLinks();FLBuilderLayout._initHash();FLBuilderLayout._initModuleAnimations();FLBuilderLayout._initForms();}},refreshGalleries:function(element) | ||
5 | +{var $element='undefined'==typeof element?$('body'):$(element),mfContent=$element.find('.fl-mosaicflow-content'),wmContent=$element.find('.fl-gallery'),mfObject=null;if(mfContent){mfObject=mfContent.data('mosaicflow');if(mfObject){mfObject.columns=$([]);mfObject.columnsHeights=[];mfContent.data('mosaicflow',mfObject);mfContent.mosaicflow('refill');}} | ||
6 | +if(wmContent){wmContent.trigger('refreshWookmark');}},refreshGridLayout:function(element) | ||
7 | +{var $element='undefined'==typeof element?$('body'):$(element),msnryContent=$element.find('.masonry');if(msnryContent.length){msnryContent.masonry('layout');}},reloadSlider:function(element) | ||
8 | +{var $element='undefined'==typeof element?$('body'):$(element),bxContent=$element.find('.bx-viewport .fl-post-carousel-wrapper'),bxObject=null;if(bxContent.length){bxContent.each(function(){bxObject=$(this).data('bxSlider');if(bxObject){bxObject.reloadSlider();}})}},resizeAudio:function(element) | ||
9 | +{var $element='undefined'==typeof element?$('body'):$(element),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio'),player=null,mejsPlayer=null,rail=null,railWidth=400;if(audioPlayers.length&&typeof mejs!=='undefined'){audioPlayers.each(function(){player=$(this);mejsPlayer=mejs.players[player.attr('id')];rail=player.find('.mejs-controls .mejs-time-rail');var innerMejs=player.find('.mejs-inner'),total=player.find('.mejs-controls .mejs-time-total');if(typeof mejsPlayer!=='undefined'){railWidth=Math.ceil(player.width()*0.8);if(innerMejs.length){rail.css('width',railWidth+'px!important');mejsPlayer.options.autosizeProgress=true;setTimeout(function(){mejsPlayer.setControlsSize();},50);player.find('.mejs-inner').css({visibility:'visible',height:'inherit'});}}});}},preloadAudio:function(element) | ||
10 | +{var $element='undefined'==typeof element?$('body'):$(element),contentWrap=$element.closest('.fl-accordion-item'),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio');if(!contentWrap.hasClass('fl-accordion-item-active')&&audioPlayers.find('.mejs-inner').length){audioPlayers.find('.mejs-inner').css({visibility:'hidden',height:0});}},_destroy:function() | ||
11 | +{var win=$(window);win.off('scroll.fl-bg-parallax');win.off('resize.fl-bg-video');},_isTouch:function() | ||
12 | +{if(('ontouchstart'in window)||(window.DocumentTouch&&document instanceof DocumentTouch)){return true;} | ||
13 | +return false;},_isMobile:function() | ||
14 | +{return/Mobile|Android|Silk\/|Kindle|BlackBerry|Opera Mini|Opera Mobi|webOS/i.test(navigator.userAgent);},_initClasses:function() | ||
15 | +{var body=$('body'),ua=navigator.userAgent;if(!body.hasClass('archive')&&$('.fl-builder-content-primary').length>0){body.addClass('fl-builder');} | ||
16 | +if(FLBuilderLayout._isTouch()){body.addClass('fl-builder-touch');} | ||
17 | +if(FLBuilderLayout._isMobile()){body.addClass('fl-builder-mobile');} | ||
18 | +if(ua.indexOf('Trident/7.0')>-1&&ua.indexOf('rv:11.0')>-1){body.addClass('fl-builder-ie-11');}},_initBackgrounds:function() | ||
19 | +{var win=$(window);if($('.fl-row-bg-parallax').length>0&&!FLBuilderLayout._isMobile()){FLBuilderLayout._scrollParallaxBackgrounds();FLBuilderLayout._initParallaxBackgrounds();win.on('scroll.fl-bg-parallax',FLBuilderLayout._scrollParallaxBackgrounds);} | ||
20 | +if($('.fl-bg-video').length>0){FLBuilderLayout._initBgVideos();FLBuilderLayout._resizeBgVideos();win.on('resize.fl-bg-video',FLBuilderLayout._resizeBgVideos);}},_initParallaxBackgrounds:function() | ||
21 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._initParallaxBackground);},_initParallaxBackground:function() | ||
22 | +{var row=$(this),content=row.find('> .fl-row-content-wrap'),src=row.data('parallax-image'),loaded=row.data('parallax-loaded'),img=new Image();if(loaded){return;} | ||
23 | +else if(typeof src!='undefined'){$(img).on('load',function(){content.css('background-image','url('+src+')');row.data('parallax-loaded',true);});img.src=src;}},_scrollParallaxBackgrounds:function() | ||
24 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._scrollParallaxBackground);},_scrollParallaxBackground:function() | ||
25 | +{var win=$(window),row=$(this),content=row.find('.fl-row-content-wrap'),speed=row.data('parallax-speed'),offset=content.offset(),yPos=-((win.scrollTop()-offset.top)/speed);content.css('background-position','center '+yPos+'px');},_initBgVideos:function() | ||
26 | +{$('.fl-bg-video').each(FLBuilderLayout._initBgVideo);},_initBgVideo:function() | ||
27 | +{var wrap=$(this),width=wrap.data('width'),height=wrap.data('height'),mp4=wrap.data('mp4'),youtube=wrap.data('youtube'),vimeo=wrap.data('vimeo'),mp4Type=wrap.data('mp4-type'),webm=wrap.data('webm'),webmType=wrap.data('webm-type'),fallback=wrap.data('fallback'),loaded=wrap.data('loaded'),fallbackTag='',videoTag=null,mp4Tag=null,webmTag=null,playerTag=wrap.find('.fl-bg-video-player');if(loaded){return;} | ||
28 | +else if(!FLBuilderLayout._isMobile()){videoTag=$('<video autoplay loop muted preload></video>');if('undefined'!=typeof mp4){mp4Tag=$('<source />');mp4Tag.attr('src',mp4);mp4Tag.attr('type',mp4Type);if('undefined'==typeof webm){mp4Tag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
29 | +videoTag.append(mp4Tag);} | ||
30 | +if('undefined'!=typeof webm){webmTag=$('<source />');webmTag.attr('src',webm);webmTag.attr('type',webmType);if('undefined'!=typeof mp4){webmTag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
31 | +videoTag.append(webmTag);} | ||
32 | +if('undefined'!=typeof youtube){FLBuilderLayout._initYoutubeBgVideo.apply(this);} | ||
33 | +else if('undefined'!=typeof vimeo){FLBuilderLayout._initVimeoBgVideo.apply(this);} | ||
34 | +else{wrap.append(videoTag);}} | ||
35 | +else if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);} | ||
36 | +wrap.data('loaded',true);},_initYoutubeBgVideo:function() | ||
37 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player;if(videoId){FLBuilderLayout._onYoutubeApiReady(function(YT){setTimeout(function(){player=new YT.Player(videoPlayer[0],{videoId:videoId,events:{onReady:function(event){if("no"===enableAudio){event.target.mute();} | ||
38 | +else if("yes"===enableAudio&&event.target.isMuted){event.target.unMute();} | ||
39 | +playerWrap.data('YTPlayer',player);FLBuilderLayout._resizeYoutubeBgVideo.apply(playerWrap);event.target.playVideo();},onStateChange:function(event){if(event.data===YT.PlayerState.ENDED){player.seekTo(0);}}},playerVars:{controls:0,showinfo:0}});},1);});}},_onYoutubeApiReady:function(callback){if(window.YT&&YT.loaded){callback(YT);}else{setTimeout(function(){FLBuilderLayout._onYoutubeApiReady(callback);},350);}},_initVimeoBgVideo:function() | ||
40 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player,width=playerWrap.outerWidth();if(typeof Vimeo!=='undefined'&&videoId){player=new Vimeo.Player(videoPlayer[0],{id:videoId,loop:true,title:false,portrait:false});playerWrap.data('VMPlayer',player);if("no"===enableAudio){player.setVolume(0);} | ||
41 | +else if("yes"===enableAudio){player.setVolume(1);} | ||
42 | +player.play();}},_videoBgSourceError:function(e) | ||
43 | +{var source=$(e.target),wrap=source.closest('.fl-bg-video'),vid=wrap.find('video'),fallback=wrap.data('fallback'),fallbackTag='';if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);vid.remove();}},_resizeBgVideos:function() | ||
44 | +{$('.fl-bg-video').each(function(){FLBuilderLayout._resizeBgVideo.apply(this);if($(this).parent().find('img').length>0){$(this).parent().imagesLoaded($.proxy(FLBuilderLayout._resizeBgVideo,this));}});},_resizeBgVideo:function() | ||
45 | +{if(0===$(this).find('video').length&&0===$(this).find('iframe').length){return;} | ||
46 | +var wrap=$(this),wrapHeight=wrap.outerHeight(),wrapWidth=wrap.outerWidth(),vid=wrap.find('video'),vidHeight=wrap.data('height'),vidWidth=wrap.data('width'),newWidth=wrapWidth,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newLeft=0,newTop=0,iframe=wrap.find('iframe');if(vid.length){if(vidHeight===''||typeof vidHeight==='undefined'||vidWidth===''||typeof vidWidth==='undefined'){vid.css({'left':'0px','top':'0px','width':newWidth+'px'});vid.on('loadedmetadata',FLBuilderLayout._resizeOnLoadedMeta);} | ||
47 | +else{if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
48 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
49 | +vid.css({'left':newLeft+'px','top':newTop+'px','height':newHeight+'px','width':newWidth+'px'});}} | ||
50 | +else if(iframe.length){if(typeof wrap.data('youtube')!=='undefined'){FLBuilderLayout._resizeYoutubeBgVideo.apply(this);}}},_resizeOnLoadedMeta:function(){var video=$(this),wrapHeight=video.parent().outerHeight(),wrapWidth=video.parent().outerWidth(),vidWidth=video[0].videoWidth,vidHeight=video[0].videoHeight,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newTop=0;if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
51 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
52 | +video.parent().data('width',vidWidth);video.parent().data('height',vidHeight);video.css({'left':newLeft+'px','top':newTop+'px','width':newWidth+'px','height':newHeight+'px'});},_resizeYoutubeBgVideo:function() | ||
53 | +{var wrap=$(this),wrapWidth=wrap.outerWidth(),wrapHeight=wrap.outerHeight(),player=wrap.data('YTPlayer'),video=player?player.getIframe():null,aspectRatioSetting='16:9',aspectRatioArray=aspectRatioSetting.split(':'),aspectRatio=aspectRatioArray[0]/aspectRatioArray[1],ratioWidth=wrapWidth/aspectRatio,ratioHeight=wrapHeight*aspectRatio,isWidthFixed=wrapWidth/wrapHeight>aspectRatio,width=isWidthFixed?wrapWidth:ratioHeight,height=isWidthFixed?ratioWidth:wrapHeight;if(video){$(video).width(width).height(height);}},_initModuleAnimations:function() | ||
54 | +{if(typeof jQuery.fn.waypoint!=='undefined'&&!FLBuilderLayout._isMobile()){$('.fl-animation').each(function(){var node=$(this),nodeTop=node.offset().top,winHeight=$(window).height(),bodyHeight=$('body').height(),offset='80%';if(bodyHeight-nodeTop<winHeight*0.2){offset='100%';} | ||
55 | +node.waypoint({offset:offset,handler:FLBuilderLayout._doModuleAnimation});});}},_doModuleAnimation:function() | ||
56 | +{var module='undefined'==typeof this.element?$(this):$(this.element),delay=parseFloat(module.data('animation-delay'));if(!isNaN(delay)&&delay>0){setTimeout(function(){module.addClass('fl-animated');},delay*1000);} | ||
57 | +else{module.addClass('fl-animated');}},_initHash:function() | ||
58 | +{var hash=window.location.hash.replace('#','').split('/').shift(),element=null,tabs=null,responsiveLabel=null,tabIndex=null,label=null;if(''!==hash){try{element=$('#'+hash);if(element.length>0){if(element.hasClass('fl-accordion-item')){setTimeout(function(){element.find('.fl-accordion-button').trigger('click');},100);} | ||
59 | +if(element.hasClass('fl-tabs-panel')){setTimeout(function(){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){responsiveLabel.trigger('click');} | ||
60 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');}},100);}}} | ||
61 | +catch(e){}}},_initAnchorLinks:function() | ||
62 | +{$('a').each(FLBuilderLayout._initAnchorLink);},_initAnchorLink:function() | ||
63 | +{var link=$(this),href=link.attr('href'),loc=window.location,id=null,element=null;if('undefined'!=typeof href&&href.indexOf('#')>-1){if(loc.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&loc.hostname==this.hostname){try{id=href.split('#').pop();element=$('#'+id);if(element.length>0){if(link.hasClass('fl-scroll-link')||element.hasClass('fl-row')||element.hasClass('fl-col')||element.hasClass('fl-module')){$(link).on('click',FLBuilderLayout._scrollToElementOnLinkClick);} | ||
64 | +if(element.hasClass('fl-accordion-item')){$(link).on('click',FLBuilderLayout._scrollToAccordionOnLinkClick);} | ||
65 | +if(element.hasClass('fl-tabs-panel')){$(link).on('click',FLBuilderLayout._scrollToTabOnLinkClick);}}} | ||
66 | +catch(e){}}}},_scrollToElementOnLinkClick:function(e,callback) | ||
67 | +{var element=$('#'+$(this).attr('href').split('#').pop());FLBuilderLayout._scrollToElement(element,callback);e.preventDefault();},_scrollToElement:function(element,callback) | ||
68 | +{var config=FLBuilderLayoutConfig.anchorLinkAnimations,dest=0,win=$(window),doc=$(document);if(element.length>0){if(element.offset().top>doc.height()-win.height()){dest=doc.height()-win.height();} | ||
69 | +else{dest=element.offset().top-config.offset;} | ||
70 | +$('html, body').animate({scrollTop:dest},config.duration,config.easing,function(){if('undefined'!=typeof callback){callback();} | ||
71 | +if(undefined!=element.attr('id')){if(history.pushState){history.pushState(null,null,'#'+element.attr('id'));} | ||
72 | +else{window.location.hash=element.attr('id');}}});}},_scrollToAccordionOnLinkClick:function(e) | ||
73 | +{var element=$('#'+$(this).attr('href').split('#').pop());if(element.length>0){var callback=function(){if(element){element.find('.fl-accordion-button').trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);}},_scrollToTabOnLinkClick:function(e) | ||
74 | +{var element=$('#'+$(this).attr('href').split('#').pop()),tabs=null,label=null,responsiveLabel=null;if(element.length>0){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){var callback=function(){if(element){responsiveLabel.trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);} | ||
75 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');} | ||
76 | +e.preventDefault();}},_initForms:function() | ||
77 | +{if(!FLBuilderLayout._hasPlaceholderSupport){$('.fl-form-field input').each(FLBuilderLayout._initFormFieldPlaceholderFallback);} | ||
78 | +$('.fl-form-field input').on('focus',FLBuilderLayout._clearFormFieldError);},_hasPlaceholderSupport:function() | ||
79 | +{var input=document.createElement('input');return'undefined'!=input.placeholder;},_initFormFieldPlaceholderFallback:function() | ||
80 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if('undefined'!=placeholder&&''===val){field.val(placeholder);field.on('focus',FLBuilderLayout._hideFormFieldPlaceholderFallback);field.on('blur',FLBuilderLayout._showFormFieldPlaceholderFallback);}},_hideFormFieldPlaceholderFallback:function() | ||
81 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(val==placeholder){field.val('');}},_showFormFieldPlaceholderFallback:function() | ||
82 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(''===val){field.val(placeholder);}},_clearFormFieldError:function() | ||
83 | +{var field=$(this);field.removeClass('fl-form-error');field.siblings('.fl-form-error-message').hide();}};$(function(){FLBuilderLayout.init();});})(jQuery); |
1 | +.fl-builder-content *,.fl-builder-content *:before,.fl-builder-content *:after {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}.fl-row:before,.fl-row:after,.fl-row-content:before,.fl-row-content:after,.fl-col-group:before,.fl-col-group:after,.fl-col:before,.fl-col:after,.fl-module:before,.fl-module:after,.fl-module-content:before,.fl-module-content:after {display: table;content: " ";}.fl-row:after,.fl-row-content:after,.fl-col-group:after,.fl-col:after,.fl-module:after,.fl-module-content:after {clear: both;}.fl-row,.fl-row-content,.fl-col-group,.fl-col,.fl-module,.fl-module-content {zoom:1;}.fl-clear {clear: both;}.fl-clearfix:before,.fl-clearfix:after {display: table;content: " ";}.fl-clearfix:after {clear: both;}.fl-clearfix {zoom:1;}.fl-visible-medium,.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-row,.fl-row-content {margin-left: auto;margin-right: auto;}.fl-row-content-wrap {position: relative;}.fl-builder-mobile .fl-row-bg-photo .fl-row-content-wrap {background-attachment: scroll;}.fl-row-bg-video,.fl-row-bg-video .fl-row-content {position: relative;}.fl-row-bg-video .fl-bg-video {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;}.fl-row-bg-video .fl-bg-video video {bottom: 0;left: 0px;position: absolute;right: 0;top: 0px;}.fl-row-bg-video .fl-bg-video iframe {pointer-events: none;width: 100vw;height: 56.25vw; min-height: 100vh;min-width: 177.77vh; position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}.fl-bg-video-fallback {background-position: 50% 50%;background-repeat: no-repeat;background-size: cover;bottom: 0px;left: 0px;position: absolute;right: 0px;top: 0px;}.fl-row-bg-slideshow,.fl-row-bg-slideshow .fl-row-content {position: relative;}.fl-row .fl-bg-slideshow {bottom: 0;left: 0;overflow: hidden;position: absolute;right: 0;top: 0;z-index: 0;}.fl-builder-edit .fl-row .fl-bg-slideshow * {bottom: 0;height: auto !important;left: 0;position: absolute !important;right: 0;top: 0;}.fl-row-bg-overlay .fl-row-content-wrap:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-row-bg-overlay .fl-row-content {position: relative;z-index: 1;}.fl-row-full-height .fl-row-content-wrap {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;min-height: 100vh;}.fl-row-full-height .fl-row-content {-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-row-full-height .fl-row-full-width.fl-row-content {max-width: 100%;width: 100%;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content-wrap {height: 1px;}.fl-builder-ie-11 .fl-row-full-height .fl-row-content {flex: 0 0 auto;flex-basis: 100%;margin: 0;}.fl-row-full-height.fl-row-align-center .fl-row-content-wrap {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){.fl-row-full-height .fl-row-content-wrap{min-height: 1024px;}}@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape){.fl-row-full-height .fl-row-content-wrap{min-height: 768px;}}@media screen and (device-aspect-ratio: 40/71) {.fl-row-full-height .fl-row-content-wrap {min-height: 500px;}}.fl-col-group-equal-height,.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group-equal-height{-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;}.fl-col-group-equal-height .fl-col,.fl-col-group-equal-height .fl-col-content{-webkit-box-flex: 1 1 auto; -moz-box-flex: 1 1 auto;-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}.fl-col-group-equal-height .fl-col-content{-webkit-box-orient: vertical; -webkit-box-direction: normal;-webkit-flex-direction: column;-ms-flex-direction: column;flex-direction: column; flex-shrink: 1; min-width: 1px; max-width: 100%;width: 100%;}.fl-col-group-equal-height:before,.fl-col-group-equal-height .fl-col:before,.fl-col-group-equal-height .fl-col-content:before,.fl-col-group-equal-height:after,.fl-col-group-equal-height .fl-col:after,.fl-col-group-equal-height .fl-col-content:after{content: none;}.fl-col-group-equal-height.fl-col-group-align-center .fl-col-content {align-items: center;justify-content: center;-webkit-align-items: center;-webkit-box-align: center;-webkit-box-pack: center;-webkit-justify-content: center;-ms-flex-align: center;-ms-flex-pack: center;}.fl-col-group-equal-height.fl-col-group-align-bottom .fl-col-content {justify-content: flex-end;-webkit-justify-content: flex-end;-webkit-box-align: end;-webkit-box-pack: end;-ms-flex-pack: end;}.fl-col-group-equal-height.fl-col-group-align-center .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group {width: 100%;}.fl-builder-ie-11 .fl-col-group-equal-height .fl-module,.fl-col-group-equal-height.fl-col-group-align-center .fl-col-group{min-height: 1px;}.fl-col {float: left;min-height: 1px;}.fl-col-bg-overlay .fl-col-content {position: relative;}.fl-col-bg-overlay .fl-col-content:after {content: '';display: block;position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 0;}.fl-col-bg-overlay .fl-module {position: relative;z-index: 2;}.fl-module img {max-width: 100%;} .fl-builder-module-template {margin: 0 auto;max-width: 1100px;padding: 20px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {border-radius: 4px;-moz-border-radius: 4px;-webkit-border-radius: 4px;display: inline-block;font-size: 16px;font-weight: normal;line-height: 18px;padding: 12px 24px;text-decoration: none;text-shadow: none;}.fl-builder-content .fl-button:hover {text-decoration: none;}.fl-builder-content .fl-button:active {position: relative;top: 1px;}.fl-builder-content .fl-button-width-full .fl-button {display: block;text-align: center;}.fl-builder-content .fl-button-width-custom .fl-button {display: inline-block;text-align: center;max-width: 100%;}.fl-builder-content .fl-button-left {text-align: left;}.fl-builder-content .fl-button-center {text-align: center;}.fl-builder-content .fl-button-right {text-align: right;}.fl-builder-content .fl-button i {font-size: 1.3em;height: auto;margin-right:8px;vertical-align: middle;width: auto;}.fl-builder-content .fl-button i.fl-button-icon-after {margin-left: 8px;margin-right: 0;}.fl-builder-content .fl-button-has-icon .fl-button-text {vertical-align: middle;}.fl-icon-wrap {display: inline-block;}.fl-icon {display: table-cell;vertical-align: middle;}.fl-icon a {text-decoration: none;}.fl-icon i {float: left;}.fl-icon i:before {border: none !important;}.fl-icon-text {display: table-cell;text-align: left;padding-left: 15px;vertical-align: middle;}.fl-icon-text *:last-child {margin: 0 !important;padding: 0 !important;}.fl-icon-text a {text-decoration: none;}.fl-photo {line-height: 0;position: relative;}.fl-photo-align-left {text-align: left;}.fl-photo-align-center {text-align: center;}.fl-photo-align-right {text-align: right;}.fl-photo-content {display: inline-block;line-height: 0;position: relative;max-width: 100%;}.fl-photo-img-svg {width: 100%;}.fl-photo-content img {display: inline;height: auto !important;max-width: 100%;width: auto !important;}.fl-photo-crop-circle img {-webkit-border-radius: 100%;-moz-border-radius: 100%;border-radius: 100%;}.fl-photo-caption {font-size: 13px;line-height: 18px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.fl-photo-caption-below {padding-bottom: 20px;padding-top: 10px;}.fl-photo-caption-hover {background: rgba(0,0,0,0.7);bottom: 0;color: #fff;left: 0;opacity: 0;filter: alpha(opacity = 0);padding: 10px 15px;position: absolute;right: 0;-webkit-transition:opacity 0.3s ease-in;-moz-transition:opacity 0.3s ease-in;transition:opacity 0.3s ease-in;}.fl-photo-content:hover .fl-photo-caption-hover {opacity: 100;filter: alpha(opacity = 100);}.fl-builder-pagination {padding: 40px 0;}.fl-builder-pagination ul.page-numbers {list-style: none;margin: 0;padding: 0;text-align: center;}.fl-builder-pagination li {display: inline-block;list-style: none;margin: 0;padding: 0;}.fl-builder-pagination li a.page-numbers,.fl-builder-pagination li span.page-numbers {border: 1px solid #e6e6e6;display: inline-block;padding: 5px 10px;margin: 0 0 5px;}.fl-builder-pagination li a.page-numbers:hover,.fl-builder-pagination li span.current {background: #f5f5f5;text-decoration: none;}.fl-slideshow,.fl-slideshow * {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}.fl-slideshow .fl-slideshow-image img {max-width: none !important;}.fl-slideshow-social {line-height: 0 !important;}.fl-slideshow-social * {margin: 0 !important;}.fl-builder-content .bx-wrapper .bx-viewport {background: transparent;border: none;box-shadow: none;-moz-box-shadow: none;-webkit-box-shadow: none;left: 0;}.mfp-wrap button.mfp-arrow,.mfp-wrap button.mfp-arrow:active, .mfp-wrap button.mfp-arrow:hover, .mfp-wrap button.mfp-arrow:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 50%;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.mfp-wrap .mfp-close,.mfp-wrap .mfp-close:active,.mfp-wrap .mfp-close:hover,.mfp-wrap .mfp-close:focus {background: transparent !important;border: none !important;outline: none;position: absolute;top: 0;box-shadow: none !important;-moz-box-shadow: none !important;-webkit-box-shadow: none !important;}.admin-bar .mfp-wrap .mfp-close,.admin-bar .mfp-wrap .mfp-close:active,.admin-bar .mfp-wrap .mfp-close:hover,.admin-bar .mfp-wrap .mfp-close:focus {top: 32px!important;}img.mfp-img {padding: 0;}.mfp-counter {display: none;}.mfp-wrap .mfp-preloader.fa {font-size: 30px;}.fl-form-field {margin-bottom: 15px;}.fl-form-field input.fl-form-error {border-color: #DD6420;}.fl-form-error-message {clear: both;color: #DD6420;display: none;padding-top: 8px;font-size: 12px;font-weight: lighter;}.fl-form-button-disabled {opacity: 0.5;}.fl-animation {opacity: 0;}.fl-builder-mobile .fl-animation,.fl-builder-edit .fl-animation,.fl-animated {opacity: 1;}.fl-animated.fl-fade-in {animation: fl-fade-in 1s ease-out;-webkit-animation: fl-fade-in 1s ease-out;-moz-animation: fl-fade-in 1s ease-out;}@keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-webkit-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}@-moz-keyframes fl-fade-in {0% { opacity: 0; }100% { opacity: 1; }}.fl-animated.fl-slide-left {animation: fl-slide-left 1s ease-out;-webkit-animation: fl-slide-left 1s ease-out;-moz-animation: fl-slide-left 1s ease-out;}@keyframes fl-slide-left {0% { opacity: 0; transform: translateX(10%); }100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-left {0% { opacity: 0; -webkit-transform: translateX(10%); }100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-left {0% { opacity: 0; -moz-transform: translateX(10%); } 100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-right {animation: fl-slide-right 1s ease-out;-webkit-animation: fl-slide-right 1s ease-out;-moz-animation: fl-slide-right 1s ease-out;}@keyframes fl-slide-right {0% { opacity: 0; transform: translateX(-10%); } 100% { opacity: 1; transform: translateX(0%); }}@-webkit-keyframes fl-slide-right {0% { opacity: 0; -webkit-transform: translateX(-10%); } 100% { opacity: 1; -webkit-transform: translateX(0%); }}@-moz-keyframes fl-slide-right {0% { opacity: 0; -moz-transform: translateX(-10%); }100% { opacity: 1; -moz-transform: translateX(0%); }}.fl-animated.fl-slide-up {animation: fl-slide-up 1s ease-out;-webkit-animation: fl-slide-up 1s ease-out;-moz-animation: fl-slide-up 1s ease-out;}@keyframes fl-slide-up {0% { opacity: 0; transform: translateY(10%); }100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-up {0% { opacity: 0; -webkit-transform: translateY(10%); }100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-up {0% { opacity: 0; -moz-transform: translateY(10%); } 100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-animated.fl-slide-down {animation: fl-slide-down 1s ease-out;-webkit-animation: fl-slide-down 1s ease-out;-moz-animation: fl-slide-down 1s ease-out;}@keyframes fl-slide-down {0% { opacity: 0; transform: translateY(-10%); } 100% { opacity: 1; transform: translateY(0%); }}@-webkit-keyframes fl-slide-down {0% { opacity: 0; -webkit-transform: translateY(-10%); } 100% { opacity: 1; -webkit-transform: translateY(0%); }}@-moz-keyframes fl-slide-down {0% { opacity: 0; -moz-transform: translateY(-10%); }100% { opacity: 1; -moz-transform: translateY(0%); }}.fl-button.fl-button-icon-animation i {width: 0 !important;opacity: 0;-ms-filter: "alpha(opacity=0)";transition: all 0.2s ease-out;-webkit-transition: all 0.2s ease-out;}.fl-button.fl-button-icon-animation:hover i {opacity: 1! important;-ms-filter: "alpha(opacity=100)";}.fl-button.fl-button-icon-animation i.fl-button-icon-after {margin-left: 0px !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-after {margin-left: 10px !important;}.fl-button.fl-button-icon-animation i.fl-button-icon-before {margin-right: 0 !important;}.fl-button.fl-button-icon-animation:hover i.fl-button-icon-before {margin-right: 20px !important;margin-left: -10px;}.fl-builder-content a.fl-button,.fl-builder-content a.fl-button:visited {background: #fafafa;border: 1px solid #ccc;color: #333;}.fl-builder-content a.fl-button *,.fl-builder-content a.fl-button:visited * {color: #333;}.fl-row-content-wrap { margin: 0px; }.fl-row-content-wrap { padding: 20px; }.fl-row-fixed-width { max-width: 1100px; }.fl-module-content { margin: 10px; }@media (max-width: 992px) { .fl-visible-desktop,.fl-visible-mobile,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: none;}.fl-visible-desktop-medium,.fl-visible-medium,.fl-visible-medium-mobile,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col,.fl-col-group .fl-visible-medium-mobile.fl-col {display: block;} }@media (max-width: 768px) { .fl-visible-desktop,.fl-visible-desktop-medium,.fl-visible-medium,.fl-col-group .fl-visible-desktop.fl-col,.fl-col-group .fl-visible-desktop-medium.fl-col,.fl-col-group .fl-visible-medium.fl-col {display: none;}.fl-visible-medium-mobile,.fl-visible-mobile,.fl-col-group .fl-visible-medium-mobile.fl-col,.fl-col-group .fl-visible-mobile.fl-col {display: block;}.fl-row-content-wrap {background-attachment: scroll !important;}.fl-row-bg-parallax .fl-row-content-wrap {background-attachment: scroll !important;background-position: center center !important;}.fl-col-group.fl-col-group-equal-height {display: block;}.fl-col-group.fl-col-group-equal-height.fl-col-group-custom-width {display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;}.fl-col-group.fl-col-group-responsive-reversed {display: -webkit-box;display: -moz-box;display: -ms-flexbox;display: -moz-flex;display: -webkit-flex;display: flex;flex-flow: row wrap;-ms-box-orient: horizontal;-webkit-flex-flow: row wrap;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(1) { -webkit-box-ordinal-group: 12; -moz-box-ordinal-group: 12;-ms-flex-order: 12;-webkit-order: 12; order: 12; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(2) { -webkit-box-ordinal-group: 11;-moz-box-ordinal-group: 11;-ms-flex-order: 11;-webkit-order: 11;order: 11;}.fl-col-group-responsive-reversed .fl-col:nth-of-type(3) { -webkit-box-ordinal-group: 10;-moz-box-ordinal-group: 10;-ms-flex-order: 10;-webkit-order: 10;order: 10; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(4) { -webkit-box-ordinal-group: 9;-moz-box-ordinal-group: 9;-ms-flex-order: 9;-webkit-order: 9;order: 9; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(5) { -webkit-box-ordinal-group: 8;-moz-box-ordinal-group: 8;-ms-flex-order: 8;-webkit-order: 8;order: 8; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(6) { -webkit-box-ordinal-group: 7;-moz-box-ordinal-group: 7;-ms-flex-order: 7;-webkit-order: 7;order: 7; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(7) { -webkit-box-ordinal-group: 6;-moz-box-ordinal-group: 6;-ms-flex-order: 6;-webkit-order: 6;order: 6; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(8) { -webkit-box-ordinal-group: 5;-moz-box-ordinal-group: 5;-ms-flex-order: 5;-webkit-order: 5;order: 5; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(9) { -webkit-box-ordinal-group: 4;-moz-box-ordinal-group: 4;-ms-flex-order: 4;-webkit-order: 4;order: 4; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(10) { -webkit-box-ordinal-group: 3;-moz-box-ordinal-group: 3;-ms-flex-order: 3;-webkit-order: 3;order: 3; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(11) { -webkit-box-ordinal-group: 2;-moz-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2; }.fl-col-group-responsive-reversed .fl-col:nth-of-type(12) {-webkit-box-ordinal-group: 1;-moz-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;}.fl-col {clear: both;float: none;margin-left: auto;margin-right: auto;width: auto !important;}.fl-col-small {max-width: 400px;}.fl-block-col-resize {display:none;}.fl-row[data-node] .fl-row-content-wrap {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;}.fl-row[data-node] .fl-bg-video,.fl-row[data-node] .fl-bg-slideshow {left: 0;right: 0;}.fl-col[data-node] .fl-col-content {border-left: none;border-right: none;margin: 0;padding-left: 0;padding-right: 0;} }.page .fl-post-header, .single-fl-builder-template .fl-post-header { display:none; } .fl-node-5e5cd45f966b6 > .fl-row-content-wrap {padding-top:40px;padding-bottom:40px;} .fl-node-5e5cd63fa8eb9 > .fl-row-content-wrap {padding-top:40px;padding-bottom:40px;} .fl-node-5e5cd6b79fe10 > .fl-row-content-wrap {padding-top:40px;padding-bottom:40px;}.fl-node-5e5cd45f9676d {width: 100%;} .fl-node-5e5cd45f9676d > .fl-col-content {margin-bottom:20px;}.fl-node-5e5cdd33d598b {width: 100%;}.fl-node-5e5cd45f967e8 {width: 100%;} .fl-node-5e5cd45f967e8 > .fl-col-content {margin-top:0px;margin-right:30px;margin-bottom:0px;margin-left:0px;} .fl-node-5e5cd45f967e8 > .fl-col-content {padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.fl-node-5e5cd6ef457d1 {width: 100%;}.fl-node-5e5cd63fa9692 {width: 100%;}.fl-node-5e5cd6b7a06bf {width: 100%;}.fl-module-heading .fl-heading {padding: 0 !important;margin: 0 !important;}.fl-node-5e5cd45f9663c.fl-module-heading .fl-heading {text-align: center;font-size: 30px;line-height: 1.4;}.fl-node-5e5cd45f9663c h3.fl-heading a,.fl-node-5e5cd45f9663c h3.fl-heading .fl-heading-text,.fl-node-5e5cd45f9663c h3.fl-heading .fl-heading-text *,.fl-row .fl-col .fl-node-5e5cd45f9663c h3.fl-heading .fl-heading-text {color: #333333;}.fl-node-5e5cd45f9663c .fl-heading .fl-heading-text{font-family: Poppins;font-weight: 600;} .fl-node-5e5cd45f9663c > .fl-module-content {margin-top:0px;margin-right:0px;margin-bottom:20px;margin-left:0px;}@media (max-width: 768px) { .fl-node-5e5cd45f9663c > .fl-module-content { margin-bottom:10px; } }.fl-node-5e5cdd49b74f9 .fl-separator {border-top:2px solid #45a3ef;filter: alpha(opacity = 100);opacity: 1;width: 10%;max-width: 100%;margin: auto;} .fl-node-5e5cdd49b74f9 > .fl-module-content {margin-top:15px;margin-bottom:30px;}@media (max-width: 768px) { .fl-node-5e5cdd49b74f9 > .fl-module-content { margin-top:10px;margin-bottom:10px; } }.fl-node-5e5cd63fa96d1.fl-module-heading .fl-heading {text-align: center;font-size: 30px;line-height: 1.4;}.fl-node-5e5cd63fa96d1 h3.fl-heading a,.fl-node-5e5cd63fa96d1 h3.fl-heading .fl-heading-text,.fl-node-5e5cd63fa96d1 h3.fl-heading .fl-heading-text *,.fl-row .fl-col .fl-node-5e5cd63fa96d1 h3.fl-heading .fl-heading-text {color: #333333;}.fl-node-5e5cd63fa96d1 .fl-heading .fl-heading-text{font-family: Poppins;font-weight: 600;} .fl-node-5e5cd63fa96d1 > .fl-module-content {margin-top:0px;margin-right:0px;margin-bottom:20px;margin-left:0px;}@media (max-width: 768px) { .fl-node-5e5cd63fa96d1 > .fl-module-content { margin-bottom:10px; } }.fl-node-5e5cdd7b243c4 .fl-separator {border-top:2px solid #45a3ef;filter: alpha(opacity = 100);opacity: 1;width: 10%;max-width: 100%;margin: auto;} .fl-node-5e5cdd7b243c4 > .fl-module-content {margin-top:15px;margin-bottom:30px;}@media (max-width: 768px) { .fl-node-5e5cdd7b243c4 > .fl-module-content { margin-top:10px;margin-bottom:10px; } }.fl-mosaicflow-content {visibility: hidden;}.fl-mosaicflow-col {float:left;}.fl-gallery {position: relative;}.fl-gallery-item {display: none;height: 150px;width: 150px;}.fl-node-5e5cdc282f9ac .fl-mosaicflow {margin-left: -20px;}.fl-mosaicflow-item {margin: 0 0 20px 20px;}.fl-node-5e5cdca11ceb5 .fl-mosaicflow {margin-left: -20px;}.fl-mosaicflow-item {margin: 0 0 20px 20px;}.fl-node-5e5cdccdea9ce .fl-mosaicflow {margin-left: -20px;}.fl-mosaicflow-item {margin: 0 0 20px 20px;}.fl-node-5e5cd6b7a06fe.fl-module-heading .fl-heading {text-align: center;font-size: 30px;line-height: 1.4;}.fl-node-5e5cd6b7a06fe h3.fl-heading a,.fl-node-5e5cd6b7a06fe h3.fl-heading .fl-heading-text,.fl-node-5e5cd6b7a06fe h3.fl-heading .fl-heading-text *,.fl-row .fl-col .fl-node-5e5cd6b7a06fe h3.fl-heading .fl-heading-text {color: #333333;}.fl-node-5e5cd6b7a06fe .fl-heading .fl-heading-text{font-family: Poppins;font-weight: 600;} .fl-node-5e5cd6b7a06fe > .fl-module-content {margin-top:0px;margin-right:0px;margin-bottom:20px;margin-left:0px;}@media (max-width: 768px) { .fl-node-5e5cd6b7a06fe > .fl-module-content { margin-bottom:10px; } }.fl-node-5e5cdd84a1eb7 .fl-separator {border-top:2px solid #45a3ef;filter: alpha(opacity = 100);opacity: 1;width: 10%;max-width: 100%;margin: auto;} .fl-node-5e5cdd84a1eb7 > .fl-module-content {margin-top:15px;margin-bottom:30px;}@media (max-width: 768px) { .fl-node-5e5cdd84a1eb7 > .fl-module-content { margin-top:10px;margin-bottom:10px; } }.fl-node-5e5cda3d6c4c3 .fl-mosaicflow {margin-left: -20px;}.fl-mosaicflow-item {margin: 0 0 20px 20px;} .fl-node-5e5cda3d6c4c3 > .fl-module-content {margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} |
public/uploads/bb-plugin/cache/824-layout.js
0 → 100644
1 | + | ||
2 | +var wpAjaxUrl='https://www.shopk.com/wp-admin/admin-ajax.php';var flBuilderUrl='https://www.shopk.com/wp-content/plugins/bb-plugin/';var FLBuilderLayoutConfig={anchorLinkAnimations:{duration:1000,easing:'swing',offset:100},paths:{pluginUrl:'https://www.shopk.com/wp-content/plugins/bb-plugin/',wpAjaxUrl:'https://www.shopk.com/wp-admin/admin-ajax.php'}};(function($){if(typeof FLBuilderLayout!='undefined'){return;} | ||
3 | +FLBuilderLayout={init:function() | ||
4 | +{FLBuilderLayout._destroy();FLBuilderLayout._initClasses();FLBuilderLayout._initBackgrounds();if(0===$('.fl-builder-edit').length){FLBuilderLayout._initAnchorLinks();FLBuilderLayout._initHash();FLBuilderLayout._initModuleAnimations();FLBuilderLayout._initForms();}},refreshGalleries:function(element) | ||
5 | +{var $element='undefined'==typeof element?$('body'):$(element),mfContent=$element.find('.fl-mosaicflow-content'),wmContent=$element.find('.fl-gallery'),mfObject=null;if(mfContent){mfObject=mfContent.data('mosaicflow');if(mfObject){mfObject.columns=$([]);mfObject.columnsHeights=[];mfContent.data('mosaicflow',mfObject);mfContent.mosaicflow('refill');}} | ||
6 | +if(wmContent){wmContent.trigger('refreshWookmark');}},refreshGridLayout:function(element) | ||
7 | +{var $element='undefined'==typeof element?$('body'):$(element),msnryContent=$element.find('.masonry');if(msnryContent.length){msnryContent.masonry('layout');}},reloadSlider:function(element) | ||
8 | +{var $element='undefined'==typeof element?$('body'):$(element),bxContent=$element.find('.bx-viewport .fl-post-carousel-wrapper'),bxObject=null;if(bxContent.length){bxContent.each(function(){bxObject=$(this).data('bxSlider');if(bxObject){bxObject.reloadSlider();}})}},resizeAudio:function(element) | ||
9 | +{var $element='undefined'==typeof element?$('body'):$(element),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio'),player=null,mejsPlayer=null,rail=null,railWidth=400;if(audioPlayers.length&&typeof mejs!=='undefined'){audioPlayers.each(function(){player=$(this);mejsPlayer=mejs.players[player.attr('id')];rail=player.find('.mejs-controls .mejs-time-rail');var innerMejs=player.find('.mejs-inner'),total=player.find('.mejs-controls .mejs-time-total');if(typeof mejsPlayer!=='undefined'){railWidth=Math.ceil(player.width()*0.8);if(innerMejs.length){rail.css('width',railWidth+'px!important');mejsPlayer.options.autosizeProgress=true;setTimeout(function(){mejsPlayer.setControlsSize();},50);player.find('.mejs-inner').css({visibility:'visible',height:'inherit'});}}});}},preloadAudio:function(element) | ||
10 | +{var $element='undefined'==typeof element?$('body'):$(element),contentWrap=$element.closest('.fl-accordion-item'),audioPlayers=$element.find('.wp-audio-shortcode.mejs-audio');if(!contentWrap.hasClass('fl-accordion-item-active')&&audioPlayers.find('.mejs-inner').length){audioPlayers.find('.mejs-inner').css({visibility:'hidden',height:0});}},_destroy:function() | ||
11 | +{var win=$(window);win.off('scroll.fl-bg-parallax');win.off('resize.fl-bg-video');},_isTouch:function() | ||
12 | +{if(('ontouchstart'in window)||(window.DocumentTouch&&document instanceof DocumentTouch)){return true;} | ||
13 | +return false;},_isMobile:function() | ||
14 | +{return/Mobile|Android|Silk\/|Kindle|BlackBerry|Opera Mini|Opera Mobi|webOS/i.test(navigator.userAgent);},_initClasses:function() | ||
15 | +{var body=$('body'),ua=navigator.userAgent;if(!body.hasClass('archive')&&$('.fl-builder-content-primary').length>0){body.addClass('fl-builder');} | ||
16 | +if(FLBuilderLayout._isTouch()){body.addClass('fl-builder-touch');} | ||
17 | +if(FLBuilderLayout._isMobile()){body.addClass('fl-builder-mobile');} | ||
18 | +if(ua.indexOf('Trident/7.0')>-1&&ua.indexOf('rv:11.0')>-1){body.addClass('fl-builder-ie-11');}},_initBackgrounds:function() | ||
19 | +{var win=$(window);if($('.fl-row-bg-parallax').length>0&&!FLBuilderLayout._isMobile()){FLBuilderLayout._scrollParallaxBackgrounds();FLBuilderLayout._initParallaxBackgrounds();win.on('scroll.fl-bg-parallax',FLBuilderLayout._scrollParallaxBackgrounds);} | ||
20 | +if($('.fl-bg-video').length>0){FLBuilderLayout._initBgVideos();FLBuilderLayout._resizeBgVideos();win.on('resize.fl-bg-video',FLBuilderLayout._resizeBgVideos);}},_initParallaxBackgrounds:function() | ||
21 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._initParallaxBackground);},_initParallaxBackground:function() | ||
22 | +{var row=$(this),content=row.find('> .fl-row-content-wrap'),src=row.data('parallax-image'),loaded=row.data('parallax-loaded'),img=new Image();if(loaded){return;} | ||
23 | +else if(typeof src!='undefined'){$(img).on('load',function(){content.css('background-image','url('+src+')');row.data('parallax-loaded',true);});img.src=src;}},_scrollParallaxBackgrounds:function() | ||
24 | +{$('.fl-row-bg-parallax').each(FLBuilderLayout._scrollParallaxBackground);},_scrollParallaxBackground:function() | ||
25 | +{var win=$(window),row=$(this),content=row.find('.fl-row-content-wrap'),speed=row.data('parallax-speed'),offset=content.offset(),yPos=-((win.scrollTop()-offset.top)/speed);content.css('background-position','center '+yPos+'px');},_initBgVideos:function() | ||
26 | +{$('.fl-bg-video').each(FLBuilderLayout._initBgVideo);},_initBgVideo:function() | ||
27 | +{var wrap=$(this),width=wrap.data('width'),height=wrap.data('height'),mp4=wrap.data('mp4'),youtube=wrap.data('youtube'),vimeo=wrap.data('vimeo'),mp4Type=wrap.data('mp4-type'),webm=wrap.data('webm'),webmType=wrap.data('webm-type'),fallback=wrap.data('fallback'),loaded=wrap.data('loaded'),fallbackTag='',videoTag=null,mp4Tag=null,webmTag=null,playerTag=wrap.find('.fl-bg-video-player');if(loaded){return;} | ||
28 | +else if(!FLBuilderLayout._isMobile()){videoTag=$('<video autoplay loop muted preload></video>');if('undefined'!=typeof mp4){mp4Tag=$('<source />');mp4Tag.attr('src',mp4);mp4Tag.attr('type',mp4Type);if('undefined'==typeof webm){mp4Tag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
29 | +videoTag.append(mp4Tag);} | ||
30 | +if('undefined'!=typeof webm){webmTag=$('<source />');webmTag.attr('src',webm);webmTag.attr('type',webmType);if('undefined'!=typeof mp4){webmTag.on('error',FLBuilderLayout._videoBgSourceError);} | ||
31 | +videoTag.append(webmTag);} | ||
32 | +if('undefined'!=typeof youtube){FLBuilderLayout._initYoutubeBgVideo.apply(this);} | ||
33 | +else if('undefined'!=typeof vimeo){FLBuilderLayout._initVimeoBgVideo.apply(this);} | ||
34 | +else{wrap.append(videoTag);}} | ||
35 | +else if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);} | ||
36 | +wrap.data('loaded',true);},_initYoutubeBgVideo:function() | ||
37 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player;if(videoId){FLBuilderLayout._onYoutubeApiReady(function(YT){setTimeout(function(){player=new YT.Player(videoPlayer[0],{videoId:videoId,events:{onReady:function(event){if("no"===enableAudio){event.target.mute();} | ||
38 | +else if("yes"===enableAudio&&event.target.isMuted){event.target.unMute();} | ||
39 | +playerWrap.data('YTPlayer',player);FLBuilderLayout._resizeYoutubeBgVideo.apply(playerWrap);event.target.playVideo();},onStateChange:function(event){if(event.data===YT.PlayerState.ENDED){player.seekTo(0);}}},playerVars:{controls:0,showinfo:0}});},1);});}},_onYoutubeApiReady:function(callback){if(window.YT&&YT.loaded){callback(YT);}else{setTimeout(function(){FLBuilderLayout._onYoutubeApiReady(callback);},350);}},_initVimeoBgVideo:function() | ||
40 | +{var playerWrap=$(this),videoId=playerWrap.data('video-id'),videoPlayer=playerWrap.find('.fl-bg-video-player'),enableAudio=playerWrap.data('enable-audio'),player,width=playerWrap.outerWidth();if(typeof Vimeo!=='undefined'&&videoId){player=new Vimeo.Player(videoPlayer[0],{id:videoId,loop:true,title:false,portrait:false});playerWrap.data('VMPlayer',player);if("no"===enableAudio){player.setVolume(0);} | ||
41 | +else if("yes"===enableAudio){player.setVolume(1);} | ||
42 | +player.play();}},_videoBgSourceError:function(e) | ||
43 | +{var source=$(e.target),wrap=source.closest('.fl-bg-video'),vid=wrap.find('video'),fallback=wrap.data('fallback'),fallbackTag='';if(''!==fallback){fallbackTag=$('<div></div>');fallbackTag.addClass('fl-bg-video-fallback');fallbackTag.css('background-image','url('+fallback+')');wrap.append(fallbackTag);vid.remove();}},_resizeBgVideos:function() | ||
44 | +{$('.fl-bg-video').each(function(){FLBuilderLayout._resizeBgVideo.apply(this);if($(this).parent().find('img').length>0){$(this).parent().imagesLoaded($.proxy(FLBuilderLayout._resizeBgVideo,this));}});},_resizeBgVideo:function() | ||
45 | +{if(0===$(this).find('video').length&&0===$(this).find('iframe').length){return;} | ||
46 | +var wrap=$(this),wrapHeight=wrap.outerHeight(),wrapWidth=wrap.outerWidth(),vid=wrap.find('video'),vidHeight=wrap.data('height'),vidWidth=wrap.data('width'),newWidth=wrapWidth,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newLeft=0,newTop=0,iframe=wrap.find('iframe');if(vid.length){if(vidHeight===''||typeof vidHeight==='undefined'||vidWidth===''||typeof vidWidth==='undefined'){vid.css({'left':'0px','top':'0px','width':newWidth+'px'});vid.on('loadedmetadata',FLBuilderLayout._resizeOnLoadedMeta);} | ||
47 | +else{if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
48 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
49 | +vid.css({'left':newLeft+'px','top':newTop+'px','height':newHeight+'px','width':newWidth+'px'});}} | ||
50 | +else if(iframe.length){if(typeof wrap.data('youtube')!=='undefined'){FLBuilderLayout._resizeYoutubeBgVideo.apply(this);}}},_resizeOnLoadedMeta:function(){var video=$(this),wrapHeight=video.parent().outerHeight(),wrapWidth=video.parent().outerWidth(),vidWidth=video[0].videoWidth,vidHeight=video[0].videoHeight,newHeight=Math.round(vidHeight*wrapWidth/vidWidth),newTop=0;if(newHeight<wrapHeight){newHeight=wrapHeight;newWidth=Math.round(vidWidth*wrapHeight/vidHeight);newLeft=-((newWidth-wrapWidth)/2);} | ||
51 | +else{newTop=-((newHeight-wrapHeight)/2);} | ||
52 | +video.parent().data('width',vidWidth);video.parent().data('height',vidHeight);video.css({'left':newLeft+'px','top':newTop+'px','width':newWidth+'px','height':newHeight+'px'});},_resizeYoutubeBgVideo:function() | ||
53 | +{var wrap=$(this),wrapWidth=wrap.outerWidth(),wrapHeight=wrap.outerHeight(),player=wrap.data('YTPlayer'),video=player?player.getIframe():null,aspectRatioSetting='16:9',aspectRatioArray=aspectRatioSetting.split(':'),aspectRatio=aspectRatioArray[0]/aspectRatioArray[1],ratioWidth=wrapWidth/aspectRatio,ratioHeight=wrapHeight*aspectRatio,isWidthFixed=wrapWidth/wrapHeight>aspectRatio,width=isWidthFixed?wrapWidth:ratioHeight,height=isWidthFixed?ratioWidth:wrapHeight;if(video){$(video).width(width).height(height);}},_initModuleAnimations:function() | ||
54 | +{if(typeof jQuery.fn.waypoint!=='undefined'&&!FLBuilderLayout._isMobile()){$('.fl-animation').each(function(){var node=$(this),nodeTop=node.offset().top,winHeight=$(window).height(),bodyHeight=$('body').height(),offset='80%';if(bodyHeight-nodeTop<winHeight*0.2){offset='100%';} | ||
55 | +node.waypoint({offset:offset,handler:FLBuilderLayout._doModuleAnimation});});}},_doModuleAnimation:function() | ||
56 | +{var module='undefined'==typeof this.element?$(this):$(this.element),delay=parseFloat(module.data('animation-delay'));if(!isNaN(delay)&&delay>0){setTimeout(function(){module.addClass('fl-animated');},delay*1000);} | ||
57 | +else{module.addClass('fl-animated');}},_initHash:function() | ||
58 | +{var hash=window.location.hash.replace('#','').split('/').shift(),element=null,tabs=null,responsiveLabel=null,tabIndex=null,label=null;if(''!==hash){try{element=$('#'+hash);if(element.length>0){if(element.hasClass('fl-accordion-item')){setTimeout(function(){element.find('.fl-accordion-button').trigger('click');},100);} | ||
59 | +if(element.hasClass('fl-tabs-panel')){setTimeout(function(){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){responsiveLabel.trigger('click');} | ||
60 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');}},100);}}} | ||
61 | +catch(e){}}},_initAnchorLinks:function() | ||
62 | +{$('a').each(FLBuilderLayout._initAnchorLink);},_initAnchorLink:function() | ||
63 | +{var link=$(this),href=link.attr('href'),loc=window.location,id=null,element=null;if('undefined'!=typeof href&&href.indexOf('#')>-1){if(loc.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&loc.hostname==this.hostname){try{id=href.split('#').pop();element=$('#'+id);if(element.length>0){if(link.hasClass('fl-scroll-link')||element.hasClass('fl-row')||element.hasClass('fl-col')||element.hasClass('fl-module')){$(link).on('click',FLBuilderLayout._scrollToElementOnLinkClick);} | ||
64 | +if(element.hasClass('fl-accordion-item')){$(link).on('click',FLBuilderLayout._scrollToAccordionOnLinkClick);} | ||
65 | +if(element.hasClass('fl-tabs-panel')){$(link).on('click',FLBuilderLayout._scrollToTabOnLinkClick);}}} | ||
66 | +catch(e){}}}},_scrollToElementOnLinkClick:function(e,callback) | ||
67 | +{var element=$('#'+$(this).attr('href').split('#').pop());FLBuilderLayout._scrollToElement(element,callback);e.preventDefault();},_scrollToElement:function(element,callback) | ||
68 | +{var config=FLBuilderLayoutConfig.anchorLinkAnimations,dest=0,win=$(window),doc=$(document);if(element.length>0){if(element.offset().top>doc.height()-win.height()){dest=doc.height()-win.height();} | ||
69 | +else{dest=element.offset().top-config.offset;} | ||
70 | +$('html, body').animate({scrollTop:dest},config.duration,config.easing,function(){if('undefined'!=typeof callback){callback();} | ||
71 | +if(undefined!=element.attr('id')){if(history.pushState){history.pushState(null,null,'#'+element.attr('id'));} | ||
72 | +else{window.location.hash=element.attr('id');}}});}},_scrollToAccordionOnLinkClick:function(e) | ||
73 | +{var element=$('#'+$(this).attr('href').split('#').pop());if(element.length>0){var callback=function(){if(element){element.find('.fl-accordion-button').trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);}},_scrollToTabOnLinkClick:function(e) | ||
74 | +{var element=$('#'+$(this).attr('href').split('#').pop()),tabs=null,label=null,responsiveLabel=null;if(element.length>0){tabs=element.closest('.fl-tabs');responsiveLabel=element.find('.fl-tabs-panel-label');tabIndex=responsiveLabel.data('index');label=tabs.find('.fl-tabs-labels .fl-tabs-label[data-index='+tabIndex+']');if(responsiveLabel.is(':visible')){var callback=function(){if(element){responsiveLabel.trigger('click');element=false;}};FLBuilderLayout._scrollToElementOnLinkClick.call(this,e,callback);} | ||
75 | +else{FLBuilderLayout._scrollToElement(label);label.trigger('click');} | ||
76 | +e.preventDefault();}},_initForms:function() | ||
77 | +{if(!FLBuilderLayout._hasPlaceholderSupport){$('.fl-form-field input').each(FLBuilderLayout._initFormFieldPlaceholderFallback);} | ||
78 | +$('.fl-form-field input').on('focus',FLBuilderLayout._clearFormFieldError);},_hasPlaceholderSupport:function() | ||
79 | +{var input=document.createElement('input');return'undefined'!=input.placeholder;},_initFormFieldPlaceholderFallback:function() | ||
80 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if('undefined'!=placeholder&&''===val){field.val(placeholder);field.on('focus',FLBuilderLayout._hideFormFieldPlaceholderFallback);field.on('blur',FLBuilderLayout._showFormFieldPlaceholderFallback);}},_hideFormFieldPlaceholderFallback:function() | ||
81 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(val==placeholder){field.val('');}},_showFormFieldPlaceholderFallback:function() | ||
82 | +{var field=$(this),val=field.val(),placeholder=field.attr('placeholder');if(''===val){field.val(placeholder);}},_clearFormFieldError:function() | ||
83 | +{var field=$(this);field.removeClass('fl-form-error');field.siblings('.fl-form-error-message').hide();}};$(function(){FLBuilderLayout.init();});})(jQuery);(function($){$(function(){if(typeof $.fn.magnificPopup!=='undefined'){$('.fl-node-5e5cdc282f9ac .fl-mosaicflow-content, .fl-node-5e5cdc282f9ac .fl-gallery').magnificPopup({delegate:'.fl-photo-content a',closeBtnInside:false,type:'image',gallery:{enabled:true,navigateByImgClick:true,},'image':{titleSrc:function(item){}},callbacks:{open:function(){if(this.items.length>0){var parent,item,newIndex=0,newItems=[];$(this.items).each(function(i,data){item=$(this);if('undefined'!==typeof this.el){item=this.el;} | ||
84 | +parent=item.parents('.fl-mosaicflow-item');newIndex=$(parent).attr('id').split('-').pop();newIndex=newIndex>0?newIndex-1:0;newItems[newIndex]=this;});this.items=newItems;}}}});} | ||
85 | +$('.fl-node-5e5cdc282f9ac .fl-mosaicflow-content').one('filled',function(){var hash=window.location.hash.replace('#','');if(hash!=''){FLBuilderLayout._scrollToElement($('#'+hash));} | ||
86 | +if('undefined'!=typeof Waypoint){Waypoint.refreshAll();}}).mosaicflow({itemSelector:'.fl-mosaicflow-item',columnClass:'fl-mosaicflow-col',minItemWidth:300});});})(jQuery);(function($){$(function(){if(typeof $.fn.magnificPopup!=='undefined'){$('.fl-node-5e5cdca11ceb5 .fl-mosaicflow-content, .fl-node-5e5cdca11ceb5 .fl-gallery').magnificPopup({delegate:'.fl-photo-content a',closeBtnInside:false,type:'image',gallery:{enabled:true,navigateByImgClick:true,},'image':{titleSrc:function(item){}},callbacks:{open:function(){if(this.items.length>0){var parent,item,newIndex=0,newItems=[];$(this.items).each(function(i,data){item=$(this);if('undefined'!==typeof this.el){item=this.el;} | ||
87 | +parent=item.parents('.fl-mosaicflow-item');newIndex=$(parent).attr('id').split('-').pop();newIndex=newIndex>0?newIndex-1:0;newItems[newIndex]=this;});this.items=newItems;}}}});} | ||
88 | +$('.fl-node-5e5cdca11ceb5 .fl-mosaicflow-content').one('filled',function(){var hash=window.location.hash.replace('#','');if(hash!=''){FLBuilderLayout._scrollToElement($('#'+hash));} | ||
89 | +if('undefined'!=typeof Waypoint){Waypoint.refreshAll();}}).mosaicflow({itemSelector:'.fl-mosaicflow-item',columnClass:'fl-mosaicflow-col',minItemWidth:300});});})(jQuery);(function($){$(function(){if(typeof $.fn.magnificPopup!=='undefined'){$('.fl-node-5e5cdccdea9ce .fl-mosaicflow-content, .fl-node-5e5cdccdea9ce .fl-gallery').magnificPopup({delegate:'.fl-photo-content a',closeBtnInside:false,type:'image',gallery:{enabled:true,navigateByImgClick:true,},'image':{titleSrc:function(item){}},callbacks:{open:function(){if(this.items.length>0){var parent,item,newIndex=0,newItems=[];$(this.items).each(function(i,data){item=$(this);if('undefined'!==typeof this.el){item=this.el;} | ||
90 | +parent=item.parents('.fl-mosaicflow-item');newIndex=$(parent).attr('id').split('-').pop();newIndex=newIndex>0?newIndex-1:0;newItems[newIndex]=this;});this.items=newItems;}}}});} | ||
91 | +$('.fl-node-5e5cdccdea9ce .fl-mosaicflow-content').one('filled',function(){var hash=window.location.hash.replace('#','');if(hash!=''){FLBuilderLayout._scrollToElement($('#'+hash));} | ||
92 | +if('undefined'!=typeof Waypoint){Waypoint.refreshAll();}}).mosaicflow({itemSelector:'.fl-mosaicflow-item',columnClass:'fl-mosaicflow-col',minItemWidth:300});});})(jQuery);(function($){$(function(){if(typeof $.fn.magnificPopup!=='undefined'){$('.fl-node-5e5cda3d6c4c3 .fl-mosaicflow-content, .fl-node-5e5cda3d6c4c3 .fl-gallery').magnificPopup({delegate:'.fl-photo-content a',closeBtnInside:false,type:'image',gallery:{enabled:true,navigateByImgClick:true,},'image':{titleSrc:function(item){}},callbacks:{open:function(){if(this.items.length>0){var parent,item,newIndex=0,newItems=[];$(this.items).each(function(i,data){item=$(this);if('undefined'!==typeof this.el){item=this.el;} | ||
93 | +parent=item.parents('.fl-mosaicflow-item');newIndex=$(parent).attr('id').split('-').pop();newIndex=newIndex>0?newIndex-1:0;newItems[newIndex]=this;});this.items=newItems;}}}});} | ||
94 | +$('.fl-node-5e5cda3d6c4c3 .fl-mosaicflow-content').one('filled',function(){var hash=window.location.hash.replace('#','');if(hash!=''){FLBuilderLayout._scrollToElement($('#'+hash));} | ||
95 | +if('undefined'!=typeof Waypoint){Waypoint.refreshAll();}}).mosaicflow({itemSelector:'.fl-mosaicflow-item',columnClass:'fl-mosaicflow-col',minItemWidth:300});});})(jQuery); |
public/uploads/ec6a2016.jpg
0 → 100644
158.7 KB
public/uploads/favico.png
0 → 100644
3.8 KB
public/uploads/logo1.png
0 → 100644
37.1 KB
public/uploads/p1.jpg
0 → 100644
41.3 KB
public/uploads/p2.jpg
0 → 100644
47.3 KB
public/uploads/p3.jpg
0 → 100644
45.6 KB
public/uploads/pa02.png
0 → 100644
2.3 KB
public/uploads/pa03.png
0 → 100644
3.0 KB
public/uploads/pa06.png
0 → 100644
2.7 KB
1 | +/* Magnific Popup CSS */ | ||
2 | +.mfp-bg { | ||
3 | + top: 0; | ||
4 | + left: 0; | ||
5 | + width: 100%; | ||
6 | + height: 100%; | ||
7 | + z-index: 1042; | ||
8 | + overflow: hidden; | ||
9 | + position: fixed; | ||
10 | + background: #0b0b0b; | ||
11 | + opacity: 0.8; | ||
12 | + filter: alpha(opacity=80); } | ||
13 | + | ||
14 | +.mfp-wrap { | ||
15 | + top: 0; | ||
16 | + left: 0; | ||
17 | + width: 100%; | ||
18 | + height: 100%; | ||
19 | + z-index: 1043; | ||
20 | + position: fixed; | ||
21 | + outline: none !important; | ||
22 | + -webkit-backface-visibility: hidden; } | ||
23 | + | ||
24 | +.mfp-container { | ||
25 | + text-align: center; | ||
26 | + position: absolute; | ||
27 | + width: 100%; | ||
28 | + height: 100%; | ||
29 | + left: 0; | ||
30 | + top: 0; | ||
31 | + padding: 0 8px; | ||
32 | + -webkit-box-sizing: border-box; | ||
33 | + -moz-box-sizing: border-box; | ||
34 | + box-sizing: border-box; } | ||
35 | + | ||
36 | +.mfp-container:before { | ||
37 | + content: ''; | ||
38 | + display: inline-block; | ||
39 | + height: 100%; | ||
40 | + vertical-align: middle; } | ||
41 | + | ||
42 | +.mfp-align-top .mfp-container:before { | ||
43 | + display: none; } | ||
44 | + | ||
45 | +.mfp-content { | ||
46 | + position: relative; | ||
47 | + display: inline-block; | ||
48 | + vertical-align: middle; | ||
49 | + margin: 0 auto; | ||
50 | + text-align: left; | ||
51 | + z-index: 1045; } | ||
52 | + | ||
53 | +.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { | ||
54 | + width: 100%; | ||
55 | + cursor: auto; } | ||
56 | + | ||
57 | +.mfp-ajax-cur { | ||
58 | + cursor: progress; } | ||
59 | + | ||
60 | +.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { | ||
61 | + cursor: -moz-zoom-out; | ||
62 | + cursor: -webkit-zoom-out; | ||
63 | + cursor: zoom-out; } | ||
64 | + | ||
65 | +.mfp-zoom { | ||
66 | + cursor: pointer; | ||
67 | + cursor: -webkit-zoom-in; | ||
68 | + cursor: -moz-zoom-in; | ||
69 | + cursor: zoom-in; } | ||
70 | + | ||
71 | +.mfp-auto-cursor .mfp-content { | ||
72 | + cursor: auto; } | ||
73 | + | ||
74 | +.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { | ||
75 | + -webkit-user-select: none; | ||
76 | + -moz-user-select: none; | ||
77 | + user-select: none; } | ||
78 | + | ||
79 | +.mfp-loading.mfp-figure { | ||
80 | + display: none; } | ||
81 | + | ||
82 | +.mfp-hide { | ||
83 | + display: none !important; } | ||
84 | + | ||
85 | +.mfp-preloader { | ||
86 | + color: #cccccc; | ||
87 | + position: absolute; | ||
88 | + top: 50%; | ||
89 | + width: auto; | ||
90 | + text-align: center; | ||
91 | + margin-top: -0.8em; | ||
92 | + left: 8px; | ||
93 | + right: 8px; | ||
94 | + z-index: 1044; } | ||
95 | + .mfp-preloader a { | ||
96 | + color: #cccccc; } | ||
97 | + .mfp-preloader a:hover { | ||
98 | + color: white; } | ||
99 | + | ||
100 | +.mfp-s-ready .mfp-preloader { | ||
101 | + display: none; } | ||
102 | + | ||
103 | +.mfp-s-error .mfp-content { | ||
104 | + display: none; } | ||
105 | + | ||
106 | +button.mfp-close, button.mfp-arrow { | ||
107 | + overflow: visible; | ||
108 | + cursor: pointer; | ||
109 | + background: transparent; | ||
110 | + border: 0; | ||
111 | + -webkit-appearance: none; | ||
112 | + display: block; | ||
113 | + outline: none; | ||
114 | + padding: 0; | ||
115 | + z-index: 1046; | ||
116 | + -webkit-box-shadow: none; | ||
117 | + box-shadow: none; } | ||
118 | +button::-moz-focus-inner { | ||
119 | + padding: 0; | ||
120 | + border: 0; } | ||
121 | + | ||
122 | +.mfp-close { | ||
123 | + width: 44px; | ||
124 | + height: 44px; | ||
125 | + line-height: 44px; | ||
126 | + position: absolute; | ||
127 | + right: 0; | ||
128 | + top: 0; | ||
129 | + text-decoration: none; | ||
130 | + text-align: center; | ||
131 | + opacity: 0.65; | ||
132 | + padding: 0 0 18px 10px; | ||
133 | + color: white; | ||
134 | + font-style: normal; | ||
135 | + font-size: 28px; | ||
136 | + font-family: Arial, Baskerville, monospace; } | ||
137 | + .mfp-close:hover, .mfp-close:focus { | ||
138 | + opacity: 1; } | ||
139 | + .mfp-close:active { | ||
140 | + top: 1px; } | ||
141 | + | ||
142 | +.mfp-close-btn-in .mfp-close { | ||
143 | + color: #333333; } | ||
144 | + | ||
145 | +.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { | ||
146 | + color: white; | ||
147 | + right: -6px; | ||
148 | + text-align: right; | ||
149 | + padding-right: 6px; | ||
150 | + width: 100%; } | ||
151 | + | ||
152 | +.mfp-counter { | ||
153 | + position: absolute; | ||
154 | + top: 0; | ||
155 | + right: 0; | ||
156 | + color: #cccccc; | ||
157 | + font-size: 12px; | ||
158 | + line-height: 18px; } | ||
159 | + | ||
160 | +.mfp-arrow { | ||
161 | + position: absolute; | ||
162 | + opacity: 0.65; | ||
163 | + margin: 0; | ||
164 | + top: 50%; | ||
165 | + margin-top: -55px; | ||
166 | + padding: 0; | ||
167 | + width: 90px; | ||
168 | + height: 110px; | ||
169 | + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } | ||
170 | + .mfp-arrow:active { | ||
171 | + margin-top: -54px; } | ||
172 | + .mfp-arrow:hover, .mfp-arrow:focus { | ||
173 | + opacity: 1; } | ||
174 | + .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { | ||
175 | + content: ''; | ||
176 | + display: block; | ||
177 | + width: 0; | ||
178 | + height: 0; | ||
179 | + position: absolute; | ||
180 | + left: 0; | ||
181 | + top: 0; | ||
182 | + margin-top: 35px; | ||
183 | + margin-left: 35px; | ||
184 | + border: medium inset transparent; } | ||
185 | + .mfp-arrow:after, .mfp-arrow .mfp-a { | ||
186 | + border-top-width: 13px; | ||
187 | + border-bottom-width: 13px; | ||
188 | + top: 8px; } | ||
189 | + .mfp-arrow:before, .mfp-arrow .mfp-b { | ||
190 | + border-top-width: 21px; | ||
191 | + border-bottom-width: 21px; } | ||
192 | + | ||
193 | +.mfp-arrow-left { | ||
194 | + left: 0; } | ||
195 | + .mfp-arrow-left:after, .mfp-arrow-left .mfp-a { | ||
196 | + border-right: 17px solid white; | ||
197 | + margin-left: 31px; } | ||
198 | + .mfp-arrow-left:before, .mfp-arrow-left .mfp-b { | ||
199 | + margin-left: 25px; | ||
200 | + border-right: 27px solid #3f3f3f; } | ||
201 | + | ||
202 | +.mfp-arrow-right { | ||
203 | + right: 0; } | ||
204 | + .mfp-arrow-right:after, .mfp-arrow-right .mfp-a { | ||
205 | + border-left: 17px solid white; | ||
206 | + margin-left: 39px; } | ||
207 | + .mfp-arrow-right:before, .mfp-arrow-right .mfp-b { | ||
208 | + border-left: 27px solid #3f3f3f; } | ||
209 | + | ||
210 | +.mfp-iframe-holder { | ||
211 | + padding-top: 40px; | ||
212 | + padding-bottom: 40px; } | ||
213 | + .mfp-iframe-holder .mfp-content { | ||
214 | + line-height: 0; | ||
215 | + width: 100%; | ||
216 | + max-width: 900px; } | ||
217 | + .mfp-iframe-holder .mfp-close { | ||
218 | + top: -40px; } | ||
219 | + | ||
220 | +.mfp-iframe-scaler { | ||
221 | + width: 100%; | ||
222 | + height: 0; | ||
223 | + overflow: hidden; | ||
224 | + padding-top: 56.25%; } | ||
225 | + .mfp-iframe-scaler iframe { | ||
226 | + position: absolute; | ||
227 | + display: block; | ||
228 | + top: 0; | ||
229 | + left: 0; | ||
230 | + width: 100%; | ||
231 | + height: 100%; | ||
232 | + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); | ||
233 | + background: black; } | ||
234 | + | ||
235 | +/* Main image in popup */ | ||
236 | +img.mfp-img { | ||
237 | + width: auto; | ||
238 | + max-width: 100%; | ||
239 | + height: auto; | ||
240 | + display: block; | ||
241 | + line-height: 0; | ||
242 | + -webkit-box-sizing: border-box; | ||
243 | + -moz-box-sizing: border-box; | ||
244 | + box-sizing: border-box; | ||
245 | + padding: 40px 0 40px; | ||
246 | + margin: 0 auto; } | ||
247 | + | ||
248 | +/* The shadow behind the image */ | ||
249 | +.mfp-figure { | ||
250 | + line-height: 0; } | ||
251 | + .mfp-figure:after { | ||
252 | + content: ''; | ||
253 | + position: absolute; | ||
254 | + left: 0; | ||
255 | + top: 40px; | ||
256 | + bottom: 40px; | ||
257 | + display: block; | ||
258 | + right: 0; | ||
259 | + width: auto; | ||
260 | + height: auto; | ||
261 | + z-index: -1; | ||
262 | + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); | ||
263 | + background: #444444; } | ||
264 | + .mfp-figure small { | ||
265 | + color: #bdbdbd; | ||
266 | + display: block; | ||
267 | + font-size: 12px; | ||
268 | + line-height: 14px; } | ||
269 | + .mfp-figure figure { | ||
270 | + margin: 0; } | ||
271 | + | ||
272 | +.mfp-bottom-bar { | ||
273 | + margin-top: -36px; | ||
274 | + position: absolute; | ||
275 | + top: 100%; | ||
276 | + left: 0; | ||
277 | + width: 100%; | ||
278 | + cursor: auto; } | ||
279 | + | ||
280 | +.mfp-title { | ||
281 | + text-align: left; | ||
282 | + line-height: 18px; | ||
283 | + color: #f3f3f3; | ||
284 | + word-wrap: break-word; | ||
285 | + padding-right: 36px; } | ||
286 | + | ||
287 | +.mfp-image-holder .mfp-content { | ||
288 | + max-width: 100%; } | ||
289 | + | ||
290 | +.mfp-gallery .mfp-image-holder .mfp-figure { | ||
291 | + cursor: pointer; } | ||
292 | + | ||
293 | +@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { | ||
294 | + /** | ||
295 | + * Remove all paddings around the image on small screen | ||
296 | + */ | ||
297 | + .mfp-img-mobile .mfp-image-holder { | ||
298 | + padding-left: 0; | ||
299 | + padding-right: 0; } | ||
300 | + .mfp-img-mobile img.mfp-img { | ||
301 | + padding: 0; } | ||
302 | + .mfp-img-mobile .mfp-figure { | ||
303 | + /* The shadow behind the image */ } | ||
304 | + .mfp-img-mobile .mfp-figure:after { | ||
305 | + top: 0; | ||
306 | + bottom: 0; } | ||
307 | + .mfp-img-mobile .mfp-figure small { | ||
308 | + display: inline; | ||
309 | + margin-left: 5px; } | ||
310 | + .mfp-img-mobile .mfp-bottom-bar { | ||
311 | + background: rgba(0, 0, 0, 0.6); | ||
312 | + bottom: 0; | ||
313 | + margin: 0; | ||
314 | + top: auto; | ||
315 | + padding: 3px 5px; | ||
316 | + position: fixed; | ||
317 | + -webkit-box-sizing: border-box; | ||
318 | + -moz-box-sizing: border-box; | ||
319 | + box-sizing: border-box; } | ||
320 | + .mfp-img-mobile .mfp-bottom-bar:empty { | ||
321 | + padding: 0; } | ||
322 | + .mfp-img-mobile .mfp-counter { | ||
323 | + right: 5px; | ||
324 | + top: 3px; } | ||
325 | + .mfp-img-mobile .mfp-close { | ||
326 | + top: 0; | ||
327 | + right: 0; | ||
328 | + width: 35px; | ||
329 | + height: 35px; | ||
330 | + line-height: 35px; | ||
331 | + background: rgba(0, 0, 0, 0.6); | ||
332 | + position: fixed; | ||
333 | + text-align: center; | ||
334 | + padding: 0; } } | ||
335 | + | ||
336 | +@media all and (max-width: 900px) { | ||
337 | + .mfp-arrow { | ||
338 | + -webkit-transform: scale(0.75); | ||
339 | + transform: scale(0.75); } | ||
340 | + .mfp-arrow-left { | ||
341 | + -webkit-transform-origin: 0; | ||
342 | + transform-origin: 0; } | ||
343 | + .mfp-arrow-right { | ||
344 | + -webkit-transform-origin: 100%; | ||
345 | + transform-origin: 100%; } | ||
346 | + .mfp-container { | ||
347 | + padding-left: 6px; | ||
348 | + padding-right: 6px; } } | ||
349 | + | ||
350 | +.mfp-ie7 .mfp-img { | ||
351 | + padding: 0; } | ||
352 | +.mfp-ie7 .mfp-bottom-bar { | ||
353 | + width: 600px; | ||
354 | + left: 50%; | ||
355 | + margin-left: -300px; | ||
356 | + margin-top: 5px; | ||
357 | + padding-bottom: 5px; } | ||
358 | +.mfp-ie7 .mfp-container { | ||
359 | + padding: 0; } | ||
360 | +.mfp-ie7 .mfp-content { | ||
361 | + padding-top: 44px; } | ||
362 | +.mfp-ie7 .mfp-close { | ||
363 | + top: 0; | ||
364 | + right: 0; | ||
365 | + padding-top: 0; } |
1 | +/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license | ||
2 | +*/ | ||
3 | +(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(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]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}: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},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?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},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,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(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===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]||at.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]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.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+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},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,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(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),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===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===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t | ||
4 | +}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.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 x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); | ||
5 | +u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); |
1 | +// Magnific Popup v0.9.9 by Dmitry Semenov | ||
2 | +// http://bit.ly/magnific-popup#build=inline+image+ajax+iframe+gallery+retina+imagezoom+fastclick | ||
3 | +(function(a){var b="Close",c="BeforeClose",d="AfterClose",e="BeforeAppend",f="MarkupParse",g="Open",h="Change",i="mfp",j="."+i,k="mfp-ready",l="mfp-removing",m="mfp-prevent-close",n,o=function(){},p=!!window.jQuery,q,r=a(window),s,t,u,v,w,x=function(a,b){n.ev.on(i+a+j,b)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(b,c){n.ev.triggerHandler(i+b,c),n.st.callbacks&&(b=b.charAt(0).toLowerCase()+b.slice(1),n.st.callbacks[b]&&n.st.callbacks[b].apply(n,a.isArray(c)?c:[c]))},A=function(b){if(b!==w||!n.currTemplate.closeBtn)n.currTemplate.closeBtn=a(n.st.closeMarkup.replace("%title%",n.st.tClose)),w=b;return n.currTemplate.closeBtn},B=function(){a.magnificPopup.instance||(n=new o,n.init(),a.magnificPopup.instance=n)},C=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(a.transition!==undefined)return!0;while(b.length)if(b.pop()+"Transition"in a)return!0;return!1};o.prototype={constructor:o,init:function(){var b=navigator.appVersion;n.isIE7=b.indexOf("MSIE 7.")!==-1,n.isIE8=b.indexOf("MSIE 8.")!==-1,n.isLowIE=n.isIE7||n.isIE8,n.isAndroid=/android/gi.test(b),n.isIOS=/iphone|ipad|ipod/gi.test(b),n.supportsTransition=C(),n.probablyMobile=n.isAndroid||n.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),s=a(document.body),t=a(document),n.popupsCache={}},open:function(b){var c;if(b.isObj===!1){n.items=b.items.toArray(),n.index=0;var d=b.items,e;for(c=0;c<d.length;c++){e=d[c],e.parsed&&(e=e.el[0]);if(e===b.el[0]){n.index=c;break}}}else n.items=a.isArray(b.items)?b.items:[b.items],n.index=b.index||0;if(n.isOpen){n.updateItemHTML();return}n.types=[],v="",b.mainEl&&b.mainEl.length?n.ev=b.mainEl.eq(0):n.ev=t,b.key?(n.popupsCache[b.key]||(n.popupsCache[b.key]={}),n.currTemplate=n.popupsCache[b.key]):n.currTemplate={},n.st=a.extend(!0,{},a.magnificPopup.defaults,b),n.fixedContentPos=n.st.fixedContentPos==="auto"?!n.probablyMobile:n.st.fixedContentPos,n.st.modal&&(n.st.closeOnContentClick=!1,n.st.closeOnBgClick=!1,n.st.showCloseBtn=!1,n.st.enableEscapeKey=!1),n.bgOverlay||(n.bgOverlay=y("bg").on("click"+j,function(){n.close()}),n.wrap=y("wrap").attr("tabindex",-1).on("click"+j,function(a){n._checkIfClose(a.target)&&n.close()}),n.container=y("container",n.wrap)),n.contentContainer=y("content"),n.st.preloader&&(n.preloader=y("preloader",n.container,n.st.tLoading));var h=a.magnificPopup.modules;for(c=0;c<h.length;c++){var i=h[c];i=i.charAt(0).toUpperCase()+i.slice(1),n["init"+i].call(n)}z("BeforeOpen"),n.st.showCloseBtn&&(n.st.closeBtnInside?(x(f,function(a,b,c,d){c.close_replaceWith=A(d.type)}),v+=" mfp-close-btn-in"):n.wrap.append(A())),n.st.alignTop&&(v+=" mfp-align-top"),n.fixedContentPos?n.wrap.css({overflow:n.st.overflowY,overflowX:"hidden",overflowY:n.st.overflowY}):n.wrap.css({top:r.scrollTop(),position:"absolute"}),(n.st.fixedBgPos===!1||n.st.fixedBgPos==="auto"&&!n.fixedContentPos)&&n.bgOverlay.css({height:t.height(),position:"absolute"}),n.st.enableEscapeKey&&t.on("keyup"+j,function(a){a.keyCode===27&&n.close()}),r.on("resize"+j,function(){n.updateSize()}),n.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&n.wrap.addClass(v);var l=n.wH=r.height(),m={};if(n.fixedContentPos&&n._hasScrollBar(l)){var o=n._getScrollbarSize();o&&(m.marginRight=o)}n.fixedContentPos&&(n.isIE7?a("body, html").css("overflow","hidden"):m.overflow="hidden");var p=n.st.mainClass;return n.isIE7&&(p+=" mfp-ie7"),p&&n._addClassToMFP(p),n.updateItemHTML(),z("BuildControls"),a("html").css(m),n.bgOverlay.add(n.wrap).prependTo(document.body),n._lastFocusedEl=document.activeElement,setTimeout(function(){n.content?(n._addClassToMFP(k),n._setFocus()):n.bgOverlay.addClass(k),t.on("focusin"+j,n._onFocusIn)},16),n.isOpen=!0,n.updateSize(l),z(g),b},close:function(){if(!n.isOpen)return;z(c),n.isOpen=!1,n.st.removalDelay&&!n.isLowIE&&n.supportsTransition?(n._addClassToMFP(l),setTimeout(function(){n._close()},n.st.removalDelay)):n._close()},_close:function(){z(b);var c=l+" "+k+" ";n.bgOverlay.detach(),n.wrap.detach(),n.container.empty(),n.st.mainClass&&(c+=n.st.mainClass+" "),n._removeClassFromMFP(c);if(n.fixedContentPos){var e={marginRight:""};n.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}t.off("keyup"+j+" focusin"+j),n.ev.off(j),n.wrap.attr("class","mfp-wrap").removeAttr("style"),n.bgOverlay.attr("class","mfp-bg"),n.container.attr("class","mfp-container"),n.st.showCloseBtn&&(!n.st.closeBtnInside||n.currTemplate[n.currItem.type]===!0)&&n.currTemplate.closeBtn&&n.currTemplate.closeBtn.detach(),n._lastFocusedEl&&a(n._lastFocusedEl).focus(),n.currItem=null,n.content=null,n.currTemplate=null,n.prevHeight=0,z(d)},updateSize:function(a){if(n.isIOS){var b=document.documentElement.clientWidth/window.innerWidth,c=window.innerHeight*b;n.wrap.css("height",c),n.wH=c}else n.wH=a||r.height();n.fixedContentPos||n.wrap.css("height",n.wH),z("Resize")},updateItemHTML:function(){var b=n.items[n.index];n.contentContainer.detach(),n.content&&n.content.detach(),b.parsed||(b=n.parseEl(n.index));var c=b.type;z("BeforeChange",[n.currItem?n.currItem.type:"",c]),n.currItem=b;if(!n.currTemplate[c]){var d=n.st[c]?n.st[c].markup:!1;z("FirstMarkupParse",d),d?n.currTemplate[c]=a(d):n.currTemplate[c]=!0}u&&u!==b.type&&n.container.removeClass("mfp-"+u+"-holder");var e=n["get"+c.charAt(0).toUpperCase()+c.slice(1)](b,n.currTemplate[c]);n.appendContent(e,c),b.preloaded=!0,z(h,b),u=b.type,n.container.prepend(n.contentContainer),z("AfterChange")},appendContent:function(a,b){n.content=a,a?n.st.showCloseBtn&&n.st.closeBtnInside&&n.currTemplate[b]===!0?n.content.find(".mfp-close").length||n.content.append(A()):n.content=a:n.content="",z(e),n.container.addClass("mfp-"+b+"-holder"),n.contentContainer.append(n.content)},parseEl:function(b){var c=n.items[b],d=c.type;c.tagName?c={el:a(c)}:c={data:c,src:c.src};if(c.el){var e=n.types;for(var f=0;f<e.length;f++)if(c.el.hasClass("mfp-"+e[f])){d=e[f];break}c.src=c.el.attr("data-mfp-src"),c.src||(c.src=c.el.attr("href"))}return c.type=d||n.st.type||"inline",c.index=b,c.parsed=!0,n.items[b]=c,z("ElementParse",c),n.items[b]},addGroup:function(a,b){var c=function(c){c.mfpEl=this,n._openClick(c,a,b)};b||(b={});var d="click.magnificPopup";b.mainEl=a,b.items?(b.isObj=!0,a.off(d).on(d,c)):(b.isObj=!1,b.delegate?a.off(d).on(d,b.delegate,c):(b.items=a,a.off(d).on(d,c)))},_openClick:function(b,c,d){var e=d.midClick!==undefined?d.midClick:a.magnificPopup.defaults.midClick;if(!e&&(b.which===2||b.ctrlKey||b.metaKey))return;var f=d.disableOn!==undefined?d.disableOn:a.magnificPopup.defaults.disableOn;if(f)if(a.isFunction(f)){if(!f.call(n))return!0}else if(r.width()<f)return!0;b.type&&(b.preventDefault(),n.isOpen&&b.stopPropagation()),d.el=a(b.mfpEl),d.delegate&&(d.items=c.find(d.delegate)),n.open(d)},updateStatus:function(a,b){if(n.preloader){q!==a&&n.container.removeClass("mfp-s-"+q),!b&&a==="loading"&&(b=n.st.tLoading);var c={status:a,text:b};z("UpdateStatus",c),a=c.status,b=c.text,n.preloader.html(b),n.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),n.container.addClass("mfp-s-"+a),q=a}},_checkIfClose:function(b){if(a(b).hasClass(m))return;var c=n.st.closeOnContentClick,d=n.st.closeOnBgClick;if(c&&d)return!0;if(!n.content||a(b).hasClass("mfp-close")||n.preloader&&b===n.preloader[0])return!0;if(b!==n.content[0]&&!a.contains(n.content[0],b)){if(d&&a.contains(document,b))return!0}else if(c)return!0;return!1},_addClassToMFP:function(a){n.bgOverlay.addClass(a),n.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),n.wrap.removeClass(a)},_hasScrollBar:function(a){return(n.isIE7?t.height():document.body.scrollHeight)>(a||r.height())},_setFocus:function(){(n.st.focus?n.content.find(n.st.focus).eq(0):n.wrap).focus()},_onFocusIn:function(b){if(b.target!==n.wrap[0]&&!a.contains(n.wrap[0],b.target))return n._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(f,[b,c,d]),a.each(c,function(a,c){if(c===undefined||c===!1)return!0;e=a.split("_");if(e.length>1){var d=b.find(j+"-"+e[0]);if(d.length>0){var f=e[1];f==="replaceWith"?d[0]!==c[0]&&d.replaceWith(c):f==="img"?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(j+"-"+a).html(c)})},_getScrollbarSize:function(){if(n.scrollbarSize===undefined){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),n.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return n.scrollbarSize}},a.magnificPopup={instance:null,proto:o.prototype,modules:[],open:function(b,c){return B(),b?b=a.extend(!0,{},b):b={},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(b){B();var c=a(this);if(typeof b=="string")if(b==="open"){var d,e=p?c.data("magnificPopup"):c[0].magnificPopup,f=parseInt(arguments[1],10)||0;e.items?d=e.items[f]:(d=c,e.delegate&&(d=d.find(e.delegate)),d=d.eq(f)),n._openClick({mfpEl:d},c,e)}else n.isOpen&&n[b].apply(n,Array.prototype.slice.call(arguments,1));else b=a.extend(!0,{},b),p?c.data("magnificPopup",b):c[0].magnificPopup=b,n.addGroup(c,b);return c};var D="inline",E,F,G,H=function(){G&&(F.after(G.addClass(E)).detach(),G=null)};a.magnificPopup.registerModule(D,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){n.types.push(D),x(b+"."+D,function(){H()})},getInline:function(b,c){H();if(b.src){var d=n.st.inline,e=a(b.src);if(e.length){var f=e[0].parentNode;f&&f.tagName&&(F||(E=d.hiddenClass,F=y(E),E="mfp-"+E),G=e.after(F).detach().removeClass(E)),n.updateStatus("ready")}else n.updateStatus("error",d.tNotFound),e=a("<div>");return b.inlineElement=e,e}return n.updateStatus("ready"),n._parseMarkup(c,{},b),c}}});var I="ajax",J,K=function(){J&&s.removeClass(J)},L=function(){K(),n.req&&n.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){n.types.push(I),J=n.st.ajax.cursor,x(b+"."+I,L),x("BeforeChange."+I,L)},getAjax:function(b){J&&s.addClass(J),n.updateStatus("loading");var c=a.extend({url:b.src,success:function(c,d,e){var f={data:c,xhr:e};z("ParseAjax",f),n.appendContent(a(f.data),I),b.finished=!0,K(),n._setFocus(),setTimeout(function(){n.wrap.addClass(k)},16),n.updateStatus("ready"),z("AjaxContentAdded")},error:function(){K(),b.finished=b.loadError=!0,n.updateStatus("error",n.st.ajax.tError.replace("%url%",b.src))}},n.st.ajax.settings);return n.req=a.ajax(c),""}}});var M,N=function(b){if(b.data&&b.data.title!==undefined)return b.data.title;var c=n.st.image.titleSrc;if(c){if(a.isFunction(c))return c.call(n,b);if(b.el)return b.el.attr(c)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var a=n.st.image,c=".image";n.types.push("image"),x(g+c,function(){n.currItem.type==="image"&&a.cursor&&s.addClass(a.cursor)}),x(b+c,function(){a.cursor&&s.removeClass(a.cursor),r.off("resize"+j)}),x("Resize"+c,n.resizeImage),n.isLowIE&&x("AfterChange",n.resizeImage)},resizeImage:function(){var a=n.currItem;if(!a||!a.img)return;if(n.st.image.verticalFit){var b=0;n.isLowIE&&(b=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",n.wH-b)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,M&&clearInterval(M),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(n.content&&n.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var b=0,c=a.img[0],d=function(e){M&&clearInterval(M),M=setInterval(function(){if(c.naturalWidth>0){n._onImageHasSize(a);return}b>200&&clearInterval(M),b++,b===3?d(10):b===40?d(50):b===100&&d(500)},e)};d(1)},getImage:function(b,c){var d=0,e=function(){b&&(b.img[0].complete?(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("ready")),b.hasSize=!0,b.loaded=!0,z("ImageLoadComplete")):(d++,d<200?setTimeout(e,100):f()))},f=function(){b&&(b.img.off(".mfploader"),b===n.currItem&&(n._onImageHasSize(b),n.updateStatus("error",g.tError.replace("%url%",b.src))),b.hasSize=!0,b.loaded=!0,b.loadError=!0)},g=n.st.image,h=c.find(".mfp-img");if(h.length){var i=document.createElement("img");i.className="mfp-img",b.img=a(i).on("load.mfploader",e).on("error.mfploader",f),i.src=b.src,h.is("img")&&(b.img=b.img.clone()),b.img[0].naturalWidth>0&&(b.hasSize=!0)}return n._parseMarkup(c,{title:N(b),img_replaceWith:b.img},b),n.resizeImage(),b.hasSize?(M&&clearInterval(M),b.loadError?(c.addClass("mfp-loading"),n.updateStatus("error",g.tError.replace("%url%",b.src))):(c.removeClass("mfp-loading"),n.updateStatus("ready")),c):(n.updateStatus("loading"),b.loading=!0,b.hasSize||(b.imgHidden=!0,c.addClass("mfp-loading"),n.findImageSize(b)),c)}}});var O,P=function(){return O===undefined&&(O=document.createElement("p").style.MozTransform!==undefined),O};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=n.st.zoom,d=".zoom",e;if(!a.enabled||!n.supportsTransition)return;var f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){n.content.css("visibility","visible")},i,j;x("BuildControls"+d,function(){if(n._allowZoom()){clearTimeout(i),n.content.css("visibility","hidden"),e=n._getItemToZoom();if(!e){h();return}j=g(e),j.css(n._getOffset()),n.wrap.append(j),i=setTimeout(function(){j.css(n._getOffset(!0)),i=setTimeout(function(){h(),setTimeout(function(){j.remove(),e=j=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(c+d,function(){if(n._allowZoom()){clearTimeout(i),n.st.removalDelay=f;if(!e){e=n._getItemToZoom();if(!e)return;j=g(e)}j.css(n._getOffset(!0)),n.wrap.append(j),n.content.css("visibility","hidden"),setTimeout(function(){j.css(n._getOffset())},16)}}),x(b+d,function(){n._allowZoom()&&(h(),j&&j.remove(),e=null)})},_allowZoom:function(){return n.currItem.type==="image"},_getItemToZoom:function(){return n.currItem.hasSize?n.currItem.img:!1},_getOffset:function(b){var c;b?c=n.currItem.img:c=n.st.zoom.opener(n.currItem.el||n.currItem);var d=c.offset(),e=parseInt(c.css("padding-top"),10),f=parseInt(c.css("padding-bottom"),10);d.top-=a(window).scrollTop()-e;var g={width:c.width(),height:(p?c.innerHeight():c[0].offsetHeight)-f-e};return P()?g["-moz-transform"]=g.transform="translate("+d.left+"px,"+d.top+"px)":(g.left=d.left,g.top=d.top),g}}});var Q="iframe",R="//about:blank",S=function(a){if(n.currTemplate[Q]){var b=n.currTemplate[Q].find("iframe");b.length&&(a||(b[0].src=R),n.isIE8&&b.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(Q,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){n.types.push(Q),x("BeforeChange",function(a,b,c){b!==c&&(b===Q?S():c===Q&&S(!0))}),x(b+"."+Q,function(){S()})},getIframe:function(b,c){var d=b.src,e=n.st.iframe;a.each(e.patterns,function(){if(d.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?d=d.substr(d.lastIndexOf(this.id)+this.id.length,d.length):d=this.id.call(this,d)),d=this.src.replace("%id%",d),!1});var f={};return e.srcAction&&(f[e.srcAction]=d),n._parseMarkup(c,f,b),n.updateStatus("ready"),c}}});var T=function(a){var b=n.items.length;return a>b-1?a-b:a<0?b+a:a},U=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=n.st.gallery,d=".mfp-gallery",e=Boolean(a.fn.mfpFastClick);n.direction=!0;if(!c||!c.enabled)return!1;v+=" mfp-gallery",x(g+d,function(){c.navigateByImgClick&&n.wrap.on("click"+d,".mfp-img",function(){if(n.items.length>1)return n.next(),!1}),t.on("keydown"+d,function(a){a.keyCode===37?n.prev():a.keyCode===39&&n.next()})}),x("UpdateStatus"+d,function(a,b){b.text&&(b.text=U(b.text,n.currItem.index,n.items.length))}),x(f+d,function(a,b,d,e){var f=n.items.length;d.counter=f>1?U(c.tCounter,e.index,f):""}),x("BuildControls"+d,function(){if(n.items.length>1&&c.arrows&&!n.arrowLeft){var b=c.arrowMarkup,d=n.arrowLeft=a(b.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(m),f=n.arrowRight=a(b.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(m),g=e?"mfpFastClick":"click";d[g](function(){n.prev()}),f[g](function(){n.next()}),n.isIE7&&(y("b",d[0],!1,!0),y("a",d[0],!1,!0),y("b",f[0],!1,!0),y("a",f[0],!1,!0)),n.container.append(d.add(f))}}),x(h+d,function(){n._preloadTimeout&&clearTimeout(n._preloadTimeout),n._preloadTimeout=setTimeout(function(){n.preloadNearbyImages(),n._preloadTimeout=null},16)}),x(b+d,function(){t.off(d),n.wrap.off("click"+d),n.arrowLeft&&e&&n.arrowLeft.add(n.arrowRight).destroyMfpFastClick(),n.arrowRight=n.arrowLeft=null})},next:function(){n.direction=!0,n.index=T(n.index+1),n.updateItemHTML()},prev:function(){n.direction=!1,n.index=T(n.index-1),n.updateItemHTML()},goTo:function(a){n.direction=a>=n.index,n.index=a,n.updateItemHTML()},preloadNearbyImages:function(){var a=n.st.gallery.preload,b=Math.min(a[0],n.items.length),c=Math.min(a[1],n.items.length),d;for(d=1;d<=(n.direction?c:b);d++)n._preloadItem(n.index+d);for(d=1;d<=(n.direction?b:c);d++)n._preloadItem(n.index-d)},_preloadItem:function(b){b=T(b);if(n.items[b].preloaded)return;var c=n.items[b];c.parsed||(c=n.parseEl(b)),z("LazyLoad",c),c.type==="image"&&(c.img=a('<img class="mfp-img" />').on("load.mfploader",function(){c.hasSize=!0}).on("error.mfploader",function(){c.hasSize=!0,c.loadError=!0,z("LazyLoadError",c)}).attr("src",c.src)),c.preloaded=!0}}});var V="retina";a.magnificPopup.registerModule(V,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=n.st.retina,b=a.ratio;b=isNaN(b)?b():b,b>1&&(x("ImageHasSize."+V,function(a,c){c.img.css({"max-width":c.img[0].naturalWidth/b,width:"100%"})}),x("ElementParse."+V,function(c,d){d.src=a.replaceSrc(d,b)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){r.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g=a(this),h;if(c){var i,j,k,l,m,n;g.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,r.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0];if(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)l=!0,d()}).on("touchend"+f,function(a){d();if(l||n>1)return;h=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){h=!1},b),e()})})}g.on("click"+f,function(){h||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&r.off("touchmove"+f+" touchend"+f)}}(),B()})(window.jQuery||window.Zepto) |
1 | +/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ | ||
2 | +jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window); |
1 | +/*! jQuery Mosaic Flow v0.2.2 by Artem Sapegin - http://sapegin.github.com/jquery.mosaicflow/ - Licensed MIT */ | ||
2 | +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a,b){this.container=a,this.options=b,this.container.trigger("start"),this.init(),this.container.trigger("ready")}function c(a){function b(a,b){return b.toUpper()}var c={},d=a.data();for(var e in d)c[e.replace(/-(\w)/g,b)]=d[e];return c}var d=0;a.fn.mosaicflow=function(d){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){var f=a(this),g=f.data("mosaicflow");g?"string"==typeof d&&g[d](e[1]):(d=a.extend({},a.fn.mosaicflow.defaults,d,c(f)),g=new b(f,d),f.data("mosaicflow",g))})},a.fn.mosaicflow.defaults={itemSelector:"> *",columnClass:"mosaicflow__column",minItemWidth:240,itemHeightCalculation:"auto"},b.prototype={init:function(){this.__uid=d++,this.__uid_item_counter=0,this.items=this.container.find(this.options.itemSelector),this.columns=a([]),this.columnsHeights=[],this.itemsHeights={},this.tempContainer=a("<div>").css("visibility","hidden"),this.workOnTemp=!1,this.autoCalculation="auto"===this.options.itemHeightCalculation,this.container.append(this.tempContainer);var b=this;this.items.each(function(){var c=a(this),d=c.attr("id");d||(d=b.generateUniqueId(),c.attr("id",d))}),this.container.css("visibility","hidden"),this.autoCalculation?a(window).load(a.proxy(this.refill,this)):this.refill(),a(window).resize(a.proxy(this.refill,this))},refill:function(){this.container.trigger("fill"),this.numberOfColumns=Math.floor(this.container.width()/this.options.minItemWidth),this.numberOfColumns<1&&(this.numberOfColumns=1);var a=this.ensureColumns();a&&(this.fillColumns(),this.columns.filter(":hidden").remove()),this.container.css("visibility","visible"),this.container.trigger("filled")},ensureColumns:function(){var b=this.columns.length,c=this.numberOfColumns;if(this.tempContainer.css("width",this.container.width()),this.workingContainer=0===b?this.tempContainer:this.container,c>b)for(var d=c-b,e=0;d>e;e++){var f=a("<div>",{"class":this.options.columnClass});this.workingContainer.append(f)}else if(b>c){for(var g=b;g>=c;)this.columns.eq(g).hide(),g--;var h=b-c;this.columnsHeights.splice(this.columnsHeights.length-h,h)}return c!==b?(this.columns=this.workingContainer.find("."+this.options.columnClass),this.columns.css("width",100/c+"%"),!0):!1},fillColumns:function(){for(var a=this.numberOfColumns,b=this.items.length,c=0;a>c;c++){var d=this.columns.eq(c);this.columnsHeights[c]=0;for(var e=c;b>e;e+=a){var f=this.items.eq(e),g=0;d.append(f),g=this.autoCalculation?f.outerHeight():parseInt(f.find("img").attr("height"),10),this.itemsHeights[f.attr("id")]=g,this.columnsHeights[c]+=g}}this.levelBottomEdge(this.itemsHeights,this.columnsHeights),this.workingContainer===this.tempContainer&&this.container.append(this.tempContainer.children()),this.container.trigger("mosaicflow-layout")},levelBottomEdge:function(b,c){for(;;){var d=a.inArray(Math.min.apply(null,c),c),e=a.inArray(Math.max.apply(null,c),c);if(d===e)return;var f=this.columns.eq(e).children().last(),g=b[f.attr("id")],h=c[d],i=c[e],j=h+g;if(j>=i)return;this.columns.eq(d).append(f),c[e]-=g,c[d]+=g}},add:function(b){this.container.trigger("add");var c=a.inArray(Math.min.apply(null,this.columnsHeights),this.columnsHeights),d=0;this.autoCalculation?(b.css({position:"static",visibility:"hidden",display:"block"}).appendTo(this.columns.eq(c)),d=b.outerHeight(),b.detach().css({position:"static",visibility:"visible"})):d=parseInt(b.find("img").attr("height"),10),b.attr("id")||b.attr("id",this.generateUniqueId());var e=this.items.toArray();e.push(b),this.items=a(e),this.itemsHeights[b.attr("id")]=d,this.columnsHeights[c]+=d,this.columns.eq(c).append(b),this.levelBottomEdge(this.itemsHeights,this.columnsHeights),this.container.trigger("mosaicflow-layout"),this.container.trigger("added")},remove:function(a){this.container.trigger("remove");var b=a.parents("."+this.options.columnClass);this.columnsHeights[b.index()-1]-=this.itemsHeights[a.attr("id")],a.detach(),this.items=this.items.not(a),this.levelBottomEdge(this.itemsHeights,this.columnsHeights),this.container.trigger("mosaicflow-layout"),this.container.trigger("removed")},empty:function(){var b=this.numberOfColumns;this.items=a([]),this.itemsHeights={};for(var c=0;b>c;c++){var d=this.columns.eq(c);this.columnsHeights[c]=0,d.empty()}this.container.trigger("mosaicflow-layout")},recomputeHeights:function(){function b(b,d){d=a(d);var f=0;f=c.autoCalculation?d.outerHeight():parseInt(d.find("img").attr("height"),10),c.itemsHeights[d.attr("id")]=f,c.columnsHeights[e]+=f}for(var c=this,d=this.numberOfColumns,e=0;d>e;e++){var f=this.columns.eq(e);this.columnsHeights[e]=0,f.children().each(b)}},generateUniqueId:function(){return this.__uid_item_counter++,"mosaic-"+this.__uid+"-itemid-"+this.__uid_item_counter}},a(function(){a(".mosaicflow").mosaicflow()})}); |
1 | +/*! | ||
2 | +jQuery wookmark plugin | ||
3 | +@name jquery.wookmark.js | ||
4 | +@author Christoph Ono (chri@sto.ph or @gbks) | ||
5 | +@author Sebastian Helzle (sebastian@helzle.net or @sebobo) | ||
6 | +@version 1.4.7 | ||
7 | +@date 05/18/2014 | ||
8 | +@category jQuery plugin | ||
9 | +@copyright (c) 2009-2014 Christoph Ono (www.wookmark.com) | ||
10 | +@license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. | ||
11 | +*/ | ||
12 | +(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){function i(t){n(function(){var i,e;for(i=0;t.length>i;i++)e=t[i],e.obj.css(e.css)})}function e(i){return t.trim(i).toLowerCase()}var s,h,o;o=function(t,i){return function(){return t.apply(i,arguments)}},h={align:"center",autoResize:!1,comparator:null,container:t("body"),direction:void 0,ignoreInactiveItems:!0,itemWidth:0,fillEmptySpace:!1,flexibleWidth:0,offset:2,outerOffset:0,onLayoutChanged:void 0,possibleFilters:[],resizeDelay:50,verticalOffset:void 0};var n=window.requestAnimationFrame||function(t){t()},r=t(window);s=function(){function s(i,e){this.handler=i,this.columns=this.containerWidth=this.resizeTimer=null,this.activeItemCount=0,this.itemHeightsDirty=!0,this.placeholders=[],t.extend(!0,this,h,e),this.verticalOffset=this.verticalOffset||this.offset,this.update=o(this.update,this),this.onResize=o(this.onResize,this),this.onRefresh=o(this.onRefresh,this),this.getItemWidth=o(this.getItemWidth,this),this.layout=o(this.layout,this),this.layoutFull=o(this.layoutFull,this),this.layoutColumns=o(this.layoutColumns,this),this.filter=o(this.filter,this),this.clear=o(this.clear,this),this.getActiveItems=o(this.getActiveItems,this),this.refreshPlaceholders=o(this.refreshPlaceholders,this),this.sortElements=o(this.sortElements,this),this.updateFilterClasses=o(this.updateFilterClasses,this),this.updateFilterClasses(),this.autoResize&&r.bind("resize.wookmark",this.onResize),this.container.bind("refreshWookmark",this.onRefresh)}return s.prototype.updateFilterClasses=function(){for(var t,i,s,h,o=0,n=0,r=0,a={},l=this.possibleFilters;this.handler.length>o;o++)if(i=this.handler.eq(o),t=i.data("filterClass"),"object"==typeof t&&t.length>0)for(n=0;t.length>n;n++)s=e(t[n]),a[s]===void 0&&(a[s]=[]),a[s].push(i[0]);for(;l.length>r;r++)h=e(l[r]),h in a||(a[h]=[]);this.filterClasses=a},s.prototype.update=function(i){this.itemHeightsDirty=!0,t.extend(!0,this,i)},s.prototype.onResize=function(){clearTimeout(this.resizeTimer),this.itemHeightsDirty=0!==this.flexibleWidth,this.resizeTimer=setTimeout(this.layout,this.resizeDelay)},s.prototype.onRefresh=function(){this.itemHeightsDirty=!0,this.layout()},s.prototype.filter=function(i,s,h){var o,n,r,a,l,f=[],u=t();if(i=i||[],s=s||"or",h=h||!1,i.length){for(n=0;i.length>n;n++)l=e(i[n]),l in this.filterClasses&&f.push(this.filterClasses[l]);if(o=f.length,"or"==s||1==o)for(n=0;o>n;n++)u=u.add(f[n]);else if("and"==s){var c,d,m,p=f[0],g=!0;for(n=1;o>n;n++)f[n].length<p.length&&(p=f[n]);for(p=p||[],n=0;p.length>n;n++){for(d=p[n],g=!0,r=0;f.length>r&&g;r++)if(m=f[r],p!=m){for(a=0,c=!1;m.length>a&&!c;a++)c=m[a]==d;g&=c}g&&u.push(p[n])}}h||this.handler.not(u).addClass("inactive")}else u=this.handler;return h||(u.removeClass("inactive"),this.columns=null,this.layout()),u},s.prototype.refreshPlaceholders=function(i,e){for(var s,h,o,n,r,a,l=this.placeholders.length,f=this.columns.length,u=this.container.innerHeight();f>l;l++)s=t('<div class="wookmark-placeholder"/>').appendTo(this.container),this.placeholders.push(s);for(a=this.offset+2*parseInt(this.placeholders[0].css("borderLeftWidth"),10),l=0;this.placeholders.length>l;l++)if(s=this.placeholders[l],o=this.columns[l],l>=f||!o[o.length-1])s.css("display","none");else{if(h=o[o.length-1],!h)continue;r=h.data("wookmark-top")+h.data("wookmark-height")+this.verticalOffset,n=u-r-a,s.css({position:"absolute",display:n>0?"block":"none",left:l*i+e,top:r,width:i-a,height:n})}},s.prototype.getActiveItems=function(){return this.ignoreInactiveItems?this.handler.not(".inactive"):this.handler},s.prototype.getItemWidth=function(){var t=this.itemWidth,i=this.container.width()-2*this.outerOffset,e=this.handler.eq(0),s=this.flexibleWidth;if(void 0===this.itemWidth||0===this.itemWidth&&!this.flexibleWidth?t=e.outerWidth():"string"==typeof this.itemWidth&&this.itemWidth.indexOf("%")>=0&&(t=parseFloat(this.itemWidth)/100*i),s){"string"==typeof s&&s.indexOf("%")>=0&&(s=parseFloat(s)/100*i);var h=i+this.offset,o=~~(.5+h/(s+this.offset)),n=~~(h/(t+this.offset)),r=Math.max(o,n),a=Math.min(s,~~((i-(r-1)*this.offset)/r));t=Math.max(t,a),this.handler.css("width",t)}return t},s.prototype.layout=function(t){if(this.container.is(":visible")){var i,e=this.getItemWidth()+this.offset,s=this.container.width(),h=s-2*this.outerOffset,o=~~((h+this.offset)/e),n=0,r=0,a=0,l=this.getActiveItems(),f=l.length;if(this.itemHeightsDirty||!this.container.data("itemHeightsInitialized")){for(;f>a;a++)i=l.eq(a),i.data("wookmark-height",i.outerHeight());this.itemHeightsDirty=!1,this.container.data("itemHeightsInitialized",!0)}o=Math.max(1,Math.min(o,f)),n=this.outerOffset,"center"==this.align&&(n+=~~(.5+(h-(o*e-this.offset))>>1)),this.direction=this.direction||("right"==this.align?"right":"left"),r=t||null===this.columns||this.columns.length!=o||this.activeItemCount!=f?this.layoutFull(e,o,n):this.layoutColumns(e,n),this.activeItemCount=f,this.container.css("height",r),this.fillEmptySpace&&this.refreshPlaceholders(e,n),void 0!==this.onLayoutChanged&&"function"==typeof this.onLayoutChanged&&this.onLayoutChanged()}},s.prototype.sortElements=function(t){return"function"==typeof this.comparator?t.sort(this.comparator):t},s.prototype.layoutFull=function(e,s,h){var o,n,r=0,a=0,l=t.makeArray(this.getActiveItems()),f=l.length,u=null,c=null,d=[],m=[],p="left"==this.align?!0:!1;for(this.columns=[],l=this.sortElements(l);s>d.length;)d.push(this.outerOffset),this.columns.push([]);for(;f>r;r++){for(o=t(l[r]),u=d[0],c=0,a=0;s>a;a++)u>d[a]&&(u=d[a],c=a);o.data("wookmark-top",u),n=h,(c>0||!p)&&(n+=c*e),(m[r]={obj:o,css:{position:"absolute",top:u}}).css[this.direction]=n,d[c]+=o.data("wookmark-height")+this.verticalOffset,this.columns[c].push(o)}return i(m),Math.max.apply(Math,d)},s.prototype.layoutColumns=function(t,e){for(var s,h,o,n,r=[],a=[],l=0,f=0,u=0;this.columns.length>l;l++){for(r.push(this.outerOffset),h=this.columns[l],n=l*t+e,s=r[l],f=0;h.length>f;f++,u++)o=h[f].data("wookmark-top",s),(a[u]={obj:o,css:{top:s}}).css[this.direction]=n,s+=o.data("wookmark-height")+this.verticalOffset;r[l]=s}return i(a),Math.max.apply(Math,r)},s.prototype.clear=function(){clearTimeout(this.resizeTimer),r.unbind("resize.wookmark",this.onResize),this.container.unbind("refreshWookmark",this.onRefresh),this.handler.wookmarkInstance=null},s}(),t.fn.wookmark=function(t){return this.wookmarkInstance?this.wookmarkInstance.update(t||{}):this.wookmarkInstance=new s(this,t||{}),this.wookmarkInstance.layout(!0),this.show()}}); |
1 | +/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */ | ||
2 | +jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window); |
public/wp-includes/js/jquery/jquery.js
0 → 100644
1 | +/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license | ||
2 | +*/ | ||
3 | +(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(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]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}: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},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?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},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,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(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===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]||at.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]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.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+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},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,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(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),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===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===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!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,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.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"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t | ||
4 | +}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.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 x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); | ||
5 | +u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); | ||
6 | +jQuery.noConflict(); |
resources/views/about.blade.php
0 → 100644
1 | +@extends('layouts.base') | ||
2 | +@section('nav-active-about') | ||
3 | + nav-current | ||
4 | +@endsection | ||
5 | +@section('content') | ||
6 | + <div class="web_main page_main"> | ||
7 | + <div class="path_bar"> | ||
8 | + <div class="layout"> | ||
9 | + <ul> | ||
10 | + <li><a href="">Home</a></li> | ||
11 | + </ul> | ||
12 | + <h1 class="title">ABOUT US</h1> | ||
13 | + </div> | ||
14 | + </div> | ||
15 | + <section class="shopk_wrap"> | ||
16 | + <div class="layout"> | ||
17 | + <div class="index_title_bar single_title_bar"> | ||
18 | + <h2 class="title">Why SHOPK ?</h2> | ||
19 | + </div> | ||
20 | + <ul class="shopk_items flex_row"> | ||
21 | + <li class="shopk_item wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
22 | + <div class="item_img"><img src="/style/global/img/demo/ico06.png"></div> | ||
23 | + <p><strong>9 Warehouses </strong></p> | ||
24 | + <p>all over the world</p> | ||
25 | + </li> | ||
26 | + <li class="shopk_item wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
27 | + <div class="item_img"><img src="/style/global/img/demo/ico07.png"></div> | ||
28 | + <p>Empowering <strong>1 million+ </strong></p> | ||
29 | + <p>KOLs and their friends&fans</p> | ||
30 | + </li> | ||
31 | + <li class="shopk_item wow fadeInUpA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
32 | + <div class="item_img"><img src="/style/global/img/demo/ico08.png"></div> | ||
33 | + <p>Strict <strong>quality control</strong></p> | ||
34 | + <p>Excellent <strong>logistics service</strong></p> | ||
35 | + </li> | ||
36 | + </ul> | ||
37 | + </div> | ||
38 | + </section> | ||
39 | + <section class="shopk_work_wrap"> | ||
40 | + <div class="layout"> | ||
41 | + <ul class="shopk_work_items flex_row"> | ||
42 | + <img src="/uploads/about-1.jpg" alt="shopk work"> | ||
43 | + </ul> | ||
44 | + </div> | ||
45 | + </section> | ||
46 | + <div class="intro_wrap intro_wrap01"> | ||
47 | + <div class="layout_style01 flex_row"> | ||
48 | + <div class="item_img"><a href=""><img src="/style/global/img/demo/pic06.png"></a></div> | ||
49 | + <div class="item_info"> | ||
50 | + <div class="index_title_bar single_title_bar"> | ||
51 | + <h2 class="title">OUR STORY</h2> | ||
52 | + </div> | ||
53 | + <div class="item_text">ShopK has been empowering individuals like moms, students and KOLs to start their own online shop since 2010. Anyone with an entrepreneurial streak can join us with zero investment. To date, 10,000+ suppliers and 100,000 customers have registered with ShopK. ShopK gives users access to online shop, millions of products from trusted suppliers, payment and shipping facilities thereby removing the hassles of starting an online business. While we do all the heavy-lifting, users can easily sell products to their network. This is only a little bit about us, we have so much more for you to explore.</div> | ||
54 | + </div> | ||
55 | + </div> | ||
56 | + </div> | ||
57 | + | ||
58 | + <div class="intro_about"> | ||
59 | + <div class="layout_style01"> | ||
60 | + <div class="item_info"> | ||
61 | + <ul class="info_itmes flex_row"> | ||
62 | + | ||
63 | + <ul class="info_itme01"> | ||
64 | + <li class="info_itmee"> | ||
65 | + <h2 class="title">Detail About ShopK Dropshipping</h2> | ||
66 | + <div class="item_text">If you’re seeking an online business opportunity, chances are that you’ve come across dropshipping. Dropshipping is an online business model that can surprise you. And It’s possible to start dropshipping with no investments by ShopK.</div> | ||
67 | + </li> | ||
68 | + <li class="info_itmee"> | ||
69 | + <h2 class="title">What is ShopK?</h2> | ||
70 | + <div class="item_text">ShopK is dreaming big! <br><br> | ||
71 | + We want to become the biggest dropshipper in the market.<br> | ||
72 | + In ShopK dropshipping program, you (or a KOL / influencer) could create an online shop in 1 minute. Then you pick from ShopK selected products at wholesale price to add to your shop and share to platforms. ShopK manages inventory for you and ships orders to your customers. <br><br> | ||
73 | + You are mainly responsible for gaining customers by driving traffic to your store, meaning you’ll effectively be a middleman. With ShopK dropshipping, you can build a business that’s sustainable in the long term right from your laptop.</div> | ||
74 | + </li> | ||
75 | + </ul> | ||
76 | + <li class="info_itme"> | ||
77 | + <h2 class="title">Advantages with ShopK Dropshipping</h2> | ||
78 | + <div class="item_text"><b>1. A dropshipping business with shopk is easy to set up </b><br> | ||
79 | + You don’t need prior business experience to get started with shopk dropshipping. If you take 1 minute to learn the basics, you can launch a business right away and learn the rest as you go. <br> | ||
80 | + It's easy to start a dropshipping business because start-up costs are 0. For instance, you don’t need a warehouse to store products or a team to help you out. You also don’t have to worry about stocking or shipping either. It’s surprisingly hands-off, especially once you get going. All of this means that you can start your business today.<br><br> | ||
81 | + <b>2. Dropshipping is scalable</b><br> | ||
82 | + As you scale up, your business model doesn’t have to change very much at all. One of the benefits of dropshipping is that the infrastructure costs don’t skyrocket when you scale. Because of this, the more you focus on promoting your business and delivering great customer experiences, the better off you’ll be.<br><br> | ||
83 | + <b>3. Dropshipping doesn’t require an office</b><br> | ||
84 | + You can run an entire business right from your laptop, and you don’t need to make any high-level investments. <br><br> | ||
85 | + <b>4. Dropshipping is flexible</b><br> | ||
86 | + This is one of its biggest benefits. You get to be your own boss and set your own rules. It’s by far one of the most flexible careers that anyone can pursue. | ||
87 | + You can work from home with little more than a laptop, and you can work at the times that are most convenient for you. This is ideal for entrepreneurs who want a business that works for them. You won’t have to bend over backward to get things done. Instead, you set your own pace.</div> | ||
88 | + </li> | ||
89 | + </ul> | ||
90 | + </div> | ||
91 | + </div> | ||
92 | + </div> | ||
93 | + <style> | ||
94 | + .intro_about { | ||
95 | + | ||
96 | + position: relative; | ||
97 | + margin: 40px auto; | ||
98 | + } | ||
99 | + .layout_style01 .info_itme01{width: 42%;} | ||
100 | + .layout_style01 .info_itme{width: 56%; | ||
101 | + padding: 20px; | ||
102 | + margin: 20px 10px; | ||
103 | + box-shadow: 0 0 20px #e7e7e7;} | ||
104 | + .info_itmee{list-style: none; | ||
105 | + padding: 20px 20px 65px; | ||
106 | + margin: 20px 10px; | ||
107 | + box-shadow: 0 0 20px #e7e7e7;} | ||
108 | + .info_itmes h2.title{margin-bottom: 20px; | ||
109 | + font-size: 30px; | ||
110 | + color: #f33f06; } | ||
111 | + .item_text{ font-family: "Microsoft YaHei UI Light"; | ||
112 | + font-size: 18px;} | ||
113 | + .flex_row { | ||
114 | + display: -webkit-box; | ||
115 | + display: -webkit-flex; | ||
116 | + display: flex; | ||
117 | + -webkit-box-orient: horizontal; | ||
118 | + -webkit-box-direction: normal; | ||
119 | + -webkit-flex-direction: row; | ||
120 | + flex-direction: row; | ||
121 | + -webkit-flex-wrap: wrap; | ||
122 | + -moz-flex-wrap: wrap; | ||
123 | + -ms-flex-wrap: wrap; | ||
124 | + -o-flex-wrap: wrap; | ||
125 | + flex-wrap: wrap; | ||
126 | + } | ||
127 | + @media only screen and (max-width: 950px) { | ||
128 | + .layout_style01 .info_itme, | ||
129 | + .layout_style01 .info_itme01{width:100%; margin-bottom:20px;} | ||
130 | + } | ||
131 | + </style> | ||
132 | + <div class="contact_wrap" style="background-image:url('/style/global/img/demo/bg03.jpg')"> | ||
133 | + <strong class="wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s">Join Our Growing Community of ShopK</strong> | ||
134 | + <div class="web_search_wrap web_search_style01 web_search_style02 wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
135 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
136 | + </div> | ||
137 | + </div> | ||
138 | + </div> | ||
139 | +@endsection | ||
140 | + | ||
141 | +@section('footer') | ||
142 | + | ||
143 | +<script type="text/javascript"> | ||
144 | + | ||
145 | + if(typeof jQuery == 'undefined' || typeof jQuery.fn.on == 'undefined') { | ||
146 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.js"><\/script>'); | ||
147 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.migrate.min.js"><\/script>'); | ||
148 | + } | ||
149 | + | ||
150 | +</script> | ||
151 | + | ||
152 | +<link rel='stylesheet' id='jquery-magnificpopup-css' href='/wp-content/plugins/bb-plugin/css/jquery.magnificpopup.css?ver=1.9.1' type='text/css' media='all' /> | ||
153 | +<link rel='stylesheet' id='fl-builder-google-fonts-123a601186055288986484015a249e40-css' href='//fonts.googleapis.com/css?family=Poppins%3A600&ver=3.6.1' type='text/css' media='all' /> | ||
154 | +<link rel='stylesheet' id='fl-builder-layout-824-css' href='/uploads/bb-plugin/cache/824-layout.css?ver=f87bf05f3f5f5ba79752e38b215b0078' type='text/css' media='all' /> | ||
155 | +<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script> | ||
156 | +<script type='text/javascript' src='/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> | ||
157 | +<script type='text/javascript' src='/wp-content/plugins/bb-plugin/js/jquery.wookmark.min.js?ver=1.9.1'></script> | ||
158 | +<script type='text/javascript' src='/wp-content/plugins/bb-plugin/js/jquery.mosaicflow.min.js?ver=1.9.1'></script> | ||
159 | +<script type='text/javascript' src='/wp-content/plugins/bb-plugin/js/jquery.magnificpopup.min.js?ver=1.9.1'></script> | ||
160 | +<script type='text/javascript' src='/uploads/bb-plugin/cache/824-layout.js?ver=f87bf05f3f5f5ba79752e38b215b0078'></script> | ||
161 | + | ||
162 | +@endsection |
resources/views/blog.blade.php
0 → 100644
1 | +@extends('layouts.base') | ||
2 | + | ||
3 | +@section('nav-active-blog') | ||
4 | + nav-current | ||
5 | +@endsection | ||
6 | +@section('content') | ||
7 | + <div class="web_main index_main"> | ||
8 | + | ||
9 | + <!-- banner --> | ||
10 | + <section class="slider_banner"> | ||
11 | + <ul class="swiper-wrapper"> | ||
12 | + <li class="swiper-slide"> | ||
13 | + <div class="banner_item_img"> | ||
14 | + <a href=""><img src="/uploads/35a55d99.jpg" alt=""/></a> | ||
15 | + </div> | ||
16 | + </li> | ||
17 | + <li class="swiper-slide"> | ||
18 | + <div class="banner_item_img"> | ||
19 | + <a href=""><img src="/uploads/6b706340.jpg" alt=""/></a> | ||
20 | + </div> | ||
21 | + </li> | ||
22 | + <li class="swiper-slide"> | ||
23 | + <div class="banner_item_img"> | ||
24 | + <a href=""><img src="/uploads/ec6a2016.jpg" alt=""/></a> | ||
25 | + </div> | ||
26 | + </li> | ||
27 | + </ul> | ||
28 | + <div class="swiper-control index_swiper_control"> | ||
29 | + <div class="swiper-buttons"> | ||
30 | + <div class="swiper-button-prev"></div> | ||
31 | + <div class="swiper-button-next"></div> | ||
32 | + </div> | ||
33 | + <div class="swiper-pagination"></div> | ||
34 | + </div> | ||
35 | + </section> | ||
36 | + | ||
37 | + <div id="partner" class="section"> | ||
38 | + <div class="layout_style01"> | ||
39 | + <h2>What partners are we looking for?</h2> | ||
40 | + | ||
41 | + <div class="items"> | ||
42 | + <div class="item"> | ||
43 | + <img class="img-responsive" alt="p1" src="/uploads/p1.jpg"> | ||
44 | + <div class="text"> | ||
45 | + <div class="group"> | ||
46 | + <div class="title">You are a blogger or YouTube product reviewer who loves creating valuable.</div> | ||
47 | + <div class="description">Create an online shop with one click for free</div> | ||
48 | + </div> | ||
49 | + <a href="" | ||
50 | + class="btn btn-large btn-large-orange">Join US | ||
51 | + </a> | ||
52 | + </div> | ||
53 | + </div> | ||
54 | + <div class="item"> | ||
55 | + <img class="img-responsive" alt="p1" src="/uploads/p2.jpg"> | ||
56 | + <div class="text"> | ||
57 | + <div class="group"> | ||
58 | + <div class="title">You are an educator, tutor or social media influencer (on TIKTOK, INS, FACEBOOK) and have an certain amount of audience.</div> | ||
59 | + <div class="description">Share ShopK products to your audience.</div> | ||
60 | + </div> | ||
61 | + <a href="" | ||
62 | + class="btn btn-large btn-large-orange">Join US | ||
63 | + </a> | ||
64 | + </div> | ||
65 | + </div> | ||
66 | + <div class="item"> | ||
67 | + <img class="img-responsive" alt="p1" src="/uploads/p3.jpg"> | ||
68 | + <div class="text"> | ||
69 | + <div class="group"> | ||
70 | + <div class="title">You are a store owner, developer or freelancer who would like to try dropshipping business.</div> | ||
71 | + <div class="description">Let your customers and friends know about our products.</div> | ||
72 | + </div> | ||
73 | + <a href="" | ||
74 | + class="btn btn-large btn-large-orange">Join US | ||
75 | + </a> | ||
76 | + </div> | ||
77 | + </div> | ||
78 | + </div> | ||
79 | + </div> | ||
80 | + </div> | ||
81 | + <style> | ||
82 | + #partner { | ||
83 | + text-align: center; | ||
84 | + } | ||
85 | + #partner .items { | ||
86 | + display: flex; | ||
87 | + justify-content: space-between; | ||
88 | + flex-wrap: wrap; | ||
89 | + } | ||
90 | + #partner .item { | ||
91 | + width: 27%; | ||
92 | + background: #FFFFFF; | ||
93 | + box-shadow: 0px 4px 50px #E8E8E8; | ||
94 | + border-radius: 5px; | ||
95 | + } | ||
96 | + #partner .text { | ||
97 | + padding: 23px 35px; | ||
98 | + } | ||
99 | + #partner .title { | ||
100 | + font-weight: 500; | ||
101 | + font-size: 22px; | ||
102 | + line-height: 140%; | ||
103 | + margin-bottom: 17px; | ||
104 | + text-align: left; | ||
105 | + } | ||
106 | + #partner .description { | ||
107 | + margin-bottom: 20px; | ||
108 | + text-align: left; | ||
109 | + } | ||
110 | + #partner .group { | ||
111 | + min-height: 289px; | ||
112 | + } | ||
113 | + #partner h2 { | ||
114 | + margin-bottom: 30px; | ||
115 | + font-size: 30px; | ||
116 | + } | ||
117 | + #partner .info { | ||
118 | + margin-bottom: 48px; | ||
119 | + max-width: 574px; | ||
120 | + margin-right: auto; | ||
121 | + margin-left: auto; | ||
122 | + } | ||
123 | + #partner h3 { | ||
124 | + margin-bottom: 60px; | ||
125 | + } | ||
126 | + #partner .btn { | ||
127 | + width: 200px; | ||
128 | + } | ||
129 | + .section { | ||
130 | + padding: 70px 0; | ||
131 | + } | ||
132 | + @media only screen and (max-width: 950px) { | ||
133 | + #partner .item{width:100%; margin-bottom:20px;} | ||
134 | + } | ||
135 | + </style> | ||
136 | + <!-- index_earn_step --> | ||
137 | + <section class="index_earn_step index_layer"> | ||
138 | + <div class="layout_style01"> | ||
139 | + <div class="index_title_bar"> | ||
140 | + <h1 class="title">KOL HOW TO WORK WITH SHOPK?</h1> | ||
141 | + </div> | ||
142 | + <ul class="step_items"> | ||
143 | + <li class="step_item wow fadeInRightA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
144 | + <div class="item_img"><img src="/style/global/img/demo/ab_banner01.jpg"></div> | ||
145 | + <div class="item_content"> | ||
146 | + <div class="item_info"> | ||
147 | + <h2 class="item_title wow fadeInLeftA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
148 | + Add The Products You Like To Create An Online Shop Of Your Own For Free | ||
149 | + </h2> | ||
150 | + <div class="item_text wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
151 | + <strong>ShopK</strong> provides hot selling products at wholesale<br/> price, and ships orders to your fans/friends. | ||
152 | + </div> | ||
153 | + <div class="web_search_wrap web_search_style01 wow fadeInLeftA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
154 | + | ||
155 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
156 | + </div> | ||
157 | + </div> | ||
158 | + </div> | ||
159 | + </li> | ||
160 | + <li class="step_item wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
161 | + <div class="item_img"><img src="/style/global/img/demo/ad_banner02.jpg"></div> | ||
162 | + <div class="item_content"> | ||
163 | + <div class="item_info"> | ||
164 | + <h2 class="item_title wow fadeInRightA" data-wow-delay=".1s" data-wow-duration=".8s">Share the products on<br/> | ||
165 | + WhatsApp, Facebook,<br/> | ||
166 | + Tiktok and Instagram</h2> | ||
167 | + <div class="item_text wow fadeInRightA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
168 | + You can share product images and videos<br/> | ||
169 | + from your online store<br/> | ||
170 | + with your customers as easy as 1-2-3<br/> | ||
171 | + </div> | ||
172 | + <div class="web_search_wrap web_search_style01 wow fadeInRightA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
173 | + | ||
174 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
175 | + </div> | ||
176 | + </div> | ||
177 | + </div> | ||
178 | + </li> | ||
179 | + <li class="step_item wow fadeInRightA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
180 | + <div class="item_img"><img src="/style/global/img/demo/ad_banner03.jpg"></div> | ||
181 | + <div class="item_content"> | ||
182 | + <div class="item_info"> | ||
183 | + <h2 class="item_title wow fadeInLeftA" data-wow-delay=".1s" data-wow-duration=".8s">Start Your Online Business<br/>From Home</h2> | ||
184 | + <div class="item_text wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
185 | + You don’t have to worry about stocking or shipping, it’s surprisingly hands-off! | ||
186 | + </div> | ||
187 | + <div class="web_search_wrap web_search_style01 wow fadeInLeftA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
188 | + | ||
189 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
190 | + </div> | ||
191 | + </div> | ||
192 | + </div> | ||
193 | + </li> | ||
194 | + </ul> | ||
195 | + </div> | ||
196 | + </section> | ||
197 | + <!-- index_choose --> | ||
198 | + <section class=" index_choose" style="background-image:url('/style/global/img/demo/bg01.png');"> | ||
199 | + <div class="layout"> | ||
200 | + <div class="index_title_bar"> | ||
201 | + <h1 class="title">Why choose SHopK</h1> | ||
202 | + </div> | ||
203 | + <ul class="choose_items flex_row"> | ||
204 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
205 | + <div class="item_img"><img src="/style/global/img/demo/ico01.png"></div> | ||
206 | + <h2 class="item_title">Various commodities</h2> | ||
207 | + </li> | ||
208 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
209 | + <div class="item_img"><img src="/style/global/img/demo/ico02.png"></div> | ||
210 | + <h2 class="item_title">Upper quality</h2> | ||
211 | + </li> | ||
212 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
213 | + <div class="item_img"><img src="/style/global/img/demo/ico03.png"></div> | ||
214 | + <h2 class="item_title">Fast logistics</h2> | ||
215 | + </li> | ||
216 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".4s" data-wow-duration=".8s"> | ||
217 | + <div class="item_img"><img src="/style/global/img/demo/ico04.png"></div> | ||
218 | + <h2 class="item_title">Simple operation </h2> | ||
219 | + </li> | ||
220 | + </ul> | ||
221 | + </div> | ||
222 | + </section> | ||
223 | + <!-- index_choose --> | ||
224 | + <section class="index_layer index_partner"> | ||
225 | + <div class="layout"> | ||
226 | + <div class="index_title_bar"> | ||
227 | + <h1 class="title">our partners</h1> | ||
228 | + </div> | ||
229 | + <div class="partner_wrap"> | ||
230 | + <h2 class="title">Shipping</h2> | ||
231 | + <ul class="partner_items flex_row wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
232 | + <li class="partner_item"><img src="/uploads/7ab23542.png"></li> | ||
233 | + <li class="partner_item"><img src="/uploads/JT.png"></li> | ||
234 | + <li class="partner_item"><img src="/uploads/7edf99e2.png"></li> | ||
235 | + <li class="partner_item"><img src="/uploads/pa02.png"></li> | ||
236 | + <li class="partner_item"><img src="/uploads/pa06.png"></li> | ||
237 | + <li class="partner_item"><img src="/uploads/pa03.png"></li> | ||
238 | + <li class="partner_item"><img src="/uploads/2f31928a.png"></li> | ||
239 | + <li class="partner_item"><img src="/uploads/22429879.png"></li> | ||
240 | + </ul> | ||
241 | + </div> | ||
242 | + <div class="partner_wrap"> | ||
243 | + <h2 class="title">Payments</h2> | ||
244 | + <ul class="partner_items flex_row wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
245 | + <li class="partner_item sub_title">Payments</li> | ||
246 | + <li class="partner_item"><img src="/uploads/a2e2cfda.png"></li> | ||
247 | + <li class="partner_item"><img src="/uploads/76fe1bdf.png"></li> | ||
248 | + <li class="partner_item"><img src="/uploads/9051ff0d.png"></li> | ||
249 | + </ul> | ||
250 | + </div> | ||
251 | + <div class="tip">Cash on Delivery (COD) option available for Payment</div> | ||
252 | + </div> | ||
253 | + </section> | ||
254 | + | ||
255 | + </div> | ||
256 | +@endsection | ||
257 | + |
resources/views/fqa.blade.php
0 → 100644
1 | +@extends('layouts.base') | ||
2 | + | ||
3 | +@section('nav-active-faq') nav-current @endsection | ||
4 | + | ||
5 | +@section('content') | ||
6 | + <!-- sys_sub_head --> | ||
7 | + <section class="sys_sub_head"> | ||
8 | + <!-- swiper --> | ||
9 | + | ||
10 | + <div class="path_bar"> | ||
11 | + <div class="layout"> | ||
12 | + <ul> | ||
13 | + <li> <a itemprop="breadcrumb" href="/{{$the_lang}}/">Home</a></li> | ||
14 | + <li>FAQs</li> | ||
15 | + </ul> | ||
16 | + </div> | ||
17 | + </div> | ||
18 | + </section> | ||
19 | + | ||
20 | + | ||
21 | + <section class="web_main page_main"> | ||
22 | + <div class="layout"> | ||
23 | + <article class="entry blog-article"> | ||
24 | + <div class="fl-builder-content fl-builder-content-1289 fl-builder-content-primary fl-builder-global-templates-locked" data-post-id="1289"><div class="fl-row fl-row-full-width fl-row-bg-none fl-node-62e487c92901c" data-node="62e487c92901c"> | ||
25 | + <div class="fl-row-content-wrap"> | ||
26 | + <div class="fl-row-content fl-row-full-width fl-node-content"> | ||
27 | + | ||
28 | + <div class="fl-col-group fl-node-62e487c929ccc" data-node="62e487c929ccc"> | ||
29 | + <div class="fl-col fl-node-62e487c929e8a" data-node="62e487c929e8a" style="width: 100%;"> | ||
30 | + <div class="fl-col-content fl-node-content"> | ||
31 | + <div class="fl-module fl-module-accordion fl-node-62e487c928ecd" data-node="62e487c928ecd" data-animation-delay="0.0"> | ||
32 | + <div class="fl-module-content fl-node-content"> | ||
33 | + <div class="fl-accordion fl-accordion-small fl-accordion-collapse"> | ||
34 | + <div class="fl-accordion-item"> | ||
35 | + <div class="fl-accordion-button"> | ||
36 | + <span class="fl-accordion-button-label">What do I need to do to sign up?</span> | ||
37 | + <i class="fl-accordion-button-icon fa fa-plus"></i> | ||
38 | + </div> | ||
39 | + <div class="fl-accordion-content fl-clearfix"><p>Simply fill out the application form to get started. We’ll contact you by WhatsApp.</p> | ||
40 | + </div> | ||
41 | + </div> | ||
42 | + <div class="fl-accordion-item"> | ||
43 | + <div class="fl-accordion-button"> | ||
44 | + <span class="fl-accordion-button-label">Does it cost me anything to become a ShopK affiliate?</span> | ||
45 | + <i class="fl-accordion-button-icon fa fa-plus"></i> | ||
46 | + </div> | ||
47 | + <div class="fl-accordion-content fl-clearfix"><p>The program is free to join, there are no charges.</p> | ||
48 | + </div> | ||
49 | + </div> | ||
50 | + </div> | ||
51 | + </div> | ||
52 | + </div> | ||
53 | + </div> | ||
54 | + </div> | ||
55 | + </div> | ||
56 | + </div> | ||
57 | + </div> | ||
58 | + </div> | ||
59 | + </div> | ||
60 | + | ||
61 | + <div class="clear"></div> | ||
62 | + | ||
63 | + </article> | ||
64 | + | ||
65 | + | ||
66 | + <hr> | ||
67 | + | ||
68 | + | ||
69 | + <style> | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + .faq_wrap .page_title_bar { padding: 35px 0 0; } | ||
74 | + | ||
75 | + | ||
76 | + .fl-accordion-items { position: relative; width: 100%; margin: 0 auto; text-align: left; } | ||
77 | + | ||
78 | + | ||
79 | + .fl-accordion-item { position: relative; margin: 0 0 20px; border-radius: 8px; overflow: hidden; border: 1px solid transparent; } | ||
80 | + | ||
81 | + | ||
82 | + .fl-accordion-item.show_item { border-color: #eee; } | ||
83 | + | ||
84 | + | ||
85 | + .fl-accordion-item .fl-accordion-button { padding: 20px 78px !important; line-height: 40px; background: #f7f7f7; font-size: 18px; font-weight: normal; cursor: pointer; } | ||
86 | + | ||
87 | + | ||
88 | + .fl-accordion-item-active .fl-accordion-button{background: #f13706;color: #FFF;position: relative;border-radius: 8px 0 0 0;} | ||
89 | + .fl-accordion-item-active .fl-accordion-content{position: relative;border-radius: 0 0 8px 8px;overflow: hidden;border: 1px solid #f13706;} | ||
90 | + | ||
91 | + .fl-accordion-item .fl-accordion-button:after{ position: absolute; left: 20px; top: 20px; content: "?"; width: 35px; height: 36px; text-align: center; line-height: 36px; border-radius: 5px; font-size: 18px; font-weight: bold; background-color: #FFF; } | ||
92 | + | ||
93 | + | ||
94 | + .fl-accordion-item .item_cont:after{ display:none;} | ||
95 | + | ||
96 | + | ||
97 | + .fl-accordion-item.show_item .item_title:after { color: #0466c7; } | ||
98 | + | ||
99 | + | ||
100 | + .fl-accordion-item .item_cont { position: relative; padding: 22px 40px ; line-height: 2; display: none; } | ||
101 | + | ||
102 | + | ||
103 | + .fl-accordion-item .item_cont:after { content: "!"; background: #0466c7; color: #FFF; font-family: "Arial Black", Gadget, sans-serif } | ||
104 | + | ||
105 | + | ||
106 | + .fl-accordion-item .item_title:before{ | ||
107 | + | ||
108 | + | ||
109 | + font-family: 'fontawesome'; | ||
110 | + | ||
111 | + | ||
112 | + position: absolute; | ||
113 | + | ||
114 | + | ||
115 | + right: 10px; | ||
116 | + | ||
117 | + | ||
118 | + top: 50%; | ||
119 | + | ||
120 | + | ||
121 | + transform: translateY(-50%); | ||
122 | + | ||
123 | + | ||
124 | + -webkit-transform: translateY(-50%); | ||
125 | + | ||
126 | + | ||
127 | + content: "\f067"; | ||
128 | + | ||
129 | + | ||
130 | + width: 35px; | ||
131 | + | ||
132 | + | ||
133 | + text-align: center; | ||
134 | + | ||
135 | + | ||
136 | + line-height: 36px; | ||
137 | + | ||
138 | + | ||
139 | + font-size: 12px; | ||
140 | + | ||
141 | + | ||
142 | + } | ||
143 | + | ||
144 | + .fl-accordion-item.show_item .item_title:before{ content: "\f068";} | ||
145 | + | ||
146 | + .fl-accordion-small .fl-accordion-content{ | ||
147 | + padding-top:10px !important; | ||
148 | + } | ||
149 | + .fl-accordion-item-active .fl-accordion-button:after{color: #f13706;} | ||
150 | + | ||
151 | + | ||
152 | + .fl-accordion-item .fl-accordion-button { | ||
153 | + -moz-transition: all .4s ease-in-out; | ||
154 | + -webkit-transition: all .4s ease-in-out; | ||
155 | + -ms-transition: all .4s ease-in-out; | ||
156 | + -o-transition: all .4s ease-in-out; | ||
157 | + transition: all .4s ease-in-out; | ||
158 | + } | ||
159 | + | ||
160 | + .fl-accordion-button-label{ | ||
161 | + color:#000; | ||
162 | + } | ||
163 | + | ||
164 | + .fl-accordion-item-active .fl-accordion-button-label{ | ||
165 | + color:#fff; | ||
166 | + } | ||
167 | + | ||
168 | + | ||
169 | + </style> | ||
170 | + </div> | ||
171 | + | ||
172 | + </section> | ||
173 | + | ||
174 | +@endsection | ||
175 | + | ||
176 | +@section('footer') | ||
177 | +<script type="text/javascript"> | ||
178 | + | ||
179 | + if(typeof jQuery == 'undefined' || typeof jQuery.fn.on == 'undefined') { | ||
180 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.js"><\/script>'); | ||
181 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.migrate.min.js"><\/script>'); | ||
182 | + } | ||
183 | + | ||
184 | +</script> | ||
185 | +<link rel='stylesheet' id='font-awesome-css' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css?ver=1.9.1' type='text/css' media='all' /> | ||
186 | +<link rel='stylesheet' id='fl-builder-layout-1289-css' href='/uploads/bb-plugin/cache/1289-layout.css?ver=7316e0a8cbaf7171adbe55fb8c32cf1a' type='text/css' media='all' /> | ||
187 | +<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script> | ||
188 | +<script type='text/javascript' src='/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> | ||
189 | +<script type='text/javascript' src='/uploads/bb-plugin/cache/1289-layout.js?ver=7316e0a8cbaf7171adbe55fb8c32cf1a'></script> | ||
190 | + | ||
191 | +@endsection |
resources/views/home.blade.php
0 → 100644
1 | +@extends('layouts.base') | ||
2 | + | ||
3 | +@section('nav-active-home') | ||
4 | + nav-current | ||
5 | +@endsection | ||
6 | + | ||
7 | +@section('content') | ||
8 | + <div class="web_main index_main"> | ||
9 | + <!-- banner --> | ||
10 | + <section class="slider_banner"> | ||
11 | + <ul class="swiper-wrapper"> | ||
12 | + | ||
13 | + <li class="swiper-slide"> | ||
14 | + <div class="banner_item_img"> | ||
15 | + <a href=""><img src="/uploads/35a55d99.jpg" alt=""/></a> | ||
16 | + </div> | ||
17 | + </li> | ||
18 | + | ||
19 | + <li class="swiper-slide"> | ||
20 | + <div class="banner_item_img"> | ||
21 | + <a href=""><img src="/uploads/6b706340.jpg" alt=""/></a> | ||
22 | + </div> | ||
23 | + </li> | ||
24 | + | ||
25 | + <li class="swiper-slide"> | ||
26 | + <div class="banner_item_img"> | ||
27 | + <a href=""><img src="/uploads/ec6a2016.jpg" alt=""/></a> | ||
28 | + </div> | ||
29 | + </li> | ||
30 | + | ||
31 | + </ul> | ||
32 | + <div class="swiper-control index_swiper_control"> | ||
33 | + <div class="swiper-buttons"> | ||
34 | + <div class="swiper-button-prev"></div> | ||
35 | + <div class="swiper-button-next"></div> | ||
36 | + </div> | ||
37 | + <div class="swiper-pagination"></div> | ||
38 | + </div> | ||
39 | + </section> | ||
40 | + | ||
41 | + <div id="partner" class="section"> | ||
42 | + <div class="layout_style01"> | ||
43 | + <h2>What partners are we looking for?</h2> | ||
44 | + | ||
45 | + <div class="items"> | ||
46 | + <div class="item"> | ||
47 | + <img class="img-responsive" alt="p1" src="/uploads/p1.jpg"> | ||
48 | + <div class="text"> | ||
49 | + <div class="group"> | ||
50 | + <div class="title">You are a blogger or YouTube product reviewer who loves creating valuable.</div> | ||
51 | + <div class="description">Create an online shop with one click for free</div> | ||
52 | + </div> | ||
53 | + <a href="" | ||
54 | + class="btn btn-large btn-large-orange">Join US | ||
55 | + </a> | ||
56 | + </div> | ||
57 | + </div> | ||
58 | + <div class="item"> | ||
59 | + <img class="img-responsive" alt="p1" src="/uploads/p2.jpg"> | ||
60 | + <div class="text"> | ||
61 | + <div class="group"> | ||
62 | + <div class="title">You are an educator, tutor or social media influencer (on TIKTOK, INS, FACEBOOK) and have an certain amount of audience.</div> | ||
63 | + <div class="description">Share ShopK products to your audience.</div> | ||
64 | + </div> | ||
65 | + <a href="" | ||
66 | + class="btn btn-large btn-large-orange">Join US | ||
67 | + </a> | ||
68 | + </div> | ||
69 | + </div> | ||
70 | + <div class="item"> | ||
71 | + <img class="img-responsive" alt="p1" src="/uploads/p3.jpg"> | ||
72 | + <div class="text"> | ||
73 | + <div class="group"> | ||
74 | + <div class="title">You are a store owner, developer or freelancer who would like to try dropshipping business.</div> | ||
75 | + <div class="description">Let your customers and friends know about our products.</div> | ||
76 | + </div> | ||
77 | + <a href="" | ||
78 | + class="btn btn-large btn-large-orange">Join US | ||
79 | + </a> | ||
80 | + </div> | ||
81 | + </div> | ||
82 | + </div> | ||
83 | + </div> | ||
84 | + </div> | ||
85 | + <style> | ||
86 | + #partner { | ||
87 | + text-align: center; | ||
88 | + } | ||
89 | + #partner .items { | ||
90 | + display: flex; | ||
91 | + justify-content: space-between; | ||
92 | + flex-wrap: wrap; | ||
93 | + } | ||
94 | + #partner .item { | ||
95 | + width: 27%; | ||
96 | + background: #FFFFFF; | ||
97 | + box-shadow: 0px 4px 50px #E8E8E8; | ||
98 | + border-radius: 5px; | ||
99 | + } | ||
100 | + #partner .text { | ||
101 | + padding: 23px 35px; | ||
102 | + } | ||
103 | + #partner .title { | ||
104 | + font-weight: 500; | ||
105 | + font-size: 22px; | ||
106 | + line-height: 140%; | ||
107 | + margin-bottom: 17px; | ||
108 | + text-align: left; | ||
109 | + } | ||
110 | + #partner .description { | ||
111 | + margin-bottom: 20px; | ||
112 | + text-align: left; | ||
113 | + } | ||
114 | + #partner .group { | ||
115 | + min-height: 289px; | ||
116 | + } | ||
117 | + #partner h2 { | ||
118 | + margin-bottom: 30px; | ||
119 | + font-size: 30px; | ||
120 | + } | ||
121 | + #partner .info { | ||
122 | + margin-bottom: 48px; | ||
123 | + max-width: 574px; | ||
124 | + margin-right: auto; | ||
125 | + margin-left: auto; | ||
126 | + } | ||
127 | + #partner h3 { | ||
128 | + margin-bottom: 60px; | ||
129 | + } | ||
130 | + #partner .btn { | ||
131 | + width: 200px; | ||
132 | + } | ||
133 | + .section { | ||
134 | + padding: 70px 0; | ||
135 | + } | ||
136 | + @media only screen and (max-width: 950px) { | ||
137 | + #partner .item{width:100%; margin-bottom:20px;} | ||
138 | + } | ||
139 | + </style> | ||
140 | + <!-- index_earn_step --> | ||
141 | + <section class="index_earn_step index_layer"> | ||
142 | + <div class="layout_style01"> | ||
143 | + <div class="index_title_bar"> | ||
144 | + <h1 class="title">KOL HOW TO WORK WITH SHOPK?</h1> | ||
145 | + </div> | ||
146 | + <ul class="step_items"> | ||
147 | + <li class="step_item wow fadeInRightA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
148 | + <div class="item_img"><img src="/style/global/img/demo/ab_banner01.jpg"></div> | ||
149 | + <div class="item_content"> | ||
150 | + <div class="item_info"> | ||
151 | + <h2 class="item_title wow fadeInLeftA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
152 | + Add The Products You Like To Create An Online Shop Of Your Own For Free | ||
153 | + </h2> | ||
154 | + <div class="item_text wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
155 | + <strong>ShopK</strong> provides hot selling products at wholesale<br/> price, and ships orders to your fans/friends. | ||
156 | + </div> | ||
157 | + <div class="web_search_wrap web_search_style01 wow fadeInLeftA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
158 | + | ||
159 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
160 | + </div> | ||
161 | + </div> | ||
162 | + </div> | ||
163 | + </li> | ||
164 | + <li class="step_item wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
165 | + <div class="item_img"><img src="/style/global/img/demo/ad_banner02.jpg"></div> | ||
166 | + <div class="item_content"> | ||
167 | + <div class="item_info"> | ||
168 | + <h2 class="item_title wow fadeInRightA" data-wow-delay=".1s" data-wow-duration=".8s">Share the products on<br/> | ||
169 | + WhatsApp, Facebook,<br/> | ||
170 | + Tiktok and Instagram</h2> | ||
171 | + <div class="item_text wow fadeInRightA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
172 | + You can share product images and videos<br/> | ||
173 | + from your online store<br/> | ||
174 | + with your customers as easy as 1-2-3<br/> | ||
175 | + </div> | ||
176 | + <div class="web_search_wrap web_search_style01 wow fadeInRightA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
177 | + | ||
178 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
179 | + </div> | ||
180 | + </div> | ||
181 | + </div> | ||
182 | + </li> | ||
183 | + <li class="step_item wow fadeInRightA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
184 | + <div class="item_img"><img src="/style/global/img/demo/ad_banner03.jpg"></div> | ||
185 | + <div class="item_content"> | ||
186 | + <div class="item_info"> | ||
187 | + <h2 class="item_title wow fadeInLeftA" data-wow-delay=".1s" data-wow-duration=".8s">Start Your Online Business<br/>From Home</h2> | ||
188 | + <div class="item_text wow fadeInLeftA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
189 | + You don’t have to worry about stocking or shipping, it’s surprisingly hands-off! | ||
190 | + </div> | ||
191 | + <div class="web_search_wrap web_search_style01 wow fadeInLeftA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
192 | + | ||
193 | + <a class="get_btn" href="/shopk-app">get app<i></i></a> | ||
194 | + </div> | ||
195 | + </div> | ||
196 | + </div> | ||
197 | + </li> | ||
198 | + </ul> | ||
199 | + </div> | ||
200 | + </section> | ||
201 | + <!-- index_choose --> | ||
202 | + <section class=" index_choose" style="background-image:url('/style/global/img/demo/bg01.png');"> | ||
203 | + <div class="layout"> | ||
204 | + <div class="index_title_bar"> | ||
205 | + <h1 class="title">Why choose SHopK</h1> | ||
206 | + </div> | ||
207 | + <ul class="choose_items flex_row"> | ||
208 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
209 | + <div class="item_img"><img src="/style/global/img/demo/ico01.png"></div> | ||
210 | + <h2 class="item_title">Various commodities</h2> | ||
211 | + </li> | ||
212 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
213 | + <div class="item_img"><img src="/style/global/img/demo/ico02.png"></div> | ||
214 | + <h2 class="item_title">Upper quality</h2> | ||
215 | + </li> | ||
216 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".3s" data-wow-duration=".8s"> | ||
217 | + <div class="item_img"><img src="/style/global/img/demo/ico03.png"></div> | ||
218 | + <h2 class="item_title">Fast logistics</h2> | ||
219 | + </li> | ||
220 | + <li class="choose_item wow fadeInUpA" data-wow-delay=".4s" data-wow-duration=".8s"> | ||
221 | + <div class="item_img"><img src="/style/global/img/demo/ico04.png"></div> | ||
222 | + <h2 class="item_title">Simple operation </h2> | ||
223 | + </li> | ||
224 | + <!--<li class="choose_item wow fadeInUpA" data-wow-delay=".5s" data-wow-duration=".8s">--> | ||
225 | + <!-- <div class="item_img"><img src="/style/global/img/demo/ico05.png"></div>--> | ||
226 | + <!-- <h2 class="item_title">high commission </h2>--> | ||
227 | + <!--</li>--> | ||
228 | + | ||
229 | + | ||
230 | + </ul> | ||
231 | + </div> | ||
232 | + </section> | ||
233 | + <!-- index_choose --> | ||
234 | + <section class="index_layer index_partner"> | ||
235 | + <div class="layout"> | ||
236 | + <div class="index_title_bar"> | ||
237 | + <h1 class="title">our partners</h1> | ||
238 | + </div> | ||
239 | + <div class="partner_wrap"> | ||
240 | + <h2 class="title">Shipping</h2> | ||
241 | + <ul class="partner_items flex_row wow fadeInUpA" data-wow-delay=".1s" data-wow-duration=".8s"> | ||
242 | + <li class="partner_item"><img src="/uploads/7ab23542.png"></li> | ||
243 | + <li class="partner_item"><img src="/uploads/JT.png"></li> | ||
244 | + <li class="partner_item"><img src="/uploads/7edf99e2.png"></li> | ||
245 | + <li class="partner_item"><img src="/uploads/pa02.png"></li> | ||
246 | + <li class="partner_item"><img src="/uploads/pa06.png"></li> | ||
247 | + <li class="partner_item"><img src="/uploads/pa03.png"></li> | ||
248 | + <li class="partner_item"><img src="/uploads/2f31928a.png"></li> | ||
249 | + <li class="partner_item"><img src="/uploads/22429879.png"></li> | ||
250 | + </ul> | ||
251 | + </div> | ||
252 | + <div class="partner_wrap"> | ||
253 | + <h2 class="title">Payments</h2> | ||
254 | + <ul class="partner_items flex_row wow fadeInUpA" data-wow-delay=".2s" data-wow-duration=".8s"> | ||
255 | + <li class="partner_item sub_title">Payments</li> | ||
256 | + <li class="partner_item"><img src="/uploads/a2e2cfda.png"></li> | ||
257 | + <li class="partner_item"><img src="/uploads/76fe1bdf.png"></li> | ||
258 | + <li class="partner_item"><img src="/uploads/9051ff0d.png"></li> | ||
259 | + </ul> | ||
260 | + </div> | ||
261 | + <div class="tip">Cash on Delivery (COD) option available for Payment</div> | ||
262 | + </div> | ||
263 | + </section> | ||
264 | + </div> | ||
265 | +@endsection |
resources/views/kolSolution.blade.php
0 → 100644
1 | +@extends('layouts.base') | ||
2 | + | ||
3 | +@section('nav-active-ks') nav-current @endsection | ||
4 | + | ||
5 | +@section('content') | ||
6 | + <!-- sys_sub_head --> | ||
7 | + <section class="sys_sub_head"> | ||
8 | + <!-- swiper --> | ||
9 | + | ||
10 | + <div class="path_bar"> | ||
11 | + <div class="layout"> | ||
12 | + <ul> | ||
13 | + <li><a itemprop="breadcrumb" href="/{{$the_lang}}/">Home</a></li> | ||
14 | + <li>Kol Solution</li> | ||
15 | + </ul> | ||
16 | + </div> | ||
17 | + </div> | ||
18 | + </section> | ||
19 | + | ||
20 | + <section class="web_main page_main"> | ||
21 | + <div class="layout"> | ||
22 | + <article class="entry blog-article"> | ||
23 | + <div class="fl-builder-content fl-builder-content-1296 fl-builder-content-primary fl-builder-global-templates-locked" data-post-id="1296"> | ||
24 | + <div class="fl-row fl-row-full-width fl-row-bg-none fl-node-62e741c42de3a" data-node="62e741c42de3a"> | ||
25 | + <div class="fl-row-content-wrap"> | ||
26 | + <div class="fl-row-content fl-row-full-width fl-node-content"> | ||
27 | + <div class="fl-col-group fl-node-62e741c42e9fd" data-node="62e741c42e9fd"> | ||
28 | + <div class="fl-col fl-node-62e741c42eb8c" data-node="62e741c42eb8c" style="width: 100%;"> | ||
29 | + <div class="fl-col-content fl-node-content"> | ||
30 | + <div class="fl-module fl-module-photo fl-node-62e741c42dcd7" data-node="62e741c42dcd7" data-animation-delay="0.0"> | ||
31 | + <div class="fl-module-content fl-node-content"> | ||
32 | + <div class="fl-photo fl-photo-align-center" itemscope itemtype="http://schema.org/ImageObject"> | ||
33 | + <div class="fl-photo-content fl-photo-img-jpg"> | ||
34 | + <img class="fl-photo-img wp-image-1302" src="/uploads/about-2.jpg" alt="about (2)" itemprop="image"/> | ||
35 | + </div> | ||
36 | + </div> | ||
37 | + </div> | ||
38 | + </div> | ||
39 | + </div> | ||
40 | + </div> | ||
41 | + </div> | ||
42 | + </div> | ||
43 | + </div> | ||
44 | + </div> | ||
45 | + </div> | ||
46 | + <div class="clear"></div> | ||
47 | + </article> | ||
48 | + <hr> | ||
49 | + </div> | ||
50 | + </section> | ||
51 | +@endsection | ||
52 | + | ||
53 | +@section('footer') | ||
54 | + <script type="text/javascript"> | ||
55 | + | ||
56 | + if (typeof jQuery == 'undefined' || typeof jQuery.fn.on == 'undefined') { | ||
57 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.js"><\/script>'); | ||
58 | + document.write('<script src="/wp-content/plugins/bb-plugin/js/jquery.migrate.min.js"><\/script>'); | ||
59 | + } | ||
60 | + | ||
61 | + </script> | ||
62 | + <link rel='stylesheet' id='fl-builder-layout-1296-css' href='/uploads/bb-plugin/cache/1296-layout.css?ver=24275691ea5c7423d296197899d49766' type='text/css' media='all'/> | ||
63 | + <script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script> | ||
64 | + <script type='text/javascript' src='/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script> | ||
65 | + <script type='text/javascript' src='/uploads/bb-plugin/cache/1296-layout.js?ver=24275691ea5c7423d296197899d49766'></script> | ||
66 | +@endsection |
resources/views/layouts/base.blade.php
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html dir="ltr" lang="{{ str_replace('_', '-', $the_lang) }}"> | ||
3 | +<head> | ||
4 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
5 | + <title>@yield('web_title',$seo['title'])</title> | ||
6 | + <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> | ||
7 | + <link rel="apple-touch-icon-precomposed" href=""> | ||
8 | + <meta name="format-detection" content="telephone=no"> | ||
9 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
10 | + <meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
11 | + <meta name="facebook-domain-verification" content="nzjrc3iklw88h0npf9sx583ri5tc30"> | ||
12 | + <link href="/style/global/style.css" rel="stylesheet"> | ||
13 | + <link href="/style/public/public.css" rel="stylesheet"> | ||
14 | + <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"> | ||
15 | + <link rel="stylesheet" type="text/css" href="/style/template/style.css"> | ||
16 | + <link rel="stylesheet" type="text/css" href="/style/template/public.css"> | ||
17 | + <script type="text/javascript" src="/style/global/js/jquery.min.js"></script> | ||
18 | + <script type="text/javascript" src="/style/global/js/common.js"></script> | ||
19 | + <script type="text/javascript" src="/style/public/public.js"></script> | ||
20 | + | ||
21 | + <link rel="shortcut icon" href="/uploads/favico.png"/> | ||
22 | + | ||
23 | + <script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script> | ||
24 | + <style> | ||
25 | + @media screen and (max-width: 640px) { | ||
26 | + iframe.form_shopk_m1234 { | ||
27 | + height: 42px !important; | ||
28 | + } | ||
29 | + } | ||
30 | + | ||
31 | + @media screen and (max-width: 950px) { | ||
32 | + .mobile-head-items .web_search_wrap .web_search.show { | ||
33 | + right: -250px !important; | ||
34 | + } | ||
35 | + } | ||
36 | + | ||
37 | + </style> | ||
38 | + | ||
39 | + <meta property="og:url" content="{{request()->url()}}"/> | ||
40 | + <meta property="og:title" content="{{$seo['title']}}"/> | ||
41 | + <meta property="og:description" content="{{$seo['description']}}"/> | ||
42 | + <meta property="og:type" content="{{$seo['type']}}"/> | ||
43 | + <meta property="og:site_name" content="{{$seo['app_name']}}"/> | ||
44 | + | ||
45 | + <meta name="description" itemprop="description" content="{{$seo['description']}}"/> | ||
46 | + | ||
47 | + <meta name="keywords" itemprop="keywords" content="{{$seo['keywords']}}"/> | ||
48 | + | ||
49 | + @yield('head') | ||
50 | +</head> | ||
51 | +<body> | ||
52 | +<div class="container"> | ||
53 | + <!-- web_head start --> | ||
54 | + <header class="web_head index_web_head"> | ||
55 | + <div class="head_layer"> | ||
56 | + <div class="head_top"> | ||
57 | + <div class="layout flex_row"> | ||
58 | + <div class="change-language ensemble"> | ||
59 | + <div class="change-language-title medium-title"> | ||
60 | + <div class="language-flag language-flag-{{$the_lang}}"> | ||
61 | + <a title="{{\App\Http\Controllers\Index::lang()[$the_lang]}}" href="javascript:;"> | ||
62 | + <b class="country-flag"></b> | ||
63 | + <span>{{\App\Http\Controllers\Index::lang()[$the_lang]}}</span> | ||
64 | + </a> | ||
65 | + </div> | ||
66 | + </div> | ||
67 | + <div class="change-language-cont sub-content"></div> | ||
68 | + </div> | ||
69 | + <div class="logo"> | ||
70 | + <div class="logo_img"> | ||
71 | + <a href="/{{$the_lang}}/"> | ||
72 | + <img src="/uploads/logo1.png" alt="logo"> | ||
73 | + </a> | ||
74 | + </div> | ||
75 | + </div> | ||
76 | + <div class="web_search_wrap"> | ||
77 | + <a class="head_link" href="https://king.shopk.com/register">Sign Up</a> | ||
78 | + <a class="head_link" href="https://king.shopk.com/login">Login</a> | ||
79 | + <a class="get_btn" href="/{{$the_lang}}/shop">SHOP</a> | ||
80 | + </div> | ||
81 | + | ||
82 | + </div> | ||
83 | + </div> | ||
84 | + | ||
85 | + <div class="head_bottom"> | ||
86 | + <div class="layout flex_row"> | ||
87 | + <nav class="nav_wrap"> | ||
88 | + <ul class=" head_nav"> | ||
89 | +{{-- nav-current--}} | ||
90 | + <li class="@yield('nav-active-home')"><a href="/{{$the_lang}}/">Home</a></li> | ||
91 | + <li class="@yield('nav-active-about')"><a href="/{{$the_lang}}/about-us/">About Us</a></li> | ||
92 | + <li class="@yield('nav-active-blog')"><a href="/{{$the_lang}}/blog/">Blog</a></li> | ||
93 | + <li class="@yield('nav-active-ks')"><a href="/{{$the_lang}}/kol-solution/">Kol Solution</a></li> | ||
94 | + <li class="@yield('nav-active-faq')"><a href="/{{$the_lang}}/faq/">FAQs</a></li> | ||
95 | + <li class="@yield('nav-active-shop')"><a href="/{{$the_lang}}/shop/">Shop</a></li> | ||
96 | + </ul> | ||
97 | + </nav> | ||
98 | + </div> | ||
99 | + </div> | ||
100 | + </div> | ||
101 | + </header> | ||
102 | + <!-- web_main start --> | ||
103 | + | ||
104 | + @yield('content') | ||
105 | + | ||
106 | + | ||
107 | + <!-- web_footer start --> | ||
108 | + <footer class="web_footer"> | ||
109 | + © Copyright 2022 ShopK, The Leading Dropshipping APP | ||
110 | + <!-- <br /> | ||
111 | + Chuangmao Technology (Shenzhen) Group Co., Ltd--> | ||
112 | + </footer> | ||
113 | + <!--// web_footer end --> | ||
114 | +</div> | ||
115 | +<!--// container end --> | ||
116 | + | ||
117 | + | ||
118 | +<!--[if lt IE 9]> | ||
119 | +<script src="/style/global/js/html5.js"></script> | ||
120 | +<![endif]--> | ||
121 | +<ul class="prisna-wp-translate-seo" id="prisna-translator-seo"> | ||
122 | + @foreach($_langs as $k=>$v) | ||
123 | + <li class="language-flag language-flag-{{$k}}" style="width: 49%;"> | ||
124 | + <a href="/{{$k}}/{{ltrim(request()->route()->uri(),'/'.$the_lang.'/')}}" title="{{$v}}"><b class="country-flag"></b><span>{{$v}}</span></a> | ||
125 | + </li> | ||
126 | + @endforeach | ||
127 | +</ul> | ||
128 | +<script> | ||
129 | + function getCookie(name) { | ||
130 | + var arg = name + "="; | ||
131 | + var alen = arg.length; | ||
132 | + var clen = document.cookie.length; | ||
133 | + var i = 0; | ||
134 | + while (i < clen) { | ||
135 | + var j = i + alen; | ||
136 | + if (document.cookie.substring(i, j) == arg) return getCookieVal(j); | ||
137 | + i = document.cookie.indexOf(" ", i) + 1; | ||
138 | + if (i == 0) break; | ||
139 | + } | ||
140 | + return null; | ||
141 | + } | ||
142 | + | ||
143 | + function setCookie(name, value) { | ||
144 | + var expDate = new Date(); | ||
145 | + var argv = setCookie.arguments; | ||
146 | + var argc = setCookie.arguments.length; | ||
147 | + var expires = (argc > 2) ? argv[2] : null; | ||
148 | + var path = (argc > 3) ? argv[3] : null; | ||
149 | + var domain = (argc > 4) ? argv[4] : null; | ||
150 | + var secure = (argc > 5) ? argv[5] : false; | ||
151 | + if (expires != null) { | ||
152 | + expDate.setTime(expDate.getTime() + expires); | ||
153 | + } | ||
154 | + document.cookie = name + "=" + escape(value) + ((expires == null) ? "" : ("; expires=" + expDate.toUTCString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); | ||
155 | + } | ||
156 | + | ||
157 | + function getCookieVal(offset) { | ||
158 | + var endstr = document.cookie.indexOf(";", offset); | ||
159 | + if (endstr == -1) endstr = document.cookie.length; | ||
160 | + return unescape(document.cookie.substring(offset, endstr)); | ||
161 | + } | ||
162 | + | ||
163 | + var firstshow = 0; | ||
164 | + var cfstatshowcookie = getCookie('easyiit_stats'); | ||
165 | + if (cfstatshowcookie != 1) { | ||
166 | + a = new Date(); | ||
167 | + h = a.getHours(); | ||
168 | + m = a.getMinutes(); | ||
169 | + s = a.getSeconds(); | ||
170 | + sparetime = 1000 * 60 * 60 * 24 * 1 - (h * 3600 + m * 60 + s) * 1000 - 1; | ||
171 | + setCookie('easyiit_stats', 1, sparetime, '/'); | ||
172 | + firstshow = 1; | ||
173 | + } | ||
174 | + if (!navigator.cookieEnabled) { | ||
175 | + firstshow = 0; | ||
176 | + } | ||
177 | + var referrer = escape(document.referrer); | ||
178 | + var currweb = escape(location.href); | ||
179 | + var screenwidth = screen.width; | ||
180 | + var screenheight = screen.height; | ||
181 | + var screencolordepth = screen.colorDepth; | ||
182 | + // $(function($){ | ||
183 | + // var src="/wp-admin/admin-ajax.php?action=stats_init&assort=0&referrer="+referrer+"&currweb="+currweb+"&firstshow="+firstshow+"&screenwidth="+screenwidth+"&screenheight="+screenheight+"&screencolordepth="+screencolordepth+"&ranstr="+Math.random() | ||
184 | + // $('body').append('<iframe style="display:none" src='+src+'></iframe>') | ||
185 | + // }); | ||
186 | +</script> | ||
187 | +<script> | ||
188 | + var MauticSDKLoaded = true; | ||
189 | +</script> | ||
190 | +<script> | ||
191 | + var head = document.getElementsByTagName('head')[0]; | ||
192 | + var script = document.createElement('script'); | ||
193 | + script.type = 'text/javascript'; | ||
194 | + script.src = 'https://formcs.globalso.com/media/js/mautic-form.js'; | ||
195 | + script.onload = function () { | ||
196 | + MauticSDK.onLoad(); | ||
197 | + }; | ||
198 | + head.appendChild(script); | ||
199 | + var MauticDomain = 'https://formcs.globalso.com'; | ||
200 | + var MauticLang = { | ||
201 | + 'submittingMessage': "Pleas wait..." | ||
202 | + }; | ||
203 | +</script> | ||
204 | +{{--<script type="text/javascript" src="https://js.users.51.la/21434579.js"></script>--}} | ||
205 | +<script type="text/javascript" src="/21434579.js"></script> | ||
206 | + | ||
207 | +<!--<script>--> | ||
208 | +<!-- $(function(){--> | ||
209 | +<!-- window.phone_code = false;--> | ||
210 | +<!-- $('.get_btn').click(function(){--> | ||
211 | +<!-- if (false == window.phone_code) {--> | ||
212 | +<!-- initPhoneCode();--> | ||
213 | +<!-- }--> | ||
214 | +<!-- });--> | ||
215 | + | ||
216 | +<!-- function initPhoneCode()--> | ||
217 | +<!-- {--> | ||
218 | +<!-- $.post('https://king.shopk.com/api/king/index/phone_code', {}, function(msg) {--> | ||
219 | +<!-- var select_html = '';--> | ||
220 | +<!-- $.each(msg.data, function(key, val) {--> | ||
221 | +<!-- select_html += '<option type="select" value="' + key + '" name="code" class="selectb7dd380efbe911093c7beeddd1783651 input-b7dd380efbe911093c7beeddd1783651 input3026-b7dd380efbe911093c7beeddd1783651"> ' + val + ' </option>';--> | ||
222 | +<!-- });--> | ||
223 | + | ||
224 | +<!-- $('.from_iframe').contents().find('#dataFormLivechat select').eq('0').html(select_html);--> | ||
225 | +<!-- $('iframe').html();--> | ||
226 | +<!-- window.phone_code = false;--> | ||
227 | +<!-- });--> | ||
228 | +<!-- }--> | ||
229 | + | ||
230 | +<!-- });--> | ||
231 | +<!--</script>--> | ||
232 | +@yield('footer') | ||
233 | +</body> | ||
234 | +</html> |
-
请 注册 或 登录 后发表评论