diff --git a/app/Http/Controllers/CuranmorController.php b/app/Http/Controllers/CuranmorController.php index e67eb3e..3b3ef22 100644 --- a/app/Http/Controllers/CuranmorController.php +++ b/app/Http/Controllers/CuranmorController.php @@ -6,6 +6,7 @@ use App\Models\Curanmor; use App\Models\Kecamatan; use Illuminate\Http\Request; +use App\Services\KMeansService; use Illuminate\Validation\Rule; class CuranmorController extends Controller @@ -90,7 +91,7 @@ public function update(Request $request, Curanmor $curanmor) Rule::unique('curanmors')->ignore($curanmor->id), ], 'klaster_id' => 'required|exists:klasters,id', - 'jumlah_curanmor' => 'required|integer|min:0', + 'jumlah_curanmor' => 'required|numeric|min:0', ]); // Update data @@ -99,6 +100,12 @@ public function update(Request $request, Curanmor $curanmor) 'klaster_id' => $request->klaster_id, 'jumlah_curanmor' => $request->jumlah_curanmor, ]); + + $service = new KMeansService(); + $hasil = $service->hitungKMeansCuranmor(); + + // simpan hasil ke file json + file_put_contents(storage_path('app/public/hasil_kmeans_curanmor.json'), json_encode($hasil)); return redirect('/curanmor')->with('succes', 'Data Kecamatan Berhasil Diubah'); } catch (\Exception $e) { diff --git a/app/Http/Controllers/CurasController.php b/app/Http/Controllers/CurasController.php index 7cc8291..0f960d4 100644 --- a/app/Http/Controllers/CurasController.php +++ b/app/Http/Controllers/CurasController.php @@ -6,6 +6,7 @@ use App\Models\Klaster; use App\Models\Kecamatan; use Illuminate\Http\Request; +use App\Services\KMeansService; use Illuminate\Validation\Rule; class CurasController extends Controller @@ -106,6 +107,12 @@ public function update(Request $request, $id) 'jumlah_curas' => $request->jumlah_curas, ]); + $service = new KMeansService(); + $hasil = $service->hitungKMeansCuras(); + + // simpan hasil ke file json + file_put_contents(storage_path('app/public/hasil_kmeans_curas.json'), json_encode($hasil)); + return redirect('/curas')->with('succes', 'Data Kecamatan Berhasil Diubah'); } catch (\Exception $e) { return redirect('/curas')->with('error', 'Data Kecamatan Gagal Diubah: ' . $e->getMessage()); diff --git a/app/Http/Controllers/KmeansController.php b/app/Http/Controllers/KmeansController.php new file mode 100644 index 0000000..245c175 --- /dev/null +++ b/app/Http/Controllers/KmeansController.php @@ -0,0 +1,219 @@ +orderBy('jumlah_curas', 'asc')->get(); + + $k = Klaster::count('id'); + $maxIterasi = 100; + $centroids = $data->random($k)->values()->map(function ($item) { + return [ + 'jumlah_curas' => $item->jumlah_curas, + ]; + }); + + $iterasi = []; + $prevAssignment = []; + + for ($i = 0; $i < $maxIterasi; $i++) { + $clustered = []; + $currentAssignment = []; + + foreach ($data as $item) { + $jarak = []; + + foreach ($centroids as $idx => $centroid) { + $dist = abs($item->jumlah_curas - $centroid['jumlah_curas']); + $jarak["jarakC" . ($idx + 1)] = $dist; + } + + $iterasi[$i][] = array_merge(['kecamatan_id' => $item->kecamatan_id], $jarak); + + $minIndex = array_keys($jarak, min($jarak))[0]; // e.g. "jarakC2" + $clusterNumber = (int) str_replace("jarakC", "", $minIndex); + + $clustered[$clusterNumber][] = $item; + $item->temp_klaster = $clusterNumber; + $currentAssignment[$item->id] = $clusterNumber; + } + + // ✨ Cek konvergensi: jika assignment sekarang == sebelumnya, break + if ($currentAssignment === $prevAssignment) { + break; + } + + $prevAssignment = $currentAssignment; + + + + // Update centroid berdasarkan rata-rata + foreach ($clustered as $key => $group) { + $avg = collect($group)->avg('jumlah_curas'); + $centroids = $centroids->map(function ($item, $index) use ($key, $avg) { + return $index === ($key - 1) + ? ['jumlah_curas' => $avg] + : $item; + }); + } + } + + + // Final mapping centroid ke klaster_id (aman/sedang/rawan) + $finalCentroids = $centroids->map(function ($item, $index) { + return ['index' => $index + 1, 'jumlah_curas' => $item['jumlah_curas']]; + })->sortBy('jumlah_curas')->values(); + + $centroidToKlaster = []; + + foreach ($finalCentroids as $i => $centroid) { + // Klaster ID mulai dari 1 (asumsi klaster di DB bernomor 1, 2, 3, ...) + $centroidToKlaster[$centroid['index']] = $i + 1; + } + + + // Update ke database + foreach ($data as $item) { + Curas::where('id', $item->id)->update([ + 'klaster_id' => $centroidToKlaster[$item->temp_klaster], + ]); + } + + session(['hasil_iterasi' => $iterasi]); + + return response()->json($iterasi); + } + + public function KMeansCuranmor() +{ + $data = Curanmor::select('id', 'kecamatan_id', 'klaster_id', 'jumlah_curanmor')->orderBy('jumlah_curanmor', 'asc')->get(); + $maxIterasi = 100; + $hasilElbow = []; + + for ($k = 1; $k <= 10; $k++) { + // Ambil centroid awal secara acak + $centroids = $data->random($k)->values()->map(function ($item) { + return ['jumlah_curanmor' => $item->jumlah_curanmor]; + }); + + $prevAssignment = []; + + for ($i = 0; $i < $maxIterasi; $i++) { + $clustered = []; + $currentAssignment = []; + + foreach ($data as $item) { + $jarak = []; + + foreach ($centroids as $idx => $centroid) { + $dist = abs($item->jumlah_curanmor - $centroid['jumlah_curanmor']); + $jarak[$idx] = $dist; + } + + $minIndex = array_keys($jarak, min($jarak))[0]; + $clustered[$minIndex][] = $item; + $currentAssignment[$item->id] = $minIndex; + $item->temp_klaster = $minIndex; + } + + if ($currentAssignment === $prevAssignment) break; + $prevAssignment = $currentAssignment; + + foreach ($clustered as $key => $group) { + $avg = collect($group)->avg('jumlah_curanmor'); + $centroids[$key] = ['jumlah_curanmor' => $avg]; + } + } + + // Hitung SSE (Sum of Squared Errors) + $sse = 0; + foreach ($data as $item) { + $centroidVal = $centroids[$item->temp_klaster]['jumlah_curanmor']; + $sse += pow($item->jumlah_curanmor - $centroidVal, 2); + } + + $hasilElbow[] = ['k' => $k, 'sse' => $sse]; + } + + // Simpan hasil Elbow Method ke file + file_put_contents(storage_path('app/public/hasil_elbow_curanmor.json'), json_encode($hasilElbow, JSON_PRETTY_PRINT)); + + // ===================== // + // === Hitung k akhir === // + // ===================== // + + $k = Klaster::count(); // misalnya 3 + $centroids = $data->random($k)->values()->map(function ($item) { + return ['jumlah_curanmor' => $item->jumlah_curanmor]; + }); + + $iterasi = []; + $prevAssignment = []; + + for ($i = 0; $i < $maxIterasi; $i++) { + $clustered = []; + $currentAssignment = []; + + foreach ($data as $item) { + $jarak = []; + + foreach ($centroids as $idx => $centroid) { + $dist = abs($item->jumlah_curanmor - $centroid['jumlah_curanmor']); + $jarak["jarakC" . ($idx + 1)] = $dist; + } + + $iterasi[$i][] = array_merge(['kecamatan_id' => $item->kecamatan_id], $jarak); + + $minIndex = array_keys($jarak, min($jarak))[0]; + $clusterNumber = (int) str_replace("jarakC", "", $minIndex); + + $clustered[$clusterNumber][] = $item; + $item->temp_klaster = $clusterNumber; + $currentAssignment[$item->id] = $clusterNumber; + } + + if ($currentAssignment === $prevAssignment) { + break; + } + + $prevAssignment = $currentAssignment; + + foreach ($clustered as $key => $group) { + $avg = collect($group)->avg('jumlah_curanmor'); + $centroids = $centroids->map(function ($item, $index) use ($key, $avg) { + return $index === ($key - 1) + ? ['jumlah_curanmor' => $avg] + : $item; + }); + } + } + + $finalCentroids = $centroids->map(function ($item, $index) { + return ['index' => $index + 1, 'jumlah_curanmor' => $item['jumlah_curanmor']]; + })->sortBy('jumlah_curanmor')->values(); + + $centroidToKlaster = []; + + foreach ($finalCentroids as $i => $centroid) { + $centroidToKlaster[$centroid['index']] = $i + 1; + } + + foreach ($data as $item) { + Curanmor::where('id', $item->id)->update([ + 'klaster_id' => $centroidToKlaster[$item->temp_klaster], + ]); + } + + session(['hasil_iterasi' => $iterasi]); + return $iterasi; +} + +} diff --git a/app/Http/Controllers/curasKmeansController.php b/app/Http/Controllers/curasKmeansController.php deleted file mode 100644 index 7d54e28..0000000 --- a/app/Http/Controllers/curasKmeansController.php +++ /dev/null @@ -1,94 +0,0 @@ -orderBy('jumlah_curas', 'asc')->get(); - - $k = Klaster::count('id'); - $maxIterasi = 100; - $centroids = $data->random($k)->values()->map(function ($item) { - return [ - 'jumlah_curas' => $item->jumlah_curas, - ]; - }); - - $iterasi = []; - $prevAssignment = []; - - for ($i = 0; $i < $maxIterasi; $i++) { - $clustered = []; - $currentAssignment = []; - - foreach ($data as $item) { - $jarak = []; - - foreach ($centroids as $idx => $centroid) { - $dist = abs($item->jumlah_curas - $centroid['jumlah_curas']); - $jarak["jarakC" . ($idx + 1)] = $dist; - } - - $iterasi[$i][] = array_merge(['kecamatan_id' => $item->kecamatan_id], $jarak); - - $minIndex = array_keys($jarak, min($jarak))[0]; // e.g. "jarakC2" - $clusterNumber = (int) str_replace("jarakC", "", $minIndex); - - $clustered[$clusterNumber][] = $item; - $item->temp_klaster = $clusterNumber; - $currentAssignment[$item->id] = $clusterNumber; - } - - // ✨ Cek konvergensi: jika assignment sekarang == sebelumnya, break - if ($currentAssignment === $prevAssignment) { - break; - } - - $prevAssignment = $currentAssignment; - - - - // Update centroid berdasarkan rata-rata - foreach ($clustered as $key => $group) { - $avg = collect($group)->avg('jumlah_curas'); - $centroids = $centroids->map(function ($item, $index) use ($key, $avg) { - return $index === ($key - 1) - ? ['jumlah_curas' => $avg] - : $item; - }); - } - } - - - // Final mapping centroid ke klaster_id (aman/sedang/rawan) - $finalCentroids = $centroids->map(function ($item, $index) { - return ['index' => $index + 1, 'jumlah_curas' => $item['jumlah_curas']]; - })->sortBy('jumlah_curas')->values(); - - $centroidToKlaster = []; - - foreach ($finalCentroids as $i => $centroid) { - // Klaster ID mulai dari 1 (asumsi klaster di DB bernomor 1, 2, 3, ...) - $centroidToKlaster[$centroid['index']] = $i + 1; - } - - - // Update ke database - foreach ($data as $item) { - Curas::where('id', $item->id)->update([ - 'klaster_id' => $centroidToKlaster[$item->temp_klaster], - ]); - } - - session(['hasil_iterasi' => $iterasi]); - - return response()->json($iterasi); - } - -} diff --git a/app/Services/KMeansService.php b/app/Services/KMeansService.php new file mode 100644 index 0000000..f01be61 --- /dev/null +++ b/app/Services/KMeansService.php @@ -0,0 +1,177 @@ +orderBy('jumlah_curas', 'asc')->get(); + + $k = Klaster::count('id'); + $maxIterasi = 100; + $centroids = $data->random($k)->values()->map(function ($item) { + return [ + 'jumlah_curas' => $item->jumlah_curas, + ]; + }); + + $iterasi = []; + $prevAssignment = []; + + for ($i = 0; $i < $maxIterasi; $i++) { + $clustered = []; + $currentAssignment = []; + + foreach ($data as $item) { + $jarak = []; + + foreach ($centroids as $idx => $centroid) { + $dist = abs($item->jumlah_curas - $centroid['jumlah_curas']); + $jarak["jarakC" . ($idx + 1)] = $dist; + } + + $iterasi[$i][] = array_merge(['kecamatan_id' => $item->kecamatan_id], $jarak); + + $minIndex = array_keys($jarak, min($jarak))[0]; // e.g. "jarakC2" + $clusterNumber = (int) str_replace("jarakC", "", $minIndex); + + $clustered[$clusterNumber][] = $item; + $item->temp_klaster = $clusterNumber; + $currentAssignment[$item->id] = $clusterNumber; + } + + // ✨ Cek konvergensi: jika assignment sekarang == sebelumnya, break + if ($currentAssignment === $prevAssignment) { + break; + } + + $prevAssignment = $currentAssignment; + + + + // Update centroid berdasarkan rata-rata + foreach ($clustered as $key => $group) { + $avg = collect($group)->avg('jumlah_curas'); + $centroids = $centroids->map(function ($item, $index) use ($key, $avg) { + return $index === ($key - 1) + ? ['jumlah_curas' => $avg] + : $item; + }); + } + } + + + // Final mapping centroid ke klaster_id (aman/sedang/rawan) + $finalCentroids = $centroids->map(function ($item, $index) { + return ['index' => $index + 1, 'jumlah_curas' => $item['jumlah_curas']]; + })->sortBy('jumlah_curas')->values(); + + $centroidToKlaster = []; + + foreach ($finalCentroids as $i => $centroid) { + // Klaster ID mulai dari 1 (asumsi klaster di DB bernomor 1, 2, 3, ...) + $centroidToKlaster[$centroid['index']] = $i + 1; + } + + + // Update ke database + foreach ($data as $item) { + Curas::where('id', $item->id)->update([ + 'klaster_id' => $centroidToKlaster[$item->temp_klaster], + ]); + } + + + return $iterasi; + } + + + public function hitungKMeansCuranmor() + { + $data = Curanmor::select('id', 'kecamatan_id', 'klaster_id', 'jumlah_curanmor')->orderBy('jumlah_curanmor', 'asc')->get(); + + $k = Klaster::count('id'); + $maxIterasi = 100; + $centroids = $data->random($k)->values()->map(function ($item) { + return [ + 'jumlah_curanmor' => $item->jumlah_curanmor, + ]; + }); + + $iterasi = []; + $prevAssignment = []; + + for ($i = 0; $i < $maxIterasi; $i++) { + $clustered = []; + $currentAssignment = []; + + foreach ($data as $item) { + $jarak = []; + + foreach ($centroids as $idx => $centroid) { + $dist = abs($item->jumlah_curanmor - $centroid['jumlah_curanmor']); + $jarak["jarakC" . ($idx + 1)] = $dist; + } + + $iterasi[$i][] = array_merge(['kecamatan_id' => $item->kecamatan_id], $jarak); + + $minIndex = array_keys($jarak, min($jarak))[0]; // e.g. "jarakC2" + $clusterNumber = (int) str_replace("jarakC", "", $minIndex); + + $clustered[$clusterNumber][] = $item; + $item->temp_klaster = $clusterNumber; + $currentAssignment[$item->id] = $clusterNumber; + } + + // ✨ Cek konvergensi: jika assignment sekarang == sebelumnya, break + if ($currentAssignment === $prevAssignment) { + break; + } + + $prevAssignment = $currentAssignment; + + + + // Update centroid berdasarkan rata-rata + foreach ($clustered as $key => $group) { + $avg = collect($group)->avg('jumlah_curanmor'); + $centroids = $centroids->map(function ($item, $index) use ($key, $avg) { + return $index === ($key - 1) + ? ['jumlah_curanmor' => $avg] + : $item; + }); + } + } + + + // Final mapping centroid ke klaster_id (aman/sedang/rawan) + $finalCentroids = $centroids->map(function ($item, $index) { + return ['index' => $index + 1, 'jumlah_curanmor' => $item['jumlah_curanmor']]; + })->sortBy('jumlah_curanmor')->values(); + + $centroidToKlaster = []; + + foreach ($finalCentroids as $i => $centroid) { + // Klaster ID mulai dari 1 (asumsi klaster di DB bernomor 1, 2, 3, ...) + $centroidToKlaster[$centroid['index']] = $i + 1; + } + + + // Update ke database + foreach ($data as $item) { + Curanmor::where('id', $item->id)->update([ + 'klaster_id' => $centroidToKlaster[$item->temp_klaster], + ]); + } + + session(['hasil_iterasi' => $iterasi]); + + return $iterasi; + } +} diff --git a/public/assets/assetLanding/css/all.min.css b/public/assets/assetLanding/css/all.min.css new file mode 100644 index 0000000..11b2aa7 --- /dev/null +++ b/public/assets/assetLanding/css/all.min.css @@ -0,0 +1,4298 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ +.fa, +.fab, +.fal, +.far, +.fas { + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + display: inline-block; + font-style: normal; + font-variant: normal; + text-rendering: auto; + line-height: 1; +} +.fa-lg { + font-size: 1.33333em; + line-height: 0.75em; + vertical-align: -0.0667em; +} +.fa-xs { + font-size: 0.75em; +} +.fa-sm { + font-size: 0.875em; +} +.fa-1x { + font-size: 1em; +} +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} +.fa-6x { + font-size: 6em; +} +.fa-7x { + font-size: 7em; +} +.fa-8x { + font-size: 8em; +} +.fa-9x { + font-size: 9em; +} +.fa-10x { + font-size: 10em; +} +.fa-fw { + text-align: center; + width: 1.25em; +} +.fa-ul { + list-style-type: none; + margin-left: 2.5em; + padding-left: 0; +} +.fa-ul > li { + position: relative; +} +.fa-li { + left: -2em; + position: absolute; + text-align: center; + width: 2em; + line-height: inherit; +} +.fa-border { + border: 0.08em solid #eee; + border-radius: 0.1em; + padding: 0.2em 0.25em 0.15em; +} +.fa-pull-left { + float: left; +} +.fa-pull-right { + float: right; +} +.fa.fa-pull-left, +.fab.fa-pull-left, +.fal.fa-pull-left, +.far.fa-pull-left, +.fas.fa-pull-left { + margin-right: 0.3em; +} +.fa.fa-pull-right, +.fab.fa-pull-right, +.fal.fa-pull-right, +.far.fa-pull-right, +.fas.fa-pull-right { + margin-left: 0.3em; +} +.fa-spin { + animation: fa-spin 2s infinite linear; +} +.fa-pulse { + animation: fa-spin 1s infinite steps(8); +} +@keyframes fa-spin { + 0% { + transform: rotate(0deg); + } + to { + transform: rotate(1turn); + } +} +.fa-rotate-90 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; + transform: rotate(90deg); +} +.fa-rotate-180 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; + transform: rotate(180deg); +} +.fa-rotate-270 { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; + transform: rotate(270deg); +} +.fa-flip-horizontal { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1)"; + transform: scaleX(-1); +} +.fa-flip-vertical { + transform: scaleY(-1); +} +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical, +.fa-flip-vertical { + -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1)"; +} +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + transform: scale(-1); +} +:root .fa-flip-both, +:root .fa-flip-horizontal, +:root .fa-flip-vertical, +:root .fa-rotate-90, +:root .fa-rotate-180, +:root .fa-rotate-270 { + filter: none; +} +.fa-stack { + display: inline-block; + height: 2em; + line-height: 2em; + position: relative; + vertical-align: middle; + width: 2.5em; +} +.fa-stack-1x, +.fa-stack-2x { + left: 0; + position: absolute; + text-align: center; + width: 100%; +} +.fa-stack-1x { + line-height: inherit; +} +.fa-stack-2x { + font-size: 2em; +} +.fa-inverse { + color: #fff; +} +.fa-500px:before { + content: "\f26e"; +} +.fa-accessible-icon:before { + content: "\f368"; +} +.fa-accusoft:before { + content: "\f369"; +} +.fa-acquisitions-incorporated:before { + content: "\f6af"; +} +.fa-ad:before { + content: "\f641"; +} +.fa-address-book:before { + content: "\f2b9"; +} +.fa-address-card:before { + content: "\f2bb"; +} +.fa-adjust:before { + content: "\f042"; +} +.fa-adn:before { + content: "\f170"; +} +.fa-adobe:before { + content: "\f778"; +} +.fa-adversal:before { + content: "\f36a"; +} +.fa-affiliatetheme:before { + content: "\f36b"; +} +.fa-air-freshener:before { + content: "\f5d0"; +} +.fa-algolia:before { + content: "\f36c"; +} +.fa-align-center:before { + content: "\f037"; +} +.fa-align-justify:before { + content: "\f039"; +} +.fa-align-left:before { + content: "\f036"; +} +.fa-align-right:before { + content: "\f038"; +} +.fa-alipay:before { + content: "\f642"; +} +.fa-allergies:before { + content: "\f461"; +} +.fa-amazon:before { + content: "\f270"; +} +.fa-amazon-pay:before { + content: "\f42c"; +} +.fa-ambulance:before { + content: "\f0f9"; +} +.fa-american-sign-language-interpreting:before { + content: "\f2a3"; +} +.fa-amilia:before { + content: "\f36d"; +} +.fa-anchor:before { + content: "\f13d"; +} +.fa-android:before { + content: "\f17b"; +} +.fa-angellist:before { + content: "\f209"; +} +.fa-angle-double-down:before { + content: "\f103"; +} +.fa-angle-double-left:before { + content: "\f100"; +} +.fa-angle-double-right:before { + content: "\f101"; +} +.fa-angle-double-up:before { + content: "\f102"; +} +.fa-angle-down:before { + content: "\f107"; +} +.fa-angle-left:before { + content: "\f104"; +} +.fa-angle-right:before { + content: "\f105"; +} +.fa-angle-up:before { + content: "\f106"; +} +.fa-angry:before { + content: "\f556"; +} +.fa-angrycreative:before { + content: "\f36e"; +} +.fa-angular:before { + content: "\f420"; +} +.fa-ankh:before { + content: "\f644"; +} +.fa-app-store:before { + content: "\f36f"; +} +.fa-app-store-ios:before { + content: "\f370"; +} +.fa-apper:before { + content: "\f371"; +} +.fa-apple:before { + content: "\f179"; +} +.fa-apple-alt:before { + content: "\f5d1"; +} +.fa-apple-pay:before { + content: "\f415"; +} +.fa-archive:before { + content: "\f187"; +} +.fa-archway:before { + content: "\f557"; +} +.fa-arrow-alt-circle-down:before { + content: "\f358"; +} +.fa-arrow-alt-circle-left:before { + content: "\f359"; +} +.fa-arrow-alt-circle-right:before { + content: "\f35a"; +} +.fa-arrow-alt-circle-up:before { + content: "\f35b"; +} +.fa-arrow-circle-down:before { + content: "\f0ab"; +} +.fa-arrow-circle-left:before { + content: "\f0a8"; +} +.fa-arrow-circle-right:before { + content: "\f0a9"; +} +.fa-arrow-circle-up:before { + content: "\f0aa"; +} +.fa-arrow-down:before { + content: "\f063"; +} +.fa-arrow-left:before { + content: "\f060"; +} +.fa-arrow-right:before { + content: "\f061"; +} +.fa-arrow-up:before { + content: "\f062"; +} +.fa-arrows-alt:before { + content: "\f0b2"; +} +.fa-arrows-alt-h:before { + content: "\f337"; +} +.fa-arrows-alt-v:before { + content: "\f338"; +} +.fa-artstation:before { + content: "\f77a"; +} +.fa-assistive-listening-systems:before { + content: "\f2a2"; +} +.fa-asterisk:before { + content: "\f069"; +} +.fa-asymmetrik:before { + content: "\f372"; +} +.fa-at:before { + content: "\f1fa"; +} +.fa-atlas:before { + content: "\f558"; +} +.fa-atlassian:before { + content: "\f77b"; +} +.fa-atom:before { + content: "\f5d2"; +} +.fa-audible:before { + content: "\f373"; +} +.fa-audio-description:before { + content: "\f29e"; +} +.fa-autoprefixer:before { + content: "\f41c"; +} +.fa-avianex:before { + content: "\f374"; +} +.fa-aviato:before { + content: "\f421"; +} +.fa-award:before { + content: "\f559"; +} +.fa-aws:before { + content: "\f375"; +} +.fa-baby:before { + content: "\f77c"; +} +.fa-baby-carriage:before { + content: "\f77d"; +} +.fa-backspace:before { + content: "\f55a"; +} +.fa-backward:before { + content: "\f04a"; +} +.fa-bacon:before { + content: "\f7e5"; +} +.fa-balance-scale:before { + content: "\f24e"; +} +.fa-ban:before { + content: "\f05e"; +} +.fa-band-aid:before { + content: "\f462"; +} +.fa-bandcamp:before { + content: "\f2d5"; +} +.fa-barcode:before { + content: "\f02a"; +} +.fa-bars:before { + content: "\f0c9"; +} +.fa-baseball-ball:before { + content: "\f433"; +} +.fa-basketball-ball:before { + content: "\f434"; +} +.fa-bath:before { + content: "\f2cd"; +} +.fa-battery-empty:before { + content: "\f244"; +} +.fa-battery-full:before { + content: "\f240"; +} +.fa-battery-half:before { + content: "\f242"; +} +.fa-battery-quarter:before { + content: "\f243"; +} +.fa-battery-three-quarters:before { + content: "\f241"; +} +.fa-bed:before { + content: "\f236"; +} +.fa-beer:before { + content: "\f0fc"; +} +.fa-behance:before { + content: "\f1b4"; +} +.fa-behance-square:before { + content: "\f1b5"; +} +.fa-bell:before { + content: "\f0f3"; +} +.fa-bell-slash:before { + content: "\f1f6"; +} +.fa-bezier-curve:before { + content: "\f55b"; +} +.fa-bible:before { + content: "\f647"; +} +.fa-bicycle:before { + content: "\f206"; +} +.fa-bimobject:before { + content: "\f378"; +} +.fa-binoculars:before { + content: "\f1e5"; +} +.fa-biohazard:before { + content: "\f780"; +} +.fa-birthday-cake:before { + content: "\f1fd"; +} +.fa-bitbucket:before { + content: "\f171"; +} +.fa-bitcoin:before { + content: "\f379"; +} +.fa-bity:before { + content: "\f37a"; +} +.fa-black-tie:before { + content: "\f27e"; +} +.fa-blackberry:before { + content: "\f37b"; +} +.fa-blender:before { + content: "\f517"; +} +.fa-blender-phone:before { + content: "\f6b6"; +} +.fa-blind:before { + content: "\f29d"; +} +.fa-blog:before { + content: "\f781"; +} +.fa-blogger:before { + content: "\f37c"; +} +.fa-blogger-b:before { + content: "\f37d"; +} +.fa-bluetooth:before { + content: "\f293"; +} +.fa-bluetooth-b:before { + content: "\f294"; +} +.fa-bold:before { + content: "\f032"; +} +.fa-bolt:before { + content: "\f0e7"; +} +.fa-bomb:before { + content: "\f1e2"; +} +.fa-bone:before { + content: "\f5d7"; +} +.fa-bong:before { + content: "\f55c"; +} +.fa-book:before { + content: "\f02d"; +} +.fa-book-dead:before { + content: "\f6b7"; +} +.fa-book-medical:before { + content: "\f7e6"; +} +.fa-book-open:before { + content: "\f518"; +} +.fa-book-reader:before { + content: "\f5da"; +} +.fa-bookmark:before { + content: "\f02e"; +} +.fa-bowling-ball:before { + content: "\f436"; +} +.fa-box:before { + content: "\f466"; +} +.fa-box-open:before { + content: "\f49e"; +} +.fa-boxes:before { + content: "\f468"; +} +.fa-braille:before { + content: "\f2a1"; +} +.fa-brain:before { + content: "\f5dc"; +} +.fa-bread-slice:before { + content: "\f7ec"; +} +.fa-briefcase:before { + content: "\f0b1"; +} +.fa-briefcase-medical:before { + content: "\f469"; +} +.fa-broadcast-tower:before { + content: "\f519"; +} +.fa-broom:before { + content: "\f51a"; +} +.fa-brush:before { + content: "\f55d"; +} +.fa-btc:before { + content: "\f15a"; +} +.fa-bug:before { + content: "\f188"; +} +.fa-building:before { + content: "\f1ad"; +} +.fa-bullhorn:before { + content: "\f0a1"; +} +.fa-bullseye:before { + content: "\f140"; +} +.fa-burn:before { + content: "\f46a"; +} +.fa-buromobelexperte:before { + content: "\f37f"; +} +.fa-bus:before { + content: "\f207"; +} +.fa-bus-alt:before { + content: "\f55e"; +} +.fa-business-time:before { + content: "\f64a"; +} +.fa-buysellads:before { + content: "\f20d"; +} +.fa-calculator:before { + content: "\f1ec"; +} +.fa-calendar:before { + content: "\f133"; +} +.fa-calendar-alt:before { + content: "\f073"; +} +.fa-calendar-check:before { + content: "\f274"; +} +.fa-calendar-day:before { + content: "\f783"; +} +.fa-calendar-minus:before { + content: "\f272"; +} +.fa-calendar-plus:before { + content: "\f271"; +} +.fa-calendar-times:before { + content: "\f273"; +} +.fa-calendar-week:before { + content: "\f784"; +} +.fa-camera:before { + content: "\f030"; +} +.fa-camera-retro:before { + content: "\f083"; +} +.fa-campground:before { + content: "\f6bb"; +} +.fa-canadian-maple-leaf:before { + content: "\f785"; +} +.fa-candy-cane:before { + content: "\f786"; +} +.fa-cannabis:before { + content: "\f55f"; +} +.fa-capsules:before { + content: "\f46b"; +} +.fa-car:before { + content: "\f1b9"; +} +.fa-car-alt:before { + content: "\f5de"; +} +.fa-car-battery:before { + content: "\f5df"; +} +.fa-car-crash:before { + content: "\f5e1"; +} +.fa-car-side:before { + content: "\f5e4"; +} +.fa-caret-down:before { + content: "\f0d7"; +} +.fa-caret-left:before { + content: "\f0d9"; +} +.fa-caret-right:before { + content: "\f0da"; +} +.fa-caret-square-down:before { + content: "\f150"; +} +.fa-caret-square-left:before { + content: "\f191"; +} +.fa-caret-square-right:before { + content: "\f152"; +} +.fa-caret-square-up:before { + content: "\f151"; +} +.fa-caret-up:before { + content: "\f0d8"; +} +.fa-carrot:before { + content: "\f787"; +} +.fa-cart-arrow-down:before { + content: "\f218"; +} +.fa-cart-plus:before { + content: "\f217"; +} +.fa-cash-register:before { + content: "\f788"; +} +.fa-cat:before { + content: "\f6be"; +} +.fa-cc-amazon-pay:before { + content: "\f42d"; +} +.fa-cc-amex:before { + content: "\f1f3"; +} +.fa-cc-apple-pay:before { + content: "\f416"; +} +.fa-cc-diners-club:before { + content: "\f24c"; +} +.fa-cc-discover:before { + content: "\f1f2"; +} +.fa-cc-jcb:before { + content: "\f24b"; +} +.fa-cc-mastercard:before { + content: "\f1f1"; +} +.fa-cc-paypal:before { + content: "\f1f4"; +} +.fa-cc-stripe:before { + content: "\f1f5"; +} +.fa-cc-visa:before { + content: "\f1f0"; +} +.fa-centercode:before { + content: "\f380"; +} +.fa-centos:before { + content: "\f789"; +} +.fa-certificate:before { + content: "\f0a3"; +} +.fa-chair:before { + content: "\f6c0"; +} +.fa-chalkboard:before { + content: "\f51b"; +} +.fa-chalkboard-teacher:before { + content: "\f51c"; +} +.fa-charging-station:before { + content: "\f5e7"; +} +.fa-chart-area:before { + content: "\f1fe"; +} +.fa-chart-bar:before { + content: "\f080"; +} +.fa-chart-line:before { + content: "\f201"; +} +.fa-chart-pie:before { + content: "\f200"; +} +.fa-check:before { + content: "\f00c"; +} +.fa-check-circle:before { + content: "\f058"; +} +.fa-check-double:before { + content: "\f560"; +} +.fa-check-square:before { + content: "\f14a"; +} +.fa-cheese:before { + content: "\f7ef"; +} +.fa-chess:before { + content: "\f439"; +} +.fa-chess-bishop:before { + content: "\f43a"; +} +.fa-chess-board:before { + content: "\f43c"; +} +.fa-chess-king:before { + content: "\f43f"; +} +.fa-chess-knight:before { + content: "\f441"; +} +.fa-chess-pawn:before { + content: "\f443"; +} +.fa-chess-queen:before { + content: "\f445"; +} +.fa-chess-rook:before { + content: "\f447"; +} +.fa-chevron-circle-down:before { + content: "\f13a"; +} +.fa-chevron-circle-left:before { + content: "\f137"; +} +.fa-chevron-circle-right:before { + content: "\f138"; +} +.fa-chevron-circle-up:before { + content: "\f139"; +} +.fa-chevron-down:before { + content: "\f078"; +} +.fa-chevron-left:before { + content: "\f053"; +} +.fa-chevron-right:before { + content: "\f054"; +} +.fa-chevron-up:before { + content: "\f077"; +} +.fa-child:before { + content: "\f1ae"; +} +.fa-chrome:before { + content: "\f268"; +} +.fa-church:before { + content: "\f51d"; +} +.fa-circle:before { + content: "\f111"; +} +.fa-circle-notch:before { + content: "\f1ce"; +} +.fa-city:before { + content: "\f64f"; +} +.fa-clinic-medical:before { + content: "\f7f2"; +} +.fa-clipboard:before { + content: "\f328"; +} +.fa-clipboard-check:before { + content: "\f46c"; +} +.fa-clipboard-list:before { + content: "\f46d"; +} +.fa-clock:before { + content: "\f017"; +} +.fa-clone:before { + content: "\f24d"; +} +.fa-closed-captioning:before { + content: "\f20a"; +} +.fa-cloud:before { + content: "\f0c2"; +} +.fa-cloud-download-alt:before { + content: "\f381"; +} +.fa-cloud-meatball:before { + content: "\f73b"; +} +.fa-cloud-moon:before { + content: "\f6c3"; +} +.fa-cloud-moon-rain:before { + content: "\f73c"; +} +.fa-cloud-rain:before { + content: "\f73d"; +} +.fa-cloud-showers-heavy:before { + content: "\f740"; +} +.fa-cloud-sun:before { + content: "\f6c4"; +} +.fa-cloud-sun-rain:before { + content: "\f743"; +} +.fa-cloud-upload-alt:before { + content: "\f382"; +} +.fa-cloudscale:before { + content: "\f383"; +} +.fa-cloudsmith:before { + content: "\f384"; +} +.fa-cloudversify:before { + content: "\f385"; +} +.fa-cocktail:before { + content: "\f561"; +} +.fa-code:before { + content: "\f121"; +} +.fa-code-branch:before { + content: "\f126"; +} +.fa-codepen:before { + content: "\f1cb"; +} +.fa-codiepie:before { + content: "\f284"; +} +.fa-coffee:before { + content: "\f0f4"; +} +.fa-cog:before { + content: "\f013"; +} +.fa-cogs:before { + content: "\f085"; +} +.fa-coins:before { + content: "\f51e"; +} +.fa-columns:before { + content: "\f0db"; +} +.fa-comment:before { + content: "\f075"; +} +.fa-comment-alt:before { + content: "\f27a"; +} +.fa-comment-dollar:before { + content: "\f651"; +} +.fa-comment-dots:before { + content: "\f4ad"; +} +.fa-comment-medical:before { + content: "\f7f5"; +} +.fa-comment-slash:before { + content: "\f4b3"; +} +.fa-comments:before { + content: "\f086"; +} +.fa-comments-dollar:before { + content: "\f653"; +} +.fa-compact-disc:before { + content: "\f51f"; +} +.fa-compass:before { + content: "\f14e"; +} +.fa-compress:before { + content: "\f066"; +} +.fa-compress-arrows-alt:before { + content: "\f78c"; +} +.fa-concierge-bell:before { + content: "\f562"; +} +.fa-confluence:before { + content: "\f78d"; +} +.fa-connectdevelop:before { + content: "\f20e"; +} +.fa-contao:before { + content: "\f26d"; +} +.fa-cookie:before { + content: "\f563"; +} +.fa-cookie-bite:before { + content: "\f564"; +} +.fa-copy:before { + content: "\f0c5"; +} +.fa-copyright:before { + content: "\f1f9"; +} +.fa-couch:before { + content: "\f4b8"; +} +.fa-cpanel:before { + content: "\f388"; +} +.fa-creative-commons:before { + content: "\f25e"; +} +.fa-creative-commons-by:before { + content: "\f4e7"; +} +.fa-creative-commons-nc:before { + content: "\f4e8"; +} +.fa-creative-commons-nc-eu:before { + content: "\f4e9"; +} +.fa-creative-commons-nc-jp:before { + content: "\f4ea"; +} +.fa-creative-commons-nd:before { + content: "\f4eb"; +} +.fa-creative-commons-pd:before { + content: "\f4ec"; +} +.fa-creative-commons-pd-alt:before { + content: "\f4ed"; +} +.fa-creative-commons-remix:before { + content: "\f4ee"; +} +.fa-creative-commons-sa:before { + content: "\f4ef"; +} +.fa-creative-commons-sampling:before { + content: "\f4f0"; +} +.fa-creative-commons-sampling-plus:before { + content: "\f4f1"; +} +.fa-creative-commons-share:before { + content: "\f4f2"; +} +.fa-creative-commons-zero:before { + content: "\f4f3"; +} +.fa-credit-card:before { + content: "\f09d"; +} +.fa-critical-role:before { + content: "\f6c9"; +} +.fa-crop:before { + content: "\f125"; +} +.fa-crop-alt:before { + content: "\f565"; +} +.fa-cross:before { + content: "\f654"; +} +.fa-crosshairs:before { + content: "\f05b"; +} +.fa-crow:before { + content: "\f520"; +} +.fa-crown:before { + content: "\f521"; +} +.fa-crutch:before { + content: "\f7f7"; +} +.fa-css3:before { + content: "\f13c"; +} +.fa-css3-alt:before { + content: "\f38b"; +} +.fa-cube:before { + content: "\f1b2"; +} +.fa-cubes:before { + content: "\f1b3"; +} +.fa-cut:before { + content: "\f0c4"; +} +.fa-cuttlefish:before { + content: "\f38c"; +} +.fa-d-and-d:before { + content: "\f38d"; +} +.fa-d-and-d-beyond:before { + content: "\f6ca"; +} +.fa-dashcube:before { + content: "\f210"; +} +.fa-database:before { + content: "\f1c0"; +} +.fa-deaf:before { + content: "\f2a4"; +} +.fa-delicious:before { + content: "\f1a5"; +} +.fa-democrat:before { + content: "\f747"; +} +.fa-deploydog:before { + content: "\f38e"; +} +.fa-deskpro:before { + content: "\f38f"; +} +.fa-desktop:before { + content: "\f108"; +} +.fa-dev:before { + content: "\f6cc"; +} +.fa-deviantart:before { + content: "\f1bd"; +} +.fa-dharmachakra:before { + content: "\f655"; +} +.fa-dhl:before { + content: "\f790"; +} +.fa-diagnoses:before { + content: "\f470"; +} +.fa-diaspora:before { + content: "\f791"; +} +.fa-dice:before { + content: "\f522"; +} +.fa-dice-d20:before { + content: "\f6cf"; +} +.fa-dice-d6:before { + content: "\f6d1"; +} +.fa-dice-five:before { + content: "\f523"; +} +.fa-dice-four:before { + content: "\f524"; +} +.fa-dice-one:before { + content: "\f525"; +} +.fa-dice-six:before { + content: "\f526"; +} +.fa-dice-three:before { + content: "\f527"; +} +.fa-dice-two:before { + content: "\f528"; +} +.fa-digg:before { + content: "\f1a6"; +} +.fa-digital-ocean:before { + content: "\f391"; +} +.fa-digital-tachograph:before { + content: "\f566"; +} +.fa-directions:before { + content: "\f5eb"; +} +.fa-discord:before { + content: "\f392"; +} +.fa-discourse:before { + content: "\f393"; +} +.fa-divide:before { + content: "\f529"; +} +.fa-dizzy:before { + content: "\f567"; +} +.fa-dna:before { + content: "\f471"; +} +.fa-dochub:before { + content: "\f394"; +} +.fa-docker:before { + content: "\f395"; +} +.fa-dog:before { + content: "\f6d3"; +} +.fa-dollar-sign:before { + content: "\f155"; +} +.fa-dolly:before { + content: "\f472"; +} +.fa-dolly-flatbed:before { + content: "\f474"; +} +.fa-donate:before { + content: "\f4b9"; +} +.fa-door-closed:before { + content: "\f52a"; +} +.fa-door-open:before { + content: "\f52b"; +} +.fa-dot-circle:before { + content: "\f192"; +} +.fa-dove:before { + content: "\f4ba"; +} +.fa-download:before { + content: "\f019"; +} +.fa-draft2digital:before { + content: "\f396"; +} +.fa-drafting-compass:before { + content: "\f568"; +} +.fa-dragon:before { + content: "\f6d5"; +} +.fa-draw-polygon:before { + content: "\f5ee"; +} +.fa-dribbble:before { + content: "\f17d"; +} +.fa-dribbble-square:before { + content: "\f397"; +} +.fa-dropbox:before { + content: "\f16b"; +} +.fa-drum:before { + content: "\f569"; +} +.fa-drum-steelpan:before { + content: "\f56a"; +} +.fa-drumstick-bite:before { + content: "\f6d7"; +} +.fa-drupal:before { + content: "\f1a9"; +} +.fa-dumbbell:before { + content: "\f44b"; +} +.fa-dumpster:before { + content: "\f793"; +} +.fa-dumpster-fire:before { + content: "\f794"; +} +.fa-dungeon:before { + content: "\f6d9"; +} +.fa-dyalog:before { + content: "\f399"; +} +.fa-earlybirds:before { + content: "\f39a"; +} +.fa-ebay:before { + content: "\f4f4"; +} +.fa-edge:before { + content: "\f282"; +} +.fa-edit:before { + content: "\f044"; +} +.fa-egg:before { + content: "\f7fb"; +} +.fa-eject:before { + content: "\f052"; +} +.fa-elementor:before { + content: "\f430"; +} +.fa-ellipsis-h:before { + content: "\f141"; +} +.fa-ellipsis-v:before { + content: "\f142"; +} +.fa-ello:before { + content: "\f5f1"; +} +.fa-ember:before { + content: "\f423"; +} +.fa-empire:before { + content: "\f1d1"; +} +.fa-envelope:before { + content: "\f0e0"; +} +.fa-envelope-open:before { + content: "\f2b6"; +} +.fa-envelope-open-text:before { + content: "\f658"; +} +.fa-envelope-square:before { + content: "\f199"; +} +.fa-envira:before { + content: "\f299"; +} +.fa-equals:before { + content: "\f52c"; +} +.fa-eraser:before { + content: "\f12d"; +} +.fa-erlang:before { + content: "\f39d"; +} +.fa-ethereum:before { + content: "\f42e"; +} +.fa-ethernet:before { + content: "\f796"; +} +.fa-etsy:before { + content: "\f2d7"; +} +.fa-euro-sign:before { + content: "\f153"; +} +.fa-exchange-alt:before { + content: "\f362"; +} +.fa-exclamation:before { + content: "\f12a"; +} +.fa-exclamation-circle:before { + content: "\f06a"; +} +.fa-exclamation-triangle:before { + content: "\f071"; +} +.fa-expand:before { + content: "\f065"; +} +.fa-expand-arrows-alt:before { + content: "\f31e"; +} +.fa-expeditedssl:before { + content: "\f23e"; +} +.fa-external-link-alt:before { + content: "\f35d"; +} +.fa-external-link-square-alt:before { + content: "\f360"; +} +.fa-eye:before { + content: "\f06e"; +} +.fa-eye-dropper:before { + content: "\f1fb"; +} +.fa-eye-slash:before { + content: "\f070"; +} +.fa-facebook:before { + content: "\f09a"; +} +.fa-facebook-f:before { + content: "\f39e"; +} +.fa-facebook-messenger:before { + content: "\f39f"; +} +.fa-facebook-square:before { + content: "\f082"; +} +.fa-fantasy-flight-games:before { + content: "\f6dc"; +} +.fa-fast-backward:before { + content: "\f049"; +} +.fa-fast-forward:before { + content: "\f050"; +} +.fa-fax:before { + content: "\f1ac"; +} +.fa-feather:before { + content: "\f52d"; +} +.fa-feather-alt:before { + content: "\f56b"; +} +.fa-fedex:before { + content: "\f797"; +} +.fa-fedora:before { + content: "\f798"; +} +.fa-female:before { + content: "\f182"; +} +.fa-fighter-jet:before { + content: "\f0fb"; +} +.fa-figma:before { + content: "\f799"; +} +.fa-file:before { + content: "\f15b"; +} +.fa-file-alt:before { + content: "\f15c"; +} +.fa-file-archive:before { + content: "\f1c6"; +} +.fa-file-audio:before { + content: "\f1c7"; +} +.fa-file-code:before { + content: "\f1c9"; +} +.fa-file-contract:before { + content: "\f56c"; +} +.fa-file-csv:before { + content: "\f6dd"; +} +.fa-file-download:before { + content: "\f56d"; +} +.fa-file-excel:before { + content: "\f1c3"; +} +.fa-file-export:before { + content: "\f56e"; +} +.fa-file-image:before { + content: "\f1c5"; +} +.fa-file-import:before { + content: "\f56f"; +} +.fa-file-invoice:before { + content: "\f570"; +} +.fa-file-invoice-dollar:before { + content: "\f571"; +} +.fa-file-medical:before { + content: "\f477"; +} +.fa-file-medical-alt:before { + content: "\f478"; +} +.fa-file-pdf:before { + content: "\f1c1"; +} +.fa-file-powerpoint:before { + content: "\f1c4"; +} +.fa-file-prescription:before { + content: "\f572"; +} +.fa-file-signature:before { + content: "\f573"; +} +.fa-file-upload:before { + content: "\f574"; +} +.fa-file-video:before { + content: "\f1c8"; +} +.fa-file-word:before { + content: "\f1c2"; +} +.fa-fill:before { + content: "\f575"; +} +.fa-fill-drip:before { + content: "\f576"; +} +.fa-film:before { + content: "\f008"; +} +.fa-filter:before { + content: "\f0b0"; +} +.fa-fingerprint:before { + content: "\f577"; +} +.fa-fire:before { + content: "\f06d"; +} +.fa-fire-alt:before { + content: "\f7e4"; +} +.fa-fire-extinguisher:before { + content: "\f134"; +} +.fa-firefox:before { + content: "\f269"; +} +.fa-first-aid:before { + content: "\f479"; +} +.fa-first-order:before { + content: "\f2b0"; +} +.fa-first-order-alt:before { + content: "\f50a"; +} +.fa-firstdraft:before { + content: "\f3a1"; +} +.fa-fish:before { + content: "\f578"; +} +.fa-fist-raised:before { + content: "\f6de"; +} +.fa-flag:before { + content: "\f024"; +} +.fa-flag-checkered:before { + content: "\f11e"; +} +.fa-flag-usa:before { + content: "\f74d"; +} +.fa-flask:before { + content: "\f0c3"; +} +.fa-flickr:before { + content: "\f16e"; +} +.fa-flipboard:before { + content: "\f44d"; +} +.fa-flushed:before { + content: "\f579"; +} +.fa-fly:before { + content: "\f417"; +} +.fa-folder:before { + content: "\f07b"; +} +.fa-folder-minus:before { + content: "\f65d"; +} +.fa-folder-open:before { + content: "\f07c"; +} +.fa-folder-plus:before { + content: "\f65e"; +} +.fa-font:before { + content: "\f031"; +} +.fa-font-awesome:before { + content: "\f2b4"; +} +.fa-font-awesome-alt:before { + content: "\f35c"; +} +.fa-font-awesome-flag:before { + content: "\f425"; +} +.fa-font-awesome-logo-full:before { + content: "\f4e6"; +} +.fa-fonticons:before { + content: "\f280"; +} +.fa-fonticons-fi:before { + content: "\f3a2"; +} +.fa-football-ball:before { + content: "\f44e"; +} +.fa-fort-awesome:before { + content: "\f286"; +} +.fa-fort-awesome-alt:before { + content: "\f3a3"; +} +.fa-forumbee:before { + content: "\f211"; +} +.fa-forward:before { + content: "\f04e"; +} +.fa-foursquare:before { + content: "\f180"; +} +.fa-free-code-camp:before { + content: "\f2c5"; +} +.fa-freebsd:before { + content: "\f3a4"; +} +.fa-frog:before { + content: "\f52e"; +} +.fa-frown:before { + content: "\f119"; +} +.fa-frown-open:before { + content: "\f57a"; +} +.fa-fulcrum:before { + content: "\f50b"; +} +.fa-funnel-dollar:before { + content: "\f662"; +} +.fa-futbol:before { + content: "\f1e3"; +} +.fa-galactic-republic:before { + content: "\f50c"; +} +.fa-galactic-senate:before { + content: "\f50d"; +} +.fa-gamepad:before { + content: "\f11b"; +} +.fa-gas-pump:before { + content: "\f52f"; +} +.fa-gavel:before { + content: "\f0e3"; +} +.fa-gem:before { + content: "\f3a5"; +} +.fa-genderless:before { + content: "\f22d"; +} +.fa-get-pocket:before { + content: "\f265"; +} +.fa-gg:before { + content: "\f260"; +} +.fa-gg-circle:before { + content: "\f261"; +} +.fa-ghost:before { + content: "\f6e2"; +} +.fa-gift:before { + content: "\f06b"; +} +.fa-gifts:before { + content: "\f79c"; +} +.fa-git:before { + content: "\f1d3"; +} +.fa-git-square:before { + content: "\f1d2"; +} +.fa-github:before { + content: "\f09b"; +} +.fa-github-alt:before { + content: "\f113"; +} +.fa-github-square:before { + content: "\f092"; +} +.fa-gitkraken:before { + content: "\f3a6"; +} +.fa-gitlab:before { + content: "\f296"; +} +.fa-gitter:before { + content: "\f426"; +} +.fa-glass-cheers:before { + content: "\f79f"; +} +.fa-glass-martini:before { + content: "\f000"; +} +.fa-glass-martini-alt:before { + content: "\f57b"; +} +.fa-glass-whiskey:before { + content: "\f7a0"; +} +.fa-glasses:before { + content: "\f530"; +} +.fa-glide:before { + content: "\f2a5"; +} +.fa-glide-g:before { + content: "\f2a6"; +} +.fa-globe:before { + content: "\f0ac"; +} +.fa-globe-africa:before { + content: "\f57c"; +} +.fa-globe-americas:before { + content: "\f57d"; +} +.fa-globe-asia:before { + content: "\f57e"; +} +.fa-globe-europe:before { + content: "\f7a2"; +} +.fa-gofore:before { + content: "\f3a7"; +} +.fa-golf-ball:before { + content: "\f450"; +} +.fa-goodreads:before { + content: "\f3a8"; +} +.fa-goodreads-g:before { + content: "\f3a9"; +} +.fa-google:before { + content: "\f1a0"; +} +.fa-google-drive:before { + content: "\f3aa"; +} +.fa-google-play:before { + content: "\f3ab"; +} +.fa-google-plus:before { + content: "\f2b3"; +} +.fa-google-plus-g:before { + content: "\f0d5"; +} +.fa-google-plus-square:before { + content: "\f0d4"; +} +.fa-google-wallet:before { + content: "\f1ee"; +} +.fa-gopuram:before { + content: "\f664"; +} +.fa-graduation-cap:before { + content: "\f19d"; +} +.fa-gratipay:before { + content: "\f184"; +} +.fa-grav:before { + content: "\f2d6"; +} +.fa-greater-than:before { + content: "\f531"; +} +.fa-greater-than-equal:before { + content: "\f532"; +} +.fa-grimace:before { + content: "\f57f"; +} +.fa-grin:before { + content: "\f580"; +} +.fa-grin-alt:before { + content: "\f581"; +} +.fa-grin-beam:before { + content: "\f582"; +} +.fa-grin-beam-sweat:before { + content: "\f583"; +} +.fa-grin-hearts:before { + content: "\f584"; +} +.fa-grin-squint:before { + content: "\f585"; +} +.fa-grin-squint-tears:before { + content: "\f586"; +} +.fa-grin-stars:before { + content: "\f587"; +} +.fa-grin-tears:before { + content: "\f588"; +} +.fa-grin-tongue:before { + content: "\f589"; +} +.fa-grin-tongue-squint:before { + content: "\f58a"; +} +.fa-grin-tongue-wink:before { + content: "\f58b"; +} +.fa-grin-wink:before { + content: "\f58c"; +} +.fa-grip-horizontal:before { + content: "\f58d"; +} +.fa-grip-lines:before { + content: "\f7a4"; +} +.fa-grip-lines-vertical:before { + content: "\f7a5"; +} +.fa-grip-vertical:before { + content: "\f58e"; +} +.fa-gripfire:before { + content: "\f3ac"; +} +.fa-grunt:before { + content: "\f3ad"; +} +.fa-guitar:before { + content: "\f7a6"; +} +.fa-gulp:before { + content: "\f3ae"; +} +.fa-h-square:before { + content: "\f0fd"; +} +.fa-hacker-news:before { + content: "\f1d4"; +} +.fa-hacker-news-square:before { + content: "\f3af"; +} +.fa-hackerrank:before { + content: "\f5f7"; +} +.fa-hamburger:before { + content: "\f805"; +} +.fa-hammer:before { + content: "\f6e3"; +} +.fa-hamsa:before { + content: "\f665"; +} +.fa-hand-holding:before { + content: "\f4bd"; +} +.fa-hand-holding-heart:before { + content: "\f4be"; +} +.fa-hand-holding-usd:before { + content: "\f4c0"; +} +.fa-hand-lizard:before { + content: "\f258"; +} +.fa-hand-middle-finger:before { + content: "\f806"; +} +.fa-hand-paper:before { + content: "\f256"; +} +.fa-hand-peace:before { + content: "\f25b"; +} +.fa-hand-point-down:before { + content: "\f0a7"; +} +.fa-hand-point-left:before { + content: "\f0a5"; +} +.fa-hand-point-right:before { + content: "\f0a4"; +} +.fa-hand-point-up:before { + content: "\f0a6"; +} +.fa-hand-pointer:before { + content: "\f25a"; +} +.fa-hand-rock:before { + content: "\f255"; +} +.fa-hand-scissors:before { + content: "\f257"; +} +.fa-hand-spock:before { + content: "\f259"; +} +.fa-hands:before { + content: "\f4c2"; +} +.fa-hands-helping:before { + content: "\f4c4"; +} +.fa-handshake:before { + content: "\f2b5"; +} +.fa-hanukiah:before { + content: "\f6e6"; +} +.fa-hard-hat:before { + content: "\f807"; +} +.fa-hashtag:before { + content: "\f292"; +} +.fa-hat-wizard:before { + content: "\f6e8"; +} +.fa-haykal:before { + content: "\f666"; +} +.fa-hdd:before { + content: "\f0a0"; +} +.fa-heading:before { + content: "\f1dc"; +} +.fa-headphones:before { + content: "\f025"; +} +.fa-headphones-alt:before { + content: "\f58f"; +} +.fa-headset:before { + content: "\f590"; +} +.fa-heart:before { + content: "\f004"; +} +.fa-heart-broken:before { + content: "\f7a9"; +} +.fa-heartbeat:before { + content: "\f21e"; +} +.fa-helicopter:before { + content: "\f533"; +} +.fa-highlighter:before { + content: "\f591"; +} +.fa-hiking:before { + content: "\f6ec"; +} +.fa-hippo:before { + content: "\f6ed"; +} +.fa-hips:before { + content: "\f452"; +} +.fa-hire-a-helper:before { + content: "\f3b0"; +} +.fa-history:before { + content: "\f1da"; +} +.fa-hockey-puck:before { + content: "\f453"; +} +.fa-holly-berry:before { + content: "\f7aa"; +} +.fa-home:before { + content: "\f015"; +} +.fa-hooli:before { + content: "\f427"; +} +.fa-hornbill:before { + content: "\f592"; +} +.fa-horse:before { + content: "\f6f0"; +} +.fa-horse-head:before { + content: "\f7ab"; +} +.fa-hospital:before { + content: "\f0f8"; +} +.fa-hospital-alt:before { + content: "\f47d"; +} +.fa-hospital-symbol:before { + content: "\f47e"; +} +.fa-hot-tub:before { + content: "\f593"; +} +.fa-hotdog:before { + content: "\f80f"; +} +.fa-hotel:before { + content: "\f594"; +} +.fa-hotjar:before { + content: "\f3b1"; +} +.fa-hourglass:before { + content: "\f254"; +} +.fa-hourglass-end:before { + content: "\f253"; +} +.fa-hourglass-half:before { + content: "\f252"; +} +.fa-hourglass-start:before { + content: "\f251"; +} +.fa-house-damage:before { + content: "\f6f1"; +} +.fa-houzz:before { + content: "\f27c"; +} +.fa-hryvnia:before { + content: "\f6f2"; +} +.fa-html5:before { + content: "\f13b"; +} +.fa-hubspot:before { + content: "\f3b2"; +} +.fa-i-cursor:before { + content: "\f246"; +} +.fa-ice-cream:before { + content: "\f810"; +} +.fa-icicles:before { + content: "\f7ad"; +} +.fa-id-badge:before { + content: "\f2c1"; +} +.fa-id-card:before { + content: "\f2c2"; +} +.fa-id-card-alt:before { + content: "\f47f"; +} +.fa-igloo:before { + content: "\f7ae"; +} +.fa-image:before { + content: "\f03e"; +} +.fa-images:before { + content: "\f302"; +} +.fa-imdb:before { + content: "\f2d8"; +} +.fa-inbox:before { + content: "\f01c"; +} +.fa-indent:before { + content: "\f03c"; +} +.fa-industry:before { + content: "\f275"; +} +.fa-infinity:before { + content: "\f534"; +} +.fa-info:before { + content: "\f129"; +} +.fa-info-circle:before { + content: "\f05a"; +} +.fa-instagram:before { + content: "\f16d"; +} +.fa-intercom:before { + content: "\f7af"; +} +.fa-internet-explorer:before { + content: "\f26b"; +} +.fa-invision:before { + content: "\f7b0"; +} +.fa-ioxhost:before { + content: "\f208"; +} +.fa-italic:before { + content: "\f033"; +} +.fa-itunes:before { + content: "\f3b4"; +} +.fa-itunes-note:before { + content: "\f3b5"; +} +.fa-java:before { + content: "\f4e4"; +} +.fa-jedi:before { + content: "\f669"; +} +.fa-jedi-order:before { + content: "\f50e"; +} +.fa-jenkins:before { + content: "\f3b6"; +} +.fa-jira:before { + content: "\f7b1"; +} +.fa-joget:before { + content: "\f3b7"; +} +.fa-joint:before { + content: "\f595"; +} +.fa-joomla:before { + content: "\f1aa"; +} +.fa-journal-whills:before { + content: "\f66a"; +} +.fa-js:before { + content: "\f3b8"; +} +.fa-js-square:before { + content: "\f3b9"; +} +.fa-jsfiddle:before { + content: "\f1cc"; +} +.fa-kaaba:before { + content: "\f66b"; +} +.fa-kaggle:before { + content: "\f5fa"; +} +.fa-key:before { + content: "\f084"; +} +.fa-keybase:before { + content: "\f4f5"; +} +.fa-keyboard:before { + content: "\f11c"; +} +.fa-keycdn:before { + content: "\f3ba"; +} +.fa-khanda:before { + content: "\f66d"; +} +.fa-kickstarter:before { + content: "\f3bb"; +} +.fa-kickstarter-k:before { + content: "\f3bc"; +} +.fa-kiss:before { + content: "\f596"; +} +.fa-kiss-beam:before { + content: "\f597"; +} +.fa-kiss-wink-heart:before { + content: "\f598"; +} +.fa-kiwi-bird:before { + content: "\f535"; +} +.fa-korvue:before { + content: "\f42f"; +} +.fa-landmark:before { + content: "\f66f"; +} +.fa-language:before { + content: "\f1ab"; +} +.fa-laptop:before { + content: "\f109"; +} +.fa-laptop-code:before { + content: "\f5fc"; +} +.fa-laptop-medical:before { + content: "\f812"; +} +.fa-laravel:before { + content: "\f3bd"; +} +.fa-lastfm:before { + content: "\f202"; +} +.fa-lastfm-square:before { + content: "\f203"; +} +.fa-laugh:before { + content: "\f599"; +} +.fa-laugh-beam:before { + content: "\f59a"; +} +.fa-laugh-squint:before { + content: "\f59b"; +} +.fa-laugh-wink:before { + content: "\f59c"; +} +.fa-layer-group:before { + content: "\f5fd"; +} +.fa-leaf:before { + content: "\f06c"; +} +.fa-leanpub:before { + content: "\f212"; +} +.fa-lemon:before { + content: "\f094"; +} +.fa-less:before { + content: "\f41d"; +} +.fa-less-than:before { + content: "\f536"; +} +.fa-less-than-equal:before { + content: "\f537"; +} +.fa-level-down-alt:before { + content: "\f3be"; +} +.fa-level-up-alt:before { + content: "\f3bf"; +} +.fa-life-ring:before { + content: "\f1cd"; +} +.fa-lightbulb:before { + content: "\f0eb"; +} +.fa-line:before { + content: "\f3c0"; +} +.fa-link:before { + content: "\f0c1"; +} +.fa-linkedin:before { + content: "\f08c"; +} +.fa-linkedin-in:before { + content: "\f0e1"; +} +.fa-linode:before { + content: "\f2b8"; +} +.fa-linux:before { + content: "\f17c"; +} +.fa-lira-sign:before { + content: "\f195"; +} +.fa-list:before { + content: "\f03a"; +} +.fa-list-alt:before { + content: "\f022"; +} +.fa-list-ol:before { + content: "\f0cb"; +} +.fa-list-ul:before { + content: "\f0ca"; +} +.fa-location-arrow:before { + content: "\f124"; +} +.fa-lock:before { + content: "\f023"; +} +.fa-lock-open:before { + content: "\f3c1"; +} +.fa-long-arrow-alt-down:before { + content: "\f309"; +} +.fa-long-arrow-alt-left:before { + content: "\f30a"; +} +.fa-long-arrow-alt-right:before { + content: "\f30b"; +} +.fa-long-arrow-alt-up:before { + content: "\f30c"; +} +.fa-low-vision:before { + content: "\f2a8"; +} +.fa-luggage-cart:before { + content: "\f59d"; +} +.fa-lyft:before { + content: "\f3c3"; +} +.fa-magento:before { + content: "\f3c4"; +} +.fa-magic:before { + content: "\f0d0"; +} +.fa-magnet:before { + content: "\f076"; +} +.fa-mail-bulk:before { + content: "\f674"; +} +.fa-mailchimp:before { + content: "\f59e"; +} +.fa-male:before { + content: "\f183"; +} +.fa-mandalorian:before { + content: "\f50f"; +} +.fa-map:before { + content: "\f279"; +} +.fa-map-marked:before { + content: "\f59f"; +} +.fa-map-marked-alt:before { + content: "\f5a0"; +} +.fa-map-marker:before { + content: "\f041"; +} +.fa-map-marker-alt:before { + content: "\f3c5"; +} +.fa-map-pin:before { + content: "\f276"; +} +.fa-map-signs:before { + content: "\f277"; +} +.fa-markdown:before { + content: "\f60f"; +} +.fa-marker:before { + content: "\f5a1"; +} +.fa-mars:before { + content: "\f222"; +} +.fa-mars-double:before { + content: "\f227"; +} +.fa-mars-stroke:before { + content: "\f229"; +} +.fa-mars-stroke-h:before { + content: "\f22b"; +} +.fa-mars-stroke-v:before { + content: "\f22a"; +} +.fa-mask:before { + content: "\f6fa"; +} +.fa-mastodon:before { + content: "\f4f6"; +} +.fa-maxcdn:before { + content: "\f136"; +} +.fa-medal:before { + content: "\f5a2"; +} +.fa-medapps:before { + content: "\f3c6"; +} +.fa-medium:before { + content: "\f23a"; +} +.fa-medium-m:before { + content: "\f3c7"; +} +.fa-medkit:before { + content: "\f0fa"; +} +.fa-medrt:before { + content: "\f3c8"; +} +.fa-meetup:before { + content: "\f2e0"; +} +.fa-megaport:before { + content: "\f5a3"; +} +.fa-meh:before { + content: "\f11a"; +} +.fa-meh-blank:before { + content: "\f5a4"; +} +.fa-meh-rolling-eyes:before { + content: "\f5a5"; +} +.fa-memory:before { + content: "\f538"; +} +.fa-mendeley:before { + content: "\f7b3"; +} +.fa-menorah:before { + content: "\f676"; +} +.fa-mercury:before { + content: "\f223"; +} +.fa-meteor:before { + content: "\f753"; +} +.fa-microchip:before { + content: "\f2db"; +} +.fa-microphone:before { + content: "\f130"; +} +.fa-microphone-alt:before { + content: "\f3c9"; +} +.fa-microphone-alt-slash:before { + content: "\f539"; +} +.fa-microphone-slash:before { + content: "\f131"; +} +.fa-microscope:before { + content: "\f610"; +} +.fa-microsoft:before { + content: "\f3ca"; +} +.fa-minus:before { + content: "\f068"; +} +.fa-minus-circle:before { + content: "\f056"; +} +.fa-minus-square:before { + content: "\f146"; +} +.fa-mitten:before { + content: "\f7b5"; +} +.fa-mix:before { + content: "\f3cb"; +} +.fa-mixcloud:before { + content: "\f289"; +} +.fa-mizuni:before { + content: "\f3cc"; +} +.fa-mobile:before { + content: "\f10b"; +} +.fa-mobile-alt:before { + content: "\f3cd"; +} +.fa-modx:before { + content: "\f285"; +} +.fa-monero:before { + content: "\f3d0"; +} +.fa-money-bill:before { + content: "\f0d6"; +} +.fa-money-bill-alt:before { + content: "\f3d1"; +} +.fa-money-bill-wave:before { + content: "\f53a"; +} +.fa-money-bill-wave-alt:before { + content: "\f53b"; +} +.fa-money-check:before { + content: "\f53c"; +} +.fa-money-check-alt:before { + content: "\f53d"; +} +.fa-monument:before { + content: "\f5a6"; +} +.fa-moon:before { + content: "\f186"; +} +.fa-mortar-pestle:before { + content: "\f5a7"; +} +.fa-mosque:before { + content: "\f678"; +} +.fa-motorcycle:before { + content: "\f21c"; +} +.fa-mountain:before { + content: "\f6fc"; +} +.fa-mouse-pointer:before { + content: "\f245"; +} +.fa-mug-hot:before { + content: "\f7b6"; +} +.fa-music:before { + content: "\f001"; +} +.fa-napster:before { + content: "\f3d2"; +} +.fa-neos:before { + content: "\f612"; +} +.fa-network-wired:before { + content: "\f6ff"; +} +.fa-neuter:before { + content: "\f22c"; +} +.fa-newspaper:before { + content: "\f1ea"; +} +.fa-nimblr:before { + content: "\f5a8"; +} +.fa-nintendo-switch:before { + content: "\f418"; +} +.fa-node:before { + content: "\f419"; +} +.fa-node-js:before { + content: "\f3d3"; +} +.fa-not-equal:before { + content: "\f53e"; +} +.fa-notes-medical:before { + content: "\f481"; +} +.fa-npm:before { + content: "\f3d4"; +} +.fa-ns8:before { + content: "\f3d5"; +} +.fa-nutritionix:before { + content: "\f3d6"; +} +.fa-object-group:before { + content: "\f247"; +} +.fa-object-ungroup:before { + content: "\f248"; +} +.fa-odnoklassniki:before { + content: "\f263"; +} +.fa-odnoklassniki-square:before { + content: "\f264"; +} +.fa-oil-can:before { + content: "\f613"; +} +.fa-old-republic:before { + content: "\f510"; +} +.fa-om:before { + content: "\f679"; +} +.fa-opencart:before { + content: "\f23d"; +} +.fa-openid:before { + content: "\f19b"; +} +.fa-opera:before { + content: "\f26a"; +} +.fa-optin-monster:before { + content: "\f23c"; +} +.fa-osi:before { + content: "\f41a"; +} +.fa-otter:before { + content: "\f700"; +} +.fa-outdent:before { + content: "\f03b"; +} +.fa-page4:before { + content: "\f3d7"; +} +.fa-pagelines:before { + content: "\f18c"; +} +.fa-pager:before { + content: "\f815"; +} +.fa-paint-brush:before { + content: "\f1fc"; +} +.fa-paint-roller:before { + content: "\f5aa"; +} +.fa-palette:before { + content: "\f53f"; +} +.fa-palfed:before { + content: "\f3d8"; +} +.fa-pallet:before { + content: "\f482"; +} +.fa-paper-plane:before { + content: "\f1d8"; +} +.fa-paperclip:before { + content: "\f0c6"; +} +.fa-parachute-box:before { + content: "\f4cd"; +} +.fa-paragraph:before { + content: "\f1dd"; +} +.fa-parking:before { + content: "\f540"; +} +.fa-passport:before { + content: "\f5ab"; +} +.fa-pastafarianism:before { + content: "\f67b"; +} +.fa-paste:before { + content: "\f0ea"; +} +.fa-patreon:before { + content: "\f3d9"; +} +.fa-pause:before { + content: "\f04c"; +} +.fa-pause-circle:before { + content: "\f28b"; +} +.fa-paw:before { + content: "\f1b0"; +} +.fa-paypal:before { + content: "\f1ed"; +} +.fa-peace:before { + content: "\f67c"; +} +.fa-pen:before { + content: "\f304"; +} +.fa-pen-alt:before { + content: "\f305"; +} +.fa-pen-fancy:before { + content: "\f5ac"; +} +.fa-pen-nib:before { + content: "\f5ad"; +} +.fa-pen-square:before { + content: "\f14b"; +} +.fa-pencil-alt:before { + content: "\f303"; +} +.fa-pencil-ruler:before { + content: "\f5ae"; +} +.fa-penny-arcade:before { + content: "\f704"; +} +.fa-people-carry:before { + content: "\f4ce"; +} +.fa-pepper-hot:before { + content: "\f816"; +} +.fa-percent:before { + content: "\f295"; +} +.fa-percentage:before { + content: "\f541"; +} +.fa-periscope:before { + content: "\f3da"; +} +.fa-person-booth:before { + content: "\f756"; +} +.fa-phabricator:before { + content: "\f3db"; +} +.fa-phoenix-framework:before { + content: "\f3dc"; +} +.fa-phoenix-squadron:before { + content: "\f511"; +} +.fa-phone:before { + content: "\f095"; +} +.fa-phone-slash:before { + content: "\f3dd"; +} +.fa-phone-square:before { + content: "\f098"; +} +.fa-phone-volume:before { + content: "\f2a0"; +} +.fa-php:before { + content: "\f457"; +} +.fa-pied-piper:before { + content: "\f2ae"; +} +.fa-pied-piper-alt:before { + content: "\f1a8"; +} +.fa-pied-piper-hat:before { + content: "\f4e5"; +} +.fa-pied-piper-pp:before { + content: "\f1a7"; +} +.fa-piggy-bank:before { + content: "\f4d3"; +} +.fa-pills:before { + content: "\f484"; +} +.fa-pinterest:before { + content: "\f0d2"; +} +.fa-pinterest-p:before { + content: "\f231"; +} +.fa-pinterest-square:before { + content: "\f0d3"; +} +.fa-pizza-slice:before { + content: "\f818"; +} +.fa-place-of-worship:before { + content: "\f67f"; +} +.fa-plane:before { + content: "\f072"; +} +.fa-plane-arrival:before { + content: "\f5af"; +} +.fa-plane-departure:before { + content: "\f5b0"; +} +.fa-play:before { + content: "\f04b"; +} +.fa-play-circle:before { + content: "\f144"; +} +.fa-playstation:before { + content: "\f3df"; +} +.fa-plug:before { + content: "\f1e6"; +} +.fa-plus:before { + content: "\f067"; +} +.fa-plus-circle:before { + content: "\f055"; +} +.fa-plus-square:before { + content: "\f0fe"; +} +.fa-podcast:before { + content: "\f2ce"; +} +.fa-poll:before { + content: "\f681"; +} +.fa-poll-h:before { + content: "\f682"; +} +.fa-poo:before { + content: "\f2fe"; +} +.fa-poo-storm:before { + content: "\f75a"; +} +.fa-poop:before { + content: "\f619"; +} +.fa-portrait:before { + content: "\f3e0"; +} +.fa-pound-sign:before { + content: "\f154"; +} +.fa-power-off:before { + content: "\f011"; +} +.fa-pray:before { + content: "\f683"; +} +.fa-praying-hands:before { + content: "\f684"; +} +.fa-prescription:before { + content: "\f5b1"; +} +.fa-prescription-bottle:before { + content: "\f485"; +} +.fa-prescription-bottle-alt:before { + content: "\f486"; +} +.fa-print:before { + content: "\f02f"; +} +.fa-procedures:before { + content: "\f487"; +} +.fa-product-hunt:before { + content: "\f288"; +} +.fa-project-diagram:before { + content: "\f542"; +} +.fa-pushed:before { + content: "\f3e1"; +} +.fa-puzzle-piece:before { + content: "\f12e"; +} +.fa-python:before { + content: "\f3e2"; +} +.fa-qq:before { + content: "\f1d6"; +} +.fa-qrcode:before { + content: "\f029"; +} +.fa-question:before { + content: "\f128"; +} +.fa-question-circle:before { + content: "\f059"; +} +.fa-quidditch:before { + content: "\f458"; +} +.fa-quinscape:before { + content: "\f459"; +} +.fa-quora:before { + content: "\f2c4"; +} +.fa-quote-left:before { + content: "\f10d"; +} +.fa-quote-right:before { + content: "\f10e"; +} +.fa-quran:before { + content: "\f687"; +} +.fa-r-project:before { + content: "\f4f7"; +} +.fa-radiation:before { + content: "\f7b9"; +} +.fa-radiation-alt:before { + content: "\f7ba"; +} +.fa-rainbow:before { + content: "\f75b"; +} +.fa-random:before { + content: "\f074"; +} +.fa-raspberry-pi:before { + content: "\f7bb"; +} +.fa-ravelry:before { + content: "\f2d9"; +} +.fa-react:before { + content: "\f41b"; +} +.fa-reacteurope:before { + content: "\f75d"; +} +.fa-readme:before { + content: "\f4d5"; +} +.fa-rebel:before { + content: "\f1d0"; +} +.fa-receipt:before { + content: "\f543"; +} +.fa-recycle:before { + content: "\f1b8"; +} +.fa-red-river:before { + content: "\f3e3"; +} +.fa-reddit:before { + content: "\f1a1"; +} +.fa-reddit-alien:before { + content: "\f281"; +} +.fa-reddit-square:before { + content: "\f1a2"; +} +.fa-redhat:before { + content: "\f7bc"; +} +.fa-redo:before { + content: "\f01e"; +} +.fa-redo-alt:before { + content: "\f2f9"; +} +.fa-registered:before { + content: "\f25d"; +} +.fa-renren:before { + content: "\f18b"; +} +.fa-reply:before { + content: "\f3e5"; +} +.fa-reply-all:before { + content: "\f122"; +} +.fa-replyd:before { + content: "\f3e6"; +} +.fa-republican:before { + content: "\f75e"; +} +.fa-researchgate:before { + content: "\f4f8"; +} +.fa-resolving:before { + content: "\f3e7"; +} +.fa-restroom:before { + content: "\f7bd"; +} +.fa-retweet:before { + content: "\f079"; +} +.fa-rev:before { + content: "\f5b2"; +} +.fa-ribbon:before { + content: "\f4d6"; +} +.fa-ring:before { + content: "\f70b"; +} +.fa-road:before { + content: "\f018"; +} +.fa-robot:before { + content: "\f544"; +} +.fa-rocket:before { + content: "\f135"; +} +.fa-rocketchat:before { + content: "\f3e8"; +} +.fa-rockrms:before { + content: "\f3e9"; +} +.fa-route:before { + content: "\f4d7"; +} +.fa-rss:before { + content: "\f09e"; +} +.fa-rss-square:before { + content: "\f143"; +} +.fa-ruble-sign:before { + content: "\f158"; +} +.fa-ruler:before { + content: "\f545"; +} +.fa-ruler-combined:before { + content: "\f546"; +} +.fa-ruler-horizontal:before { + content: "\f547"; +} +.fa-ruler-vertical:before { + content: "\f548"; +} +.fa-running:before { + content: "\f70c"; +} +.fa-rupee-sign:before { + content: "\f156"; +} +.fa-sad-cry:before { + content: "\f5b3"; +} +.fa-sad-tear:before { + content: "\f5b4"; +} +.fa-safari:before { + content: "\f267"; +} +.fa-sass:before { + content: "\f41e"; +} +.fa-satellite:before { + content: "\f7bf"; +} +.fa-satellite-dish:before { + content: "\f7c0"; +} +.fa-save:before { + content: "\f0c7"; +} +.fa-schlix:before { + content: "\f3ea"; +} +.fa-school:before { + content: "\f549"; +} +.fa-screwdriver:before { + content: "\f54a"; +} +.fa-scribd:before { + content: "\f28a"; +} +.fa-scroll:before { + content: "\f70e"; +} +.fa-sd-card:before { + content: "\f7c2"; +} +.fa-search:before { + content: "\f002"; +} +.fa-search-dollar:before { + content: "\f688"; +} +.fa-search-location:before { + content: "\f689"; +} +.fa-search-minus:before { + content: "\f010"; +} +.fa-search-plus:before { + content: "\f00e"; +} +.fa-searchengin:before { + content: "\f3eb"; +} +.fa-seedling:before { + content: "\f4d8"; +} +.fa-sellcast:before { + content: "\f2da"; +} +.fa-sellsy:before { + content: "\f213"; +} +.fa-server:before { + content: "\f233"; +} +.fa-servicestack:before { + content: "\f3ec"; +} +.fa-shapes:before { + content: "\f61f"; +} +.fa-share:before { + content: "\f064"; +} +.fa-share-alt:before { + content: "\f1e0"; +} +.fa-share-alt-square:before { + content: "\f1e1"; +} +.fa-share-square:before { + content: "\f14d"; +} +.fa-shekel-sign:before { + content: "\f20b"; +} +.fa-shield-alt:before { + content: "\f3ed"; +} +.fa-ship:before { + content: "\f21a"; +} +.fa-shipping-fast:before { + content: "\f48b"; +} +.fa-shirtsinbulk:before { + content: "\f214"; +} +.fa-shoe-prints:before { + content: "\f54b"; +} +.fa-shopping-bag:before { + content: "\f290"; +} +.fa-shopping-basket:before { + content: "\f291"; +} +.fa-shopping-cart:before { + content: "\f07a"; +} +.fa-shopware:before { + content: "\f5b5"; +} +.fa-shower:before { + content: "\f2cc"; +} +.fa-shuttle-van:before { + content: "\f5b6"; +} +.fa-sign:before { + content: "\f4d9"; +} +.fa-sign-in-alt:before { + content: "\f2f6"; +} +.fa-sign-language:before { + content: "\f2a7"; +} +.fa-sign-out-alt:before { + content: "\f2f5"; +} +.fa-signal:before { + content: "\f012"; +} +.fa-signature:before { + content: "\f5b7"; +} +.fa-sim-card:before { + content: "\f7c4"; +} +.fa-simplybuilt:before { + content: "\f215"; +} +.fa-sistrix:before { + content: "\f3ee"; +} +.fa-sitemap:before { + content: "\f0e8"; +} +.fa-sith:before { + content: "\f512"; +} +.fa-skating:before { + content: "\f7c5"; +} +.fa-sketch:before { + content: "\f7c6"; +} +.fa-skiing:before { + content: "\f7c9"; +} +.fa-skiing-nordic:before { + content: "\f7ca"; +} +.fa-skull:before { + content: "\f54c"; +} +.fa-skull-crossbones:before { + content: "\f714"; +} +.fa-skyatlas:before { + content: "\f216"; +} +.fa-skype:before { + content: "\f17e"; +} +.fa-slack:before { + content: "\f198"; +} +.fa-slack-hash:before { + content: "\f3ef"; +} +.fa-slash:before { + content: "\f715"; +} +.fa-sleigh:before { + content: "\f7cc"; +} +.fa-sliders-h:before { + content: "\f1de"; +} +.fa-slideshare:before { + content: "\f1e7"; +} +.fa-smile:before { + content: "\f118"; +} +.fa-smile-beam:before { + content: "\f5b8"; +} +.fa-smile-wink:before { + content: "\f4da"; +} +.fa-smog:before { + content: "\f75f"; +} +.fa-smoking:before { + content: "\f48d"; +} +.fa-smoking-ban:before { + content: "\f54d"; +} +.fa-sms:before { + content: "\f7cd"; +} +.fa-snapchat:before { + content: "\f2ab"; +} +.fa-snapchat-ghost:before { + content: "\f2ac"; +} +.fa-snapchat-square:before { + content: "\f2ad"; +} +.fa-snowboarding:before { + content: "\f7ce"; +} +.fa-snowflake:before { + content: "\f2dc"; +} +.fa-snowman:before { + content: "\f7d0"; +} +.fa-snowplow:before { + content: "\f7d2"; +} +.fa-socks:before { + content: "\f696"; +} +.fa-solar-panel:before { + content: "\f5ba"; +} +.fa-sort:before { + content: "\f0dc"; +} +.fa-sort-alpha-down:before { + content: "\f15d"; +} +.fa-sort-alpha-up:before { + content: "\f15e"; +} +.fa-sort-amount-down:before { + content: "\f160"; +} +.fa-sort-amount-up:before { + content: "\f161"; +} +.fa-sort-down:before { + content: "\f0dd"; +} +.fa-sort-numeric-down:before { + content: "\f162"; +} +.fa-sort-numeric-up:before { + content: "\f163"; +} +.fa-sort-up:before { + content: "\f0de"; +} +.fa-soundcloud:before { + content: "\f1be"; +} +.fa-sourcetree:before { + content: "\f7d3"; +} +.fa-spa:before { + content: "\f5bb"; +} +.fa-space-shuttle:before { + content: "\f197"; +} +.fa-speakap:before { + content: "\f3f3"; +} +.fa-spider:before { + content: "\f717"; +} +.fa-spinner:before { + content: "\f110"; +} +.fa-splotch:before { + content: "\f5bc"; +} +.fa-spotify:before { + content: "\f1bc"; +} +.fa-spray-can:before { + content: "\f5bd"; +} +.fa-square:before { + content: "\f0c8"; +} +.fa-square-full:before { + content: "\f45c"; +} +.fa-square-root-alt:before { + content: "\f698"; +} +.fa-squarespace:before { + content: "\f5be"; +} +.fa-stack-exchange:before { + content: "\f18d"; +} +.fa-stack-overflow:before { + content: "\f16c"; +} +.fa-stamp:before { + content: "\f5bf"; +} +.fa-star:before { + content: "\f005"; +} +.fa-star-and-crescent:before { + content: "\f699"; +} +.fa-star-half:before { + content: "\f089"; +} +.fa-star-half-alt:before { + content: "\f5c0"; +} +.fa-star-of-david:before { + content: "\f69a"; +} +.fa-star-of-life:before { + content: "\f621"; +} +.fa-staylinked:before { + content: "\f3f5"; +} +.fa-steam:before { + content: "\f1b6"; +} +.fa-steam-square:before { + content: "\f1b7"; +} +.fa-steam-symbol:before { + content: "\f3f6"; +} +.fa-step-backward:before { + content: "\f048"; +} +.fa-step-forward:before { + content: "\f051"; +} +.fa-stethoscope:before { + content: "\f0f1"; +} +.fa-sticker-mule:before { + content: "\f3f7"; +} +.fa-sticky-note:before { + content: "\f249"; +} +.fa-stop:before { + content: "\f04d"; +} +.fa-stop-circle:before { + content: "\f28d"; +} +.fa-stopwatch:before { + content: "\f2f2"; +} +.fa-store:before { + content: "\f54e"; +} +.fa-store-alt:before { + content: "\f54f"; +} +.fa-strava:before { + content: "\f428"; +} +.fa-stream:before { + content: "\f550"; +} +.fa-street-view:before { + content: "\f21d"; +} +.fa-strikethrough:before { + content: "\f0cc"; +} +.fa-stripe:before { + content: "\f429"; +} +.fa-stripe-s:before { + content: "\f42a"; +} +.fa-stroopwafel:before { + content: "\f551"; +} +.fa-studiovinari:before { + content: "\f3f8"; +} +.fa-stumbleupon:before { + content: "\f1a4"; +} +.fa-stumbleupon-circle:before { + content: "\f1a3"; +} +.fa-subscript:before { + content: "\f12c"; +} +.fa-subway:before { + content: "\f239"; +} +.fa-suitcase:before { + content: "\f0f2"; +} +.fa-suitcase-rolling:before { + content: "\f5c1"; +} +.fa-sun:before { + content: "\f185"; +} +.fa-superpowers:before { + content: "\f2dd"; +} +.fa-superscript:before { + content: "\f12b"; +} +.fa-supple:before { + content: "\f3f9"; +} +.fa-surprise:before { + content: "\f5c2"; +} +.fa-suse:before { + content: "\f7d6"; +} +.fa-swatchbook:before { + content: "\f5c3"; +} +.fa-swimmer:before { + content: "\f5c4"; +} +.fa-swimming-pool:before { + content: "\f5c5"; +} +.fa-synagogue:before { + content: "\f69b"; +} +.fa-sync:before { + content: "\f021"; +} +.fa-sync-alt:before { + content: "\f2f1"; +} +.fa-syringe:before { + content: "\f48e"; +} +.fa-table:before { + content: "\f0ce"; +} +.fa-table-tennis:before { + content: "\f45d"; +} +.fa-tablet:before { + content: "\f10a"; +} +.fa-tablet-alt:before { + content: "\f3fa"; +} +.fa-tablets:before { + content: "\f490"; +} +.fa-tachometer-alt:before { + content: "\f3fd"; +} +.fa-tag:before { + content: "\f02b"; +} +.fa-tags:before { + content: "\f02c"; +} +.fa-tape:before { + content: "\f4db"; +} +.fa-tasks:before { + content: "\f0ae"; +} +.fa-taxi:before { + content: "\f1ba"; +} +.fa-teamspeak:before { + content: "\f4f9"; +} +.fa-teeth:before { + content: "\f62e"; +} +.fa-teeth-open:before { + content: "\f62f"; +} +.fa-telegram:before { + content: "\f2c6"; +} +.fa-telegram-plane:before { + content: "\f3fe"; +} +.fa-temperature-high:before { + content: "\f769"; +} +.fa-temperature-low:before { + content: "\f76b"; +} +.fa-tencent-weibo:before { + content: "\f1d5"; +} +.fa-tenge:before { + content: "\f7d7"; +} +.fa-terminal:before { + content: "\f120"; +} +.fa-text-height:before { + content: "\f034"; +} +.fa-text-width:before { + content: "\f035"; +} +.fa-th:before { + content: "\f00a"; +} +.fa-th-large:before { + content: "\f009"; +} +.fa-th-list:before { + content: "\f00b"; +} +.fa-the-red-yeti:before { + content: "\f69d"; +} +.fa-theater-masks:before { + content: "\f630"; +} +.fa-themeco:before { + content: "\f5c6"; +} +.fa-themeisle:before { + content: "\f2b2"; +} +.fa-thermometer:before { + content: "\f491"; +} +.fa-thermometer-empty:before { + content: "\f2cb"; +} +.fa-thermometer-full:before { + content: "\f2c7"; +} +.fa-thermometer-half:before { + content: "\f2c9"; +} +.fa-thermometer-quarter:before { + content: "\f2ca"; +} +.fa-thermometer-three-quarters:before { + content: "\f2c8"; +} +.fa-think-peaks:before { + content: "\f731"; +} +.fa-thumbs-down:before { + content: "\f165"; +} +.fa-thumbs-up:before { + content: "\f164"; +} +.fa-thumbtack:before { + content: "\f08d"; +} +.fa-ticket-alt:before { + content: "\f3ff"; +} +.fa-times:before { + content: "\f00d"; +} +.fa-times-circle:before { + content: "\f057"; +} +.fa-tint:before { + content: "\f043"; +} +.fa-tint-slash:before { + content: "\f5c7"; +} +.fa-tired:before { + content: "\f5c8"; +} +.fa-toggle-off:before { + content: "\f204"; +} +.fa-toggle-on:before { + content: "\f205"; +} +.fa-toilet:before { + content: "\f7d8"; +} +.fa-toilet-paper:before { + content: "\f71e"; +} +.fa-toolbox:before { + content: "\f552"; +} +.fa-tools:before { + content: "\f7d9"; +} +.fa-tooth:before { + content: "\f5c9"; +} +.fa-torah:before { + content: "\f6a0"; +} +.fa-torii-gate:before { + content: "\f6a1"; +} +.fa-tractor:before { + content: "\f722"; +} +.fa-trade-federation:before { + content: "\f513"; +} +.fa-trademark:before { + content: "\f25c"; +} +.fa-traffic-light:before { + content: "\f637"; +} +.fa-train:before { + content: "\f238"; +} +.fa-tram:before { + content: "\f7da"; +} +.fa-transgender:before { + content: "\f224"; +} +.fa-transgender-alt:before { + content: "\f225"; +} +.fa-trash:before { + content: "\f1f8"; +} +.fa-trash-alt:before { + content: "\f2ed"; +} +.fa-trash-restore:before { + content: "\f829"; +} +.fa-trash-restore-alt:before { + content: "\f82a"; +} +.fa-tree:before { + content: "\f1bb"; +} +.fa-trello:before { + content: "\f181"; +} +.fa-tripadvisor:before { + content: "\f262"; +} +.fa-trophy:before { + content: "\f091"; +} +.fa-truck:before { + content: "\f0d1"; +} +.fa-truck-loading:before { + content: "\f4de"; +} +.fa-truck-monster:before { + content: "\f63b"; +} +.fa-truck-moving:before { + content: "\f4df"; +} +.fa-truck-pickup:before { + content: "\f63c"; +} +.fa-tshirt:before { + content: "\f553"; +} +.fa-tty:before { + content: "\f1e4"; +} +.fa-tumblr:before { + content: "\f173"; +} +.fa-tumblr-square:before { + content: "\f174"; +} +.fa-tv:before { + content: "\f26c"; +} +.fa-twitch:before { + content: "\f1e8"; +} +.fa-twitter:before { + content: "\f099"; +} +.fa-twitter-square:before { + content: "\f081"; +} +.fa-typo3:before { + content: "\f42b"; +} +.fa-uber:before { + content: "\f402"; +} +.fa-ubuntu:before { + content: "\f7df"; +} +.fa-uikit:before { + content: "\f403"; +} +.fa-umbrella:before { + content: "\f0e9"; +} +.fa-umbrella-beach:before { + content: "\f5ca"; +} +.fa-underline:before { + content: "\f0cd"; +} +.fa-undo:before { + content: "\f0e2"; +} +.fa-undo-alt:before { + content: "\f2ea"; +} +.fa-uniregistry:before { + content: "\f404"; +} +.fa-universal-access:before { + content: "\f29a"; +} +.fa-university:before { + content: "\f19c"; +} +.fa-unlink:before { + content: "\f127"; +} +.fa-unlock:before { + content: "\f09c"; +} +.fa-unlock-alt:before { + content: "\f13e"; +} +.fa-untappd:before { + content: "\f405"; +} +.fa-upload:before { + content: "\f093"; +} +.fa-ups:before { + content: "\f7e0"; +} +.fa-usb:before { + content: "\f287"; +} +.fa-user:before { + content: "\f007"; +} +.fa-user-alt:before { + content: "\f406"; +} +.fa-user-alt-slash:before { + content: "\f4fa"; +} +.fa-user-astronaut:before { + content: "\f4fb"; +} +.fa-user-check:before { + content: "\f4fc"; +} +.fa-user-circle:before { + content: "\f2bd"; +} +.fa-user-clock:before { + content: "\f4fd"; +} +.fa-user-cog:before { + content: "\f4fe"; +} +.fa-user-edit:before { + content: "\f4ff"; +} +.fa-user-friends:before { + content: "\f500"; +} +.fa-user-graduate:before { + content: "\f501"; +} +.fa-user-injured:before { + content: "\f728"; +} +.fa-user-lock:before { + content: "\f502"; +} +.fa-user-md:before { + content: "\f0f0"; +} +.fa-user-minus:before { + content: "\f503"; +} +.fa-user-ninja:before { + content: "\f504"; +} +.fa-user-nurse:before { + content: "\f82f"; +} +.fa-user-plus:before { + content: "\f234"; +} +.fa-user-secret:before { + content: "\f21b"; +} +.fa-user-shield:before { + content: "\f505"; +} +.fa-user-slash:before { + content: "\f506"; +} +.fa-user-tag:before { + content: "\f507"; +} +.fa-user-tie:before { + content: "\f508"; +} +.fa-user-times:before { + content: "\f235"; +} +.fa-users:before { + content: "\f0c0"; +} +.fa-users-cog:before { + content: "\f509"; +} +.fa-usps:before { + content: "\f7e1"; +} +.fa-ussunnah:before { + content: "\f407"; +} +.fa-utensil-spoon:before { + content: "\f2e5"; +} +.fa-utensils:before { + content: "\f2e7"; +} +.fa-vaadin:before { + content: "\f408"; +} +.fa-vector-square:before { + content: "\f5cb"; +} +.fa-venus:before { + content: "\f221"; +} +.fa-venus-double:before { + content: "\f226"; +} +.fa-venus-mars:before { + content: "\f228"; +} +.fa-viacoin:before { + content: "\f237"; +} +.fa-viadeo:before { + content: "\f2a9"; +} +.fa-viadeo-square:before { + content: "\f2aa"; +} +.fa-vial:before { + content: "\f492"; +} +.fa-vials:before { + content: "\f493"; +} +.fa-viber:before { + content: "\f409"; +} +.fa-video:before { + content: "\f03d"; +} +.fa-video-slash:before { + content: "\f4e2"; +} +.fa-vihara:before { + content: "\f6a7"; +} +.fa-vimeo:before { + content: "\f40a"; +} +.fa-vimeo-square:before { + content: "\f194"; +} +.fa-vimeo-v:before { + content: "\f27d"; +} +.fa-vine:before { + content: "\f1ca"; +} +.fa-vk:before { + content: "\f189"; +} +.fa-vnv:before { + content: "\f40b"; +} +.fa-volleyball-ball:before { + content: "\f45f"; +} +.fa-volume-down:before { + content: "\f027"; +} +.fa-volume-mute:before { + content: "\f6a9"; +} +.fa-volume-off:before { + content: "\f026"; +} +.fa-volume-up:before { + content: "\f028"; +} +.fa-vote-yea:before { + content: "\f772"; +} +.fa-vr-cardboard:before { + content: "\f729"; +} +.fa-vuejs:before { + content: "\f41f"; +} +.fa-walking:before { + content: "\f554"; +} +.fa-wallet:before { + content: "\f555"; +} +.fa-warehouse:before { + content: "\f494"; +} +.fa-water:before { + content: "\f773"; +} +.fa-weebly:before { + content: "\f5cc"; +} +.fa-weibo:before { + content: "\f18a"; +} +.fa-weight:before { + content: "\f496"; +} +.fa-weight-hanging:before { + content: "\f5cd"; +} +.fa-weixin:before { + content: "\f1d7"; +} +.fa-whatsapp:before { + content: "\f232"; +} +.fa-whatsapp-square:before { + content: "\f40c"; +} +.fa-wheelchair:before { + content: "\f193"; +} +.fa-whmcs:before { + content: "\f40d"; +} +.fa-wifi:before { + content: "\f1eb"; +} +.fa-wikipedia-w:before { + content: "\f266"; +} +.fa-wind:before { + content: "\f72e"; +} +.fa-window-close:before { + content: "\f410"; +} +.fa-window-maximize:before { + content: "\f2d0"; +} +.fa-window-minimize:before { + content: "\f2d1"; +} +.fa-window-restore:before { + content: "\f2d2"; +} +.fa-windows:before { + content: "\f17a"; +} +.fa-wine-bottle:before { + content: "\f72f"; +} +.fa-wine-glass:before { + content: "\f4e3"; +} +.fa-wine-glass-alt:before { + content: "\f5ce"; +} +.fa-wix:before { + content: "\f5cf"; +} +.fa-wizards-of-the-coast:before { + content: "\f730"; +} +.fa-wolf-pack-battalion:before { + content: "\f514"; +} +.fa-won-sign:before { + content: "\f159"; +} +.fa-wordpress:before { + content: "\f19a"; +} +.fa-wordpress-simple:before { + content: "\f411"; +} +.fa-wpbeginner:before { + content: "\f297"; +} +.fa-wpexplorer:before { + content: "\f2de"; +} +.fa-wpforms:before { + content: "\f298"; +} +.fa-wpressr:before { + content: "\f3e4"; +} +.fa-wrench:before { + content: "\f0ad"; +} +.fa-x-ray:before { + content: "\f497"; +} +.fa-xbox:before { + content: "\f412"; +} +.fa-xing:before { + content: "\f168"; +} +.fa-xing-square:before { + content: "\f169"; +} +.fa-y-combinator:before { + content: "\f23b"; +} +.fa-yahoo:before { + content: "\f19e"; +} +.fa-yandex:before { + content: "\f413"; +} +.fa-yandex-international:before { + content: "\f414"; +} +.fa-yarn:before { + content: "\f7e3"; +} +.fa-yelp:before { + content: "\f1e9"; +} +.fa-yen-sign:before { + content: "\f157"; +} +.fa-yin-yang:before { + content: "\f6ad"; +} +.fa-yoast:before { + content: "\f2b1"; +} +.fa-youtube:before { + content: "\f167"; +} +.fa-youtube-square:before { + content: "\f431"; +} +.fa-zhihu:before { + content: "\f63f"; +} +.sr-only { + border: 0; + clip: rect(0, 0, 0, 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + clip: auto; + height: auto; + margin: 0; + overflow: visible; + position: static; + width: auto; +} +@font-face { + font-family: "Font Awesome 5 Brands"; + font-style: normal; + font-weight: normal; + font-display: auto; + src: url(../fonts/fa-brands-400.eot); + src: url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"), + url(../fonts/fa-brands-400.woff2) format("woff2"), + url(../fonts/fa-brands-400.woff) format("woff"), + url(../fonts/fa-brands-400.ttf) format("truetype"), + url(../fonts/fa-brands-400.svg#fontawesome) format("svg"); +} +.fab { + font-family: "Font Awesome 5 Brands"; +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-style: normal; + font-weight: 400; + font-display: auto; + src: url(../fonts/fa-regular-400.eot); + src: url(../fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"), + url(../fonts/fa-regular-400.woff2) format("woff2"), + url(../fonts/fa-regular-400.woff) format("woff"), + url(../fonts/fa-regular-400.ttf) format("truetype"), + url(../fonts/fa-regular-400.svg#fontawesome) format("svg"); +} +.far { + font-weight: 400; +} +@font-face { + font-family: "Font Awesome 5 Free"; + font-style: normal; + font-weight: 900; + font-display: auto; + src: url(../fonts/fa-solid-900.eot); + src: url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), + url(../fonts/fa-solid-900.woff2) format("woff2"), + url(../fonts/fa-solid-900.woff) format("woff"), + url(../fonts/fa-solid-900.ttf) format("truetype"), + url(../fonts/fa-solid-900.svg#fontawesome) format("svg"); +} +.fa, +.far, +.fas { + font-family: "Font Awesome 5 Free"; +} +.fa, +.fas { + font-weight: 900; +} diff --git a/public/assets/assetLanding/css/bootstrap.min.css b/public/assets/assetLanding/css/bootstrap.min.css new file mode 100644 index 0000000..338cc00 --- /dev/null +++ b/public/assets/assetLanding/css/bootstrap.min.css @@ -0,0 +1,9072 @@ +/*! + * Bootstrap v4.2.1 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors + * Copyright 2011-2018 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +:root { + --blue: #007bff; + --indigo: #6610f2; + --purple: #6f42c1; + --pink: #e83e8c; + --red: #dc3545; + --orange: #fd7e14; + --yellow: #ffc107; + --green: #28a745; + --teal: #20c997; + --cyan: #17a2b8; + --white: #fff; + --gray: #6c757d; + --gray-dark: #343a40; + --primary: #007bff; + --secondary: #6c757d; + --success: #28a745; + --info: #17a2b8; + --warning: #ffc107; + --danger: #dc3545; + --light: #f8f9fa; + --dark: #343a40; + --breakpoint-xs: 0; + --breakpoint-sm: 576px; + --breakpoint-md: 768px; + --breakpoint-lg: 992px; + --breakpoint-xl: 1200px; + --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", + Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, + "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, + "Liberation Mono", "Courier New", monospace; +} +*, +::after, +::before { + box-sizing: border-box; +} +html { + font-family: sans-serif; + line-height: 1.15; + -webkit-text-size-adjust: 100%; + -webkit-tap-highlight-color: transparent; +} +article, +aside, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section { + display: block; +} +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: left; + background-color: #fff; +} +[tabindex="-1"]:focus { + outline: 0 !important; +} +hr { + box-sizing: content-box; + height: 0; + overflow: visible; +} +h1, +h2, +h3, +h4, +h5, +h6 { + margin-top: 0; + margin-bottom: 0.5rem; +} +p { + margin-top: 0; + margin-bottom: 1rem; +} +abbr[data-original-title], +abbr[title] { + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + cursor: help; + border-bottom: 0; + text-decoration-skip-ink: none; +} +address { + margin-bottom: 1rem; + font-style: normal; + line-height: inherit; +} +dl, +ol, +ul { + margin-top: 0; + margin-bottom: 1rem; +} +ol ol, +ol ul, +ul ol, +ul ul { + margin-bottom: 0; +} +dt { + font-weight: 700; +} +dd { + margin-bottom: 0.5rem; + margin-left: 0; +} +blockquote { + margin: 0 0 1rem; +} +b, +strong { + font-weight: bolder; +} +small { + font-size: 80%; +} +sub, +sup { + position: relative; + font-size: 75%; + line-height: 0; + vertical-align: baseline; +} +sub { + bottom: -0.25em; +} +sup { + top: -0.5em; +} +a { + color: #007bff; + text-decoration: none; + background-color: transparent; +} +a:hover { + color: #0056b3; + text-decoration: underline; +} +a:not([href]):not([tabindex]) { + color: inherit; + text-decoration: none; +} +a:not([href]):not([tabindex]):focus, +a:not([href]):not([tabindex]):hover { + color: inherit; + text-decoration: none; +} +a:not([href]):not([tabindex]):focus { + outline: 0; +} +code, +kbd, +pre, +samp { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; + font-size: 1em; +} +pre { + margin-top: 0; + margin-bottom: 1rem; + overflow: auto; +} +figure { + margin: 0 0 1rem; +} +img { + vertical-align: middle; + border-style: none; +} +svg { + overflow: hidden; + vertical-align: middle; +} +table { + border-collapse: collapse; +} +caption { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + color: #6c757d; + text-align: left; + caption-side: bottom; +} +th { + text-align: inherit; +} +label { + display: inline-block; + margin-bottom: 0.5rem; +} +button { + border-radius: 0; +} +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} +button, +input, +optgroup, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +button, +input { + overflow: visible; +} +button, +select { + text-transform: none; +} +[type="button"], +[type="reset"], +[type="submit"], +button { + -webkit-appearance: button; +} +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner, +button::-moz-focus-inner { + padding: 0; + border-style: none; +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} +input[type="date"], +input[type="datetime-local"], +input[type="month"], +input[type="time"] { + -webkit-appearance: listbox; +} +textarea { + overflow: auto; + resize: vertical; +} +fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} +legend { + display: block; + width: 100%; + max-width: 100%; + padding: 0; + margin-bottom: 0.5rem; + font-size: 1.5rem; + line-height: inherit; + color: inherit; + white-space: normal; +} +progress { + vertical-align: baseline; +} +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} +[type="search"] { + outline-offset: -2px; + -webkit-appearance: none; +} +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +::-webkit-file-upload-button { + font: inherit; + -webkit-appearance: button; +} +output { + display: inline-block; +} +summary { + display: list-item; + cursor: pointer; +} +template { + display: none; +} +[hidden] { + display: none !important; +} +.h1, +.h2, +.h3, +.h4, +.h5, +.h6, +h1, +h2, +h3, +h4, +h5, +h6 { + margin-bottom: 0.5rem; + font-family: inherit; + font-weight: 500; + line-height: 1.2; + color: inherit; +} +.h1, +h1 { + font-size: 2.5rem; +} +.h2, +h2 { + font-size: 2rem; +} +.h3, +h3 { + font-size: 1.75rem; +} +.h4, +h4 { + font-size: 1.5rem; +} +.h5, +h5 { + font-size: 1.25rem; +} +.h6, +h6 { + font-size: 1rem; +} +.lead { + font-size: 1.25rem; + font-weight: 300; +} +.display-1 { + font-size: 6rem; + font-weight: 300; + line-height: 1.2; +} +.display-2 { + font-size: 5.5rem; + font-weight: 300; + line-height: 1.2; +} +.display-3 { + font-size: 4.5rem; + font-weight: 300; + line-height: 1.2; +} +.display-4 { + font-size: 3.5rem; + font-weight: 300; + line-height: 1.2; +} +hr { + margin-top: 1rem; + margin-bottom: 1rem; + border: 0; + border-top: 1px solid rgba(0, 0, 0, 0.1); +} +.small, +small { + font-size: 80%; + font-weight: 400; +} +.mark, +mark { + padding: 0.2em; + background-color: #fcf8e3; +} +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + padding-left: 0; + list-style: none; +} +.list-inline-item { + display: inline-block; +} +.list-inline-item:not(:last-child) { + margin-right: 0.5rem; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +.blockquote { + margin-bottom: 1rem; + font-size: 1.25rem; +} +.blockquote-footer { + display: block; + font-size: 80%; + color: #6c757d; +} +.blockquote-footer::before { + content: "\2014\00A0"; +} +.img-fluid { + max-width: 100%; + height: auto; +} +.img-thumbnail { + padding: 0.25rem; + background-color: #fff; + border: 1px solid #dee2e6; + border-radius: 0.25rem; + max-width: 100%; + height: auto; +} +.figure { + display: inline-block; +} +.figure-img { + margin-bottom: 0.5rem; + line-height: 1; +} +.figure-caption { + font-size: 90%; + color: #6c757d; +} +code { + font-size: 87.5%; + color: #e83e8c; + word-break: break-word; +} +a > code { + color: inherit; +} +kbd { + padding: 0.2rem 0.4rem; + font-size: 87.5%; + color: #fff; + background-color: #212529; + border-radius: 0.2rem; +} +kbd kbd { + padding: 0; + font-size: 100%; + font-weight: 700; +} +pre { + display: block; + font-size: 87.5%; + color: #212529; +} +pre code { + font-size: inherit; + color: inherit; + word-break: normal; +} +.pre-scrollable { + max-height: 340px; + overflow-y: scroll; +} +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} +.container-fluid { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; +} +.row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -15px; + margin-left: -15px; +} +.no-gutters { + margin-right: 0; + margin-left: 0; +} +.no-gutters > .col, +.no-gutters > [class*="col-"] { + padding-right: 0; + padding-left: 0; +} +.col, +.col-1, +.col-10, +.col-11, +.col-12, +.col-2, +.col-3, +.col-4, +.col-5, +.col-6, +.col-7, +.col-8, +.col-9, +.col-auto, +.col-lg, +.col-lg-1, +.col-lg-10, +.col-lg-11, +.col-lg-12, +.col-lg-2, +.col-lg-3, +.col-lg-4, +.col-lg-5, +.col-lg-6, +.col-lg-7, +.col-lg-8, +.col-lg-9, +.col-lg-auto, +.col-md, +.col-md-1, +.col-md-10, +.col-md-11, +.col-md-12, +.col-md-2, +.col-md-3, +.col-md-4, +.col-md-5, +.col-md-6, +.col-md-7, +.col-md-8, +.col-md-9, +.col-md-auto, +.col-sm, +.col-sm-1, +.col-sm-10, +.col-sm-11, +.col-sm-12, +.col-sm-2, +.col-sm-3, +.col-sm-4, +.col-sm-5, +.col-sm-6, +.col-sm-7, +.col-sm-8, +.col-sm-9, +.col-sm-auto, +.col-xl, +.col-xl-1, +.col-xl-10, +.col-xl-11, +.col-xl-12, +.col-xl-2, +.col-xl-3, +.col-xl-4, +.col-xl-5, +.col-xl-6, +.col-xl-7, +.col-xl-8, +.col-xl-9, +.col-xl-auto { + position: relative; + width: 100%; + padding-right: 15px; + padding-left: 15px; +} +.col { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; +} +.col-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; +} +.col-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; +} +.col-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; +} +.col-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; +} +.col-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; +} +.col-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; +} +.col-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; +} +.col-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; +} +.col-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; +} +.col-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; +} +.col-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; +} +.col-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; +} +.col-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; +} +.order-first { + -ms-flex-order: -1; + order: -1; +} +.order-last { + -ms-flex-order: 13; + order: 13; +} +.order-0 { + -ms-flex-order: 0; + order: 0; +} +.order-1 { + -ms-flex-order: 1; + order: 1; +} +.order-2 { + -ms-flex-order: 2; + order: 2; +} +.order-3 { + -ms-flex-order: 3; + order: 3; +} +.order-4 { + -ms-flex-order: 4; + order: 4; +} +.order-5 { + -ms-flex-order: 5; + order: 5; +} +.order-6 { + -ms-flex-order: 6; + order: 6; +} +.order-7 { + -ms-flex-order: 7; + order: 7; +} +.order-8 { + -ms-flex-order: 8; + order: 8; +} +.order-9 { + -ms-flex-order: 9; + order: 9; +} +.order-10 { + -ms-flex-order: 10; + order: 10; +} +.order-11 { + -ms-flex-order: 11; + order: 11; +} +.order-12 { + -ms-flex-order: 12; + order: 12; +} +.offset-1 { + margin-left: 8.333333%; +} +.offset-2 { + margin-left: 16.666667%; +} +.offset-3 { + margin-left: 25%; +} +.offset-4 { + margin-left: 33.333333%; +} +.offset-5 { + margin-left: 41.666667%; +} +.offset-6 { + margin-left: 50%; +} +.offset-7 { + margin-left: 58.333333%; +} +.offset-8 { + margin-left: 66.666667%; +} +.offset-9 { + margin-left: 75%; +} +.offset-10 { + margin-left: 83.333333%; +} +.offset-11 { + margin-left: 91.666667%; +} +@media (min-width: 576px) { + .col-sm { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-sm-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-sm-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-sm-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-sm-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-sm-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-sm-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-sm-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-sm-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-sm-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-sm-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-sm-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-sm-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-sm-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-sm-first { + -ms-flex-order: -1; + order: -1; + } + .order-sm-last { + -ms-flex-order: 13; + order: 13; + } + .order-sm-0 { + -ms-flex-order: 0; + order: 0; + } + .order-sm-1 { + -ms-flex-order: 1; + order: 1; + } + .order-sm-2 { + -ms-flex-order: 2; + order: 2; + } + .order-sm-3 { + -ms-flex-order: 3; + order: 3; + } + .order-sm-4 { + -ms-flex-order: 4; + order: 4; + } + .order-sm-5 { + -ms-flex-order: 5; + order: 5; + } + .order-sm-6 { + -ms-flex-order: 6; + order: 6; + } + .order-sm-7 { + -ms-flex-order: 7; + order: 7; + } + .order-sm-8 { + -ms-flex-order: 8; + order: 8; + } + .order-sm-9 { + -ms-flex-order: 9; + order: 9; + } + .order-sm-10 { + -ms-flex-order: 10; + order: 10; + } + .order-sm-11 { + -ms-flex-order: 11; + order: 11; + } + .order-sm-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-sm-0 { + margin-left: 0; + } + .offset-sm-1 { + margin-left: 8.333333%; + } + .offset-sm-2 { + margin-left: 16.666667%; + } + .offset-sm-3 { + margin-left: 25%; + } + .offset-sm-4 { + margin-left: 33.333333%; + } + .offset-sm-5 { + margin-left: 41.666667%; + } + .offset-sm-6 { + margin-left: 50%; + } + .offset-sm-7 { + margin-left: 58.333333%; + } + .offset-sm-8 { + margin-left: 66.666667%; + } + .offset-sm-9 { + margin-left: 75%; + } + .offset-sm-10 { + margin-left: 83.333333%; + } + .offset-sm-11 { + margin-left: 91.666667%; + } +} +@media (min-width: 768px) { + .col-md { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-md-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-md-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-md-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-md-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-md-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-md-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-md-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-md-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-md-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-md-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-md-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-md-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-md-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-md-first { + -ms-flex-order: -1; + order: -1; + } + .order-md-last { + -ms-flex-order: 13; + order: 13; + } + .order-md-0 { + -ms-flex-order: 0; + order: 0; + } + .order-md-1 { + -ms-flex-order: 1; + order: 1; + } + .order-md-2 { + -ms-flex-order: 2; + order: 2; + } + .order-md-3 { + -ms-flex-order: 3; + order: 3; + } + .order-md-4 { + -ms-flex-order: 4; + order: 4; + } + .order-md-5 { + -ms-flex-order: 5; + order: 5; + } + .order-md-6 { + -ms-flex-order: 6; + order: 6; + } + .order-md-7 { + -ms-flex-order: 7; + order: 7; + } + .order-md-8 { + -ms-flex-order: 8; + order: 8; + } + .order-md-9 { + -ms-flex-order: 9; + order: 9; + } + .order-md-10 { + -ms-flex-order: 10; + order: 10; + } + .order-md-11 { + -ms-flex-order: 11; + order: 11; + } + .order-md-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-md-0 { + margin-left: 0; + } + .offset-md-1 { + margin-left: 8.333333%; + } + .offset-md-2 { + margin-left: 16.666667%; + } + .offset-md-3 { + margin-left: 25%; + } + .offset-md-4 { + margin-left: 33.333333%; + } + .offset-md-5 { + margin-left: 41.666667%; + } + .offset-md-6 { + margin-left: 50%; + } + .offset-md-7 { + margin-left: 58.333333%; + } + .offset-md-8 { + margin-left: 66.666667%; + } + .offset-md-9 { + margin-left: 75%; + } + .offset-md-10 { + margin-left: 83.333333%; + } + .offset-md-11 { + margin-left: 91.666667%; + } +} +@media (min-width: 992px) { + .col-lg { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-lg-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-lg-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-lg-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-lg-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-lg-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-lg-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-lg-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-lg-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-lg-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-lg-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-lg-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-lg-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-lg-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-lg-first { + -ms-flex-order: -1; + order: -1; + } + .order-lg-last { + -ms-flex-order: 13; + order: 13; + } + .order-lg-0 { + -ms-flex-order: 0; + order: 0; + } + .order-lg-1 { + -ms-flex-order: 1; + order: 1; + } + .order-lg-2 { + -ms-flex-order: 2; + order: 2; + } + .order-lg-3 { + -ms-flex-order: 3; + order: 3; + } + .order-lg-4 { + -ms-flex-order: 4; + order: 4; + } + .order-lg-5 { + -ms-flex-order: 5; + order: 5; + } + .order-lg-6 { + -ms-flex-order: 6; + order: 6; + } + .order-lg-7 { + -ms-flex-order: 7; + order: 7; + } + .order-lg-8 { + -ms-flex-order: 8; + order: 8; + } + .order-lg-9 { + -ms-flex-order: 9; + order: 9; + } + .order-lg-10 { + -ms-flex-order: 10; + order: 10; + } + .order-lg-11 { + -ms-flex-order: 11; + order: 11; + } + .order-lg-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-lg-0 { + margin-left: 0; + } + .offset-lg-1 { + margin-left: 8.333333%; + } + .offset-lg-2 { + margin-left: 16.666667%; + } + .offset-lg-3 { + margin-left: 25%; + } + .offset-lg-4 { + margin-left: 33.333333%; + } + .offset-lg-5 { + margin-left: 41.666667%; + } + .offset-lg-6 { + margin-left: 50%; + } + .offset-lg-7 { + margin-left: 58.333333%; + } + .offset-lg-8 { + margin-left: 66.666667%; + } + .offset-lg-9 { + margin-left: 75%; + } + .offset-lg-10 { + margin-left: 83.333333%; + } + .offset-lg-11 { + margin-left: 91.666667%; + } +} +@media (min-width: 1200px) { + .col-xl { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + max-width: 100%; + } + .col-xl-auto { + -ms-flex: 0 0 auto; + flex: 0 0 auto; + width: auto; + max-width: 100%; + } + .col-xl-1 { + -ms-flex: 0 0 8.333333%; + flex: 0 0 8.333333%; + max-width: 8.333333%; + } + .col-xl-2 { + -ms-flex: 0 0 16.666667%; + flex: 0 0 16.666667%; + max-width: 16.666667%; + } + .col-xl-3 { + -ms-flex: 0 0 25%; + flex: 0 0 25%; + max-width: 25%; + } + .col-xl-4 { + -ms-flex: 0 0 33.333333%; + flex: 0 0 33.333333%; + max-width: 33.333333%; + } + .col-xl-5 { + -ms-flex: 0 0 41.666667%; + flex: 0 0 41.666667%; + max-width: 41.666667%; + } + .col-xl-6 { + -ms-flex: 0 0 50%; + flex: 0 0 50%; + max-width: 50%; + } + .col-xl-7 { + -ms-flex: 0 0 58.333333%; + flex: 0 0 58.333333%; + max-width: 58.333333%; + } + .col-xl-8 { + -ms-flex: 0 0 66.666667%; + flex: 0 0 66.666667%; + max-width: 66.666667%; + } + .col-xl-9 { + -ms-flex: 0 0 75%; + flex: 0 0 75%; + max-width: 75%; + } + .col-xl-10 { + -ms-flex: 0 0 83.333333%; + flex: 0 0 83.333333%; + max-width: 83.333333%; + } + .col-xl-11 { + -ms-flex: 0 0 91.666667%; + flex: 0 0 91.666667%; + max-width: 91.666667%; + } + .col-xl-12 { + -ms-flex: 0 0 100%; + flex: 0 0 100%; + max-width: 100%; + } + .order-xl-first { + -ms-flex-order: -1; + order: -1; + } + .order-xl-last { + -ms-flex-order: 13; + order: 13; + } + .order-xl-0 { + -ms-flex-order: 0; + order: 0; + } + .order-xl-1 { + -ms-flex-order: 1; + order: 1; + } + .order-xl-2 { + -ms-flex-order: 2; + order: 2; + } + .order-xl-3 { + -ms-flex-order: 3; + order: 3; + } + .order-xl-4 { + -ms-flex-order: 4; + order: 4; + } + .order-xl-5 { + -ms-flex-order: 5; + order: 5; + } + .order-xl-6 { + -ms-flex-order: 6; + order: 6; + } + .order-xl-7 { + -ms-flex-order: 7; + order: 7; + } + .order-xl-8 { + -ms-flex-order: 8; + order: 8; + } + .order-xl-9 { + -ms-flex-order: 9; + order: 9; + } + .order-xl-10 { + -ms-flex-order: 10; + order: 10; + } + .order-xl-11 { + -ms-flex-order: 11; + order: 11; + } + .order-xl-12 { + -ms-flex-order: 12; + order: 12; + } + .offset-xl-0 { + margin-left: 0; + } + .offset-xl-1 { + margin-left: 8.333333%; + } + .offset-xl-2 { + margin-left: 16.666667%; + } + .offset-xl-3 { + margin-left: 25%; + } + .offset-xl-4 { + margin-left: 33.333333%; + } + .offset-xl-5 { + margin-left: 41.666667%; + } + .offset-xl-6 { + margin-left: 50%; + } + .offset-xl-7 { + margin-left: 58.333333%; + } + .offset-xl-8 { + margin-left: 66.666667%; + } + .offset-xl-9 { + margin-left: 75%; + } + .offset-xl-10 { + margin-left: 83.333333%; + } + .offset-xl-11 { + margin-left: 91.666667%; + } +} +.table { + width: 100%; + margin-bottom: 1rem; + background-color: transparent; +} +.table td, +.table th { + padding: 0.75rem; + vertical-align: top; + border-top: 1px solid #dee2e6; +} +.table thead th { + vertical-align: bottom; + border-bottom: 2px solid #dee2e6; +} +.table tbody + tbody { + border-top: 2px solid #dee2e6; +} +.table .table { + background-color: #fff; +} +.table-sm td, +.table-sm th { + padding: 0.3rem; +} +.table-bordered { + border: 1px solid #dee2e6; +} +.table-bordered td, +.table-bordered th { + border: 1px solid #dee2e6; +} +.table-bordered thead td, +.table-bordered thead th { + border-bottom-width: 2px; +} +.table-borderless tbody + tbody, +.table-borderless td, +.table-borderless th, +.table-borderless thead th { + border: 0; +} +.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(0, 0, 0, 0.05); +} +.table-hover tbody tr:hover { + background-color: rgba(0, 0, 0, 0.075); +} +.table-primary, +.table-primary > td, +.table-primary > th { + background-color: #b8daff; +} +.table-primary tbody + tbody, +.table-primary td, +.table-primary th, +.table-primary thead th { + border-color: #7abaff; +} +.table-hover .table-primary:hover { + background-color: #9fcdff; +} +.table-hover .table-primary:hover > td, +.table-hover .table-primary:hover > th { + background-color: #9fcdff; +} +.table-secondary, +.table-secondary > td, +.table-secondary > th { + background-color: #d6d8db; +} +.table-secondary tbody + tbody, +.table-secondary td, +.table-secondary th, +.table-secondary thead th { + border-color: #b3b7bb; +} +.table-hover .table-secondary:hover { + background-color: #c8cbcf; +} +.table-hover .table-secondary:hover > td, +.table-hover .table-secondary:hover > th { + background-color: #c8cbcf; +} +.table-success, +.table-success > td, +.table-success > th { + background-color: #c3e6cb; +} +.table-success tbody + tbody, +.table-success td, +.table-success th, +.table-success thead th { + border-color: #8fd19e; +} +.table-hover .table-success:hover { + background-color: #b1dfbb; +} +.table-hover .table-success:hover > td, +.table-hover .table-success:hover > th { + background-color: #b1dfbb; +} +.table-info, +.table-info > td, +.table-info > th { + background-color: #bee5eb; +} +.table-info tbody + tbody, +.table-info td, +.table-info th, +.table-info thead th { + border-color: #86cfda; +} +.table-hover .table-info:hover { + background-color: #abdde5; +} +.table-hover .table-info:hover > td, +.table-hover .table-info:hover > th { + background-color: #abdde5; +} +.table-warning, +.table-warning > td, +.table-warning > th { + background-color: #ffeeba; +} +.table-warning tbody + tbody, +.table-warning td, +.table-warning th, +.table-warning thead th { + border-color: #ffdf7e; +} +.table-hover .table-warning:hover { + background-color: #ffe8a1; +} +.table-hover .table-warning:hover > td, +.table-hover .table-warning:hover > th { + background-color: #ffe8a1; +} +.table-danger, +.table-danger > td, +.table-danger > th { + background-color: #f5c6cb; +} +.table-danger tbody + tbody, +.table-danger td, +.table-danger th, +.table-danger thead th { + border-color: #ed969e; +} +.table-hover .table-danger:hover { + background-color: #f1b0b7; +} +.table-hover .table-danger:hover > td, +.table-hover .table-danger:hover > th { + background-color: #f1b0b7; +} +.table-light, +.table-light > td, +.table-light > th { + background-color: #fdfdfe; +} +.table-light tbody + tbody, +.table-light td, +.table-light th, +.table-light thead th { + border-color: #fbfcfc; +} +.table-hover .table-light:hover { + background-color: #ececf6; +} +.table-hover .table-light:hover > td, +.table-hover .table-light:hover > th { + background-color: #ececf6; +} +.table-dark, +.table-dark > td, +.table-dark > th { + background-color: #c6c8ca; +} +.table-dark tbody + tbody, +.table-dark td, +.table-dark th, +.table-dark thead th { + border-color: #95999c; +} +.table-hover .table-dark:hover { + background-color: #b9bbbe; +} +.table-hover .table-dark:hover > td, +.table-hover .table-dark:hover > th { + background-color: #b9bbbe; +} +.table-active, +.table-active > td, +.table-active > th { + background-color: rgba(0, 0, 0, 0.075); +} +.table-hover .table-active:hover { + background-color: rgba(0, 0, 0, 0.075); +} +.table-hover .table-active:hover > td, +.table-hover .table-active:hover > th { + background-color: rgba(0, 0, 0, 0.075); +} +.table .thead-dark th { + color: #fff; + background-color: #212529; + border-color: #32383e; +} +.table .thead-light th { + color: #495057; + background-color: #e9ecef; + border-color: #dee2e6; +} +.table-dark { + color: #fff; + background-color: #212529; +} +.table-dark td, +.table-dark th, +.table-dark thead th { + border-color: #32383e; +} +.table-dark.table-bordered { + border: 0; +} +.table-dark.table-striped tbody tr:nth-of-type(odd) { + background-color: rgba(255, 255, 255, 0.05); +} +.table-dark.table-hover tbody tr:hover { + background-color: rgba(255, 255, 255, 0.075); +} +@media (max-width: 575.98px) { + .table-responsive-sm { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-sm > .table-bordered { + border: 0; + } +} +@media (max-width: 767.98px) { + .table-responsive-md { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-md > .table-bordered { + border: 0; + } +} +@media (max-width: 991.98px) { + .table-responsive-lg { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-lg > .table-bordered { + border: 0; + } +} +@media (max-width: 1199.98px) { + .table-responsive-xl { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; + } + .table-responsive-xl > .table-bordered { + border: 0; + } +} +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + -ms-overflow-style: -ms-autohiding-scrollbar; +} +.table-responsive > .table-bordered { + border: 0; +} +.form-control { + display: block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + border-radius: 0.25rem; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} +@media screen and (prefers-reduced-motion: reduce) { + .form-control { + transition: none; + } +} +.form-control::-ms-expand { + background-color: transparent; + border: 0; +} +.form-control:focus { + color: #495057; + background-color: #fff; + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.form-control::-webkit-input-placeholder { + color: #6c757d; + opacity: 1; +} +.form-control::-moz-placeholder { + color: #6c757d; + opacity: 1; +} +.form-control:-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} +.form-control::-ms-input-placeholder { + color: #6c757d; + opacity: 1; +} +.form-control::placeholder { + color: #6c757d; + opacity: 1; +} +.form-control:disabled, +.form-control[readonly] { + background-color: #e9ecef; + opacity: 1; +} +select.form-control:focus::-ms-value { + color: #495057; + background-color: #fff; +} +.form-control-file, +.form-control-range { + display: block; + width: 100%; +} +.col-form-label { + padding-top: calc(0.375rem + 1px); + padding-bottom: calc(0.375rem + 1px); + margin-bottom: 0; + font-size: inherit; + line-height: 1.5; +} +.col-form-label-lg { + padding-top: calc(0.5rem + 1px); + padding-bottom: calc(0.5rem + 1px); + font-size: 1.25rem; + line-height: 1.5; +} +.col-form-label-sm { + padding-top: calc(0.25rem + 1px); + padding-bottom: calc(0.25rem + 1px); + font-size: 0.875rem; + line-height: 1.5; +} +.form-control-plaintext { + display: block; + width: 100%; + padding-top: 0.375rem; + padding-bottom: 0.375rem; + margin-bottom: 0; + line-height: 1.5; + color: #212529; + background-color: transparent; + border: solid transparent; + border-width: 1px 0; +} +.form-control-plaintext.form-control-lg, +.form-control-plaintext.form-control-sm { + padding-right: 0; + padding-left: 0; +} +.form-control-sm { + height: calc(1.8125rem + 2px); + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} +.form-control-lg { + height: calc(2.875rem + 2px); + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} +select.form-control[multiple], +select.form-control[size] { + height: auto; +} +textarea.form-control { + height: auto; +} +.form-group { + margin-bottom: 1rem; +} +.form-text { + display: block; + margin-top: 0.25rem; +} +.form-row { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + margin-right: -5px; + margin-left: -5px; +} +.form-row > .col, +.form-row > [class*="col-"] { + padding-right: 5px; + padding-left: 5px; +} +.form-check { + position: relative; + display: block; + padding-left: 1.25rem; +} +.form-check-input { + position: absolute; + margin-top: 0.3rem; + margin-left: -1.25rem; +} +.form-check-input:disabled ~ .form-check-label { + color: #6c757d; +} +.form-check-label { + margin-bottom: 0; +} +.form-check-inline { + display: -ms-inline-flexbox; + display: inline-flex; + -ms-flex-align: center; + align-items: center; + padding-left: 0; + margin-right: 0.75rem; +} +.form-check-inline .form-check-input { + position: static; + margin-top: 0; + margin-right: 0.3125rem; + margin-left: 0; +} +.valid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #28a745; +} +.valid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: 0.1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(40, 167, 69, 0.9); + border-radius: 0.25rem; +} +.form-control.is-valid, +.was-validated .form-control:valid { + border-color: #28a745; + padding-right: 2.25rem; + background-repeat: no-repeat; + background-position: center right calc(2.25rem / 4); + background-size: calc(2.25rem / 2) calc(2.25rem / 2); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); +} +.form-control.is-valid:focus, +.was-validated .form-control:valid:focus { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} +.form-control.is-valid ~ .valid-feedback, +.form-control.is-valid ~ .valid-tooltip, +.was-validated .form-control:valid ~ .valid-feedback, +.was-validated .form-control:valid ~ .valid-tooltip { + display: block; +} +.was-validated textarea.form-control:valid, +textarea.form-control.is-valid { + padding-right: 2.25rem; + background-position: top calc(2.25rem / 4) right calc(2.25rem / 4); +} +.custom-select.is-valid, +.was-validated .custom-select:valid { + border-color: #28a745; + padding-right: 3.4375rem; + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") + no-repeat right 0.75rem center/8px 10px, + url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") + no-repeat center right 1.75rem/1.125rem 1.125rem; +} +.custom-select.is-valid:focus, +.was-validated .custom-select:valid:focus { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} +.custom-select.is-valid ~ .valid-feedback, +.custom-select.is-valid ~ .valid-tooltip, +.was-validated .custom-select:valid ~ .valid-feedback, +.was-validated .custom-select:valid ~ .valid-tooltip { + display: block; +} +.form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip, +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip { + display: block; +} +.form-check-input.is-valid ~ .form-check-label, +.was-validated .form-check-input:valid ~ .form-check-label { + color: #28a745; +} +.form-check-input.is-valid ~ .valid-feedback, +.form-check-input.is-valid ~ .valid-tooltip, +.was-validated .form-check-input:valid ~ .valid-feedback, +.was-validated .form-check-input:valid ~ .valid-tooltip { + display: block; +} +.custom-control-input.is-valid ~ .custom-control-label, +.was-validated .custom-control-input:valid ~ .custom-control-label { + color: #28a745; +} +.custom-control-input.is-valid ~ .custom-control-label::before, +.was-validated .custom-control-input:valid ~ .custom-control-label::before { + border-color: #28a745; +} +.custom-control-input.is-valid ~ .valid-feedback, +.custom-control-input.is-valid ~ .valid-tooltip, +.was-validated .custom-control-input:valid ~ .valid-feedback, +.was-validated .custom-control-input:valid ~ .valid-tooltip { + display: block; +} +.custom-control-input.is-valid:checked ~ .custom-control-label::before, +.was-validated + .custom-control-input:valid:checked + ~ .custom-control-label::before { + border-color: #34ce57; + background-color: #34ce57; +} +.custom-control-input.is-valid:focus ~ .custom-control-label::before, +.was-validated + .custom-control-input:valid:focus + ~ .custom-control-label::before { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} +.custom-control-input.is-valid:focus:not(:checked) + ~ .custom-control-label::before, +.was-validated + .custom-control-input:valid:focus:not(:checked) + ~ .custom-control-label::before { + border-color: #28a745; +} +.custom-file-input.is-valid ~ .custom-file-label, +.was-validated .custom-file-input:valid ~ .custom-file-label { + border-color: #28a745; +} +.custom-file-input.is-valid ~ .valid-feedback, +.custom-file-input.is-valid ~ .valid-tooltip, +.was-validated .custom-file-input:valid ~ .valid-feedback, +.was-validated .custom-file-input:valid ~ .valid-tooltip { + display: block; +} +.custom-file-input.is-valid:focus ~ .custom-file-label, +.was-validated .custom-file-input:valid:focus ~ .custom-file-label { + border-color: #28a745; + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); +} +.invalid-feedback { + display: none; + width: 100%; + margin-top: 0.25rem; + font-size: 80%; + color: #dc3545; +} +.invalid-tooltip { + position: absolute; + top: 100%; + z-index: 5; + display: none; + max-width: 100%; + padding: 0.25rem 0.5rem; + margin-top: 0.1rem; + font-size: 0.875rem; + line-height: 1.5; + color: #fff; + background-color: rgba(220, 53, 69, 0.9); + border-radius: 0.25rem; +} +.form-control.is-invalid, +.was-validated .form-control:invalid { + border-color: #dc3545; + padding-right: 2.25rem; + background-repeat: no-repeat; + background-position: center right calc(2.25rem / 4); + background-size: calc(2.25rem / 2) calc(2.25rem / 2); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"); +} +.form-control.is-invalid:focus, +.was-validated .form-control:invalid:focus { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} +.form-control.is-invalid ~ .invalid-feedback, +.form-control.is-invalid ~ .invalid-tooltip, +.was-validated .form-control:invalid ~ .invalid-feedback, +.was-validated .form-control:invalid ~ .invalid-tooltip { + display: block; +} +.was-validated textarea.form-control:invalid, +textarea.form-control.is-invalid { + padding-right: 2.25rem; + background-position: top calc(2.25rem / 4) right calc(2.25rem / 4); +} +.custom-select.is-invalid, +.was-validated .custom-select:invalid { + border-color: #dc3545; + padding-right: 3.4375rem; + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") + no-repeat right 0.75rem center/8px 10px, + url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") + no-repeat center right 1.75rem/1.125rem 1.125rem; +} +.custom-select.is-invalid:focus, +.was-validated .custom-select:invalid:focus { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} +.custom-select.is-invalid ~ .invalid-feedback, +.custom-select.is-invalid ~ .invalid-tooltip, +.was-validated .custom-select:invalid ~ .invalid-feedback, +.was-validated .custom-select:invalid ~ .invalid-tooltip { + display: block; +} +.form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip, +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip { + display: block; +} +.form-check-input.is-invalid ~ .form-check-label, +.was-validated .form-check-input:invalid ~ .form-check-label { + color: #dc3545; +} +.form-check-input.is-invalid ~ .invalid-feedback, +.form-check-input.is-invalid ~ .invalid-tooltip, +.was-validated .form-check-input:invalid ~ .invalid-feedback, +.was-validated .form-check-input:invalid ~ .invalid-tooltip { + display: block; +} +.custom-control-input.is-invalid ~ .custom-control-label, +.was-validated .custom-control-input:invalid ~ .custom-control-label { + color: #dc3545; +} +.custom-control-input.is-invalid ~ .custom-control-label::before, +.was-validated .custom-control-input:invalid ~ .custom-control-label::before { + border-color: #dc3545; +} +.custom-control-input.is-invalid ~ .invalid-feedback, +.custom-control-input.is-invalid ~ .invalid-tooltip, +.was-validated .custom-control-input:invalid ~ .invalid-feedback, +.was-validated .custom-control-input:invalid ~ .invalid-tooltip { + display: block; +} +.custom-control-input.is-invalid:checked ~ .custom-control-label::before, +.was-validated + .custom-control-input:invalid:checked + ~ .custom-control-label::before { + border-color: #e4606d; + background-color: #e4606d; +} +.custom-control-input.is-invalid:focus ~ .custom-control-label::before, +.was-validated + .custom-control-input:invalid:focus + ~ .custom-control-label::before { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} +.custom-control-input.is-invalid:focus:not(:checked) + ~ .custom-control-label::before, +.was-validated + .custom-control-input:invalid:focus:not(:checked) + ~ .custom-control-label::before { + border-color: #dc3545; +} +.custom-file-input.is-invalid ~ .custom-file-label, +.was-validated .custom-file-input:invalid ~ .custom-file-label { + border-color: #dc3545; +} +.custom-file-input.is-invalid ~ .invalid-feedback, +.custom-file-input.is-invalid ~ .invalid-tooltip, +.was-validated .custom-file-input:invalid ~ .invalid-feedback, +.was-validated .custom-file-input:invalid ~ .invalid-tooltip { + display: block; +} +.custom-file-input.is-invalid:focus ~ .custom-file-label, +.was-validated .custom-file-input:invalid:focus ~ .custom-file-label { + border-color: #dc3545; + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); +} +.form-inline { + display: -ms-flexbox; + display: flex; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; +} +.form-inline .form-check { + width: 100%; +} +@media (min-width: 576px) { + .form-inline label { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + margin-bottom: 0; + } + .form-inline .form-group { + display: -ms-flexbox; + display: flex; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + -ms-flex-flow: row wrap; + flex-flow: row wrap; + -ms-flex-align: center; + align-items: center; + margin-bottom: 0; + } + .form-inline .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-plaintext { + display: inline-block; + } + .form-inline .custom-select, + .form-inline .input-group { + width: auto; + } + .form-inline .form-check { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: auto; + padding-left: 0; + } + .form-inline .form-check-input { + position: relative; + margin-top: 0; + margin-right: 0.25rem; + margin-left: 0; + } + .form-inline .custom-control { + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + } + .form-inline .custom-control-label { + margin-bottom: 0; + } +} +.btn { + display: inline-block; + font-weight: 400; + color: #212529; + text-align: center; + vertical-align: middle; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-color: transparent; + border: 1px solid transparent; + padding: 0.375rem 0.75rem; + font-size: 1rem; + line-height: 1.5; + border-radius: 0.25rem; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; +} +@media screen and (prefers-reduced-motion: reduce) { + .btn { + transition: none; + } +} +.btn:hover { + color: #212529; + text-decoration: none; +} +.btn.focus, +.btn:focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.btn.disabled, +.btn:disabled { + opacity: 0.65; +} +.btn:not(:disabled):not(.disabled) { + cursor: pointer; +} +a.btn.disabled, +fieldset:disabled a.btn { + pointer-events: none; +} +.btn-primary { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.btn-primary:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} +.btn-primary.focus, +.btn-primary:focus { + box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); +} +.btn-primary.disabled, +.btn-primary:disabled { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.btn-primary:not(:disabled):not(.disabled).active, +.btn-primary:not(:disabled):not(.disabled):active, +.show > .btn-primary.dropdown-toggle { + color: #fff; + background-color: #0062cc; + border-color: #005cbf; +} +.btn-primary:not(:disabled):not(.disabled).active:focus, +.btn-primary:not(:disabled):not(.disabled):active:focus, +.show > .btn-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); +} +.btn-secondary { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} +.btn-secondary:hover { + color: #fff; + background-color: #5a6268; + border-color: #545b62; +} +.btn-secondary.focus, +.btn-secondary:focus { + box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); +} +.btn-secondary.disabled, +.btn-secondary:disabled { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} +.btn-secondary:not(:disabled):not(.disabled).active, +.btn-secondary:not(:disabled):not(.disabled):active, +.show > .btn-secondary.dropdown-toggle { + color: #fff; + background-color: #545b62; + border-color: #4e555b; +} +.btn-secondary:not(:disabled):not(.disabled).active:focus, +.btn-secondary:not(:disabled):not(.disabled):active:focus, +.show > .btn-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); +} +.btn-success { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} +.btn-success:hover { + color: #fff; + background-color: #218838; + border-color: #1e7e34; +} +.btn-success.focus, +.btn-success:focus { + box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); +} +.btn-success.disabled, +.btn-success:disabled { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} +.btn-success:not(:disabled):not(.disabled).active, +.btn-success:not(:disabled):not(.disabled):active, +.show > .btn-success.dropdown-toggle { + color: #fff; + background-color: #1e7e34; + border-color: #1c7430; +} +.btn-success:not(:disabled):not(.disabled).active:focus, +.btn-success:not(:disabled):not(.disabled):active:focus, +.show > .btn-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5); +} +.btn-info { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} +.btn-info:hover { + color: #fff; + background-color: #138496; + border-color: #117a8b; +} +.btn-info.focus, +.btn-info:focus { + box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); +} +.btn-info.disabled, +.btn-info:disabled { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} +.btn-info:not(:disabled):not(.disabled).active, +.btn-info:not(:disabled):not(.disabled):active, +.show > .btn-info.dropdown-toggle { + color: #fff; + background-color: #117a8b; + border-color: #10707f; +} +.btn-info:not(:disabled):not(.disabled).active:focus, +.btn-info:not(:disabled):not(.disabled):active:focus, +.show > .btn-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5); +} +.btn-warning { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} +.btn-warning:hover { + color: #212529; + background-color: #e0a800; + border-color: #d39e00; +} +.btn-warning.focus, +.btn-warning:focus { + box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); +} +.btn-warning.disabled, +.btn-warning:disabled { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} +.btn-warning:not(:disabled):not(.disabled).active, +.btn-warning:not(:disabled):not(.disabled):active, +.show > .btn-warning.dropdown-toggle { + color: #212529; + background-color: #d39e00; + border-color: #c69500; +} +.btn-warning:not(:disabled):not(.disabled).active:focus, +.btn-warning:not(:disabled):not(.disabled):active:focus, +.show > .btn-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5); +} +.btn-danger { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} +.btn-danger:hover { + color: #fff; + background-color: #c82333; + border-color: #bd2130; +} +.btn-danger.focus, +.btn-danger:focus { + box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); +} +.btn-danger.disabled, +.btn-danger:disabled { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} +.btn-danger:not(:disabled):not(.disabled).active, +.btn-danger:not(:disabled):not(.disabled):active, +.show > .btn-danger.dropdown-toggle { + color: #fff; + background-color: #bd2130; + border-color: #b21f2d; +} +.btn-danger:not(:disabled):not(.disabled).active:focus, +.btn-danger:not(:disabled):not(.disabled):active:focus, +.show > .btn-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5); +} +.btn-light { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} +.btn-light:hover { + color: #212529; + background-color: #e2e6ea; + border-color: #dae0e5; +} +.btn-light.focus, +.btn-light:focus { + box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); +} +.btn-light.disabled, +.btn-light:disabled { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} +.btn-light:not(:disabled):not(.disabled).active, +.btn-light:not(:disabled):not(.disabled):active, +.show > .btn-light.dropdown-toggle { + color: #212529; + background-color: #dae0e5; + border-color: #d3d9df; +} +.btn-light:not(:disabled):not(.disabled).active:focus, +.btn-light:not(:disabled):not(.disabled):active:focus, +.show > .btn-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5); +} +.btn-dark { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} +.btn-dark:hover { + color: #fff; + background-color: #23272b; + border-color: #1d2124; +} +.btn-dark.focus, +.btn-dark:focus { + box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); +} +.btn-dark.disabled, +.btn-dark:disabled { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} +.btn-dark:not(:disabled):not(.disabled).active, +.btn-dark:not(:disabled):not(.disabled):active, +.show > .btn-dark.dropdown-toggle { + color: #fff; + background-color: #1d2124; + border-color: #171a1d; +} +.btn-dark:not(:disabled):not(.disabled).active:focus, +.btn-dark:not(:disabled):not(.disabled):active:focus, +.show > .btn-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5); +} +.btn-outline-primary { + color: #007bff; + border-color: #007bff; +} +.btn-outline-primary:hover { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.btn-outline-primary.focus, +.btn-outline-primary:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} +.btn-outline-primary.disabled, +.btn-outline-primary:disabled { + color: #007bff; + background-color: transparent; +} +.btn-outline-primary:not(:disabled):not(.disabled).active, +.btn-outline-primary:not(:disabled):not(.disabled):active, +.show > .btn-outline-primary.dropdown-toggle { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.btn-outline-primary:not(:disabled):not(.disabled).active:focus, +.btn-outline-primary:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-primary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5); +} +.btn-outline-secondary { + color: #6c757d; + border-color: #6c757d; +} +.btn-outline-secondary:hover { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} +.btn-outline-secondary.focus, +.btn-outline-secondary:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} +.btn-outline-secondary.disabled, +.btn-outline-secondary:disabled { + color: #6c757d; + background-color: transparent; +} +.btn-outline-secondary:not(:disabled):not(.disabled).active, +.btn-outline-secondary:not(:disabled):not(.disabled):active, +.show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #6c757d; + border-color: #6c757d; +} +.btn-outline-secondary:not(:disabled):not(.disabled).active:focus, +.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5); +} +.btn-outline-success { + color: #28a745; + border-color: #28a745; +} +.btn-outline-success:hover { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} +.btn-outline-success.focus, +.btn-outline-success:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} +.btn-outline-success.disabled, +.btn-outline-success:disabled { + color: #28a745; + background-color: transparent; +} +.btn-outline-success:not(:disabled):not(.disabled).active, +.btn-outline-success:not(:disabled):not(.disabled):active, +.show > .btn-outline-success.dropdown-toggle { + color: #fff; + background-color: #28a745; + border-color: #28a745; +} +.btn-outline-success:not(:disabled):not(.disabled).active:focus, +.btn-outline-success:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-success.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5); +} +.btn-outline-info { + color: #17a2b8; + border-color: #17a2b8; +} +.btn-outline-info:hover { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} +.btn-outline-info.focus, +.btn-outline-info:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} +.btn-outline-info.disabled, +.btn-outline-info:disabled { + color: #17a2b8; + background-color: transparent; +} +.btn-outline-info:not(:disabled):not(.disabled).active, +.btn-outline-info:not(:disabled):not(.disabled):active, +.show > .btn-outline-info.dropdown-toggle { + color: #fff; + background-color: #17a2b8; + border-color: #17a2b8; +} +.btn-outline-info:not(:disabled):not(.disabled).active:focus, +.btn-outline-info:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-info.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5); +} +.btn-outline-warning { + color: #ffc107; + border-color: #ffc107; +} +.btn-outline-warning:hover { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} +.btn-outline-warning.focus, +.btn-outline-warning:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} +.btn-outline-warning.disabled, +.btn-outline-warning:disabled { + color: #ffc107; + background-color: transparent; +} +.btn-outline-warning:not(:disabled):not(.disabled).active, +.btn-outline-warning:not(:disabled):not(.disabled):active, +.show > .btn-outline-warning.dropdown-toggle { + color: #212529; + background-color: #ffc107; + border-color: #ffc107; +} +.btn-outline-warning:not(:disabled):not(.disabled).active:focus, +.btn-outline-warning:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-warning.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5); +} +.btn-outline-danger { + color: #dc3545; + border-color: #dc3545; +} +.btn-outline-danger:hover { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} +.btn-outline-danger.focus, +.btn-outline-danger:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} +.btn-outline-danger.disabled, +.btn-outline-danger:disabled { + color: #dc3545; + background-color: transparent; +} +.btn-outline-danger:not(:disabled):not(.disabled).active, +.btn-outline-danger:not(:disabled):not(.disabled):active, +.show > .btn-outline-danger.dropdown-toggle { + color: #fff; + background-color: #dc3545; + border-color: #dc3545; +} +.btn-outline-danger:not(:disabled):not(.disabled).active:focus, +.btn-outline-danger:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-danger.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5); +} +.btn-outline-light { + color: #f8f9fa; + border-color: #f8f9fa; +} +.btn-outline-light:hover { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} +.btn-outline-light.focus, +.btn-outline-light:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} +.btn-outline-light.disabled, +.btn-outline-light:disabled { + color: #f8f9fa; + background-color: transparent; +} +.btn-outline-light:not(:disabled):not(.disabled).active, +.btn-outline-light:not(:disabled):not(.disabled):active, +.show > .btn-outline-light.dropdown-toggle { + color: #212529; + background-color: #f8f9fa; + border-color: #f8f9fa; +} +.btn-outline-light:not(:disabled):not(.disabled).active:focus, +.btn-outline-light:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-light.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5); +} +.btn-outline-dark { + color: #343a40; + border-color: #343a40; +} +.btn-outline-dark:hover { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} +.btn-outline-dark.focus, +.btn-outline-dark:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} +.btn-outline-dark.disabled, +.btn-outline-dark:disabled { + color: #343a40; + background-color: transparent; +} +.btn-outline-dark:not(:disabled):not(.disabled).active, +.btn-outline-dark:not(:disabled):not(.disabled):active, +.show > .btn-outline-dark.dropdown-toggle { + color: #fff; + background-color: #343a40; + border-color: #343a40; +} +.btn-outline-dark:not(:disabled):not(.disabled).active:focus, +.btn-outline-dark:not(:disabled):not(.disabled):active:focus, +.show > .btn-outline-dark.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5); +} +.btn-link { + font-weight: 400; + color: #007bff; +} +.btn-link:hover { + color: #0056b3; + text-decoration: underline; +} +.btn-link.focus, +.btn-link:focus { + text-decoration: underline; + box-shadow: none; +} +.btn-link.disabled, +.btn-link:disabled { + color: #6c757d; + pointer-events: none; +} +.btn-group-lg > .btn, +.btn-lg { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} +.btn-group-sm > .btn, +.btn-sm { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 0.5rem; +} +input[type="button"].btn-block, +input[type="reset"].btn-block, +input[type="submit"].btn-block { + width: 100%; +} +.fade { + transition: opacity 0.15s linear; +} +@media screen and (prefers-reduced-motion: reduce) { + .fade { + transition: none; + } +} +.fade:not(.show) { + opacity: 0; +} +.collapse:not(.show) { + display: none; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + transition: height 0.35s ease; +} +@media screen and (prefers-reduced-motion: reduce) { + .collapsing { + transition: none; + } +} +.dropdown, +.dropleft, +.dropright, +.dropup { + position: relative; +} +.dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid; + border-right: 0.3em solid transparent; + border-bottom: 0; + border-left: 0.3em solid transparent; +} +.dropdown-toggle:empty::after { + margin-left: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 10rem; + padding: 0.5rem 0; + margin: 0.125rem 0 0; + font-size: 1rem; + color: #212529; + text-align: left; + list-style: none; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; +} +.dropdown-menu-right { + right: 0; + left: auto; +} +@media (min-width: 576px) { + .dropdown-menu-sm-right { + right: 0; + left: auto; + } +} +@media (min-width: 768px) { + .dropdown-menu-md-right { + right: 0; + left: auto; + } +} +@media (min-width: 992px) { + .dropdown-menu-lg-right { + right: 0; + left: auto; + } +} +@media (min-width: 1200px) { + .dropdown-menu-xl-right { + right: 0; + left: auto; + } +} +.dropdown-menu-left { + right: auto; + left: 0; +} +@media (min-width: 576px) { + .dropdown-menu-sm-left { + right: auto; + left: 0; + } +} +@media (min-width: 768px) { + .dropdown-menu-md-left { + right: auto; + left: 0; + } +} +@media (min-width: 992px) { + .dropdown-menu-lg-left { + right: auto; + left: 0; + } +} +@media (min-width: 1200px) { + .dropdown-menu-xl-left { + right: auto; + left: 0; + } +} +.dropup .dropdown-menu { + top: auto; + bottom: 100%; + margin-top: 0; + margin-bottom: 0.125rem; +} +.dropup .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0; + border-right: 0.3em solid transparent; + border-bottom: 0.3em solid; + border-left: 0.3em solid transparent; +} +.dropup .dropdown-toggle:empty::after { + margin-left: 0; +} +.dropright .dropdown-menu { + top: 0; + right: auto; + left: 100%; + margin-top: 0; + margin-left: 0.125rem; +} +.dropright .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0; + border-bottom: 0.3em solid transparent; + border-left: 0.3em solid; +} +.dropright .dropdown-toggle:empty::after { + margin-left: 0; +} +.dropright .dropdown-toggle::after { + vertical-align: 0; +} +.dropleft .dropdown-menu { + top: 0; + right: 100%; + left: auto; + margin-top: 0; + margin-right: 0.125rem; +} +.dropleft .dropdown-toggle::after { + display: inline-block; + margin-left: 0.255em; + vertical-align: 0.255em; + content: ""; +} +.dropleft .dropdown-toggle::after { + display: none; +} +.dropleft .dropdown-toggle::before { + display: inline-block; + margin-right: 0.255em; + vertical-align: 0.255em; + content: ""; + border-top: 0.3em solid transparent; + border-right: 0.3em solid; + border-bottom: 0.3em solid transparent; +} +.dropleft .dropdown-toggle:empty::after { + margin-left: 0; +} +.dropleft .dropdown-toggle::before { + vertical-align: 0; +} +.dropdown-menu[x-placement^="bottom"], +.dropdown-menu[x-placement^="left"], +.dropdown-menu[x-placement^="right"], +.dropdown-menu[x-placement^="top"] { + right: auto; + bottom: auto; +} +.dropdown-divider { + height: 0; + margin: 0.5rem 0; + overflow: hidden; + border-top: 1px solid #e9ecef; +} +.dropdown-item { + display: block; + width: 100%; + padding: 0.25rem 1.5rem; + clear: both; + font-weight: 400; + color: #212529; + text-align: inherit; + white-space: nowrap; + background-color: transparent; + border: 0; +} +.dropdown-item:first-child { + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} +.dropdown-item:last-child { + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} +.dropdown-item:focus, +.dropdown-item:hover { + color: #16181b; + text-decoration: none; + background-color: #f8f9fa; +} +.dropdown-item.active, +.dropdown-item:active { + color: #fff; + text-decoration: none; + background-color: #007bff; +} +.dropdown-item.disabled, +.dropdown-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: transparent; +} +.dropdown-menu.show { + display: block; +} +.dropdown-header { + display: block; + padding: 0.5rem 1.5rem; + margin-bottom: 0; + font-size: 0.875rem; + color: #6c757d; + white-space: nowrap; +} +.dropdown-item-text { + display: block; + padding: 0.25rem 1.5rem; + color: #212529; +} +.btn-group, +.btn-group-vertical { + position: relative; + display: -ms-inline-flexbox; + display: inline-flex; + vertical-align: middle; +} +.btn-group-vertical > .btn, +.btn-group > .btn { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; +} +.btn-group-vertical > .btn:hover, +.btn-group > .btn:hover { + z-index: 1; +} +.btn-group-vertical > .btn.active, +.btn-group-vertical > .btn:active, +.btn-group-vertical > .btn:focus, +.btn-group > .btn.active, +.btn-group > .btn:active, +.btn-group > .btn:focus { + z-index: 1; +} +.btn-toolbar { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-pack: start; + justify-content: flex-start; +} +.btn-toolbar .input-group { + width: auto; +} +.btn-group > .btn-group:not(:first-child), +.btn-group > .btn:not(:first-child) { + margin-left: -1px; +} +.btn-group > .btn-group:not(:last-child) > .btn, +.btn-group > .btn:not(:last-child):not(.dropdown-toggle) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.btn-group > .btn-group:not(:first-child) > .btn, +.btn-group > .btn:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.dropdown-toggle-split { + padding-right: 0.5625rem; + padding-left: 0.5625rem; +} +.dropdown-toggle-split::after, +.dropright .dropdown-toggle-split::after, +.dropup .dropdown-toggle-split::after { + margin-left: 0; +} +.dropleft .dropdown-toggle-split::before { + margin-right: 0; +} +.btn-group-sm > .btn + .dropdown-toggle-split, +.btn-sm + .dropdown-toggle-split { + padding-right: 0.375rem; + padding-left: 0.375rem; +} +.btn-group-lg > .btn + .dropdown-toggle-split, +.btn-lg + .dropdown-toggle-split { + padding-right: 0.75rem; + padding-left: 0.75rem; +} +.btn-group-vertical { + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: center; + justify-content: center; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group { + width: 100%; +} +.btn-group-vertical > .btn-group:not(:first-child), +.btn-group-vertical > .btn:not(:first-child) { + margin-top: -1px; +} +.btn-group-vertical > .btn-group:not(:last-child) > .btn, +.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:not(:first-child) > .btn, +.btn-group-vertical > .btn:not(:first-child) { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.btn-group-toggle > .btn, +.btn-group-toggle > .btn-group > .btn { + margin-bottom: 0; +} +.btn-group-toggle > .btn input[type="checkbox"], +.btn-group-toggle > .btn input[type="radio"], +.btn-group-toggle > .btn-group > .btn input[type="checkbox"], +.btn-group-toggle > .btn-group > .btn input[type="radio"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: stretch; + align-items: stretch; + width: 100%; +} +.input-group > .custom-file, +.input-group > .custom-select, +.input-group > .form-control, +.input-group > .form-control-plaintext { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + width: 1%; + margin-bottom: 0; +} +.input-group > .custom-file + .custom-file, +.input-group > .custom-file + .custom-select, +.input-group > .custom-file + .form-control, +.input-group > .custom-select + .custom-file, +.input-group > .custom-select + .custom-select, +.input-group > .custom-select + .form-control, +.input-group > .form-control + .custom-file, +.input-group > .form-control + .custom-select, +.input-group > .form-control + .form-control, +.input-group > .form-control-plaintext + .custom-file, +.input-group > .form-control-plaintext + .custom-select, +.input-group > .form-control-plaintext + .form-control { + margin-left: -1px; +} +.input-group > .custom-file .custom-file-input:focus ~ .custom-file-label, +.input-group > .custom-select:focus, +.input-group > .form-control:focus { + z-index: 3; +} +.input-group > .custom-file .custom-file-input:focus { + z-index: 4; +} +.input-group > .custom-select:not(:last-child), +.input-group > .form-control:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .custom-select:not(:first-child), +.input-group > .form-control:not(:first-child) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group > .custom-file { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; +} +.input-group > .custom-file:not(:last-child) .custom-file-label, +.input-group > .custom-file:not(:last-child) .custom-file-label::after { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .custom-file:not(:first-child) .custom-file-label { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.input-group-append, +.input-group-prepend { + display: -ms-flexbox; + display: flex; +} +.input-group-append .btn, +.input-group-prepend .btn { + position: relative; + z-index: 2; +} +.input-group-append .btn:focus, +.input-group-prepend .btn:focus { + z-index: 3; +} +.input-group-append .btn + .btn, +.input-group-append .btn + .input-group-text, +.input-group-append .input-group-text + .btn, +.input-group-append .input-group-text + .input-group-text, +.input-group-prepend .btn + .btn, +.input-group-prepend .btn + .input-group-text, +.input-group-prepend .input-group-text + .btn, +.input-group-prepend .input-group-text + .input-group-text { + margin-left: -1px; +} +.input-group-prepend { + margin-right: -1px; +} +.input-group-append { + margin-left: -1px; +} +.input-group-text { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + padding: 0.375rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} +.input-group-text input[type="checkbox"], +.input-group-text input[type="radio"] { + margin-top: 0; +} +.input-group-lg > .custom-select, +.input-group-lg > .form-control:not(textarea) { + height: calc(2.875rem + 2px); +} +.input-group-lg > .custom-select, +.input-group-lg > .form-control, +.input-group-lg > .input-group-append > .btn, +.input-group-lg > .input-group-append > .input-group-text, +.input-group-lg > .input-group-prepend > .btn, +.input-group-lg > .input-group-prepend > .input-group-text { + padding: 0.5rem 1rem; + font-size: 1.25rem; + line-height: 1.5; + border-radius: 0.3rem; +} +.input-group-sm > .custom-select, +.input-group-sm > .form-control:not(textarea) { + height: calc(1.8125rem + 2px); +} +.input-group-sm > .custom-select, +.input-group-sm > .form-control, +.input-group-sm > .input-group-append > .btn, +.input-group-sm > .input-group-append > .input-group-text, +.input-group-sm > .input-group-prepend > .btn, +.input-group-sm > .input-group-prepend > .input-group-text { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; + border-radius: 0.2rem; +} +.input-group-lg > .custom-select, +.input-group-sm > .custom-select { + padding-right: 1.75rem; +} +.input-group + > .input-group-append:last-child + > .btn:not(:last-child):not(.dropdown-toggle), +.input-group + > .input-group-append:last-child + > .input-group-text:not(:last-child), +.input-group > .input-group-append:not(:last-child) > .btn, +.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group > .input-group-prepend > .btn, +.input-group > .input-group-prepend > .input-group-text { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.input-group > .input-group-append > .btn, +.input-group > .input-group-append > .input-group-text, +.input-group > .input-group-prepend:first-child > .btn:not(:first-child), +.input-group + > .input-group-prepend:first-child + > .input-group-text:not(:first-child), +.input-group > .input-group-prepend:not(:first-child) > .btn, +.input-group > .input-group-prepend:not(:first-child) > .input-group-text { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} +.custom-control { + position: relative; + display: block; + min-height: 1.5rem; + padding-left: 1.5rem; +} +.custom-control-inline { + display: -ms-inline-flexbox; + display: inline-flex; + margin-right: 1rem; +} +.custom-control-input { + position: absolute; + z-index: -1; + opacity: 0; +} +.custom-control-input:checked ~ .custom-control-label::before { + color: #fff; + border-color: #007bff; + background-color: #007bff; +} +.custom-control-input:focus ~ .custom-control-label::before { + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { + border-color: #80bdff; +} +.custom-control-input:not(:disabled):active ~ .custom-control-label::before { + color: #fff; + background-color: #b3d7ff; + border-color: #b3d7ff; +} +.custom-control-input:disabled ~ .custom-control-label { + color: #6c757d; +} +.custom-control-input:disabled ~ .custom-control-label::before { + background-color: #e9ecef; +} +.custom-control-label { + position: relative; + margin-bottom: 0; + vertical-align: top; +} +.custom-control-label::before { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + pointer-events: none; + content: ""; + background-color: #fff; + border: #adb5bd solid 1px; +} +.custom-control-label::after { + position: absolute; + top: 0.25rem; + left: -1.5rem; + display: block; + width: 1rem; + height: 1rem; + content: ""; + background-repeat: no-repeat; + background-position: center center; + background-size: 50% 50%; +} +.custom-checkbox .custom-control-label::before { + border-radius: 0.25rem; +} +.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); +} +.custom-checkbox + .custom-control-input:indeterminate + ~ .custom-control-label::before { + border-color: #007bff; + background-color: #007bff; +} +.custom-checkbox + .custom-control-input:indeterminate + ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='%23fff' d='M0 2h4'/%3e%3c/svg%3e"); +} +.custom-checkbox + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} +.custom-checkbox + .custom-control-input:disabled:indeterminate + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} +.custom-radio .custom-control-label::before { + border-radius: 50%; +} +.custom-radio .custom-control-input:checked ~ .custom-control-label::after { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); +} +.custom-radio + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} +.custom-switch { + padding-left: 2.25rem; +} +.custom-switch .custom-control-label::before { + left: -2.25rem; + width: 1.75rem; + pointer-events: all; + border-radius: 0.5rem; +} +.custom-switch .custom-control-label::after { + top: calc(0.25rem + 2px); + left: calc(-2.25rem + 2px); + width: calc(1rem - 4px); + height: calc(1rem - 4px); + background-color: #adb5bd; + border-radius: 0.5rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, + -webkit-transform 0.15s ease-in-out; +} +@media screen and (prefers-reduced-motion: reduce) { + .custom-switch .custom-control-label::after { + transition: none; + } +} +.custom-switch .custom-control-input:checked ~ .custom-control-label::after { + background-color: #fff; + -webkit-transform: translateX(0.75rem); + transform: translateX(0.75rem); +} +.custom-switch + .custom-control-input:disabled:checked + ~ .custom-control-label::before { + background-color: rgba(0, 123, 255, 0.5); +} +.custom-select { + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + padding: 0.375rem 1.75rem 0.375rem 0.75rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + vertical-align: middle; + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") + no-repeat right 0.75rem center/8px 10px; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.custom-select:focus { + border-color: #80bdff; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.5); +} +.custom-select:focus::-ms-value { + color: #495057; + background-color: #fff; +} +.custom-select[multiple], +.custom-select[size]:not([size="1"]) { + height: auto; + padding-right: 0.75rem; + background-image: none; +} +.custom-select:disabled { + color: #6c757d; + background-color: #e9ecef; +} +.custom-select::-ms-expand { + opacity: 0; +} +.custom-select-sm { + height: calc(1.8125rem + 2px); + padding-top: 0.25rem; + padding-bottom: 0.25rem; + padding-left: 0.5rem; + font-size: 0.875rem; +} +.custom-select-lg { + height: calc(2.875rem + 2px); + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 1rem; + font-size: 1.25rem; +} +.custom-file { + position: relative; + display: inline-block; + width: 100%; + height: calc(2.25rem + 2px); + margin-bottom: 0; +} +.custom-file-input { + position: relative; + z-index: 2; + width: 100%; + height: calc(2.25rem + 2px); + margin: 0; + opacity: 0; +} +.custom-file-input:focus ~ .custom-file-label { + border-color: #80bdff; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.custom-file-input:disabled ~ .custom-file-label { + background-color: #e9ecef; +} +.custom-file-input:lang(en) ~ .custom-file-label::after { + content: "Browse"; +} +.custom-file-input ~ .custom-file-label[data-browse]::after { + content: attr(data-browse); +} +.custom-file-label { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 1; + height: calc(2.25rem + 2px); + padding: 0.375rem 0.75rem; + font-weight: 400; + line-height: 1.5; + color: #495057; + background-color: #fff; + border: 1px solid #ced4da; + border-radius: 0.25rem; +} +.custom-file-label::after { + position: absolute; + top: 0; + right: 0; + bottom: 0; + z-index: 3; + display: block; + height: 2.25rem; + padding: 0.375rem 0.75rem; + line-height: 1.5; + color: #495057; + content: "Browse"; + background-color: #e9ecef; + border-left: inherit; + border-radius: 0 0.25rem 0.25rem 0; +} +.custom-range { + width: 100%; + height: calc(1rem + 0.4rem); + padding: 0; + background-color: transparent; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +.custom-range:focus { + outline: 0; +} +.custom-range:focus::-webkit-slider-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.custom-range:focus::-moz-range-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.custom-range:focus::-ms-thumb { + box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.custom-range::-moz-focus-outer { + border: 0; +} +.custom-range::-webkit-slider-thumb { + width: 1rem; + height: 1rem; + margin-top: -0.25rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; + -webkit-appearance: none; + appearance: none; +} +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-webkit-slider-thumb { + transition: none; + } +} +.custom-range::-webkit-slider-thumb:active { + background-color: #b3d7ff; +} +.custom-range::-webkit-slider-runnable-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} +.custom-range::-moz-range-thumb { + width: 1rem; + height: 1rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; + -moz-appearance: none; + appearance: none; +} +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-moz-range-thumb { + transition: none; + } +} +.custom-range::-moz-range-thumb:active { + background-color: #b3d7ff; +} +.custom-range::-moz-range-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: #dee2e6; + border-color: transparent; + border-radius: 1rem; +} +.custom-range::-ms-thumb { + width: 1rem; + height: 1rem; + margin-top: 0; + margin-right: 0.2rem; + margin-left: 0.2rem; + background-color: #007bff; + border: 0; + border-radius: 1rem; + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; + appearance: none; +} +@media screen and (prefers-reduced-motion: reduce) { + .custom-range::-ms-thumb { + transition: none; + } +} +.custom-range::-ms-thumb:active { + background-color: #b3d7ff; +} +.custom-range::-ms-track { + width: 100%; + height: 0.5rem; + color: transparent; + cursor: pointer; + background-color: transparent; + border-color: transparent; + border-width: 0.5rem; +} +.custom-range::-ms-fill-lower { + background-color: #dee2e6; + border-radius: 1rem; +} +.custom-range::-ms-fill-upper { + margin-right: 15px; + background-color: #dee2e6; + border-radius: 1rem; +} +.custom-range:disabled::-webkit-slider-thumb { + background-color: #adb5bd; +} +.custom-range:disabled::-webkit-slider-runnable-track { + cursor: default; +} +.custom-range:disabled::-moz-range-thumb { + background-color: #adb5bd; +} +.custom-range:disabled::-moz-range-track { + cursor: default; +} +.custom-range:disabled::-ms-thumb { + background-color: #adb5bd; +} +.custom-control-label::before, +.custom-file-label, +.custom-select { + transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; +} +@media screen and (prefers-reduced-motion: reduce) { + .custom-control-label::before, + .custom-file-label, + .custom-select { + transition: none; + } +} +.nav { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.nav-link { + display: block; + padding: 0.5rem 1rem; +} +.nav-link:focus, +.nav-link:hover { + text-decoration: none; +} +.nav-link.disabled { + color: #6c757d; + pointer-events: none; + cursor: default; +} +.nav-tabs { + border-bottom: 1px solid #dee2e6; +} +.nav-tabs .nav-item { + margin-bottom: -1px; +} +.nav-tabs .nav-link { + border: 1px solid transparent; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} +.nav-tabs .nav-link:focus, +.nav-tabs .nav-link:hover { + border-color: #e9ecef #e9ecef #dee2e6; +} +.nav-tabs .nav-link.disabled { + color: #6c757d; + background-color: transparent; + border-color: transparent; +} +.nav-tabs .nav-item.show .nav-link, +.nav-tabs .nav-link.active { + color: #495057; + background-color: #fff; + border-color: #dee2e6 #dee2e6 #fff; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.nav-pills .nav-link { + border-radius: 0.25rem; +} +.nav-pills .nav-link.active, +.nav-pills .show > .nav-link { + color: #fff; + background-color: #007bff; +} +.nav-fill .nav-item { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + text-align: center; +} +.nav-justified .nav-item { + -ms-flex-preferred-size: 0; + flex-basis: 0; + -ms-flex-positive: 1; + flex-grow: 1; + text-align: center; +} +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} +.navbar { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 0.5rem 1rem; +} +.navbar > .container, +.navbar > .container-fluid { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: justify; + justify-content: space-between; +} +.navbar-brand { + display: inline-block; + padding-top: 0.3125rem; + padding-bottom: 0.3125rem; + margin-right: 1rem; + font-size: 1.25rem; + line-height: inherit; + white-space: nowrap; +} +.navbar-brand:focus, +.navbar-brand:hover { + text-decoration: none; +} +.navbar-nav { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; + list-style: none; +} +.navbar-nav .nav-link { + padding-right: 0; + padding-left: 0; +} +.navbar-nav .dropdown-menu { + position: static; + float: none; +} +.navbar-text { + display: inline-block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} +.navbar-collapse { + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -ms-flex-positive: 1; + flex-grow: 1; + -ms-flex-align: center; + align-items: center; +} +.navbar-toggler { + padding: 0.25rem 0.75rem; + font-size: 1.25rem; + line-height: 1; + background-color: transparent; + border: 1px solid transparent; + border-radius: 0.25rem; +} +.navbar-toggler:focus, +.navbar-toggler:hover { + text-decoration: none; +} +.navbar-toggler:not(:disabled):not(.disabled) { + cursor: pointer; +} +.navbar-toggler-icon { + display: inline-block; + width: 1.5em; + height: 1.5em; + vertical-align: middle; + content: ""; + background: no-repeat center center; + background-size: 100% 100%; +} +@media (max-width: 575.98px) { + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} +@media (min-width: 576px) { + .navbar-expand-sm { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-sm .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-sm .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-sm .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-sm > .container, + .navbar-expand-sm > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-sm .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-sm .navbar-toggler { + display: none; + } +} +@media (max-width: 767.98px) { + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} +@media (min-width: 768px) { + .navbar-expand-md { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-md .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-md .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-md .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-md > .container, + .navbar-expand-md > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-md .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-md .navbar-toggler { + display: none; + } +} +@media (max-width: 991.98px) { + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} +@media (min-width: 992px) { + .navbar-expand-lg { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-lg .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-lg .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-lg .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-lg > .container, + .navbar-expand-lg > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-lg .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-lg .navbar-toggler { + display: none; + } +} +@media (max-width: 1199.98px) { + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + padding-right: 0; + padding-left: 0; + } +} +@media (min-width: 1200px) { + .navbar-expand-xl { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; + } + .navbar-expand-xl .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; + } + .navbar-expand-xl .navbar-nav .dropdown-menu { + position: absolute; + } + .navbar-expand-xl .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; + } + .navbar-expand-xl > .container, + .navbar-expand-xl > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + } + .navbar-expand-xl .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; + } + .navbar-expand-xl .navbar-toggler { + display: none; + } +} +.navbar-expand { + -ms-flex-flow: row nowrap; + flex-flow: row nowrap; + -ms-flex-pack: start; + justify-content: flex-start; +} +.navbar-expand > .container, +.navbar-expand > .container-fluid { + padding-right: 0; + padding-left: 0; +} +.navbar-expand .navbar-nav { + -ms-flex-direction: row; + flex-direction: row; +} +.navbar-expand .navbar-nav .dropdown-menu { + position: absolute; +} +.navbar-expand .navbar-nav .nav-link { + padding-right: 0.5rem; + padding-left: 0.5rem; +} +.navbar-expand > .container, +.navbar-expand > .container-fluid { + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.navbar-expand .navbar-collapse { + display: -ms-flexbox !important; + display: flex !important; + -ms-flex-preferred-size: auto; + flex-basis: auto; +} +.navbar-expand .navbar-toggler { + display: none; +} +.navbar-light .navbar-brand { + color: rgba(0, 0, 0, 0.9); +} +.navbar-light .navbar-brand:focus, +.navbar-light .navbar-brand:hover { + color: rgba(0, 0, 0, 0.9); +} +.navbar-light .navbar-nav .nav-link { + color: rgba(0, 0, 0, 0.5); +} +.navbar-light .navbar-nav .nav-link:focus, +.navbar-light .navbar-nav .nav-link:hover { + color: rgba(0, 0, 0, 0.7); +} +.navbar-light .navbar-nav .nav-link.disabled { + color: rgba(0, 0, 0, 0.3); +} +.navbar-light .navbar-nav .active > .nav-link, +.navbar-light .navbar-nav .nav-link.active, +.navbar-light .navbar-nav .nav-link.show, +.navbar-light .navbar-nav .show > .nav-link { + color: rgba(0, 0, 0, 0.9); +} +.navbar-light .navbar-toggler { + color: rgba(0, 0, 0, 0.5); + border-color: rgba(0, 0, 0, 0.1); +} +.navbar-light .navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} +.navbar-light .navbar-text { + color: rgba(0, 0, 0, 0.5); +} +.navbar-light .navbar-text a { + color: rgba(0, 0, 0, 0.9); +} +.navbar-light .navbar-text a:focus, +.navbar-light .navbar-text a:hover { + color: rgba(0, 0, 0, 0.9); +} +.navbar-dark .navbar-brand { + color: #fff; +} +.navbar-dark .navbar-brand:focus, +.navbar-dark .navbar-brand:hover { + color: #fff; +} +.navbar-dark .navbar-nav .nav-link { + color: rgba(255, 255, 255, 0.5); +} +.navbar-dark .navbar-nav .nav-link:focus, +.navbar-dark .navbar-nav .nav-link:hover { + color: rgba(255, 255, 255, 0.75); +} +.navbar-dark .navbar-nav .nav-link.disabled { + color: rgba(255, 255, 255, 0.25); +} +.navbar-dark .navbar-nav .active > .nav-link, +.navbar-dark .navbar-nav .nav-link.active, +.navbar-dark .navbar-nav .nav-link.show, +.navbar-dark .navbar-nav .show > .nav-link { + color: #fff; +} +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 0.5); + border-color: rgba(255, 255, 255, 0.1); +} +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} +.navbar-dark .navbar-text { + color: rgba(255, 255, 255, 0.5); +} +.navbar-dark .navbar-text a { + color: #fff; +} +.navbar-dark .navbar-text a:focus, +.navbar-dark .navbar-text a:hover { + color: #fff; +} +.card { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; +} +.card > hr { + margin-right: 0; + margin-left: 0; +} +.card > .list-group:first-child .list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} +.card > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} +.card-body { + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1.25rem; +} +.card-title { + margin-bottom: 0.75rem; +} +.card-subtitle { + margin-top: -0.375rem; + margin-bottom: 0; +} +.card-text:last-child { + margin-bottom: 0; +} +.card-link:hover { + text-decoration: none; +} +.card-link + .card-link { + margin-left: 1.25rem; +} +.card-header { + padding: 0.75rem 1.25rem; + margin-bottom: 0; + color: inherit; + background-color: rgba(0, 0, 0, 0.03); + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} +.card-header:first-child { + border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; +} +.card-header + .list-group .list-group-item:first-child { + border-top: 0; +} +.card-footer { + padding: 0.75rem 1.25rem; + background-color: rgba(0, 0, 0, 0.03); + border-top: 1px solid rgba(0, 0, 0, 0.125); +} +.card-footer:last-child { + border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); +} +.card-header-tabs { + margin-right: -0.625rem; + margin-bottom: -0.75rem; + margin-left: -0.625rem; + border-bottom: 0; +} +.card-header-pills { + margin-right: -0.625rem; + margin-left: -0.625rem; +} +.card-img-overlay { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + padding: 1.25rem; +} +.card-img { + width: 100%; + border-radius: calc(0.25rem - 1px); +} +.card-img-top { + width: 100%; + border-top-left-radius: calc(0.25rem - 1px); + border-top-right-radius: calc(0.25rem - 1px); +} +.card-img-bottom { + width: 100%; + border-bottom-right-radius: calc(0.25rem - 1px); + border-bottom-left-radius: calc(0.25rem - 1px); +} +.card-deck { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} +.card-deck .card { + margin-bottom: 15px; +} +@media (min-width: 576px) { + .card-deck { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + margin-right: -15px; + margin-left: -15px; + } + .card-deck .card { + display: -ms-flexbox; + display: flex; + -ms-flex: 1 0 0%; + flex: 1 0 0%; + -ms-flex-direction: column; + flex-direction: column; + margin-right: 15px; + margin-bottom: 0; + margin-left: 15px; + } +} +.card-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; +} +.card-group > .card { + margin-bottom: 15px; +} +@media (min-width: 576px) { + .card-group { + -ms-flex-flow: row wrap; + flex-flow: row wrap; + } + .card-group > .card { + -ms-flex: 1 0 0%; + flex: 1 0 0%; + margin-bottom: 0; + } + .card-group > .card + .card { + margin-left: 0; + border-left: 0; + } + .card-group > .card:first-child { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + .card-group > .card:first-child .card-header, + .card-group > .card:first-child .card-img-top { + border-top-right-radius: 0; + } + .card-group > .card:first-child .card-footer, + .card-group > .card:first-child .card-img-bottom { + border-bottom-right-radius: 0; + } + .card-group > .card:last-child { + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + .card-group > .card:last-child .card-header, + .card-group > .card:last-child .card-img-top { + border-top-left-radius: 0; + } + .card-group > .card:last-child .card-footer, + .card-group > .card:last-child .card-img-bottom { + border-bottom-left-radius: 0; + } + .card-group > .card:only-child { + border-radius: 0.25rem; + } + .card-group > .card:only-child .card-header, + .card-group > .card:only-child .card-img-top { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; + } + .card-group > .card:only-child .card-footer, + .card-group > .card:only-child .card-img-bottom { + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; + } + .card-group > .card:not(:first-child):not(:last-child):not(:only-child) { + border-radius: 0; + } + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-footer, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-header, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-img-bottom, + .card-group + > .card:not(:first-child):not(:last-child):not(:only-child) + .card-img-top { + border-radius: 0; + } +} +.card-columns .card { + margin-bottom: 0.75rem; +} +@media (min-width: 576px) { + .card-columns { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + -webkit-column-gap: 1.25rem; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; + orphans: 1; + widows: 1; + } + .card-columns .card { + display: inline-block; + width: 100%; + } +} +.accordion .card { + overflow: hidden; +} +.accordion .card:not(:first-of-type) .card-header:first-child { + border-radius: 0; +} +.accordion .card:not(:first-of-type):not(:last-of-type) { + border-bottom: 0; + border-radius: 0; +} +.accordion .card:first-of-type { + border-bottom: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.accordion .card:last-of-type { + border-top-left-radius: 0; + border-top-right-radius: 0; +} +.accordion .card .card-header { + margin-bottom: -1px; +} +.breadcrumb { + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding: 0.75rem 1rem; + margin-bottom: 1rem; + list-style: none; + background-color: #e9ecef; + border-radius: 0.25rem; +} +.breadcrumb-item + .breadcrumb-item { + padding-left: 0.5rem; +} +.breadcrumb-item + .breadcrumb-item::before { + display: inline-block; + padding-right: 0.5rem; + color: #6c757d; + content: "/"; +} +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: underline; +} +.breadcrumb-item + .breadcrumb-item:hover::before { + text-decoration: none; +} +.breadcrumb-item.active { + color: #6c757d; +} +.pagination { + display: -ms-flexbox; + display: flex; + padding-left: 0; + list-style: none; + border-radius: 0.25rem; +} +.page-link { + position: relative; + display: block; + padding: 0.5rem 0.75rem; + margin-left: -1px; + line-height: 1.25; + color: #007bff; + background-color: #fff; + border: 1px solid #dee2e6; +} +.page-link:hover { + z-index: 2; + color: #0056b3; + text-decoration: none; + background-color: #e9ecef; + border-color: #dee2e6; +} +.page-link:focus { + z-index: 2; + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); +} +.page-link:not(:disabled):not(.disabled) { + cursor: pointer; +} +.page-item:first-child .page-link { + margin-left: 0; + border-top-left-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} +.page-item:last-child .page-link { + border-top-right-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; +} +.page-item.active .page-link { + z-index: 1; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.page-item.disabled .page-link { + color: #6c757d; + pointer-events: none; + cursor: auto; + background-color: #fff; + border-color: #dee2e6; +} +.pagination-lg .page-link { + padding: 0.75rem 1.5rem; + font-size: 1.25rem; + line-height: 1.5; +} +.pagination-lg .page-item:first-child .page-link { + border-top-left-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} +.pagination-lg .page-item:last-child .page-link { + border-top-right-radius: 0.3rem; + border-bottom-right-radius: 0.3rem; +} +.pagination-sm .page-link { + padding: 0.25rem 0.5rem; + font-size: 0.875rem; + line-height: 1.5; +} +.pagination-sm .page-item:first-child .page-link { + border-top-left-radius: 0.2rem; + border-bottom-left-radius: 0.2rem; +} +.pagination-sm .page-item:last-child .page-link { + border-top-right-radius: 0.2rem; + border-bottom-right-radius: 0.2rem; +} +.badge { + display: inline-block; + padding: 0.25em 0.4em; + font-size: 75%; + font-weight: 700; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; +} +a.badge:focus, +a.badge:hover { + text-decoration: none; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.badge-pill { + padding-right: 0.6em; + padding-left: 0.6em; + border-radius: 10rem; +} +.badge-primary { + color: #fff; + background-color: #007bff; +} +a.badge-primary:focus, +a.badge-primary:hover { + color: #fff; + background-color: #0062cc; +} +.badge-secondary { + color: #fff; + background-color: #6c757d; +} +a.badge-secondary:focus, +a.badge-secondary:hover { + color: #fff; + background-color: #545b62; +} +.badge-success { + color: #fff; + background-color: #28a745; +} +a.badge-success:focus, +a.badge-success:hover { + color: #fff; + background-color: #1e7e34; +} +.badge-info { + color: #fff; + background-color: #17a2b8; +} +a.badge-info:focus, +a.badge-info:hover { + color: #fff; + background-color: #117a8b; +} +.badge-warning { + color: #212529; + background-color: #ffc107; +} +a.badge-warning:focus, +a.badge-warning:hover { + color: #212529; + background-color: #d39e00; +} +.badge-danger { + color: #fff; + background-color: #dc3545; +} +a.badge-danger:focus, +a.badge-danger:hover { + color: #fff; + background-color: #bd2130; +} +.badge-light { + color: #212529; + background-color: #f8f9fa; +} +a.badge-light:focus, +a.badge-light:hover { + color: #212529; + background-color: #dae0e5; +} +.badge-dark { + color: #fff; + background-color: #343a40; +} +a.badge-dark:focus, +a.badge-dark:hover { + color: #fff; + background-color: #1d2124; +} +.jumbotron { + padding: 2rem 1rem; + margin-bottom: 2rem; + background-color: #e9ecef; + border-radius: 0.3rem; +} +@media (min-width: 576px) { + .jumbotron { + padding: 4rem 2rem; + } +} +.jumbotron-fluid { + padding-right: 0; + padding-left: 0; + border-radius: 0; +} +.alert { + position: relative; + padding: 0.75rem 1.25rem; + margin-bottom: 1rem; + border: 1px solid transparent; + border-radius: 0.25rem; +} +.alert-heading { + color: inherit; +} +.alert-link { + font-weight: 700; +} +.alert-dismissible { + padding-right: 4rem; +} +.alert-dismissible .close { + position: absolute; + top: 0; + right: 0; + padding: 0.75rem 1.25rem; + color: inherit; +} +.alert-primary { + color: #004085; + background-color: #cce5ff; + border-color: #b8daff; +} +.alert-primary hr { + border-top-color: #9fcdff; +} +.alert-primary .alert-link { + color: #002752; +} +.alert-secondary { + color: #383d41; + background-color: #e2e3e5; + border-color: #d6d8db; +} +.alert-secondary hr { + border-top-color: #c8cbcf; +} +.alert-secondary .alert-link { + color: #202326; +} +.alert-success { + color: #155724; + background-color: #d4edda; + border-color: #c3e6cb; +} +.alert-success hr { + border-top-color: #b1dfbb; +} +.alert-success .alert-link { + color: #0b2e13; +} +.alert-info { + color: #0c5460; + background-color: #d1ecf1; + border-color: #bee5eb; +} +.alert-info hr { + border-top-color: #abdde5; +} +.alert-info .alert-link { + color: #062c33; +} +.alert-warning { + color: #856404; + background-color: #fff3cd; + border-color: #ffeeba; +} +.alert-warning hr { + border-top-color: #ffe8a1; +} +.alert-warning .alert-link { + color: #533f03; +} +.alert-danger { + color: #721c24; + background-color: #f8d7da; + border-color: #f5c6cb; +} +.alert-danger hr { + border-top-color: #f1b0b7; +} +.alert-danger .alert-link { + color: #491217; +} +.alert-light { + color: #818182; + background-color: #fefefe; + border-color: #fdfdfe; +} +.alert-light hr { + border-top-color: #ececf6; +} +.alert-light .alert-link { + color: #686868; +} +.alert-dark { + color: #1b1e21; + background-color: #d6d8d9; + border-color: #c6c8ca; +} +.alert-dark hr { + border-top-color: #b9bbbe; +} +.alert-dark .alert-link { + color: #040505; +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 1rem 0; + } + to { + background-position: 0 0; + } +} +.progress { + display: -ms-flexbox; + display: flex; + height: 1rem; + overflow: hidden; + font-size: 0.75rem; + background-color: #e9ecef; + border-radius: 0.25rem; +} +.progress-bar { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-pack: center; + justify-content: center; + color: #fff; + text-align: center; + white-space: nowrap; + background-color: #007bff; + transition: width 0.6s ease; +} +@media screen and (prefers-reduced-motion: reduce) { + .progress-bar { + transition: none; + } +} +.progress-bar-striped { + background-image: linear-gradient( + 45deg, + rgba(255, 255, 255, 0.15) 25%, + transparent 25%, + transparent 50%, + rgba(255, 255, 255, 0.15) 50%, + rgba(255, 255, 255, 0.15) 75%, + transparent 75%, + transparent + ); + background-size: 1rem 1rem; +} +.progress-bar-animated { + -webkit-animation: progress-bar-stripes 1s linear infinite; + animation: progress-bar-stripes 1s linear infinite; +} +.media { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; +} +.media-body { + -ms-flex: 1; + flex: 1; +} +.list-group { + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + padding-left: 0; + margin-bottom: 0; +} +.list-group-item-action { + width: 100%; + color: #495057; + text-align: inherit; +} +.list-group-item-action:focus, +.list-group-item-action:hover { + color: #495057; + text-decoration: none; + background-color: #f8f9fa; +} +.list-group-item-action:active { + color: #212529; + background-color: #e9ecef; +} +.list-group-item { + position: relative; + display: block; + padding: 0.75rem 1.25rem; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid rgba(0, 0, 0, 0.125); +} +.list-group-item:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 0.25rem; + border-bottom-left-radius: 0.25rem; +} +.list-group-item:focus, +.list-group-item:hover { + z-index: 1; + text-decoration: none; +} +.list-group-item.disabled, +.list-group-item:disabled { + color: #6c757d; + pointer-events: none; + background-color: #fff; +} +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #007bff; + border-color: #007bff; +} +.list-group-flush .list-group-item { + border-right: 0; + border-left: 0; + border-radius: 0; +} +.list-group-flush .list-group-item:last-child { + margin-bottom: -1px; +} +.list-group-flush:first-child .list-group-item:first-child { + border-top: 0; +} +.list-group-flush:last-child .list-group-item:last-child { + margin-bottom: 0; + border-bottom: 0; +} +.list-group-item-primary { + color: #004085; + background-color: #b8daff; +} +.list-group-item-primary.list-group-item-action:focus, +.list-group-item-primary.list-group-item-action:hover { + color: #004085; + background-color: #9fcdff; +} +.list-group-item-primary.list-group-item-action.active { + color: #fff; + background-color: #004085; + border-color: #004085; +} +.list-group-item-secondary { + color: #383d41; + background-color: #d6d8db; +} +.list-group-item-secondary.list-group-item-action:focus, +.list-group-item-secondary.list-group-item-action:hover { + color: #383d41; + background-color: #c8cbcf; +} +.list-group-item-secondary.list-group-item-action.active { + color: #fff; + background-color: #383d41; + border-color: #383d41; +} +.list-group-item-success { + color: #155724; + background-color: #c3e6cb; +} +.list-group-item-success.list-group-item-action:focus, +.list-group-item-success.list-group-item-action:hover { + color: #155724; + background-color: #b1dfbb; +} +.list-group-item-success.list-group-item-action.active { + color: #fff; + background-color: #155724; + border-color: #155724; +} +.list-group-item-info { + color: #0c5460; + background-color: #bee5eb; +} +.list-group-item-info.list-group-item-action:focus, +.list-group-item-info.list-group-item-action:hover { + color: #0c5460; + background-color: #abdde5; +} +.list-group-item-info.list-group-item-action.active { + color: #fff; + background-color: #0c5460; + border-color: #0c5460; +} +.list-group-item-warning { + color: #856404; + background-color: #ffeeba; +} +.list-group-item-warning.list-group-item-action:focus, +.list-group-item-warning.list-group-item-action:hover { + color: #856404; + background-color: #ffe8a1; +} +.list-group-item-warning.list-group-item-action.active { + color: #fff; + background-color: #856404; + border-color: #856404; +} +.list-group-item-danger { + color: #721c24; + background-color: #f5c6cb; +} +.list-group-item-danger.list-group-item-action:focus, +.list-group-item-danger.list-group-item-action:hover { + color: #721c24; + background-color: #f1b0b7; +} +.list-group-item-danger.list-group-item-action.active { + color: #fff; + background-color: #721c24; + border-color: #721c24; +} +.list-group-item-light { + color: #818182; + background-color: #fdfdfe; +} +.list-group-item-light.list-group-item-action:focus, +.list-group-item-light.list-group-item-action:hover { + color: #818182; + background-color: #ececf6; +} +.list-group-item-light.list-group-item-action.active { + color: #fff; + background-color: #818182; + border-color: #818182; +} +.list-group-item-dark { + color: #1b1e21; + background-color: #c6c8ca; +} +.list-group-item-dark.list-group-item-action:focus, +.list-group-item-dark.list-group-item-action:hover { + color: #1b1e21; + background-color: #b9bbbe; +} +.list-group-item-dark.list-group-item-action.active { + color: #fff; + background-color: #1b1e21; + border-color: #1b1e21; +} +.close { + float: right; + font-size: 1.5rem; + font-weight: 700; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: 0.5; +} +.close:hover { + color: #000; + text-decoration: none; +} +.close:not(:disabled):not(.disabled) { + cursor: pointer; +} +.close:not(:disabled):not(.disabled):focus, +.close:not(:disabled):not(.disabled):hover { + opacity: 0.75; +} +button.close { + padding: 0; + background-color: transparent; + border: 0; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +a.close.disabled { + pointer-events: none; +} +.toast { + max-width: 350px; + overflow: hidden; + font-size: 0.875rem; + background-color: rgba(255, 255, 255, 0.85); + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.1); + border-radius: 0.25rem; + box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + opacity: 0; +} +.toast:not(:last-child) { + margin-bottom: 0.75rem; +} +.toast.showing { + opacity: 1; +} +.toast.show { + display: block; + opacity: 1; +} +.toast.hide { + display: none; +} +.toast-header { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + padding: 0.25rem 0.75rem; + color: #6c757d; + background-color: rgba(255, 255, 255, 0.85); + background-clip: padding-box; + border-bottom: 1px solid rgba(0, 0, 0, 0.05); +} +.toast-body { + padding: 0.75rem; +} +.modal-open { + overflow: hidden; +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal { + position: fixed; + top: 0; + left: 0; + z-index: 1050; + display: none; + width: 100%; + height: 100%; + overflow: hidden; + outline: 0; +} +.modal-dialog { + position: relative; + width: auto; + margin: 0.5rem; + pointer-events: none; +} +.modal.fade .modal-dialog { + transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; + transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out; + -webkit-transform: translate(0, -50px); + transform: translate(0, -50px); +} +@media screen and (prefers-reduced-motion: reduce) { + .modal.fade .modal-dialog { + transition: none; + } +} +.modal.show .modal-dialog { + -webkit-transform: none; + transform: none; +} +.modal-dialog-centered { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + min-height: calc(100% - (0.5rem * 2)); +} +.modal-dialog-centered::before { + display: block; + height: calc(100vh - (0.5rem * 2)); + content: ""; +} +.modal-content { + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + pointer-events: auto; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; + outline: 0; +} +.modal-backdrop { + position: fixed; + top: 0; + left: 0; + z-index: 1040; + width: 100vw; + height: 100vh; + background-color: #000; +} +.modal-backdrop.fade { + opacity: 0; +} +.modal-backdrop.show { + opacity: 0.5; +} +.modal-header { + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; + -ms-flex-pack: justify; + justify-content: space-between; + padding: 1rem 1rem; + border-bottom: 1px solid #e9ecef; + border-top-left-radius: 0.3rem; + border-top-right-radius: 0.3rem; +} +.modal-header .close { + padding: 1rem 1rem; + margin: -1rem -1rem -1rem auto; +} +.modal-title { + margin-bottom: 0; + line-height: 1.5; +} +.modal-body { + position: relative; + -ms-flex: 1 1 auto; + flex: 1 1 auto; + padding: 1rem; +} +.modal-footer { + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: end; + justify-content: flex-end; + padding: 1rem; + border-top: 1px solid #e9ecef; + border-bottom-right-radius: 0.3rem; + border-bottom-left-radius: 0.3rem; +} +.modal-footer > :not(:first-child) { + margin-left: 0.25rem; +} +.modal-footer > :not(:last-child) { + margin-right: 0.25rem; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 576px) { + .modal-dialog { + max-width: 500px; + margin: 1.75rem auto; + } + .modal-dialog-centered { + min-height: calc(100% - (1.75rem * 2)); + } + .modal-dialog-centered::before { + height: calc(100vh - (1.75rem * 2)); + } + .modal-sm { + max-width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg, + .modal-xl { + max-width: 800px; + } +} +@media (min-width: 1200px) { + .modal-xl { + max-width: 1140px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + opacity: 0; +} +.tooltip.show { + opacity: 0.9; +} +.tooltip .arrow { + position: absolute; + display: block; + width: 0.8rem; + height: 0.4rem; +} +.tooltip .arrow::before { + position: absolute; + content: ""; + border-color: transparent; + border-style: solid; +} +.bs-tooltip-auto[x-placement^="top"], +.bs-tooltip-top { + padding: 0.4rem 0; +} +.bs-tooltip-auto[x-placement^="top"] .arrow, +.bs-tooltip-top .arrow { + bottom: 0; +} +.bs-tooltip-auto[x-placement^="top"] .arrow::before, +.bs-tooltip-top .arrow::before { + top: 0; + border-width: 0.4rem 0.4rem 0; + border-top-color: #000; +} +.bs-tooltip-auto[x-placement^="right"], +.bs-tooltip-right { + padding: 0 0.4rem; +} +.bs-tooltip-auto[x-placement^="right"] .arrow, +.bs-tooltip-right .arrow { + left: 0; + width: 0.4rem; + height: 0.8rem; +} +.bs-tooltip-auto[x-placement^="right"] .arrow::before, +.bs-tooltip-right .arrow::before { + right: 0; + border-width: 0.4rem 0.4rem 0.4rem 0; + border-right-color: #000; +} +.bs-tooltip-auto[x-placement^="bottom"], +.bs-tooltip-bottom { + padding: 0.4rem 0; +} +.bs-tooltip-auto[x-placement^="bottom"] .arrow, +.bs-tooltip-bottom .arrow { + top: 0; +} +.bs-tooltip-auto[x-placement^="bottom"] .arrow::before, +.bs-tooltip-bottom .arrow::before { + bottom: 0; + border-width: 0 0.4rem 0.4rem; + border-bottom-color: #000; +} +.bs-tooltip-auto[x-placement^="left"], +.bs-tooltip-left { + padding: 0 0.4rem; +} +.bs-tooltip-auto[x-placement^="left"] .arrow, +.bs-tooltip-left .arrow { + right: 0; + width: 0.4rem; + height: 0.8rem; +} +.bs-tooltip-auto[x-placement^="left"] .arrow::before, +.bs-tooltip-left .arrow::before { + left: 0; + border-width: 0.4rem 0 0.4rem 0.4rem; + border-left-color: #000; +} +.tooltip-inner { + max-width: 200px; + padding: 0.25rem 0.5rem; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 0.25rem; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: block; + max-width: 276px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-style: normal; + font-weight: 400; + line-height: 1.5; + text-align: left; + text-align: start; + text-decoration: none; + text-shadow: none; + text-transform: none; + letter-spacing: normal; + word-break: normal; + word-spacing: normal; + white-space: normal; + line-break: auto; + font-size: 0.875rem; + word-wrap: break-word; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 0.3rem; +} +.popover .arrow { + position: absolute; + display: block; + width: 1rem; + height: 0.5rem; + margin: 0 0.3rem; +} +.popover .arrow::after, +.popover .arrow::before { + position: absolute; + display: block; + content: ""; + border-color: transparent; + border-style: solid; +} +.bs-popover-auto[x-placement^="top"], +.bs-popover-top { + margin-bottom: 0.5rem; +} +.bs-popover-auto[x-placement^="top"] .arrow, +.bs-popover-top .arrow { + bottom: calc((0.5rem + 1px) * -1); +} +.bs-popover-auto[x-placement^="top"] .arrow::after, +.bs-popover-auto[x-placement^="top"] .arrow::before, +.bs-popover-top .arrow::after, +.bs-popover-top .arrow::before { + border-width: 0.5rem 0.5rem 0; +} +.bs-popover-auto[x-placement^="top"] .arrow::before, +.bs-popover-top .arrow::before { + bottom: 0; + border-top-color: rgba(0, 0, 0, 0.25); +} +.bs-popover-auto[x-placement^="top"] .arrow::after, +.bs-popover-top .arrow::after { + bottom: 1px; + border-top-color: #fff; +} +.bs-popover-auto[x-placement^="right"], +.bs-popover-right { + margin-left: 0.5rem; +} +.bs-popover-auto[x-placement^="right"] .arrow, +.bs-popover-right .arrow { + left: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} +.bs-popover-auto[x-placement^="right"] .arrow::after, +.bs-popover-auto[x-placement^="right"] .arrow::before, +.bs-popover-right .arrow::after, +.bs-popover-right .arrow::before { + border-width: 0.5rem 0.5rem 0.5rem 0; +} +.bs-popover-auto[x-placement^="right"] .arrow::before, +.bs-popover-right .arrow::before { + left: 0; + border-right-color: rgba(0, 0, 0, 0.25); +} +.bs-popover-auto[x-placement^="right"] .arrow::after, +.bs-popover-right .arrow::after { + left: 1px; + border-right-color: #fff; +} +.bs-popover-auto[x-placement^="bottom"], +.bs-popover-bottom { + margin-top: 0.5rem; +} +.bs-popover-auto[x-placement^="bottom"] .arrow, +.bs-popover-bottom .arrow { + top: calc((0.5rem + 1px) * -1); +} +.bs-popover-auto[x-placement^="bottom"] .arrow::after, +.bs-popover-auto[x-placement^="bottom"] .arrow::before, +.bs-popover-bottom .arrow::after, +.bs-popover-bottom .arrow::before { + border-width: 0 0.5rem 0.5rem 0.5rem; +} +.bs-popover-auto[x-placement^="bottom"] .arrow::before, +.bs-popover-bottom .arrow::before { + top: 0; + border-bottom-color: rgba(0, 0, 0, 0.25); +} +.bs-popover-auto[x-placement^="bottom"] .arrow::after, +.bs-popover-bottom .arrow::after { + top: 1px; + border-bottom-color: #fff; +} +.bs-popover-auto[x-placement^="bottom"] .popover-header::before, +.bs-popover-bottom .popover-header::before { + position: absolute; + top: 0; + left: 50%; + display: block; + width: 1rem; + margin-left: -0.5rem; + content: ""; + border-bottom: 1px solid #f7f7f7; +} +.bs-popover-auto[x-placement^="left"], +.bs-popover-left { + margin-right: 0.5rem; +} +.bs-popover-auto[x-placement^="left"] .arrow, +.bs-popover-left .arrow { + right: calc((0.5rem + 1px) * -1); + width: 0.5rem; + height: 1rem; + margin: 0.3rem 0; +} +.bs-popover-auto[x-placement^="left"] .arrow::after, +.bs-popover-auto[x-placement^="left"] .arrow::before, +.bs-popover-left .arrow::after, +.bs-popover-left .arrow::before { + border-width: 0.5rem 0 0.5rem 0.5rem; +} +.bs-popover-auto[x-placement^="left"] .arrow::before, +.bs-popover-left .arrow::before { + right: 0; + border-left-color: rgba(0, 0, 0, 0.25); +} +.bs-popover-auto[x-placement^="left"] .arrow::after, +.bs-popover-left .arrow::after { + right: 1px; + border-left-color: #fff; +} +.popover-header { + padding: 0.5rem 0.75rem; + margin-bottom: 0; + font-size: 1rem; + color: inherit; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-top-left-radius: calc(0.3rem - 1px); + border-top-right-radius: calc(0.3rem - 1px); +} +.popover-header:empty { + display: none; +} +.popover-body { + padding: 0.5rem 0.75rem; + color: #212529; +} +.carousel { + position: relative; +} +.carousel.pointer-event { + -ms-touch-action: pan-y; + touch-action: pan-y; +} +.carousel-inner { + position: relative; + width: 100%; + overflow: hidden; +} +.carousel-inner::after { + display: block; + clear: both; + content: ""; +} +.carousel-item { + position: relative; + display: none; + float: left; + width: 100%; + margin-right: -100%; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + transition: -webkit-transform 0.6s ease-in-out; + transition: transform 0.6s ease-in-out; + transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out; +} +@media screen and (prefers-reduced-motion: reduce) { + .carousel-item { + transition: none; + } +} +.carousel-item-next, +.carousel-item-prev, +.carousel-item.active { + display: block; +} +.active.carousel-item-right, +.carousel-item-next:not(.carousel-item-left) { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} +.active.carousel-item-left, +.carousel-item-prev:not(.carousel-item-right) { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} +.carousel-fade .carousel-item { + opacity: 0; + transition-property: opacity; + -webkit-transform: none; + transform: none; +} +.carousel-fade .carousel-item-next.carousel-item-left, +.carousel-fade .carousel-item-prev.carousel-item-right, +.carousel-fade .carousel-item.active { + z-index: 1; + opacity: 1; +} +.carousel-fade .active.carousel-item-left, +.carousel-fade .active.carousel-item-right { + z-index: 0; + opacity: 0; + transition: 0s 0.6s opacity; +} +@media screen and (prefers-reduced-motion: reduce) { + .carousel-fade .active.carousel-item-left, + .carousel-fade .active.carousel-item-right { + transition: none; + } +} +.carousel-control-next, +.carousel-control-prev { + position: absolute; + top: 0; + bottom: 0; + z-index: 1; + display: -ms-flexbox; + display: flex; + -ms-flex-align: center; + align-items: center; + -ms-flex-pack: center; + justify-content: center; + width: 15%; + color: #fff; + text-align: center; + opacity: 0.5; + transition: opacity 0.15s ease; +} +@media screen and (prefers-reduced-motion: reduce) { + .carousel-control-next, + .carousel-control-prev { + transition: none; + } +} +.carousel-control-next:focus, +.carousel-control-next:hover, +.carousel-control-prev:focus, +.carousel-control-prev:hover { + color: #fff; + text-decoration: none; + outline: 0; + opacity: 0.9; +} +.carousel-control-prev { + left: 0; +} +.carousel-control-next { + right: 0; +} +.carousel-control-next-icon, +.carousel-control-prev-icon { + display: inline-block; + width: 20px; + height: 20px; + background: transparent no-repeat center center; + background-size: 100% 100%; +} +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"); +} +.carousel-control-next-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"); +} +.carousel-indicators { + position: absolute; + right: 0; + bottom: 0; + left: 0; + z-index: 15; + display: -ms-flexbox; + display: flex; + -ms-flex-pack: center; + justify-content: center; + padding-left: 0; + margin-right: 15%; + margin-left: 15%; + list-style: none; +} +.carousel-indicators li { + box-sizing: content-box; + -ms-flex: 0 1 auto; + flex: 0 1 auto; + width: 30px; + height: 3px; + margin-right: 3px; + margin-left: 3px; + text-indent: -999px; + cursor: pointer; + background-color: #fff; + background-clip: padding-box; + border-top: 10px solid transparent; + border-bottom: 10px solid transparent; + opacity: 0.5; + transition: opacity 0.6s ease; +} +@media screen and (prefers-reduced-motion: reduce) { + .carousel-indicators li { + transition: none; + } +} +.carousel-indicators .active { + opacity: 1; +} +.carousel-caption { + position: absolute; + right: 15%; + bottom: 20px; + left: 15%; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: #fff; + text-align: center; +} +@-webkit-keyframes spinner-border { + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes spinner-border { + to { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.spinner-border { + display: inline-block; + width: 2rem; + height: 2rem; + vertical-align: text-bottom; + border: 0.25em solid currentColor; + border-right-color: transparent; + border-radius: 50%; + -webkit-animation: spinner-border 0.75s linear infinite; + animation: spinner-border 0.75s linear infinite; +} +.spinner-border-sm { + width: 1rem; + height: 1rem; + border-width: 0.2em; +} +@-webkit-keyframes spinner-grow { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + } + 50% { + opacity: 1; + } +} +@keyframes spinner-grow { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + } + 50% { + opacity: 1; + } +} +.spinner-grow { + display: inline-block; + width: 2rem; + height: 2rem; + vertical-align: text-bottom; + background-color: currentColor; + border-radius: 50%; + opacity: 0; + -webkit-animation: spinner-grow 0.75s linear infinite; + animation: spinner-grow 0.75s linear infinite; +} +.spinner-grow-sm { + width: 1rem; + height: 1rem; +} +.align-baseline { + vertical-align: baseline !important; +} +.align-top { + vertical-align: top !important; +} +.align-middle { + vertical-align: middle !important; +} +.align-bottom { + vertical-align: bottom !important; +} +.align-text-bottom { + vertical-align: text-bottom !important; +} +.align-text-top { + vertical-align: text-top !important; +} +.bg-primary { + background-color: #007bff !important; +} +a.bg-primary:focus, +a.bg-primary:hover, +button.bg-primary:focus, +button.bg-primary:hover { + background-color: #0062cc !important; +} +.bg-secondary { + background-color: #6c757d !important; +} +a.bg-secondary:focus, +a.bg-secondary:hover, +button.bg-secondary:focus, +button.bg-secondary:hover { + background-color: #545b62 !important; +} +.bg-success { + background-color: #28a745 !important; +} +a.bg-success:focus, +a.bg-success:hover, +button.bg-success:focus, +button.bg-success:hover { + background-color: #1e7e34 !important; +} +.bg-info { + background-color: #17a2b8 !important; +} +a.bg-info:focus, +a.bg-info:hover, +button.bg-info:focus, +button.bg-info:hover { + background-color: #117a8b !important; +} +.bg-warning { + background-color: #ffc107 !important; +} +a.bg-warning:focus, +a.bg-warning:hover, +button.bg-warning:focus, +button.bg-warning:hover { + background-color: #d39e00 !important; +} +.bg-danger { + background-color: #dc3545 !important; +} +a.bg-danger:focus, +a.bg-danger:hover, +button.bg-danger:focus, +button.bg-danger:hover { + background-color: #bd2130 !important; +} +.bg-light { + background-color: #f8f9fa !important; +} +a.bg-light:focus, +a.bg-light:hover, +button.bg-light:focus, +button.bg-light:hover { + background-color: #dae0e5 !important; +} +.bg-dark { + background-color: #343a40 !important; +} +a.bg-dark:focus, +a.bg-dark:hover, +button.bg-dark:focus, +button.bg-dark:hover { + background-color: #1d2124 !important; +} +.bg-white { + background-color: #fff !important; +} +.bg-transparent { + background-color: transparent !important; +} +.border { + border: 1px solid #dee2e6 !important; +} +.border-top { + border-top: 1px solid #dee2e6 !important; +} +.border-right { + border-right: 1px solid #dee2e6 !important; +} +.border-bottom { + border-bottom: 1px solid #dee2e6 !important; +} +.border-left { + border-left: 1px solid #dee2e6 !important; +} +.border-0 { + border: 0 !important; +} +.border-top-0 { + border-top: 0 !important; +} +.border-right-0 { + border-right: 0 !important; +} +.border-bottom-0 { + border-bottom: 0 !important; +} +.border-left-0 { + border-left: 0 !important; +} +.border-primary { + border-color: #007bff !important; +} +.border-secondary { + border-color: #6c757d !important; +} +.border-success { + border-color: #28a745 !important; +} +.border-info { + border-color: #17a2b8 !important; +} +.border-warning { + border-color: #ffc107 !important; +} +.border-danger { + border-color: #dc3545 !important; +} +.border-light { + border-color: #f8f9fa !important; +} +.border-dark { + border-color: #343a40 !important; +} +.border-white { + border-color: #fff !important; +} +.rounded { + border-radius: 0.25rem !important; +} +.rounded-top { + border-top-left-radius: 0.25rem !important; + border-top-right-radius: 0.25rem !important; +} +.rounded-right { + border-top-right-radius: 0.25rem !important; + border-bottom-right-radius: 0.25rem !important; +} +.rounded-bottom { + border-bottom-right-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} +.rounded-left { + border-top-left-radius: 0.25rem !important; + border-bottom-left-radius: 0.25rem !important; +} +.rounded-circle { + border-radius: 50% !important; +} +.rounded-pill { + border-radius: 50rem !important; +} +.rounded-0 { + border-radius: 0 !important; +} +.clearfix::after { + display: block; + clear: both; + content: ""; +} +.d-none { + display: none !important; +} +.d-inline { + display: inline !important; +} +.d-inline-block { + display: inline-block !important; +} +.d-block { + display: block !important; +} +.d-table { + display: table !important; +} +.d-table-row { + display: table-row !important; +} +.d-table-cell { + display: table-cell !important; +} +.d-flex { + display: -ms-flexbox !important; + display: flex !important; +} +.d-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; +} +@media (min-width: 576px) { + .d-sm-none { + display: none !important; + } + .d-sm-inline { + display: inline !important; + } + .d-sm-inline-block { + display: inline-block !important; + } + .d-sm-block { + display: block !important; + } + .d-sm-table { + display: table !important; + } + .d-sm-table-row { + display: table-row !important; + } + .d-sm-table-cell { + display: table-cell !important; + } + .d-sm-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-sm-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} +@media (min-width: 768px) { + .d-md-none { + display: none !important; + } + .d-md-inline { + display: inline !important; + } + .d-md-inline-block { + display: inline-block !important; + } + .d-md-block { + display: block !important; + } + .d-md-table { + display: table !important; + } + .d-md-table-row { + display: table-row !important; + } + .d-md-table-cell { + display: table-cell !important; + } + .d-md-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-md-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} +@media (min-width: 992px) { + .d-lg-none { + display: none !important; + } + .d-lg-inline { + display: inline !important; + } + .d-lg-inline-block { + display: inline-block !important; + } + .d-lg-block { + display: block !important; + } + .d-lg-table { + display: table !important; + } + .d-lg-table-row { + display: table-row !important; + } + .d-lg-table-cell { + display: table-cell !important; + } + .d-lg-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-lg-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} +@media (min-width: 1200px) { + .d-xl-none { + display: none !important; + } + .d-xl-inline { + display: inline !important; + } + .d-xl-inline-block { + display: inline-block !important; + } + .d-xl-block { + display: block !important; + } + .d-xl-table { + display: table !important; + } + .d-xl-table-row { + display: table-row !important; + } + .d-xl-table-cell { + display: table-cell !important; + } + .d-xl-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-xl-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} +@media print { + .d-print-none { + display: none !important; + } + .d-print-inline { + display: inline !important; + } + .d-print-inline-block { + display: inline-block !important; + } + .d-print-block { + display: block !important; + } + .d-print-table { + display: table !important; + } + .d-print-table-row { + display: table-row !important; + } + .d-print-table-cell { + display: table-cell !important; + } + .d-print-flex { + display: -ms-flexbox !important; + display: flex !important; + } + .d-print-inline-flex { + display: -ms-inline-flexbox !important; + display: inline-flex !important; + } +} +.embed-responsive { + position: relative; + display: block; + width: 100%; + padding: 0; + overflow: hidden; +} +.embed-responsive::before { + display: block; + content: ""; +} +.embed-responsive .embed-responsive-item, +.embed-responsive embed, +.embed-responsive iframe, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} +.embed-responsive-21by9::before { + padding-top: 42.857143%; +} +.embed-responsive-16by9::before { + padding-top: 56.25%; +} +.embed-responsive-3by4::before { + padding-top: 133.333333%; +} +.embed-responsive-1by1::before { + padding-top: 100%; +} +.flex-row { + -ms-flex-direction: row !important; + flex-direction: row !important; +} +.flex-column { + -ms-flex-direction: column !important; + flex-direction: column !important; +} +.flex-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; +} +.flex-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; +} +.flex-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; +} +.flex-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; +} +.flex-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; +} +.flex-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; +} +.flex-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; +} +.flex-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; +} +.flex-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; +} +.flex-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; +} +.justify-content-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; +} +.justify-content-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; +} +.justify-content-center { + -ms-flex-pack: center !important; + justify-content: center !important; +} +.justify-content-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; +} +.justify-content-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; +} +.align-items-start { + -ms-flex-align: start !important; + align-items: flex-start !important; +} +.align-items-end { + -ms-flex-align: end !important; + align-items: flex-end !important; +} +.align-items-center { + -ms-flex-align: center !important; + align-items: center !important; +} +.align-items-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; +} +.align-items-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; +} +.align-content-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; +} +.align-content-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; +} +.align-content-center { + -ms-flex-line-pack: center !important; + align-content: center !important; +} +.align-content-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; +} +.align-content-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; +} +.align-content-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; +} +.align-self-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; +} +.align-self-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; +} +.align-self-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; +} +.align-self-center { + -ms-flex-item-align: center !important; + align-self: center !important; +} +.align-self-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; +} +.align-self-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; +} +@media (min-width: 576px) { + .flex-sm-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-sm-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-sm-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-sm-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-sm-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-sm-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-sm-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-sm-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-sm-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-sm-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-sm-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-sm-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-sm-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-sm-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-sm-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-sm-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-sm-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-sm-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-sm-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-sm-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-sm-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-sm-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-sm-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-sm-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-sm-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-sm-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-sm-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-sm-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-sm-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-sm-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-sm-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-sm-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-sm-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-sm-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} +@media (min-width: 768px) { + .flex-md-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-md-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-md-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-md-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-md-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-md-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-md-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-md-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-md-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-md-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-md-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-md-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-md-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-md-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-md-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-md-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-md-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-md-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-md-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-md-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-md-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-md-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-md-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-md-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-md-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-md-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-md-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-md-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-md-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-md-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-md-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-md-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-md-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-md-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} +@media (min-width: 992px) { + .flex-lg-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-lg-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-lg-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-lg-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-lg-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-lg-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-lg-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-lg-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-lg-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-lg-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-lg-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-lg-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-lg-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-lg-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-lg-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-lg-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-lg-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-lg-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-lg-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-lg-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-lg-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-lg-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-lg-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-lg-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-lg-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-lg-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-lg-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-lg-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-lg-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-lg-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-lg-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-lg-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-lg-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-lg-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} +@media (min-width: 1200px) { + .flex-xl-row { + -ms-flex-direction: row !important; + flex-direction: row !important; + } + .flex-xl-column { + -ms-flex-direction: column !important; + flex-direction: column !important; + } + .flex-xl-row-reverse { + -ms-flex-direction: row-reverse !important; + flex-direction: row-reverse !important; + } + .flex-xl-column-reverse { + -ms-flex-direction: column-reverse !important; + flex-direction: column-reverse !important; + } + .flex-xl-wrap { + -ms-flex-wrap: wrap !important; + flex-wrap: wrap !important; + } + .flex-xl-nowrap { + -ms-flex-wrap: nowrap !important; + flex-wrap: nowrap !important; + } + .flex-xl-wrap-reverse { + -ms-flex-wrap: wrap-reverse !important; + flex-wrap: wrap-reverse !important; + } + .flex-xl-fill { + -ms-flex: 1 1 auto !important; + flex: 1 1 auto !important; + } + .flex-xl-grow-0 { + -ms-flex-positive: 0 !important; + flex-grow: 0 !important; + } + .flex-xl-grow-1 { + -ms-flex-positive: 1 !important; + flex-grow: 1 !important; + } + .flex-xl-shrink-0 { + -ms-flex-negative: 0 !important; + flex-shrink: 0 !important; + } + .flex-xl-shrink-1 { + -ms-flex-negative: 1 !important; + flex-shrink: 1 !important; + } + .justify-content-xl-start { + -ms-flex-pack: start !important; + justify-content: flex-start !important; + } + .justify-content-xl-end { + -ms-flex-pack: end !important; + justify-content: flex-end !important; + } + .justify-content-xl-center { + -ms-flex-pack: center !important; + justify-content: center !important; + } + .justify-content-xl-between { + -ms-flex-pack: justify !important; + justify-content: space-between !important; + } + .justify-content-xl-around { + -ms-flex-pack: distribute !important; + justify-content: space-around !important; + } + .align-items-xl-start { + -ms-flex-align: start !important; + align-items: flex-start !important; + } + .align-items-xl-end { + -ms-flex-align: end !important; + align-items: flex-end !important; + } + .align-items-xl-center { + -ms-flex-align: center !important; + align-items: center !important; + } + .align-items-xl-baseline { + -ms-flex-align: baseline !important; + align-items: baseline !important; + } + .align-items-xl-stretch { + -ms-flex-align: stretch !important; + align-items: stretch !important; + } + .align-content-xl-start { + -ms-flex-line-pack: start !important; + align-content: flex-start !important; + } + .align-content-xl-end { + -ms-flex-line-pack: end !important; + align-content: flex-end !important; + } + .align-content-xl-center { + -ms-flex-line-pack: center !important; + align-content: center !important; + } + .align-content-xl-between { + -ms-flex-line-pack: justify !important; + align-content: space-between !important; + } + .align-content-xl-around { + -ms-flex-line-pack: distribute !important; + align-content: space-around !important; + } + .align-content-xl-stretch { + -ms-flex-line-pack: stretch !important; + align-content: stretch !important; + } + .align-self-xl-auto { + -ms-flex-item-align: auto !important; + align-self: auto !important; + } + .align-self-xl-start { + -ms-flex-item-align: start !important; + align-self: flex-start !important; + } + .align-self-xl-end { + -ms-flex-item-align: end !important; + align-self: flex-end !important; + } + .align-self-xl-center { + -ms-flex-item-align: center !important; + align-self: center !important; + } + .align-self-xl-baseline { + -ms-flex-item-align: baseline !important; + align-self: baseline !important; + } + .align-self-xl-stretch { + -ms-flex-item-align: stretch !important; + align-self: stretch !important; + } +} +.float-left { + float: left !important; +} +.float-right { + float: right !important; +} +.float-none { + float: none !important; +} +@media (min-width: 576px) { + .float-sm-left { + float: left !important; + } + .float-sm-right { + float: right !important; + } + .float-sm-none { + float: none !important; + } +} +@media (min-width: 768px) { + .float-md-left { + float: left !important; + } + .float-md-right { + float: right !important; + } + .float-md-none { + float: none !important; + } +} +@media (min-width: 992px) { + .float-lg-left { + float: left !important; + } + .float-lg-right { + float: right !important; + } + .float-lg-none { + float: none !important; + } +} +@media (min-width: 1200px) { + .float-xl-left { + float: left !important; + } + .float-xl-right { + float: right !important; + } + .float-xl-none { + float: none !important; + } +} +.overflow-auto { + overflow: auto !important; +} +.overflow-hidden { + overflow: hidden !important; +} +.position-static { + position: static !important; +} +.position-relative { + position: relative !important; +} +.position-absolute { + position: absolute !important; +} +.position-fixed { + position: fixed !important; +} +.position-sticky { + position: -webkit-sticky !important; + position: sticky !important; +} +.fixed-top { + position: fixed; + top: 0; + right: 0; + left: 0; + z-index: 1030; +} +.fixed-bottom { + position: fixed; + right: 0; + bottom: 0; + left: 0; + z-index: 1030; +} +@supports ((position: -webkit-sticky) or (position: sticky)) { + .sticky-top { + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1020; + } +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + overflow: visible; + clip: auto; + white-space: normal; +} +.shadow-sm { + box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; +} +.shadow { + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; +} +.shadow-lg { + box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; +} +.shadow-none { + box-shadow: none !important; +} +.w-25 { + width: 25% !important; +} +.w-50 { + width: 50% !important; +} +.w-75 { + width: 75% !important; +} +.w-100 { + width: 100% !important; +} +.w-auto { + width: auto !important; +} +.h-25 { + height: 25% !important; +} +.h-50 { + height: 50% !important; +} +.h-75 { + height: 75% !important; +} +.h-100 { + height: 100% !important; +} +.h-auto { + height: auto !important; +} +.mw-100 { + max-width: 100% !important; +} +.mh-100 { + max-height: 100% !important; +} +.min-vw-100 { + min-width: 100vw !important; +} +.min-vh-100 { + min-height: 100vh !important; +} +.vw-100 { + width: 100vw !important; +} +.vh-100 { + height: 100vh !important; +} +.m-0 { + margin: 0 !important; +} +.mt-0, +.my-0 { + margin-top: 0 !important; +} +.mr-0, +.mx-0 { + margin-right: 0 !important; +} +.mb-0, +.my-0 { + margin-bottom: 0 !important; +} +.ml-0, +.mx-0 { + margin-left: 0 !important; +} +.m-1 { + margin: 0.25rem !important; +} +.mt-1, +.my-1 { + margin-top: 0.25rem !important; +} +.mr-1, +.mx-1 { + margin-right: 0.25rem !important; +} +.mb-1, +.my-1 { + margin-bottom: 0.25rem !important; +} +.ml-1, +.mx-1 { + margin-left: 0.25rem !important; +} +.m-2 { + margin: 0.5rem !important; +} +.mt-2, +.my-2 { + margin-top: 0.5rem !important; +} +.mr-2, +.mx-2 { + margin-right: 0.5rem !important; +} +.mb-2, +.my-2 { + margin-bottom: 0.5rem !important; +} +.ml-2, +.mx-2 { + margin-left: 0.5rem !important; +} +.m-3 { + margin: 1rem !important; +} +.mt-3, +.my-3 { + margin-top: 1rem !important; +} +.mr-3, +.mx-3 { + margin-right: 1rem !important; +} +.mb-3, +.my-3 { + margin-bottom: 1rem !important; +} +.ml-3, +.mx-3 { + margin-left: 1rem !important; +} +.m-4 { + margin: 1.5rem !important; +} +.mt-4, +.my-4 { + margin-top: 1.5rem !important; +} +.mr-4, +.mx-4 { + margin-right: 1.5rem !important; +} +.mb-4, +.my-4 { + margin-bottom: 1.5rem !important; +} +.ml-4, +.mx-4 { + margin-left: 1.5rem !important; +} +.m-5 { + margin: 3rem !important; +} +.mt-5, +.my-5 { + margin-top: 3rem !important; +} +.mr-5, +.mx-5 { + margin-right: 3rem !important; +} +.mb-5, +.my-5 { + margin-bottom: 3rem !important; +} +.ml-5, +.mx-5 { + margin-left: 3rem !important; +} +.p-0 { + padding: 0 !important; +} +.pt-0, +.py-0 { + padding-top: 0 !important; +} +.pr-0, +.px-0 { + padding-right: 0 !important; +} +.pb-0, +.py-0 { + padding-bottom: 0 !important; +} +.pl-0, +.px-0 { + padding-left: 0 !important; +} +.p-1 { + padding: 0.25rem !important; +} +.pt-1, +.py-1 { + padding-top: 0.25rem !important; +} +.pr-1, +.px-1 { + padding-right: 0.25rem !important; +} +.pb-1, +.py-1 { + padding-bottom: 0.25rem !important; +} +.pl-1, +.px-1 { + padding-left: 0.25rem !important; +} +.p-2 { + padding: 0.5rem !important; +} +.pt-2, +.py-2 { + padding-top: 0.5rem !important; +} +.pr-2, +.px-2 { + padding-right: 0.5rem !important; +} +.pb-2, +.py-2 { + padding-bottom: 0.5rem !important; +} +.pl-2, +.px-2 { + padding-left: 0.5rem !important; +} +.p-3 { + padding: 1rem !important; +} +.pt-3, +.py-3 { + padding-top: 1rem !important; +} +.pr-3, +.px-3 { + padding-right: 1rem !important; +} +.pb-3, +.py-3 { + padding-bottom: 1rem !important; +} +.pl-3, +.px-3 { + padding-left: 1rem !important; +} +.p-4 { + padding: 1.5rem !important; +} +.pt-4, +.py-4 { + padding-top: 1.5rem !important; +} +.pr-4, +.px-4 { + padding-right: 1.5rem !important; +} +.pb-4, +.py-4 { + padding-bottom: 1.5rem !important; +} +.pl-4, +.px-4 { + padding-left: 1.5rem !important; +} +.p-5 { + padding: 3rem !important; +} +.pt-5, +.py-5 { + padding-top: 3rem !important; +} +.pr-5, +.px-5 { + padding-right: 3rem !important; +} +.pb-5, +.py-5 { + padding-bottom: 3rem !important; +} +.pl-5, +.px-5 { + padding-left: 3rem !important; +} +.m-n1 { + margin: -0.25rem !important; +} +.mt-n1, +.my-n1 { + margin-top: -0.25rem !important; +} +.mr-n1, +.mx-n1 { + margin-right: -0.25rem !important; +} +.mb-n1, +.my-n1 { + margin-bottom: -0.25rem !important; +} +.ml-n1, +.mx-n1 { + margin-left: -0.25rem !important; +} +.m-n2 { + margin: -0.5rem !important; +} +.mt-n2, +.my-n2 { + margin-top: -0.5rem !important; +} +.mr-n2, +.mx-n2 { + margin-right: -0.5rem !important; +} +.mb-n2, +.my-n2 { + margin-bottom: -0.5rem !important; +} +.ml-n2, +.mx-n2 { + margin-left: -0.5rem !important; +} +.m-n3 { + margin: -1rem !important; +} +.mt-n3, +.my-n3 { + margin-top: -1rem !important; +} +.mr-n3, +.mx-n3 { + margin-right: -1rem !important; +} +.mb-n3, +.my-n3 { + margin-bottom: -1rem !important; +} +.ml-n3, +.mx-n3 { + margin-left: -1rem !important; +} +.m-n4 { + margin: -1.5rem !important; +} +.mt-n4, +.my-n4 { + margin-top: -1.5rem !important; +} +.mr-n4, +.mx-n4 { + margin-right: -1.5rem !important; +} +.mb-n4, +.my-n4 { + margin-bottom: -1.5rem !important; +} +.ml-n4, +.mx-n4 { + margin-left: -1.5rem !important; +} +.m-n5 { + margin: -3rem !important; +} +.mt-n5, +.my-n5 { + margin-top: -3rem !important; +} +.mr-n5, +.mx-n5 { + margin-right: -3rem !important; +} +.mb-n5, +.my-n5 { + margin-bottom: -3rem !important; +} +.ml-n5, +.mx-n5 { + margin-left: -3rem !important; +} +.m-auto { + margin: auto !important; +} +.mt-auto, +.my-auto { + margin-top: auto !important; +} +.mr-auto, +.mx-auto { + margin-right: auto !important; +} +.mb-auto, +.my-auto { + margin-bottom: auto !important; +} +.ml-auto, +.mx-auto { + margin-left: auto !important; +} +@media (min-width: 576px) { + .m-sm-0 { + margin: 0 !important; + } + .mt-sm-0, + .my-sm-0 { + margin-top: 0 !important; + } + .mr-sm-0, + .mx-sm-0 { + margin-right: 0 !important; + } + .mb-sm-0, + .my-sm-0 { + margin-bottom: 0 !important; + } + .ml-sm-0, + .mx-sm-0 { + margin-left: 0 !important; + } + .m-sm-1 { + margin: 0.25rem !important; + } + .mt-sm-1, + .my-sm-1 { + margin-top: 0.25rem !important; + } + .mr-sm-1, + .mx-sm-1 { + margin-right: 0.25rem !important; + } + .mb-sm-1, + .my-sm-1 { + margin-bottom: 0.25rem !important; + } + .ml-sm-1, + .mx-sm-1 { + margin-left: 0.25rem !important; + } + .m-sm-2 { + margin: 0.5rem !important; + } + .mt-sm-2, + .my-sm-2 { + margin-top: 0.5rem !important; + } + .mr-sm-2, + .mx-sm-2 { + margin-right: 0.5rem !important; + } + .mb-sm-2, + .my-sm-2 { + margin-bottom: 0.5rem !important; + } + .ml-sm-2, + .mx-sm-2 { + margin-left: 0.5rem !important; + } + .m-sm-3 { + margin: 1rem !important; + } + .mt-sm-3, + .my-sm-3 { + margin-top: 1rem !important; + } + .mr-sm-3, + .mx-sm-3 { + margin-right: 1rem !important; + } + .mb-sm-3, + .my-sm-3 { + margin-bottom: 1rem !important; + } + .ml-sm-3, + .mx-sm-3 { + margin-left: 1rem !important; + } + .m-sm-4 { + margin: 1.5rem !important; + } + .mt-sm-4, + .my-sm-4 { + margin-top: 1.5rem !important; + } + .mr-sm-4, + .mx-sm-4 { + margin-right: 1.5rem !important; + } + .mb-sm-4, + .my-sm-4 { + margin-bottom: 1.5rem !important; + } + .ml-sm-4, + .mx-sm-4 { + margin-left: 1.5rem !important; + } + .m-sm-5 { + margin: 3rem !important; + } + .mt-sm-5, + .my-sm-5 { + margin-top: 3rem !important; + } + .mr-sm-5, + .mx-sm-5 { + margin-right: 3rem !important; + } + .mb-sm-5, + .my-sm-5 { + margin-bottom: 3rem !important; + } + .ml-sm-5, + .mx-sm-5 { + margin-left: 3rem !important; + } + .p-sm-0 { + padding: 0 !important; + } + .pt-sm-0, + .py-sm-0 { + padding-top: 0 !important; + } + .pr-sm-0, + .px-sm-0 { + padding-right: 0 !important; + } + .pb-sm-0, + .py-sm-0 { + padding-bottom: 0 !important; + } + .pl-sm-0, + .px-sm-0 { + padding-left: 0 !important; + } + .p-sm-1 { + padding: 0.25rem !important; + } + .pt-sm-1, + .py-sm-1 { + padding-top: 0.25rem !important; + } + .pr-sm-1, + .px-sm-1 { + padding-right: 0.25rem !important; + } + .pb-sm-1, + .py-sm-1 { + padding-bottom: 0.25rem !important; + } + .pl-sm-1, + .px-sm-1 { + padding-left: 0.25rem !important; + } + .p-sm-2 { + padding: 0.5rem !important; + } + .pt-sm-2, + .py-sm-2 { + padding-top: 0.5rem !important; + } + .pr-sm-2, + .px-sm-2 { + padding-right: 0.5rem !important; + } + .pb-sm-2, + .py-sm-2 { + padding-bottom: 0.5rem !important; + } + .pl-sm-2, + .px-sm-2 { + padding-left: 0.5rem !important; + } + .p-sm-3 { + padding: 1rem !important; + } + .pt-sm-3, + .py-sm-3 { + padding-top: 1rem !important; + } + .pr-sm-3, + .px-sm-3 { + padding-right: 1rem !important; + } + .pb-sm-3, + .py-sm-3 { + padding-bottom: 1rem !important; + } + .pl-sm-3, + .px-sm-3 { + padding-left: 1rem !important; + } + .p-sm-4 { + padding: 1.5rem !important; + } + .pt-sm-4, + .py-sm-4 { + padding-top: 1.5rem !important; + } + .pr-sm-4, + .px-sm-4 { + padding-right: 1.5rem !important; + } + .pb-sm-4, + .py-sm-4 { + padding-bottom: 1.5rem !important; + } + .pl-sm-4, + .px-sm-4 { + padding-left: 1.5rem !important; + } + .p-sm-5 { + padding: 3rem !important; + } + .pt-sm-5, + .py-sm-5 { + padding-top: 3rem !important; + } + .pr-sm-5, + .px-sm-5 { + padding-right: 3rem !important; + } + .pb-sm-5, + .py-sm-5 { + padding-bottom: 3rem !important; + } + .pl-sm-5, + .px-sm-5 { + padding-left: 3rem !important; + } + .m-sm-n1 { + margin: -0.25rem !important; + } + .mt-sm-n1, + .my-sm-n1 { + margin-top: -0.25rem !important; + } + .mr-sm-n1, + .mx-sm-n1 { + margin-right: -0.25rem !important; + } + .mb-sm-n1, + .my-sm-n1 { + margin-bottom: -0.25rem !important; + } + .ml-sm-n1, + .mx-sm-n1 { + margin-left: -0.25rem !important; + } + .m-sm-n2 { + margin: -0.5rem !important; + } + .mt-sm-n2, + .my-sm-n2 { + margin-top: -0.5rem !important; + } + .mr-sm-n2, + .mx-sm-n2 { + margin-right: -0.5rem !important; + } + .mb-sm-n2, + .my-sm-n2 { + margin-bottom: -0.5rem !important; + } + .ml-sm-n2, + .mx-sm-n2 { + margin-left: -0.5rem !important; + } + .m-sm-n3 { + margin: -1rem !important; + } + .mt-sm-n3, + .my-sm-n3 { + margin-top: -1rem !important; + } + .mr-sm-n3, + .mx-sm-n3 { + margin-right: -1rem !important; + } + .mb-sm-n3, + .my-sm-n3 { + margin-bottom: -1rem !important; + } + .ml-sm-n3, + .mx-sm-n3 { + margin-left: -1rem !important; + } + .m-sm-n4 { + margin: -1.5rem !important; + } + .mt-sm-n4, + .my-sm-n4 { + margin-top: -1.5rem !important; + } + .mr-sm-n4, + .mx-sm-n4 { + margin-right: -1.5rem !important; + } + .mb-sm-n4, + .my-sm-n4 { + margin-bottom: -1.5rem !important; + } + .ml-sm-n4, + .mx-sm-n4 { + margin-left: -1.5rem !important; + } + .m-sm-n5 { + margin: -3rem !important; + } + .mt-sm-n5, + .my-sm-n5 { + margin-top: -3rem !important; + } + .mr-sm-n5, + .mx-sm-n5 { + margin-right: -3rem !important; + } + .mb-sm-n5, + .my-sm-n5 { + margin-bottom: -3rem !important; + } + .ml-sm-n5, + .mx-sm-n5 { + margin-left: -3rem !important; + } + .m-sm-auto { + margin: auto !important; + } + .mt-sm-auto, + .my-sm-auto { + margin-top: auto !important; + } + .mr-sm-auto, + .mx-sm-auto { + margin-right: auto !important; + } + .mb-sm-auto, + .my-sm-auto { + margin-bottom: auto !important; + } + .ml-sm-auto, + .mx-sm-auto { + margin-left: auto !important; + } +} +@media (min-width: 768px) { + .m-md-0 { + margin: 0 !important; + } + .mt-md-0, + .my-md-0 { + margin-top: 0 !important; + } + .mr-md-0, + .mx-md-0 { + margin-right: 0 !important; + } + .mb-md-0, + .my-md-0 { + margin-bottom: 0 !important; + } + .ml-md-0, + .mx-md-0 { + margin-left: 0 !important; + } + .m-md-1 { + margin: 0.25rem !important; + } + .mt-md-1, + .my-md-1 { + margin-top: 0.25rem !important; + } + .mr-md-1, + .mx-md-1 { + margin-right: 0.25rem !important; + } + .mb-md-1, + .my-md-1 { + margin-bottom: 0.25rem !important; + } + .ml-md-1, + .mx-md-1 { + margin-left: 0.25rem !important; + } + .m-md-2 { + margin: 0.5rem !important; + } + .mt-md-2, + .my-md-2 { + margin-top: 0.5rem !important; + } + .mr-md-2, + .mx-md-2 { + margin-right: 0.5rem !important; + } + .mb-md-2, + .my-md-2 { + margin-bottom: 0.5rem !important; + } + .ml-md-2, + .mx-md-2 { + margin-left: 0.5rem !important; + } + .m-md-3 { + margin: 1rem !important; + } + .mt-md-3, + .my-md-3 { + margin-top: 1rem !important; + } + .mr-md-3, + .mx-md-3 { + margin-right: 1rem !important; + } + .mb-md-3, + .my-md-3 { + margin-bottom: 1rem !important; + } + .ml-md-3, + .mx-md-3 { + margin-left: 1rem !important; + } + .m-md-4 { + margin: 1.5rem !important; + } + .mt-md-4, + .my-md-4 { + margin-top: 1.5rem !important; + } + .mr-md-4, + .mx-md-4 { + margin-right: 1.5rem !important; + } + .mb-md-4, + .my-md-4 { + margin-bottom: 1.5rem !important; + } + .ml-md-4, + .mx-md-4 { + margin-left: 1.5rem !important; + } + .m-md-5 { + margin: 3rem !important; + } + .mt-md-5, + .my-md-5 { + margin-top: 3rem !important; + } + .mr-md-5, + .mx-md-5 { + margin-right: 3rem !important; + } + .mb-md-5, + .my-md-5 { + margin-bottom: 3rem !important; + } + .ml-md-5, + .mx-md-5 { + margin-left: 3rem !important; + } + .p-md-0 { + padding: 0 !important; + } + .pt-md-0, + .py-md-0 { + padding-top: 0 !important; + } + .pr-md-0, + .px-md-0 { + padding-right: 0 !important; + } + .pb-md-0, + .py-md-0 { + padding-bottom: 0 !important; + } + .pl-md-0, + .px-md-0 { + padding-left: 0 !important; + } + .p-md-1 { + padding: 0.25rem !important; + } + .pt-md-1, + .py-md-1 { + padding-top: 0.25rem !important; + } + .pr-md-1, + .px-md-1 { + padding-right: 0.25rem !important; + } + .pb-md-1, + .py-md-1 { + padding-bottom: 0.25rem !important; + } + .pl-md-1, + .px-md-1 { + padding-left: 0.25rem !important; + } + .p-md-2 { + padding: 0.5rem !important; + } + .pt-md-2, + .py-md-2 { + padding-top: 0.5rem !important; + } + .pr-md-2, + .px-md-2 { + padding-right: 0.5rem !important; + } + .pb-md-2, + .py-md-2 { + padding-bottom: 0.5rem !important; + } + .pl-md-2, + .px-md-2 { + padding-left: 0.5rem !important; + } + .p-md-3 { + padding: 1rem !important; + } + .pt-md-3, + .py-md-3 { + padding-top: 1rem !important; + } + .pr-md-3, + .px-md-3 { + padding-right: 1rem !important; + } + .pb-md-3, + .py-md-3 { + padding-bottom: 1rem !important; + } + .pl-md-3, + .px-md-3 { + padding-left: 1rem !important; + } + .p-md-4 { + padding: 1.5rem !important; + } + .pt-md-4, + .py-md-4 { + padding-top: 1.5rem !important; + } + .pr-md-4, + .px-md-4 { + padding-right: 1.5rem !important; + } + .pb-md-4, + .py-md-4 { + padding-bottom: 1.5rem !important; + } + .pl-md-4, + .px-md-4 { + padding-left: 1.5rem !important; + } + .p-md-5 { + padding: 3rem !important; + } + .pt-md-5, + .py-md-5 { + padding-top: 3rem !important; + } + .pr-md-5, + .px-md-5 { + padding-right: 3rem !important; + } + .pb-md-5, + .py-md-5 { + padding-bottom: 3rem !important; + } + .pl-md-5, + .px-md-5 { + padding-left: 3rem !important; + } + .m-md-n1 { + margin: -0.25rem !important; + } + .mt-md-n1, + .my-md-n1 { + margin-top: -0.25rem !important; + } + .mr-md-n1, + .mx-md-n1 { + margin-right: -0.25rem !important; + } + .mb-md-n1, + .my-md-n1 { + margin-bottom: -0.25rem !important; + } + .ml-md-n1, + .mx-md-n1 { + margin-left: -0.25rem !important; + } + .m-md-n2 { + margin: -0.5rem !important; + } + .mt-md-n2, + .my-md-n2 { + margin-top: -0.5rem !important; + } + .mr-md-n2, + .mx-md-n2 { + margin-right: -0.5rem !important; + } + .mb-md-n2, + .my-md-n2 { + margin-bottom: -0.5rem !important; + } + .ml-md-n2, + .mx-md-n2 { + margin-left: -0.5rem !important; + } + .m-md-n3 { + margin: -1rem !important; + } + .mt-md-n3, + .my-md-n3 { + margin-top: -1rem !important; + } + .mr-md-n3, + .mx-md-n3 { + margin-right: -1rem !important; + } + .mb-md-n3, + .my-md-n3 { + margin-bottom: -1rem !important; + } + .ml-md-n3, + .mx-md-n3 { + margin-left: -1rem !important; + } + .m-md-n4 { + margin: -1.5rem !important; + } + .mt-md-n4, + .my-md-n4 { + margin-top: -1.5rem !important; + } + .mr-md-n4, + .mx-md-n4 { + margin-right: -1.5rem !important; + } + .mb-md-n4, + .my-md-n4 { + margin-bottom: -1.5rem !important; + } + .ml-md-n4, + .mx-md-n4 { + margin-left: -1.5rem !important; + } + .m-md-n5 { + margin: -3rem !important; + } + .mt-md-n5, + .my-md-n5 { + margin-top: -3rem !important; + } + .mr-md-n5, + .mx-md-n5 { + margin-right: -3rem !important; + } + .mb-md-n5, + .my-md-n5 { + margin-bottom: -3rem !important; + } + .ml-md-n5, + .mx-md-n5 { + margin-left: -3rem !important; + } + .m-md-auto { + margin: auto !important; + } + .mt-md-auto, + .my-md-auto { + margin-top: auto !important; + } + .mr-md-auto, + .mx-md-auto { + margin-right: auto !important; + } + .mb-md-auto, + .my-md-auto { + margin-bottom: auto !important; + } + .ml-md-auto, + .mx-md-auto { + margin-left: auto !important; + } +} +@media (min-width: 992px) { + .m-lg-0 { + margin: 0 !important; + } + .mt-lg-0, + .my-lg-0 { + margin-top: 0 !important; + } + .mr-lg-0, + .mx-lg-0 { + margin-right: 0 !important; + } + .mb-lg-0, + .my-lg-0 { + margin-bottom: 0 !important; + } + .ml-lg-0, + .mx-lg-0 { + margin-left: 0 !important; + } + .m-lg-1 { + margin: 0.25rem !important; + } + .mt-lg-1, + .my-lg-1 { + margin-top: 0.25rem !important; + } + .mr-lg-1, + .mx-lg-1 { + margin-right: 0.25rem !important; + } + .mb-lg-1, + .my-lg-1 { + margin-bottom: 0.25rem !important; + } + .ml-lg-1, + .mx-lg-1 { + margin-left: 0.25rem !important; + } + .m-lg-2 { + margin: 0.5rem !important; + } + .mt-lg-2, + .my-lg-2 { + margin-top: 0.5rem !important; + } + .mr-lg-2, + .mx-lg-2 { + margin-right: 0.5rem !important; + } + .mb-lg-2, + .my-lg-2 { + margin-bottom: 0.5rem !important; + } + .ml-lg-2, + .mx-lg-2 { + margin-left: 0.5rem !important; + } + .m-lg-3 { + margin: 1rem !important; + } + .mt-lg-3, + .my-lg-3 { + margin-top: 1rem !important; + } + .mr-lg-3, + .mx-lg-3 { + margin-right: 1rem !important; + } + .mb-lg-3, + .my-lg-3 { + margin-bottom: 1rem !important; + } + .ml-lg-3, + .mx-lg-3 { + margin-left: 1rem !important; + } + .m-lg-4 { + margin: 1.5rem !important; + } + .mt-lg-4, + .my-lg-4 { + margin-top: 1.5rem !important; + } + .mr-lg-4, + .mx-lg-4 { + margin-right: 1.5rem !important; + } + .mb-lg-4, + .my-lg-4 { + margin-bottom: 1.5rem !important; + } + .ml-lg-4, + .mx-lg-4 { + margin-left: 1.5rem !important; + } + .m-lg-5 { + margin: 3rem !important; + } + .mt-lg-5, + .my-lg-5 { + margin-top: 3rem !important; + } + .mr-lg-5, + .mx-lg-5 { + margin-right: 3rem !important; + } + .mb-lg-5, + .my-lg-5 { + margin-bottom: 3rem !important; + } + .ml-lg-5, + .mx-lg-5 { + margin-left: 3rem !important; + } + .p-lg-0 { + padding: 0 !important; + } + .pt-lg-0, + .py-lg-0 { + padding-top: 0 !important; + } + .pr-lg-0, + .px-lg-0 { + padding-right: 0 !important; + } + .pb-lg-0, + .py-lg-0 { + padding-bottom: 0 !important; + } + .pl-lg-0, + .px-lg-0 { + padding-left: 0 !important; + } + .p-lg-1 { + padding: 0.25rem !important; + } + .pt-lg-1, + .py-lg-1 { + padding-top: 0.25rem !important; + } + .pr-lg-1, + .px-lg-1 { + padding-right: 0.25rem !important; + } + .pb-lg-1, + .py-lg-1 { + padding-bottom: 0.25rem !important; + } + .pl-lg-1, + .px-lg-1 { + padding-left: 0.25rem !important; + } + .p-lg-2 { + padding: 0.5rem !important; + } + .pt-lg-2, + .py-lg-2 { + padding-top: 0.5rem !important; + } + .pr-lg-2, + .px-lg-2 { + padding-right: 0.5rem !important; + } + .pb-lg-2, + .py-lg-2 { + padding-bottom: 0.5rem !important; + } + .pl-lg-2, + .px-lg-2 { + padding-left: 0.5rem !important; + } + .p-lg-3 { + padding: 1rem !important; + } + .pt-lg-3, + .py-lg-3 { + padding-top: 1rem !important; + } + .pr-lg-3, + .px-lg-3 { + padding-right: 1rem !important; + } + .pb-lg-3, + .py-lg-3 { + padding-bottom: 1rem !important; + } + .pl-lg-3, + .px-lg-3 { + padding-left: 1rem !important; + } + .p-lg-4 { + padding: 1.5rem !important; + } + .pt-lg-4, + .py-lg-4 { + padding-top: 1.5rem !important; + } + .pr-lg-4, + .px-lg-4 { + padding-right: 1.5rem !important; + } + .pb-lg-4, + .py-lg-4 { + padding-bottom: 1.5rem !important; + } + .pl-lg-4, + .px-lg-4 { + padding-left: 1.5rem !important; + } + .p-lg-5 { + padding: 3rem !important; + } + .pt-lg-5, + .py-lg-5 { + padding-top: 3rem !important; + } + .pr-lg-5, + .px-lg-5 { + padding-right: 3rem !important; + } + .pb-lg-5, + .py-lg-5 { + padding-bottom: 3rem !important; + } + .pl-lg-5, + .px-lg-5 { + padding-left: 3rem !important; + } + .m-lg-n1 { + margin: -0.25rem !important; + } + .mt-lg-n1, + .my-lg-n1 { + margin-top: -0.25rem !important; + } + .mr-lg-n1, + .mx-lg-n1 { + margin-right: -0.25rem !important; + } + .mb-lg-n1, + .my-lg-n1 { + margin-bottom: -0.25rem !important; + } + .ml-lg-n1, + .mx-lg-n1 { + margin-left: -0.25rem !important; + } + .m-lg-n2 { + margin: -0.5rem !important; + } + .mt-lg-n2, + .my-lg-n2 { + margin-top: -0.5rem !important; + } + .mr-lg-n2, + .mx-lg-n2 { + margin-right: -0.5rem !important; + } + .mb-lg-n2, + .my-lg-n2 { + margin-bottom: -0.5rem !important; + } + .ml-lg-n2, + .mx-lg-n2 { + margin-left: -0.5rem !important; + } + .m-lg-n3 { + margin: -1rem !important; + } + .mt-lg-n3, + .my-lg-n3 { + margin-top: -1rem !important; + } + .mr-lg-n3, + .mx-lg-n3 { + margin-right: -1rem !important; + } + .mb-lg-n3, + .my-lg-n3 { + margin-bottom: -1rem !important; + } + .ml-lg-n3, + .mx-lg-n3 { + margin-left: -1rem !important; + } + .m-lg-n4 { + margin: -1.5rem !important; + } + .mt-lg-n4, + .my-lg-n4 { + margin-top: -1.5rem !important; + } + .mr-lg-n4, + .mx-lg-n4 { + margin-right: -1.5rem !important; + } + .mb-lg-n4, + .my-lg-n4 { + margin-bottom: -1.5rem !important; + } + .ml-lg-n4, + .mx-lg-n4 { + margin-left: -1.5rem !important; + } + .m-lg-n5 { + margin: -3rem !important; + } + .mt-lg-n5, + .my-lg-n5 { + margin-top: -3rem !important; + } + .mr-lg-n5, + .mx-lg-n5 { + margin-right: -3rem !important; + } + .mb-lg-n5, + .my-lg-n5 { + margin-bottom: -3rem !important; + } + .ml-lg-n5, + .mx-lg-n5 { + margin-left: -3rem !important; + } + .m-lg-auto { + margin: auto !important; + } + .mt-lg-auto, + .my-lg-auto { + margin-top: auto !important; + } + .mr-lg-auto, + .mx-lg-auto { + margin-right: auto !important; + } + .mb-lg-auto, + .my-lg-auto { + margin-bottom: auto !important; + } + .ml-lg-auto, + .mx-lg-auto { + margin-left: auto !important; + } +} +@media (min-width: 1200px) { + .m-xl-0 { + margin: 0 !important; + } + .mt-xl-0, + .my-xl-0 { + margin-top: 0 !important; + } + .mr-xl-0, + .mx-xl-0 { + margin-right: 0 !important; + } + .mb-xl-0, + .my-xl-0 { + margin-bottom: 0 !important; + } + .ml-xl-0, + .mx-xl-0 { + margin-left: 0 !important; + } + .m-xl-1 { + margin: 0.25rem !important; + } + .mt-xl-1, + .my-xl-1 { + margin-top: 0.25rem !important; + } + .mr-xl-1, + .mx-xl-1 { + margin-right: 0.25rem !important; + } + .mb-xl-1, + .my-xl-1 { + margin-bottom: 0.25rem !important; + } + .ml-xl-1, + .mx-xl-1 { + margin-left: 0.25rem !important; + } + .m-xl-2 { + margin: 0.5rem !important; + } + .mt-xl-2, + .my-xl-2 { + margin-top: 0.5rem !important; + } + .mr-xl-2, + .mx-xl-2 { + margin-right: 0.5rem !important; + } + .mb-xl-2, + .my-xl-2 { + margin-bottom: 0.5rem !important; + } + .ml-xl-2, + .mx-xl-2 { + margin-left: 0.5rem !important; + } + .m-xl-3 { + margin: 1rem !important; + } + .mt-xl-3, + .my-xl-3 { + margin-top: 1rem !important; + } + .mr-xl-3, + .mx-xl-3 { + margin-right: 1rem !important; + } + .mb-xl-3, + .my-xl-3 { + margin-bottom: 1rem !important; + } + .ml-xl-3, + .mx-xl-3 { + margin-left: 1rem !important; + } + .m-xl-4 { + margin: 1.5rem !important; + } + .mt-xl-4, + .my-xl-4 { + margin-top: 1.5rem !important; + } + .mr-xl-4, + .mx-xl-4 { + margin-right: 1.5rem !important; + } + .mb-xl-4, + .my-xl-4 { + margin-bottom: 1.5rem !important; + } + .ml-xl-4, + .mx-xl-4 { + margin-left: 1.5rem !important; + } + .m-xl-5 { + margin: 3rem !important; + } + .mt-xl-5, + .my-xl-5 { + margin-top: 3rem !important; + } + .mr-xl-5, + .mx-xl-5 { + margin-right: 3rem !important; + } + .mb-xl-5, + .my-xl-5 { + margin-bottom: 3rem !important; + } + .ml-xl-5, + .mx-xl-5 { + margin-left: 3rem !important; + } + .p-xl-0 { + padding: 0 !important; + } + .pt-xl-0, + .py-xl-0 { + padding-top: 0 !important; + } + .pr-xl-0, + .px-xl-0 { + padding-right: 0 !important; + } + .pb-xl-0, + .py-xl-0 { + padding-bottom: 0 !important; + } + .pl-xl-0, + .px-xl-0 { + padding-left: 0 !important; + } + .p-xl-1 { + padding: 0.25rem !important; + } + .pt-xl-1, + .py-xl-1 { + padding-top: 0.25rem !important; + } + .pr-xl-1, + .px-xl-1 { + padding-right: 0.25rem !important; + } + .pb-xl-1, + .py-xl-1 { + padding-bottom: 0.25rem !important; + } + .pl-xl-1, + .px-xl-1 { + padding-left: 0.25rem !important; + } + .p-xl-2 { + padding: 0.5rem !important; + } + .pt-xl-2, + .py-xl-2 { + padding-top: 0.5rem !important; + } + .pr-xl-2, + .px-xl-2 { + padding-right: 0.5rem !important; + } + .pb-xl-2, + .py-xl-2 { + padding-bottom: 0.5rem !important; + } + .pl-xl-2, + .px-xl-2 { + padding-left: 0.5rem !important; + } + .p-xl-3 { + padding: 1rem !important; + } + .pt-xl-3, + .py-xl-3 { + padding-top: 1rem !important; + } + .pr-xl-3, + .px-xl-3 { + padding-right: 1rem !important; + } + .pb-xl-3, + .py-xl-3 { + padding-bottom: 1rem !important; + } + .pl-xl-3, + .px-xl-3 { + padding-left: 1rem !important; + } + .p-xl-4 { + padding: 1.5rem !important; + } + .pt-xl-4, + .py-xl-4 { + padding-top: 1.5rem !important; + } + .pr-xl-4, + .px-xl-4 { + padding-right: 1.5rem !important; + } + .pb-xl-4, + .py-xl-4 { + padding-bottom: 1.5rem !important; + } + .pl-xl-4, + .px-xl-4 { + padding-left: 1.5rem !important; + } + .p-xl-5 { + padding: 3rem !important; + } + .pt-xl-5, + .py-xl-5 { + padding-top: 3rem !important; + } + .pr-xl-5, + .px-xl-5 { + padding-right: 3rem !important; + } + .pb-xl-5, + .py-xl-5 { + padding-bottom: 3rem !important; + } + .pl-xl-5, + .px-xl-5 { + padding-left: 3rem !important; + } + .m-xl-n1 { + margin: -0.25rem !important; + } + .mt-xl-n1, + .my-xl-n1 { + margin-top: -0.25rem !important; + } + .mr-xl-n1, + .mx-xl-n1 { + margin-right: -0.25rem !important; + } + .mb-xl-n1, + .my-xl-n1 { + margin-bottom: -0.25rem !important; + } + .ml-xl-n1, + .mx-xl-n1 { + margin-left: -0.25rem !important; + } + .m-xl-n2 { + margin: -0.5rem !important; + } + .mt-xl-n2, + .my-xl-n2 { + margin-top: -0.5rem !important; + } + .mr-xl-n2, + .mx-xl-n2 { + margin-right: -0.5rem !important; + } + .mb-xl-n2, + .my-xl-n2 { + margin-bottom: -0.5rem !important; + } + .ml-xl-n2, + .mx-xl-n2 { + margin-left: -0.5rem !important; + } + .m-xl-n3 { + margin: -1rem !important; + } + .mt-xl-n3, + .my-xl-n3 { + margin-top: -1rem !important; + } + .mr-xl-n3, + .mx-xl-n3 { + margin-right: -1rem !important; + } + .mb-xl-n3, + .my-xl-n3 { + margin-bottom: -1rem !important; + } + .ml-xl-n3, + .mx-xl-n3 { + margin-left: -1rem !important; + } + .m-xl-n4 { + margin: -1.5rem !important; + } + .mt-xl-n4, + .my-xl-n4 { + margin-top: -1.5rem !important; + } + .mr-xl-n4, + .mx-xl-n4 { + margin-right: -1.5rem !important; + } + .mb-xl-n4, + .my-xl-n4 { + margin-bottom: -1.5rem !important; + } + .ml-xl-n4, + .mx-xl-n4 { + margin-left: -1.5rem !important; + } + .m-xl-n5 { + margin: -3rem !important; + } + .mt-xl-n5, + .my-xl-n5 { + margin-top: -3rem !important; + } + .mr-xl-n5, + .mx-xl-n5 { + margin-right: -3rem !important; + } + .mb-xl-n5, + .my-xl-n5 { + margin-bottom: -3rem !important; + } + .ml-xl-n5, + .mx-xl-n5 { + margin-left: -3rem !important; + } + .m-xl-auto { + margin: auto !important; + } + .mt-xl-auto, + .my-xl-auto { + margin-top: auto !important; + } + .mr-xl-auto, + .mx-xl-auto { + margin-right: auto !important; + } + .mb-xl-auto, + .my-xl-auto { + margin-bottom: auto !important; + } + .ml-xl-auto, + .mx-xl-auto { + margin-left: auto !important; + } +} +.text-monospace { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; +} +.text-justify { + text-align: justify !important; +} +.text-wrap { + white-space: normal !important; +} +.text-nowrap { + white-space: nowrap !important; +} +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.text-left { + text-align: left !important; +} +.text-right { + text-align: right !important; +} +.text-center { + text-align: center !important; +} +@media (min-width: 576px) { + .text-sm-left { + text-align: left !important; + } + .text-sm-right { + text-align: right !important; + } + .text-sm-center { + text-align: center !important; + } +} +@media (min-width: 768px) { + .text-md-left { + text-align: left !important; + } + .text-md-right { + text-align: right !important; + } + .text-md-center { + text-align: center !important; + } +} +@media (min-width: 992px) { + .text-lg-left { + text-align: left !important; + } + .text-lg-right { + text-align: right !important; + } + .text-lg-center { + text-align: center !important; + } +} +@media (min-width: 1200px) { + .text-xl-left { + text-align: left !important; + } + .text-xl-right { + text-align: right !important; + } + .text-xl-center { + text-align: center !important; + } +} +.text-lowercase { + text-transform: lowercase !important; +} +.text-uppercase { + text-transform: uppercase !important; +} +.text-capitalize { + text-transform: capitalize !important; +} +.font-weight-light { + font-weight: 300 !important; +} +.font-weight-lighter { + font-weight: lighter !important; +} +.font-weight-normal { + font-weight: 400 !important; +} +.font-weight-bold { + font-weight: 700 !important; +} +.font-weight-bolder { + font-weight: bolder !important; +} +.font-italic { + font-style: italic !important; +} +.text-white { + color: #fff !important; +} +.text-primary { + color: #007bff !important; +} +a.text-primary:focus, +a.text-primary:hover { + color: #0056b3 !important; +} +.text-secondary { + color: #6c757d !important; +} +a.text-secondary:focus, +a.text-secondary:hover { + color: #494f54 !important; +} +.text-success { + color: #28a745 !important; +} +a.text-success:focus, +a.text-success:hover { + color: #19692c !important; +} +.text-info { + color: #17a2b8 !important; +} +a.text-info:focus, +a.text-info:hover { + color: #0f6674 !important; +} +.text-warning { + color: #ffc107 !important; +} +a.text-warning:focus, +a.text-warning:hover { + color: #ba8b00 !important; +} +.text-danger { + color: #dc3545 !important; +} +a.text-danger:focus, +a.text-danger:hover { + color: #a71d2a !important; +} +.text-light { + color: #f8f9fa !important; +} +a.text-light:focus, +a.text-light:hover { + color: #cbd3da !important; +} +.text-dark { + color: #343a40 !important; +} +a.text-dark:focus, +a.text-dark:hover { + color: #121416 !important; +} +.text-body { + color: #212529 !important; +} +.text-muted { + color: #6c757d !important; +} +.text-black-50 { + color: rgba(0, 0, 0, 0.5) !important; +} +.text-white-50 { + color: rgba(255, 255, 255, 0.5) !important; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.text-decoration-none { + text-decoration: none !important; +} +.text-reset { + color: inherit !important; +} +.visible { + visibility: visible !important; +} +.invisible { + visibility: hidden !important; +} +@media print { + *, + ::after, + ::before { + text-shadow: none !important; + box-shadow: none !important; + } + a:not(.btn) { + text-decoration: underline; + } + abbr[title]::after { + content: " (" attr(title) ")"; + } + pre { + white-space: pre-wrap !important; + } + blockquote, + pre { + border: 1px solid #adb5bd; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + img, + tr { + page-break-inside: avoid; + } + h2, + h3, + p { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + @page { + size: a3; + } + body { + min-width: 992px !important; + } + .container { + min-width: 992px !important; + } + .navbar { + display: none; + } + .badge { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered td, + .table-bordered th { + border: 1px solid #dee2e6 !important; + } + .table-dark { + color: inherit; + } + .table-dark tbody + tbody, + .table-dark td, + .table-dark th, + .table-dark thead th { + border-color: #dee2e6; + } + .table .thead-dark th { + color: inherit; + border-color: #dee2e6; + } +} +/*# sourceMappingURL=bootstrap.min.css.map */ diff --git a/public/assets/assetLanding/css/ionicons.min.css b/public/assets/assetLanding/css/ionicons.min.css new file mode 100644 index 0000000..aa6c0a4 --- /dev/null +++ b/public/assets/assetLanding/css/ionicons.min.css @@ -0,0 +1,2973 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ +@charset "UTF-8"; /*! + Ionicons, v2.0.0 + Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ + https://twitter.com/benjsperry https://twitter.com/ionicframework + MIT License: https://github.com/driftyco/ionicons + + Android-style icons originally built by Google’s + Material Design Icons: https://github.com/google/material-design-icons + used under CC BY http://creativecommons.org/licenses/by/4.0/ + Modified icons to fit ionicon’s grid from original. +*/ +@font-face { + font-family: "Ionicons"; + src: url("../fonts/ionicons.eot?v=2.0.0"); + src: url("../fonts/ionicons.eot?v=2.0.0#iefix") format("embedded-opentype"), + url("../fonts/ionicons.ttf?v=2.0.0") format("truetype"), + url("../fonts/ionicons.woff?v=2.0.0") format("woff"), + url("../fonts/ionicons.svg?v=2.0.0#Ionicons") format("svg"); + font-weight: normal; + font-style: normal; +} +.ion, +.ionicons, +.ion-alert:before, +.ion-alert-circled:before, +.ion-android-add:before, +.ion-android-add-circle:before, +.ion-android-alarm-clock:before, +.ion-android-alert:before, +.ion-android-apps:before, +.ion-android-archive:before, +.ion-android-arrow-back:before, +.ion-android-arrow-down:before, +.ion-android-arrow-dropdown:before, +.ion-android-arrow-dropdown-circle:before, +.ion-android-arrow-dropleft:before, +.ion-android-arrow-dropleft-circle:before, +.ion-android-arrow-dropright:before, +.ion-android-arrow-dropright-circle:before, +.ion-android-arrow-dropup:before, +.ion-android-arrow-dropup-circle:before, +.ion-android-arrow-forward:before, +.ion-android-arrow-up:before, +.ion-android-attach:before, +.ion-android-bar:before, +.ion-android-bicycle:before, +.ion-android-boat:before, +.ion-android-bookmark:before, +.ion-android-bulb:before, +.ion-android-bus:before, +.ion-android-calendar:before, +.ion-android-call:before, +.ion-android-camera:before, +.ion-android-cancel:before, +.ion-android-car:before, +.ion-android-cart:before, +.ion-android-chat:before, +.ion-android-checkbox:before, +.ion-android-checkbox-blank:before, +.ion-android-checkbox-outline:before, +.ion-android-checkbox-outline-blank:before, +.ion-android-checkmark-circle:before, +.ion-android-clipboard:before, +.ion-android-close:before, +.ion-android-cloud:before, +.ion-android-cloud-circle:before, +.ion-android-cloud-done:before, +.ion-android-cloud-outline:before, +.ion-android-color-palette:before, +.ion-android-compass:before, +.ion-android-contact:before, +.ion-android-contacts:before, +.ion-android-contract:before, +.ion-android-create:before, +.ion-android-delete:before, +.ion-android-desktop:before, +.ion-android-document:before, +.ion-android-done:before, +.ion-android-done-all:before, +.ion-android-download:before, +.ion-android-drafts:before, +.ion-android-exit:before, +.ion-android-expand:before, +.ion-android-favorite:before, +.ion-android-favorite-outline:before, +.ion-android-film:before, +.ion-android-folder:before, +.ion-android-folder-open:before, +.ion-android-funnel:before, +.ion-android-globe:before, +.ion-android-hand:before, +.ion-android-hangout:before, +.ion-android-happy:before, +.ion-android-home:before, +.ion-android-image:before, +.ion-android-laptop:before, +.ion-android-list:before, +.ion-android-locate:before, +.ion-android-lock:before, +.ion-android-mail:before, +.ion-android-map:before, +.ion-android-menu:before, +.ion-android-microphone:before, +.ion-android-microphone-off:before, +.ion-android-more-horizontal:before, +.ion-android-more-vertical:before, +.ion-android-navigate:before, +.ion-android-notifications:before, +.ion-android-notifications-none:before, +.ion-android-notifications-off:before, +.ion-android-open:before, +.ion-android-options:before, +.ion-android-people:before, +.ion-android-person:before, +.ion-android-person-add:before, +.ion-android-phone-landscape:before, +.ion-android-phone-portrait:before, +.ion-android-pin:before, +.ion-android-plane:before, +.ion-android-playstore:before, +.ion-android-print:before, +.ion-android-radio-button-off:before, +.ion-android-radio-button-on:before, +.ion-android-refresh:before, +.ion-android-remove:before, +.ion-android-remove-circle:before, +.ion-android-restaurant:before, +.ion-android-sad:before, +.ion-android-search:before, +.ion-android-send:before, +.ion-android-settings:before, +.ion-android-share:before, +.ion-android-share-alt:before, +.ion-android-star:before, +.ion-android-star-half:before, +.ion-android-star-outline:before, +.ion-android-stopwatch:before, +.ion-android-subway:before, +.ion-android-sunny:before, +.ion-android-sync:before, +.ion-android-textsms:before, +.ion-android-time:before, +.ion-android-train:before, +.ion-android-unlock:before, +.ion-android-upload:before, +.ion-android-volume-down:before, +.ion-android-volume-mute:before, +.ion-android-volume-off:before, +.ion-android-volume-up:before, +.ion-android-walk:before, +.ion-android-warning:before, +.ion-android-watch:before, +.ion-android-wifi:before, +.ion-aperture:before, +.ion-archive:before, +.ion-arrow-down-a:before, +.ion-arrow-down-b:before, +.ion-arrow-down-c:before, +.ion-arrow-expand:before, +.ion-arrow-graph-down-left:before, +.ion-arrow-graph-down-right:before, +.ion-arrow-graph-up-left:before, +.ion-arrow-graph-up-right:before, +.ion-arrow-left-a:before, +.ion-arrow-left-b:before, +.ion-arrow-left-c:before, +.ion-arrow-move:before, +.ion-arrow-resize:before, +.ion-arrow-return-left:before, +.ion-arrow-return-right:before, +.ion-arrow-right-a:before, +.ion-arrow-right-b:before, +.ion-arrow-right-c:before, +.ion-arrow-shrink:before, +.ion-arrow-swap:before, +.ion-arrow-up-a:before, +.ion-arrow-up-b:before, +.ion-arrow-up-c:before, +.ion-asterisk:before, +.ion-at:before, +.ion-backspace:before, +.ion-backspace-outline:before, +.ion-bag:before, +.ion-battery-charging:before, +.ion-battery-empty:before, +.ion-battery-full:before, +.ion-battery-half:before, +.ion-battery-low:before, +.ion-beaker:before, +.ion-beer:before, +.ion-bluetooth:before, +.ion-bonfire:before, +.ion-bookmark:before, +.ion-bowtie:before, +.ion-briefcase:before, +.ion-bug:before, +.ion-calculator:before, +.ion-calendar:before, +.ion-camera:before, +.ion-card:before, +.ion-cash:before, +.ion-chatbox:before, +.ion-chatbox-working:before, +.ion-chatboxes:before, +.ion-chatbubble:before, +.ion-chatbubble-working:before, +.ion-chatbubbles:before, +.ion-checkmark:before, +.ion-checkmark-circled:before, +.ion-checkmark-round:before, +.ion-chevron-down:before, +.ion-chevron-left:before, +.ion-chevron-right:before, +.ion-chevron-up:before, +.ion-clipboard:before, +.ion-clock:before, +.ion-close:before, +.ion-close-circled:before, +.ion-close-round:before, +.ion-closed-captioning:before, +.ion-cloud:before, +.ion-code:before, +.ion-code-download:before, +.ion-code-working:before, +.ion-coffee:before, +.ion-compass:before, +.ion-compose:before, +.ion-connection-bars:before, +.ion-contrast:before, +.ion-crop:before, +.ion-cube:before, +.ion-disc:before, +.ion-document:before, +.ion-document-text:before, +.ion-drag:before, +.ion-earth:before, +.ion-easel:before, +.ion-edit:before, +.ion-egg:before, +.ion-eject:before, +.ion-email:before, +.ion-email-unread:before, +.ion-erlenmeyer-flask:before, +.ion-erlenmeyer-flask-bubbles:before, +.ion-eye:before, +.ion-eye-disabled:before, +.ion-female:before, +.ion-filing:before, +.ion-film-marker:before, +.ion-fireball:before, +.ion-flag:before, +.ion-flame:before, +.ion-flash:before, +.ion-flash-off:before, +.ion-folder:before, +.ion-fork:before, +.ion-fork-repo:before, +.ion-forward:before, +.ion-funnel:before, +.ion-gear-a:before, +.ion-gear-b:before, +.ion-grid:before, +.ion-hammer:before, +.ion-happy:before, +.ion-happy-outline:before, +.ion-headphone:before, +.ion-heart:before, +.ion-heart-broken:before, +.ion-help:before, +.ion-help-buoy:before, +.ion-help-circled:before, +.ion-home:before, +.ion-icecream:before, +.ion-image:before, +.ion-images:before, +.ion-information:before, +.ion-information-circled:before, +.ion-ionic:before, +.ion-ios-alarm:before, +.ion-ios-alarm-outline:before, +.ion-ios-albums:before, +.ion-ios-albums-outline:before, +.ion-ios-americanfootball:before, +.ion-ios-americanfootball-outline:before, +.ion-ios-analytics:before, +.ion-ios-analytics-outline:before, +.ion-ios-arrow-back:before, +.ion-ios-arrow-down:before, +.ion-ios-arrow-forward:before, +.ion-ios-arrow-left:before, +.ion-ios-arrow-right:before, +.ion-ios-arrow-thin-down:before, +.ion-ios-arrow-thin-left:before, +.ion-ios-arrow-thin-right:before, +.ion-ios-arrow-thin-up:before, +.ion-ios-arrow-up:before, +.ion-ios-at:before, +.ion-ios-at-outline:before, +.ion-ios-barcode:before, +.ion-ios-barcode-outline:before, +.ion-ios-baseball:before, +.ion-ios-baseball-outline:before, +.ion-ios-basketball:before, +.ion-ios-basketball-outline:before, +.ion-ios-bell:before, +.ion-ios-bell-outline:before, +.ion-ios-body:before, +.ion-ios-body-outline:before, +.ion-ios-bolt:before, +.ion-ios-bolt-outline:before, +.ion-ios-book:before, +.ion-ios-book-outline:before, +.ion-ios-bookmarks:before, +.ion-ios-bookmarks-outline:before, +.ion-ios-box:before, +.ion-ios-box-outline:before, +.ion-ios-briefcase:before, +.ion-ios-briefcase-outline:before, +.ion-ios-browsers:before, +.ion-ios-browsers-outline:before, +.ion-ios-calculator:before, +.ion-ios-calculator-outline:before, +.ion-ios-calendar:before, +.ion-ios-calendar-outline:before, +.ion-ios-camera:before, +.ion-ios-camera-outline:before, +.ion-ios-cart:before, +.ion-ios-cart-outline:before, +.ion-ios-chatboxes:before, +.ion-ios-chatboxes-outline:before, +.ion-ios-chatbubble:before, +.ion-ios-chatbubble-outline:before, +.ion-ios-checkmark:before, +.ion-ios-checkmark-empty:before, +.ion-ios-checkmark-outline:before, +.ion-ios-circle-filled:before, +.ion-ios-circle-outline:before, +.ion-ios-clock:before, +.ion-ios-clock-outline:before, +.ion-ios-close:before, +.ion-ios-close-empty:before, +.ion-ios-close-outline:before, +.ion-ios-cloud:before, +.ion-ios-cloud-download:before, +.ion-ios-cloud-download-outline:before, +.ion-ios-cloud-outline:before, +.ion-ios-cloud-upload:before, +.ion-ios-cloud-upload-outline:before, +.ion-ios-cloudy:before, +.ion-ios-cloudy-night:before, +.ion-ios-cloudy-night-outline:before, +.ion-ios-cloudy-outline:before, +.ion-ios-cog:before, +.ion-ios-cog-outline:before, +.ion-ios-color-filter:before, +.ion-ios-color-filter-outline:before, +.ion-ios-color-wand:before, +.ion-ios-color-wand-outline:before, +.ion-ios-compose:before, +.ion-ios-compose-outline:before, +.ion-ios-contact:before, +.ion-ios-contact-outline:before, +.ion-ios-copy:before, +.ion-ios-copy-outline:before, +.ion-ios-crop:before, +.ion-ios-crop-strong:before, +.ion-ios-download:before, +.ion-ios-download-outline:before, +.ion-ios-drag:before, +.ion-ios-email:before, +.ion-ios-email-outline:before, +.ion-ios-eye:before, +.ion-ios-eye-outline:before, +.ion-ios-fastforward:before, +.ion-ios-fastforward-outline:before, +.ion-ios-filing:before, +.ion-ios-filing-outline:before, +.ion-ios-film:before, +.ion-ios-film-outline:before, +.ion-ios-flag:before, +.ion-ios-flag-outline:before, +.ion-ios-flame:before, +.ion-ios-flame-outline:before, +.ion-ios-flask:before, +.ion-ios-flask-outline:before, +.ion-ios-flower:before, +.ion-ios-flower-outline:before, +.ion-ios-folder:before, +.ion-ios-folder-outline:before, +.ion-ios-football:before, +.ion-ios-football-outline:before, +.ion-ios-game-controller-a:before, +.ion-ios-game-controller-a-outline:before, +.ion-ios-game-controller-b:before, +.ion-ios-game-controller-b-outline:before, +.ion-ios-gear:before, +.ion-ios-gear-outline:before, +.ion-ios-glasses:before, +.ion-ios-glasses-outline:before, +.ion-ios-grid-view:before, +.ion-ios-grid-view-outline:before, +.ion-ios-heart:before, +.ion-ios-heart-outline:before, +.ion-ios-help:before, +.ion-ios-help-empty:before, +.ion-ios-help-outline:before, +.ion-ios-home:before, +.ion-ios-home-outline:before, +.ion-ios-infinite:before, +.ion-ios-infinite-outline:before, +.ion-ios-information:before, +.ion-ios-information-empty:before, +.ion-ios-information-outline:before, +.ion-ios-ionic-outline:before, +.ion-ios-keypad:before, +.ion-ios-keypad-outline:before, +.ion-ios-lightbulb:before, +.ion-ios-lightbulb-outline:before, +.ion-ios-list:before, +.ion-ios-list-outline:before, +.ion-ios-location:before, +.ion-ios-location-outline:before, +.ion-ios-locked:before, +.ion-ios-locked-outline:before, +.ion-ios-loop:before, +.ion-ios-loop-strong:before, +.ion-ios-medical:before, +.ion-ios-medical-outline:before, +.ion-ios-medkit:before, +.ion-ios-medkit-outline:before, +.ion-ios-mic:before, +.ion-ios-mic-off:before, +.ion-ios-mic-outline:before, +.ion-ios-minus:before, +.ion-ios-minus-empty:before, +.ion-ios-minus-outline:before, +.ion-ios-monitor:before, +.ion-ios-monitor-outline:before, +.ion-ios-moon:before, +.ion-ios-moon-outline:before, +.ion-ios-more:before, +.ion-ios-more-outline:before, +.ion-ios-musical-note:before, +.ion-ios-musical-notes:before, +.ion-ios-navigate:before, +.ion-ios-navigate-outline:before, +.ion-ios-nutrition:before, +.ion-ios-nutrition-outline:before, +.ion-ios-paper:before, +.ion-ios-paper-outline:before, +.ion-ios-paperplane:before, +.ion-ios-paperplane-outline:before, +.ion-ios-partlysunny:before, +.ion-ios-partlysunny-outline:before, +.ion-ios-pause:before, +.ion-ios-pause-outline:before, +.ion-ios-paw:before, +.ion-ios-paw-outline:before, +.ion-ios-people:before, +.ion-ios-people-outline:before, +.ion-ios-person:before, +.ion-ios-person-outline:before, +.ion-ios-personadd:before, +.ion-ios-personadd-outline:before, +.ion-ios-photos:before, +.ion-ios-photos-outline:before, +.ion-ios-pie:before, +.ion-ios-pie-outline:before, +.ion-ios-pint:before, +.ion-ios-pint-outline:before, +.ion-ios-play:before, +.ion-ios-play-outline:before, +.ion-ios-plus:before, +.ion-ios-plus-empty:before, +.ion-ios-plus-outline:before, +.ion-ios-pricetag:before, +.ion-ios-pricetag-outline:before, +.ion-ios-pricetags:before, +.ion-ios-pricetags-outline:before, +.ion-ios-printer:before, +.ion-ios-printer-outline:before, +.ion-ios-pulse:before, +.ion-ios-pulse-strong:before, +.ion-ios-rainy:before, +.ion-ios-rainy-outline:before, +.ion-ios-recording:before, +.ion-ios-recording-outline:before, +.ion-ios-redo:before, +.ion-ios-redo-outline:before, +.ion-ios-refresh:before, +.ion-ios-refresh-empty:before, +.ion-ios-refresh-outline:before, +.ion-ios-reload:before, +.ion-ios-reverse-camera:before, +.ion-ios-reverse-camera-outline:before, +.ion-ios-rewind:before, +.ion-ios-rewind-outline:before, +.ion-ios-rose:before, +.ion-ios-rose-outline:before, +.ion-ios-search:before, +.ion-ios-search-strong:before, +.ion-ios-settings:before, +.ion-ios-settings-strong:before, +.ion-ios-shuffle:before, +.ion-ios-shuffle-strong:before, +.ion-ios-skipbackward:before, +.ion-ios-skipbackward-outline:before, +.ion-ios-skipforward:before, +.ion-ios-skipforward-outline:before, +.ion-ios-snowy:before, +.ion-ios-speedometer:before, +.ion-ios-speedometer-outline:before, +.ion-ios-star:before, +.ion-ios-star-half:before, +.ion-ios-star-outline:before, +.ion-ios-stopwatch:before, +.ion-ios-stopwatch-outline:before, +.ion-ios-sunny:before, +.ion-ios-sunny-outline:before, +.ion-ios-telephone:before, +.ion-ios-telephone-outline:before, +.ion-ios-tennisball:before, +.ion-ios-tennisball-outline:before, +.ion-ios-thunderstorm:before, +.ion-ios-thunderstorm-outline:before, +.ion-ios-time:before, +.ion-ios-time-outline:before, +.ion-ios-timer:before, +.ion-ios-timer-outline:before, +.ion-ios-toggle:before, +.ion-ios-toggle-outline:before, +.ion-ios-trash:before, +.ion-ios-trash-outline:before, +.ion-ios-undo:before, +.ion-ios-undo-outline:before, +.ion-ios-unlocked:before, +.ion-ios-unlocked-outline:before, +.ion-ios-upload:before, +.ion-ios-upload-outline:before, +.ion-ios-videocam:before, +.ion-ios-videocam-outline:before, +.ion-ios-volume-high:before, +.ion-ios-volume-low:before, +.ion-ios-wineglass:before, +.ion-ios-wineglass-outline:before, +.ion-ios-world:before, +.ion-ios-world-outline:before, +.ion-ipad:before, +.ion-iphone:before, +.ion-ipod:before, +.ion-jet:before, +.ion-key:before, +.ion-knife:before, +.ion-laptop:before, +.ion-leaf:before, +.ion-levels:before, +.ion-lightbulb:before, +.ion-link:before, +.ion-load-a:before, +.ion-load-b:before, +.ion-load-c:before, +.ion-load-d:before, +.ion-location:before, +.ion-lock-combination:before, +.ion-locked:before, +.ion-log-in:before, +.ion-log-out:before, +.ion-loop:before, +.ion-magnet:before, +.ion-male:before, +.ion-man:before, +.ion-map:before, +.ion-medkit:before, +.ion-merge:before, +.ion-mic-a:before, +.ion-mic-b:before, +.ion-mic-c:before, +.ion-minus:before, +.ion-minus-circled:before, +.ion-minus-round:before, +.ion-model-s:before, +.ion-monitor:before, +.ion-more:before, +.ion-mouse:before, +.ion-music-note:before, +.ion-navicon:before, +.ion-navicon-round:before, +.ion-navigate:before, +.ion-network:before, +.ion-no-smoking:before, +.ion-nuclear:before, +.ion-outlet:before, +.ion-paintbrush:before, +.ion-paintbucket:before, +.ion-paper-airplane:before, +.ion-paperclip:before, +.ion-pause:before, +.ion-person:before, +.ion-person-add:before, +.ion-person-stalker:before, +.ion-pie-graph:before, +.ion-pin:before, +.ion-pinpoint:before, +.ion-pizza:before, +.ion-plane:before, +.ion-planet:before, +.ion-play:before, +.ion-playstation:before, +.ion-plus:before, +.ion-plus-circled:before, +.ion-plus-round:before, +.ion-podium:before, +.ion-pound:before, +.ion-power:before, +.ion-pricetag:before, +.ion-pricetags:before, +.ion-printer:before, +.ion-pull-request:before, +.ion-qr-scanner:before, +.ion-quote:before, +.ion-radio-waves:before, +.ion-record:before, +.ion-refresh:before, +.ion-reply:before, +.ion-reply-all:before, +.ion-ribbon-a:before, +.ion-ribbon-b:before, +.ion-sad:before, +.ion-sad-outline:before, +.ion-scissors:before, +.ion-search:before, +.ion-settings:before, +.ion-share:before, +.ion-shuffle:before, +.ion-skip-backward:before, +.ion-skip-forward:before, +.ion-social-android:before, +.ion-social-android-outline:before, +.ion-social-angular:before, +.ion-social-angular-outline:before, +.ion-social-apple:before, +.ion-social-apple-outline:before, +.ion-social-bitcoin:before, +.ion-social-bitcoin-outline:before, +.ion-social-buffer:before, +.ion-social-buffer-outline:before, +.ion-social-chrome:before, +.ion-social-chrome-outline:before, +.ion-social-codepen:before, +.ion-social-codepen-outline:before, +.ion-social-css3:before, +.ion-social-css3-outline:before, +.ion-social-designernews:before, +.ion-social-designernews-outline:before, +.ion-social-dribbble:before, +.ion-social-dribbble-outline:before, +.ion-social-dropbox:before, +.ion-social-dropbox-outline:before, +.ion-social-euro:before, +.ion-social-euro-outline:before, +.ion-social-facebook:before, +.ion-social-facebook-outline:before, +.ion-social-foursquare:before, +.ion-social-foursquare-outline:before, +.ion-social-freebsd-devil:before, +.ion-social-github:before, +.ion-social-github-outline:before, +.ion-social-google:before, +.ion-social-google-outline:before, +.ion-social-googleplus:before, +.ion-social-googleplus-outline:before, +.ion-social-hackernews:before, +.ion-social-hackernews-outline:before, +.ion-social-html5:before, +.ion-social-html5-outline:before, +.ion-social-instagram:before, +.ion-social-instagram-outline:before, +.ion-social-javascript:before, +.ion-social-javascript-outline:before, +.ion-social-linkedin:before, +.ion-social-linkedin-outline:before, +.ion-social-markdown:before, +.ion-social-nodejs:before, +.ion-social-octocat:before, +.ion-social-pinterest:before, +.ion-social-pinterest-outline:before, +.ion-social-python:before, +.ion-social-reddit:before, +.ion-social-reddit-outline:before, +.ion-social-rss:before, +.ion-social-rss-outline:before, +.ion-social-sass:before, +.ion-social-skype:before, +.ion-social-skype-outline:before, +.ion-social-snapchat:before, +.ion-social-snapchat-outline:before, +.ion-social-tumblr:before, +.ion-social-tumblr-outline:before, +.ion-social-tux:before, +.ion-social-twitch:before, +.ion-social-twitch-outline:before, +.ion-social-twitter:before, +.ion-social-twitter-outline:before, +.ion-social-usd:before, +.ion-social-usd-outline:before, +.ion-social-vimeo:before, +.ion-social-vimeo-outline:before, +.ion-social-whatsapp:before, +.ion-social-whatsapp-outline:before, +.ion-social-windows:before, +.ion-social-windows-outline:before, +.ion-social-wordpress:before, +.ion-social-wordpress-outline:before, +.ion-social-yahoo:before, +.ion-social-yahoo-outline:before, +.ion-social-yen:before, +.ion-social-yen-outline:before, +.ion-social-youtube:before, +.ion-social-youtube-outline:before, +.ion-soup-can:before, +.ion-soup-can-outline:before, +.ion-speakerphone:before, +.ion-speedometer:before, +.ion-spoon:before, +.ion-star:before, +.ion-stats-bars:before, +.ion-steam:before, +.ion-stop:before, +.ion-thermometer:before, +.ion-thumbsdown:before, +.ion-thumbsup:before, +.ion-toggle:before, +.ion-toggle-filled:before, +.ion-transgender:before, +.ion-trash-a:before, +.ion-trash-b:before, +.ion-trophy:before, +.ion-tshirt:before, +.ion-tshirt-outline:before, +.ion-umbrella:before, +.ion-university:before, +.ion-unlocked:before, +.ion-upload:before, +.ion-usb:before, +.ion-videocamera:before, +.ion-volume-high:before, +.ion-volume-low:before, +.ion-volume-medium:before, +.ion-volume-mute:before, +.ion-wand:before, +.ion-waterdrop:before, +.ion-wifi:before, +.ion-wineglass:before, +.ion-woman:before, +.ion-wrench:before, +.ion-xbox:before { + display: inline-block; + font-family: "Ionicons"; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + text-rendering: auto; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.ion-alert:before { + content: "\f101"; +} +.ion-alert-circled:before { + content: "\f100"; +} +.ion-android-add:before { + content: "\f2c7"; +} +.ion-android-add-circle:before { + content: "\f359"; +} +.ion-android-alarm-clock:before { + content: "\f35a"; +} +.ion-android-alert:before { + content: "\f35b"; +} +.ion-android-apps:before { + content: "\f35c"; +} +.ion-android-archive:before { + content: "\f2c9"; +} +.ion-android-arrow-back:before { + content: "\f2ca"; +} +.ion-android-arrow-down:before { + content: "\f35d"; +} +.ion-android-arrow-dropdown:before { + content: "\f35f"; +} +.ion-android-arrow-dropdown-circle:before { + content: "\f35e"; +} +.ion-android-arrow-dropleft:before { + content: "\f361"; +} +.ion-android-arrow-dropleft-circle:before { + content: "\f360"; +} +.ion-android-arrow-dropright:before { + content: "\f363"; +} +.ion-android-arrow-dropright-circle:before { + content: "\f362"; +} +.ion-android-arrow-dropup:before { + content: "\f365"; +} +.ion-android-arrow-dropup-circle:before { + content: "\f364"; +} +.ion-android-arrow-forward:before { + content: "\f30f"; +} +.ion-android-arrow-up:before { + content: "\f366"; +} +.ion-android-attach:before { + content: "\f367"; +} +.ion-android-bar:before { + content: "\f368"; +} +.ion-android-bicycle:before { + content: "\f369"; +} +.ion-android-boat:before { + content: "\f36a"; +} +.ion-android-bookmark:before { + content: "\f36b"; +} +.ion-android-bulb:before { + content: "\f36c"; +} +.ion-android-bus:before { + content: "\f36d"; +} +.ion-android-calendar:before { + content: "\f2d1"; +} +.ion-android-call:before { + content: "\f2d2"; +} +.ion-android-camera:before { + content: "\f2d3"; +} +.ion-android-cancel:before { + content: "\f36e"; +} +.ion-android-car:before { + content: "\f36f"; +} +.ion-android-cart:before { + content: "\f370"; +} +.ion-android-chat:before { + content: "\f2d4"; +} +.ion-android-checkbox:before { + content: "\f374"; +} +.ion-android-checkbox-blank:before { + content: "\f371"; +} +.ion-android-checkbox-outline:before { + content: "\f373"; +} +.ion-android-checkbox-outline-blank:before { + content: "\f372"; +} +.ion-android-checkmark-circle:before { + content: "\f375"; +} +.ion-android-clipboard:before { + content: "\f376"; +} +.ion-android-close:before { + content: "\f2d7"; +} +.ion-android-cloud:before { + content: "\f37a"; +} +.ion-android-cloud-circle:before { + content: "\f377"; +} +.ion-android-cloud-done:before { + content: "\f378"; +} +.ion-android-cloud-outline:before { + content: "\f379"; +} +.ion-android-color-palette:before { + content: "\f37b"; +} +.ion-android-compass:before { + content: "\f37c"; +} +.ion-android-contact:before { + content: "\f2d8"; +} +.ion-android-contacts:before { + content: "\f2d9"; +} +.ion-android-contract:before { + content: "\f37d"; +} +.ion-android-create:before { + content: "\f37e"; +} +.ion-android-delete:before { + content: "\f37f"; +} +.ion-android-desktop:before { + content: "\f380"; +} +.ion-android-document:before { + content: "\f381"; +} +.ion-android-done:before { + content: "\f383"; +} +.ion-android-done-all:before { + content: "\f382"; +} +.ion-android-download:before { + content: "\f2dd"; +} +.ion-android-drafts:before { + content: "\f384"; +} +.ion-android-exit:before { + content: "\f385"; +} +.ion-android-expand:before { + content: "\f386"; +} +.ion-android-favorite:before { + content: "\f388"; +} +.ion-android-favorite-outline:before { + content: "\f387"; +} +.ion-android-film:before { + content: "\f389"; +} +.ion-android-folder:before { + content: "\f2e0"; +} +.ion-android-folder-open:before { + content: "\f38a"; +} +.ion-android-funnel:before { + content: "\f38b"; +} +.ion-android-globe:before { + content: "\f38c"; +} +.ion-android-hand:before { + content: "\f2e3"; +} +.ion-android-hangout:before { + content: "\f38d"; +} +.ion-android-happy:before { + content: "\f38e"; +} +.ion-android-home:before { + content: "\f38f"; +} +.ion-android-image:before { + content: "\f2e4"; +} +.ion-android-laptop:before { + content: "\f390"; +} +.ion-android-list:before { + content: "\f391"; +} +.ion-android-locate:before { + content: "\f2e9"; +} +.ion-android-lock:before { + content: "\f392"; +} +.ion-android-mail:before { + content: "\f2eb"; +} +.ion-android-map:before { + content: "\f393"; +} +.ion-android-menu:before { + content: "\f394"; +} +.ion-android-microphone:before { + content: "\f2ec"; +} +.ion-android-microphone-off:before { + content: "\f395"; +} +.ion-android-more-horizontal:before { + content: "\f396"; +} +.ion-android-more-vertical:before { + content: "\f397"; +} +.ion-android-navigate:before { + content: "\f398"; +} +.ion-android-notifications:before { + content: "\f39b"; +} +.ion-android-notifications-none:before { + content: "\f399"; +} +.ion-android-notifications-off:before { + content: "\f39a"; +} +.ion-android-open:before { + content: "\f39c"; +} +.ion-android-options:before { + content: "\f39d"; +} +.ion-android-people:before { + content: "\f39e"; +} +.ion-android-person:before { + content: "\f3a0"; +} +.ion-android-person-add:before { + content: "\f39f"; +} +.ion-android-phone-landscape:before { + content: "\f3a1"; +} +.ion-android-phone-portrait:before { + content: "\f3a2"; +} +.ion-android-pin:before { + content: "\f3a3"; +} +.ion-android-plane:before { + content: "\f3a4"; +} +.ion-android-playstore:before { + content: "\f2f0"; +} +.ion-android-print:before { + content: "\f3a5"; +} +.ion-android-radio-button-off:before { + content: "\f3a6"; +} +.ion-android-radio-button-on:before { + content: "\f3a7"; +} +.ion-android-refresh:before { + content: "\f3a8"; +} +.ion-android-remove:before { + content: "\f2f4"; +} +.ion-android-remove-circle:before { + content: "\f3a9"; +} +.ion-android-restaurant:before { + content: "\f3aa"; +} +.ion-android-sad:before { + content: "\f3ab"; +} +.ion-android-search:before { + content: "\f2f5"; +} +.ion-android-send:before { + content: "\f2f6"; +} +.ion-android-settings:before { + content: "\f2f7"; +} +.ion-android-share:before { + content: "\f2f8"; +} +.ion-android-share-alt:before { + content: "\f3ac"; +} +.ion-android-star:before { + content: "\f2fc"; +} +.ion-android-star-half:before { + content: "\f3ad"; +} +.ion-android-star-outline:before { + content: "\f3ae"; +} +.ion-android-stopwatch:before { + content: "\f2fd"; +} +.ion-android-subway:before { + content: "\f3af"; +} +.ion-android-sunny:before { + content: "\f3b0"; +} +.ion-android-sync:before { + content: "\f3b1"; +} +.ion-android-textsms:before { + content: "\f3b2"; +} +.ion-android-time:before { + content: "\f3b3"; +} +.ion-android-train:before { + content: "\f3b4"; +} +.ion-android-unlock:before { + content: "\f3b5"; +} +.ion-android-upload:before { + content: "\f3b6"; +} +.ion-android-volume-down:before { + content: "\f3b7"; +} +.ion-android-volume-mute:before { + content: "\f3b8"; +} +.ion-android-volume-off:before { + content: "\f3b9"; +} +.ion-android-volume-up:before { + content: "\f3ba"; +} +.ion-android-walk:before { + content: "\f3bb"; +} +.ion-android-warning:before { + content: "\f3bc"; +} +.ion-android-watch:before { + content: "\f3bd"; +} +.ion-android-wifi:before { + content: "\f305"; +} +.ion-aperture:before { + content: "\f313"; +} +.ion-archive:before { + content: "\f102"; +} +.ion-arrow-down-a:before { + content: "\f103"; +} +.ion-arrow-down-b:before { + content: "\f104"; +} +.ion-arrow-down-c:before { + content: "\f105"; +} +.ion-arrow-expand:before { + content: "\f25e"; +} +.ion-arrow-graph-down-left:before { + content: "\f25f"; +} +.ion-arrow-graph-down-right:before { + content: "\f260"; +} +.ion-arrow-graph-up-left:before { + content: "\f261"; +} +.ion-arrow-graph-up-right:before { + content: "\f262"; +} +.ion-arrow-left-a:before { + content: "\f106"; +} +.ion-arrow-left-b:before { + content: "\f107"; +} +.ion-arrow-left-c:before { + content: "\f108"; +} +.ion-arrow-move:before { + content: "\f263"; +} +.ion-arrow-resize:before { + content: "\f264"; +} +.ion-arrow-return-left:before { + content: "\f265"; +} +.ion-arrow-return-right:before { + content: "\f266"; +} +.ion-arrow-right-a:before { + content: "\f109"; +} +.ion-arrow-right-b:before { + content: "\f10a"; +} +.ion-arrow-right-c:before { + content: "\f10b"; +} +.ion-arrow-shrink:before { + content: "\f267"; +} +.ion-arrow-swap:before { + content: "\f268"; +} +.ion-arrow-up-a:before { + content: "\f10c"; +} +.ion-arrow-up-b:before { + content: "\f10d"; +} +.ion-arrow-up-c:before { + content: "\f10e"; +} +.ion-asterisk:before { + content: "\f314"; +} +.ion-at:before { + content: "\f10f"; +} +.ion-backspace:before { + content: "\f3bf"; +} +.ion-backspace-outline:before { + content: "\f3be"; +} +.ion-bag:before { + content: "\f110"; +} +.ion-battery-charging:before { + content: "\f111"; +} +.ion-battery-empty:before { + content: "\f112"; +} +.ion-battery-full:before { + content: "\f113"; +} +.ion-battery-half:before { + content: "\f114"; +} +.ion-battery-low:before { + content: "\f115"; +} +.ion-beaker:before { + content: "\f269"; +} +.ion-beer:before { + content: "\f26a"; +} +.ion-bluetooth:before { + content: "\f116"; +} +.ion-bonfire:before { + content: "\f315"; +} +.ion-bookmark:before { + content: "\f26b"; +} +.ion-bowtie:before { + content: "\f3c0"; +} +.ion-briefcase:before { + content: "\f26c"; +} +.ion-bug:before { + content: "\f2be"; +} +.ion-calculator:before { + content: "\f26d"; +} +.ion-calendar:before { + content: "\f117"; +} +.ion-camera:before { + content: "\f118"; +} +.ion-card:before { + content: "\f119"; +} +.ion-cash:before { + content: "\f316"; +} +.ion-chatbox:before { + content: "\f11b"; +} +.ion-chatbox-working:before { + content: "\f11a"; +} +.ion-chatboxes:before { + content: "\f11c"; +} +.ion-chatbubble:before { + content: "\f11e"; +} +.ion-chatbubble-working:before { + content: "\f11d"; +} +.ion-chatbubbles:before { + content: "\f11f"; +} +.ion-checkmark:before { + content: "\f122"; +} +.ion-checkmark-circled:before { + content: "\f120"; +} +.ion-checkmark-round:before { + content: "\f121"; +} +.ion-chevron-down:before { + content: "\f123"; +} +.ion-chevron-left:before { + content: "\f124"; +} +.ion-chevron-right:before { + content: "\f125"; +} +.ion-chevron-up:before { + content: "\f126"; +} +.ion-clipboard:before { + content: "\f127"; +} +.ion-clock:before { + content: "\f26e"; +} +.ion-close:before { + content: "\f12a"; +} +.ion-close-circled:before { + content: "\f128"; +} +.ion-close-round:before { + content: "\f129"; +} +.ion-closed-captioning:before { + content: "\f317"; +} +.ion-cloud:before { + content: "\f12b"; +} +.ion-code:before { + content: "\f271"; +} +.ion-code-download:before { + content: "\f26f"; +} +.ion-code-working:before { + content: "\f270"; +} +.ion-coffee:before { + content: "\f272"; +} +.ion-compass:before { + content: "\f273"; +} +.ion-compose:before { + content: "\f12c"; +} +.ion-connection-bars:before { + content: "\f274"; +} +.ion-contrast:before { + content: "\f275"; +} +.ion-crop:before { + content: "\f3c1"; +} +.ion-cube:before { + content: "\f318"; +} +.ion-disc:before { + content: "\f12d"; +} +.ion-document:before { + content: "\f12f"; +} +.ion-document-text:before { + content: "\f12e"; +} +.ion-drag:before { + content: "\f130"; +} +.ion-earth:before { + content: "\f276"; +} +.ion-easel:before { + content: "\f3c2"; +} +.ion-edit:before { + content: "\f2bf"; +} +.ion-egg:before { + content: "\f277"; +} +.ion-eject:before { + content: "\f131"; +} +.ion-email:before { + content: "\f132"; +} +.ion-email-unread:before { + content: "\f3c3"; +} +.ion-erlenmeyer-flask:before { + content: "\f3c5"; +} +.ion-erlenmeyer-flask-bubbles:before { + content: "\f3c4"; +} +.ion-eye:before { + content: "\f133"; +} +.ion-eye-disabled:before { + content: "\f306"; +} +.ion-female:before { + content: "\f278"; +} +.ion-filing:before { + content: "\f134"; +} +.ion-film-marker:before { + content: "\f135"; +} +.ion-fireball:before { + content: "\f319"; +} +.ion-flag:before { + content: "\f279"; +} +.ion-flame:before { + content: "\f31a"; +} +.ion-flash:before { + content: "\f137"; +} +.ion-flash-off:before { + content: "\f136"; +} +.ion-folder:before { + content: "\f139"; +} +.ion-fork:before { + content: "\f27a"; +} +.ion-fork-repo:before { + content: "\f2c0"; +} +.ion-forward:before { + content: "\f13a"; +} +.ion-funnel:before { + content: "\f31b"; +} +.ion-gear-a:before { + content: "\f13d"; +} +.ion-gear-b:before { + content: "\f13e"; +} +.ion-grid:before { + content: "\f13f"; +} +.ion-hammer:before { + content: "\f27b"; +} +.ion-happy:before { + content: "\f31c"; +} +.ion-happy-outline:before { + content: "\f3c6"; +} +.ion-headphone:before { + content: "\f140"; +} +.ion-heart:before { + content: "\f141"; +} +.ion-heart-broken:before { + content: "\f31d"; +} +.ion-help:before { + content: "\f143"; +} +.ion-help-buoy:before { + content: "\f27c"; +} +.ion-help-circled:before { + content: "\f142"; +} +.ion-home:before { + content: "\f144"; +} +.ion-icecream:before { + content: "\f27d"; +} +.ion-image:before { + content: "\f147"; +} +.ion-images:before { + content: "\f148"; +} +.ion-information:before { + content: "\f14a"; +} +.ion-information-circled:before { + content: "\f149"; +} +.ion-ionic:before { + content: "\f14b"; +} +.ion-ios-alarm:before { + content: "\f3c8"; +} +.ion-ios-alarm-outline:before { + content: "\f3c7"; +} +.ion-ios-albums:before { + content: "\f3ca"; +} +.ion-ios-albums-outline:before { + content: "\f3c9"; +} +.ion-ios-americanfootball:before { + content: "\f3cc"; +} +.ion-ios-americanfootball-outline:before { + content: "\f3cb"; +} +.ion-ios-analytics:before { + content: "\f3ce"; +} +.ion-ios-analytics-outline:before { + content: "\f3cd"; +} +.ion-ios-arrow-back:before { + content: "\f3cf"; +} +.ion-ios-arrow-down:before { + content: "\f3d0"; +} +.ion-ios-arrow-forward:before { + content: "\f3d1"; +} +.ion-ios-arrow-left:before { + content: "\f3d2"; +} +.ion-ios-arrow-right:before { + content: "\f3d3"; +} +.ion-ios-arrow-thin-down:before { + content: "\f3d4"; +} +.ion-ios-arrow-thin-left:before { + content: "\f3d5"; +} +.ion-ios-arrow-thin-right:before { + content: "\f3d6"; +} +.ion-ios-arrow-thin-up:before { + content: "\f3d7"; +} +.ion-ios-arrow-up:before { + content: "\f3d8"; +} +.ion-ios-at:before { + content: "\f3da"; +} +.ion-ios-at-outline:before { + content: "\f3d9"; +} +.ion-ios-barcode:before { + content: "\f3dc"; +} +.ion-ios-barcode-outline:before { + content: "\f3db"; +} +.ion-ios-baseball:before { + content: "\f3de"; +} +.ion-ios-baseball-outline:before { + content: "\f3dd"; +} +.ion-ios-basketball:before { + content: "\f3e0"; +} +.ion-ios-basketball-outline:before { + content: "\f3df"; +} +.ion-ios-bell:before { + content: "\f3e2"; +} +.ion-ios-bell-outline:before { + content: "\f3e1"; +} +.ion-ios-body:before { + content: "\f3e4"; +} +.ion-ios-body-outline:before { + content: "\f3e3"; +} +.ion-ios-bolt:before { + content: "\f3e6"; +} +.ion-ios-bolt-outline:before { + content: "\f3e5"; +} +.ion-ios-book:before { + content: "\f3e8"; +} +.ion-ios-book-outline:before { + content: "\f3e7"; +} +.ion-ios-bookmarks:before { + content: "\f3ea"; +} +.ion-ios-bookmarks-outline:before { + content: "\f3e9"; +} +.ion-ios-box:before { + content: "\f3ec"; +} +.ion-ios-box-outline:before { + content: "\f3eb"; +} +.ion-ios-briefcase:before { + content: "\f3ee"; +} +.ion-ios-briefcase-outline:before { + content: "\f3ed"; +} +.ion-ios-browsers:before { + content: "\f3f0"; +} +.ion-ios-browsers-outline:before { + content: "\f3ef"; +} +.ion-ios-calculator:before { + content: "\f3f2"; +} +.ion-ios-calculator-outline:before { + content: "\f3f1"; +} +.ion-ios-calendar:before { + content: "\f3f4"; +} +.ion-ios-calendar-outline:before { + content: "\f3f3"; +} +.ion-ios-camera:before { + content: "\f3f6"; +} +.ion-ios-camera-outline:before { + content: "\f3f5"; +} +.ion-ios-cart:before { + content: "\f3f8"; +} +.ion-ios-cart-outline:before { + content: "\f3f7"; +} +.ion-ios-chatboxes:before { + content: "\f3fa"; +} +.ion-ios-chatboxes-outline:before { + content: "\f3f9"; +} +.ion-ios-chatbubble:before { + content: "\f3fc"; +} +.ion-ios-chatbubble-outline:before { + content: "\f3fb"; +} +.ion-ios-checkmark:before { + content: "\f3ff"; +} +.ion-ios-checkmark-empty:before { + content: "\f3fd"; +} +.ion-ios-checkmark-outline:before { + content: "\f3fe"; +} +.ion-ios-circle-filled:before { + content: "\f400"; +} +.ion-ios-circle-outline:before { + content: "\f401"; +} +.ion-ios-clock:before { + content: "\f403"; +} +.ion-ios-clock-outline:before { + content: "\f402"; +} +.ion-ios-close:before { + content: "\f406"; +} +.ion-ios-close-empty:before { + content: "\f404"; +} +.ion-ios-close-outline:before { + content: "\f405"; +} +.ion-ios-cloud:before { + content: "\f40c"; +} +.ion-ios-cloud-download:before { + content: "\f408"; +} +.ion-ios-cloud-download-outline:before { + content: "\f407"; +} +.ion-ios-cloud-outline:before { + content: "\f409"; +} +.ion-ios-cloud-upload:before { + content: "\f40b"; +} +.ion-ios-cloud-upload-outline:before { + content: "\f40a"; +} +.ion-ios-cloudy:before { + content: "\f410"; +} +.ion-ios-cloudy-night:before { + content: "\f40e"; +} +.ion-ios-cloudy-night-outline:before { + content: "\f40d"; +} +.ion-ios-cloudy-outline:before { + content: "\f40f"; +} +.ion-ios-cog:before { + content: "\f412"; +} +.ion-ios-cog-outline:before { + content: "\f411"; +} +.ion-ios-color-filter:before { + content: "\f414"; +} +.ion-ios-color-filter-outline:before { + content: "\f413"; +} +.ion-ios-color-wand:before { + content: "\f416"; +} +.ion-ios-color-wand-outline:before { + content: "\f415"; +} +.ion-ios-compose:before { + content: "\f418"; +} +.ion-ios-compose-outline:before { + content: "\f417"; +} +.ion-ios-contact:before { + content: "\f41a"; +} +.ion-ios-contact-outline:before { + content: "\f419"; +} +.ion-ios-copy:before { + content: "\f41c"; +} +.ion-ios-copy-outline:before { + content: "\f41b"; +} +.ion-ios-crop:before { + content: "\f41e"; +} +.ion-ios-crop-strong:before { + content: "\f41d"; +} +.ion-ios-download:before { + content: "\f420"; +} +.ion-ios-download-outline:before { + content: "\f41f"; +} +.ion-ios-drag:before { + content: "\f421"; +} +.ion-ios-email:before { + content: "\f423"; +} +.ion-ios-email-outline:before { + content: "\f422"; +} +.ion-ios-eye:before { + content: "\f425"; +} +.ion-ios-eye-outline:before { + content: "\f424"; +} +.ion-ios-fastforward:before { + content: "\f427"; +} +.ion-ios-fastforward-outline:before { + content: "\f426"; +} +.ion-ios-filing:before { + content: "\f429"; +} +.ion-ios-filing-outline:before { + content: "\f428"; +} +.ion-ios-film:before { + content: "\f42b"; +} +.ion-ios-film-outline:before { + content: "\f42a"; +} +.ion-ios-flag:before { + content: "\f42d"; +} +.ion-ios-flag-outline:before { + content: "\f42c"; +} +.ion-ios-flame:before { + content: "\f42f"; +} +.ion-ios-flame-outline:before { + content: "\f42e"; +} +.ion-ios-flask:before { + content: "\f431"; +} +.ion-ios-flask-outline:before { + content: "\f430"; +} +.ion-ios-flower:before { + content: "\f433"; +} +.ion-ios-flower-outline:before { + content: "\f432"; +} +.ion-ios-folder:before { + content: "\f435"; +} +.ion-ios-folder-outline:before { + content: "\f434"; +} +.ion-ios-football:before { + content: "\f437"; +} +.ion-ios-football-outline:before { + content: "\f436"; +} +.ion-ios-game-controller-a:before { + content: "\f439"; +} +.ion-ios-game-controller-a-outline:before { + content: "\f438"; +} +.ion-ios-game-controller-b:before { + content: "\f43b"; +} +.ion-ios-game-controller-b-outline:before { + content: "\f43a"; +} +.ion-ios-gear:before { + content: "\f43d"; +} +.ion-ios-gear-outline:before { + content: "\f43c"; +} +.ion-ios-glasses:before { + content: "\f43f"; +} +.ion-ios-glasses-outline:before { + content: "\f43e"; +} +.ion-ios-grid-view:before { + content: "\f441"; +} +.ion-ios-grid-view-outline:before { + content: "\f440"; +} +.ion-ios-heart:before { + content: "\f443"; +} +.ion-ios-heart-outline:before { + content: "\f442"; +} +.ion-ios-help:before { + content: "\f446"; +} +.ion-ios-help-empty:before { + content: "\f444"; +} +.ion-ios-help-outline:before { + content: "\f445"; +} +.ion-ios-home:before { + content: "\f448"; +} +.ion-ios-home-outline:before { + content: "\f447"; +} +.ion-ios-infinite:before { + content: "\f44a"; +} +.ion-ios-infinite-outline:before { + content: "\f449"; +} +.ion-ios-information:before { + content: "\f44d"; +} +.ion-ios-information-empty:before { + content: "\f44b"; +} +.ion-ios-information-outline:before { + content: "\f44c"; +} +.ion-ios-ionic-outline:before { + content: "\f44e"; +} +.ion-ios-keypad:before { + content: "\f450"; +} +.ion-ios-keypad-outline:before { + content: "\f44f"; +} +.ion-ios-lightbulb:before { + content: "\f452"; +} +.ion-ios-lightbulb-outline:before { + content: "\f451"; +} +.ion-ios-list:before { + content: "\f454"; +} +.ion-ios-list-outline:before { + content: "\f453"; +} +.ion-ios-location:before { + content: "\f456"; +} +.ion-ios-location-outline:before { + content: "\f455"; +} +.ion-ios-locked:before { + content: "\f458"; +} +.ion-ios-locked-outline:before { + content: "\f457"; +} +.ion-ios-loop:before { + content: "\f45a"; +} +.ion-ios-loop-strong:before { + content: "\f459"; +} +.ion-ios-medical:before { + content: "\f45c"; +} +.ion-ios-medical-outline:before { + content: "\f45b"; +} +.ion-ios-medkit:before { + content: "\f45e"; +} +.ion-ios-medkit-outline:before { + content: "\f45d"; +} +.ion-ios-mic:before { + content: "\f461"; +} +.ion-ios-mic-off:before { + content: "\f45f"; +} +.ion-ios-mic-outline:before { + content: "\f460"; +} +.ion-ios-minus:before { + content: "\f464"; +} +.ion-ios-minus-empty:before { + content: "\f462"; +} +.ion-ios-minus-outline:before { + content: "\f463"; +} +.ion-ios-monitor:before { + content: "\f466"; +} +.ion-ios-monitor-outline:before { + content: "\f465"; +} +.ion-ios-moon:before { + content: "\f468"; +} +.ion-ios-moon-outline:before { + content: "\f467"; +} +.ion-ios-more:before { + content: "\f46a"; +} +.ion-ios-more-outline:before { + content: "\f469"; +} +.ion-ios-musical-note:before { + content: "\f46b"; +} +.ion-ios-musical-notes:before { + content: "\f46c"; +} +.ion-ios-navigate:before { + content: "\f46e"; +} +.ion-ios-navigate-outline:before { + content: "\f46d"; +} +.ion-ios-nutrition:before { + content: "\f470"; +} +.ion-ios-nutrition-outline:before { + content: "\f46f"; +} +.ion-ios-paper:before { + content: "\f472"; +} +.ion-ios-paper-outline:before { + content: "\f471"; +} +.ion-ios-paperplane:before { + content: "\f474"; +} +.ion-ios-paperplane-outline:before { + content: "\f473"; +} +.ion-ios-partlysunny:before { + content: "\f476"; +} +.ion-ios-partlysunny-outline:before { + content: "\f475"; +} +.ion-ios-pause:before { + content: "\f478"; +} +.ion-ios-pause-outline:before { + content: "\f477"; +} +.ion-ios-paw:before { + content: "\f47a"; +} +.ion-ios-paw-outline:before { + content: "\f479"; +} +.ion-ios-people:before { + content: "\f47c"; +} +.ion-ios-people-outline:before { + content: "\f47b"; +} +.ion-ios-person:before { + content: "\f47e"; +} +.ion-ios-person-outline:before { + content: "\f47d"; +} +.ion-ios-personadd:before { + content: "\f480"; +} +.ion-ios-personadd-outline:before { + content: "\f47f"; +} +.ion-ios-photos:before { + content: "\f482"; +} +.ion-ios-photos-outline:before { + content: "\f481"; +} +.ion-ios-pie:before { + content: "\f484"; +} +.ion-ios-pie-outline:before { + content: "\f483"; +} +.ion-ios-pint:before { + content: "\f486"; +} +.ion-ios-pint-outline:before { + content: "\f485"; +} +.ion-ios-play:before { + content: "\f488"; +} +.ion-ios-play-outline:before { + content: "\f487"; +} +.ion-ios-plus:before { + content: "\f48b"; +} +.ion-ios-plus-empty:before { + content: "\f489"; +} +.ion-ios-plus-outline:before { + content: "\f48a"; +} +.ion-ios-pricetag:before { + content: "\f48d"; +} +.ion-ios-pricetag-outline:before { + content: "\f48c"; +} +.ion-ios-pricetags:before { + content: "\f48f"; +} +.ion-ios-pricetags-outline:before { + content: "\f48e"; +} +.ion-ios-printer:before { + content: "\f491"; +} +.ion-ios-printer-outline:before { + content: "\f490"; +} +.ion-ios-pulse:before { + content: "\f493"; +} +.ion-ios-pulse-strong:before { + content: "\f492"; +} +.ion-ios-rainy:before { + content: "\f495"; +} +.ion-ios-rainy-outline:before { + content: "\f494"; +} +.ion-ios-recording:before { + content: "\f497"; +} +.ion-ios-recording-outline:before { + content: "\f496"; +} +.ion-ios-redo:before { + content: "\f499"; +} +.ion-ios-redo-outline:before { + content: "\f498"; +} +.ion-ios-refresh:before { + content: "\f49c"; +} +.ion-ios-refresh-empty:before { + content: "\f49a"; +} +.ion-ios-refresh-outline:before { + content: "\f49b"; +} +.ion-ios-reload:before { + content: "\f49d"; +} +.ion-ios-reverse-camera:before { + content: "\f49f"; +} +.ion-ios-reverse-camera-outline:before { + content: "\f49e"; +} +.ion-ios-rewind:before { + content: "\f4a1"; +} +.ion-ios-rewind-outline:before { + content: "\f4a0"; +} +.ion-ios-rose:before { + content: "\f4a3"; +} +.ion-ios-rose-outline:before { + content: "\f4a2"; +} +.ion-ios-search:before { + content: "\f4a5"; +} +.ion-ios-search-strong:before { + content: "\f4a4"; +} +.ion-ios-settings:before { + content: "\f4a7"; +} +.ion-ios-settings-strong:before { + content: "\f4a6"; +} +.ion-ios-shuffle:before { + content: "\f4a9"; +} +.ion-ios-shuffle-strong:before { + content: "\f4a8"; +} +.ion-ios-skipbackward:before { + content: "\f4ab"; +} +.ion-ios-skipbackward-outline:before { + content: "\f4aa"; +} +.ion-ios-skipforward:before { + content: "\f4ad"; +} +.ion-ios-skipforward-outline:before { + content: "\f4ac"; +} +.ion-ios-snowy:before { + content: "\f4ae"; +} +.ion-ios-speedometer:before { + content: "\f4b0"; +} +.ion-ios-speedometer-outline:before { + content: "\f4af"; +} +.ion-ios-star:before { + content: "\f4b3"; +} +.ion-ios-star-half:before { + content: "\f4b1"; +} +.ion-ios-star-outline:before { + content: "\f4b2"; +} +.ion-ios-stopwatch:before { + content: "\f4b5"; +} +.ion-ios-stopwatch-outline:before { + content: "\f4b4"; +} +.ion-ios-sunny:before { + content: "\f4b7"; +} +.ion-ios-sunny-outline:before { + content: "\f4b6"; +} +.ion-ios-telephone:before { + content: "\f4b9"; +} +.ion-ios-telephone-outline:before { + content: "\f4b8"; +} +.ion-ios-tennisball:before { + content: "\f4bb"; +} +.ion-ios-tennisball-outline:before { + content: "\f4ba"; +} +.ion-ios-thunderstorm:before { + content: "\f4bd"; +} +.ion-ios-thunderstorm-outline:before { + content: "\f4bc"; +} +.ion-ios-time:before { + content: "\f4bf"; +} +.ion-ios-time-outline:before { + content: "\f4be"; +} +.ion-ios-timer:before { + content: "\f4c1"; +} +.ion-ios-timer-outline:before { + content: "\f4c0"; +} +.ion-ios-toggle:before { + content: "\f4c3"; +} +.ion-ios-toggle-outline:before { + content: "\f4c2"; +} +.ion-ios-trash:before { + content: "\f4c5"; +} +.ion-ios-trash-outline:before { + content: "\f4c4"; +} +.ion-ios-undo:before { + content: "\f4c7"; +} +.ion-ios-undo-outline:before { + content: "\f4c6"; +} +.ion-ios-unlocked:before { + content: "\f4c9"; +} +.ion-ios-unlocked-outline:before { + content: "\f4c8"; +} +.ion-ios-upload:before { + content: "\f4cb"; +} +.ion-ios-upload-outline:before { + content: "\f4ca"; +} +.ion-ios-videocam:before { + content: "\f4cd"; +} +.ion-ios-videocam-outline:before { + content: "\f4cc"; +} +.ion-ios-volume-high:before { + content: "\f4ce"; +} +.ion-ios-volume-low:before { + content: "\f4cf"; +} +.ion-ios-wineglass:before { + content: "\f4d1"; +} +.ion-ios-wineglass-outline:before { + content: "\f4d0"; +} +.ion-ios-world:before { + content: "\f4d3"; +} +.ion-ios-world-outline:before { + content: "\f4d2"; +} +.ion-ipad:before { + content: "\f1f9"; +} +.ion-iphone:before { + content: "\f1fa"; +} +.ion-ipod:before { + content: "\f1fb"; +} +.ion-jet:before { + content: "\f295"; +} +.ion-key:before { + content: "\f296"; +} +.ion-knife:before { + content: "\f297"; +} +.ion-laptop:before { + content: "\f1fc"; +} +.ion-leaf:before { + content: "\f1fd"; +} +.ion-levels:before { + content: "\f298"; +} +.ion-lightbulb:before { + content: "\f299"; +} +.ion-link:before { + content: "\f1fe"; +} +.ion-load-a:before { + content: "\f29a"; +} +.ion-load-b:before { + content: "\f29b"; +} +.ion-load-c:before { + content: "\f29c"; +} +.ion-load-d:before { + content: "\f29d"; +} +.ion-location:before { + content: "\f1ff"; +} +.ion-lock-combination:before { + content: "\f4d4"; +} +.ion-locked:before { + content: "\f200"; +} +.ion-log-in:before { + content: "\f29e"; +} +.ion-log-out:before { + content: "\f29f"; +} +.ion-loop:before { + content: "\f201"; +} +.ion-magnet:before { + content: "\f2a0"; +} +.ion-male:before { + content: "\f2a1"; +} +.ion-man:before { + content: "\f202"; +} +.ion-map:before { + content: "\f203"; +} +.ion-medkit:before { + content: "\f2a2"; +} +.ion-merge:before { + content: "\f33f"; +} +.ion-mic-a:before { + content: "\f204"; +} +.ion-mic-b:before { + content: "\f205"; +} +.ion-mic-c:before { + content: "\f206"; +} +.ion-minus:before { + content: "\f209"; +} +.ion-minus-circled:before { + content: "\f207"; +} +.ion-minus-round:before { + content: "\f208"; +} +.ion-model-s:before { + content: "\f2c1"; +} +.ion-monitor:before { + content: "\f20a"; +} +.ion-more:before { + content: "\f20b"; +} +.ion-mouse:before { + content: "\f340"; +} +.ion-music-note:before { + content: "\f20c"; +} +.ion-navicon:before { + content: "\f20e"; +} +.ion-navicon-round:before { + content: "\f20d"; +} +.ion-navigate:before { + content: "\f2a3"; +} +.ion-network:before { + content: "\f341"; +} +.ion-no-smoking:before { + content: "\f2c2"; +} +.ion-nuclear:before { + content: "\f2a4"; +} +.ion-outlet:before { + content: "\f342"; +} +.ion-paintbrush:before { + content: "\f4d5"; +} +.ion-paintbucket:before { + content: "\f4d6"; +} +.ion-paper-airplane:before { + content: "\f2c3"; +} +.ion-paperclip:before { + content: "\f20f"; +} +.ion-pause:before { + content: "\f210"; +} +.ion-person:before { + content: "\f213"; +} +.ion-person-add:before { + content: "\f211"; +} +.ion-person-stalker:before { + content: "\f212"; +} +.ion-pie-graph:before { + content: "\f2a5"; +} +.ion-pin:before { + content: "\f2a6"; +} +.ion-pinpoint:before { + content: "\f2a7"; +} +.ion-pizza:before { + content: "\f2a8"; +} +.ion-plane:before { + content: "\f214"; +} +.ion-planet:before { + content: "\f343"; +} +.ion-play:before { + content: "\f215"; +} +.ion-playstation:before { + content: "\f30a"; +} +.ion-plus:before { + content: "\f218"; +} +.ion-plus-circled:before { + content: "\f216"; +} +.ion-plus-round:before { + content: "\f217"; +} +.ion-podium:before { + content: "\f344"; +} +.ion-pound:before { + content: "\f219"; +} +.ion-power:before { + content: "\f2a9"; +} +.ion-pricetag:before { + content: "\f2aa"; +} +.ion-pricetags:before { + content: "\f2ab"; +} +.ion-printer:before { + content: "\f21a"; +} +.ion-pull-request:before { + content: "\f345"; +} +.ion-qr-scanner:before { + content: "\f346"; +} +.ion-quote:before { + content: "\f347"; +} +.ion-radio-waves:before { + content: "\f2ac"; +} +.ion-record:before { + content: "\f21b"; +} +.ion-refresh:before { + content: "\f21c"; +} +.ion-reply:before { + content: "\f21e"; +} +.ion-reply-all:before { + content: "\f21d"; +} +.ion-ribbon-a:before { + content: "\f348"; +} +.ion-ribbon-b:before { + content: "\f349"; +} +.ion-sad:before { + content: "\f34a"; +} +.ion-sad-outline:before { + content: "\f4d7"; +} +.ion-scissors:before { + content: "\f34b"; +} +.ion-search:before { + content: "\f21f"; +} +.ion-settings:before { + content: "\f2ad"; +} +.ion-share:before { + content: "\f220"; +} +.ion-shuffle:before { + content: "\f221"; +} +.ion-skip-backward:before { + content: "\f222"; +} +.ion-skip-forward:before { + content: "\f223"; +} +.ion-social-android:before { + content: "\f225"; +} +.ion-social-android-outline:before { + content: "\f224"; +} +.ion-social-angular:before { + content: "\f4d9"; +} +.ion-social-angular-outline:before { + content: "\f4d8"; +} +.ion-social-apple:before { + content: "\f227"; +} +.ion-social-apple-outline:before { + content: "\f226"; +} +.ion-social-bitcoin:before { + content: "\f2af"; +} +.ion-social-bitcoin-outline:before { + content: "\f2ae"; +} +.ion-social-buffer:before { + content: "\f229"; +} +.ion-social-buffer-outline:before { + content: "\f228"; +} +.ion-social-chrome:before { + content: "\f4db"; +} +.ion-social-chrome-outline:before { + content: "\f4da"; +} +.ion-social-codepen:before { + content: "\f4dd"; +} +.ion-social-codepen-outline:before { + content: "\f4dc"; +} +.ion-social-css3:before { + content: "\f4df"; +} +.ion-social-css3-outline:before { + content: "\f4de"; +} +.ion-social-designernews:before { + content: "\f22b"; +} +.ion-social-designernews-outline:before { + content: "\f22a"; +} +.ion-social-dribbble:before { + content: "\f22d"; +} +.ion-social-dribbble-outline:before { + content: "\f22c"; +} +.ion-social-dropbox:before { + content: "\f22f"; +} +.ion-social-dropbox-outline:before { + content: "\f22e"; +} +.ion-social-euro:before { + content: "\f4e1"; +} +.ion-social-euro-outline:before { + content: "\f4e0"; +} +.ion-social-facebook:before { + content: "\f231"; +} +.ion-social-facebook-outline:before { + content: "\f230"; +} +.ion-social-foursquare:before { + content: "\f34d"; +} +.ion-social-foursquare-outline:before { + content: "\f34c"; +} +.ion-social-freebsd-devil:before { + content: "\f2c4"; +} +.ion-social-github:before { + content: "\f233"; +} +.ion-social-github-outline:before { + content: "\f232"; +} +.ion-social-google:before { + content: "\f34f"; +} +.ion-social-google-outline:before { + content: "\f34e"; +} +.ion-social-googleplus:before { + content: "\f235"; +} +.ion-social-googleplus-outline:before { + content: "\f234"; +} +.ion-social-hackernews:before { + content: "\f237"; +} +.ion-social-hackernews-outline:before { + content: "\f236"; +} +.ion-social-html5:before { + content: "\f4e3"; +} +.ion-social-html5-outline:before { + content: "\f4e2"; +} +.ion-social-instagram:before { + content: "\f351"; +} +.ion-social-instagram-outline:before { + content: "\f350"; +} +.ion-social-javascript:before { + content: "\f4e5"; +} +.ion-social-javascript-outline:before { + content: "\f4e4"; +} +.ion-social-linkedin:before { + content: "\f239"; +} +.ion-social-linkedin-outline:before { + content: "\f238"; +} +.ion-social-markdown:before { + content: "\f4e6"; +} +.ion-social-nodejs:before { + content: "\f4e7"; +} +.ion-social-octocat:before { + content: "\f4e8"; +} +.ion-social-pinterest:before { + content: "\f2b1"; +} +.ion-social-pinterest-outline:before { + content: "\f2b0"; +} +.ion-social-python:before { + content: "\f4e9"; +} +.ion-social-reddit:before { + content: "\f23b"; +} +.ion-social-reddit-outline:before { + content: "\f23a"; +} +.ion-social-rss:before { + content: "\f23d"; +} +.ion-social-rss-outline:before { + content: "\f23c"; +} +.ion-social-sass:before { + content: "\f4ea"; +} +.ion-social-skype:before { + content: "\f23f"; +} +.ion-social-skype-outline:before { + content: "\f23e"; +} +.ion-social-snapchat:before { + content: "\f4ec"; +} +.ion-social-snapchat-outline:before { + content: "\f4eb"; +} +.ion-social-tumblr:before { + content: "\f241"; +} +.ion-social-tumblr-outline:before { + content: "\f240"; +} +.ion-social-tux:before { + content: "\f2c5"; +} +.ion-social-twitch:before { + content: "\f4ee"; +} +.ion-social-twitch-outline:before { + content: "\f4ed"; +} +.ion-social-twitter:before { + content: "\f243"; +} +.ion-social-twitter-outline:before { + content: "\f242"; +} +.ion-social-usd:before { + content: "\f353"; +} +.ion-social-usd-outline:before { + content: "\f352"; +} +.ion-social-vimeo:before { + content: "\f245"; +} +.ion-social-vimeo-outline:before { + content: "\f244"; +} +.ion-social-whatsapp:before { + content: "\f4f0"; +} +.ion-social-whatsapp-outline:before { + content: "\f4ef"; +} +.ion-social-windows:before { + content: "\f247"; +} +.ion-social-windows-outline:before { + content: "\f246"; +} +.ion-social-wordpress:before { + content: "\f249"; +} +.ion-social-wordpress-outline:before { + content: "\f248"; +} +.ion-social-yahoo:before { + content: "\f24b"; +} +.ion-social-yahoo-outline:before { + content: "\f24a"; +} +.ion-social-yen:before { + content: "\f4f2"; +} +.ion-social-yen-outline:before { + content: "\f4f1"; +} +.ion-social-youtube:before { + content: "\f24d"; +} +.ion-social-youtube-outline:before { + content: "\f24c"; +} +.ion-soup-can:before { + content: "\f4f4"; +} +.ion-soup-can-outline:before { + content: "\f4f3"; +} +.ion-speakerphone:before { + content: "\f2b2"; +} +.ion-speedometer:before { + content: "\f2b3"; +} +.ion-spoon:before { + content: "\f2b4"; +} +.ion-star:before { + content: "\f24e"; +} +.ion-stats-bars:before { + content: "\f2b5"; +} +.ion-steam:before { + content: "\f30b"; +} +.ion-stop:before { + content: "\f24f"; +} +.ion-thermometer:before { + content: "\f2b6"; +} +.ion-thumbsdown:before { + content: "\f250"; +} +.ion-thumbsup:before { + content: "\f251"; +} +.ion-toggle:before { + content: "\f355"; +} +.ion-toggle-filled:before { + content: "\f354"; +} +.ion-transgender:before { + content: "\f4f5"; +} +.ion-trash-a:before { + content: "\f252"; +} +.ion-trash-b:before { + content: "\f253"; +} +.ion-trophy:before { + content: "\f356"; +} +.ion-tshirt:before { + content: "\f4f7"; +} +.ion-tshirt-outline:before { + content: "\f4f6"; +} +.ion-umbrella:before { + content: "\f2b7"; +} +.ion-university:before { + content: "\f357"; +} +.ion-unlocked:before { + content: "\f254"; +} +.ion-upload:before { + content: "\f255"; +} +.ion-usb:before { + content: "\f2b8"; +} +.ion-videocamera:before { + content: "\f256"; +} +.ion-volume-high:before { + content: "\f257"; +} +.ion-volume-low:before { + content: "\f258"; +} +.ion-volume-medium:before { + content: "\f259"; +} +.ion-volume-mute:before { + content: "\f25a"; +} +.ion-wand:before { + content: "\f358"; +} +.ion-waterdrop:before { + content: "\f25b"; +} +.ion-wifi:before { + content: "\f25c"; +} +.ion-wineglass:before { + content: "\f2b9"; +} +.ion-woman:before { + content: "\f25d"; +} +.ion-wrench:before { + content: "\f2ba"; +} +.ion-xbox:before { + content: "\f30c"; +} diff --git a/public/assets/assetLanding/css/magnific-popup.css b/public/assets/assetLanding/css/magnific-popup.css new file mode 100644 index 0000000..e5600f8 --- /dev/null +++ b/public/assets/assetLanding/css/magnific-popup.css @@ -0,0 +1,420 @@ +/* Magnific Popup CSS */ +.mfp-bg { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1042; + overflow: hidden; + position: fixed; + background: #0b0b0b; + opacity: 0.8; +} + +.mfp-wrap { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1043; + position: fixed; + outline: none !important; + -webkit-backface-visibility: hidden; +} + +.mfp-container { + text-align: center; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top: 0; + padding: 0 8px; + box-sizing: border-box; +} + +.mfp-container:before { + content: ""; + display: inline-block; + height: 100%; + vertical-align: middle; +} + +.mfp-align-top .mfp-container:before { + display: none; +} + +.mfp-content { + position: relative; + display: inline-block; + vertical-align: middle; + margin: 0 auto; + text-align: left; + z-index: 1045; +} + +.mfp-inline-holder .mfp-content, +.mfp-ajax-holder .mfp-content { + width: 100%; + cursor: auto; +} + +.mfp-ajax-cur { + cursor: progress; +} + +.mfp-zoom-out-cur, +.mfp-zoom-out-cur .mfp-image-holder .mfp-close { + cursor: -moz-zoom-out; + cursor: -webkit-zoom-out; + cursor: zoom-out; +} + +.mfp-zoom { + cursor: pointer; + cursor: -webkit-zoom-in; + cursor: -moz-zoom-in; + cursor: zoom-in; +} + +.mfp-auto-cursor .mfp-content { + cursor: auto; +} + +.mfp-close, +.mfp-arrow, +.mfp-preloader, +.mfp-counter { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.mfp-loading.mfp-figure { + display: none; +} + +.mfp-hide { + display: none !important; +} + +.mfp-preloader { + color: #ccc; + position: absolute; + top: 50%; + width: auto; + text-align: center; + margin-top: -0.8em; + left: 8px; + right: 8px; + z-index: 1044; +} +.mfp-preloader a { + color: #ccc; +} +.mfp-preloader a:hover { + color: #fff; +} + +.mfp-s-ready .mfp-preloader { + display: none; +} + +.mfp-s-error .mfp-content { + display: none; +} + +button.mfp-close, +button.mfp-arrow { + overflow: visible; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; + display: block; + outline: none; + padding: 0; + z-index: 1046; + box-shadow: none; + touch-action: manipulation; +} + +button::-moz-focus-inner { + padding: 0; + border: 0; +} + +.mfp-close { + width: 44px; + height: 44px; + line-height: 44px; + position: absolute; + right: 0; + top: 0; + text-decoration: none; + text-align: center; + opacity: 0.65; + padding: 0 0 18px 10px; + color: #fff; + font-style: normal; + font-size: 28px; + font-family: Arial, Baskerville, monospace; +} +.mfp-close:hover, +.mfp-close:focus { + opacity: 1; +} +.mfp-close:active { + top: 1px; +} + +.mfp-close-btn-in .mfp-close { + color: #333; +} + +.mfp-image-holder .mfp-close, +.mfp-iframe-holder .mfp-close { + color: #fff; + right: -6px; + text-align: right; + padding-right: 6px; + width: 100%; +} + +.mfp-counter { + position: absolute; + top: 0; + right: 0; + color: #ccc; + font-size: 12px; + line-height: 18px; + white-space: nowrap; +} + +.mfp-arrow { + position: absolute; + opacity: 0.65; + margin: 0; + top: 50%; + margin-top: -55px; + padding: 0; + width: 90px; + height: 110px; + -webkit-tap-highlight-color: transparent; +} +.mfp-arrow:active { + margin-top: -54px; +} +.mfp-arrow:hover, +.mfp-arrow:focus { + opacity: 1; +} +.mfp-arrow:before, +.mfp-arrow:after { + content: ""; + display: block; + width: 0; + height: 0; + position: absolute; + left: 0; + top: 0; + margin-top: 35px; + margin-left: 35px; + border: medium inset transparent; +} +.mfp-arrow:after { + border-top-width: 13px; + border-bottom-width: 13px; + top: 8px; +} +.mfp-arrow:before { + border-top-width: 21px; + border-bottom-width: 21px; + opacity: 0.7; +} + +.mfp-arrow-left { + left: 0; +} +.mfp-arrow-left:after { + border-right: 17px solid #fff; + margin-left: 31px; +} +.mfp-arrow-left:before { + margin-left: 25px; + border-right: 27px solid #3f3f3f; +} + +.mfp-arrow-right { + right: 0; +} +.mfp-arrow-right:after { + border-left: 17px solid #fff; + margin-left: 39px; +} +.mfp-arrow-right:before { + border-left: 27px solid #3f3f3f; +} + +.mfp-iframe-holder { + padding-top: 40px; + padding-bottom: 40px; +} +.mfp-iframe-holder .mfp-content { + line-height: 0; + width: 100%; + max-width: 900px; +} +.mfp-iframe-holder .mfp-close { + top: -40px; +} + +.mfp-iframe-scaler { + width: 100%; + height: 0; + overflow: hidden; + padding-top: 56.25%; +} +.mfp-iframe-scaler iframe { + position: absolute; + display: block; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #000; +} + +/* Main image in popup */ +img.mfp-img { + width: auto; + max-width: 100%; + height: auto; + display: block; + line-height: 0; + box-sizing: border-box; + padding: 40px 0 40px; + margin: 0 auto; +} + +/* The shadow behind the image */ +.mfp-figure { + line-height: 0; +} +.mfp-figure:after { + content: ""; + position: absolute; + left: 0; + top: 40px; + bottom: 40px; + display: block; + right: 0; + width: auto; + height: auto; + z-index: -1; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #444; +} +.mfp-figure small { + color: #bdbdbd; + display: block; + font-size: 12px; + line-height: 14px; +} +.mfp-figure figure { + margin: 0; +} + +.mfp-bottom-bar { + margin-top: -36px; + position: absolute; + top: 100%; + left: 0; + width: 100%; + cursor: auto; +} + +.mfp-title { + text-align: left; + line-height: 18px; + color: #f3f3f3; + word-wrap: break-word; + padding-right: 36px; +} + +.mfp-image-holder .mfp-content { + max-width: 100%; +} + +.mfp-gallery .mfp-image-holder .mfp-figure { + cursor: pointer; +} + +@media screen and (max-width: 800px) and (orientation: landscape), + screen and (max-height: 300px) { + /** + * Remove all paddings around the image on small screen + */ + .mfp-img-mobile .mfp-image-holder { + padding-left: 0; + padding-right: 0; + } + .mfp-img-mobile img.mfp-img { + padding: 0; + } + .mfp-img-mobile .mfp-figure:after { + top: 0; + bottom: 0; + } + .mfp-img-mobile .mfp-figure small { + display: inline; + margin-left: 5px; + } + .mfp-img-mobile .mfp-bottom-bar { + background: rgba(0, 0, 0, 0.6); + bottom: 0; + margin: 0; + top: auto; + padding: 3px 5px; + position: fixed; + box-sizing: border-box; + } + .mfp-img-mobile .mfp-bottom-bar:empty { + padding: 0; + } + .mfp-img-mobile .mfp-counter { + right: 5px; + top: 3px; + } + .mfp-img-mobile .mfp-close { + top: 0; + right: 0; + width: 35px; + height: 35px; + line-height: 35px; + background: rgba(0, 0, 0, 0.6); + position: fixed; + text-align: center; + padding: 0; + } +} + +@media all and (max-width: 900px) { + .mfp-arrow { + -webkit-transform: scale(0.75); + transform: scale(0.75); + } + .mfp-arrow-left { + -webkit-transform-origin: 0; + transform-origin: 0; + } + .mfp-arrow-right { + -webkit-transform-origin: 100%; + transform-origin: 100%; + } + .mfp-container { + padding-left: 6px; + padding-right: 6px; + } +} diff --git a/public/assets/assetLanding/css/mega_menu.css b/public/assets/assetLanding/css/mega_menu.css new file mode 100644 index 0000000..e585191 --- /dev/null +++ b/public/assets/assetLanding/css/mega_menu.css @@ -0,0 +1,5851 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ +@import url(../css/menu_menu_reset.min.css); + +.mega-menu { + margin: 0 auto; + padding: 0; + display: block; + float: none; + position: relative; + z-index: 999; + max-width: 1280px; + width: 100%; + font-size: 16px; + font-family: "Open Sans", sans-serif; + min-height: 50px; + clear: both; + box-sizing: border-box; +} + +@media screen and (max-width: 1023px) { + .mega-menu { + float: left; + margin: 0; + min-width: 200px; + } +} + +.mega-menu * { + outline: none; + list-style: none; + text-decoration: none; + box-sizing: border-box !important; + font-family: "Open Sans", sans-serif; + font-weight: 400; + -webkit-tap-highlight-color: transparent; + text-align: left; +} + +@media screen and (max-width: 1023px) { + .mega-menu * { + word-break: break-all; + } +} + +.mega-menu i.fas { + font-family: "Font Awesome 5 Free"; + font-weight: 900; +} + +.mega-menu img { + margin: 0; + padding: 0; + display: block; + max-width: 100% !important; + float: left; +} + +.mega-menu input { + border: none; +} + +.mega-menu > section.menu-list-items { + margin: 0; + padding: 0; + display: block; + float: left; + width: 100%; + background-color: #333; +} + +@media screen and (min-width: 1024px) { + .mega-menu.menuFullWidth.vertical-left > section.menu-list-items { + max-width: 250px; + } + + .mega-menu.menuFullWidth.vertical-right > section.menu-list-items { + max-width: 250px; + } +} + +.mega-menu .menu-logo { + margin: 0; + padding: 0; + display: block; + float: left; + position: relative; +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-logo.menu-logo-align-right { + float: right; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-logo { + width: 100%; + } +} + +.mega-menu .menu-logo > li { + margin: 0; + padding: 0; + display: block; + float: left; + font-size: 1em; + line-height: 50px; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-logo > li { + width: 100%; + line-height: normal; + } +} + +.mega-menu .menu-logo > li > a { + margin: 0; + display: inline-block; + float: left; + width: 100%; + color: #fff; + font-size: 0.8125em; + padding: 0 20px 0 45px; + line-height: 50px; + transition: background-color 200ms ease; +} + +.mega-menu .menu-logo > li > a:hover { + background-color: #ff6347; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-logo > li > a { + line-height: normal; + padding-top: 16px; + padding-bottom: 16px; + position: relative; + z-index: 10; + width: auto; + } +} + +.mega-menu .menu-logo > li > a i.fas { + padding: 0; + display: inline-block; + font-size: 1.25em; + position: absolute; + top: 0; + left: 20px; + bottom: 0; + margin: auto 0; + line-height: 50px; +} + +.mega-menu .menu-logo > li > a img { + width: 20px; + height: 20px; + position: absolute; + top: 0; + left: 15px; + bottom: 0; + margin: auto 0; +} + +.mega-menu .menu-links { + margin: 0; + padding: 0; + display: block; + float: left; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-links { + width: 100%; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-links { + display: block !important; + max-height: 100% !important; + overflow: visible !important; + } + + .mega-menu .menu-links.menu-links-align-right { + float: right; + } +} + +.mega-menu .menu-links > li { + margin: 0; + padding: 0; + display: block; + float: left; + transition: background-color 200ms ease; + font-size: 1em; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-links > li { + width: 100%; + position: relative; + cursor: pointer; + line-height: normal; + z-index: 50; + } + + .mega-menu .menu-links > li.activeTriggerMobile { + background-color: #ff6347; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-links > li.activeTrigger { + background-color: #ff6347; + } +} + +.mega-menu .menu-links > li.active { + background-color: #ff6347; +} + +.mega-menu .menu-links > li:hover { + background-color: #ff6347; +} + +.mega-menu .menu-links > li > a { + margin: 0; + padding: 0 20px; + display: inline-block; + float: none; + width: 100%; + color: #fff; + font-size: 0.8125em; + line-height: 50px; + position: relative; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-links > li > a { + width: auto; + line-height: normal; + padding-top: 15px; + padding-bottom: 15px; + position: static; + padding-right: 10px; + z-index: 20; + } +} + +.mega-menu .menu-links > li > a i.fas { + font-size: 1em; + line-height: 0.8125em; + padding-right: 2px; +} + +.mega-menu .menu-links > li > a i.fa.fa-indicator { + padding-right: 0; + padding-left: 2px; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-links > li > a i.fa.fa-indicator { + float: right; + position: absolute; + right: 20px; + top: 0; + bottom: 0; + line-height: 50px; + height: 50px; + z-index: -1; + } +} + +.mega-menu .menu-social-bar { + margin: 0; + display: block; + float: left; + padding: 0 10px; +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-social-bar { + display: block !important; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-social-bar.menu-social-bar-right { + float: right; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-social-bar { + width: 100%; + text-align: center; + } +} + +.mega-menu .menu-social-bar > li { + margin: 0; + padding: 0; + display: block; + float: left; + font-size: 1em; + line-height: 50px; +} + +.mega-menu .menu-social-bar > li[data-color="blue"] > a:hover { + background-color: #3b5998; +} + +.mega-menu .menu-social-bar > li[data-color="sky-blue"] > a:hover { + background-color: #2caae1; +} + +.mega-menu .menu-social-bar > li[data-color="orange"] > a:hover { + background-color: #dd4b39; +} + +.mega-menu .menu-social-bar > li[data-color="red"] > a:hover { + background-color: #bd081c; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-social-bar > li { + float: none; + display: inline-block; + margin-bottom: -5px; + } +} + +.mega-menu .menu-social-bar > li > a { + margin: 0; + display: inline-block; + float: left; + width: 100%; + color: #fff; + font-size: 0.875em; + padding: 0 5px; + transition: background-color 200ms ease; + line-height: 50px; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-social-bar > li > a { + padding-left: 10px; + padding-right: 10px; + } +} + +.mega-menu .menu-social-bar > li > a i.fas { + margin: 0; + padding: 0; + display: inline-block; + float: left; + width: 100%; + font-size: 1.125em; + line-height: 50px; +} + +.mega-menu .menu-search-bar { + margin: 0; + padding: 0; + display: block; + float: right; + position: relative; + height: 50px; +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-search-bar.menu-search-bar-left { + float: left; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-search-bar { + width: 100%; + position: absolute; + top: 0; + right: 0; + } +} + +.mega-menu .menu-search-bar li, +.mega-menu .menu-search-bar form, +.mega-menu .menu-search-bar label { + margin: 0; + padding: 0; + display: block; + float: left; + width: 100%; + line-height: 50px; +} + +.mega-menu .menu-search-bar li:hover i.fas.fa-search { + background: #ff6347; +} + +.mega-menu .menu-search-bar input { + max-width: 0; + width: 100%; + margin: 0; + padding: 5px 50px 5px 0; + font-size: 0.8125em; + transition: max-width 400ms ease, background 400ms ease, + padding-left 400ms ease; + height: 50px; + display: block; + background: none; + color: #fff; + font-weight: 400; +} + +.mega-menu .menu-search-bar input:focus { + max-width: 170px; + background: #ff6347; + padding-left: 20px; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-search-bar input:focus { + max-width: 100%; + position: relative; + z-index: 20; + } +} + +.mega-menu .menu-search-bar i.fas.fa-search { + position: absolute; + top: 0; + right: 0; + bottom: 0; + width: 50px; + text-align: center; + line-height: 50px; + color: #fff; + cursor: text; + transition: background 200ms ease; + z-index: 40; +} + +.mega-menu .menu-search-bar:-moz-placeholder { + opacity: 1 !important; + color: #fff !important; +} + +.mega-menu .menu-search-bar::-moz-placeholder { + opacity: 1 !important; + color: #fff !important; +} + +.mega-menu .menu-search-bar:-ms-input-placeholder { + opacity: 1 !important; + color: #fff !important; +} + +.mega-menu .menu-search-bar::-webkit-input-placeholder { + opacity: 1 !important; + color: #fff !important; +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-search-bar.active input { + padding-right: 150px; + } + + .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 70px; + } +} + +.mega-menu .menu-mobile-collapse-trigger { + margin: 0; + padding: 0; + height: 50px; + width: 70px; + background: #1a1a1a; + display: none; + position: absolute; + top: 0; + right: 0; + z-index: 100; + float: right; + cursor: pointer; + transition: background 200ms ease; +} + +.mega-menu .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu .menu-mobile-collapse-trigger:before, +.mega-menu .menu-mobile-collapse-trigger:after, +.mega-menu .menu-mobile-collapse-trigger span { + content: ""; + display: block; + height: 4px; + width: 40px; + background: #fff; + position: absolute; + top: 13px; + left: 0; + right: 0; + margin: 0 auto; + transition: opacity 400ms ease, -webkit-transform 400ms ease 0s; + transition: transform 400ms ease 0s, opacity 400ms ease; + transition: transform 400ms ease 0s, opacity 400ms ease, + -webkit-transform 400ms ease 0s; + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + transform: rotate(0deg); + -webkit-transform-origin: 0px 50% 0px; + -ms-transform-origin: 0px 50% 0px; + transform-origin: 0px 50% 0px; +} + +.mega-menu .menu-mobile-collapse-trigger:after { + top: 33px; +} + +.mega-menu .menu-mobile-collapse-trigger span { + top: 23px; +} + +.mega-menu .menu-mobile-collapse-trigger.active span { + opacity: 0; +} + +.mega-menu .menu-mobile-collapse-trigger.active:before { + -webkit-transform: rotate(30deg); + -ms-transform: rotate(30deg); + transform: rotate(30deg); +} + +.mega-menu .menu-mobile-collapse-trigger.active:after { + -webkit-transform: rotate(-30deg); + -ms-transform: rotate(-30deg); + transform: rotate(-30deg); +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-mobile-collapse-trigger { + display: block; + } +} + +.mega-menu .drop-down-multilevel { + margin: 0; + padding: 0; + display: block; + position: absolute; + top: auto; + left: auto; + right: auto; + z-index: 50; + width: 100%; + background: #fff; + float: left; + max-width: 200px; +} + +.mega-menu .drop-down-multilevel * { + color: #555; +} + +@media screen and (min-width: 1024px) { + .mega-menu .drop-down-multilevel { + display: block !important; + opacity: 0; + visibility: hidden; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-multilevel { + max-width: 100% !important; + position: relative; + left: 0; + top: 0; + padding: 10px; + display: none; + } +} + +.mega-menu .drop-down-multilevel li { + margin: 0; + padding: 0; + display: block; + float: left; + width: 100%; + position: relative; + transition: background 200ms ease; + z-index: 50; +} + +.mega-menu .drop-down-multilevel li:hover { + background: #ff6347; +} + +.mega-menu .drop-down-multilevel li:hover > a { + color: #fff; +} + +.mega-menu .drop-down-multilevel li:hover > a i.fas { + color: #fff; +} + +@media screen and (min-width: 1024px) { + .mega-menu .drop-down-multilevel li.activeTrigger { + background: #ff6347; + } + + .mega-menu .drop-down-multilevel li.activeTrigger > a { + color: #fff; + } + + .mega-menu .drop-down-multilevel li.activeTrigger > a i.fas { + color: #fff; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-multilevel li.activeTriggerMobile { + background: #ff6347; + } + + .mega-menu .drop-down-multilevel li.activeTriggerMobile > a { + color: #fff; + } + + .mega-menu .drop-down-multilevel li.activeTriggerMobile > a i.fas { + color: #fff; + } +} + +.mega-menu .drop-down-multilevel a { + margin: 0; + padding: 15px 20px; + font-size: 0.8125em; + display: inline-block; + float: left; + width: 100%; + color: #555; + transition: color 200ms ease; + min-height: 48px; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-multilevel a { + width: auto; + } +} + +.mega-menu .drop-down-multilevel i.fas { + float: left; + line-height: 1.375em; + font-size: 1em; + display: block; + padding-right: 10px; + transition: color 200ms ease; +} + +.mega-menu .drop-down-multilevel i.fas.fa-indicator { + float: right; + line-height: 1.375em; + font-size: 1em; + display: block; + padding-left: 10px; + padding-right: 0; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-multilevel i.fas.fa-indicator { + float: right; + height: 50px; + position: absolute; + top: 0; + right: 20px; + line-height: 50px; + z-index: -1; + } +} + +.mega-menu .drop-down-multilevel .drop-down-multilevel { + left: 100%; + top: 0; +} + +@media screen and (min-width: 1024px) { + .mega-menu .drop-down-multilevel .drop-down-multilevel.left-side { + left: -100%; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-multilevel .drop-down-multilevel { + left: 0; + border: 1px solid #cccccc; + } +} + +.mega-menu .drop-down, +.mega-menu .drop-down-tab-bar { + position: absolute; + left: auto; + top: auto; + right: auto; + background: #fff; + float: left; + padding: 10px; + z-index: 999; + display: block; + cursor: default; + overflow: hidden; +} + +.mega-menu .drop-down *, +.mega-menu .drop-down-tab-bar * { + color: #555; +} + +@media screen and (min-width: 1024px) { + .mega-menu .drop-down, + .mega-menu .drop-down-tab-bar { + display: block !important; + opacity: 0; + visibility: hidden; + } + + .mega-menu.vertical-left.desktopTopFixed .drop-down, + .mega-menu.vertical-left.desktopTopFixed .drop-down-tab-bar { + margin-left: 0 !important; + margin-right: 0 !important; + } + + .mega-menu.vertical-right.desktopTopFixed .drop-down, + .mega-menu.vertical-right.desktopTopFixed .drop-down-tab-bar { + margin-left: 0 !important; + margin-right: 0 !important; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down, + .mega-menu .drop-down-tab-bar { + width: 100% !important; + top: 0; + left: 0; + position: relative; + display: none; + } +} + +.mega-menu .drop-down .grid-row, +.mega-menu .drop-down-tab-bar .grid-row { + margin: 0; + padding: 0; + min-height: 1px; + width: 100%; + float: left; + clear: both; +} + +.mega-menu .drop-down [class*="grid-col-"], +.mega-menu .drop-down-tab-bar [class*="grid-col-"] { + margin: 0; + float: left; + padding: 10px; + position: relative; +} + +.mega-menu .drop-down .grid-col-1, +.mega-menu .drop-down-tab-bar .grid-col-1 { + width: 8.333333333333333%; +} + +.mega-menu .drop-down .grid-col-2, +.mega-menu .drop-down-tab-bar .grid-col-2 { + width: 16.66666666666667%; +} + +.mega-menu .drop-down .grid-col-3, +.mega-menu .drop-down-tab-bar .grid-col-3 { + width: 25%; +} + +.mega-menu .drop-down .grid-col-4, +.mega-menu .drop-down-tab-bar .grid-col-4 { + width: 33.33333333333333%; +} + +.mega-menu .drop-down .grid-col-5, +.mega-menu .drop-down-tab-bar .grid-col-5 { + width: 41.66666666666667%; +} + +.mega-menu .drop-down .grid-col-6, +.mega-menu .drop-down-tab-bar .grid-col-6 { + width: 50%; +} + +.mega-menu .drop-down .grid-col-7, +.mega-menu .drop-down-tab-bar .grid-col-7 { + width: 58.33333333333333%; +} + +.mega-menu .drop-down .grid-col-8, +.mega-menu .drop-down-tab-bar .grid-col-8 { + width: 66.66666666666667%; +} + +.mega-menu .drop-down .grid-col-9, +.mega-menu .drop-down-tab-bar .grid-col-9 { + width: 75%; +} + +.mega-menu .drop-down .grid-col-10, +.mega-menu .drop-down-tab-bar .grid-col-10 { + width: 83.33333333333333%; +} + +.mega-menu .drop-down .grid-col-11, +.mega-menu .drop-down-tab-bar .grid-col-11 { + width: 91.66666666666667%; +} + +.mega-menu .drop-down .grid-col-12, +.mega-menu .drop-down-tab-bar .grid-col-12 { + width: 100%; +} + +.mega-menu .drop-down.grid-col-1, +.mega-menu .drop-down-tab-bar.grid-col-1 { + width: 8.333333333333333%; +} + +.mega-menu .drop-down.grid-col-2, +.mega-menu .drop-down-tab-bar.grid-col-2 { + width: 16.66666666666667%; +} + +.mega-menu .drop-down.grid-col-3, +.mega-menu .drop-down-tab-bar.grid-col-3 { + width: 25%; +} + +.mega-menu .drop-down.grid-col-4, +.mega-menu .drop-down-tab-bar.grid-col-4 { + width: 33.33333333333333%; +} + +.mega-menu .drop-down.grid-col-5, +.mega-menu .drop-down-tab-bar.grid-col-5 { + width: 41.66666666666667%; +} + +.mega-menu .drop-down.grid-col-6, +.mega-menu .drop-down-tab-bar.grid-col-6 { + width: 50%; +} + +.mega-menu .drop-down.grid-col-7, +.mega-menu .drop-down-tab-bar.grid-col-7 { + width: 58.33333333333333%; +} + +.mega-menu .drop-down.grid-col-8, +.mega-menu .drop-down-tab-bar.grid-col-8 { + width: 66.66666666666667%; +} + +.mega-menu .drop-down.grid-col-9, +.mega-menu .drop-down-tab-bar.grid-col-9 { + width: 75%; +} + +.mega-menu .drop-down.grid-col-10, +.mega-menu .drop-down-tab-bar.grid-col-10 { + width: 83.33333333333333%; +} + +.mega-menu .drop-down.grid-col-11, +.mega-menu .drop-down-tab-bar.grid-col-11 { + width: 91.66666666666667%; +} + +.mega-menu .drop-down.grid-col-12, +.mega-menu .drop-down-tab-bar.grid-col-12 { + width: 100%; + left: 0; +} + +@media screen and (max-width: 992px) { + .mega-menu .drop-down [class*="grid-col-"], + .mega-menu .drop-down-tab-bar [class*="grid-col-"] { + width: 50%; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down [class*="grid-col-"], + .mega-menu .drop-down-tab-bar [class*="grid-col-"] { + width: 100%; + } +} + +.mega-menu .drop-down.grid-demo span, +.mega-menu .drop-down-tab-bar.grid-demo span { + float: left; + display: inline-block; + width: 100%; + padding: 4px 6px; + background: #bfbfbf; + font-size: 0.75em; + color: #555; +} + +.mega-menu .drop-down .space-0, +.mega-menu .drop-down-tab-bar .space-0 { + padding: 0 !important; + margin: 0 !important; +} + +.mega-menu .drop-down a, +.mega-menu .drop-down-tab-bar a { + font-size: 0.8125em; + display: inline-block; + padding: 8px 0; + width: 100%; + max-width: 100%; +} + +.mega-menu .drop-down h1, +.mega-menu .drop-down h2, +.mega-menu .drop-down h3, +.mega-menu .drop-down h4, +.mega-menu .drop-down h5, +.mega-menu .drop-down h6, +.mega-menu .drop-down-tab-bar h1, +.mega-menu .drop-down-tab-bar h2, +.mega-menu .drop-down-tab-bar h3, +.mega-menu .drop-down-tab-bar h4, +.mega-menu .drop-down-tab-bar h5, +.mega-menu .drop-down-tab-bar h6 { + margin-top: 0; + font-weight: 700; +} + +.mega-menu .drop-down h1, +.mega-menu .drop-down-tab-bar h1 { + font-size: 1.5em; + line-height: 1; + padding-top: 0.53em; + margin-bottom: 0.5em; +} + +.mega-menu .drop-down h2, +.mega-menu .drop-down-tab-bar h2 { + font-size: 1.375em; + padding-top: 0.25em; + margin-bottom: 0.5em; +} + +.mega-menu .drop-down h3, +.mega-menu .drop-down-tab-bar h3 { + font-size: 1.125em; + line-height: 1; + padding-top: 0.35em; + margin-bottom: 0.65em; +} + +.mega-menu .drop-down h4, +.mega-menu .drop-down-tab-bar h4 { + font-size: 1em; + line-height: 1.25; + padding-top: 0.45em; + margin-bottom: 0.8em; +} + +.mega-menu .drop-down h5, +.mega-menu .drop-down-tab-bar h5 { + font-size: 0.875em; + font-weight: bold; + padding-top: 0.6em; + margin-bottom: 0.9em; +} + +.mega-menu .drop-down h6, +.mega-menu .drop-down-tab-bar h6 { + font-size: 0.75em; + font-weight: bold; + margin-bottom: 0; +} + +.mega-menu .drop-down figure img, +.mega-menu .drop-down-tab-bar figure img { + width: 100%; + height: auto; + display: block; +} + +.mega-menu .drop-down figcaption, +.mega-menu .drop-down-tab-bar figcaption { + font-size: small; + font-style: italic; + color: #666666; +} + +.mega-menu .drop-down ul, +.mega-menu .drop-down ol, +.mega-menu .drop-down dl, +.mega-menu .drop-down-tab-bar ul, +.mega-menu .drop-down-tab-bar ol, +.mega-menu .drop-down-tab-bar dl { + padding: 0; + margin: 0 0 14px; +} + +.mega-menu .drop-down form, +.mega-menu .drop-down-tab-bar form { + margin-bottom: 1.5em; +} + +.mega-menu .drop-down form ul, +.mega-menu .drop-down-tab-bar form ul { + list-style: none none; + margin: 0; + padding: 0; +} + +.mega-menu .drop-down form ul li, +.mega-menu .drop-down-tab-bar form ul li { + *zoom: 1; + margin-bottom: 1.5em; +} + +.mega-menu .drop-down form ul li:before, +.mega-menu .drop-down form ul li:after, +.mega-menu .drop-down-tab-bar form ul li:before, +.mega-menu .drop-down-tab-bar form ul li:after { + content: ""; + display: table; +} + +.mega-menu .drop-down form ul li:after, +.mega-menu .drop-down-tab-bar form ul li:after { + clear: both; +} + +.mega-menu .drop-down fieldset, +.mega-menu .drop-down-tab-bar fieldset { + margin: 0; + padding: 1.5em; +} + +.mega-menu .drop-down label, +.mega-menu .drop-down-tab-bar label { + display: block; +} + +.mega-menu .drop-down label.inline, +.mega-menu .drop-down-tab-bar label.inline { + display: inline; + padding-right: 24px; +} + +.mega-menu .drop-down input[type="text"], +.mega-menu .drop-down input[type="url"], +.mega-menu .drop-down input[type="email"], +.mega-menu .drop-down input[type="password"], +.mega-menu .drop-down input[type="search"], +.mega-menu .drop-down input[type="number"], +.mega-menu .drop-down input[type="date"], +.mega-menu .drop-down input[type="month"], +.mega-menu .drop-down input[type="week"], +.mega-menu .drop-down input[type="time"], +.mega-menu .drop-down input[type="datetime"], +.mega-menu .drop-down input[type="datetime-local"], +.mega-menu .drop-down input[type="tel"], +.mega-menu .drop-down textarea, +.mega-menu .drop-down-tab-bar input[type="text"], +.mega-menu .drop-down-tab-bar input[type="url"], +.mega-menu .drop-down-tab-bar input[type="email"], +.mega-menu .drop-down-tab-bar input[type="password"], +.mega-menu .drop-down-tab-bar input[type="search"], +.mega-menu .drop-down-tab-bar input[type="number"], +.mega-menu .drop-down-tab-bar input[type="date"], +.mega-menu .drop-down-tab-bar input[type="month"], +.mega-menu .drop-down-tab-bar input[type="week"], +.mega-menu .drop-down-tab-bar input[type="time"], +.mega-menu .drop-down-tab-bar input[type="datetime"], +.mega-menu .drop-down-tab-bar input[type="datetime-local"], +.mega-menu .drop-down-tab-bar input[type="tel"], +.mega-menu .drop-down-tab-bar textarea { + display: block; + width: 100%; + margin: 0 0 0.75em; + padding: 10px; + font-size: 0.8125em; + border: 1px solid #e8e8e8; + line-height: 1.5em; + font-family: "Open Sans", sans-serif; +} + +.mega-menu .drop-down select, +.mega-menu .drop-down-tab-bar select { + width: 100%; + height: 2.1em; + margin-bottom: 0.9em; + border: 1px solid #cccccc; + font-family: "Open Sans", sans-serif; +} + +.mega-menu .drop-down input[type="range"], +.mega-menu .drop-down input[type="color"], +.mega-menu .drop-down-tab-bar input[type="range"], +.mega-menu .drop-down-tab-bar input[type="color"] { + vertical-align: middle; + height: 1.5em; + width: 100%; + font-family: "Open Sans", sans-serif; +} + +.mega-menu .drop-down input[type="range"], +.mega-menu .drop-down-tab-bar input[type="range"] { + height: 1.4em; +} + +.mega-menu .drop-down input[type="color"], +.mega-menu .drop-down-tab-bar input[type="color"] { + width: 1.5em; + font-family: "Open Sans", sans-serif; +} + +.mega-menu .drop-down input[type="time"], +.mega-menu .drop-down-tab-bar input[type="time"] { + margin: 0 0 0.55em; +} + +.mega-menu .drop-down progress, +.mega-menu .drop-down meter, +.mega-menu .drop-down-tab-bar progress, +.mega-menu .drop-down-tab-bar meter { + display: block; + width: 100%; + height: 1.5em; +} + +.mega-menu .drop-down table, +.mega-menu .drop-down-tab-bar table { + margin-bottom: 1.4em; + width: 100%; + border: 1px solid #cccccc; +} + +.mega-menu .drop-down thead, +.mega-menu .drop-down-tab-bar thead { + text-align: left; + font-weight: bold; +} + +.mega-menu .drop-down tbody tr:nth-child(even) td, +.mega-menu .drop-down-tab-bar tbody tr:nth-child(even) td { + background: #dddddd; +} + +.mega-menu .drop-down tfoot, +.mega-menu .drop-down-tab-bar tfoot { + font-style: italic; +} + +.mega-menu .drop-down tfoot td, +.mega-menu .drop-down tfoot th, +.mega-menu .drop-down-tab-bar tfoot td, +.mega-menu .drop-down-tab-bar tfoot th { + padding: 0.75em 10px; +} + +.mega-menu .drop-down th, +.mega-menu .drop-down td, +.mega-menu .drop-down caption, +.mega-menu .drop-down-tab-bar th, +.mega-menu .drop-down-tab-bar td, +.mega-menu .drop-down-tab-bar caption { + border: 1px solid #cccccc; +} + +.mega-menu .drop-down td, +.mega-menu .drop-down th, +.mega-menu .drop-down-tab-bar td, +.mega-menu .drop-down-tab-bar th { + padding: 0 10px 0 10px; + line-height: 1.45em; +} + +.mega-menu .drop-down caption, +.mega-menu .drop-down-tab-bar caption { + border-bottom: 0; + padding: 0.75em 10px; + line-height: 1.45em; + text-align: left; + font-style: italic; +} + +.mega-menu .drop-down p, +.mega-menu .drop-down-tab-bar p { + margin: 0 0 1.5em 0; + font-size: 0.8125em; +} + +.mega-menu .drop-down blockquote, +.mega-menu .drop-down-tab-bar blockquote { + margin: 0 1.5em 1.5em; + font-style: italic; +} + +.mega-menu .drop-down mark, +.mega-menu .drop-down-tab-bar mark { + line-height: 1.5; + background: #78aace; + color: #ffffff; +} + +.mega-menu .drop-down del, +.mega-menu .drop-down-tab-bar del { + color: #dddddd; +} + +.mega-menu .drop-down code, +.mega-menu .drop-down kbd, +.mega-menu .drop-down pre, +.mega-menu .drop-down samp, +.mega-menu .drop-down-tab-bar code, +.mega-menu .drop-down-tab-bar kbd, +.mega-menu .drop-down-tab-bar pre, +.mega-menu .drop-down-tab-bar samp { + font-family: "Open Sans", sans-serif; +} + +.mega-menu .drop-down ins, +.mega-menu .drop-down small, +.mega-menu .drop-down-tab-bar ins, +.mega-menu .drop-down-tab-bar small { + line-height: 1.5; +} + +.mega-menu .drop-down kbd, +.mega-menu .drop-down samp, +.mega-menu .drop-down-tab-bar kbd, +.mega-menu .drop-down-tab-bar samp { + line-height: 1.4; +} + +.mega-menu .drop-down hr, +.mega-menu .drop-down-tab-bar hr { + background: #cccccc; + color: #cccccc; + clear: both; + float: none; + width: 100%; + height: 1px; + margin: 0 0 1.4em; + border: none; +} + +.mega-menu .drop-down input[type="submit"], +.mega-menu .drop-down input[type="button"], +.mega-menu .drop-down button[type="submit"], +.mega-menu .drop-down button[type="reset"], +.mega-menu .drop-down-tab-bar input[type="submit"], +.mega-menu .drop-down-tab-bar input[type="button"], +.mega-menu .drop-down-tab-bar button[type="submit"], +.mega-menu .drop-down-tab-bar button[type="reset"] { + background: #ff6347; + padding: 10px 20px; + margin: 5px 10px 0 0; + font-family: "Open Sans", sans-serif; + line-height: 1.5em; + font-weight: 600; + font-size: 0.8125em; + color: #fff; + border-radius: 0; + display: block; + float: left; + transition: background-color 200ms ease; + border: none; + text-align: center; +} + +.mega-menu .drop-down input[type="submit"]:hover, +.mega-menu .drop-down input[type="button"]:hover, +.mega-menu .drop-down button[type="submit"]:hover, +.mega-menu .drop-down button[type="reset"]:hover, +.mega-menu .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu .drop-down-tab-bar input[type="button"]:hover, +.mega-menu .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down input[type="submit"], + .mega-menu .drop-down input[type="button"], + .mega-menu .drop-down button[type="submit"], + .mega-menu .drop-down button[type="reset"], + .mega-menu .drop-down-tab-bar input[type="submit"], + .mega-menu .drop-down-tab-bar input[type="button"], + .mega-menu .drop-down-tab-bar button[type="submit"], + .mega-menu .drop-down-tab-bar button[type="reset"] { + width: 100%; + } +} + +.mega-menu .drop-down a, +.mega-menu .drop-down-tab-bar a { + transition: color 200ms ease; +} + +.mega-menu .drop-down a:hover, +.mega-menu .drop-down-tab-bar a:hover { + color: #ff6347; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down a, + .mega-menu .drop-down-tab-bar a { + width: auto; + } +} + +.mega-menu .drop-down::-moz-selection, +.mega-menu .drop-down-tab-bar::-moz-selection { + background: #ffb9ad; +} + +.mega-menu .drop-down::selection, +.mega-menu .drop-down-tab-bar::selection { + background: #ffb9ad; +} + +.mega-menu .drop-down .list-description span, +.mega-menu .drop-down-tab-bar .list-description span { + color: #aeaeae; + display: inline-block; + width: 100%; +} + +.mega-menu .drop-down .image-description, +.mega-menu .drop-down-tab-bar .image-description { + position: relative; +} + +.mega-menu .drop-down .image-description img, +.mega-menu .drop-down-tab-bar .image-description img { + display: inline-block; + float: left; + max-width: 100%; + position: absolute; + left: 0; + right: 0; + height: 40px; + width: 40px; +} + +.mega-menu .drop-down .image-description a, +.mega-menu .drop-down-tab-bar .image-description a { + padding-left: 50px; +} + +.mega-menu .drop-down .image-description span, +.mega-menu .drop-down-tab-bar .image-description span { + color: #aeaeae; + display: inline-block; + width: 100%; +} + +.mega-menu .drop-down i.fas, +.mega-menu .drop-down-tab-bar i.fas { + padding-right: 10px; +} + +.mega-menu .drop-down iframe, +.mega-menu .drop-down-tab-bar iframe { + width: 100%; + display: block; + margin: 0; + padding: 0; + border: none; +} + +@media screen and (min-width: 1024px) { + .mega-menu .drop-down.offset-1, + .mega-menu .drop-down-tab-bar.offset-1 { + margin-left: 100px; + } + + .mega-menu .drop-down.offset-2, + .mega-menu .drop-down-tab-bar.offset-2 { + margin-left: -150px; + } + + .mega-menu .drop-down.offset-3, + .mega-menu .drop-down-tab-bar.offset-3 { + margin-left: -200px; + } + + .mega-menu .drop-down.offset-4, + .mega-menu .drop-down-tab-bar.offset-4 { + margin-left: -250px; + } + + .mega-menu .drop-down.offset-5, + .mega-menu .drop-down-tab-bar.offset-5 { + margin-left: -300px; + } +} + +.mega-menu .drop-down .menu-contact-form, +.mega-menu .drop-down-tab-bar .menu-contact-form { + margin: 0; + display: block; + float: left; + width: 100%; + background: #f7f7f7; + padding: 20px; +} + +.mega-menu .drop-down .menu-contact-form input[type="submit"], +.mega-menu .drop-down .menu-contact-form input[type="reset"], +.mega-menu .drop-down-tab-bar .menu-contact-form input[type="submit"], +.mega-menu .drop-down-tab-bar .menu-contact-form input[type="reset"] { + text-align: center; +} + +.mega-menu .drop-down .menu-contact-form button i.fas, +.mega-menu .drop-down-tab-bar .menu-contact-form button i.fas { + display: none; + color: #fff; + line-height: normal; + min-height: 1px; + height: auto; + margin: 0; + padding: 0; + position: relative; + left: 0.625em; +} + +.mega-menu .drop-down .menu-contact-form .nav_form_notification, +.mega-menu .drop-down-tab-bar .menu-contact-form .nav_form_notification { + display: block; + width: 100%; + clear: both; + font-size: 0.75em; + padding: 0; + margin: 0; + position: relative; + top: 0.625em; + color: red; +} + +.mega-menu .mobileTriggerButton { + margin: 0; + padding: 0; + position: absolute; + top: 0; + left: 0; + right: 0; + height: 50px; + display: none; + z-index: -1; +} + +@media screen and (max-width: 1023px) { + .mega-menu .mobileTriggerButton { + display: block; + } +} + +.mega-menu .desktopTriggerButton { + margin: 0; + padding: 0; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + z-index: 10; + display: block; + opacity: 0.2; +} + +@media screen and (max-width: 1023px) { + .mega-menu .desktopTriggerButton { + display: none; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu.desktopTopFixed .menu-list-items { + position: fixed; + top: 0; + left: 0; + right: 0; + max-width: 100%; + padding: 0 5%; + } + + .desktopTopFixed.mega-menu.vertical-left .menu-list-items { + max-width: 250px; + } + + .desktopTopFixed.mega-menu.vertical-right .menu-list-items { + max-width: 250px; + left: auto; + } + + .mega-menu.desktopTopFixed .menu-list-items .drop-down.grid-col-12, + .mega-menu.desktopTopFixed .menu-list-items .drop-down-tab-bar.grid-col-12 { + width: 90%; + margin: 0 5%; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu.mobileTopFixed .menu-list-items { + position: fixed; + top: 0; + left: 0; + right: 0; + max-width: 100%; + } +} + +.mega-menu .drop-down-tab-bar { + margin: 0; + padding: 10px; + float: left; +} + +.mega-menu .drop-down-tab-bar li { + float: left; + margin: 0; + padding: 0; + display: block; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-tab-bar li { + width: 100%; + position: relative; + } +} + +.mega-menu .drop-down-tab-bar a { + float: left; + width: 100%; + display: inline-block; + padding: 5px 10px; + font-size: 0.8125em; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-tab-bar a { + width: auto; + padding-right: 20px; + } +} + +.mega-menu .drop-down-tab-bar i.fas { + display: inline-block; + padding-right: 5px; +} + +.mega-menu .drop-down-tab-bar i.fa.fa-indicator { + padding-right: 0; + padding-left: 10px; + line-height: 0.8125em; +} + +@media screen and (max-width: 1023px) { + .mega-menu .drop-down-tab-bar i.fa.fa-indicator { + float: right; + position: absolute; + right: 12px; + top: 0; + bottom: 0; + line-height: 25px; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-scale, + .mega-menu .menu-links li.hoverTrigger > .drop-down-tab-bar.effect-scale, + .mega-menu .menu-links li.hoverTrigger > .drop-down-multilevel.effect-scale, + .mega-menu .menu-links li.ClickTrigger .drop-down.effect-scale, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.effect-scale, + .mega-menu .menu-links li.ClickTrigger .drop-down-multilevel.effect-scale { + -webkit-transform: scale(0.8); + -ms-transform: scale(0.8); + transform: scale(0.8); + } + + .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-expand-top, + .mega-menu .menu-links li.hoverTrigger > .drop-down-tab-bar.effect-expand-top, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-multilevel.effect-expand-top, + .mega-menu .menu-links li.ClickTrigger .drop-down.effect-expand-top, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.effect-expand-top, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.effect-expand-top { + -webkit-transform: rotateX(90deg); + transform: rotateX(90deg); + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; + } + + .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-expand-bottom, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-tab-bar.effect-expand-bottom, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-multilevel.effect-expand-bottom, + .mega-menu .menu-links li.ClickTrigger .drop-down.effect-expand-bottom, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-tab-bar.effect-expand-bottom, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.effect-expand-bottom { + -webkit-transform: rotateX(90deg); + transform: rotateX(90deg); + -webkit-transform-origin: 0 100%; + -ms-transform-origin: 0 100%; + transform-origin: 0 100%; + } + + .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-expand-left, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-tab-bar.effect-expand-left, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-multilevel.effect-expand-left, + .mega-menu .menu-links li.ClickTrigger .drop-down.effect-expand-left, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.effect-expand-left, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.effect-expand-left { + -webkit-transform: rotateY(90deg); + transform: rotateY(90deg); + -webkit-transform-origin: 0 0; + -ms-transform-origin: 0 0; + transform-origin: 0 0; + } + + .mega-menu .menu-links li.hoverTrigger > .drop-down.effect-expand-right, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-tab-bar.effect-expand-right, + .mega-menu + .menu-links + li.hoverTrigger + > .drop-down-multilevel.effect-expand-right, + .mega-menu .menu-links li.ClickTrigger .drop-down.effect-expand-right, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.effect-expand-right, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.effect-expand-right { + -webkit-transform: rotateY(90deg); + transform: rotateY(90deg); + -webkit-transform-origin: 100% 0; + -ms-transform-origin: 100% 0; + transform-origin: 100% 0; + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down, + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down-tab-bar, + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down-multilevel, + .mega-menu .menu-links li.ClickTrigger .drop-down.active, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.active, + .mega-menu .menu-links li.ClickTrigger .drop-down-multilevel.active { + transition-delay: 200ms !important; + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down.effect-fade, + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down-tab-bar.effect-fade, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-fade, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-fade, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.active.effect-fade, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-fade { + opacity: 1; + visibility: visible; + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down.effect-scale, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-tab-bar.effect-scale, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-scale, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-scale, + .mega-menu .menu-links li.ClickTrigger .drop-down-tab-bar.active.effect-scale, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-scale { + opacity: 1; + visibility: visible; + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down.effect-expand-top, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-tab-bar.effect-expand-top, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-expand-top, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-expand-top, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-tab-bar.active.effect-expand-top, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-expand-top { + opacity: 1; + visibility: visible; + -webkit-transform: rotateX(0deg); + transform: rotateX(0deg); + } + + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down.effect-expand-bottom, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-tab-bar.effect-expand-bottom, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-expand-bottom, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-expand-bottom, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-tab-bar.active.effect-expand-bottom, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-expand-bottom { + opacity: 1; + visibility: visible; + -webkit-transform: rotateX(0deg); + transform: rotateX(0deg); + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down.effect-expand-left, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-tab-bar.effect-expand-left, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-expand-left, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-expand-left, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-tab-bar.active.effect-expand-left, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-expand-left { + opacity: 1; + visibility: visible; + -webkit-transform: rotateY(0deg); + transform: rotateY(0deg); + } + + .mega-menu .menu-links li.hoverTrigger:hover > .drop-down.effect-expand-right, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-tab-bar.effect-expand-right, + .mega-menu + .menu-links + li.hoverTrigger:hover + > .drop-down-multilevel.effect-expand-right, + .mega-menu .menu-links li.ClickTrigger .drop-down.active.effect-expand-right, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-tab-bar.active.effect-expand-right, + .mega-menu + .menu-links + li.ClickTrigger + .drop-down-multilevel.active.effect-expand-right { + opacity: 1; + visibility: visible; + -webkit-transform: rotateY(0deg); + transform: rotateY(0deg); + } +} + +@media screen and (max-width: 1023px) { + .mega-menu .menu-links li .drop-down, + .mega-menu .menu-links li .drop-down-tab-bar, + .mega-menu .menu-links li .drop-down-multilevel { + transition: none !important; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu.vertical-left, + .mega-menu.vertical-right { + float: left; + width: auto; + display: block; + max-width: 250px; + } + + .mega-menu.vertical-left .menu-logo, + .mega-menu.vertical-right .menu-logo { + clear: both; + width: 100%; + } + + .mega-menu.vertical-left .menu-logo > li, + .mega-menu.vertical-right .menu-logo > li { + width: 100%; + } + + .mega-menu.vertical-left .menu-logo > li > a, + .mega-menu.vertical-right .menu-logo > li > a { + width: 100%; + } + + .mega-menu.vertical-left .menu-links, + .mega-menu.vertical-right .menu-links { + clear: both; + width: 100%; + } + + .mega-menu.vertical-left .menu-links > li, + .mega-menu.vertical-right .menu-links > li { + clear: both; + width: 100%; + position: relative; + } + + .mega-menu.vertical-left .menu-links > li > a, + .mega-menu.vertical-right .menu-links > li > a { + width: 100%; + position: relative; + line-height: 48px; + } + + .mega-menu.vertical-left .menu-links > li > a i.fas.fa-indicator, + .mega-menu.vertical-right .menu-links > li > a i.fas.fa-indicator { + float: right; + line-height: 48px; + } + + .mega-menu.vertical-left .menu-social-bar, + .mega-menu.vertical-right .menu-social-bar { + width: 100%; + text-align: center; + } + + .mega-menu.vertical-left .menu-social-bar > li, + .mega-menu.vertical-right .menu-social-bar > li { + display: inline-block; + float: none; + } + + .mega-menu.vertical-left .menu-social-bar > li > a, + .mega-menu.vertical-right .menu-social-bar > li > a { + padding-left: 10px; + padding-right: 10px; + } + + .mega-menu.vertical-left .drop-down-multilevel, + .mega-menu.vertical-right .drop-down-multilevel { + top: 0; + left: 100%; + } + + .mega-menu.vertical-left .drop-down, + .mega-menu.vertical-left .drop-down-tab-bar, + .mega-menu.vertical-right .drop-down, + .mega-menu.vertical-right .drop-down-tab-bar { + left: 100%; + top: 0; + min-width: 600px; + } + + .mega-menu.vertical-left .drop-down.grid-col-12, + .mega-menu.vertical-left .drop-down-tab-bar.grid-col-12, + .mega-menu.vertical-right .drop-down.grid-col-12, + .mega-menu.vertical-right .drop-down-tab-bar.grid-col-12 { + min-width: 1000px; + } + + .mega-menu.vertical-left .offset-1, + .mega-menu.vertical-left .offset-2, + .mega-menu.vertical-left .offset-3, + .mega-menu.vertical-left .offset-4, + .mega-menu.vertical-left .offset-5, + .mega-menu.vertical-right .offset-1, + .mega-menu.vertical-right .offset-2, + .mega-menu.vertical-right .offset-3, + .mega-menu.vertical-right .offset-4, + .mega-menu.vertical-right .offset-5 { + margin-left: 0; + } + + .mega-menu.vertical-left .offset-1-vertical, + .mega-menu.vertical-right .offset-1-vertical { + margin-top: -100px !important; + } + + .mega-menu.vertical-left .offset-2-vertical, + .mega-menu.vertical-right .offset-2-vertical { + margin-top: -150px !important; + } + + .mega-menu.vertical-left .offset-3-vertical, + .mega-menu.vertical-right .offset-3-vertical { + margin-top: -200px !important; + } + + .mega-menu.vertical-left .offset-4-vertical, + .mega-menu.vertical-right .offset-4-vertical { + margin-top: -250px !important; + } + + .mega-menu.vertical-left .offset-5-vertical, + .mega-menu.vertical-right .offset-5-vertical { + margin-top: -300px !important; + } + + .mega-menu.vertical-left.desktopTopFixed, + .mega-menu.vertical-right.desktopTopFixed { + float: left; + right: auto; + padding: 0; + height: 100%; + } + + .mega-menu.vertical-left.desktopTopFixed .menu-list-items, + .mega-menu.vertical-right.desktopTopFixed .menu-list-items { + padding: 0; + height: 100%; + } + + .mega-menu.vertical-left.desktopTopFixed .drop-down, + .mega-menu.vertical-left.desktopTopFixed .drop-down-tab-bar, + .mega-menu.vertical-right.desktopTopFixed .drop-down, + .mega-menu.vertical-right.desktopTopFixed .drop-down-tab-bar { + margin: 0; + } + + .mega-menu.vertical-right { + float: right; + } + + .mega-menu.vertical-right .drop-down-multilevel { + left: auto; + right: 100%; + } +} + +@media screen and (min-width: 1024px) and (min-width: 1024px) { + .mega-menu.vertical-right .drop-down-multilevel.left-side { + left: 100%; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu.vertical-right .drop-down, + .mega-menu.vertical-right .drop-down-tab-bar { + left: auto; + right: 100%; + } + + .mega-menu.vertical-right.desktopTopFixed { + float: right; + left: auto; + right: 0; + padding: 0; + height: 100%; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu.vertical-left .menu-search-bar, + .mega-menu.vertical-right .menu-search-bar { + width: 100%; + } + + .mega-menu.vertical-left .menu-search-bar input, + .mega-menu.vertical-left .menu-search-bar li, + .mega-menu.vertical-left .menu-search-bar form, + .mega-menu.vertical-left .menu-search-bar label, + .mega-menu.vertical-right .menu-search-bar input, + .mega-menu.vertical-right .menu-search-bar li, + .mega-menu.vertical-right .menu-search-bar form, + .mega-menu.vertical-right .menu-search-bar label { + width: 100%; + max-width: 100%; + background: #ff6347; + transition: none; + } + + .mega-menu.vertical-left .menu-search-bar input, + .mega-menu.vertical-right .menu-search-bar input { + padding-left: 20px; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu.menuFullWidth { + max-width: 100%; + } +} + +.mega-menu[data-color="blue-grey"] { +} + +.mega-menu[data-color="blue-grey"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="blue-grey"] .menu-logo > li > a:hover { + background-color: #607d8b; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="blue-grey"] .menu-links > li.activeTriggerMobile { + background-color: #607d8b; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey"] .menu-links > li.activeTrigger { + background-color: #607d8b; + } +} + +.mega-menu[data-color="blue-grey"] .menu-links > li.active { + background-color: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .menu-links > li:hover { + background-color: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .menu-search-bar li:hover i.fas.fa-search { + background: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .menu-search-bar input:focus { + background: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="blue-grey"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="blue-grey"] .drop-down-multilevel li:hover { + background: #607d8b; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey"] .drop-down-multilevel li.activeTrigger { + background: #607d8b; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="blue-grey"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #607d8b; + } +} + +.mega-menu[data-color="blue-grey"] .drop-down input[type="submit"], +.mega-menu[data-color="blue-grey"] .drop-down input[type="button"], +.mega-menu[data-color="blue-grey"] .drop-down button[type="submit"], +.mega-menu[data-color="blue-grey"] .drop-down button[type="reset"], +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar button[type="reset"] { + background: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="blue-grey"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="blue-grey"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="blue-grey"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="blue-grey"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="blue-grey"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="blue-grey"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="blue-grey"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="blue-grey"] .drop-down a:hover, +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar a:hover { + color: #607d8b; +} + +.mega-menu[data-color="blue-grey"] .drop-down::-moz-selection, +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar::-moz-selection { + background: #99aeb8; +} + +.mega-menu[data-color="blue-grey"] .drop-down::selection, +.mega-menu[data-color="blue-grey"] .drop-down-tab-bar::selection { + background: #99aeb8; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey"].vertical-left .menu-search-bar input, + .mega-menu[data-color="blue-grey"].vertical-left .menu-search-bar li, + .mega-menu[data-color="blue-grey"].vertical-left .menu-search-bar form, + .mega-menu[data-color="blue-grey"].vertical-left .menu-search-bar label, + .mega-menu[data-color="blue-grey"].vertical-right .menu-search-bar input, + .mega-menu[data-color="blue-grey"].vertical-right .menu-search-bar li, + .mega-menu[data-color="blue-grey"].vertical-right .menu-search-bar form, + .mega-menu[data-color="blue-grey"].vertical-right .menu-search-bar label { + background: #607d8b; + } +} + +.mega-menu[data-color="blue-grey-invert"] { +} + +.mega-menu[data-color="blue-grey-invert"] > section.menu-list-items { + background-color: #607d8b; +} + +.mega-menu[data-color="blue-grey-invert"] .menu-logo > li > a:hover { + background-color: #566f7c; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="blue-grey-invert"] + .menu-links + > li.activeTriggerMobile { + background-color: #566f7c; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey-invert"] .menu-links > li.activeTrigger { + background-color: #566f7c; + } +} + +.mega-menu[data-color="blue-grey-invert"] .menu-links > li.active { + background-color: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] .menu-links > li:hover { + background-color: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] .menu-search-bar input:focus { + background: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] .menu-mobile-collapse-trigger { + background: #4b626d; +} + +.mega-menu[data-color="blue-grey-invert"] .menu-mobile-collapse-trigger:hover { + background: #36474f; +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down-multilevel li:hover { + background: #566f7c; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #566f7c; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="blue-grey-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #566f7c; + } +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="blue-grey-invert"] .drop-down input[type="button"], +.mega-menu[data-color="blue-grey-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="blue-grey-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + input[type="submit"], +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + input[type="button"], +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + button[type="submit"], +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + button[type="reset"] { + background: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="blue-grey-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="blue-grey-invert"] + .drop-down + button[type="submit"]:hover, +.mega-menu[data-color="blue-grey-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="blue-grey-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #607d8b; +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down a:hover, +.mega-menu[data-color="blue-grey-invert"] .drop-down-tab-bar a:hover { + color: #566f7c; +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="blue-grey-invert"] .drop-down-tab-bar::-moz-selection { + background: #8aa2ae; +} + +.mega-menu[data-color="blue-grey-invert"] .drop-down::selection, +.mega-menu[data-color="blue-grey-invert"] .drop-down-tab-bar::selection { + background: #8aa2ae; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="blue-grey-invert"].vertical-left + .menu-search-bar + input, + .mega-menu[data-color="blue-grey-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="blue-grey-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="blue-grey-invert"].vertical-left + .menu-search-bar + label, + .mega-menu[data-color="blue-grey-invert"].vertical-right + .menu-search-bar + input, + .mega-menu[data-color="blue-grey-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="blue-grey-invert"].vertical-right + .menu-search-bar + form, + .mega-menu[data-color="blue-grey-invert"].vertical-right + .menu-search-bar + label { + background: #566f7c; + } +} + +.mega-menu[data-color="brown"] { +} + +.mega-menu[data-color="brown"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="brown"] .menu-logo > li > a:hover { + background-color: #795547; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="brown"] .menu-links > li.activeTriggerMobile { + background-color: #795547; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown"] .menu-links > li.activeTrigger { + background-color: #795547; + } +} + +.mega-menu[data-color="brown"] .menu-links > li.active { + background-color: #795547; +} + +.mega-menu[data-color="brown"] .menu-links > li:hover { + background-color: #795547; +} + +.mega-menu[data-color="brown"] .menu-search-bar li:hover i.fas.fa-search { + background: #795547; +} + +.mega-menu[data-color="brown"] .menu-search-bar input:focus { + background: #795547; +} + +.mega-menu[data-color="brown"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="brown"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="brown"] .drop-down-multilevel li:hover { + background: #795547; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown"] .drop-down-multilevel li.activeTrigger { + background: #795547; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="brown"] .drop-down-multilevel li.activeTriggerMobile { + background: #795547; + } +} + +.mega-menu[data-color="brown"] .drop-down input[type="submit"], +.mega-menu[data-color="brown"] .drop-down input[type="button"], +.mega-menu[data-color="brown"] .drop-down button[type="submit"], +.mega-menu[data-color="brown"] .drop-down button[type="reset"], +.mega-menu[data-color="brown"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="brown"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="brown"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="brown"] .drop-down-tab-bar button[type="reset"] { + background: #795547; +} + +.mega-menu[data-color="brown"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="brown"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="brown"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="brown"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="brown"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="brown"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="brown"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="brown"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="brown"] .drop-down a:hover, +.mega-menu[data-color="brown"] .drop-down-tab-bar a:hover { + color: #795547; +} + +.mega-menu[data-color="brown"] .drop-down::-moz-selection, +.mega-menu[data-color="brown"] .drop-down-tab-bar::-moz-selection { + background: #af8777; +} + +.mega-menu[data-color="brown"] .drop-down::selection, +.mega-menu[data-color="brown"] .drop-down-tab-bar::selection { + background: #af8777; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown"].vertical-left .menu-search-bar input, + .mega-menu[data-color="brown"].vertical-left .menu-search-bar li, + .mega-menu[data-color="brown"].vertical-left .menu-search-bar form, + .mega-menu[data-color="brown"].vertical-left .menu-search-bar label, + .mega-menu[data-color="brown"].vertical-right .menu-search-bar input, + .mega-menu[data-color="brown"].vertical-right .menu-search-bar li, + .mega-menu[data-color="brown"].vertical-right .menu-search-bar form, + .mega-menu[data-color="brown"].vertical-right .menu-search-bar label { + background: #795547; + } +} + +.mega-menu[data-color="brown-invert"] { +} + +.mega-menu[data-color="brown-invert"] > section.menu-list-items { + background-color: #896050; +} + +.mega-menu[data-color="brown-invert"] .menu-logo > li > a:hover { + background-color: #694a3e; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="brown-invert"] .menu-links > li.activeTriggerMobile { + background-color: #694a3e; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown-invert"] .menu-links > li.activeTrigger { + background-color: #694a3e; + } +} + +.mega-menu[data-color="brown-invert"] .menu-links > li.active { + background-color: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .menu-links > li:hover { + background-color: #694a3e; +} + +.mega-menu[data-color="brown-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .menu-search-bar input:focus { + background: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .menu-mobile-collapse-trigger { + background: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .menu-mobile-collapse-trigger:hover { + background: #49332b; +} + +.mega-menu[data-color="brown-invert"] .drop-down-multilevel li:hover { + background: #694a3e; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown-invert"] .drop-down-multilevel li.activeTrigger { + background: #694a3e; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="brown-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #694a3e; + } +} + +.mega-menu[data-color="brown-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="brown-invert"] .drop-down input[type="button"], +.mega-menu[data-color="brown-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="brown-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar button[type="reset"] { + background: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="brown-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="brown-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="brown-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="brown-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="brown-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="brown-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="brown-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #896050; +} + +.mega-menu[data-color="brown-invert"] .drop-down a:hover, +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar a:hover { + color: #694a3e; +} + +.mega-menu[data-color="brown-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar::-moz-selection { + background: #a67867; +} + +.mega-menu[data-color="brown-invert"] .drop-down::selection, +.mega-menu[data-color="brown-invert"] .drop-down-tab-bar::selection { + background: #a67867; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="brown-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="brown-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="brown-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="brown-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="brown-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="brown-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="brown-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="brown-invert"].vertical-right .menu-search-bar label { + background: #694a3e; + } +} + +.mega-menu[data-color="cyan"] { +} + +.mega-menu[data-color="cyan"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="cyan"] .menu-logo > li > a:hover { + background-color: #00bcd5; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="cyan"] .menu-links > li.activeTriggerMobile { + background-color: #00bcd5; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan"] .menu-links > li.activeTrigger { + background-color: #00bcd5; + } +} + +.mega-menu[data-color="cyan"] .menu-links > li.active { + background-color: #00bcd5; +} + +.mega-menu[data-color="cyan"] .menu-links > li:hover { + background-color: #00bcd5; +} + +.mega-menu[data-color="cyan"] .menu-search-bar li:hover i.fas.fa-search { + background: #00bcd5; +} + +.mega-menu[data-color="cyan"] .menu-search-bar input:focus { + background: #00bcd5; +} + +.mega-menu[data-color="cyan"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="cyan"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="cyan"] .drop-down-multilevel li:hover { + background: #00bcd5; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan"] .drop-down-multilevel li.activeTrigger { + background: #00bcd5; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="cyan"] .drop-down-multilevel li.activeTriggerMobile { + background: #00bcd5; + } +} + +.mega-menu[data-color="cyan"] .drop-down input[type="submit"], +.mega-menu[data-color="cyan"] .drop-down input[type="button"], +.mega-menu[data-color="cyan"] .drop-down button[type="submit"], +.mega-menu[data-color="cyan"] .drop-down button[type="reset"], +.mega-menu[data-color="cyan"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="cyan"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="cyan"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="cyan"] .drop-down-tab-bar button[type="reset"] { + background: #00bcd5; +} + +.mega-menu[data-color="cyan"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="cyan"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="cyan"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="cyan"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="cyan"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="cyan"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="cyan"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="cyan"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="cyan"] .drop-down a:hover, +.mega-menu[data-color="cyan"] .drop-down-tab-bar a:hover { + color: #00bcd5; +} + +.mega-menu[data-color="cyan"] .drop-down::-moz-selection, +.mega-menu[data-color="cyan"] .drop-down-tab-bar::-moz-selection { + background: #3ce8ff; +} + +.mega-menu[data-color="cyan"] .drop-down::selection, +.mega-menu[data-color="cyan"] .drop-down-tab-bar::selection { + background: #3ce8ff; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan"].vertical-left .menu-search-bar input, + .mega-menu[data-color="cyan"].vertical-left .menu-search-bar li, + .mega-menu[data-color="cyan"].vertical-left .menu-search-bar form, + .mega-menu[data-color="cyan"].vertical-left .menu-search-bar label, + .mega-menu[data-color="cyan"].vertical-right .menu-search-bar input, + .mega-menu[data-color="cyan"].vertical-right .menu-search-bar li, + .mega-menu[data-color="cyan"].vertical-right .menu-search-bar form, + .mega-menu[data-color="cyan"].vertical-right .menu-search-bar label { + background: #00bcd5; + } +} + +.mega-menu[data-color="cyan-invert"] { +} + +.mega-menu[data-color="cyan-invert"] > section.menu-list-items { + background-color: #00bcd5; +} + +.mega-menu[data-color="cyan-invert"] .menu-logo > li > a:hover { + background-color: #00a5bc; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="cyan-invert"] .menu-links > li.activeTriggerMobile { + background-color: #00a5bc; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan-invert"] .menu-links > li.activeTrigger { + background-color: #00a5bc; + } +} + +.mega-menu[data-color="cyan-invert"] .menu-links > li.active { + background-color: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .menu-links > li:hover { + background-color: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .menu-search-bar input:focus { + background: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .menu-mobile-collapse-trigger { + background: #008fa2; +} + +.mega-menu[data-color="cyan-invert"] .menu-mobile-collapse-trigger:hover { + background: #00626f; +} + +.mega-menu[data-color="cyan-invert"] .drop-down-multilevel li:hover { + background: #00a5bc; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan-invert"] .drop-down-multilevel li.activeTrigger { + background: #00a5bc; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="cyan-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #00a5bc; + } +} + +.mega-menu[data-color="cyan-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="cyan-invert"] .drop-down input[type="button"], +.mega-menu[data-color="cyan-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="cyan-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar button[type="reset"] { + background: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="cyan-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="cyan-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="cyan-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="cyan-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="cyan-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="cyan-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="cyan-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #00bcd5; +} + +.mega-menu[data-color="cyan-invert"] .drop-down a:hover, +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar a:hover { + color: #00a5bc; +} + +.mega-menu[data-color="cyan-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar::-moz-selection { + background: #22e5ff; +} + +.mega-menu[data-color="cyan-invert"] .drop-down::selection, +.mega-menu[data-color="cyan-invert"] .drop-down-tab-bar::selection { + background: #22e5ff; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="cyan-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="cyan-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="cyan-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="cyan-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="cyan-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="cyan-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="cyan-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="cyan-invert"].vertical-right .menu-search-bar label { + background: #00a5bc; + } +} + +.mega-menu[data-color="deep-orange"] { +} + +.mega-menu[data-color="deep-orange"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="deep-orange"] .menu-logo > li > a:hover { + background-color: #fe5722; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-orange"] .menu-links > li.activeTriggerMobile { + background-color: #fe5722; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange"] .menu-links > li.activeTrigger { + background-color: #fe5722; + } +} + +.mega-menu[data-color="deep-orange"] .menu-links > li.active { + background-color: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .menu-links > li:hover { + background-color: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .menu-search-bar li:hover i.fas.fa-search { + background: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .menu-search-bar input:focus { + background: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="deep-orange"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="deep-orange"] .drop-down-multilevel li:hover { + background: #fe5722; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange"] .drop-down-multilevel li.activeTrigger { + background: #fe5722; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-orange"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #fe5722; + } +} + +.mega-menu[data-color="deep-orange"] .drop-down input[type="submit"], +.mega-menu[data-color="deep-orange"] .drop-down input[type="button"], +.mega-menu[data-color="deep-orange"] .drop-down button[type="submit"], +.mega-menu[data-color="deep-orange"] .drop-down button[type="reset"], +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar button[type="reset"] { + background: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="deep-orange"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="deep-orange"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="deep-orange"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="deep-orange"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="deep-orange"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="deep-orange"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="deep-orange"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="deep-orange"] .drop-down a:hover, +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar a:hover { + color: #fe5722; +} + +.mega-menu[data-color="deep-orange"] .drop-down::-moz-selection, +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar::-moz-selection { + background: #fea488; +} + +.mega-menu[data-color="deep-orange"] .drop-down::selection, +.mega-menu[data-color="deep-orange"] .drop-down-tab-bar::selection { + background: #fea488; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange"].vertical-left .menu-search-bar input, + .mega-menu[data-color="deep-orange"].vertical-left .menu-search-bar li, + .mega-menu[data-color="deep-orange"].vertical-left .menu-search-bar form, + .mega-menu[data-color="deep-orange"].vertical-left .menu-search-bar label, + .mega-menu[data-color="deep-orange"].vertical-right .menu-search-bar input, + .mega-menu[data-color="deep-orange"].vertical-right .menu-search-bar li, + .mega-menu[data-color="deep-orange"].vertical-right .menu-search-bar form, + .mega-menu[data-color="deep-orange"].vertical-right .menu-search-bar label { + background: #fe5722; + } +} + +.mega-menu[data-color="deep-orange-invert"] { +} + +.mega-menu[data-color="deep-orange-invert"] > section.menu-list-items { + background-color: #fe6a3b; +} + +.mega-menu[data-color="deep-orange-invert"] .menu-logo > li > a:hover { + background-color: #fe4409; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-orange-invert"] + .menu-links + > li.activeTriggerMobile { + background-color: #fe4409; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange-invert"] .menu-links > li.activeTrigger { + background-color: #fe4409; + } +} + +.mega-menu[data-color="deep-orange-invert"] .menu-links > li.active { + background-color: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] .menu-links > li:hover { + background-color: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] .menu-search-bar input:focus { + background: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] .menu-mobile-collapse-trigger { + background: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] + .menu-mobile-collapse-trigger:hover { + background: #d33301; +} + +.mega-menu[data-color="deep-orange-invert"] .drop-down-multilevel li:hover { + background: #fe4409; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #fe4409; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-orange-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #fe4409; + } +} + +.mega-menu[data-color="deep-orange-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="deep-orange-invert"] .drop-down input[type="button"], +.mega-menu[data-color="deep-orange-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="deep-orange-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + input[type="submit"], +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + input[type="button"], +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + button[type="submit"], +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + button[type="reset"] { + background: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] + .drop-down + input[type="submit"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down + input[type="button"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down + button[type="submit"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down + button[type="reset"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="deep-orange-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #fe6a3b; +} + +.mega-menu[data-color="deep-orange-invert"] .drop-down a:hover, +.mega-menu[data-color="deep-orange-invert"] .drop-down-tab-bar a:hover { + color: #fe4409; +} + +.mega-menu[data-color="deep-orange-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="deep-orange-invert"] .drop-down-tab-bar::-moz-selection { + background: #fe916e; +} + +.mega-menu[data-color="deep-orange-invert"] .drop-down::selection, +.mega-menu[data-color="deep-orange-invert"] .drop-down-tab-bar::selection { + background: #fe916e; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-orange-invert"].vertical-left + .menu-search-bar + input, + .mega-menu[data-color="deep-orange-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="deep-orange-invert"].vertical-left + .menu-search-bar + form, + .mega-menu[data-color="deep-orange-invert"].vertical-left + .menu-search-bar + label, + .mega-menu[data-color="deep-orange-invert"].vertical-right + .menu-search-bar + input, + .mega-menu[data-color="deep-orange-invert"].vertical-right + .menu-search-bar + li, + .mega-menu[data-color="deep-orange-invert"].vertical-right + .menu-search-bar + form, + .mega-menu[data-color="deep-orange-invert"].vertical-right + .menu-search-bar + label { + background: #fe4409; + } +} + +.mega-menu[data-color="deep-purple"] { +} + +.mega-menu[data-color="deep-purple"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="deep-purple"] .menu-logo > li > a:hover { + background-color: #673bb7; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-purple"] .menu-links > li.activeTriggerMobile { + background-color: #673bb7; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple"] .menu-links > li.activeTrigger { + background-color: #673bb7; + } +} + +.mega-menu[data-color="deep-purple"] .menu-links > li.active { + background-color: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .menu-links > li:hover { + background-color: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .menu-search-bar li:hover i.fas.fa-search { + background: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .menu-search-bar input:focus { + background: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="deep-purple"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="deep-purple"] .drop-down-multilevel li:hover { + background: #673bb7; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple"] .drop-down-multilevel li.activeTrigger { + background: #673bb7; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-purple"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #673bb7; + } +} + +.mega-menu[data-color="deep-purple"] .drop-down input[type="submit"], +.mega-menu[data-color="deep-purple"] .drop-down input[type="button"], +.mega-menu[data-color="deep-purple"] .drop-down button[type="submit"], +.mega-menu[data-color="deep-purple"] .drop-down button[type="reset"], +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar button[type="reset"] { + background: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="deep-purple"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="deep-purple"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="deep-purple"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="deep-purple"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="deep-purple"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="deep-purple"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="deep-purple"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="deep-purple"] .drop-down a:hover, +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar a:hover { + color: #673bb7; +} + +.mega-menu[data-color="deep-purple"] .drop-down::-moz-selection, +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar::-moz-selection { + background: #a081d7; +} + +.mega-menu[data-color="deep-purple"] .drop-down::selection, +.mega-menu[data-color="deep-purple"] .drop-down-tab-bar::selection { + background: #a081d7; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple"].vertical-left .menu-search-bar input, + .mega-menu[data-color="deep-purple"].vertical-left .menu-search-bar li, + .mega-menu[data-color="deep-purple"].vertical-left .menu-search-bar form, + .mega-menu[data-color="deep-purple"].vertical-left .menu-search-bar label, + .mega-menu[data-color="deep-purple"].vertical-right .menu-search-bar input, + .mega-menu[data-color="deep-purple"].vertical-right .menu-search-bar li, + .mega-menu[data-color="deep-purple"].vertical-right .menu-search-bar form, + .mega-menu[data-color="deep-purple"].vertical-right .menu-search-bar label { + background: #673bb7; + } +} + +.mega-menu[data-color="deep-purple-invert"] { +} + +.mega-menu[data-color="deep-purple-invert"] > section.menu-list-items { + background-color: #7448c4; +} + +.mega-menu[data-color="deep-purple-invert"] .menu-logo > li > a:hover { + background-color: #5c35a4; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-purple-invert"] + .menu-links + > li.activeTriggerMobile { + background-color: #5c35a4; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple-invert"] .menu-links > li.activeTrigger { + background-color: #5c35a4; + } +} + +.mega-menu[data-color="deep-purple-invert"] .menu-links > li.active { + background-color: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] .menu-links > li:hover { + background-color: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] .menu-search-bar input:focus { + background: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] .menu-mobile-collapse-trigger { + background: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] + .menu-mobile-collapse-trigger:hover { + background: #46287d; +} + +.mega-menu[data-color="deep-purple-invert"] .drop-down-multilevel li:hover { + background: #5c35a4; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #5c35a4; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="deep-purple-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #5c35a4; + } +} + +.mega-menu[data-color="deep-purple-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="deep-purple-invert"] .drop-down input[type="button"], +.mega-menu[data-color="deep-purple-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="deep-purple-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + input[type="submit"], +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + input[type="button"], +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + button[type="submit"], +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + button[type="reset"] { + background: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] + .drop-down + input[type="submit"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down + input[type="button"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down + button[type="submit"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down + button[type="reset"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="deep-purple-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #7448c4; +} + +.mega-menu[data-color="deep-purple-invert"] .drop-down a:hover, +.mega-menu[data-color="deep-purple-invert"] .drop-down-tab-bar a:hover { + color: #5c35a4; +} + +.mega-menu[data-color="deep-purple-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="deep-purple-invert"] .drop-down-tab-bar::-moz-selection { + background: #916ed0; +} + +.mega-menu[data-color="deep-purple-invert"] .drop-down::selection, +.mega-menu[data-color="deep-purple-invert"] .drop-down-tab-bar::selection { + background: #916ed0; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="deep-purple-invert"].vertical-left + .menu-search-bar + input, + .mega-menu[data-color="deep-purple-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="deep-purple-invert"].vertical-left + .menu-search-bar + form, + .mega-menu[data-color="deep-purple-invert"].vertical-left + .menu-search-bar + label, + .mega-menu[data-color="deep-purple-invert"].vertical-right + .menu-search-bar + input, + .mega-menu[data-color="deep-purple-invert"].vertical-right + .menu-search-bar + li, + .mega-menu[data-color="deep-purple-invert"].vertical-right + .menu-search-bar + form, + .mega-menu[data-color="deep-purple-invert"].vertical-right + .menu-search-bar + label { + background: #5c35a4; + } +} + +.mega-menu[data-color="grey"] { +} + +.mega-menu[data-color="grey"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="grey"] .menu-logo > li > a:hover { + background-color: #787878; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="grey"] .menu-links > li.activeTriggerMobile { + background-color: #787878; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey"] .menu-links > li.activeTrigger { + background-color: #787878; + } +} + +.mega-menu[data-color="grey"] .menu-links > li.active { + background-color: #787878; +} + +.mega-menu[data-color="grey"] .menu-links > li:hover { + background-color: #787878; +} + +.mega-menu[data-color="grey"] .menu-search-bar li:hover i.fas.fa-search { + background: #787878; +} + +.mega-menu[data-color="grey"] .menu-search-bar input:focus { + background: #787878; +} + +.mega-menu[data-color="grey"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="grey"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="grey"] .drop-down-multilevel li:hover { + background: #787878; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey"] .drop-down-multilevel li.activeTrigger { + background: #787878; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="grey"] .drop-down-multilevel li.activeTriggerMobile { + background: #787878; + } +} + +.mega-menu[data-color="grey"] .drop-down input[type="submit"], +.mega-menu[data-color="grey"] .drop-down input[type="button"], +.mega-menu[data-color="grey"] .drop-down button[type="submit"], +.mega-menu[data-color="grey"] .drop-down button[type="reset"], +.mega-menu[data-color="grey"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="grey"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="grey"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="grey"] .drop-down-tab-bar button[type="reset"] { + background: #787878; +} + +.mega-menu[data-color="grey"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="grey"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="grey"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="grey"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="grey"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="grey"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="grey"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="grey"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="grey"] .drop-down a:hover, +.mega-menu[data-color="grey"] .drop-down-tab-bar a:hover { + color: #787878; +} + +.mega-menu[data-color="grey"] .drop-down::-moz-selection, +.mega-menu[data-color="grey"] .drop-down-tab-bar::-moz-selection { + background: #ababab; +} + +.mega-menu[data-color="grey"] .drop-down::selection, +.mega-menu[data-color="grey"] .drop-down-tab-bar::selection { + background: #ababab; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey"].vertical-left .menu-search-bar input, + .mega-menu[data-color="grey"].vertical-left .menu-search-bar li, + .mega-menu[data-color="grey"].vertical-left .menu-search-bar form, + .mega-menu[data-color="grey"].vertical-left .menu-search-bar label, + .mega-menu[data-color="grey"].vertical-right .menu-search-bar input, + .mega-menu[data-color="grey"].vertical-right .menu-search-bar li, + .mega-menu[data-color="grey"].vertical-right .menu-search-bar form, + .mega-menu[data-color="grey"].vertical-right .menu-search-bar label { + background: #787878; + } +} + +.mega-menu[data-color="grey-invert"] { +} + +.mega-menu[data-color="grey-invert"] > section.menu-list-items { + background-color: #787878; +} + +.mega-menu[data-color="grey-invert"] .menu-logo > li > a:hover { + background-color: #6b6b6b; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="grey-invert"] .menu-links > li.activeTriggerMobile { + background-color: #6b6b6b; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey-invert"] .menu-links > li.activeTrigger { + background-color: #6b6b6b; + } +} + +.mega-menu[data-color="grey-invert"] .menu-links > li.active { + background-color: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .menu-links > li:hover { + background-color: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .menu-search-bar input:focus { + background: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .menu-mobile-collapse-trigger { + background: #5e5e5e; +} + +.mega-menu[data-color="grey-invert"] .menu-mobile-collapse-trigger:hover { + background: #454545; +} + +.mega-menu[data-color="grey-invert"] .drop-down-multilevel li:hover { + background: #6b6b6b; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey-invert"] .drop-down-multilevel li.activeTrigger { + background: #6b6b6b; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="grey-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #6b6b6b; + } +} + +.mega-menu[data-color="grey-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="grey-invert"] .drop-down input[type="button"], +.mega-menu[data-color="grey-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="grey-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar button[type="reset"] { + background: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="grey-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="grey-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="grey-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="grey-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="grey-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="grey-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="grey-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #787878; +} + +.mega-menu[data-color="grey-invert"] .drop-down a:hover, +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar a:hover { + color: #6b6b6b; +} + +.mega-menu[data-color="grey-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar::-moz-selection { + background: #9e9e9e; +} + +.mega-menu[data-color="grey-invert"] .drop-down::selection, +.mega-menu[data-color="grey-invert"] .drop-down-tab-bar::selection { + background: #9e9e9e; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="grey-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="grey-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="grey-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="grey-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="grey-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="grey-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="grey-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="grey-invert"].vertical-right .menu-search-bar label { + background: #6b6b6b; + } +} + +.mega-menu[data-color="indigo"] { +} + +.mega-menu[data-color="indigo"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="indigo"] .menu-logo > li > a:hover { + background-color: #3f51b5; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="indigo"] .menu-links > li.activeTriggerMobile { + background-color: #3f51b5; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo"] .menu-links > li.activeTrigger { + background-color: #3f51b5; + } +} + +.mega-menu[data-color="indigo"] .menu-links > li.active { + background-color: #3f51b5; +} + +.mega-menu[data-color="indigo"] .menu-links > li:hover { + background-color: #3f51b5; +} + +.mega-menu[data-color="indigo"] .menu-search-bar li:hover i.fas.fa-search { + background: #3f51b5; +} + +.mega-menu[data-color="indigo"] .menu-search-bar input:focus { + background: #3f51b5; +} + +.mega-menu[data-color="indigo"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="indigo"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="indigo"] .drop-down-multilevel li:hover { + background: #3f51b5; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo"] .drop-down-multilevel li.activeTrigger { + background: #3f51b5; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="indigo"] .drop-down-multilevel li.activeTriggerMobile { + background: #3f51b5; + } +} + +.mega-menu[data-color="indigo"] .drop-down input[type="submit"], +.mega-menu[data-color="indigo"] .drop-down input[type="button"], +.mega-menu[data-color="indigo"] .drop-down button[type="submit"], +.mega-menu[data-color="indigo"] .drop-down button[type="reset"], +.mega-menu[data-color="indigo"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="indigo"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="indigo"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="indigo"] .drop-down-tab-bar button[type="reset"] { + background: #3f51b5; +} + +.mega-menu[data-color="indigo"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="indigo"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="indigo"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="indigo"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="indigo"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="indigo"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="indigo"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="indigo"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="indigo"] .drop-down a:hover, +.mega-menu[data-color="indigo"] .drop-down-tab-bar a:hover { + color: #3f51b5; +} + +.mega-menu[data-color="indigo"] .drop-down::-moz-selection, +.mega-menu[data-color="indigo"] .drop-down-tab-bar::-moz-selection { + background: #8591d5; +} + +.mega-menu[data-color="indigo"] .drop-down::selection, +.mega-menu[data-color="indigo"] .drop-down-tab-bar::selection { + background: #8591d5; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo"].vertical-left .menu-search-bar input, + .mega-menu[data-color="indigo"].vertical-left .menu-search-bar li, + .mega-menu[data-color="indigo"].vertical-left .menu-search-bar form, + .mega-menu[data-color="indigo"].vertical-left .menu-search-bar label, + .mega-menu[data-color="indigo"].vertical-right .menu-search-bar input, + .mega-menu[data-color="indigo"].vertical-right .menu-search-bar li, + .mega-menu[data-color="indigo"].vertical-right .menu-search-bar form, + .mega-menu[data-color="indigo"].vertical-right .menu-search-bar label { + background: #3f51b5; + } +} + +.mega-menu[data-color="indigo-invert"] { +} + +.mega-menu[data-color="indigo-invert"] > section.menu-list-items { + background-color: #4d5ec1; +} + +.mega-menu[data-color="indigo-invert"] .menu-logo > li > a:hover { + background-color: #3849a2; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="indigo-invert"] .menu-links > li.activeTriggerMobile { + background-color: #3849a2; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo-invert"] .menu-links > li.activeTrigger { + background-color: #3849a2; + } +} + +.mega-menu[data-color="indigo-invert"] .menu-links > li.active { + background-color: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .menu-links > li:hover { + background-color: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .menu-search-bar input:focus { + background: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .menu-mobile-collapse-trigger { + background: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .menu-mobile-collapse-trigger:hover { + background: #2b387c; +} + +.mega-menu[data-color="indigo-invert"] .drop-down-multilevel li:hover { + background: #3849a2; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #3849a2; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="indigo-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #3849a2; + } +} + +.mega-menu[data-color="indigo-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="indigo-invert"] .drop-down input[type="button"], +.mega-menu[data-color="indigo-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="indigo-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar button[type="reset"] { + background: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="indigo-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="indigo-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="indigo-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="indigo-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="indigo-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="indigo-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="indigo-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #4d5ec1; +} + +.mega-menu[data-color="indigo-invert"] .drop-down a:hover, +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar a:hover { + color: #3849a2; +} + +.mega-menu[data-color="indigo-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar::-moz-selection { + background: #7280ce; +} + +.mega-menu[data-color="indigo-invert"] .drop-down::selection, +.mega-menu[data-color="indigo-invert"] .drop-down-tab-bar::selection { + background: #7280ce; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="indigo-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="indigo-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="indigo-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="indigo-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="indigo-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="indigo-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="indigo-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="indigo-invert"].vertical-right .menu-search-bar label { + background: #3849a2; + } +} + +.mega-menu[data-color="light-blue"] { +} + +.mega-menu[data-color="light-blue"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="light-blue"] .menu-logo > li > a:hover { + background-color: #0af; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-blue"] .menu-links > li.activeTriggerMobile { + background-color: #0af; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue"] .menu-links > li.activeTrigger { + background-color: #0af; + } +} + +.mega-menu[data-color="light-blue"] .menu-links > li.active { + background-color: #0af; +} + +.mega-menu[data-color="light-blue"] .menu-links > li:hover { + background-color: #0af; +} + +.mega-menu[data-color="light-blue"] .menu-search-bar li:hover i.fas.fa-search { + background: #0af; +} + +.mega-menu[data-color="light-blue"] .menu-search-bar input:focus { + background: #0af; +} + +.mega-menu[data-color="light-blue"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="light-blue"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="light-blue"] .drop-down-multilevel li:hover { + background: #0af; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue"] .drop-down-multilevel li.activeTrigger { + background: #0af; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-blue"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #0af; + } +} + +.mega-menu[data-color="light-blue"] .drop-down input[type="submit"], +.mega-menu[data-color="light-blue"] .drop-down input[type="button"], +.mega-menu[data-color="light-blue"] .drop-down button[type="submit"], +.mega-menu[data-color="light-blue"] .drop-down button[type="reset"], +.mega-menu[data-color="light-blue"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="light-blue"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="light-blue"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="light-blue"] .drop-down-tab-bar button[type="reset"] { + background: #0af; +} + +.mega-menu[data-color="light-blue"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="light-blue"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="light-blue"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="light-blue"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="light-blue"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="light-blue"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="light-blue"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="light-blue"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="light-blue"] .drop-down a:hover, +.mega-menu[data-color="light-blue"] .drop-down-tab-bar a:hover { + color: #0af; +} + +.mega-menu[data-color="light-blue"] .drop-down::-moz-selection, +.mega-menu[data-color="light-blue"] .drop-down-tab-bar::-moz-selection { + background: #66ccff; +} + +.mega-menu[data-color="light-blue"] .drop-down::selection, +.mega-menu[data-color="light-blue"] .drop-down-tab-bar::selection { + background: #66ccff; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue"].vertical-left .menu-search-bar input, + .mega-menu[data-color="light-blue"].vertical-left .menu-search-bar li, + .mega-menu[data-color="light-blue"].vertical-left .menu-search-bar form, + .mega-menu[data-color="light-blue"].vertical-left .menu-search-bar label, + .mega-menu[data-color="light-blue"].vertical-right .menu-search-bar input, + .mega-menu[data-color="light-blue"].vertical-right .menu-search-bar li, + .mega-menu[data-color="light-blue"].vertical-right .menu-search-bar form, + .mega-menu[data-color="light-blue"].vertical-right .menu-search-bar label { + background: #0af; + } +} + +.mega-menu[data-color="light-blue-invert"] { +} + +.mega-menu[data-color="light-blue-invert"] > section.menu-list-items { + background-color: #00aaff; +} + +.mega-menu[data-color="light-blue-invert"] .menu-logo > li > a:hover { + background-color: #008fd6; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-blue-invert"] + .menu-links + > li.activeTriggerMobile { + background-color: #008fd6; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue-invert"] .menu-links > li.activeTrigger { + background-color: #008fd6; + } +} + +.mega-menu[data-color="light-blue-invert"] .menu-links > li.active { + background-color: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] .menu-links > li:hover { + background-color: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] .menu-search-bar input:focus { + background: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] .menu-mobile-collapse-trigger { + background: #0088cc; +} + +.mega-menu[data-color="light-blue-invert"] .menu-mobile-collapse-trigger:hover { + background: #006699; +} + +.mega-menu[data-color="light-blue-invert"] .drop-down-multilevel li:hover { + background: #008fd6; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #008fd6; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-blue-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #008fd6; + } +} + +.mega-menu[data-color="light-blue-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="light-blue-invert"] .drop-down input[type="button"], +.mega-menu[data-color="light-blue-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="light-blue-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + input[type="submit"], +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + input[type="button"], +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + button[type="submit"], +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + button[type="reset"] { + background: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] + .drop-down + input[type="submit"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down + input[type="button"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down + button[type="submit"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down + button[type="reset"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="light-blue-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #00aaff; +} + +.mega-menu[data-color="light-blue-invert"] .drop-down a:hover, +.mega-menu[data-color="light-blue-invert"] .drop-down-tab-bar a:hover { + color: #008fd6; +} + +.mega-menu[data-color="light-blue-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="light-blue-invert"] .drop-down-tab-bar::-moz-selection { + background: #3dbeff; +} + +.mega-menu[data-color="light-blue-invert"] .drop-down::selection, +.mega-menu[data-color="light-blue-invert"] .drop-down-tab-bar::selection { + background: #3dbeff; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-blue-invert"].vertical-left + .menu-search-bar + input, + .mega-menu[data-color="light-blue-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="light-blue-invert"].vertical-left + .menu-search-bar + form, + .mega-menu[data-color="light-blue-invert"].vertical-left + .menu-search-bar + label, + .mega-menu[data-color="light-blue-invert"].vertical-right + .menu-search-bar + input, + .mega-menu[data-color="light-blue-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="light-blue-invert"].vertical-right + .menu-search-bar + form, + .mega-menu[data-color="light-blue-invert"].vertical-right + .menu-search-bar + label { + background: #008fd6; + } +} + +.mega-menu[data-color="light-green"] { +} + +.mega-menu[data-color="light-green"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="light-green"] .menu-logo > li > a:hover { + background-color: #8bc24a; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-green"] .menu-links > li.activeTriggerMobile { + background-color: #8bc24a; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green"] .menu-links > li.activeTrigger { + background-color: #8bc24a; + } +} + +.mega-menu[data-color="light-green"] .menu-links > li.active { + background-color: #8bc24a; +} + +.mega-menu[data-color="light-green"] .menu-links > li:hover { + background-color: #8bc24a; +} + +.mega-menu[data-color="light-green"] .menu-search-bar li:hover i.fas.fa-search { + background: #8bc24a; +} + +.mega-menu[data-color="light-green"] .menu-search-bar input:focus { + background: #8bc24a; +} + +.mega-menu[data-color="light-green"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="light-green"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="light-green"] .drop-down-multilevel li:hover { + background: #8bc24a; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green"] .drop-down-multilevel li.activeTrigger { + background: #8bc24a; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-green"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #8bc24a; + } +} + +.mega-menu[data-color="light-green"] .drop-down input[type="submit"], +.mega-menu[data-color="light-green"] .drop-down input[type="button"], +.mega-menu[data-color="light-green"] .drop-down button[type="submit"], +.mega-menu[data-color="light-green"] .drop-down button[type="reset"], +.mega-menu[data-color="light-green"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="light-green"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="light-green"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="light-green"] .drop-down-tab-bar button[type="reset"] { + background: #8bc24a; +} + +.mega-menu[data-color="light-green"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="light-green"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="light-green"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="light-green"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="light-green"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="light-green"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="light-green"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="light-green"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="light-green"] .drop-down a:hover, +.mega-menu[data-color="light-green"] .drop-down-tab-bar a:hover { + color: #8bc24a; +} + +.mega-menu[data-color="light-green"] .drop-down::-moz-selection, +.mega-menu[data-color="light-green"] .drop-down-tab-bar::-moz-selection { + background: #bcdc96; +} + +.mega-menu[data-color="light-green"] .drop-down::selection, +.mega-menu[data-color="light-green"] .drop-down-tab-bar::selection { + background: #bcdc96; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green"].vertical-left .menu-search-bar input, + .mega-menu[data-color="light-green"].vertical-left .menu-search-bar li, + .mega-menu[data-color="light-green"].vertical-left .menu-search-bar form, + .mega-menu[data-color="light-green"].vertical-left .menu-search-bar label, + .mega-menu[data-color="light-green"].vertical-right .menu-search-bar input, + .mega-menu[data-color="light-green"].vertical-right .menu-search-bar li, + .mega-menu[data-color="light-green"].vertical-right .menu-search-bar form, + .mega-menu[data-color="light-green"].vertical-right .menu-search-bar label { + background: #8bc24a; + } +} + +.mega-menu[data-color="light-green-invert"] { +} + +.mega-menu[data-color="light-green-invert"] > section.menu-list-items { + background-color: #8bc24a; +} + +.mega-menu[data-color="light-green-invert"] .menu-logo > li > a:hover { + background-color: #7eb53d; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-green-invert"] + .menu-links + > li.activeTriggerMobile { + background-color: #7eb53d; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green-invert"] .menu-links > li.activeTrigger { + background-color: #7eb53d; + } +} + +.mega-menu[data-color="light-green-invert"] .menu-links > li.active { + background-color: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] .menu-links > li:hover { + background-color: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] .menu-search-bar input:focus { + background: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] .menu-mobile-collapse-trigger { + background: #71a237; +} + +.mega-menu[data-color="light-green-invert"] + .menu-mobile-collapse-trigger:hover { + background: #567c2a; +} + +.mega-menu[data-color="light-green-invert"] .drop-down-multilevel li:hover { + background: #7eb53d; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #7eb53d; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="light-green-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #7eb53d; + } +} + +.mega-menu[data-color="light-green-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="light-green-invert"] .drop-down input[type="button"], +.mega-menu[data-color="light-green-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="light-green-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + input[type="submit"], +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + input[type="button"], +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + button[type="submit"], +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + button[type="reset"] { + background: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] + .drop-down + input[type="submit"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down + input[type="button"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down + button[type="submit"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down + button[type="reset"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="light-green-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #8bc24a; +} + +.mega-menu[data-color="light-green-invert"] .drop-down a:hover, +.mega-menu[data-color="light-green-invert"] .drop-down-tab-bar a:hover { + color: #7eb53d; +} + +.mega-menu[data-color="light-green-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="light-green-invert"] .drop-down-tab-bar::-moz-selection { + background: #b0d583; +} + +.mega-menu[data-color="light-green-invert"] .drop-down::selection, +.mega-menu[data-color="light-green-invert"] .drop-down-tab-bar::selection { + background: #b0d583; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="light-green-invert"].vertical-left + .menu-search-bar + input, + .mega-menu[data-color="light-green-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="light-green-invert"].vertical-left + .menu-search-bar + form, + .mega-menu[data-color="light-green-invert"].vertical-left + .menu-search-bar + label, + .mega-menu[data-color="light-green-invert"].vertical-right + .menu-search-bar + input, + .mega-menu[data-color="light-green-invert"].vertical-right + .menu-search-bar + li, + .mega-menu[data-color="light-green-invert"].vertical-right + .menu-search-bar + form, + .mega-menu[data-color="light-green-invert"].vertical-right + .menu-search-bar + label { + background: #7eb53d; + } +} + +.mega-menu[data-color="lime"] { +} + +.mega-menu[data-color="lime"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="lime"] .menu-logo > li > a:hover { + background-color: #b2c022; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="lime"] .menu-links > li.activeTriggerMobile { + background-color: #b2c022; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime"] .menu-links > li.activeTrigger { + background-color: #b2c022; + } +} + +.mega-menu[data-color="lime"] .menu-links > li.active { + background-color: #b2c022; +} + +.mega-menu[data-color="lime"] .menu-links > li:hover { + background-color: #b2c022; +} + +.mega-menu[data-color="lime"] .menu-search-bar li:hover i.fas.fa-search { + background: #b2c022; +} + +.mega-menu[data-color="lime"] .menu-search-bar input:focus { + background: #b2c022; +} + +.mega-menu[data-color="lime"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="lime"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="lime"] .drop-down-multilevel li:hover { + background: #b2c022; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime"] .drop-down-multilevel li.activeTrigger { + background: #b2c022; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="lime"] .drop-down-multilevel li.activeTriggerMobile { + background: #b2c022; + } +} + +.mega-menu[data-color="lime"] .drop-down input[type="submit"], +.mega-menu[data-color="lime"] .drop-down input[type="button"], +.mega-menu[data-color="lime"] .drop-down button[type="submit"], +.mega-menu[data-color="lime"] .drop-down button[type="reset"], +.mega-menu[data-color="lime"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="lime"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="lime"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="lime"] .drop-down-tab-bar button[type="reset"] { + background: #b2c022; +} + +.mega-menu[data-color="lime"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="lime"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="lime"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="lime"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="lime"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="lime"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="lime"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="lime"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="lime"] .drop-down a:hover, +.mega-menu[data-color="lime"] .drop-down-tab-bar a:hover { + color: #b2c022; +} + +.mega-menu[data-color="lime"] .drop-down::-moz-selection, +.mega-menu[data-color="lime"] .drop-down-tab-bar::-moz-selection { + background: #d8e464; +} + +.mega-menu[data-color="lime"] .drop-down::selection, +.mega-menu[data-color="lime"] .drop-down-tab-bar::selection { + background: #d8e464; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime"].vertical-left .menu-search-bar input, + .mega-menu[data-color="lime"].vertical-left .menu-search-bar li, + .mega-menu[data-color="lime"].vertical-left .menu-search-bar form, + .mega-menu[data-color="lime"].vertical-left .menu-search-bar label, + .mega-menu[data-color="lime"].vertical-right .menu-search-bar input, + .mega-menu[data-color="lime"].vertical-right .menu-search-bar li, + .mega-menu[data-color="lime"].vertical-right .menu-search-bar form, + .mega-menu[data-color="lime"].vertical-right .menu-search-bar label { + background: #b2c022; + } +} + +.mega-menu[data-color="lime-invert"] { +} + +.mega-menu[data-color="lime-invert"] > section.menu-list-items { + background-color: #b2c022; +} + +.mega-menu[data-color="lime-invert"] .menu-logo > li > a:hover { + background-color: #9daa1e; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="lime-invert"] .menu-links > li.activeTriggerMobile { + background-color: #9daa1e; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime-invert"] .menu-links > li.activeTrigger { + background-color: #9daa1e; + } +} + +.mega-menu[data-color="lime-invert"] .menu-links > li.active { + background-color: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .menu-links > li:hover { + background-color: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .menu-search-bar input:focus { + background: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .menu-mobile-collapse-trigger { + background: #89951a; +} + +.mega-menu[data-color="lime-invert"] .menu-mobile-collapse-trigger:hover { + background: #616913; +} + +.mega-menu[data-color="lime-invert"] .drop-down-multilevel li:hover { + background: #9daa1e; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime-invert"] .drop-down-multilevel li.activeTrigger { + background: #9daa1e; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="lime-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #9daa1e; + } +} + +.mega-menu[data-color="lime-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="lime-invert"] .drop-down input[type="button"], +.mega-menu[data-color="lime-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="lime-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar button[type="reset"] { + background: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="lime-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="lime-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="lime-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="lime-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="lime-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="lime-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="lime-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #b2c022; +} + +.mega-menu[data-color="lime-invert"] .drop-down a:hover, +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar a:hover { + color: #9daa1e; +} + +.mega-menu[data-color="lime-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar::-moz-selection { + background: #d2e04f; +} + +.mega-menu[data-color="lime-invert"] .drop-down::selection, +.mega-menu[data-color="lime-invert"] .drop-down-tab-bar::selection { + background: #d2e04f; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="lime-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="lime-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="lime-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="lime-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="lime-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="lime-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="lime-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="lime-invert"].vertical-right .menu-search-bar label { + background: #9daa1e; + } +} + +.mega-menu[data-color="orange"] { +} + +.mega-menu[data-color="orange"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="orange"] .menu-logo > li > a:hover { + background-color: #ff9700; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="orange"] .menu-links > li.activeTriggerMobile { + background-color: #ff9700; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange"] .menu-links > li.activeTrigger { + background-color: #ff9700; + } +} + +.mega-menu[data-color="orange"] .menu-links > li.active { + background-color: #ff9700; +} + +.mega-menu[data-color="orange"] .menu-links > li:hover { + background-color: #ff9700; +} + +.mega-menu[data-color="orange"] .menu-search-bar li:hover i.fas.fa-search { + background: #ff9700; +} + +.mega-menu[data-color="orange"] .menu-search-bar input:focus { + background: #ff9700; +} + +.mega-menu[data-color="orange"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="orange"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="orange"] .drop-down-multilevel li:hover { + background: #ff9700; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange"] .drop-down-multilevel li.activeTrigger { + background: #ff9700; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="orange"] .drop-down-multilevel li.activeTriggerMobile { + background: #ff9700; + } +} + +.mega-menu[data-color="orange"] .drop-down input[type="submit"], +.mega-menu[data-color="orange"] .drop-down input[type="button"], +.mega-menu[data-color="orange"] .drop-down button[type="submit"], +.mega-menu[data-color="orange"] .drop-down button[type="reset"], +.mega-menu[data-color="orange"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="orange"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="orange"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="orange"] .drop-down-tab-bar button[type="reset"] { + background: #ff9700; +} + +.mega-menu[data-color="orange"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="orange"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="orange"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="orange"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="orange"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="orange"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="orange"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="orange"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="orange"] .drop-down a:hover, +.mega-menu[data-color="orange"] .drop-down-tab-bar a:hover { + color: #ff9700; +} + +.mega-menu[data-color="orange"] .drop-down::-moz-selection, +.mega-menu[data-color="orange"] .drop-down-tab-bar::-moz-selection { + background: #ffc166; +} + +.mega-menu[data-color="orange"] .drop-down::selection, +.mega-menu[data-color="orange"] .drop-down-tab-bar::selection { + background: #ffc166; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange"].vertical-left .menu-search-bar input, + .mega-menu[data-color="orange"].vertical-left .menu-search-bar li, + .mega-menu[data-color="orange"].vertical-left .menu-search-bar form, + .mega-menu[data-color="orange"].vertical-left .menu-search-bar label, + .mega-menu[data-color="orange"].vertical-right .menu-search-bar input, + .mega-menu[data-color="orange"].vertical-right .menu-search-bar li, + .mega-menu[data-color="orange"].vertical-right .menu-search-bar form, + .mega-menu[data-color="orange"].vertical-right .menu-search-bar label { + background: #ff9700; + } +} + +.mega-menu[data-color="orange-invert"] { +} + +.mega-menu[data-color="orange-invert"] > section.menu-list-items { + background-color: #ff9700; +} + +.mega-menu[data-color="orange-invert"] .menu-logo > li > a:hover { + background-color: #eb8b00; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="orange-invert"] .menu-links > li.activeTriggerMobile { + background-color: #eb8b00; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange-invert"] .menu-links > li.activeTrigger { + background-color: #eb8b00; + } +} + +.mega-menu[data-color="orange-invert"] .menu-links > li.active { + background-color: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] .menu-links > li:hover { + background-color: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] .menu-search-bar input:focus { + background: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] .menu-mobile-collapse-trigger { + background: #cc7900; +} + +.mega-menu[data-color="orange-invert"] .menu-mobile-collapse-trigger:hover { + background: #995b00; +} + +.mega-menu[data-color="orange-invert"] .drop-down-multilevel li:hover { + background: #eb8b00; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #eb8b00; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="orange-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #eb8b00; + } +} + +.mega-menu[data-color="orange-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="orange-invert"] .drop-down input[type="button"], +.mega-menu[data-color="orange-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="orange-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar button[type="reset"] { + background: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="orange-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="orange-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="orange-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="orange-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="orange-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="orange-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="orange-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #ff9700; +} + +.mega-menu[data-color="orange-invert"] .drop-down a:hover, +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar a:hover { + color: #eb8b00; +} + +.mega-menu[data-color="orange-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar::-moz-selection { + background: #ffb852; +} + +.mega-menu[data-color="orange-invert"] .drop-down::selection, +.mega-menu[data-color="orange-invert"] .drop-down-tab-bar::selection { + background: #ffb852; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="orange-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="orange-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="orange-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="orange-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="orange-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="orange-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="orange-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="orange-invert"].vertical-right .menu-search-bar label { + background: #eb8b00; + } +} + +.mega-menu[data-color="pink"] { +} + +.mega-menu[data-color="pink"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="pink"] .menu-logo > li > a:hover { + background-color: #ea1e63; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="pink"] .menu-links > li.activeTriggerMobile { + background-color: #ea1e63; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink"] .menu-links > li.activeTrigger { + background-color: #ea1e63; + } +} + +.mega-menu[data-color="pink"] .menu-links > li.active { + background-color: #ea1e63; +} + +.mega-menu[data-color="pink"] .menu-links > li:hover { + background-color: #ea1e63; +} + +.mega-menu[data-color="pink"] .menu-search-bar li:hover i.fas.fa-search { + background: #ea1e63; +} + +.mega-menu[data-color="pink"] .menu-search-bar input:focus { + background: #ea1e63; +} + +.mega-menu[data-color="pink"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="pink"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="pink"] .drop-down-multilevel li:hover { + background: #ea1e63; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink"] .drop-down-multilevel li.activeTrigger { + background: #ea1e63; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="pink"] .drop-down-multilevel li.activeTriggerMobile { + background: #ea1e63; + } +} + +.mega-menu[data-color="pink"] .drop-down input[type="submit"], +.mega-menu[data-color="pink"] .drop-down input[type="button"], +.mega-menu[data-color="pink"] .drop-down button[type="submit"], +.mega-menu[data-color="pink"] .drop-down button[type="reset"], +.mega-menu[data-color="pink"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="pink"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="pink"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="pink"] .drop-down-tab-bar button[type="reset"] { + background: #ea1e63; +} + +.mega-menu[data-color="pink"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="pink"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="pink"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="pink"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="pink"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="pink"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="pink"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="pink"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="pink"] .drop-down a:hover, +.mega-menu[data-color="pink"] .drop-down-tab-bar a:hover { + color: #ea1e63; +} + +.mega-menu[data-color="pink"] .drop-down::-moz-selection, +.mega-menu[data-color="pink"] .drop-down-tab-bar::-moz-selection { + background: #f37ba4; +} + +.mega-menu[data-color="pink"] .drop-down::selection, +.mega-menu[data-color="pink"] .drop-down-tab-bar::selection { + background: #f37ba4; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink"].vertical-left .menu-search-bar input, + .mega-menu[data-color="pink"].vertical-left .menu-search-bar li, + .mega-menu[data-color="pink"].vertical-left .menu-search-bar form, + .mega-menu[data-color="pink"].vertical-left .menu-search-bar label, + .mega-menu[data-color="pink"].vertical-right .menu-search-bar input, + .mega-menu[data-color="pink"].vertical-right .menu-search-bar li, + .mega-menu[data-color="pink"].vertical-right .menu-search-bar form, + .mega-menu[data-color="pink"].vertical-right .menu-search-bar label { + background: #ea1e63; + } +} + +.mega-menu[data-color="pink-invert"] { +} + +.mega-menu[data-color="pink-invert"] > section.menu-list-items { + background-color: #ec3573; +} + +.mega-menu[data-color="pink-invert"] .menu-logo > li > a:hover { + background-color: #da1457; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="pink-invert"] .menu-links > li.activeTriggerMobile { + background-color: #da1457; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink-invert"] .menu-links > li.activeTrigger { + background-color: #da1457; + } +} + +.mega-menu[data-color="pink-invert"] .menu-links > li.active { + background-color: #da1457; +} + +.mega-menu[data-color="pink-invert"] .menu-links > li:hover { + background-color: #da1457; +} + +.mega-menu[data-color="pink-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #da1457; +} + +.mega-menu[data-color="pink-invert"] .menu-search-bar input:focus { + background: #da1457; +} + +.mega-menu[data-color="pink-invert"] .menu-mobile-collapse-trigger { + background: #da1457; +} + +.mega-menu[data-color="pink-invert"] .menu-mobile-collapse-trigger:hover { + background: #ab1045; +} + +.mega-menu[data-color="pink-invert"] .drop-down-multilevel li:hover { + background: #da1457; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink-invert"] .drop-down-multilevel li.activeTrigger { + background: #da1457; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="pink-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #da1457; + } +} + +.mega-menu[data-color="pink-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="pink-invert"] .drop-down input[type="button"], +.mega-menu[data-color="pink-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="pink-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar button[type="reset"] { + background: #da1457; +} + +.mega-menu[data-color="pink-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="pink-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="pink-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="pink-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="pink-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="pink-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="pink-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="pink-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #ec3573; +} + +.mega-menu[data-color="pink-invert"] .drop-down a:hover, +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar a:hover { + color: #da1457; +} + +.mega-menu[data-color="pink-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar::-moz-selection { + background: #f16494; +} + +.mega-menu[data-color="pink-invert"] .drop-down::selection, +.mega-menu[data-color="pink-invert"] .drop-down-tab-bar::selection { + background: #f16494; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="pink-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="pink-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="pink-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="pink-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="pink-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="pink-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="pink-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="pink-invert"].vertical-right .menu-search-bar label { + background: #da1457; + } +} + +.mega-menu[data-color="purple"] { +} + +.mega-menu[data-color="purple"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="purple"] .menu-logo > li > a:hover { + background-color: #9c28b1; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="purple"] .menu-links > li.activeTriggerMobile { + background-color: #9c28b1; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple"] .menu-links > li.activeTrigger { + background-color: #9c28b1; + } +} + +.mega-menu[data-color="purple"] .menu-links > li.active { + background-color: #9c28b1; +} + +.mega-menu[data-color="purple"] .menu-links > li:hover { + background-color: #9c28b1; +} + +.mega-menu[data-color="purple"] .menu-search-bar li:hover i.fas.fa-search { + background: #9c28b1; +} + +.mega-menu[data-color="purple"] .menu-search-bar input:focus { + background: #9c28b1; +} + +.mega-menu[data-color="purple"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="purple"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="purple"] .drop-down-multilevel li:hover { + background: #9c28b1; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple"] .drop-down-multilevel li.activeTrigger { + background: #9c28b1; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="purple"] .drop-down-multilevel li.activeTriggerMobile { + background: #9c28b1; + } +} + +.mega-menu[data-color="purple"] .drop-down input[type="submit"], +.mega-menu[data-color="purple"] .drop-down input[type="button"], +.mega-menu[data-color="purple"] .drop-down button[type="submit"], +.mega-menu[data-color="purple"] .drop-down button[type="reset"], +.mega-menu[data-color="purple"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="purple"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="purple"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="purple"] .drop-down-tab-bar button[type="reset"] { + background: #9c28b1; +} + +.mega-menu[data-color="purple"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="purple"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="purple"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="purple"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="purple"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="purple"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="purple"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="purple"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="purple"] .drop-down a:hover, +.mega-menu[data-color="purple"] .drop-down-tab-bar a:hover { + color: #9c28b1; +} + +.mega-menu[data-color="purple"] .drop-down::-moz-selection, +.mega-menu[data-color="purple"] .drop-down-tab-bar::-moz-selection { + background: #c963dc; +} + +.mega-menu[data-color="purple"] .drop-down::selection, +.mega-menu[data-color="purple"] .drop-down-tab-bar::selection { + background: #c963dc; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple"].vertical-left .menu-search-bar input, + .mega-menu[data-color="purple"].vertical-left .menu-search-bar li, + .mega-menu[data-color="purple"].vertical-left .menu-search-bar form, + .mega-menu[data-color="purple"].vertical-left .menu-search-bar label, + .mega-menu[data-color="purple"].vertical-right .menu-search-bar input, + .mega-menu[data-color="purple"].vertical-right .menu-search-bar li, + .mega-menu[data-color="purple"].vertical-right .menu-search-bar form, + .mega-menu[data-color="purple"].vertical-right .menu-search-bar label { + background: #9c28b1; + } +} + +.mega-menu[data-color="purple-invert"] { +} + +.mega-menu[data-color="purple-invert"] > section.menu-list-items { + background-color: #ae2dc6; +} + +.mega-menu[data-color="purple-invert"] .menu-logo > li > a:hover { + background-color: #9125a5; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="purple-invert"] .menu-links > li.activeTriggerMobile { + background-color: #9125a5; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple-invert"] .menu-links > li.activeTrigger { + background-color: #9125a5; + } +} + +.mega-menu[data-color="purple-invert"] .menu-links > li.active { + background-color: #9125a5; +} + +.mega-menu[data-color="purple-invert"] .menu-links > li:hover { + background-color: #9125a5; +} + +.mega-menu[data-color="purple-invert"] + .menu-search-bar + li:hover + i.fas.fa-search { + background: #9125a5; +} + +.mega-menu[data-color="purple-invert"] .menu-search-bar input:focus { + background: #9125a5; +} + +.mega-menu[data-color="purple-invert"] .menu-mobile-collapse-trigger { + background: #8a239c; +} + +.mega-menu[data-color="purple-invert"] .menu-mobile-collapse-trigger:hover { + background: #651a73; +} + +.mega-menu[data-color="purple-invert"] .drop-down-multilevel li:hover { + background: #9125a5; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple-invert"] + .drop-down-multilevel + li.activeTrigger { + background: #9125a5; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="purple-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #9125a5; + } +} + +.mega-menu[data-color="purple-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="purple-invert"] .drop-down input[type="button"], +.mega-menu[data-color="purple-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="purple-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar button[type="reset"] { + background: #9125a5; +} + +.mega-menu[data-color="purple-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="purple-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="purple-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="purple-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="purple-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="purple-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="purple-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="purple-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #ae2dc6; +} + +.mega-menu[data-color="purple-invert"] .drop-down a:hover, +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar a:hover { + color: #9125a5; +} + +.mega-menu[data-color="purple-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar::-moz-selection { + background: #c557d9; +} + +.mega-menu[data-color="purple-invert"] .drop-down::selection, +.mega-menu[data-color="purple-invert"] .drop-down-tab-bar::selection { + background: #c557d9; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="purple-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="purple-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="purple-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="purple-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="purple-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="purple-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="purple-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="purple-invert"].vertical-right .menu-search-bar label { + background: #9125a5; + } +} + +.mega-menu[data-color="red"] { +} + +.mega-menu[data-color="red"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="red"] .menu-logo > li > a:hover { + background-color: #f44236; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="red"] .menu-links > li.activeTriggerMobile { + background-color: #f44236; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red"] .menu-links > li.activeTrigger { + background-color: #f44236; + } +} + +.mega-menu[data-color="red"] .menu-links > li.active { + background-color: #f44236; +} + +.mega-menu[data-color="red"] .menu-links > li:hover { + background-color: #f44236; +} + +.mega-menu[data-color="red"] .menu-search-bar li:hover i.fas.fa-search { + background: #f44236; +} + +.mega-menu[data-color="red"] .menu-search-bar input:focus { + background: #f44236; +} + +.mega-menu[data-color="red"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="red"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="red"] .drop-down-multilevel li:hover { + background: #f44236; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red"] .drop-down-multilevel li.activeTrigger { + background: #f44236; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="red"] .drop-down-multilevel li.activeTriggerMobile { + background: #f44236; + } +} + +.mega-menu[data-color="red"] .drop-down input[type="submit"], +.mega-menu[data-color="red"] .drop-down input[type="button"], +.mega-menu[data-color="red"] .drop-down button[type="submit"], +.mega-menu[data-color="red"] .drop-down button[type="reset"], +.mega-menu[data-color="red"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="red"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="red"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="red"] .drop-down-tab-bar button[type="reset"] { + background: #f44236; +} + +.mega-menu[data-color="red"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="red"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="red"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="red"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="red"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="red"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="red"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="red"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="red"] .drop-down a:hover, +.mega-menu[data-color="red"] .drop-down-tab-bar a:hover { + color: #f44236; +} + +.mega-menu[data-color="red"] .drop-down::-moz-selection, +.mega-menu[data-color="red"] .drop-down-tab-bar::-moz-selection { + background: #f99d97; +} + +.mega-menu[data-color="red"] .drop-down::selection, +.mega-menu[data-color="red"] .drop-down-tab-bar::selection { + background: #f99d97; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red"].vertical-left .menu-search-bar input, + .mega-menu[data-color="red"].vertical-left .menu-search-bar li, + .mega-menu[data-color="red"].vertical-left .menu-search-bar form, + .mega-menu[data-color="red"].vertical-left .menu-search-bar label, + .mega-menu[data-color="red"].vertical-right .menu-search-bar input, + .mega-menu[data-color="red"].vertical-right .menu-search-bar li, + .mega-menu[data-color="red"].vertical-right .menu-search-bar form, + .mega-menu[data-color="red"].vertical-right .menu-search-bar label { + background: #f44236; + } +} + +.mega-menu[data-color="red-invert"] { +} + +.mega-menu[data-color="red-invert"] > section.menu-list-items { + background-color: #f5594e; +} + +.mega-menu[data-color="red-invert"] .menu-logo > li > a:hover { + background-color: #f32b1e; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="red-invert"] .menu-links > li.activeTriggerMobile { + background-color: #f32b1e; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red-invert"] .menu-links > li.activeTrigger { + background-color: #f32b1e; + } +} + +.mega-menu[data-color="red-invert"] .menu-links > li.active { + background-color: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .menu-links > li:hover { + background-color: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .menu-search-bar input:focus { + background: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .menu-mobile-collapse-trigger { + background: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .menu-mobile-collapse-trigger:hover { + background: #d2180b; +} + +.mega-menu[data-color="red-invert"] .drop-down-multilevel li:hover { + background: #f32b1e; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red-invert"] .drop-down-multilevel li.activeTrigger { + background: #f32b1e; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="red-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #f32b1e; + } +} + +.mega-menu[data-color="red-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="red-invert"] .drop-down input[type="button"], +.mega-menu[data-color="red-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="red-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="red-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="red-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="red-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="red-invert"] .drop-down-tab-bar button[type="reset"] { + background: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="red-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="red-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="red-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="red-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="red-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="red-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="red-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #f5594e; +} + +.mega-menu[data-color="red-invert"] .drop-down a:hover, +.mega-menu[data-color="red-invert"] .drop-down-tab-bar a:hover { + color: #f32b1e; +} + +.mega-menu[data-color="red-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="red-invert"] .drop-down-tab-bar::-moz-selection { + background: #f8867f; +} + +.mega-menu[data-color="red-invert"] .drop-down::selection, +.mega-menu[data-color="red-invert"] .drop-down-tab-bar::selection { + background: #f8867f; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="red-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="red-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="red-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="red-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="red-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="red-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="red-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="red-invert"].vertical-right .menu-search-bar label { + background: #f32b1e; + } +} + +.mega-menu[data-color="teal"] { +} + +.mega-menu[data-color="teal"] > section.menu-list-items { + background-color: #333; +} + +.mega-menu[data-color="teal"] .menu-logo > li > a:hover { + background-color: #009788; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="teal"] .menu-links > li.activeTriggerMobile { + background-color: #009788; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal"] .menu-links > li.activeTrigger { + background-color: #009788; + } +} + +.mega-menu[data-color="teal"] .menu-links > li.active { + background-color: #009788; +} + +.mega-menu[data-color="teal"] .menu-links > li:hover { + background-color: #009788; +} + +.mega-menu[data-color="teal"] .menu-search-bar li:hover i.fas.fa-search { + background: #009788; +} + +.mega-menu[data-color="teal"] .menu-search-bar input:focus { + background: #009788; +} + +.mega-menu[data-color="teal"] .menu-mobile-collapse-trigger { + background: #1a1a1a; +} + +.mega-menu[data-color="teal"] .menu-mobile-collapse-trigger:hover { + background: black; +} + +.mega-menu[data-color="teal"] .drop-down-multilevel li:hover { + background: #009788; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal"] .drop-down-multilevel li.activeTrigger { + background: #009788; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="teal"] .drop-down-multilevel li.activeTriggerMobile { + background: #009788; + } +} + +.mega-menu[data-color="teal"] .drop-down input[type="submit"], +.mega-menu[data-color="teal"] .drop-down input[type="button"], +.mega-menu[data-color="teal"] .drop-down button[type="submit"], +.mega-menu[data-color="teal"] .drop-down button[type="reset"], +.mega-menu[data-color="teal"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="teal"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="teal"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="teal"] .drop-down-tab-bar button[type="reset"] { + background: #009788; +} + +.mega-menu[data-color="teal"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="teal"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="teal"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="teal"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="teal"] .drop-down-tab-bar input[type="submit"]:hover, +.mega-menu[data-color="teal"] .drop-down-tab-bar input[type="button"]:hover, +.mega-menu[data-color="teal"] .drop-down-tab-bar button[type="submit"]:hover, +.mega-menu[data-color="teal"] .drop-down-tab-bar button[type="reset"]:hover { + background-color: #333; +} + +.mega-menu[data-color="teal"] .drop-down a:hover, +.mega-menu[data-color="teal"] .drop-down-tab-bar a:hover { + color: #009788; +} + +.mega-menu[data-color="teal"] .drop-down::-moz-selection, +.mega-menu[data-color="teal"] .drop-down-tab-bar::-moz-selection { + background: #00fde4; +} + +.mega-menu[data-color="teal"] .drop-down::selection, +.mega-menu[data-color="teal"] .drop-down-tab-bar::selection { + background: #00fde4; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal"].vertical-left .menu-search-bar input, + .mega-menu[data-color="teal"].vertical-left .menu-search-bar li, + .mega-menu[data-color="teal"].vertical-left .menu-search-bar form, + .mega-menu[data-color="teal"].vertical-left .menu-search-bar label, + .mega-menu[data-color="teal"].vertical-right .menu-search-bar input, + .mega-menu[data-color="teal"].vertical-right .menu-search-bar li, + .mega-menu[data-color="teal"].vertical-right .menu-search-bar form, + .mega-menu[data-color="teal"].vertical-right .menu-search-bar label { + background: #009788; + } +} + +.mega-menu[data-color="teal-invert"] { +} + +.mega-menu[data-color="teal-invert"] > section.menu-list-items { + background-color: #009788; +} + +.mega-menu[data-color="teal-invert"] .menu-logo > li > a:hover { + background-color: #007e71; +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="teal-invert"] .menu-links > li.activeTriggerMobile { + background-color: #007e71; + } +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal-invert"] .menu-links > li.activeTrigger { + background-color: #007e71; + } +} + +.mega-menu[data-color="teal-invert"] .menu-links > li.active { + background-color: #007e71; +} + +.mega-menu[data-color="teal-invert"] .menu-links > li:hover { + background-color: #007e71; +} + +.mega-menu[data-color="teal-invert"] .menu-search-bar li:hover i.fas.fa-search { + background: #007e71; +} + +.mega-menu[data-color="teal-invert"] .menu-search-bar input:focus { + background: #007e71; +} + +.mega-menu[data-color="teal-invert"] .menu-mobile-collapse-trigger { + background: #00645a; +} + +.mega-menu[data-color="teal-invert"] .menu-mobile-collapse-trigger:hover { + background: #00312c; +} + +.mega-menu[data-color="teal-invert"] .drop-down-multilevel li:hover { + background: #007e71; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal-invert"] .drop-down-multilevel li.activeTrigger { + background: #007e71; + } +} + +@media screen and (max-width: 1023px) { + .mega-menu[data-color="teal-invert"] + .drop-down-multilevel + li.activeTriggerMobile { + background: #007e71; + } +} + +.mega-menu[data-color="teal-invert"] .drop-down input[type="submit"], +.mega-menu[data-color="teal-invert"] .drop-down input[type="button"], +.mega-menu[data-color="teal-invert"] .drop-down button[type="submit"], +.mega-menu[data-color="teal-invert"] .drop-down button[type="reset"], +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar input[type="submit"], +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar input[type="button"], +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar button[type="submit"], +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar button[type="reset"] { + background: #007e71; +} + +.mega-menu[data-color="teal-invert"] .drop-down input[type="submit"]:hover, +.mega-menu[data-color="teal-invert"] .drop-down input[type="button"]:hover, +.mega-menu[data-color="teal-invert"] .drop-down button[type="submit"]:hover, +.mega-menu[data-color="teal-invert"] .drop-down button[type="reset"]:hover, +.mega-menu[data-color="teal-invert"] + .drop-down-tab-bar + input[type="submit"]:hover, +.mega-menu[data-color="teal-invert"] + .drop-down-tab-bar + input[type="button"]:hover, +.mega-menu[data-color="teal-invert"] + .drop-down-tab-bar + button[type="submit"]:hover, +.mega-menu[data-color="teal-invert"] + .drop-down-tab-bar + button[type="reset"]:hover { + background-color: #009788; +} + +.mega-menu[data-color="teal-invert"] .drop-down a:hover, +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar a:hover { + color: #007e71; +} + +.mega-menu[data-color="teal-invert"] .drop-down::-moz-selection, +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar::-moz-selection { + background: #00e4cd; +} + +.mega-menu[data-color="teal-invert"] .drop-down::selection, +.mega-menu[data-color="teal-invert"] .drop-down-tab-bar::selection { + background: #00e4cd; +} + +@media screen and (min-width: 1024px) { + .mega-menu[data-color="teal-invert"].vertical-left .menu-search-bar input, + .mega-menu[data-color="teal-invert"].vertical-left .menu-search-bar li, + .mega-menu[data-color="teal-invert"].vertical-left .menu-search-bar form, + .mega-menu[data-color="teal-invert"].vertical-left .menu-search-bar label, + .mega-menu[data-color="teal-invert"].vertical-right .menu-search-bar input, + .mega-menu[data-color="teal-invert"].vertical-right .menu-search-bar li, + .mega-menu[data-color="teal-invert"].vertical-right .menu-search-bar form, + .mega-menu[data-color="teal-invert"].vertical-right .menu-search-bar label { + background: #007e71; + } +} diff --git a/public/assets/assetLanding/css/menu_menu_reset.min.css b/public/assets/assetLanding/css/menu_menu_reset.min.css new file mode 100644 index 0000000..b962079 --- /dev/null +++ b/public/assets/assetLanding/css/menu_menu_reset.min.css @@ -0,0 +1,179 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ +.mega-menu * { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} +.mega-menu article, +.mega-menu aside, +.mega-menu details, +.mega-menu figcaption, +.mega-menu figure, +.mega-menu footer, +.mega-menu header, +.mega-menu main, +.mega-menu menu, +.mega-menu nav, +.mega-menu section, +.mega-menu summary { + display: block; +} +.mega-menu audio, +.mega-menu canvas, +.mega-menu progress, +.mega-menu video { + display: inline-block; + vertical-align: baseline; +} +.mega-menu audio:not([controls]) { + display: none; + height: 0; +} +.mega-menu [hidden], +.mega-menu template { + display: none; +} +.mega-menu a { + background-color: transparent; +} +.mega-menu a:active, +.mega-menu a:hover { + outline: 0; +} +.mega-menu abbr[title] { + border-bottom: 1px dotted; +} +.mega-menu b, +.mega-menu strong { + font-weight: bold; +} +.mega-menu dfn { + font-style: italic; +} +.mega-menu h1 { + font-size: 2em; + margin: 0.67em 0; +} +.mega-menu mark { + background: #ff0; + color: #000; +} +.mega-menu small { + font-size: 80%; +} +.mega-menu sub, +.mega-menu sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +.mega-menu sup { + top: -0.5em; +} +.mega-menu sub { + bottom: -0.25em; +} +.mega-menu img { + border: 0; +} +.mega-menu svg:not(:root) { + overflow: hidden; +} +.mega-menu figure { + margin: 1em 40px; +} +.mega-menu hr { + box-sizing: content-box; + height: 0; +} +.mega-menu pre { + overflow: auto; +} +.mega-menu code, +.mega-menu kbd, +.mega-menu pre, +.mega-menu samp { + font-family: monospace, monospace; + font-size: 1em; +} +.mega-menu button, +.mega-menu input, +.mega-menu optgroup, +.mega-menu select, +.mega-menu textarea { + color: inherit; + font: inherit; + margin: 0; +} +.mega-menu button { + overflow: visible; +} +.mega-menu button, +.mega-menu select { + text-transform: none; +} +.mega-menu button, +.mega-menu html input[type="button"], +.mega-menu input[type="reset"], +.mega-menu input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +.mega-menu button[disabled], +.mega-menu input[disabled] { + cursor: default; +} +.mega-menu button::-moz-focus-inner, +.mega-menu input::-moz-focus-inner { + border: 0; + padding: 0; +} +.mega-menu input { + line-height: normal; +} +.mega-menu input[type="checkbox"], +.mega-menu input[type="radio"] { + box-sizing: border-box; + padding: 0; +} +.mega-menu input[type="number"]::-webkit-inner-spin-button, +.mega-menu input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +.mega-menu input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; +} +.mega-menu input[type="search"]::-webkit-search-cancel-button, +.mega-menu input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +.mega-menu fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +.mega-menu legend { + border: 0; + padding: 0; +} +.mega-menu textarea { + overflow: auto; +} +.mega-menu optgroup { + font-weight: bold; +} +.mega-menu table { + border-collapse: collapse; + border-spacing: 0; +} +.mega-menu td, +.mega-menu th { + padding: 0; +} diff --git a/public/assets/assetLanding/css/owl.carousel.min.css b/public/assets/assetLanding/css/owl.carousel.min.css new file mode 100644 index 0000000..0e35cc3 --- /dev/null +++ b/public/assets/assetLanding/css/owl.carousel.min.css @@ -0,0 +1,184 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +.owl-carousel, +.owl-carousel .owl-item { + -webkit-tap-highlight-color: transparent; + position: relative; +} +.owl-carousel { + display: none; + width: 100%; + z-index: 1; +} +.owl-carousel .owl-stage { + position: relative; + -ms-touch-action: pan-Y; + touch-action: manipulation; + -moz-backface-visibility: hidden; +} +.owl-carousel .owl-stage:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +.owl-carousel .owl-stage-outer { + position: relative; + overflow: hidden; + -webkit-transform: translate3d(0, 0, 0); +} +.owl-carousel .owl-item, +.owl-carousel .owl-wrapper { + -webkit-backface-visibility: hidden; + -moz-backface-visibility: hidden; + -ms-backface-visibility: hidden; + -webkit-transform: translate3d(0, 0, 0); + -moz-transform: translate3d(0, 0, 0); + -ms-transform: translate3d(0, 0, 0); +} +.owl-carousel .owl-item { + min-height: 1px; + float: left; + -webkit-backface-visibility: hidden; + -webkit-touch-callout: none; +} +.owl-carousel .owl-item img { + display: block; + width: 100%; +} +.owl-carousel .owl-dots.disabled, +.owl-carousel .owl-nav.disabled { + display: none; +} +.no-js .owl-carousel, +.owl-carousel.owl-loaded { + display: block; +} +.owl-carousel .owl-dot, +.owl-carousel .owl-nav .owl-next, +.owl-carousel .owl-nav .owl-prev { + cursor: pointer; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel .owl-nav button.owl-next, +.owl-carousel .owl-nav button.owl-prev, +.owl-carousel button.owl-dot { + background: 0 0; + color: inherit; + border: none; + padding: 0 !important; + font: inherit; +} +.owl-carousel.owl-loading { + opacity: 0; + display: block; +} +.owl-carousel.owl-hidden { + opacity: 0; +} +.owl-carousel.owl-refresh .owl-item { + visibility: hidden; +} +.owl-carousel.owl-drag .owl-item { + -ms-touch-action: pan-y; + touch-action: pan-y; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.owl-carousel.owl-grab { + cursor: move; + cursor: grab; +} +.owl-carousel.owl-rtl { + direction: rtl; +} +.owl-carousel.owl-rtl .owl-item { + float: right; +} +.owl-carousel .animated { + animation-duration: 1s; + animation-fill-mode: both; +} +.owl-carousel .owl-animated-in { + z-index: 0; +} +.owl-carousel .owl-animated-out { + z-index: 1; +} +.owl-carousel .fadeOut { + animation-name: fadeOut; +} +@keyframes fadeOut { + 0% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +.owl-height { + transition: height 0.5s ease-in-out; +} +.owl-carousel .owl-item .owl-lazy { + opacity: 0; + transition: opacity 0.4s ease; +} +.owl-carousel .owl-item .owl-lazy:not([src]), +.owl-carousel .owl-item .owl-lazy[src^=""] { + max-height: 0; +} +.owl-carousel .owl-item img.owl-lazy { + transform-style: preserve-3d; +} +.owl-carousel .owl-video-wrapper { + position: relative; + height: 100%; + background: #000; +} +.owl-carousel .owl-video-play-icon { + position: absolute; + height: 80px; + width: 80px; + left: 50%; + top: 50%; + margin-left: -40px; + margin-top: -40px; + background: url(owl.video.play.png) no-repeat; + cursor: pointer; + z-index: 1; + -webkit-backface-visibility: hidden; + transition: transform 0.1s ease; +} +.owl-carousel .owl-video-play-icon:hover { + -ms-transform: scale(1.3, 1.3); + transform: scale(1.3, 1.3); +} +.owl-carousel .owl-video-playing .owl-video-play-icon, +.owl-carousel .owl-video-playing .owl-video-tn { + display: none; +} +.owl-carousel .owl-video-tn { + opacity: 0; + height: 100%; + background-position: center center; + background-repeat: no-repeat; + background-size: contain; + transition: opacity 0.4s ease; +} +.owl-carousel .owl-video-frame { + position: relative; + z-index: 1; + height: 100%; + width: 100%; +} diff --git a/public/assets/assetLanding/css/responsive.css b/public/assets/assetLanding/css/responsive.css new file mode 100644 index 0000000..e9c04a7 --- /dev/null +++ b/public/assets/assetLanding/css/responsive.css @@ -0,0 +1,2308 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ + +/***************** +================================================ + ( Media Queries ) +================================================ + *******************/ +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1365px) { + .container { + max-width: 1140px; + } +} + +@media (min-width: 1366px) { + .container { + max-width: 1170px; + } +} + +@media (min-width: 1601px) { + header.header-three .mega-menu .menu-links { + padding-right: 0px; + padding-left: 20px; + } + + header.header-three .mega-menu .menu-links > li > a { + padding: 0 20px; + } +} + +@media (max-width: 1474px) { + header .mega-menu .menu-links > li > a { + padding: 0 15px; + } +} + +@media (max-width: 1399px) { + header.header-three .mega-menu .menu-links { + padding-right: 0px; + padding-left: 40px; + } + + header.header-three .mega-menu .menu-links > li > a { + padding: 0 20px; + } + + .overlay-right { + display: none; + } + + .iq-works img.iqwork-one { + width: 5%; + } + + .service-one { + width: 8%; + } + + .circle div { + top: 35px; + font-size: 24px; + } + + .hamburger { + right: 60px; + } + + .iq-solutions .media span { + font-size: 30px; + } + + .iq-countdown li { + margin-right: 20px; + } + + .iq-countdown li::after { + display: none; + } + + .iq-portfolio .portfolio-info a { + letter-spacing: normal; + } +} + +@media (max-width: 1365px) { + .clients-hover { + padding: 32px 15px; + } + + .iq-portfolio .portfolio-info a.text-uppercase.text-gray.float-right { + display: none; + } + + .main-blog .blog-info ul li a { + line-height: normal; + } + + .iq-works .iq-way { + height: 130px; + } + + .hamburger { + right: -100px; + } + + header.header-two .mega-menu.desktopTopFixed .hamburger { + right: 60px; + } + + .service-info .left { + width: 25%; + margin-right: 5%; + } + + .service-info .right { + width: 70%; + } + + .iq-subscribe.pattern-left:before { + display: none; + } + + header .menu-list-items .container-fluid { + padding: 0 50px; + } + + header.header-two .container-fluid { + padding: 0 50px; + } + + .overlay-right { + display: none; + } + + .countdown-page .login-info { + margin: 153px 26px 160px; + } + + .owl-carousel .owl-item img.user-img { + margin-right: 7px !important; + } + + .main-blog .blog-detail .blog-info .user-img { + width: 30px; + height: 30px; + } + + .main-blog .blog-detail .blog-info a span { + font-size: 16px; + } + + .main-blog .blog-detail h5 { + font-size: 18px; + } + + .iq-blogs .owl-carousel .blog-info ul li a { + line-height: 28px; + } + + .team-box { + padding: 10px; + } + + .team-hover { + padding: 15px; + } + + .team-plus { + margin-right: 10px; + } + + .register-form .login-info, + .login-from .login-info { + margin: 100px 80px 100px; + } + + .register-form .social-list, + .login-from .social-list { + display: none; + } + + footer.footer-two .footer-link { + padding-left: 30px; + } + + .success-images img { + padding-right: 15px; + } + + .iq-slolution-details { + padding: 15px; + width: 170px; + } + + .services-tab .nav-pills { + padding: 8px; + } + + #iq-tab li.nav-item { + width: 19%; + margin-right: 1%; + } + + .way-one, + .way-two { + width: 30%; + } + + .choose-left, + .work-right, + .project-overlay-left { + display: none; + } + + .iq-masonry-block .iq-portfolio .portfolio-info { + bottom: -110px; + } + + header.header-three .mega-menu .menu-links { + padding-left: 80px; + } + + .services .service-shap { + margin-right: 20px; + } + + .progressbar { + margin: 0 10px 0 0; + } + + .pricing-list li { + width: 50%; + } + + #iq-tab li.nav-item .nav-link { + font-size: 14px; + } + + .iq-project-info { + letter-spacing: normal; + } + + header.header-four .mega-menu.desktopTopFixed .hamburger { + right: 60px; + } + header.header-four .container-fluid { + padding: 0 50px; + } + header.header-four .container-fluid { + padding: 0 50px; + } +} + +@media (max-width: 1339px) { + header .mega-menu > .menu-list-items { + padding-top: 30px; + } + + .blog-left { + display: none; + } + + footer.footer-two .footer-three { + top: -95px; + } + + footer.footer-two .footer-five { + top: 95px; + } + + footer.footer-two .footer-four { + left: 0; + width: 8%; + bottom: 50px; + } + + footer.footer-two .social-media .social li { + padding: 0 9px; + } + + footer.footer-two .social-media .social li:first-child { + padding-left: 0; + } +} + +@media (max-width: 1199px) { + .hamburger { + right: 0; + } + + .legend span { + display: none; + } + + .iq-breadcrumb h2 { + margin-top: 30px; + } + + header.header-two .mega-menu.desktopTopFixed .hamburger { + right: 30px; + } + + .iq-subscribe .pattern-right:before { + right: 7px; + bottom: -14px; + } + + .right-detail { + width: 47%; + } + + .timeline-box .col-lg-6.pl-5 { + padding-left: 30px !important; + } + + .timeline-top .timeline-box { + padding: 100px 0px 100px 15px; + } + + .contactinfo { + padding-left: 15px; + padding-right: 15px; + } + + .project-one { + display: none; + } + + .service-one, + .service-two, + .service-two, + .iq-blogs .blog-one { + display: none; + } + + .timeline-shap { + width: 10%; + top: 22px; + } + + section.iq-portfolio-page { + padding-bottom: 0; + } + + section { + padding: 80px 0; + } + + .service-three { + display: none; + } + + header .menu-list-items .container-fluid { + padding: 0 30px; + } + + header .mega-menu > section.menu-list-items { + padding-top: 20px; + } + + header .mega-menu.desktopTopFixed .menu-list-items { + padding: 15px 0; + } + + header .mega-menu .menu-links { + padding-left: 25px; + } + + header .mega-menu .menu-links > li > a { + padding: 0 20px; + } + + .iq-aboutteam .about-one { + width: 10%; + top: 10px; + } + + .iq-faq-list .nav-link.active, + .iq-faq-list .nav-link { + font-size: 18px; + } + + .iq-countdown li::after { + right: -13px; + } + + .header-navbar .iq-countdown li { + margin-right: 10px; + padding: 15px; + } + + .iq-countdown li span { + font-size: 30px; + } + + .iq-works img.iqwork-one, + .iqwork-two, + .project-overlay-left { + display: none; + } + + .countdown-page .login-info { + margin: 50px 26px 50px; + } + + .process-shap { + right: -42px; + } + + .process-shap.shap-left { + left: -42px; + } + + .maintenance-right { + width: 20%; + } + + .maintenance-left { + display: none; + } + + .login-footer-one { + display: none; + } + + #clients-slider .owl-item img { + padding: 0; + } + + header .container-fluid { + padding: 0 120px; + } + + .iq-choose-info .iqwork-right { + display: none; + } + + .iq-breadcrumb .breadcrumb-two { + width: 35%; + } + header.header-four .mega-menu.desktopTopFixed .hamburger { + right: 30px; + } + .iq-rocket { + position: absolute; + top: -12%; + right: 5%; + } +} + +@media (max-width: 1080px) { + header.header-three .mega-menu .menu-links { + padding-left: 60px; + } + + #menu-1 .menu-sidebar li { + padding: 0 0 0 10px; + } + + header.header-three .mega-menu .menu-links { + padding-left: 30px; + } + + .iq-work .work-content h3 { + font-size: 24px; + line-height: 34px; + } + + .iq-slolution-details p { + font-size: 14px; + } +} + +@media (max-width: 1023px) { + .side-menu { + display: none; + } + + .iq-banner.banner-three { + overflow: hidden; + } + + header .mega-menu .drop-down-multilevel i.fas { + display: none; + } + + .mega-menu .menu-search-bar.active input { + padding-right: 0; + } + + header .mega-menu .drop-down-multilevel { + top: 0; + } + + header .mega-menu.desktopTopFixed .drop-down-multilevel { + top: 0; + } + + header .mega-menu .menu-links > li > a:hover, + header .mega-menu .menu-links > li > a.active { + color: #ffff; + background: #33e2a0; + } + + header .mega-menu .menu-links > li.activeTriggerMobile > a { + color: #ffff; + background: #33e2a0; + } + + .mega-menu .menu-mobile-collapse-trigger:before, + .mega-menu .menu-mobile-collapse-trigger:after, + .mega-menu .menu-mobile-collapse-trigger span { + height: 2px; + border-radius: 90px; + } + + .mega-menu .menu-mobile-collapse-trigger { + height: 46px; + } + + header .mega-menu .menu-links > li.activeTriggerMobile, + header.mega-menu .drop-down-multilevel li.activeTriggerMobile { + background-color: #3eaf; + } + + header .mega-menu .menu-links { + position: absolute; + top: 56px; + left: 0; + display: inline-block; + width: 100%; + padding: 0 15px; + max-height: inherit !important; + } + + header .mega-menu .menu-links > li > a.active::before, + header .mega-menu .menu-links > li > a:hover::before { + display: none; + } + + header .mega-menu .menu-links > li:hover, + .mega-menu .menu-logo > li > a:hover { + background: #3eaf; + } + + header .mega-menu .menu-links > li > a { + padding: 15px; + background: #ffffff; + } + + header .mega-menu .menu-links > li { + line-height: 40px; + border-bottom: 1px solid #eeef; + background: #frgba(255, 255, 255, 1) box-shargb(0, 0, 0) rgba(0, 0, 0, 0.1); + } + + header .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 190px; + } + + header .mega-menu .menu-search-bar { + right: 100px; + } + + header .mega-menu .menu-search-bar li { + float: right; + } + + .mega-menu .mobileTriggerButton:before { + position: absolute; + right: 15px; + top: 15px; + font-family: "Font Awesome 5 Free"; + content: "\f107"; + font-size: 20px; + z-index: 99; + font-weight: 600; + } + + .mega-menu .menu-links > li > a { + width: 100%; + } + + .mega-menu .drop-down-multilevel a { + width: 100%; + } + + header header .mega-menu .menu-links > li.activeTriggerMobile a.active { + color: #ffff; + } + + .mega-menu .mobileTriggerButton { + z-index: 99; + } + + header .mega-menu .menu-links > li > a.active, + header .mega-menu .menu-links > li.activeTriggerMobile a.active { + color: #ffff; + background: #33e2a0; + } + + .mega-menu .menu-links > li.active ul.drop-down-multilevel li.active > a i { + color: rgba(255, 255, 255, 1); + z-index: inherit; + } + + header.header-two .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 100px; + } + + header.header-two .mega-menu .menu-search-bar { + right: 0; + } + + header.header-two .mega-menu .menu-search-bar input:focus { + right: 100px; + } + + header.header-two .mega-menu > section.menu-list-items { + padding: 15px 0; + } + + header.header-two .mega-menu .menu-links > li > a { + color: #1b0e3d; + } + + header.header-two .mega-menu .menu-links > li > a:hover, + header.header-two .mega-menu .menu-links > li > a.active { + color: #ffff; + } + + header.header-two .mega-menu .menu-links { + padding-left: 0; + } + + header.header-three .menu-contact { + position: absolute; + left: 18%; + } + + header.header-three ul.menu-sidebar { + position: absolute; + right: 100px; + } + + header.header-three .mega-menu.desktopTopFixed .menu-list-items, + header.header-three .mega-menu.mobileTopFixed .menu-list-items { + background: #ffff; + } + + header.header-three .mega-menu .menu-links > li > a { + padding: 15px; + } + + header.header-three .mega-menu .menu-links > li > a:hover, + header.header-three .mega-menu .menu-links > li > a.active { + color: #fff; + } + + .iq-slolution-details { + padding: 15px; + } + + header.header-three .mega-menu .menu-links { + padding: 0 15px; + } + + header.header-two .mega-menu > .menu-list-items { + padding-top: 15px; + } + + .iq-workinfo { + margin-bottom: 30px; + } + header.header-four .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 100px; + } + + header.header-four .mega-menu .menu-search-bar { + right: 0; + } + + header.header-four .mega-menu .menu-search-bar input:focus { + right: 100px; + } + + header.header-four .mega-menu > section.menu-list-items { + padding: 15px 0; + } + + header.header-four .mega-menu .menu-links > li > a { + color: #1b0e3d; + } + header.header-four .mega-menu > .menu-list-items { + padding-top: 15px; + } + + .iq-rocket { + position: absolute; + top: -12%; + right: 6%; + } + header.header-four .mega-menu .menu-links { + top: 61px; + } + .iq-offers { + margin-bottom: 30px; + margin: 0px; + } + + .offer-info { + margin-bottom: 30px; + } + header.header-four .mega-menu .menu-links { + padding-left: 0px; + } +} + +@media (max-width: 992px) { + .explore-btn { + display: none; + } + + .iq-solutions { + padding-bottom: 80px; + } + + .team-three { + margin-bottom: 30px; + } + + .iq-subscribe { + background: #76d; + } + + .iq-banner .left-img, + .iq-banner .right-img { + display: none; + } + + .feature-images { + display: none; + } + + .iq-pricing { + margin-bottom: 30px; + } + + .iq-work:after { + content: none; + } + + .iq-work:before { + content: none; + } + + .iq-breadcrumb h2 { + margin-top: 30px; + } + + .iq-breadcrumb .col-sm-5 img { + display: none; + } + + .service-info .left { + width: 100%; + margin-bottom: 20px; + } + + .service-info .right { + width: 100%; + } + + .iq-bestteam { + padding-bottom: 80px; + } + + .pieID { + float: none; + margin: 0 auto; + text-align: center; + } + + .legend li { + text-align: left; + } + + footer.footer-two .social-media .social li { + padding: 0 10px; + } + + .iq-breadcrumb-img { + z-index: 1; + } + + .iq-breadcrumb .col-sm-5 img { + display: none; + } + + .header-navbar .navbar .navbar-nav .nav-link { + padding: 15px 0; + } + + .iq-maintenance { + padding: 100px 0 90px; + } + + .process-shap { + right: -30px; + } + + .process-shap.shap-left { + left: -30px; + } + + .header-navbar .navbar-nav .nav-link:hover { + color: #33e2a0; + } + + .header-navbar .navbar-toggler { + position: absolute; + right: 30px; + top: 30px; + display: none; + } + + .header-navbar .login-right-bar img { + display: block; + } + + .header-navbar .navbar-collapse { + position: absolute; + top: 80px; + left: 30px; + width: 94%; + background: #ffff; + z-index: 9; + } + + .header-navbar ul.navbar-nav { + border: 1px solid #eeef; + } + + .header-navbar ul li { + border-bottom: 1px solid #eeef; + padding: 0 15px; + } + + .header-navbar ul li:last-child { + border-bottom: 1px solid transparent; + } + + .header-navbar img { + display: none; + } + + .register-form img, + .login-form img { + display: none; + } + + .iq-team-details .personal-detail { + margin-top: 40px; + } + + .iq-team-details .team-name { + right: 10%; + } + + .technical .iq-progress.green { + margin-top: 0 !important; + } + + .technical .iq-progress { + margin-top: 30px !important; + } + + .timeline-box h2 { + margin-top: 0; + } + + .timeline-box .col-lg-6.pl-5 { + padding-left: 0 !important; + } + + .timeline-top .timeline-box { + padding: 0 15px; + } + + footer .contactinfo ul.rmb-40 { + margin-bottom: 40px; + } + + footer .title-box.text-left { + text-align: center !important; + } + + footer .form-control { + margin: 0 auto; + } + + footer.footer-one .title-box { + padding-right: 0; + } + + footer .subscribe-form { + padding: 0; + } + + .subscribe-form .bt-subscribe { + position: inherit; + margin-top: 30px; + border: none; + } + + .iq-Services-detail img { + margin-top: 40px; + } + + .best-services a { + margin-bottom: 40px; + } + + .blog-title-img { + margin-top: 50px; + } + + .iq-blogs input.form-control { + margin-top: 0; + } + + .iq-blogs .left-side-blog { + padding-right: 0; + } + + .clients-hover { + padding: 60px 15px 82px; + } + + .cd-timeline-navigation a.next { + right: 15px; + } + + .cd-timeline-navigation a.prev { + left: 15px; + } + + .iq-solutions p { + margin-bottom: 30px !important; + } + + .project-form a { + margin-bottom: 40px; + } + + iframe { + margin-top: 30px; + } + + .section-title { + margin-bottom: 40px; + } + + .iq-breadcrumb .iq-breadcrumb-info img { + margin-top: 30px; + } + + .iq-faq-list { + text-align: left; + float: left; + margin-bottom: 30px; + } + + .iq-faq-list .nav-link.active, + .iq-faq-list .nav-link { + text-align: left; + padding: 10px 0; + } + + .iq-asked .col-lg-8.col-sm-12.pl-5 { + padding-left: 15px !important; + } + + .tab-content .pl-5.tab-pane { + padding: 0 !important; + } + + .iq-faq-list .nav-link.active, + .iq-faq-list .nav-link { + font-size: 22px; + } + + .portfolio-info { + margin-bottom: 50px; + } + + .iq-recentwork { + padding: 80px 0; + } + + .pricing-info:hover { + box-shadow: none; + transform: none; + transition: none; + } + + .pricing-info { + padding: 30px; + } + + .pricing-plan { + border: none; + margin: 30px 0; + } + + .iq-pricingplan .pricing-info img { + width: 100%; + } + + .iq-team-info img { + margin-bottom: 80px; + } + + .iq-works .iq-way { + display: none; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(3) span { + left: 0; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(6) span { + bottom: 43%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(4) span { + right: 11%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(5) span { + top: 24%; + } + + .testimonial-box::before { + left: 38%; + } + + .iq-Services-detail .col-lg-6 p { + margin-top: 20px; + } + + .iq-choose-info .iqwork-one { + display: none; + } + + .iq-rmt-40 { + padding-top: 0 !important; + } + + .marketing-block:after, + .marketing-block:before { + top: 40px; + } + + .video-people .left-one { + left: -70px; + width: 15%; + } + + .video-people .right-one { + right: -75px; + width: 15%; + } + + .video-people .left-two { + left: -50px; + width: 10%; + } + + .video-people .right-two { + right: -50px; + width: 10%; + } + + .iq-bestteam .team-box { + margin-bottom: 30px; + } + + .testimonial-block { + padding: 30px 0 0 0; + } + + footer.footer-two .iq-footer-logo { + padding-right: 30px; + } + + footer.footer-two .subscribe-form .bt-subscribe { + position: absolute; + } + + footer.footer-two .form-control { + width: 100%; + margin: 0 auto 35px; + } + + footer.footer-two .footer-six { + bottom: 50px; + } + + .choose-one { + display: none; + } + + .marketing-block { + padding: 30px 0 0 0; + position: relative; + } + + .iq-choose-info .iqwork-left { + display: none; + } + + .iq-marketing .owl-carousel, + .iq-testimonial .owl-carousel { + width: 100%; + } + + .marketing-block:before { + border-radius: 6px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + } + + .marketing-block:after { + display: none; + } + + .video-people .left-one, + .video-people .left-two, + .video-people .right-one, + .video-people .right-two { + display: none; + } + + .marketing-block .owl-carousel .owl-nav { + left: 35%; + top: 0; + position: relative; + } + + .testimonial-block .owl-carousel .owl-nav { + left: 0; + top: 30px; + position: relative; + } + + header.header-two .menu-list-items .container-fluid, + header.header-two .container-fluid { + padding: 0 30px; + } + + header.header-two .header-top-bar { + padding: 10px 0px; + } + + section.iq-blogs.position-relative.pt-0 { + overflow: hidden; + } + + footer.footer-two .footer-one { + display: none; + } + + .iq-bestteam:after { + display: none; + } + + .footer-top { + padding: 100px 0 100px; + } + + footer.footer-two .footer-three { + top: -50px; + width: 10%; + } + + footer.footer-two .footer-five { + top: 40px; + right: 10%; + } + + .way-one, + .way-two { + display: none; + } + + .iq-works .iq-way-top { + display: none; + } + + .iq-work-id { + margin: 50px auto; + } + + #iq-tab li.nav-item .nav-link { + padding: 30px 15px; + font-size: 16px; + } + + .services .info { + float: left; + width: 100%; + } + + .services a { + line-height: normal; + } + + footer.footer-three .form-control { + width: 100%; + margin: 0 auto 35px; + } + + footer.footer-three .subscribe-form .bt-subscribe { + position: absolute; + } + + footer.footer-three .subscribe-form .bt-subscribe { + bottom: 5px; + right: 6px; + } + + .iq-team-details img { + margin-bottom: 80px; + } + + .iq-brand-list .owl-item .item { + margin: 0; + } + + #clients-slider { + margin: 0; + } + + .circle div { + top: 49px; + } + + header .mega-menu > .menu-list-items { + padding-top: 15px; + } + + .pricing-info .price { + float: left; + display: inline-block; + text-align: left; + margin-bottom: 0; + } + + header .menu-list-items .container-fluid { + padding: 0 15px; + } + + .iq-mt-40 { + margin-top: 30px; + } + + .register-form .login-info, + .login-from .login-info { + margin: 60px 15px 60px; + } + header.header-four .menu-list-items .container-fluid, + header.header-four .container-fluid { + padding: 0 30px; + } + + header.header-four .header-top-bar { + padding: 10px 0px; + display: none; + } + + header.header-four .mega-menu .menu-links > li > a:hover, + header.header-four .mega-menu .menu-links > li > a.active { + color: #ffff; + } + + header.header-four .mega-menu .menu-links { + padding-left: 0; + } + + .iq-offers .iq-way { + display: none; + } + + .iq-offers .iq-way-top { + display: none; + } + + .iq-offer:after { + content: none; + } + + .iq-offer:before { + content: none; + } + + .iq-offers { + margin-bottom: 30px; + margin: 0 60px 30px 60px; + } + .our-info ul.about-us li { + margin: 0; + width: 24%; + } +} + +@media (max-width: 979px) { + .iq-pagenotfound .pagenotfound-info { + padding: 100px 30px 70px; + overflow: hidden; + } + + .pagenotfound-left { + left: -60px; + bottom: -70px; + } + + .pagenotfound-right { + right: -80px; + bottom: -70px; + width: 400px; + } + + .timeline-shap { + top: 54px; + } + + .iq-breadcrumb .breadcrumb-two { + width: 50%; + } + + .iq-breadcrumb .breadcrumb-one { + width: 17%; + } + + .iq-thankyou .thankyou-info { + padding: 100px 30px 70px; + } + + .login-from .navbar-collapse { + width: 92%; + } + + .iq-slolution-details { + padding: 30px; + width: auto; + } + + footer.footer-two .footer-link { + padding-left: 0px; + } + + footer.footer-two .footer-link li { + width: 20%; + float: left; + } + + header.header-three .menu-contact { + left: 21%; + } + + #iq-tab .tab-content { + margin-top: 50px; + } + + .iq-masonry-block .iq-portfolio .portfolio-info { + bottom: -129px; + } + + .footer-three hr { + padding: 0; + } + .iq-rocket { + position: absolute; + top: -10%; + right: 2%; + } + .iq-features .iq-pl-15 { + padding-left: 15px; + } + .iq-features .col-lg-6.iq-rmt-40 { + padding-left: 15px; + margin-top: 10px; + } +} + +@media (max-width: 767px) { + header { + position: relative; + } + + .technical { + padding-top: 0; + } + + .iq-recentwork .owl-carousel .owl-nav { + top: -120px; + right: 0; + left: 0; + margin: 0 auto; + width: 160px; + } + + .iq-blogs input.form-control { + margin-top: 0; + } + + .iq-breadcrumb .iq-breadcrumb-info img { + display: none; + } + + .iq-recentwork .owl-carousel .owl-nav .owl-prev { + left: 0; + right: auto; + } + + .iq-recentwork .owl-carousel .owl-nav .owl-next { + right: 0; + left: auto; + } + + .iq-banner .left-img { + display: none; + } + + .project-info { + float: left; + display: block; + } + + .legend li { + width: 100%; + } + + .pie { + height: 300px; + width: 300px; + } + + .pie::before { + width: 150px; + height: 150px; + } + + .slice, + .slice span { + width: 300px; + height: 300px; + clip: rect(0px, 300px, 300px, 150px); + } + + .service-right { + display: none; + } + + header.header-two .header-top-bar .social-bar { + display: none; + } + + header .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 0px; + } + + .mega-menu .menu-search-bar input:focus { + right: 0px; + } + + header .mega-menu > .menu-list-items { + padding: 10px 0; + } + + .mega-menu li.menu-contact { + display: none; + } + + .iq-subscribe { + padding: 60px 20px 0 20px; + } + + h2 { + font-size: 30px; + } + + .pagenotfound-left, + .pagenotfound-right { + display: none; + } + + .riq-mt-40 { + margin-top: 40px; + } + + .iq-team-details .team-name { + position: relative; + right: 0; + width: 100%; + top: 0; + } + + .iq-team-details img { + margin-bottom: 40px; + } + + .iq-breadcrumb nav ol { + margin-bottom: 40px; + } + + .timeline-shap { + width: 16%; + } + + .isotope-filters button { + margin: 10px 5px; + } + + .timeline-top .timeline-box { + padding: 0 15px; + } + + .timeline-top .timeline-box .col-lg-6.col-md-12.pr-0.pl-5 { + padding-right: 15px !important; + } + + .thankyou-left { + display: none; + } + + .thankyou-right { + display: none; + } + + .cd-horizontal-timeline .events-content em, + .cd-horizontal-timeline .events-content p { + font-size: 16px; + line-height: 26px; + } + + .iq-faq-list .nav-link.active, + .iq-faq-list .nav-link { + font-size: 18px; + } + + .iq-recentwork .section-title { + margin-bottom: 80px; + } + + .iq-team-info .team-info { + position: relative; + right: 0; + top: 0; + } + + .iq-team-info img { + margin-bottom: 30px; + } + + .iq-team-info .personal-detail { + padding: 30px 0; + margin-top: 50px; + } + + .video-people .one { + width: 16%; + } + + .video-people .two { + width: 21%; + } + + .iq-choose-info { + padding-bottom: 0; + } + + .testimonial-box::before { + left: 28%; + } + + .header-navbar .iq-countdown { + margin: 45px 0px 45px; + } + + .header-navbar .iq-countdown li { + margin-bottom: 20px; + } + + .iq-countdown li span { + font-size: 26px; + } + + footer .subscribe-form .bt-subscribe { + margin-top: 30px; + } + + .subscribe-form .bt-subscribe { + margin-top: 0; + } + + .countdown-page .login-info { + margin: 175px 26px 50px; + } + + .login-from .navbar-collapse { + width: 87%; + } + + .iq-accordion .ad-title { + font-size: 16px; + } + + .iq-solutions ul li { + font-size: 16px; + } + + .process-detail { + padding-right: 75px; + } + + .process-shap { + right: -15px; + width: 70px; + height: 70px; + } + + .process-shap.shap-left { + left: -15px; + width: 70px; + height: 70px; + } + + .register-form .login-info, + .login-from .login-info { + margin: 60px 15px 60px; + } + + .register-form .button, + .login-from .button { + margin-right: 10px !important; + } + + .iq-videos:before { + display: none; + } + + .video-play { + top: 50%; + left: 50%; + } + + footer.footer-two .footer-ten { + left: 10%; + } + + footer.footer-two .footer-eleven { + right: 10%; + } + + footer.footer-two .footer-link li { + width: 25%; + } + + header.header-three .menu-contact { + display: none; + } + + #iq-tab li.nav-item { + width: 30%; + margin: 0 15px 15px 0; + } + + footer.footer-three .lang.float-right, + footer.footer-three .social-media { + display: none; + } + + footer.footer-three .iq-subscribe-form { + padding: 0; + } + + .service-info:last-child { + margin-bottom: 0 !important; + } + + .video-people .one, + .video-people .two { + transform: none !important; + } + + header.header-two .menu-list-items .container-fluid, + header.header-two .container-fluid { + padding: 0 15px; + } + + .testimonial-box { + padding: 0; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots { + display: none; + } + + header .mega-menu .menu-logo > li > a img { + height: 46px; + margin-top: 0; + } + + .footer-top { + padding: 60px 0 100px; + } + + .iq-blockquote h5 { + padding: 60px 15px; + } + + .iq-blogs .blog-img .comments-box img { + width: 23%; + } + + .media-body .month-detail.float-right { + float: left !important; + display: inline-block; + width: 100%; + } + + .left-details:before, + .left-detail:before { + display: none; + } + + .right-detail { + width: 100%; + margin: 0 0 30px !important; + } + + .first-detail, + .left-detail { + padding: 0; + border-right: none; + width: 100%; + text-align: left; + } + header.header-four .header-top-bar .social-bar { + display: none; + } + + header.header-four .menu-list-items .container-fluid, + header.header-four .container-fluid { + padding: 0 15px; + } + .iq-features .mt-5 { + margin-top: 0rem !important; + } +} + +@media (max-width: 479px) { + .iq-breadcrumb nav ol { + padding: 0; + } + + header.header-two .mega-menu .menu-search-bar { + right: 20px; + } + + header.header-two .mega-menu .menu-search-bar input { + right: 20px; + } + + header .mega-menu.mobileTopFixed .menu-logo > li > a > img { + top: 0; + margin-top: 0; + } + + header .mega-menu .menu-search-bar.active i.fas.fa-search { + top: 0; + right: 15px; + } + + header.header-two .mega-menu .menu-mobile-collapse-trigger, + header.header-three .mega-menu .menu-mobile-collapse-trigger { + top: 0; + } + + header.header-two .mega-menu.mobileTopFixed .menu-logo > li > a > img, + header.header-three .mega-menu.mobileTopFixed .menu-logo > li > a > img { + top: 0; + } + + header.header-two .mega-menu .menu-search-bar.active i.fas.fa-search, + header.header-three .mega-menu .menu-search-bar.active i.fas.fa-search { + top: 0px; + } + + header.header-two .mega-menu .menu-search-bar input, + header.header-three .mega-menu .menu-search-bar input { + margin: 0; + } + + .mega-menu .menu-search-bar input:focus { + right: 15px; + } + + .mega-menu .menu-mobile-collapse-trigger { + right: 10px; + } + + header .mega-menu .menu-search-bar input { + margin: 5px 0 0 0; + } + + footer.footer-one .bt-subscribe { + position: relative; + } + + .pie { + height: 200px; + width: 200px; + } + + .pie::before { + width: 100px; + height: 100px; + top: 50px; + left: 50px; + } + + .slice, + .slice span { + width: 200px; + height: 200px; + clip: rect(0px, 200px, 200px, 100px); + } + + header .mega-menu .menu-logo > li > a img { + height: 30px; + } + + header .mega-menu .menu-links { + top: 40px; + } + + .mega-menu .menu-mobile-collapse-trigger { + height: 30px; + width: 40px; + top: 0; + } + + .mega-menu .menu-mobile-collapse-trigger:before, + .mega-menu .menu-mobile-collapse-trigger:after, + .mega-menu .menu-mobile-collapse-trigger span { + width: 18px; + } + + .mega-menu .menu-mobile-collapse-trigger:before, + .mega-menu .menu-mobile-collapse-trigger:after, + .mega-menu .menu-mobile-collapse-trigger span { + top: 7px; + } + + .mega-menu .menu-mobile-collapse-trigger span { + top: 15px; + } + + .mega-menu .menu-mobile-collapse-trigger:after { + top: 22px; + } + + header .menu-list-items .container-fluid { + padding: 0 15px; + } + + header .mega-menu .menu-search-bar { + right: 70px; + } + + header .mega-menu .menu-search-bar input:focus { + max-width: 180px; + } + + header .mega-menu .menu-search-bar i.fas.fa-search { + height: 30px; + width: 30px; + line-height: 30px; + } + + header .mega-menu .menu-search-bar input { + height: 30px; + } + + footer .form-control { + width: 100%; + } + + footer .social-media { + padding-left: 0; + float: left; + width: 100%; + margin-top: 30px; + } + + .email::before { + display: none; + } + + footer .email { + padding-left: 0px; + margin-top: 15px; + } + + .main-blog .blog-detail .blog-info a span { + font-size: 14px; + } + + .main-blog .blog-info ul li a { + line-height: 50px; + } + + .iq-blogs .owl-carousel .blog-info ul li a { + line-height: 36px; + } + + .owl-carousel .owl-item img.user-img { + width: 36px; + } + + .page-item:first-child .page-link { + display: none; + } + + .page-item:last-child .page-link { + display: none; + } + + .iq-sidebar-widget { + padding-right: 0; + } + + .iq-blogs input.form-control { + padding-right: 38px; + } + + .iq-blogs .row.mt-5 { + margin-top: 0 !important; + } + + .comments-box.ml-5 { + margin-left: 30px !important; + } + + .iq-blockquote h5 { + padding: 60px 50px 40px 50px; + } + + .iq-blogs .comments-box .media { + display: inherit; + } + + .iq-blogs .media img { + margin-bottom: 30px; + } + + .comments-box .media .media-body .month-detail.float-right { + display: block; + float: left !important; + } + + .blog-info a img { + margin-right: 10px !important; + } + + .clients-people .one { + width: 35%; + bottom: -76px; + } + + .clients-info { + padding: 150px 70px 170px 70px; + } + + .clients-people .two { + width: 45%; + right: -14px; + bottom: -76px; + } + + .iq-history .cd-horizontal-timeline.loaded ol { + padding-left: 0; + } + + .cd-horizontal-timeline .events-content li { + width: 100%; + } + + .cd-horizontal-timeline .events-content li h3 { + font-size: 25px; + line-height: 30px; + } + + .iq-breadcrumb .breadcrumb li { + display: block; + width: 100%; + } + + .iq-breadcrumb .breadcrumb-item + .breadcrumb-item { + margin-left: 0; + padding-left: 0; + margin-top: 10px; + } + + .iq-blockquote h5 { + font-size: 20px; + } + + .iq-breadcrumb .breadcrumb-item:last-child:after { + display: none; + } + + .pricing-list li { + width: 100%; + } + + .iq-team-info .team-info { + width: 290px; + } + + .team-info .media { + padding: 25px 20px 0; + } + + .team-info .media:first-child { + padding: 50px 20px 0; + } + + .testimonial-box { + padding: 0; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(1) span { + width: 50px; + height: 50px; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(2) span { + width: 50px; + height: 50px; + top: 27%; + left: 14%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(3) span { + width: 50px; + height: 50px; + top: 15%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(4) span { + width: 50px; + height: 50px; + top: -30px; + right: 39%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(5) span { + width: 50px; + height: 50px; + top: 28%; + right: 15%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(6) span { + width: 50px; + height: 50px; + top: 12%; + } + + .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(7) span { + width: 50px; + height: 50px; + } + + .iq-ourclients { + background: none; + } + + .testimonial-box::before { + left: 14%; + } + + .iq-countdown li:nth-child(2):after { + display: none; + } + + .iq-countdown li { + width: 116px; + margin-bottom: 30px; + } + + .header-navbar h1 { + font-size: 38px; + } + + .header-navbar .iq-countdown { + margin: 30px 0px 30px; + } + + .countdown-page .login-info .subscribe-form { + margin: 0; + } + + .countdown-page .login-info { + margin: 100px 26px 50px; + } + + .header-navbar .navbar-collapse { + width: 81%; + } + + footer.footer-two .footer-link li { + width: 50%; + } + + header .header-top-bar ul li { + margin: 0px auto; + } + + header .header-top-bar ul li:first-child { + margin-right: 20px; + } + + .social-bar { + display: none; + } + + header.header-two .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 70px; + } + + header.header-two .mega-menu .menu-search-bar input:focus { + right: 70px; + } + + .marketing-block .owl-carousel .owl-nav, + .testimonial-block .owl-carousel .owl-nav, + .iq-blogs .owl-carousel .owl-nav { + left: 20%; + } + + .video-play { + top: 30%; + } + + .iq-waves .waves, + .iq-waves { + width: 10rem; + height: 10rem; + } + + .video-play { + top: 45%; + left: 40%; + } + + footer.footer-two .footer-three { + top: 0; + width: 15%; + } + + .footer-top { + padding: 80px 0 80px; + } + + .iq-footer-logo { + margin-bottom: 50px; + } + + footer.footer-two .social-media .social li { + padding: 0 20px 0 0; + } + + footer.footer-two .footer-copyright { + bottom: -70px; + } + + header.header-three #menu-1 .menu-sidebar a { + display: none; + } + + header.header-three ul.menu-sidebar { + right: 60px; + } + + .success-images img { + width: 22%; + margin-right: 1%; + } + + .iq-slolution-details { + float: left; + width: 100%; + } + + .iq-slolution-left { + margin: 0px 30px 30px 0; + } + + #iq-tab li.nav-item { + width: 47%; + margin: 0 3% 15px 0; + } + + #iq-tab li.nav-item .nav-link { + padding: 25px 15px; + } + + .overview-block-ptb { + padding: 70px 0; + } + + #testimonial-slider .owl-nav { + top: auto; + bottom: 50px; + } + + .iq-countdown { + display: inline-block; + } + + footer .subscribe-form { + padding: 50px 0 0 0; + } + + header.header-four .mega-menu .menu-search-bar { + right: 20px; + } + header.header-four .mega-menu .menu-mobile-collapse-trigger, + header.header-three .mega-menu .menu-mobile-collapse-trigger { + top: 0; + } + + header.header-four .mega-menu.mobileTopFixed .menu-logo > li > a > img, + header.header-three .mega-menu.mobileTopFixed .menu-logo > li > a > img { + top: 0; + } + + header.header-four .mega-menu .menu-search-bar.active i.fas.fa-search, + header.header-three .mega-menu .menu-search-bar.active i.fas.fa-search { + top: 0px; + } + + header.header-four .mega-menu .menu-search-bar input, + header.header-three .mega-menu .menu-search-bar input { + margin: 0; + } + + header.header-four .mega-menu .menu-search-bar.active i.fas.fa-search { + right: 70px; + } + + header.header-four .mega-menu .menu-search-bar input:focus { + right: 70px; + } + .iq-offers { + margin: 0 0px 30px 0px; + } + .our-info ul.about-us li a { + font-size: 11px; + } + + .iq-rocket { + position: absolute; + top: -6%; + right: -1%; + } + .overview-block-pb5 { + padding-bottom: 0px; + } +} diff --git a/public/assets/assetLanding/css/style.css b/public/assets/assetLanding/css/style.css new file mode 100644 index 0000000..99e3e7f --- /dev/null +++ b/public/assets/assetLanding/css/style.css @@ -0,0 +1,5311 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ + +/*================================================ +[ Table of contents ] +================================================ + +:: Header +:: Megamenu +:: Solution Section +:: Banner +:: Breadcrumb +:: How work section +:: video section +:: Pie chart +:: Service section +:: Feature section +:: Our Client Section +:: Faq section +:: Footer +:: Login-page +:: 404-page +:: Thank You-page +:: Maintenance page +:: Client Page +:: countdown page +:: Work Box +:: OWL Carousel +:: Progress Bar +:: Circle Progress Bar +:: portfolio +:: Tab +:: Breadcrumb +:: blog +:: Paging +:: Iq Pproject Info +:: side-bar +:: SideBar - Tags +:: Blockquoter +:: Horizontal Timeline +:: Team +:: about-me +:: team-detail +:: Process +:: Time-Line Education +:: Brand Section + +====================================== +[ End table content ] +======================================*/ + +/*------------------- +Header +---------------------*/ + +html { + scroll-behavior: smooth; +} +header .main-header { + padding: 30px 150px; + position: absolute; + top: 0; + left: 0; + color: #fff; +} + +.navbar { + padding: 0; +} + +/*---------------- +Megamenu +----------------*/ +header .mega-menu * { + font-family: 'Nunito', sans-serif; + text-transform: capitalize; +} + +header .mega-menu .badge.badge-danger { + color: #ffffff; +} + +header .mega-menu .menu-logo > li > a img { + width: auto; + position: relative; + top: 0; + left: 0; + bottom: 0; + height: 40px; + margin-top: 6px; +} + +header .mega-menu.desktopTopFixed .menu-logo > li > a img { + height: 35px; + margin-top: 8px; +} + +.menu-sidebar { + line-height: 10px; + float: right; +} + +header .mega-menu .drop-down-multilevel { + top: 70px; +} + +header .mega-menu.desktopTopFixed .drop-down-multilevel { + top: 65px; +} + +header .mega-menu .drop-down-multilevel ul, header .mega-menu.desktopTopFixed .drop-down-multilevel ul { + top: 0px; +} + +header { + position: absolute; + top: 0; + left: 0; + margin: 0 auto; + float: left; + width: 100%; + z-index: 999; +} + +header .container-fluid { + padding: 0 150px; +} + +header .mega-menu> .menu-list-items { + background: none; + padding-top: 25px; +} + +header .mega-menu .menu-links > li { + line-height: normal; +} + +header .mega-menu.desktopTopFixed .menu-list-items, header .mega-menu.mobileTopFixed .menu-list-items { + background: #ffffff; + padding: 15px 0; + -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); +} + +header .mega-menu .menu-logo > li > a { + padding: 0; + font-family: 'Nunito', sans-serif; +} + +header .mega-menu .menu-search-bar input:focus { + background: #ffffff; + color: #868894; + max-width: 220px; + border: 1px solid #9680dd; +} + +header.header-one .menu-contact a { + color: #ffffff; + padding-left: 30px; + min-height: auto; +} + +header .mega-menu .drop-down-multilevel a { + padding: 10px 15px; +} + +header.header-one .mega-menu.desktopTopFixed .menu-contact { + color: #000000; +} + +header .mega-menu .menu-links > li:hover, .mega-menu .menu-logo > li > a:hover { + background: none; +} + +header .mega-menu .menu-links > li > a { + font-size: 16px; + padding: 0 25px; + color: #1b0e3d; + letter-spacing: 1px; + font-weight: 600; + position: relative; +} + +header .mega-menu .menu-links .subtitle { + font-size: 12px; + background: #ee050a; + font-weight: 300; + color: #FFF; + padding: 0 7px; + position: absolute; + top: -5px; + left: 20px; + border-radius: 4px; + line-height: 18px; + text-transform: none; +} + +header .mega-menu .menu-links .subtitle::before { + content: ""; + width: 0; + height: 0; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-top: 10px solid #ee050a; + position: absolute; + left: 0; + right: 0; + margin: auto; + top: 15px; +} + +header .mega-menu .drop-down-multilevel a { + font-size: 16px; + min-height: auto; + letter-spacing: normal; +} + +header .mega-menu .menu-links > li > a:hover, header .mega-menu .menu-links > li > a.active { + color: #33e2a0; +} + +header .mega-menu .menu-links > li > a.active::before, header .mega-menu .menu-links > li > a:hover:before { + content: ". . ."; + position: absolute; + bottom: -12px; + color: #33e2a0; + text-align: center; + width: 100%; + left: 0; + font-size: 15px; + font-weight: 800; +} + +header .mega-menu .menu-search-bar li { + width: auto; + margin-left: 30px; + position: relative; +} + +header .mega-menu .menu-search-bar input { + box-shadow: none; +} + +header .mega-menu .drop-down-multilevel i.fas { + float: right; + line-height: normal; + padding-right: 0; + padding-top: 3px; +} + +.menu-contact a { + color: #ffffff; +} + +header .mega-menu.desktopTopFixed .menu-contact a, header .mega-menu.mobileTopFixed .menu-contact a { + color: #1b0e3d; +} + +header .mega-menu .menu-links { + padding-left: 100px; +} + +header .mega-menu .drop-down-multilevel { + max-width: 230px; +} + +header .mega-menu .menu-search-bar input { + margin: 0; + height: 48px; + position: absolute; + right: 32px; + width: 230px; + z-index: 2; + border: 0; + padding: 0; +} + +header .mega-menu .menu-search-bar li:hover i.fas.fa-search { + background: #1b0e3d; +} + +li.menu-contact { + position: relative; +} + +li.menu-contact::before { + content: ""; + position: absolute; + left: 0; + background: #9680dd; + width: 1px; + height: 30px; + top: 10px; +} + +header .mega-menu .menu-search-bar i.fas.fa-search { + cursor: pointer; + background: #33e2a0; + border-radius: 90px; + right: 30px; + height: 48px; + width: 48px; + line-height: 48px; +} + +header .mega-menu .menu-search-bar i.fas.fa-search:hover { + background: #1b0e3d; +} + +header .mega-menu .drop-down-multilevel li:hover, header .mega-menu .drop-down-multilevel li.active { + background: #33e2a0; +} + +header .mega-menu .drop-down-multilevel li:hover > a, header .mega-menu .drop-down-multilevel li.active > a { + color: #FFFFFF; +} + +header .mega-menu .menu-search-bar li:hover i.fa.fa-search { + background: #33e2a0; +} + +header .mega-menu .drop-down-multilevel { + -webkit-box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.15); + box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.15); +} + +header.header-three .mega-menu .menu-links > li > a { + color: #333333; +} + +header.header-three .mega-menu .menu-links > li > a:hover, header.header-three .mega-menu .menu-links > li > a.active { + color: #33e2a0; +} + +header.header-three .mega-menu .menu-links > li > a.active::before, header .mega-menu .menu-links > li > a:hover::before { + display: none; +} + +header.header-three .menu-contact { + color: #1b0e3d; +} + +header.header-one .menu-contact a:hover { + color: #33e2a0; +} + +#menu-1 .menu-sidebar a { + background: #33e2a0; + color: #ffffff; +} + +#menu-1 .menu-sidebar a:hover { + background: #1b0e3d; +} + +#menu-1 .iq-language { + padding: 0 10px; + border-radius: 100px; + border: 1px solid #e6e6e6; +} + +#menu-1 .menu-sidebar li { + display: inline-block; + padding: 0 0 0 20px; +} + +header.header-three .mega-menu.desktopTopFixed .menu-list-items { + background: #ffffff; +} + +.header-top-bar { + padding: 10px 0px; + border-bottom: 1px solid #9680dd; +} + +header .header-top-bar ul li { + display: inline-block; + margin: 0px 8px; +} + +header.header-two { + background: #7c60d5; +} + +header.header-two .mega-menu .menu-search-bar i.fas.fa-search { + right: 0; +} + +header.header-two .mega-menu .menu-search-bar input { + right: 5px; +} + +header.header-two .mega-menu>section.menu-list-items { + padding-top: 20px; + padding-bottom: 20px; +} + +.header-top-bar li a { + color: #ffffff; +} + +.header-top-bar li a:hover { + color: #33e2a0; +} + +header.header-two .mega-menu .menu-search-bar i.fa.fa-search { + right: 0; +} + +header.header-two .mega-menu .menu-links { + padding-left: 150px; +} + +header.header-two .mega-menu .menu-links > li > a { + color: #ffffff; +} + +header.header-two .mega-menu .menu-links > li > a:hover, header.header-two .mega-menu .menu-links > li > a.active { + color: #33e2a0; +} + +header.header-two .mega-menu.desktopTopFixed .menu-list-items, header.header-two .mega-menu.mobileTopFixed .menu-list-items { + background: #7c60d5; + padding: 15px 0; + -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); +} + +header.header-three .menu-contact { + float: left; +} + +header.header-three .menu-contact a { + color: #1b0e3d; + line-height: 50px; +} + +header.header-three .menu-contact li { + position: relative; +} + +header.header-three .menu-contact li::before { + content: ""; + position: absolute; + left: 0; + background: #e3e3e3; + width: 1px; + height: 30px; + top: 10px; +} + +header.header-three .menu-contact a:hover { + color: #33e2a0; +} + +header.header-three .mega-menu .menu-links { + padding-left: 100px; +} + +.header-navbar .navbar { + padding: 0 50px 0 0; +} + +.header-navbar .navbar .navbar-nav .nav-link { + color: #1b0e3d; + padding: 15px 25px; +} + +.header-navbar .navbar .navbar-nav .nav-link:hover { + color: #33e2a0; +} + +header.header-two .mega-menu.desktopTopFixed .hamburger { + top: 30px; + right: 150px; + position: fixed; +} + +header.header-two .mega-menu.desktopTopFixed #masthead.is-active { + position: fixed; + width: 100%; + margin-top: 27px; +} + + +/*Indewx 4*/ + +header.header-four.menu-sticky { + background: #7c60d5; +} + +header.header-four .mega-menu .menu-search-bar i.fas.fa-search { + right: 0; +} + +header.header-four .mega-menu .menu-search-bar input { + right: 5px; +} + +header.header-four .mega-menu>section.menu-list-items { + padding-top: 20px; + padding-bottom: 20px; +} + +.header-top-bar li a { + color: #ffffff; +} + +.header-top-bar li a:hover { + color: #33e2a0; +} + +header.header-four .mega-menu .menu-search-bar i.fa.fa-search { + right: 0; +} + +header.header-four .mega-menu .menu-links { + padding-left: 20px; +} + +header.header-four .mega-menu .menu-links > li > a { + color: #ffffff; +} + +header.header-four .mega-menu .menu-links > li > a:hover, header.header-four .mega-menu .menu-links > li > a.active { + color: #33e2a0; +} + +header.header-four .mega-menu.desktopTopFixed .menu-list-items, header.header-four .mega-menu.mobileTopFixed .menu-list-items { + background: #7c60d5; + padding: 15px 0; + -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); + box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1); +} + +/*------------------ +Solution Section +------------------*/ +.iq-banner { + float: left; + width: 100%; + position: relative; +} + +.iq-slolution-details { + display: block; + width: 210px; + padding: 30px 20px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; + box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1); + margin-bottom: 30px; + position: relative; + top: 0; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-slolution-details:hover { + top: -10px; + box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1); +} + +.iq-slolution-details .icon { + background: #7c60d5; + width: 80px; + height: 80px; + line-height: 80px; + text-align: center; + border-radius: 100%; + box-shadow: 0px 9px 30px 0px rgba(124, 96, 213, 0.4); +} + +.iq-slolution-details .icon i { + font-size: 40px; + color: #ffffff; +} + +.iq-slolution-left { + margin: 100px 7% 100px 0; + float: left; +} + +.iq-slolution-right { + float: left; +} + +.choose-one { + position: absolute; + bottom: -350px; + right: 0; + z-index: 1; +} + +.iq-choose-info .iqwork-one { + bottom: 50px; +} + +.iq-choose-info .iqwork-left { + position: absolute; + bottom: -360px; + left: 0; + z-index: 1; +} + +.iq-choose-info .iqwork-right { + position: absolute; + bottom: 0; + right: 0; +} + +.iq-choose-info p { + z-index: 2; + position: relative; +} + +.iq-choose-info .fancybox { + z-index: 2; + position: relative; +} + +.choose-left { + position: absolute; + left: 0; + bottom: 0; +} + +.success-images { + z-index: 1; + position: relative; +} + +.success-images img { + padding-right: 40px; +} + +.iq-address h4 i { + color: #33e2a0; + width: 30px; + text-align: center; +} + +.iq-choose-info .card .title h6 { + font-size: 18px; +} + +.iq-choose-info .card .collapse { + border-top: 1px solid transparent; +} + +.iq-choose-info .card .collapse.show { + border-top: 1px solid #1b0e3d; +} + +.iq-choose-info .iq-ad-title { + cursor: pointer; + position: relative; +} + +.iq-choose-info .card { + border: none; +} + +.iq-choose-info .card .card-header { + background: none; + padding: 0; + margin-bottom: 10px; + border: none; +} + +.iq-choose-info .card .card-body { + padding: 20px 0; +} + +.iq-choose-info .user-info img { + width: 80px; +} + +.iq-banner .left-img { + position: absolute; + left: 0; + top: -15%; + z-index: -1; + opacity: 0.6; +} + +.iq-banner .right-img { + position: absolute; + right: 0; + top: 15%; + z-index: -1; +} + +.iq-banner.banner-three { + overflow: initial; +} + +/*------------------ +Banner +------------------*/ +.iq-banner { + float: left; + width: 100%; + position: relative; + overflow: hidden; +} + +/*---------------- +Breadcrumb +----------------*/ +.iq-breadcrumb { + position: relative; + padding: 8% 0 3%; +} + +.iq-breadcrumb-info { + z-index: 9; + position: relative; +} + +.iq-breadcrumb-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: inline-block; + z-index: 0; +} + +.iq-breadcrumb .breadcrumb-one { + position: absolute; + bottom: 0; + left: 0; +} + +.iq-breadcrumb .breadcrumb-two { + position: absolute; + top: 0; + right: 0; +} + +.iq-breadcrumb nav ol { + background: none; + margin: 0; + padding-left: 0; +} + +.iq-breadcrumb .breadcrumb-item a { + font-weight: 500; + color: #868894; +} + +.iq-breadcrumb .breadcrumb-item a:hover { + color: #7c60d5; +} + +.iq-breadcrumb .breadcrumb-item+.breadcrumb-item { + margin-left: 5px; +} + +.iq-breadcrumb .breadcrumb-item+.breadcrumb-item::before { + content: ""; + background: #7c60d5; + height: 6px; + margin-top: -8px; + padding: 0; + width: 6px; + display: inline-block; + border-radius: 90px; + margin-right: 10px; +} + +.iq-breadcrumb .breadcrumb-item.active { + color: #7c60d5; +} + +.iq-breadcrumb .breadcrumb-item:last-child:after { + content: ""; + display: inline-block; + height: 1px; + width: 80px; + background: #7c60d5; + margin-left: 10px; +} + +/*------------------ +How work section +------------------*/ +.iq-works .iq-way { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + width: 92%; + height: 227px; + z-index: 0; +} + +.iq-workinfo { + z-index: 9; + position: relative; +} + +.iq-work { + margin-top: 120px; + transform: scale(1); + z-index: 1; + background: #fff; + position: relative; +} + +.work-content { + box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.1); + margin: 0 15px; +} + +.iq-work-detail { + padding: 30px 20px; +} + +.iq-work-detail img { + width: 70%; +} + +.iq-work .readmore { + display: block; + padding: 15px 30px; + border-top: 1px solid #ebebeb; + color: #868894; +} + +.iq-work .readmore i { + line-height: 32px; +} + +.iq-work .readmore:hover { + color: #33e2a0; +} + +.iq-work-id { + font-size: 20px; + line-height: 50px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + position: absolute; + left: 0; + right: 0; + margin: 0 auto; + top: -120px; + height: 50px; + width: 50px; + border-radius: 90px; + background: #ffffff; + color: #1b0e3d; + z-index: 9; +} + +.iq-work:hover .iq-work-id { + background: #33e2a0; + color: #ffffff; +} + +.iq-works .iq-way-top { + position: absolute; + top: 0; + margin: auto; + width: 100%; + height: 75px; + z-index: 0; +} + +.way-one { + left: 17%; + position: absolute; +} + +.way-two { + left: 51%; + position: absolute; +} + +.work-right { + position: absolute; + right: 0; + bottom: 0; +} + +.iq-workinfo .service-shap { + border: 10px solid #7c60d5; + background: #ffffff; + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 150px; + height: 150px; + position: relative; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + margin: 0 auto; +} + +.iq-work:after { + content: ' '; + position: absolute; + width: 50%; + height: 2px; + background: #ffffff; + top: -95px; + right: 0; + background-image: linear-gradient(to right, silver 50%, transparent 0%); + background-size: 10px 1px; + background-repeat: repeat-x; + background-position: 0% bottom; + animation-name: iq-work-before; + animation-duration: 20s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +.iq-work:before { + content: ' '; + position: absolute; + width: 50%; + height: 2px; + background: #ffffff; + top: -95px; + left: 0; + background-image: linear-gradient(to right, silver 50%, transparent 0%); + background-size: 10px 1px; + background-repeat: repeat-x; + background-position: 0% bottom; + animation-name: iq-work-before; + animation-duration: 20s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +.iq-work.first-line:before { + content: none; +} + +.iq-work.last-line:after { + content: none; +} + +@keyframes iq-work-before { + 0% { + background-position: 0% bottom; + } + + 100% { + background-position: 100% bottom; + } + +} + +/*------------------ +video section +------------------*/ +.iq-videos img { + overflow: hidden; + border-radius: 10px; +} + +.iq-video:before { + position: absolute; + content: ""; + background: url('../images/video/4.png') no-repeat 0 0; + background-size: 100%; + top: -5px; + left: 0; + width: 100%; + height: 100%; + display: inline-block; +} + +.video-play { + position: absolute; + z-index: 9; + top: 50%; + left: 50%; + margin-left: -30px; + margin-top: -30px; + background-color: #ffffff; + color: #33e2a0; + width: 80px; + height: 80px; + display: inline-block; + line-height: 80px; + text-align: center; + border-radius: 90%; +} + +.video-play i { + font-size: 18px; + vertical-align: middle; + line-height: 80px; +} + +.video-play:hover { + background-color: #7c60d5; + color: #ffffff; +} + +.video-people { + position: absolute; + height: 100%; + width: 100%; + display: inline-block; + top: 0; + left: 0; +} + +.video-people .one { + position: absolute; + bottom: -80px; + left: 30px; +} + +.video-people .two { + position: absolute; + bottom: -80px; + right: 30px; +} + +.iq-videos:before { + content: ""; + height: 500px; + width: 100%; + bottom: -2px; + position: absolute; + background: url(../images/others/video-bottom.jpg)no-repeat 0 0; + background-size: 100% 100%; + display: inline-block; +} + +.video-image { + z-index: 2; + position: relative; + overflow: hidden; + border-radius: 10px; +} + +.video-people .left-one { + position: absolute; + top: 25px; + left: -85px; + z-index: 1; +} + +.video-people .left-two { + position: absolute; + bottom: 40px; + left: -85px; + z-index: 1; +} + +.video-people .right-one { + position: absolute; + top: 18px; + right: -95px; + z-index: 1; +} + +.video-people .right-two { + position: absolute; + bottom: 35px; + right: -93px; + z-index: 1; +} + +.waves-box { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: 9; +} + +.iq-waves { + position: relative; + width: 14rem; + height: 14rem; + left: 0px; + right: 0px; + top: 50%; + z-index: 2; + float: right; +} + +.iq-waves .waves { + position: absolute; + width: 384px; + width: 15rem; + height: 384px; + height: 15rem; + background: rgba(255, 255, 255, 0.2); + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + border-radius: 320px; + background-clip: padding-box; + -webkit-animation: waves 3s ease-in-out infinite; + animation: waves 3s ease-in-out infinite; +} + +.iq-waves .wave-1 { + -webkit-animation-delay: 0s; + animation-delay: 0s; +} + +.iq-waves .wave-2 { + -webkit-animation-delay: 1s; + animation-delay: 1s; +} + +.iq-waves .wave-3 { + -webkit-animation-delay: 2s; + animation-delay: 2s; +} + +@-webkit-keyframes waves { + 0% { + -webkit-transform: scale(0.2, 0.2); + transform: scale(0.2, 0.2); + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + } + + 50% { + opacity: 0.9; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; + } + + 100% { + -webkit-transform: scale(0.9, 0.9); + transform: scale(0.9, 0.9); + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + } + +} + +@keyframes waves { + 0% { + -webkit-transform: scale(0.2, 0.2); + transform: scale(0.2, 0.2); + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + } + + 50% { + opacity: 0.9; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; + } + + 100% { + -webkit-transform: scale(0.9, 0.9); + transform: scale(0.9, 0.9); + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + } + +} + +/*----------------- +Pie chart +-----------------*/ +a.canvasjs-chart-credit { + display: none; +} + +#chartContainer { + width: 100%; + height: 300px; +} + +.legend { + list-style-type: none; + padding: 0; + margin: 0; + background: #FFF; + z-index: 2; + position: relative; +} + +.legend li { + width: 50%; + height: 1.25em; + padding: 0 15px 0 0; + float: left; + margin-bottom: 0.7em; +} + +.legend em { + font-style: normal; +} + +.legend span { + float: right; +} + +/*------------------ +Service section +------------------*/ +.services { + background: #ffffff; + position: relative; + z-index: 2; + border: 1px solid rgba(238, 238, 238, 1.0); + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + margin-bottom: 30px; + box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1); +} + +.services-info { + padding: 30px 30px; + border-bottom: 1px solid #f2f2f2; +} + +.services a { + padding: 15px 30px; + display: block; + line-height: 18px; + color: #7c60d5; + font-weight: 400; +} + +.services a span { + font-weight: 800; +} + +.services .service-shap { + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 86px; + height: 86px; + position: relative; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + overflow: hidden; + float: left; + margin-right: 25px; +} + +.services .service-shap i { + font-size: 40px; +} + +.service-shap.green { + background-color: #d6f9ec; + color: #33e2a0; + background-image: linear-gradient(-45deg, #d6f9ec 0%, #d6f9ec 100%); +} + +.service-shap.purple { + background-color: #9680dd; + color: #ffffff; + background-image: linear-gradient(-45deg, #9680dd 0%, #9680dd 100%); +} + +.service-shap.yellow { + background-color: #fbefd5; + color: #eeb744; + background-image: linear-gradient(-45deg, #fbefd5 0%, #fbefd5 100%); +} + +.service-shap.red { + background-color: #ffdede; + color: #fe6263; + background-image: linear-gradient(-45deg, #ffdede 0%, #ffdede 100%); +} + +.services:hover { + border-color: rgba(238, 238, 238, 0); + background-color: #7c60d5; + color: #ffffff; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.services:hover h5, .services:hover a { + color: #ffffff; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.service-one { + position: absolute; + left: 0; + bottom: -150px; + z-index: 1; +} + +.service-two { + position: absolute; + right: 0; + bottom: -90px; + z-index: 1; +} + +.service-three { + position: absolute; + right: 0; + bottom: 0; + z-index: -1; + width: 15%; +} + +.iqwork-one { + position: absolute; + right: 27px; + bottom: 398px; + z-index: 2; +} + +.iqwork-two { + position: absolute; + right: 0; + bottom: -275px; + z-index: 1; +} + +.services.purple:hover { + background-color: rgba(124, 96, 213, 0.7); + border-color: rgba(124, 96, 213, 0); +} + +.services.green:hover { + background-color: rgba(51, 226, 116, 0.6); +} + +.services.yellow:hover { + background-color: rgba(238, 183, 68, 0.6); +} + +.services.red:hover { + background-color: rgba(254, 98, 99, 0.7); +} + +.services:hover .services-info { + border-color: rgba(255, 255, 255, 0.2); +} + +.iq-service-info { + background: none +} + +.iq-service-info .service-shap { + background: #7c60d5; + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 70px; + height: 70px; + position: relative; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; +} + +.service-info { + z-index: 1; + letter-spacing: normal; + position: relative; + padding: 20px; + top: 0; + border-radius: 10px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.media.service-info:hover { + box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1); + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.service-info p { + line-height: 30px; +} + +.iq-service-info .service-shap i { + font-size: 35px; + color: #ffffff; +} + +.service-right { + position: absolute; + right: 0; + bottom: 0; + z-index: 1; + width: 15%; +} + +/*------------------- +Feature section +---------------------*/ +h2 > sup { + font-size: 24px; + font-weight: 900; + vertical-align: top; + line-height: 35px; + left: -18px; +} + +.display-2 { + line-height: 0.7; +} + +.iq-portfolio-page .section-title h2 > sup { + line-height: 30px; + left: -18px; +} + +.iq-portfolio { + position: relative; + overflow: hidden; + z-index: 1; + border-radius: 5px; +} + +.iq-portfolio .portfolio-info { + position: absolute; + padding: 15px; + bottom: -65px; + background: #ffffff; + width: 93%; + left: 0; + right: 0; + margin: 0 auto; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-portfolio:hover .portfolio-info { + bottom: 15px; +} + +.iq-portfolio .portfolio-info a span { + font-size: 16px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-portfolio .portfolio-info a:hover span { + color: #33e2a0; +} + +.portfolio-info h6 { + font-size: 16px; + color: #1b0e3d; +} + +.iq-recentwork { + padding: 80px 0 50px; +} + +.pricing-info { + z-index: 1; + border: 1px solid #ececec; + position: relative; + background: #fff; + padding: 15px; + margin-bottom: 0px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.pricing-list li { + width: 33.33%; + float: left; + list-style: none; +} + +.project-one { + position: absolute; + right: 0; + top: -50px; + z-index: 1; +} + +#portfolio-carousel { + z-index: 2; +} + +.project-overlay-left { + position: absolute; + left: 0px; + bottom: 50px; + z-index: 1; +} + +.portfolio-img img { + width: 100%; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.iq-portfolio img { + transition: transform 1.5s; + / Animation / -webkit-transition: all 1.5s ease-out 0s; + -moz-transition: all 1.5s ease-out 0s; + -ms-transition: all 1.5s ease-out 0s; + -o-transition: all 1.5s ease-out 0s; + transition: all 1.5s ease-out 0s; +} + +.iq-portfolio:hover img { + transform: scale(1.2); + / (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) / +} + +.iq-portfolio .portfolio-info a.text-uppercase.text-gray.float-right { + font-size: 14px; +} + +.purchase { + padding: 9px 25px; +} + +.iq-pricing-table .nav-pills { + display: block; +} + +.iq-pricing-table .nav-pills .nav-item { + display: inline-block; +} + +.iq-pricing-table .nav-pills .nav-link { + border: none; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; + margin-right: 2px; + background: #f4f4f4; + padding: 10px 30px; + font-size: 16px; +} + +.iq-pricing-table .nav-pills .nav-link.active::before, .iq-pricing-table v.nav-pills .show>.nav-link::before { + display: none; +} + +.iq-pricing-table .nav-pills .nav-link.active, .iq-pricing-table .nav-pills .show>.nav-link, .iq-pricing-table .nav-pills .nav-link:hover { + background: #33e2a0; + color: #ffffff; + -webkit-box-shadow: 0px 6px 20px -5px rgba(0, 0, 0, 0.20); + -moz-box-shadow: 0px 6px 20px -5px rgba(0, 0, 0, 0.20); + box-shadow: 0px 6px 20px -5px rgba(0, 0, 0, 0.20); +} + +.iq-pricing { + padding: 30px 15px; + text-align: center; + z-index: 1; + position: relative; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; + margin-top: 0; + border: 1px solid #f2f2f2; + transition: all 0.5s ease-in-out; + transition: all 0.5s ease-in-out; + -moz-transition: all 0.5s ease-in-out; + -ms-transition: all 0.5s ease-in-out; + -o-transition: all 0.5s ease-in-out; + -webkit-transition: all 0.5s ease-in-out; +} + +.iq-pricing:hover, .iq-pricing.active { + margin-top: -5px; + box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1); +} + +.iq-pricing li { + letter-spacing: normal; +} + +/*------------------ +Our Client Section +--------------------*/ +.iq-ourclients { + background: url("../images/testimonials/11.png")no-repeat center bottom; + background-size: 90% 76%; +} + +.iq-ourclients { + position: relative; +} + +.iq-ourclients .owl-carousel button.owl-dot { + outline: none !important; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots { + margin-top: 20px; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot span { + border: none; +} + +.iq-ourclients .owl-carousel .owl-dots { + text-align: left; +} + +.iq-ourclients .owl-carousel .owl-item { + color: #212529; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.testimonial-box { + text-align: center; + padding: 0 20%; + position: relative; +} + +.testimonial-box::before { + background: url("../images/testimonials/12.png")no-repeat 0 0; + content: ""; + position: absolute; + left: 43%; + right: 43%; + text-align: center; + top: 58%; + height: 156px; + width: 170px; + z-index: -1; +} + +.testimonial-box .description { + font-size: 20px; + font-style: italic; + font-weight: 500; + line-height: 34px; + color: #212121; +} + +.testimonial-box .testimonial-info { + font-size: 16px; + font-style: italic; + font-weight: 500; + line-height: 30px; + color: #212121; +} + +.testimonial-box h6 { + font-size: 24px; + color: #7c60d5; + font-weight: 800; +} + +.testimonial-box h6 span { + font-size: 18px; + margin-left: 15px; + color: #868894; +} + +.owl-carousel .owl-item img.img-shap { + border-radius: 100%; + height: 120px; + width: 120px; + margin: 0 auto; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot span { + -webkit-box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); + -moz-box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); + box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); + position: relative; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + border-radius: 50%; + display: inline-block; + background: url("../images/testimonials/01.jpg") no-repeat 0 0 !important; + background-size: cover !important; + transition: all 0.3s ease-in-out 0s; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot span:hover { + transform: scale(1.1); + -webkit-transform: scale(1.1); + -moz-transition: scale(1.1); + -ms-transform: scale(1.1); +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(1) span { + width: 100px; + height: 100px; + position: absolute; + top: 0px; + left: 0px; + background-color: #efecec; + border-radius: 25% 75% 40% 60% / 25% 30% 70% 75%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(2) span { + background: url("../images/testimonials/02.jpg") no-repeat 0 0 !important; + background-size: cover !important; + width: 70px; + height: 70px; + position: absolute; + top: 25%; + left: 13%; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(3) span { + background: url(../images/testimonials/03.jpg) no-repeat 0 0 !important; + background-size: cover !important; + width: 80px; + height: 80px; + position: absolute; + left: 80px; + top: 65%; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(4) span { + background: url("../images/testimonials/04.jpg") no-repeat 0 0 !important; + background-size: cover !important; + width: 60px; + height: 60px; + position: absolute; + bottom: 15%; + right: 20%; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(5) span { + background: url(../images/testimonials/05.jpg) no-repeat 0 0 !important; + background-size: cover !important; + width: 50px; + height: 50px; + position: absolute; + right: 15%; + top: 35%; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(6) span { + background: url(../images/testimonials/06.jpg) no-repeat 0 0 !important; + background-size: cover !important; + width: 70px; + height: 70px; + position: absolute; + right: 0; + bottom: 20%; + border-radius: 20% 80% 30% 60% / 25% 30% 70% 75%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:nth-child(7) span { + background: url(../images/testimonials/07.jpg) no-repeat 0 0 !important; + background-size: cover !important; + width: 100px; + height: 100px; + position: absolute; + right: 0; + top: 0; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot.active span, .iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot:hover span { + border: none; + background: none; +} + +.iq-ourclients .owl-carousel.owl-theme .owl-dots .owl-dot.active span { + border: 2px solid #7c60d5; +} + +#clients-slider .owl-item img { + -webkit-filter: grayscale(100%); + / Ch 23+, Saf 6.0+, BB 10.0+ / filter: grayscale(100%); + / FF 35+ / +} + +#clients-slider .owl-item img:hover { + -webkit-filter: none; + filter: none; +} + +.iq-testimonial { + overflow: hidden; +} + +.iq-testimonial .owl-carousel { + width: 126%; +} + +.testimonial-block { + padding: 0 0 0 45px; +} + +.iq-testimonial .testimonial-box { + padding: 0 15px; + position: relative; + margin-bottom: 65px; +} + +.testimonial-block .owl-carousel .owl-nav { + left: -172%; + top: 80%; +} + +.testimonial-block .owl-carousel .owl-nav .owl-prev { + left: 0; +} + +.testimonial-block .owl-carousel .owl-nav .owl-next { + left: 85px; + right: auto; +} + +.iq-testimonial .testimonial-box::before { + left: 35%; + right: 35%; +} + +.iq-testimonial .testimonial-box::after { + background: #f3f3f3; + content: ""; + width: 100%; + height: 100%; + position: absolute; + bottom: -60px; + left: 0; + z-index: -2; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.testimonial-box img { + transition: all 0.3s ease-in-out 0s; + -webkit-transition: all 0.3s ease-in-out 0s; + -moz-transition: all 0.3s ease-in-out 0s; + -ms-transition: all 0.3s ease-in-out 0s; +} + +.testimonial-box img:hover { + transform: scale(1.1); + -webkit-transform: scale(1.1); + -moz-transition: scale(1.1); + -ms-transform: scale(1.1); + transition: all 0.3s ease-in-out 0s; + -webkit-transition: all 0.3s ease-in-out 0s; + -moz-transition: all 0.3s ease-in-out 0s; + -ms-transition: all 0.3s ease-in-out 0s; +} + +.testimonial-box.white { + padding: 0 15px; +} + +.testimonial-box.white::before { + content: none; +} + +.testimonial-box.white .testimonial-info, .testimonial-box.white h6, .testimonial-box.white span { + color: #ffffff; +} + +.testimonial-content { + padding-bottom: 120px; +} + +.testimonial-content .owl-carousel .owl-nav { + bottom: 0; + top: inherit; +} + +.testimonial-content .owl-carousel { + background: url("../images/testimonials/13.png"); + background-size: contain; +} + +/*------------------- +Faq section +-------------------*/ +.iq-faq-list { + border: none; + float: right; + text-align: right; + display: block; +} + +.iq-faq-list .nav-link { + border: none; + font-size: 18px; +} + +.iq-faq-list li { + list-style: none; +} + +.iq-faq-list li a { + font-size: 22px; + text-align: right; +} + +.iq-faq-list li a span { + display: none; +} + +.iq-faq-list .nav-link.active { + color: #7c60d5; +} + +.iq-faq-list .nav-link.active span { + display: inline-block; +} + +.ad-title { + border-bottom: 1px solid #ececec; + font-size: 16px; + color: #1b0e3d; + padding: 15px 15px 15px 0; + float: left; + width: 100%; + position: relative; +} + +.ad-title:before { + cursor: pointer; + content: "\f216"; + font-family: "Ionicons"; + position: absolute; + top: 0; + right: 0; + display: block; + padding: 14px 0; + color: #33e2a0; + font-size: 20px; + line-height: 24px; + height: 100%; + font-weight: normal; + -webkit-transition: all 0.25s ease-in-out 0s; + -moz-transition: all 0.25s ease-in-out 0s; + transition: all 0.25s ease-in-out 0s; +} + +.iq-accordion .ad-active .ad-title:before { + content: "\f207"; + color: #7c60d5; +} + +.ad-details { + float: left; + width: 100%; + padding: 30px 0; + display: none; +} + +.iq-accordion .ad-active .ad-details { + display: block; +} + +/*---------------- +Footer +-----------------*/ +footer, footer.footer-bg { + color: #666666; + background-color: #edecf0; + overflow: hidden; + display: inline-block; + width: 100%; + clear: both; + float: left; +} + +footer.footer-one .subscribe-form input, footer.footer-one .subscribe-form input.form-control { + border: none !important; + height: 58px; +} + +footer.footer-one .title-box { + padding-right: 50px; +} + +footer .fshap-after { + content: ""; + top: -1px; + left: 0; + width: 100%; + height: 205px; + background-size: cover; + display: inline-block; + position: absolute; +} + +.iq-subscribe { + padding: 60px 45px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + margin: 0 auto; + position: relative; + background: url('../images/footer/5.jpg')no-repeat 0 bottom; +} + +.footer .social-media { + padding-left: 50px; +} + +footer .lang .iq-language, footer .lang .iq-language:focus { + background: transparent; + border: none; + outline-offset: 0; + outline: none; + color: #666666; + cursor: pointer; +} + +footer .contact a { + color: #666666; + font-weight: 500; +} + +footer .contact a:hover { + color: #33e2a0; +} + +.footer-three { + background: #f4f4f4; + padding: 60px 0 30px 0; +} + +.footer-three hr { + border-bottom: 0px; + border-top: 1px solid #e8e8e8; + margin: 60px 0 20px 0; +} + +footer.footer-three .social-media { + padding-left: 0; +} + +footer.footer-two { + position: relative; +} + +footer.footer-two .footer-link { + padding-left: 50px; + z-index: 6; +} + +footer.footer-two .footer-link li { + width: 50%; + float: left; +} + +footer.footer-two .footer-link li a { + color: #ffffff; + z-index: 4; +} + +footer.footer-two .footer-link li a:hover { + color: #33e2a0; +} + +footer.footer-two .footer-link li a:hover::before { + background: #33e2a0; +} + +footer.footer-two .footer-links li a { + color: #e6e6e6; + padding-right: 25px; +} + +footer.footer-two .social-media { + padding-left: 0; + z-index: 6; +} + +footer.footer-two .footer-links li a:hover, footer.footer-two .social-media a:hover { + color: #7c60d5; +} + +footer.footer-two .social-media a { + color: #ffffff; + font-weight: 500; +} + +footer.footer-two .footer-one { + content: ""; + top: -1px; + left: 0; + width: 100%; + height: 197px; + background-size: cover; + display: inline-block; + position: absolute; +} + +.footer-top { + padding: 220px 0 50px; +} + +footer.footer-two .footer-two { + position: absolute; + bottom: 0; + left: 0; +} + +footer.footer-two .iq-footer-logo { + padding-right: 50px; + z-index: 6; +} + +footer.footer-two .subscribe-form .bt-subscribe { + border: none; + background: none; + padding: 6px 0; +} + +footer.footer-two .subscribe-form { + padding: 0; + top: 0%; + -webkit-transform: translate(0%, -0%); + transform: translate(0%, 0%); +} + +footer.footer-two .subscribe-form input[type=email] { + color: #ffffff; + border-top: none; + border-left: none; + border-right: none; + border-bottom: 1px solid #b0a0e6; + padding-left: 0; + font-size: 16px; + background: none; + border-radius: 0; + box-shadow: none; +} + +footer.footer-two .footer-copyright { + position: absolute; + bottom: -40px; + left: 0; + right: 0; + margin: 0 auto; + color: #ffffff; + z-index: 6; +} + +footer.footer-two .footer-copyright a { + color: #33e2a0; +} + +footer.footer-two .footer-copyright a:hover { + color: #ffffff; +} + +footer.footer-two .footer-three { + position: absolute; + top: -110px; + right: 0; +} + +footer.footer-two .footer-four { + position: absolute; + left: -30px; + bottom: 85px; +} + +footer.footer-two .footer-five { + position: absolute; + top: 85px; + right: 160px; +} + +footer.footer-two .footer-six { + position: absolute; + left: 145px; + bottom: 80px; +} + +footer.footer-two .footer-seven { + position: absolute; + right: 50px; + bottom: 50px; +} + +footer.footer-two .footer-eight { + position: absolute; + bottom: 50px; + left: 30%; +} + +footer.footer-two .footer-nine { + position: absolute; + bottom: 50px; + right: 30%; +} + +footer.footer-two .footer-ten { + position: absolute; + bottom: 20px; + left: 25%; +} + +footer.footer-two .footer-eleven { + position: absolute; + bottom: 20px; + right: 25%; +} + +footer.footer-two .row.no-gutters { + z-index: 6; +} + +/*---------------- +Footer-Wave-Effect +-----------------*/ +@keyframes move_wave { + 0% { + transform: translateX(0) translateZ(0) scaleY(1) + } + + 50% { + transform: translateX(-25%) translateZ(0) scaleY(.55) + } + + 100% { + transform: translateX(-50%) translateZ(0) scaleY(1) + } + +} + +footer.footer-two .bottom-wave { + overflow: hidden; + position: absolute; + left: 0; + right: 0; + bottom: 0; + margin: auto; + height: 100px; + margin-left: calc(50% - 50vw); + margin-right: calc(50% - 50vw); + width: auto; + max-width: 1000%; +} + +footer.footer-two .main-wave { + position: absolute; + width: 100%; + overflow: hidden; + height: 100%; + bottom: -1px; +} + +footer.footer-two .waveone { + z-index: 3; + opacity: .5; +} + +footer.footer-two .wavetwo { + z-index: 2; + opacity: .75; +} + +footer.footer-two .wavethree { + z-index: 1; +} + +footer.footer-two .wave-effect { + position: absolute; + left: 0; + width: 200%; + height: 100%; + background-repeat: repeat no-repeat; + background-position: 0 bottom; + transform-origin: center bottom; +} + +footer.footer-two .wave-top { + background-size: 50% 100px; +} + +footer.footer-two .wave-top { + background-image: url('../images/others/wave-one.png'); + background-size: 50% 100px; +} + +footer.footer-two .wave-middle { + background-image: url('../images/others/wave-two.png'); + background-size: 50% 120px; +} + +footer.footer-two .wave-bottom { + background-image: url('../images/others/wave-three.png'); + background-size: 50% 100px; +} + +footer.footer-two .wave-animation .wave-top { + animation: move-wave 3s; + -webkit-animation: move-wave 3s; + -webkit-animation-delay: 1s; + animation-delay: 1s; +} + +footer.footer-two .wave-animation .wave-middle { + animation: move_wave 10s linear infinite; +} + +footer.footer-two .wave-animation .wave-bottom { + animation: move_wave 15s linear infinite; +} + +/*---------------- +Subscribe-btn +-----------------*/ +footer .subscribe-form { + padding-left: 0; + text-align: center; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; + -webkit-transform: translate(0%, -30%); + transform: translate(0%, -30%); +} + +.social-media .social { + list-style: none; +} + +.social-media .social li { + float: left; + padding: 0 20px; + position: relative; +} + +.social-media .social li:first-child { + padding-left: 0; +} + +.social-media .social li::before { + content: ""; + background: #7c60d5; + height: 6px; + width: 6px; + position: absolute; + border-radius: 90px; + top: 10px; + left: -5px; + line-height: 26px; + vertical-align: middle; +} + +.social-media .social li:first-child::before { + display: none; +} + +.lang i { + margin-left: 5px; +} + +.social-media .social li i { + font-size: 20px; +} + +.contact { + width: 100%; +} + +.contactno { + font-size: 16px; +} + +.contactno i { + padding-right: 5px; +} + +.email { + padding-left: 5px; + font-size: 16px; +} + +.email::before { + content: "|"; + padding-right: 5px; +} + +.contactinfo { + padding: 75px 0 45px 0; +} + +.footer-link h5 { + margin-bottom: 15px; + color: #7c60d5; +} + +.footer-link li { + margin-bottom: 10px; +} + +.footer-link li:last-child { + margin-bottom: 0; +} + +.footer-link li a { + position: relative; + font-size: 16px; + color: #666666; + -webkit-transition: all 0.3s ease-out 0s; + -moz-transition: all 0.3s ease-out 0s; + -ms-transition: all 0.3s ease-out 0s; + -o-transition: all 0.3s ease-out 0s; + transition: all 0.3s ease-out 0s; +} + +.footer-link li a:hover { + color: #7c60d5; + padding-left: 10px; +} + +.footer-link li a:hover::before { + content: ""; + background: #7c60d5; + height: 6px; + width: 6px; + position: relative; + display: inline-block; + border-radius: 90px; + line-height: 26px; + vertical-align: middle; + right: 10px; +} + +.testimonials .desc { + position: relative; + background: #e5e5e5; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + padding: 15px; + margin-bottom: 45px; +} + +.testimonials .desc p { + font-size: 14px; + position: relative; + line-height: 24px; +} + +.testimonials .desc::before { + width: 0; + height: 0; + position: absolute; + bottom: -27px; + left: 30px; + content: ""; + display: block; + border-top: 28px solid #e5e5e5; + border-right: 28px solid transparent; +} + +.testimonials .author i { + height: 40px; + width: 40px; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; + background: #1da1f2; + text-align: center; + font-size: 20px; + line-height: 40px; +} + +.testimonials .author .details { + font-size: 14px; + color: #666666; +} + +.testimonials .author .overview { + margin-top: -5px; +} + +footer .email a { + color: #666666; + font-weight: 500; +} + +footer .email a:hover { + color: #7c60d5 +} + +.footer-three input, .footer-three input.form-control { + height: 60px; +} + +/*------------------ +Login-page +------------------*/ +.login-info { + margin: 16.2% 150px; +} + +.login-info form { + margin: 45px 0 0; +} + +.login-footer-one { + position: absolute; + left: 0; + bottom: 0; + width: 150px; +} + +.login-footer-two { + position: absolute; + left: 0; + top: 0; +} + +.login-footer-three { + position: absolute; + right: 0; + bottom: 0; +} + +.reset-form .login-info { + margin: 25.6% 150px; +} + +/* social-icon */ +.social-list { + position: absolute; + right: 45px; + top: 55%; + -ms-transform: translateY(-50%); + transform: translateY(-50%); +} + +.social-list li { + margin-bottom: 15px; + list-style: none; +} + +.social-list li:last-child { + margin-bottom: 0; +} + +.social-list li a { + border: 1px solid #d5d5d8; + height: 45px; + width: 45px; + display: inline-block; + font-size: 19px; + color: #d5d5d8; + line-height: 45px; + text-align: center; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; +} + +.social-list li a:hover { + border: 1px solid #7c60d5; + color: #ffffff; + background: #7c60d5; +} + +/*------------------ +404-page +------------------*/ +.iq-pagenotfound .pagenotfound-info { + padding: 135px 0 70px; + overflow: hidden; +} + +.maintenance-center { + margin-bottom: 80px; +} + +.pagenotfound-left { + position: absolute; + left: 0; + bottom: 0; +} + +.pagenotfound-right { + position: absolute; + right: 0; + bottom: 0; +} + +/*------------------ +Thank You-page +------------------*/ +.iq-thankyou .thankyou-info { + padding: 158px 0 100px; + overflow: hidden; +} + +.maintenance-center { + margin-bottom: 80px; +} + +.thankyou-left { + position: absolute; + left: 0; + bottom: 0; +} + +.thankyou-right { + position: absolute; + right: 0; + bottom: 0; +} + +/*------------------ +Maintenance page +------------------*/ +.iq-maintenance { + padding: 150px 0 90px; + overflow: hidden; +} + +.maintenance-center { + margin-bottom: 80px; +} + +.maintenance-left { + position: absolute; + left: 0; + top: 0; +} + +.maintenance-right { + position: absolute; + right: 0; + bottom: 0; +} + +/*----------------- +Client Page +---------------------*/ +.clients-info { + border: 1px solid #e1e1e1; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + padding: 150px 70px; + margin-bottom: 30px; + position: relative; + overflow: hidden; +} + +.clients-hover { + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; + position: absolute; + top: -410px; + background: #7c60d5; + padding: 30px 15px 0; + height: 100%; + width: 100%; + left: 0; + right: 0; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + margin: 0 auto; + opacity: 0; +} + +.clients-details:hover .clients-hover { + top: 0; + opacity: 1; +} + +.clients-people { + position: absolute; + height: 100%; + width: 100%; + display: inline-block; + top: 0; + left: 0; + opacity: 0; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.clients-people .one { + position: absolute; + bottom: -20px; + left: 0px; +} + +.clients-people .two { + position: absolute; + bottom: -20px; + right: 0; + width: 130px; +} + +.clients-details:hover .clients-people { + opacity: 1; +} + +.overlay-right { + position: absolute; + right: 0; + bottom: 190px; +} + +/*------------------ +countdown page +------------------*/ +.countdown-page .login-info { + margin: 153px 100px 160px; +} + +.iq-countdown { + margin-top: 60px; + margin-bottom: 60px; + width: 100%; + display: flex; + float: left; +} + +.iq-countdown li { + position: relative; + list-style: none; + border: 1px solid #e4e4e4; + margin-right: 58px; + display: inline-block; + width: 103px; + padding: 15px 0; + float: left; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; + -webkit-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + -moz-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); +} + +.header-navbar .iq-countdown li:last-child { + margin-right: 0; +} + +.iq-countdown li span { + color: #1b0e3d; + font-size: 32px; + display: block; + font-weight: bold; + margin-bottom: 10px; + line-height: 40px; +} + +.iq-countdown li p { + margin-bottom: 0; + text-transform: uppercase; + color: #868894; + line-height: normal; +} + +.iq-countdown li::after { + position: absolute; + content: ":"; + right: -155px; + color: #7b5fd4; + top: 0; + font-size: 37px; + line-height: 99px; +} + +.iq-countdown li:last-child::after { + display: none; +} + +.countdown-page .login-info .subscribe-form { + margin: 0 80px; + clear: both; +} + +/*------------------ +Work Box +------------------*/ +.iq-marketing { + overflow: hidden; +} + +.iq-marketing .owl-carousel { + width: 143%; +} + +.marketing-block { + padding: 30px 0 0 60px; +} + +.marketing-block:before { + position: absolute; + content: ""; + top: 0; + left: 0; + display: inline-block; + width: 100%; + height: 40%; + background: #7c60d5; + border-radius: 6px 0px 0px 6px; + -moz-border-radius: 6px 0px 0px 6px; + -webkit-border-radius: 6px 0px 0px 6px; + border: 0px solid #000000; +} + +.marketing-block:after { + position: absolute; + content: ""; + top: 0; + left: 100%; + display: inline-block; + width: 100%; + height: 40%; + background: #7c60d5; + border-radius: 0px 0px 0px 0px; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border: 0px solid #000000; +} + +.work-box { + padding: 30px 15px; + background: #fff; + position: relative; + margin: 30px 15px; + -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.09); + -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.09); + box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.09); + z-index: 9; +} + +.work-box .big-title { + color: #ebe7f9; + font-size: 90px; + line-height: 90px; + position: absolute; + bottom: 30px; + left: 15px; + font-weight: 900; + font-family: 'Nunito', sans-serif; + z-index: -1; +} + +.marketing-block .owl-carousel .owl-nav { + left: -91%; + top: 70%; +} + +.marketing-block .owl-carousel .owl-nav .owl-prev { + left: 0; +} + +.marketing-block .owl-carousel .owl-nav .owl-next { + left: 85px; + right: auto; +} + +/*--------------------------------------------------------------------- +OWL Carousel +-----------------------------------------------------------------------*/ +.owl-carousel .owl-nav { + width: 160px; + left: 0; + right: 0; + margin: 30px auto 0; + webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; + display: block; + position: relative; + text-indent: inherit; + top: 85%; + transform: translateY(-50%); + -webkit-transform: translateY(-50%); + -o-transform: translateY(-50%); + -ms-transform: translateY(-50%); + -moz-transform: translateY(-50%); + left: 0; + cursor: pointer; + z-index: 999; +} + +.owl-carousel .owl-nav .owl-prev { + display: block; + position: absolute; + text-align: center; + text-indent: inherit; + left: 0; + width: auto; + cursor: pointer; + -webkit-transition: opacity 0.3s ease 0s, left 0.3s ease 0s; + -moz-transition: opacity 0.3s ease 0s, left 0.3s ease 0s; + -ms-transition: opacity 0.3s ease 0s, left 0.3s ease 0s; + -o-transition: opacity 0.3s ease 0s, left 0.3s ease 0s; + transition: opacity 0.3s ease 0s, left 0.3s ease 0s; +} + +.owl-carousel .owl-nav .owl-next { + display: block; + position: absolute; + text-align: center; + text-indent: inherit; + right: 0; + width: auto; + cursor: pointer; + -webkit-transition: opacity 0.3s ease 0s, right 0.3s ease 0s; + -moz-transition: opacity 0.3s ease 0s, right 0.3s ease 0s; + -ms-transition: opacity 0.3s ease 0s, right 0.3s ease 0s; + -o-transition: opacity 0.3s ease 0s, right 0.3s ease 0s; + transition: opacity 0.3s ease 0s, right 0.3s ease 0s; +} + +.owl-carousel .owl-nav i { + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + font-size: 24px; + border-radius: 25px; + width: 74px; + height: 38px; + line-height: 38px; + padding-left: 0px; + display: inline-block; + background: #FFFFFF; + font-weight: normal; + text-align: center; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.owl-carousel .owl-nav i:hover { + background: #33e2a0; + color: #ffffff; +} + +.iq-recentwork .owl-carousel .owl-nav { + top: -75px; + right: 70px; + left: auto; + width: auto; +} + +.iq-recentwork .owl-carousel .owl-nav .owl-prev { + right: 18px; + left: auto; +} + +.iq-recentwork .owl-carousel .owl-nav .owl-next { + left: auto; + right: -70px; +} + +.owl-carousel .owl-nav i::before { + line-height: 38px; +} + +/* Dots */ +.owl-carousel .owl-controls .owl-dot { + margin-top: 20px; + display: inline-block; +} + +.owl-carousel .owl-dots { + width: 100%; + display: inline-block; + text-indent: inherit; + text-align: center; + cursor: pointer; +} + +.owl-carousel .owl-dots .owl-dot span { + background: #1b0e3d; + display: inline-block; + border-radius: 90px; + margin: 0px 3px; + height: 12px; + width: 12px; + border: 1px solid #1b0e3d; + transition: all 0.5s ease-in-out; + -webkit-transition: all 0.5s ease-in-out; + -o-transition: all 0.5s ease-in-out; + -moz-transition: all 0.5s ease-in-out; + -ms-transition: all 0.5s ease-in-out; + cursor: pointer; +} + +.owl-carousel .owl-dots .owl-dot:hover span { + background: #33e2a0; + border: 1px solid #33e2a0; +} + +.owl-carousel .owl-dots .owl-dot.active span { + background: #33e2a0; + border: 1px solid #33e2a0; +} + +/*------------------ +Progress Bar +------------------*/ +.iq-progress { + position: relative; + z-index: 1; +} + +.iq-progress-bar { + background: #e6e6e6 none repeat scroll 0 0; + box-shadow: 0 0 0; + height: 8px; + margin: 0; + position: relative; + width: 100%; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; +} + +.iq-progress-bar>span { + background: #7c60d5 none repeat scroll 0 0; + display: block; + height: 100%; + width: 0; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; +} + +.iq-progress.pink .iq-progress-bar>span { + background: #ff68a1; +} + +.iq-progress.light-purple .iq-progress-bar>span { + background: #7c60d5; +} + +.iq-progress.purple .iq-progress-bar>span { + background: #6934cb; +} + +.iq-progress.green .iq-progress-bar>span { + background: #00cc88; +} + +.iq-progress.light-green .iq-progress-bar>span { + background: #33e2a0; +} + +/*===================== + CIRCLE PROGRESS BAR + ======================*/ +.progressbar { + display: inline-block; + width: 130px; + margin: 0 30px 0 0; +} + +.circle { + width: 100%; + margin: 0 auto; + margin-top: 10px; + display: inline-block; + position: relative; + text-align: center; +} + +.circle canvas { + vertical-align: middle; +} + +.circle div { + position: absolute; + top: 50px; + left: 0; + width: 100%; + text-align: center; + line-height: 40px; + font-size: 32px; + color: #1b0e3d; + font-weight: 900; +} + +.circle strong i { + font-style: normal; + font-size: 0.6em; + font-weight: normal; +} + +.circle span { + display: block; + color: #aaa; + margin-top: 12px; +} + +/************************************* +portfolio +*************************************/ +.isotope-filters { + display: table; + margin: 0 auto 40px; + text-align: center; +} + +.isotope-filters button { + z-index: 2; + position: relative; + border: none; + background: none; + margin: 0px 5px; + cursor: pointer; + padding: 0px 20px; + font-size: 16px; + color: #868894; + font-weight: 500; + transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; +} + +.isotope-filters button::before { + content: ""; + background: #7c60d5; + height: 6px; + width: 6px; + position: absolute; + border-radius: 90px; + top: 13px; + left: 0px; + line-height: 26px; + vertical-align: middle; +} + +.isotope-filters button:first-child::before { + display: none; +} + +.isotope-filters button.active, .isotope-filters button:hover { + color: #7c60d5; +} + +.isotope-filters button:focus { + outline: none; + outline-style: none; + outline-offset: 0; +} + +/* Grid And Masonry */ +.isotope.no-padding .iq-grid-item { + padding: 0 !important; +} + +.iq-masonry.no-padding .iq-masonry-item { + padding: 0 !important; +} + +.isotope, .iq-masonry { + margin: 0 -15px 0 0; + float: left; + width: 100%; + z-index: 2; +} + +.isotope .iq-grid-item { + padding: 0 15px 30px; +} + +.isotope .iq-grid-item img, .iq-masonry .iq-masonry-item img { + width: 100%; +} + +/* Grid */ +.isotope.iq-columns-1 .iq-grid-item { + width: 100%; +} + +.isotope.iq-columns-2 .iq-grid-item { + width: 50%; +} + +.isotope.iq-columns-3 .iq-grid-item { + width: 33.33333333%; +} + +.isotope.iq-columns-4 .iq-grid-item { + width: 25%; +} + +.isotope.iq-columns-5 .iq-grid-item { + width: 20%; +} + +/* Masonry */ +.iq-masonry.iq-columns-2 .iq-masonry-item { + width: 50%; + padding: 0 15px 15px 0; +} + +.iq-masonry.iq-columns-3 .iq-masonry-item { + width: 33.33333333%; + padding: 0 15px 15px 0; +} + +.iq-masonry.iq-columns-4 .iq-masonry-item, .isotope.iq-columns-4 .iq-grid-item { + width: 25%; + padding: 0 15px 15px 0; +} + +.iq-masonry.iq-columns-5 .iq-masonry-item { + width: 20%; + padding: 0 15px 15px 0; +} + +/* Grid Full Screen */ +.isotope.full-grid, .iq-masonry.full-grid { + margin: 0 -15px 0 0; +} + +.isotope.full-grid .iq-grid-item { + padding: 0 15px 15px 0; +} + +@media(max-width:1199px) { + .iq-masonry.iq-columns-4 .iq-masonry-item, .isotope.iq-columns-4 .iq-grid-item { + width: 33.3% + } + + .isotope.iq-columns-5 .iq-grid-item { + width: 25%; + } + .iq-masonry.iq-columns-3 .iq-masonry-item, .isotope.iq-columns-3 .iq-grid-item { + width: 33.3% + } + + +} + +@media(max-width:992px) { + .iq-masonry.iq-columns-4 .iq-masonry-item, .isotope.iq-columns-4 .iq-grid-item { + width: 50%; + } + + .isotope.iq-columns-3 .iq-grid-item, .isotope.iq-columns-5 .iq-grid-item { + width: 50%; + } + + .iq-masonry.iq-columns-3 .iq-masonry-item, .isotope.iq-columns-3 .iq-grid-item { + width: 50%; + } + +} + +@media(max-width:767px) { + .iq-masonry.iq-columns-4 .iq-masonry-item, .isotope.iq-columns-4 .iq-grid-item, .isotope.iq-columns-2 .iq-grid-item, .isotope.iq-columns-3 .iq-grid-item, .isotope.iq-columns-5 .iq-grid-item { + width: 100% + } + + .iq-masonry.iq-columns-3 .iq-masonry-item, .isotope.iq-columns-3 .iq-grid-item, .isotope.iq-columns-2 .iq-grid-item, .isotope.iq-columns-3 .iq-grid-item, .isotope.iq-columns-5 .iq-grid-item { + width: 100% + } + +} + +.font-c { + font-family: 'Nunito', sans-serif; +} + +/*---------------- +Tab +----------------*/ +#iq-tab li.nav-item { + width: 18%; + margin-right: 25px; + text-align: center; +} + +#iq-tab li.nav-item:last-child { + margin-right: 0; +} + +#iq-tab li.nav-item .nav-link { + background: #ffffff; + padding: 20px 10px 30px 10px; + text-align: center; + color: #1b0e3d; + font-size: 16px; + font-weight: 600; + position: relative; +} + +#iq-tab li.nav-item .nav-link img { + display: block; + margin: 0 auto 20px; +} + +#iq-tab li.nav-item .nav-link.active, .nav-pills .show>.nav-link { + background: #7c60d5; + box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.15); + color: #ffffff; +} + +.nav-pills .nav-link.active::before, .nav-pills .show>.nav-link::before { + content: ". . ."; + position: absolute; + bottom: 15px; + color: #33e2a0; + text-align: center; + width: 100%; + left: 0; + font-size: 30px; + font-weight: 900; +} + +#iq-tab .tab-content { + margin-top: 60px; +} + +#iq-tab .tab-content .services { + border: none; + box-shadow: none; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; +} + +#iq-tab .tab-content .services .info { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} + +#iq-tab .tab-content .services:hover { + background: none; + color: #868894; +} + +#iq-tab .tab-content .services:hover h6 { + color: #33e2a0; +} + +.services-tab .nav-pills { + background: #f4f4f4; + padding: 10px; + border-radius: 5px; +} + +#iq-tab li a span { + display: inherit; +} + +#iq-tab li a i { + font-size: 40px; +} + +/*---------------- +Breadcrumb +----------------*/ +.iq-breadcrumb { + position: relative; + padding: 8% 0 0%; + background: #eeeeee; +} + +.iq-breadcrumb-info { + z-index: 9; + position: relative; +} + +.iq-breadcrumb-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: inline-block; + z-index: 0; +} + +.iq-breadcrumb .breadcrumb-one { + position: absolute; + bottom: 0; + left: 0; +} + +.iq-breadcrumb .breadcrumb-two { + position: absolute; + top: 0; + right: 0; +} + +.iq-breadcrumb .breadcrumb-three { + position: absolute; + right: 0; + bottom: 20%; +} + +.iq-breadcrumb nav ol { + background: none; + margin: 0; + padding-left: 0; +} + +.iq-breadcrumb .breadcrumb-item { + font-family: 'Nunito', sans-serif; +} + +.iq-breadcrumb .breadcrumb-item a { + font-weight: 500; + color: #868894; + font-family: 'Nunito', sans-serif; +} + +.iq-breadcrumb .breadcrumb-item a:hover { + color: #7c60d5; +} + +.iq-breadcrumb .breadcrumb-item+.breadcrumb-item { + margin-left: 5px; + font-weight: 600; +} + +.iq-breadcrumb .breadcrumb-item+.breadcrumb-item::before { + content: ""; + background: #7c60d5; + height: 6px; + margin-top: -8px; + padding: 0; + width: 6px; + display: inline-block; + border-radius: 90px; + margin-right: 10px; +} + +.iq-breadcrumb .breadcrumb-item.active { + color: #7c60d5; +} + +.iq-breadcrumb .breadcrumb-item:last-child:after { + content: ""; + display: inline-block; + height: 1px; + width: 80px; + background: #7c60d5; + margin-left: 10px; +} + +.iq-breadcrumb .scrollme img { + z-index: 1; +} + +/*---------------- +blog +----------------*/ +.main-blog { + background: #fff; + margin-bottom: 50px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + overflow: hidden; +} + +section.iq-blogs { + overflow: hidden; +} + +.main-blog { + background: #fff; + margin-bottom: 50px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.main-blog:hover { + box-shadow: 0px 0px 10px 1px rgba(124, 96, 213, 0.2); + -webkit-box-shadow: 0px 0px 10px 1px rgba(124, 96, 213, 0.2); + -moz-box-shadow: 0px 0px 10px 1px rgba(124, 96, 213, 0.2); + box-shadow: 0px 0px 10px 1px rgba(124, 96, 213, 0.2); +} + +.iq-blogs .blog-img { + overflow: hidden; +} + +.iq-blogs .blog-img img { + width: 100%; + overflow: hidden; + transition: transform 1.5s; + -webkit-transition: all 1.5s ease-out 0s; + -moz-transition: all 1.5s ease-out 0s; + -ms-transition: all 1.5s ease-out 0s; + -o-transition: all 1.5s ease-out 0s; + transition: all 1.5s ease-out 0s; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.iq-blogs .main-blog:hover .blog-img img { +} + +.main-blog .blog-detail { + padding: 15px; +} + +.main-blog .blog-detail .blog-info { + border-top: 1px solid #e1e1e1; + padding: 15px 0 0; + margin-top: 15px; + display: inline-block; + width: 100%; +} + +.main-blog .blog-detail .blog-info ul li { + margin-right: 10px; +} + +.main-blog .blog-detail .blog-info ul li:last-child { + margin-right: 0; +} + +.main-blog .blog-detail .blog-info ul li a i { + color: #1b0e3d; + margin-right: 5px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.main-blog .blog-detail .blog-info ul li a:hover i { + color: #33e2a0; +} + +.iq-blogs .pagination li { + margin-right: 10px; +} + +.iq-blogs .pagination li a { + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); +} + +.main-blog .blog-detail a { + font-family: 'Nunito', sans-serif; +} + +.main-blog .blog-detail a:hover h5 { + color: #33e2a0; +} + +.main-blog .blog-detail h5 { + margin-bottom: 5px; +} + +.main-blog .blog-info ul li a { + line-height: 50px; +} + +.owl-carousel .main-blog { + margin: 15px; +} + +.iq-blogs .blog-one { + width: 18%; + position: absolute; + right: 0px; + top: 0; + overflow: hidden; +} + +.iq-blogs .owl-carousel .owl-nav { + top: auto; + bottom: 0px; +} + +.blog-left { + position: absolute; + left: 0; + top: 0; +} + +.reply-btn:hover { + color: #1b0e3d; +} + +.reply-btn i { + vertical-align: middle; +} + +.iq-blogs .blog-img .comments-box img { + width: auto; +} + +/*---------------- +Paging +----------------*/ +.page-item:first-child .page-link i, .page-item:last-child .page-link { + text-align: center; + color: #1b0e3d; +} + +.iq-blogs .page-item .page-link:hover i { + color: #ffffff; +} + +.page-item:first-child .page-link, .page-item:last-child .page-link { + padding: 10px 40px; + border-radius: 90px; + text-align: center; + width: auto; + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-blogs .page-link { + border-radius: 90px; + width: 45px; + height: 45px; + line-height: 28px; + text-align: center; + color: #000000; +} + +.iq-blogs .page-item.active .page-link, .iq-blogs .page-item .page-link:hover, .iq-blogs .page-item .page-link:focus { + background: #33e2a0; + border-color: #33e2a0; + border-radius: 90px; + text-align: center; + color: #ffffff; + box-shadow: none; + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -webkit-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + -moz-box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + box-shadow: 0px 8px 14.4px 1.6px rgba(0, 0, 0, 0.15); + z-index: 1; +} + +.iq-blogs .pagination li { + z-index: 1; +} + +/*-------------- +Iq Pproject Info +---------------*/ +.iq-project-info .media { + z-index: 2; + background: #ffffff; + padding: 15px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; + margin-bottom: 30px; + position: relative; + top: 0; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-project-info .media:hover { + box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1); + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-project-info .media i { + font-size: 40px; + color: #ffffff; + float: right; + background: #7c60d5; + line-height: 60px; + height: 60px; + width: 60px; + text-align: center; + border-radius: 100%; +} + +.iq-project-info .media span { + font-size: 18px; + font-weight: normal; + color: #868894; +} + +.iq-project-info .media:hover h5 a, .iq-service-info .media:hover h5 a { + color: #33e2a0; +} + +ul.iq-project-info { + margin-left: -20px; +} + +ul.iq-project-info li { + margin-bottom: 15px; +} + +ul.iq-project-info li:last-child { + margin-bottom: 0px; +} + +h3.d-inline-block.iq-fw-8 { + z-index: 2; + position: relative; +} + +/*---------------- +side-bar +----------------*/ +.iq-blogs .media a h6:hover { + color: #33e2a0 +} + +.iq-blogs .iq-widget-search a { + position: absolute; + right: 6px; + color: #ffffff; + cursor: pointer; + width: 48px; + height: 48px; + line-height: 48px; + background: #33e2a0; + font-size: 18px; + border-radius: 90px; + top: 4px; + text-align: center; +} + +.iq-blogs img { + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.iq-sidebar-widget ul li a span { + margin-top: 4px; + width: 24px; + height: 24px; + display: inline-block; + background: #7c60d5; + line-height: 24px; + text-align: center; + border-radius: 90px; + color: #ffffff; + float: right; + font-weight: normal; +} + +.blog-title-img { + border: 1px solid #e4e4e4; + padding: 30px 15px; +} + +.blog-title-img img { + width: 120px; + height: 120px; +} + +.iq-mt-80 { + margin-top: 45px; +} + +.left-side-blog { + padding-right: 20px; +} + +.right-side-blog { + padding-left: 20px; +} + +.main-blog .blog-detail .blog-info .user-img { + width: 50px; + height: 50px; +} + +.left-side-blog .media img, .right-side-blog .media img { + width: 80px; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; +} + +/*---------------- +SideBar - Tags +----------------*/ +.iq-tags li { + padding-left: 2px; + display: inline-block; + padding-right: 2px; + margin: 0 0 26px; +} + +.iq-tags li a { + background: #f4f6fd; + color: #000000; + padding: 8px 10px; + border: 1px solid #e4e4e4; + border-radius: 90px; + transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; +} + +.iq-tags li a:hover { + border-color: #7c60d5; + background: #7c60d5; + color: #ffffff; +} + +/*---------------- +Blockquote +----------------*/ +.blog-finding ul li a i { + color: #868894; + margin-right: 5px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.blog-finding ul li a:hover i { + color: #33e2a0; +} + +.iq-blockquote h5 { + padding: 45px 60px; +} + +.iq-blockquote:before { + background: url(../images/blog/01.png); + background-repeat: no-repeat; + bottom: 0; + right: 0; + display: inline-block; + height: 95px; + content: ""; + width: 356px; + position: absolute; +} + +.blog-finding ul { + border-top: 1px solid #e1e1e1; + padding-top: 15px; + margin-top: 15px; + display: inline-block; + width: 100%; +} + +.double-quotes:before { + content: "\f10d"; + font-family: FontAwesome; + position: absolute; + top: 15px; + left: 15px; + font-size: 44px; + color: #f0f0f0; + line-height: normal; +} + +.comments-box { + padding: 30px; + border: 1px solid #e1e1e1; +} + +/*---------------- +Horizontal Timeline +----------------*/ +.iq-history-info { + margin: 0 200px; + padding: 60px 30px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +/*---------------- +Team +----------------*/ +.team-box { + border: 1px solid #e5e5e5; + position: relative; + padding: 30px; + overflow: hidden; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + +.team-box.light-brd { + border: 1px solid rgba(255, 255, 255, 0.2); +} + +.team-detail { + margin-top: 30px; + display: -ms-flexbox; + display: flex; + -ms-flex-align: start; + align-items: flex-start; +} + +.team-detail .team-info { + -ms-flex: 1; + flex: 1; +} + +.team-detail .team-info span { + font-size: 14px; + line-height: 0; +} + +.team-hover p { + line-height: 20px; +} + +.team-plus { + height: 45px; + width: 45px; + text-align: center; + line-height: 45px; + background-color: #33e2a0; + color: #ffffff; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; + margin-right: 15px; + align-self: center !important; +} + +.team-plus i.fas.fa-plus { + line-height: 45px; +} + +.team-hover { + background-color: #6934cb; + position: absolute; + display: inline-block; + width: 100%; + height: 65%; + opacity: 0; + top: 0%; + left: 0; + color: #ffffff; + padding: 20px 20px 0; + font-size: 14px; + line-height: 26px; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.team-hover:before { + width: 0; + height: 0; + border-left: 10px solid transparent; + border-right: 10px solid transparent; + border-top: 10px solid #6934cb; + position: absolute; + content: ""; + bottom: -10px; + left: 43px; +} + +.team-hover ul li { + margin: 0 5px; +} + +.team-hover ul li a { + font-size: 18px; + color: #ffffff; +} + +.team-hover ul li a:hover { + color: #33e2a0; +} + +.team-box:hover .team-plus { + background-color: #6934cb; + color: #ffffff; +} + +.team-box:hover .team-hover { + opacity: 1; +} + +.team-box:hover .team-plus { + -ms-transform: rotate(45deg); /* IE 9 */ + -webkit-transform: rotate(45deg); /* Safari 3-8 */ + transform: rotate(45deg); +} + +.iq-aboutteam .team-box { + border-color: #8970d9; +} + +.team-one { + position: absolute; + top: -98px; + left: 0; +} + +.team-two { + position: absolute; + bottom: 0; + left: 0; +} + +.about-one { + position: absolute; + top: -140px; + right: 0; +} + +.iq-bestteam:after { + content: ""; + height: 165px; + width: 100%; + bottom: -2px; + position: absolute; + display: inline-block; + background: url(../images/others/timeline-bottom.png) no-repeat; +} + +.iq-bestteam { + padding-bottom: 100px; +} + +.iq-bestteam .team-box { + border: 1px solid #e5e5e5; + margin-bottom: 30px; +} + +/*---------------- +about-me +----------------*/ +.iq-team-details .download-link a i { + font-size: 25px; +} + +.iq-team-details .contact-btn { + padding: 10px 30px; +} + +.team-name .media i { + font-size: 25px; + color: #33e2a0; + line-height: 40px; +} + +.iq-team-details .team-name { + width: 330px; + position: absolute; + border: 1px solid #e1e1e1; + background-color: #ffffff; + top: 26%; + right: 10%; + box-shadow: 0px 13px 36.8px 3.2px rgba(0, 0, 0, 0.1); +} + +.iq-team-details .download-link a { + padding: 20px; + border-top: 1px solid #ebebeb; + color: #7c60d5; + width: 100% +} + +.owl-carousel .owl-item img.user-img { + width: 50px; + display: inline-block; +} + +.team-name .media { + padding: 45px 30px 0; +} + +.iq-team-details .download-link a:hover { + color: #33e2a0; +} + +/*---------------- +team-detail +----------------*/ +.iq-team-info .download-link a i { + font-size: 25px; +} + +.iq-team-info .contact-btn { + padding: 10px 30px; +} + +.team-info .media i { + font-size: 25px; + color: #33e2a0; + line-height: 40px; +} + +.iq-team-info .team-info { + width: 330px; + position: absolute; + border: 1px solid #e1e1e1; + background-color: #ffffff; + right: 47px; + top: 122px; + box-shadow: 0px 13px 36.8px 3.2px rgba(0, 0, 0, 0.1); +} + +.iq-team-info .personal-detail { + padding: 0 0 0 30px; +} + +.iq-team-info .download-link a { + padding: 20px; + border-top: 1px solid #ebebeb; + color: #7c60d5; + float: left; + width: 100% +} + +.team-info .media { + padding: 25px 30px 0; +} + +.team-info .media:first-child { + padding: 50px 30px 0; +} + +.iq-team-info .download-link a:hover { + color: #33e2a0; +} + +/*---------------- +team-detail +----------------*/ +.iq-team-info .download-link a i { + font-size: 25px; +} + +.iq-team-info .contact-btn { + padding: 10px 30px; +} + +.team-info .media i { + font-size: 25px; + color: #33e2a0; + line-height: 40px; +} + +.iq-team-info .team-info { + width: 330px; + position: absolute; + border: 1px solid #e1e1e1; + background-color: #ffffff; + right: 47px; + top: 122px; + box-shadow: 0px 13px 36.8px 3.2px rgba(0, 0, 0, 0.1); +} + +.iq-team-info .personal-detail { + padding: 0 0 0 30px; +} + +.iq-team-info .download-link a { + padding: 20px; + border-top: 1px solid #ebebeb; + color: #7c60d5; + float: left; + width: 100% +} + +.team-info .media { + padding: 25px 30px 0; +} + +.team-info .media:first-child { + padding: 50px 30px 0; +} + +.iq-team-info .download-link a:hover { + color: #33e2a0; +} + +/*---------------- +Process- +----------------*/ +.process-shap { + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 86px; + height: 86px; + right: -49px; + position: absolute; + background-color: #33e2a0; + background-image: linear-gradient(-45deg, #33e2a0 0%, #33e2a0 100%); + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + overflow: hidden; +} + +.animationnew-shap { + position: absolute; + top: 0%; + right: 0; +} + +.animation-shap { + position: absolute; + top: 0%; + left: 0; +} + +.animation-shap { + position: absolute; + top: 0%; + left: 0; +} + +.animation-shap .shap-bg, .animationnew-shap .shap-bg { + text-align: center; + align-content: center; + align-items: center; + justify-content: center; + width: 515px; + height: 515px; + margin: auto; + position: relative; + background-color: #33e2a0; + background-image: linear-gradient(-45deg, #33e2a0 0%, #33e2a0 100%); + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + box-shadow: 15px 15px 50px rgba(0, 0, 0, 0.2); + animation: one-animated 5s infinite; + overflow: hidden; +} + +@keyframes one-animated { + 0% { + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% + box-shadow:15px 15px 50px rgba(0, 0, 0, 0.2); + } + + 25% { + border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; + } + + 50% { + border-radius: 50% 50% 33% 67% / 55% 27% 73% 45% + box-shadow:-10px -5px 50px rgba(0, 0, 0, 0.2); + } + + 75% { + border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; + } + +} + +@keyframes two-animated { + 0% { + border-radius: 70% 30% 30% 70% / 70% 70% 30% 30% + box-shadow:15px 15px 50px rgba(0, 0, 0, 0.2); + } + + 25% { + border-radius: 40% 80% 30% 90% / 72% 65% 35% 28%; + } + + 50% { + border-radius: 65% 35% 45% 55% / 22% 48% 52% 78% + box-shadow:-10px -5px 50px rgba(0, 0, 0, 0.2); + } + + 75% { + border-radius: 24% 76% 10% 90% / 44% 68% 32% 56%; + } + +} + +@keyframes three-animated { + 0% { + border-radius: 12% 88% 40% 40% / 20% 15% 85% 80% + box-shadow:15px 15px 50px rgba(0, 0, 0, 0.2); + } + + 25% { + border-radius: 72% 28% 30% 90% / 15% 46% 54% 85%; + } + + 50% { + border-radius: 12% 88% 40% 40% / 20% 15% 85% 80% + box-shadow:-10px -5px 50px rgba(0, 0, 0, 0.2); + } + + 75% { + border-radius: 18% 82% 10% 90% / 24% 68% 32% 76%; + } + +} + +.process-shap.shap-bg { + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 86px; + height: 86px; + right: -49px; + position: absolute; + background-color: #7c60d5; + background-image: linear-gradient(-45deg, #7c60d5 0%, #7c60d5 100%); + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + overflow: hidden; +} + +.process-shap span { + text-align: center; + line-height: 86px; + font-size: 30px; + color: #ffffff; +} + +.process-main { + margin: 0px; + border: 2px dashed rgba(0, 0, 0, 0.3); + position: relative; + width: 100%; + padding-bottom: 50px; + padding-top: 50px; +} + +.right-side { + border-top: 0; + border-left: 0; +} + +.process-detail { + padding-right: 90px; +} + +.process-main.left-side { + border-top: 0; + border-right: 0; +} + +.process-shap.shap-left { + left: -49px; +} + +.process-left { + padding-left: 90px; +} + +.main-process:before { + border-right: 2px dashed rgba(0, 0, 0, 0.3); + position: absolute; + right: 0; + bottom: -90px; + height: 90px; + content: ""; +} + +.main-process:after { + background: url('../images/others/arrow.png'); + width: 34px; + background-repeat: no-repeat; + content: ""; + position: absolute; + right: -14px; + bottom: -104px; + height: 38px; +} + +.process-main:first-child::before { + height: 20px; + width: 20px; + background: #e2e3ea; + content: ""; + border-radius: 90px; + position: absolute; + right: -10px; + top: -21px; +} + +/*---------------- +Time-Line Education +----------------*/ +.timeline-top { + z-index: 2; +} + +.timeline-shap { + position: absolute; + top: -57px; + left: 6px; +} + +.right-detail { + width: 50%; + display: inline-block; + border: 1px solid rgba(255, 255, 255, 0.2); + padding: 15px; + margin-left: 10%; +} + +.left-detail { + padding: 74px 30px 74px 0; + text-align: right; + border-right: 1px solid rgba(255, 255, 255, 0.2); + position: relative; + width: 40%; +} + +.first-detail { + padding: 100px 30px 74px 0px; + width: 40%; +} + +.left-detail:before { + height: 20px; + width: 20px; + background: #33e2a0; + content: ""; + border-radius: 90px; + position: absolute; + right: -10px; + top: 40%; +} + +.left-details:before { + height: 20px; + width: 20px; + background: #33e2a0; + content: ""; + border-radius: 90px; + position: absolute; + right: -10px; + top: 47%; +} + +/*------------------------------------- +Brand Section +---------------------------------------*/ +.iq-brand-list { + overflow: hidden; +} + +.iq-brand-list .owl-item .item img { + width: auto; +} + +.iq-brand-list .owl-item .item { + list-style: none; + border: 1px solid #e5e5e6; + display: inline-block; + margin: 30px; + padding: 15px; + border-radius: 90px; + -webkit-box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); + -moz-box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); + box-shadow: 0px 14px 65px 0px rgba(124, 96, 213, 0.3); +} + +.iq-brand-list .owl-item:nth-child(even) { + margin: 80px 0; + vertical-align: bottom; +} + +.contact-icon { + font-size: 24px; + color: #33e2a0; +} + +.contact-ifream { + height: 400px; + border: none; +} + +/*------------------ +How work section +------------------*/ +.iq-works .iq-way { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + width: 92%; + height: 227px; + z-index: 0; +} + +.iq-workinfo { + z-index: 9; + position: relative; +} + +.iq-work { + margin-top: 120px; + transform: scale(1); + z-index: 1; + background: #fff; + position: relative; +} + +.work-content { + box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.1); + margin: 0 15px; +} + +.iq-work-detail { + padding: 30px 15px; +} + +.iq-work-detail img { + width: 70%; +} + +.iq-work .readmore { + display: block; + padding: 15px 30px; + border-top: 1px solid #ebebeb; + color: #1b0e3d; +} + +.iq-work .readmore span { + font-size: 24px; + line-height: 24px; +} + +.iq-work .readmore:hover { + color: #33e2a0; +} + +.iq-work-id { + font-size: 20px; + line-height: 50px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + position: absolute; + left: 0; + right: 0; + margin: 0 auto; + top: -120px; + height: 50px; + width: 50px; + border-radius: 90px; + background: #ffffff; + color: #1b0e3d; + z-index: 9; +} + +.iq-work:hover .iq-work-id { + background: #33e2a0; + color: #ffffff; +} + +.iq-works .iq-way-top { + position: absolute; + top: 0; + margin: auto; + width: 100%; + height: 75px; + z-index: 0; +} + +.way-one { + left: 17%; + position: absolute; +} + +.way-two { + left: 51%; + position: absolute; +} + +.work-right { + position: absolute; + right: 0; + bottom: 0; +} + +.iq-workinfo .service-shap { + border: 10px solid #7c60d5; + background: #ffffff; + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 150px; + height: 150px; + position: relative; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + margin: 0 auto; +} + +.iq-work:after { + content: ' '; + position: absolute; + width: 50%; + height: 2px; + background: #ffffff; + top: -95px; + right: 0; + background-image: linear-gradient(to right, silver 50%, transparent 0%); + background-size: 10px 1px; + background-repeat: repeat-x; + background-position: 0% bottom; + animation-name: iq-work-before; + animation-duration: 20s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +.iq-work:before { + content: ' '; + position: absolute; + width: 50%; + height: 2px; + background: #ffffff; + top: -95px; + left: 0; + background-image: linear-gradient(to right, silver 50%, transparent 0%); + background-size: 10px 1px; + background-repeat: repeat-x; + background-position: 0% bottom; + animation-name: iq-work-before; + animation-duration: 20s; + animation-timing-function: linear; + animation-iteration-count: infinite; +} + +.iq-work.first-line:before { + content: none; +} + +.iq-work.last-line:after { + content: none; +} + +@keyframes iq-work-before { + 0% { + background-position: 0% bottom; + } + + 100% { + background-position: 100% bottom; + } + +} + +/*---------------- +Tab +----------------*/ +#iq-tab li.nav-item { + width: 18%; + margin-right: 25px; + text-align: center; +} + +#iq-tab li.nav-item:last-child { + margin-right: 0; +} + +#iq-tab li.nav-item .nav-link { + background: #ffffff; + padding: 30px 15px; + text-align: center; + color: #1b0e3d; + font-size: 16px; + font-weight: 600; + position: relative; + border-radius: 10px; +} + +#iq-tab li.nav-item .nav-link img { + display: block; + margin: 0 auto 20px; +} + +#iq-tab li.nav-item .nav-link.active, .nav-pills .show>.nav-link { + background: #7c60d5; + box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.15); + color: #ffffff; +} + +.nav-pills .nav-link.active::before, .nav-pills .show>.nav-link::before { + content: ". . ."; + position: absolute; + bottom: 15px; + color: #33e2a0; + text-align: center; + width: 100%; + left: 0; + font-size: 30px; + font-weight: 900; +} + +#iq-tab .tab-content { + margin-top: 60px; +} + +#iq-tab .tab-content .services { + border: none; + box-shadow: none; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: flex-start; +} + +#iq-tab .tab-content .services .info { + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; +} + +#iq-tab .tab-content .services:hover { + background: none; + color: #868894; +} + +#iq-tab .tab-content .services:hover h6 { + color: #33e2a0; +} + +.services-tab .nav-pills { + background: #f4f4f4; + padding: 15px; + border-radius: 10px; +} + +#iq-tab li a span { + display: inherit; +} + +#iq-tab li a i { + font-size: 50px; + color: #7c60d5; +} + +#iq-tab li.nav-item .nav-link.active i, .nav-pills .show>.nav-link i { + color: #ffffff; +} + +.position-relative.overview-block-pb5{z-index: 9;} + +/*---------------- + Solution +----------------*/ +.iq-solutions .media { + padding: 15px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + border-radius: 10px; + box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0); + margin-bottom: 30px; + position: relative; + top: 0; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.iq-solutions .media:hover { + box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1); +} + +.iq-solutions .media i { + font-size: 40px; + color: #ffffff; + float: right; + background: #7c60d5; + border-radius: 100%; + box-shadow: 0px 9px 30px 0px rgba(124, 96, 213, 0.4); + width: 70px; + height: 70px; + text-align: center; + line-height: 70px; +} + +.iq-solutions .media span { + font-size: 36px; + font-weight: 800; + color: #1b0e3d; +} + +.iq-solutions .media .counter { + position: relative +} + +.iq-solutions .media .counter:after { + position: absolute; + right: -15px; + top: -5px; + content: "+"; + font-size: 24px; + font-weight: bold; +} + +span.counter { + font-size: 60px; +} + +/*---------------- +team +----------------*/ +.team-three { + overflow: hidden; +} + +.team-three .team-bg { + position: relative; + overflow: hidden; +} + +.team-three .team-bg img { + width: 100%; + border-radius: 10px; +} + +.team-three .social-box { + padding: 15px 0; + -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08); + box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08); + position: absolute; + width: 100%; + bottom: 0; + left: -100%; + text-align: center; + background: #ffffff; + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +.team-three:hover .social-box { + left: 0; +} + +.team-three .social-box a i { + font-size: 24px; + color: #1d1e34; + margin: 0 10px; +} + +.team-three .social-box a:hover i { + color: #815ded; +} + +.team-three .team-content { + margin-top: 15px; +} + +.team-three .team-content h5 { + font-weight: 800; +} + +.team-three .team-content p { + font-size: 14px; + margin-bottom: 0; +} + +.circle { + top: 40%; + left: 5%; +} + +.team-three:hover { + box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1); + border-radius: 10px; +} + +/*---------------- +Features +----------------*/ +.features { + background: #f4f4f4; +} + +.features .iq-slolution-details { + width: 100%; + padding: 30px 30px; + background: #ffffff; +} + +.features .iq-slolution-details p { + font-size: 14px; + line-height: 24px; +} + +.cd-horizontal-timeline .events-content ol { + padding: 0; +} + +.iq-choose-info .video-play { + position: inherit; + z-index: inherit; + top: inherit; + left: inherit; + margin-left: 0; + margin-top: 0; + background-color: #7c60d5; + color: #ffffff; + width: 50px; + height: 50px; + line-height: 50px; + text-align: center; + border-radius: 100%; + display: block; +} + +.iq-choose-info .video-play:hover { + background-color: #06d9b5; +} + +.iq-choose-info .video-play i { + font-size: 16px; + vertical-align: inherit; + line-height: 50px; +} + +.iq-choose-info img { + width: auto !important; +} + + +/*------------------ +How work section +------------------*/ +.iq-offers .iq-way { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + width: 92%; + height: 227px; + z-index: 0; +} + +.iq-offersinfo { + z-index: 9; + position: relative; +} + +.iq-offers { + border-radius: 20px; + transform: scale(1); + z-index: 1; + background: #fff; + position: relative; + box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.1); + margin-bottom: 30px; +} + + +.iq-offers-detail { + padding: 30px; +} + +.iq-offers-detail img { + width: 70%; +} + +.iq-offers .readmore { + display: block; + padding: 10px 30px; + border-top: 1px solid #ebebeb; + color: #1b0e3d; + text-align: center; +} + +.iq-offers .readmore span { + font-size: 24px; + line-height: 24px; +} + +.iq-offers .readmore:hover { + color: #33e2a0; +} + +.iq-offers-id { + font-size: 20px; + line-height: 50px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 30px -2px; + position: absolute; + left: 0; + right: 0; + margin: 0 auto; + top: -120px; + height: 50px; + width: 50px; + border-radius: 90px; + background: #ffffff; + color: #1b0e3d; + z-index: 9; +} + +.iq-offers:hover .iq-offers-id { + background: #33e2a0; + color: #ffffff; +} + +.iq-offers .iq-way-top { + position: absolute; + top: 0; + margin: auto; + width: 100%; + height: 75px; + z-index: 0; +} + +.way-one { + left: 17%; + position: absolute; +} + +.way-two { + left: 51%; + position: absolute; +} + +.offers-right { + position: absolute; + right: 0; + bottom: 0; +} + +.iq-offersinfo .service-shap { + border: 10px solid #7c60d5; + background: #ffffff; + text-align: center; + display: flex; + align-content: center; + align-items: center; + justify-content: center; + width: 150px; + height: 150px; + position: relative; + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: one-animated 10s infinite; + margin: 0 auto; +} + + +@keyframes iq-offers-before { + 0% { + background-position: 0% bottom; + } + + 100% { + background-position: 100% bottom; + } + +} + + +.iq-offers .icon{ position: absolute; padding: 50px; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%,-50%); + transform: translate(-50%,-50%);} + + +.iq-portfolio.block{border-radius: 20px;} + + +.iq-slolution-details.seo:hover{background: #7c60d5; color: #ffffff;} +.iq-slolution-details.seo:hover h5{color: #ffffff;} + +.iq-slolution-details.seo .icon i{ background: rgba(124, 96, 213, 0.2); + color: #7c60d5; + height: 80px; + width: 80px; + display: inline-block; + line-height: 80px; + border-radius: 100px; margin-top: 10px; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out;} + +.iq-slolution-details.seo:hover .icon i{background:#ffffff;} + + + +.iq-slolution-details.seo .icon{ background:none; box-shadow: none; width: inherit; height: inherit;} +.iq-slolution-details.seo .icon span{border: 1px dashed #33e2a0; + height: 100px; + width: 100px; + display: inherit; + border-radius: 100px;} + +/*--------------------------------------------------------------------- + Tab +-----------------------------------------------------------------------*/ +.our-info.menu-sticky { position: fixed; top: 76px; display: inline-block; width: 100%; z-index: 999;} + +.our-info ul.about-us li { margin: 0; + width: 25%; + position: relative; + box-shadow: 0px 10px 36px 4px rgba(226, 217, 255, 0.3); + float: left; + background: #ffffff;} +.our-info ul.about-us li:last-child{margin-right: 0;} +.our-info ul.about-us li a{display: block; padding: 15px 0px;} +.our-info ul.about-us li a i{position: absolute; top: 20%; left: 24%; font-size: 50px;} +.our-info ul.about-us li a.active ,.our-info ul.about-us li a:hover{color: #7c60d5; } +.our-info ul.about-us li a{color:#6f6f6f;} +.our-info ul.about-us li a.active:before { display: inline-block; width: 100%; height: 3px; background: #7c60d5; content: ""; + position: absolute; left: 0; bottom: 0px;-webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; } +.our-info ul.about-us li a:before { width: 0; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; height: 3px; background: #7c60d5; content: ""; position: absolute; right: 0; bottom: 0px; } +.our-info ul.about-us li a:hover:before { content: ""; display: inline-block; width: 100%; height: 3px; background: #7c60d5; content: ""; position: absolute; left: 0; bottom: 0px; } +.our-info ul.about-us li a span { display: inline-block; } +.our-info ul.about-us li a span:before { content: ""; display: block; height: auto; top: 100%; left: 100%; border-bottom: 0; border-left: 0; border-right: 0; -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; } +.our-info.gray-bg.menu-sticky ul.about-us li a { padding: 15px 0px; } +.our-info.gray-bg.menu-sticky ul.about-us li a i{top: 12%;} +.list-details li span{color: #020d1e; font-size: 16px; font-weight: 600;} +.list-details li {margin-bottom: 10px;} +.list-details li i{color: #7c60d5; } + +.iq-mtb-60{margin-top: 60px; margin-bottom: 60px;} +.tab-block-pt { + padding: 170px 0 0 0; +} +.tab-block-ptb { + padding: 170px 0 100px 0; +} + +.tab-info{margin-bottom: 80px;} + +/*---------------- +Features +----------------*/ +.iq-features{padding-bottom: 50px;} +.iq-features .iq-slolution-details { + width: 100%; + padding: 30px 30px; + background: #ffffff; +} + +.iq-features .iq-slolution-details p { + font-size: 14px; + line-height: 24px; +} +.iq-features .col-lg-6.iq-rmt-40{padding-left: 30px;} +.iq-features .iq-pl-15{padding-left: 30px;} + + +/*Shape*/ +.project-overlay-right{z-index: 0; position: absolute; + top: 30px;} +.iq-rocket{position: absolute; top: -13%; + right: 9%;} + + +.iq-blogs .project-overlay-right { + z-index: 0; + position: absolute; + /* top: 30px; */ + right: 0; + bottom: 0%; +} +.our-info .project-overlay-right {z-index: 0;position: absolute;top: -4%;left: 0;} + +.iq-works .project-overlay-right {z-index: 0;position: absolute;top: 16%;left: 0;} + + +.iq-fadebounce { -webkit-animation-name: fadebounce; -moz-animation-name: fadebounce; -ms-animation-name: fadebounce; -o-animation-name: fadebounce; animation-name: fadebounce; -webkit-animation-duration: 3s; -moz-animation-duration: 3s; -ms-animation-duration: 3s; -o-animation-duration: 3s; animation-duration: 3s; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -o-animation-iteration-count: infinite; animation-iteration-count: infinite; } +@-moz-keyframes fadebounce { + 0% { -moz-transform: translateY(0); transform: translateY(0); opacity: 1 } + 50% { -moz-transform: translateY(20px); transform: translateY(20px); opacity: 1 } + 100% { -moz-transform: translateY(0); transform: translateY(0); opacity: 1 } +} +@-webkit-keyframes fadebounce { + 0% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1 } + 50% { -webkit-transform: translateY(20px); transform: translateY(20px); opacity: 1 } + 100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1 } +} +@-o-keyframes fadebounce { + 0% { -o-transform: translateY(0); transform: translateY(0); opacity: 1 } + 50% { -o-transform: translateY(20px); transform: translateY(20px); opacity: 1 } + 100% { -o-transform: translateY(0); transform: translateY(0); opacity: 1 } +} +@-ms-keyframes fadebounce { + 0% { -ms-transform: translateY(0); transform: translateY(0); opacity: 1 } + 50% { -ms-transform: translateY(20px); transform: translateY(20px); opacity: 1 } + 100% { -ms-transform: translateY(0); transform: translateY(0); opacity: 1 } +} +@keyframes fadebounce { + 0% { transform: translateY(0); opacity: 1 } + 50% { transform: translateY(20px); opacity: 1 } + 100% { transform: translateY(0); opacity: 1 } +} + + + + diff --git a/public/assets/assetLanding/css/timeline.css b/public/assets/assetLanding/css/timeline.css new file mode 100644 index 0000000..24170d1 --- /dev/null +++ b/public/assets/assetLanding/css/timeline.css @@ -0,0 +1,350 @@ +.cd-horizontal-timeline { + opacity: 0; + width: 100%; + -webkit-transition: opacity 0.2s; + -moz-transition: opacity 0.2s; + transition: opacity 0.2s; +} +.cd-horizontal-timeline::before { + content: "mobile"; + display: none; +} +.cd-horizontal-timeline.loaded { + opacity: 1; +} +.cd-horizontal-timeline .timeline { + position: relative; + height: 100px; + width: 100%; + max-width: 100%; + margin: 0 auto; +} +.cd-horizontal-timeline .events-wrapper { + position: relative; + height: 100%; + margin: 0 38px; + overflow: hidden; +} +.cd-horizontal-timeline .events { + position: absolute; + z-index: 1; + left: 0; + top: 49px; + height: 2px; + background: #dfdfdf; + -webkit-transition: -webkit-transform 0.4s; + -moz-transition: -moz-transform 0.4s; + transition: transform 0.4s; +} +.cd-horizontal-timeline .filling-line { + position: absolute; + z-index: 1; + left: 0; + top: 0; + height: 100%; + width: 100%; + background-color: #7c60d5; + -webkit-transform: scaleX(0); + -moz-transform: scaleX(0); + -ms-transform: scaleX(0); + -o-transform: scaleX(0); + transform: scaleX(0); + -webkit-transform-origin: left center; + -moz-transform-origin: left center; + -ms-transform-origin: left center; + -o-transform-origin: left center; + transform-origin: left center; + -webkit-transition: -webkit-transform 0.3s; + -moz-transition: -moz-transform 0.3s; + transition: transform 0.3s; +} +.cd-horizontal-timeline .events a { + position: absolute; + bottom: 0; + z-index: 2; + text-align: center; + font-size: 14px; + padding-bottom: 15px; + color: #1b0e3d; + -webkit-transform: translateZ(0); + -moz-transform: translateZ(0); + -ms-transform: translateZ(0); + -o-transform: translateZ(0); + transform: translateZ(0); +} +.cd-horizontal-timeline .events a::after { + content: ""; + position: absolute; + left: 50%; + right: auto; + -webkit-transform: translateX(-50%); + -moz-transform: translateX(-50%); + -ms-transform: translateX(-50%); + -o-transform: translateX(-50%); + transform: translateX(-50%); + bottom: -5px; + height: 12px; + width: 12px; + border-radius: 50%; + border: 2px solid #7c60d5; + background-color: #f8f8f8; + -webkit-transition: background-color 0.3s, border-color 0.3s; + -moz-transition: background-color 0.3s, border-color 0.3s; + transition: background-color 0.3s, border-color 0.3s; +} +.no-touch .cd-horizontal-timeline .events a:hover::after { + background-color: #7c60d5; + border-color: #7c60d5; +} +.cd-horizontal-timeline .events a.selected { + pointer-events: none; +} +.cd-horizontal-timeline .events a.selected::after { + background-color: #7c60d5; + border-color: #7c60d5; +} +.cd-horizontal-timeline .events a.older-event::after { + border-color: #7c60d5; +} +.cd-horizontal-timeline .events ol, +ul { + list-style: none; +} +@media only screen and (min-width: 1100px) { + .cd-horizontal-timeline::before { + content: "desktop"; + } +} +.cd-timeline-navigation a { + position: absolute; + z-index: 1; + top: 50%; + bottom: auto; + -webkit-transform: translateY(-50%); + -moz-transform: translateY(-50%); + -ms-transform: translateY(-50%); + -o-transform: translateY(-50%); + transform: translateY(-50%); + height: 38px; + width: 38px; + border-radius: 50%; + border: 2px solid #7c60d5; + background: #7c60d5; + overflow: hidden; + color: transparent; + text-indent: 100%; + white-space: nowrap; + -webkit-transition: border-color 0.3s; + -moz-transition: border-color 0.3s; + transition: border-color 0.3s; +} +.cd-timeline-navigation a::after { + content: "\f104"; + font-size: 18px; + font-family: "Font Awesome 5 Free"; + position: absolute; + line-height: 38px; + display: inline-block; + top: -3px; + left: 4px; + font-weight: 900; + color: #fff; + text-align: center; +} +.cd-timeline-navigation a.prev::after { + content: "\f104"; +} +.cd-timeline-navigation a.next::after { + content: "\f105"; +} +.cd-timeline-navigation a.next { + right: 0; +} +.cd-timeline-navigation a.prev { + left: 0; +} +.no-touch .cd-timeline-navigation a:hover { + border-color: #7b9d6f; +} +.cd-timeline-navigation a.inactive { + cursor: not-allowed; +} +.cd-timeline-navigation a.inactive::after { + background-position: 0 -16px; +} +.no-touch .cd-timeline-navigation a.inactive:hover { + border-color: #dfdfdf; +} +.cd-horizontal-timeline .events-content { + position: relative; + width: 100%; + height: 100% !important; + margin: 0 0 0; + overflow: hidden; + -webkit-transition: height 0.4s; + -moz-transition: height 0.4s; + transition: height 0.4s; +} +.cd-horizontal-timeline .events-content li { + position: absolute; + z-index: 1; + width: 80%; + left: 0; + margin: 0 auto; + list-style: none; + top: 0; + text-align: center; + -webkit-transform: translateX(-100%); + -moz-transform: translateX(-100%); + -ms-transform: translateX(-100%); + -o-transform: translateX(-100%); + transform: translateX(-100%); + background: #33e2a0; + padding: 60px 30px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + opacity: 0; + -webkit-animation-duration: 0.4s; + -moz-animation-duration: 0.4s; + animation-duration: 0.4s; + -webkit-animation-timing-function: ease-in-out; + -moz-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; +} +.cd-horizontal-timeline .events-content ol { + margin: 0; +} +.cd-horizontal-timeline .events-content li.selected { + position: relative; + z-index: 2; + opacity: 1; + -webkit-transform: translateX(0); + -moz-transform: translateX(0); + -ms-transform: translateX(0); + -o-transform: translateX(0); + transform: translateX(0); + background: #33e2a0; +} +.cd-horizontal-timeline .events-content li.enter-right, +.cd-horizontal-timeline .events-content li.leave-right { + -webkit-animation-name: cd-enter-right; + -moz-animation-name: cd-enter-right; + animation-name: cd-enter-right; +} +.cd-horizontal-timeline .events-content li.enter-left, +.cd-horizontal-timeline .events-content li.leave-left { + -webkit-animation-name: cd-enter-left; + -moz-animation-name: cd-enter-left; + animation-name: cd-enter-left; +} +.cd-horizontal-timeline .events-content li.leave-right, +.cd-horizontal-timeline .events-content li.leave-left { + -webkit-animation-direction: reverse; + -moz-animation-direction: reverse; + animation-direction: reverse; +} +.cd-horizontal-timeline .events-content li > * { + max-width: 800px; + margin: 0 auto; +} +.cd-horizontal-timeline .events-content h2 { + font-weight: bold; + font-size: 2.6rem; + font-family: "Playfair Display", serif; + font-weight: 700; + line-height: 1.2; +} +.cd-horizontal-timeline .events-content em { + display: block; + font-style: italic; + margin: 10px auto; +} +.cd-horizontal-timeline .events-content em::before { + content: "- "; +} +.cd-horizontal-timeline .events-content p { + font-size: 1.4rem; + color: #959595; +} +.cd-horizontal-timeline .events-content em, +.cd-horizontal-timeline .events-content p { + line-height: 1.6; + font-size: 16px; +} +@-webkit-keyframes cd-enter-right { + 0% { + opacity: 0; + -webkit-transform: translateX(100%); + } + 100% { + opacity: 1; + -webkit-transform: translateX(0%); + } +} +@-moz-keyframes cd-enter-right { + 0% { + opacity: 0; + -moz-transform: translateX(100%); + } + 100% { + opacity: 1; + -moz-transform: translateX(0%); + } +} +@keyframes cd-enter-right { + 0% { + opacity: 0; + -webkit-transform: translateX(100%); + -moz-transform: translateX(100%); + -ms-transform: translateX(100%); + -o-transform: translateX(100%); + transform: translateX(100%); + } + 100% { + opacity: 1; + -webkit-transform: translateX(0%); + -moz-transform: translateX(0%); + -ms-transform: translateX(0%); + -o-transform: translateX(0%); + transform: translateX(0%); + } +} +@-webkit-keyframes cd-enter-left { + 0% { + opacity: 0; + -webkit-transform: translateX(-100%); + } + 100% { + opacity: 1; + -webkit-transform: translateX(0%); + } +} +@-moz-keyframes cd-enter-left { + 0% { + opacity: 0; + -moz-transform: translateX(-100%); + } + 100% { + opacity: 1; + -moz-transform: translateX(0%); + } +} +@keyframes cd-enter-left { + 0% { + opacity: 0; + -webkit-transform: translateX(-100%); + -moz-transform: translateX(-100%); + -ms-transform: translateX(-100%); + -o-transform: translateX(-100%); + transform: translateX(-100%); + } + 100% { + opacity: 1; + -webkit-transform: translateX(0%); + -moz-transform: translateX(0%); + -ms-transform: translateX(0%); + -o-transform: translateX(0%); + transform: translateX(0%); + } +} diff --git a/public/assets/assetLanding/css/typography.css b/public/assets/assetLanding/css/typography.css new file mode 100644 index 0000000..757a1a7 --- /dev/null +++ b/public/assets/assetLanding/css/typography.css @@ -0,0 +1,1039 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ + +/*================================================ +[ Table of contents ] +================================================ + +:: Google Font +:: General +:: Text color +:: Extra class +:: Buttons +:: Page Section Margin Padding +:: Background color +:: BG - Images +:: Background overlay color +:: Back to Top +:: Loader + +====================================== +[ End table content ] +======================================*/ + +/*--------------------------------------------------------------------- +Google Font +-----------------------------------------------------------------------*/ +@import url("https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,800,900"); +@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500"); + +/*--------------------------------------------------------------------- +Import Css +-----------------------------------------------------------------------*/ +@import url("all.min.css"); +@import url("owl.carousel.min.css"); +@import url("magnific-popup.css"); +@import url("ionicons.min.css"); +@import url("timeline.css"); +@import url("wow.css"); +@import url("mega_menu.css"); + +/*--------------------------------------------------------------------- +Loader +-----------------------------------------------------------------------*/ +#loading { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: #ffffff; + z-index: 9999; +} + +#loading img { + width: 150px; +} + +/*--------------------------------------------------------------------- +General +-----------------------------------------------------------------------*/ +*::-moz-selection { + background: #7c60d5; + color: #fff; + text-shadow: none; +} + +::-moz-selection { + background: #7c60d5; + color: #fff; + text-shadow: none; +} + +::selection { + background: #7c60d5; + color: #fff; + text-shadow: none; +} + +body { + font-family: "Poppins", sans-serif; + font-weight: normal; + font-style: normal; + font-size: 16px; + line-height: 32px; + color: #868894; + letter-spacing: 1px; + overflow-x: hidden; +} + +a, +.btn { + -webkit-transition: all 0.5s ease-out 0s; + -moz-transition: all 0.5s ease-out 0s; + -ms-transition: all 0.5s ease-out 0s; + -o-transition: all 0.5s ease-out 0s; + transition: all 0.5s ease-out 0s; +} + +a:focus { + text-decoration: none !important; +} + +a:focus, +a:hover { + color: #33e2a0; + text-decoration: none !important; +} + +a, +button, +input { + outline: medium none !important; + color: #1b0e3d; +} + +.uppercase { + text-transform: uppercase; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: "Nunito", sans-serif; + font-weight: normal; + color: #1b0e3d; + margin-top: 0px; + font-weight: bold; +} + +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: inherit; +} + +label { + font-weight: normal; +} + +h1 { + font-size: 52px; + font-style: normal; + line-height: 62px; +} + +h2 { + font-size: 40px; + font-style: normal; + line-height: 50px; +} + +h3 { + font-size: 30px; + font-style: normal; + line-height: 40px; +} + +h4 { + font-size: 26px; + font-style: normal; + line-height: 36px; +} + +h5 { + font-size: 24px; + font-style: normal; + line-height: 34px; +} + +h6 { + font-size: 20px; + font-style: normal; + line-height: 30px; +} + +/*---------------------------------------------- +Listing +------------------------------------------------*/ +ul { + padding: 0; + margin: 0; + padding-left: 20px; +} + +ul li:after { + position: absolute; + color: #02d871; + content: ""; + font-family: "Ionicons"; + left: 0; + top: 2px; + font-size: 30px; + font-weight: normal; +} + +ul.listing-mark { + padding: 0; + margin: 0; +} + +ul.listing-mark li { + position: relative; + list-style-type: none; + padding-left: 40px; + margin: 20px 0; + color: #1b0e3d; + font-weight: 600; + font-size: 16px; +} + +ul.listing-mark li:after { + content: "\f3fe"; +} + +ul.listing-mark li:hover:after { + content: "\f3ff"; +} + +/*---------------------------------------------- +Font Weight +------------------------------------------------*/ +.iq-fw-1 { + font-weight: 100; +} + +.iq-fw-2 { + font-weight: 200; +} + +.iq-fw-3 { + font-weight: 300; +} + +.iq-fw-4 { + font-weight: 400; +} + +.iq-fw-5 { + font-weight: 500; +} + +.iq-fw-6 { + font-weight: 600; +} + +.iq-fw-7 { + font-weight: 700; +} + +.iq-fw-8 { + font-weight: 800; +} + +.iq-fw-9 { + font-weight: 900; +} + +/*---------------------------------------------- +Letter Spacing +------------------------------------------------*/ +.iq-ls-1 { + letter-spacing: 1px; +} + +.iq-ls-2 { + letter-spacing: 2px; +} + +.iq-ls-3 { + letter-spacing: 3px; +} + +.iq-ls-4 { + letter-spacing: 4px; +} + +.iq-ls-5 { + letter-spacing: 5px; +} + +.iq-ls-6 { + letter-spacing: 6px; +} + +.iq-ls-7 { + letter-spacing: 7px; +} + +.iq-ls-8 { + letter-spacing: 8px; +} + +.iq-ls-9 { + letter-spacing: 9px; +} + +/*---------------------------------------------- +Section padding +------------------------------------------------*/ +.overview-block-ptb { + padding: 80px 0; + display: inline-block; + width: 100%; + clear: both; + float: left; +} + +.overview-block-pt { + padding: 80px 0 0; + display: inline-block; + width: 100%; + clear: both; + float: left; +} + +.overview-block-pb { + padding: 0 0 80px; + display: inline-block; + width: 100%; + clear: both; + float: left; +} + +.overview-block-pb5 { + padding-bottom: 50px; +} + +/*--------------------------------------------------------------------- +Extra class +---------------------------------------------------------------------*/ +.overflow-h { + overflow: hidden; +} + +section { + background: #ffffff; + padding: 80px 0; + display: inline-block; + width: 100%; + clear: both; + float: left; +} + +ul { + margin: 0px; + padding: 0px; +} + +hr { + margin: 0; + padding: 0px; + border-bottom: 1px solid #ccc; + display: inline-block; + width: 100%; + border-top: 0px; +} + +.no-bg { + background: none; +} + +/*--------------------------------------------------------------------- +Font Size +-----------------------------------------------------------------------*/ +.subtitle { + font-size: 16px; +} + +.iq-font-14 { + font-size: 14px; + line-height: 24px; +} + +.iq-font-18 { + font-size: 18px; + line-height: 28px; +} + +.iq-font-24 { + font-size: 24px; + line-height: 36px; +} + +/*--------------------------------------------------------------------- +Text color +-----------------------------------------------------------------------*/ +.main-color { + color: #7c60d5; +} + +.text-white { + color: #ffffff; +} + +.text-black { + color: #1b0e3d; +} + +.text-gray { + color: #868894; +} + +.text-red { + color: #b02501; +} + +.text-green { + color: #33e2a0; +} + +/*--------------------------------------------------------------------- +Background color +-----------------------------------------------------------------------*/ +.white-bg { + background: #ffffff; +} + +.gray-bg { + background: #edecf0; +} + +.light-gray-bg { + background: #f1f1f1; +} + +.main-bg { + background: #7c60d5; +} + +.black-bg { + background: #1b0e3d; +} + +.green-bg { + background: #33e2a0; +} + +.light-main-bg { + background: #8064d9; +} + +/************************* + BG - Images +*************************/ +.parallax { + background-size: cover !important; + -webkit-background-size: cover !important; + -moz-background-size: cover !important; + -ms-background-size: cover !important; + position: relative; + z-index: 0; + background-origin: initial; + background-position: center center !important; + background-repeat: no-repeat; +} + +/*--------------------------------------------------------------------- +Background overlay color +-----------------------------------------------------------------------*/ + +/* Background Gradient Black */ +.bg-over-black-10:before { + background: rgb(27, 14, 61, 0.1); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-20:before { + background: rgb(27, 14, 61, 0.2); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-30:before { + background: rgb(27, 14, 61, 0.3); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-40:before { + background: rgb(27, 14, 61, 0.4); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-50:before { + background: rgb(27, 14, 61, 0.5); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-60:before { + background: rgb(27, 14, 61, 0.6); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-70:before { + background: rgb(27, 14, 61, 0.7); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-80:before { + background: rgb(27, 14, 61, 0.8); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-black-90:before { + background: rgb(27, 14, 61, 0.9); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +/* Background Gradient White */ +.bg-over-white-10:before { + background: rgba(255, 255, 255, 0.1); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-20:before { + background: rgba(255, 255, 255, 0.2); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-30:before { + background: rgba(255, 255, 255, 0.3); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-40:before { + background: rgba(255, 255, 255, 0.4); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-50:before { + background: rgba(255, 255, 255, 0.5); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-60:before { + background: rgba(255, 255, 255, 0.6); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-70:before { + background: rgba(255, 255, 255, 0.7); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-80:before { + background: rgba(255, 255, 255, 0.8); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-white-90:before { + background: rgba(255, 255, 255, 0.9); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +/* Background Gradient Main */ +.bg-over-main-10:before { + background: rgba(171, 239, 248, 0.1); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-20:before { + background: rgba(171, 239, 248, 0.2); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-30:before { + background: rgba(171, 239, 248, 0.3); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-40:before { + background: rgba(171, 239, 248, 0.4); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-50:before { + background: rgba(171, 239, 248, 0.5); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-60:before { + background: rgba(171, 239, 248, 0.6); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-70:before { + background: rgba(171, 239, 248, 0.7); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-80:before { + background: rgba(171, 239, 248, 0.8); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +.bg-over-main-90:before { + background: rgba(171, 239, 248, 0.9); + content: ""; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; + z-index: 0; +} + +/*---------------------------------------------------------------------- + Buttons +-----------------------------------------------------------------------*/ +.button { + color: #ffffff; + cursor: pointer; + text-transform: capitalize; + font-weight: 700; + border: none; + position: relative; + background: #33e2a0; + font-family: "Nunito", sans-serif; + display: inline-block; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; +} + +.button:hover, +.button:focus { + color: #ffffff; + background: #1b0e3d; + outline: none; + border-color: #1b0e3d; +} + +.button-sm { + padding: 13px 25px; +} + +.slide-button { + display: inline-block; + height: 50px; + color: #ffffff; + text-decoration: none; + overflow: hidden; + text-align: center; + z-index: 4; +} + +.first, +.second { + padding: 0 30px; + line-height: 50px; + -webkit-transition: all 0.3s ease-out; + transition: all 0.3s ease-out; +} + +.first { + background-color: #33e2a0; + color: #fff; +} + +.slide-button:hover .first { + margin-top: -50px; +} + +.button.bt-border .first { + background: none; + color: #7c60d5; +} + +.bt-subscribe .first, +.bt-subscribe .second { + line-height: 48px; +} + +.bt-subscribe.btn-comming { + height: 45px; +} + +.bt-subscribe.btn-comming .first, +.bt-subscribe.btn-comming .second { + line-height: 45px; +} + +.bt-subscribe.btn-comming:hover .first { + margin-top: -45px; +} + +/* Buttons green */ +.button.bt-border { + color: #7c60d5; + background: #ffffff; + border: 2px solid #7c60d5; +} + +.button.bt-border:hover, +.button.bt-border:focus { + color: #33e2a0; + background: #ffffff; + outline: none; + border: 2px solid #33e2a0; +} + +/* Subscribe Button */ +.bt-subscribe { + position: absolute; + right: 5px; + bottom: 5px; +} + +footer.footer-one .bt-subscribe { + position: absolute; + right: 4px; + bottom: 4px; +} + +/*---------------------------------------------------------------------- + Border +-----------------------------------------------------------------------*/ +.border-green { + border-color: #33e2a0; +} + +/*---------------------------------------------------------------------- + Form +-----------------------------------------------------------------------*/ +input, +input.form-control { + border: 1px solid #e4e4e4; + font-size: 16px; + height: 55px; + padding-left: 30px; + margin-bottom: 35px; + -webkit-border-radius: 90px; + -moz-border-radius: 90px; + border-radius: 90px; + -webkit-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + -moz-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + padding-right: 35%; +} + +input[type="checkbox"], +input.form-control[type="checkbox"] { + margin-top: 0.5rem; + background: #fff; + height: auto; + border: 1px solid #33e2a0; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; +} + +::-webkit-input-placeholder { + /* Chrome/Opera/Safari */ + color: #868894; +} + +::-moz-placeholder { + /* Firefox 19+ */ + color: #868894; +} + +:-ms-input-placeholder { + /* IE 10+ */ + color: #868894; +} + +:-moz-placeholder { + /* Firefox 18- */ + color: #868894; +} + +textarea.form-control { + height: 230px; + padding: 15px 30px; + -webkit-border-radius: 25px; + -moz-border-radius: 25px; + border-radius: 25px; + -webkit-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + -moz-box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); + box-shadow: 0px 13px 25px 0px rgba(77, 54, 206, 0.2); +} + +input:hover, +input.form-control:hover, +input:focus, +input.form-control:focus, +textarea.form-control:hover, +textarea.form-control:focus { + border: 1px solid #7c60d5; + -webkit-box-shadow: 0px 0px 25px 0px rgba(77, 54, 206, 0.2); + -moz-box-shadow: 0px 0px 25px 0px rgba(77, 54, 206, 0.2); + box-shadow: 0px 0px 25px 0px rgba(77, 54, 206, 0.2); +} + +footer.footer-two + .subscribe-form + input[type="email"]::-webkit-input-placeholder { + color: #ffffff; +} + +footer.footer-two .subscribe-form input[type="email"]::-moz-placeholder { + color: #ffffff; +} + +footer.footer-two .subscribe-form input[type="email"]:-ms-input-placeholder { + color: #ffffff; +} + +/*--------------------------------------------------------------------- +Back to Top +-----------------------------------------------------------------------*/ +#back-to-top .top { + position: absolute; + margin: 0px; + color: #ffffff; + bottom: 0; + right: 10px; + z-index: 9; + font-weight: 600; + overflow: hidden; + background: #7c60d5; + padding: 15px 18px 5px 18px; + border-radius: 100px 100px 0 0; +} + +#back-to-top .top i { + font-size: 28px; + vertical-align: middle; +} + +#back-to-top:hover .top i { + top: 0; +} + +#back-to-top .top:hover { + background: #33e2a0; +} + +.footer-three #back-to-top .top { + position: absolute; + margin: 0px; + color: #ffffff; + bottom: 4%; + right: 0; + z-index: 9; + font-weight: 600; + overflow: hidden; + background: #7c5fd5; + width: 60px; + padding: 5px; + text-align: center; + border-radius: 100px 0 0 100px; +} + +/*--------------------------------------------------------------------- +Section Title +-----------------------------------------------------------------------*/ +.section-title { + margin-bottom: 60px; +} + +.section-title p { + margin: 0 !important; +} + +.title { + z-index: 2; + position: relative; +} diff --git a/public/assets/assetLanding/css/wow.css b/public/assets/assetLanding/css/wow.css new file mode 100644 index 0000000..e525a19 --- /dev/null +++ b/public/assets/assetLanding/css/wow.css @@ -0,0 +1,3627 @@ +@charset "UTF-8"; + +/*! + * animate.css -http://daneden.me/animate + * Version - 3.7.0 + * Licensed under the MIT license - http://opensource.org/licenses/MIT + * + * Copyright (c) 2018 Daniel Eden + */ + +@-webkit-keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +@keyframes bounce { + from, + 20%, + 53%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 40%, + 43% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -30px, 0); + transform: translate3d(0, -30px, 0); + } + + 70% { + -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); + -webkit-transform: translate3d(0, -15px, 0); + transform: translate3d(0, -15px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -4px, 0); + transform: translate3d(0, -4px, 0); + } +} + +.bounce { + -webkit-animation-name: bounce; + animation-name: bounce; + -webkit-transform-origin: center bottom; + transform-origin: center bottom; +} + +@-webkit-keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +@keyframes flash { + from, + 50%, + to { + opacity: 1; + } + + 25%, + 75% { + opacity: 0; + } +} + +.flash { + -webkit-animation-name: flash; + animation-name: flash; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes pulse { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 50% { + -webkit-transform: scale3d(1.05, 1.05, 1.05); + transform: scale3d(1.05, 1.05, 1.05); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.pulse { + -webkit-animation-name: pulse; + animation-name: pulse; +} + +@-webkit-keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes rubberBand { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 30% { + -webkit-transform: scale3d(1.25, 0.75, 1); + transform: scale3d(1.25, 0.75, 1); + } + + 40% { + -webkit-transform: scale3d(0.75, 1.25, 1); + transform: scale3d(0.75, 1.25, 1); + } + + 50% { + -webkit-transform: scale3d(1.15, 0.85, 1); + transform: scale3d(1.15, 0.85, 1); + } + + 65% { + -webkit-transform: scale3d(0.95, 1.05, 1); + transform: scale3d(0.95, 1.05, 1); + } + + 75% { + -webkit-transform: scale3d(1.05, 0.95, 1); + transform: scale3d(1.05, 0.95, 1); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.rubberBand { + -webkit-animation-name: rubberBand; + animation-name: rubberBand; +} + +@-webkit-keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +@keyframes shake { + from, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 10%, + 30%, + 50%, + 70%, + 90% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 20%, + 40%, + 60%, + 80% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } +} + +.shake { + -webkit-animation-name: shake; + animation-name: shake; +} + +@-webkit-keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +@keyframes headShake { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0); + } + + 6.5% { + -webkit-transform: translateX(-6px) rotateY(-9deg); + transform: translateX(-6px) rotateY(-9deg); + } + + 18.5% { + -webkit-transform: translateX(5px) rotateY(7deg); + transform: translateX(5px) rotateY(7deg); + } + + 31.5% { + -webkit-transform: translateX(-3px) rotateY(-5deg); + transform: translateX(-3px) rotateY(-5deg); + } + + 43.5% { + -webkit-transform: translateX(2px) rotateY(3deg); + transform: translateX(2px) rotateY(3deg); + } + + 50% { + -webkit-transform: translateX(0); + transform: translateX(0); + } +} + +.headShake { + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + -webkit-animation-name: headShake; + animation-name: headShake; +} + +@-webkit-keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +@keyframes swing { + 20% { + -webkit-transform: rotate3d(0, 0, 1, 15deg); + transform: rotate3d(0, 0, 1, 15deg); + } + + 40% { + -webkit-transform: rotate3d(0, 0, 1, -10deg); + transform: rotate3d(0, 0, 1, -10deg); + } + + 60% { + -webkit-transform: rotate3d(0, 0, 1, 5deg); + transform: rotate3d(0, 0, 1, 5deg); + } + + 80% { + -webkit-transform: rotate3d(0, 0, 1, -5deg); + transform: rotate3d(0, 0, 1, -5deg); + } + + to { + -webkit-transform: rotate3d(0, 0, 1, 0deg); + transform: rotate3d(0, 0, 1, 0deg); + } +} + +.swing { + -webkit-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + animation-name: swing; +} + +@-webkit-keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes tada { + from { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } + + 10%, + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); + } + + 30%, + 50%, + 70%, + 90% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); + } + + 40%, + 60%, + 80% { + -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); + } + + to { + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.tada { + -webkit-animation-name: tada; + animation-name: tada; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes wobble { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 15% { + -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); + } + + 30% { + -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); + } + + 45% { + -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); + } + + 60% { + -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); + } + + 75% { + -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.wobble { + -webkit-animation-name: wobble; + animation-name: wobble; +} + +@-webkit-keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +@keyframes jello { + from, + 11.1%, + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + 22.2% { + -webkit-transform: skewX(-12.5deg) skewY(-12.5deg); + transform: skewX(-12.5deg) skewY(-12.5deg); + } + + 33.3% { + -webkit-transform: skewX(6.25deg) skewY(6.25deg); + transform: skewX(6.25deg) skewY(6.25deg); + } + + 44.4% { + -webkit-transform: skewX(-3.125deg) skewY(-3.125deg); + transform: skewX(-3.125deg) skewY(-3.125deg); + } + + 55.5% { + -webkit-transform: skewX(1.5625deg) skewY(1.5625deg); + transform: skewX(1.5625deg) skewY(1.5625deg); + } + + 66.6% { + -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg); + transform: skewX(-0.78125deg) skewY(-0.78125deg); + } + + 77.7% { + -webkit-transform: skewX(0.390625deg) skewY(0.390625deg); + transform: skewX(0.390625deg) skewY(0.390625deg); + } + + 88.8% { + -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + transform: skewX(-0.1953125deg) skewY(-0.1953125deg); + } +} + +.jello { + -webkit-animation-name: jello; + animation-name: jello; + -webkit-transform-origin: center; + transform-origin: center; +} + +@-webkit-keyframes heartBeat { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 14% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 28% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 42% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 70% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes heartBeat { + 0% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 14% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 28% { + -webkit-transform: scale(1); + transform: scale(1); + } + + 42% { + -webkit-transform: scale(1.3); + transform: scale(1.3); + } + + 70% { + -webkit-transform: scale(1); + transform: scale(1); + } +} + +.heartBeat { + -webkit-animation-name: heartBeat; + animation-name: heartBeat; + -webkit-animation-duration: 1.3s; + animation-duration: 1.3s; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; +} + +@-webkit-keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +@keyframes bounceIn { + from, + 20%, + 40%, + 60%, + 80%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 20% { + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + 40% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(1.03, 1.03, 1.03); + transform: scale3d(1.03, 1.03, 1.03); + } + + 80% { + -webkit-transform: scale3d(0.97, 0.97, 0.97); + transform: scale3d(0.97, 0.97, 0.97); + } + + to { + opacity: 1; + -webkit-transform: scale3d(1, 1, 1); + transform: scale3d(1, 1, 1); + } +} + +.bounceIn { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceIn; + animation-name: bounceIn; +} + +@-webkit-keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInDown { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(0, -3000px, 0); + transform: translate3d(0, -3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, 25px, 0); + transform: translate3d(0, 25px, 0); + } + + 75% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, 5px, 0); + transform: translate3d(0, 5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + animation-name: bounceInDown; +} + +@-webkit-keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInLeft { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + 0% { + opacity: 0; + -webkit-transform: translate3d(-3000px, 0, 0); + transform: translate3d(-3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(25px, 0, 0); + transform: translate3d(25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(-10px, 0, 0); + transform: translate3d(-10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(5px, 0, 0); + transform: translate3d(5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} + +@-webkit-keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInRight { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(3000px, 0, 0); + transform: translate3d(3000px, 0, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(-25px, 0, 0); + transform: translate3d(-25px, 0, 0); + } + + 75% { + -webkit-transform: translate3d(10px, 0, 0); + transform: translate3d(10px, 0, 0); + } + + 90% { + -webkit-transform: translate3d(-5px, 0, 0); + transform: translate3d(-5px, 0, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + animation-name: bounceInRight; +} + +@-webkit-keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes bounceInUp { + from, + 60%, + 75%, + 90%, + to { + -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); + } + + from { + opacity: 0; + -webkit-transform: translate3d(0, 3000px, 0); + transform: translate3d(0, 3000px, 0); + } + + 60% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + 75% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 90% { + -webkit-transform: translate3d(0, -5px, 0); + transform: translate3d(0, -5px, 0); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + animation-name: bounceInUp; +} + +@-webkit-keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +@keyframes bounceOut { + 20% { + -webkit-transform: scale3d(0.9, 0.9, 0.9); + transform: scale3d(0.9, 0.9, 0.9); + } + + 50%, + 55% { + opacity: 1; + -webkit-transform: scale3d(1.1, 1.1, 1.1); + transform: scale3d(1.1, 1.1, 1.1); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } +} + +.bounceOut { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: bounceOut; + animation-name: bounceOut; +} + +@-webkit-keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes bounceOutDown { + 20% { + -webkit-transform: translate3d(0, 10px, 0); + transform: translate3d(0, 10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, -20px, 0); + transform: translate3d(0, -20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} + +@-webkit-keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes bounceOutLeft { + 20% { + opacity: 1; + -webkit-transform: translate3d(20px, 0, 0); + transform: translate3d(20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} + +@-webkit-keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes bounceOutRight { + 20% { + opacity: 1; + -webkit-transform: translate3d(-20px, 0, 0); + transform: translate3d(-20px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} + +@-webkit-keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes bounceOutUp { + 20% { + -webkit-transform: translate3d(0, -10px, 0); + transform: translate3d(0, -10px, 0); + } + + 40%, + 45% { + opacity: 1; + -webkit-transform: translate3d(0, 20px, 0); + transform: translate3d(0, 20px, 0); + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} + +@-webkit-keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +@keyframes fadeIn { + from { + opacity: 0; + } + + to { + opacity: 1; + } +} + +.fadeIn { + -webkit-animation-name: fadeIn; + animation-name: fadeIn; +} + +@-webkit-keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDown { + from { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + animation-name: fadeInDown; +} + +@-webkit-keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInDownBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} + +@-webkit-keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeft { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} + +@-webkit-keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInLeftBig { + from { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} + +@-webkit-keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRight { + from { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + animation-name: fadeInRight; +} + +@-webkit-keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInRightBig { + from { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} + +@-webkit-keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUp { + from { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + animation-name: fadeInUp; +} + +@-webkit-keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes fadeInUpBig { + from { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} + +@-webkit-keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +@keyframes fadeOut { + from { + opacity: 1; + } + + to { + opacity: 0; + } +} + +.fadeOut { + -webkit-animation-name: fadeOut; + animation-name: fadeOut; +} + +@-webkit-keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes fadeOutDown { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} + +@-webkit-keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +@keyframes fadeOutDownBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, 2000px, 0); + transform: translate3d(0, 2000px, 0); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} + +@-webkit-keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes fadeOutLeft { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} + +@-webkit-keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +@keyframes fadeOutLeftBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(-2000px, 0, 0); + transform: translate3d(-2000px, 0, 0); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} + +@-webkit-keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes fadeOutRight { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} + +@-webkit-keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +@keyframes fadeOutRightBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(2000px, 0, 0); + transform: translate3d(2000px, 0, 0); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} + +@-webkit-keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes fadeOutUp { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} + +@-webkit-keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +@keyframes fadeOutUpBig { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(0, -2000px, 0); + transform: translate3d(0, -2000px, 0); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} + +@-webkit-keyframes flip { + from { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) + translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) + translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) + translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +@keyframes flip { + from { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, -360deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 40% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) + translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -190deg); + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; + } + + 50% { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) + translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) + rotate3d(0, 1, 0, -170deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 80% { + -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) + translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + to { + -webkit-transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + transform: perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) + rotate3d(0, 1, 0, 0deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } +} + +.animated.flip { + -webkit-backface-visibility: visible; + backface-visibility: visible; + -webkit-animation-name: flip; + animation-name: flip; +} + +@-webkit-keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInX { + from { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInX; + animation-name: flipInX; +} + +@-webkit-keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +@keyframes flipInY { + from { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; + } + + 60% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); + opacity: 1; + } + + 80% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); + } + + to { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipInY; + animation-name: flipInY; +} + +@-webkit-keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-animation-name: flipOutX; + animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; +} + +@-webkit-keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +@keyframes flipOutY { + from { + -webkit-transform: perspective(400px); + transform: perspective(400px); + } + + 30% { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); + opacity: 1; + } + + to { + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-animation-duration: 0.75s; + animation-duration: 0.75s; + -webkit-backface-visibility: visible !important; + backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + animation-name: flipOutY; +} + +@-webkit-keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes lightSpeedIn { + from { + -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg); + transform: translate3d(100%, 0, 0) skewX(-30deg); + opacity: 0; + } + + 60% { + -webkit-transform: skewX(20deg); + transform: skewX(20deg); + opacity: 1; + } + + 80% { + -webkit-transform: skewX(-5deg); + transform: skewX(-5deg); + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + -webkit-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +@-webkit-keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +@keyframes lightSpeedOut { + from { + opacity: 1; + } + + to { + -webkit-transform: translate3d(100%, 0, 0) skewX(30deg); + transform: translate3d(100%, 0, 0) skewX(30deg); + opacity: 0; + } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + -webkit-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +@-webkit-keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateIn { + from { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, -200deg); + transform: rotate3d(0, 0, 1, -200deg); + opacity: 0; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + animation-name: rotateIn; +} + +@-webkit-keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} + +@-webkit-keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} + +@-webkit-keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} + +@-webkit-keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +@keyframes rotateInUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -90deg); + transform: rotate3d(0, 0, 1, -90deg); + opacity: 0; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} + +@-webkit-keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + from { + -webkit-transform-origin: center; + transform-origin: center; + opacity: 1; + } + + to { + -webkit-transform-origin: center; + transform-origin: center; + -webkit-transform: rotate3d(0, 0, 1, 200deg); + transform: rotate3d(0, 0, 1, 200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + animation-name: rotateOut; +} + +@-webkit-keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, 45deg); + transform: rotate3d(0, 0, 1, 45deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} + +@-webkit-keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} + +@-webkit-keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + from { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: left bottom; + transform-origin: left bottom; + -webkit-transform: rotate3d(0, 0, 1, -45deg); + transform: rotate3d(0, 0, 1, -45deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} + +@-webkit-keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + from { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + opacity: 1; + } + + to { + -webkit-transform-origin: right bottom; + transform-origin: right bottom; + -webkit-transform: rotate3d(0, 0, 1, 90deg); + transform: rotate3d(0, 0, 1, 90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} + +@-webkit-keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +@keyframes hinge { + 0% { + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 20%, + 60% { + -webkit-transform: rotate3d(0, 0, 1, 80deg); + transform: rotate3d(0, 0, 1, 80deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + } + + 40%, + 80% { + -webkit-transform: rotate3d(0, 0, 1, 60deg); + transform: rotate3d(0, 0, 1, 60deg); + -webkit-transform-origin: top left; + transform-origin: top left; + -webkit-animation-timing-function: ease-in-out; + animation-timing-function: ease-in-out; + opacity: 1; + } + + to { + -webkit-transform: translate3d(0, 700px, 0); + transform: translate3d(0, 700px, 0); + opacity: 0; + } +} + +.hinge { + -webkit-animation-duration: 2s; + animation-duration: 2s; + -webkit-animation-name: hinge; + animation-name: hinge; +} + +@-webkit-keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +@keyframes jackInTheBox { + from { + opacity: 0; + -webkit-transform: scale(0.1) rotate(30deg); + transform: scale(0.1) rotate(30deg); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + } + + 50% { + -webkit-transform: rotate(-10deg); + transform: rotate(-10deg); + } + + 70% { + -webkit-transform: rotate(3deg); + transform: rotate(3deg); + } + + to { + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + } +} + +.jackInTheBox { + -webkit-animation-name: jackInTheBox; + animation-name: jackInTheBox; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes rollIn { + from { + opacity: 0; + -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); + } + + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.rollIn { + -webkit-animation-name: rollIn; + animation-name: rollIn; +} + +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +@keyframes rollOut { + from { + opacity: 1; + } + + to { + opacity: 0; + -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + animation-name: rollOut; +} + +@-webkit-keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +@keyframes zoomIn { + from { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + 50% { + opacity: 1; + } +} + +.zoomIn { + -webkit-animation-name: zoomIn; + animation-name: zoomIn; +} + +@-webkit-keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInDown { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInDown { + -webkit-animation-name: zoomInDown; + animation-name: zoomInDown; +} + +@-webkit-keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInLeft { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInLeft { + -webkit-animation-name: zoomInLeft; + animation-name: zoomInLeft; +} + +@-webkit-keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInRight { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInRight { + -webkit-animation-name: zoomInRight; + animation-name: zoomInRight; +} + +@-webkit-keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomInUp { + from { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + 60% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomInUp { + -webkit-animation-name: zoomInUp; + animation-name: zoomInUp; +} + +@-webkit-keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +@keyframes zoomOut { + from { + opacity: 1; + } + + 50% { + opacity: 0; + -webkit-transform: scale3d(0.3, 0.3, 0.3); + transform: scale3d(0.3, 0.3, 0.3); + } + + to { + opacity: 0; + } +} + +.zoomOut { + -webkit-animation-name: zoomOut; + animation-name: zoomOut; +} + +@-webkit-keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutDown { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutDown { + -webkit-animation-name: zoomOutDown; + animation-name: zoomOutDown; +} + +@-webkit-keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +@keyframes zoomOutLeft { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0); + transform: scale(0.1) translate3d(-2000px, 0, 0); + -webkit-transform-origin: left center; + transform-origin: left center; + } +} + +.zoomOutLeft { + -webkit-animation-name: zoomOutLeft; + animation-name: zoomOutLeft; +} + +@-webkit-keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +@keyframes zoomOutRight { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0); + } + + to { + opacity: 0; + -webkit-transform: scale(0.1) translate3d(2000px, 0, 0); + transform: scale(0.1) translate3d(2000px, 0, 0); + -webkit-transform-origin: right center; + transform-origin: right center; + } +} + +.zoomOutRight { + -webkit-animation-name: zoomOutRight; + animation-name: zoomOutRight; +} + +@-webkit-keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +@keyframes zoomOutUp { + 40% { + opacity: 1; + -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0); + -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); + } + + to { + opacity: 0; + -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0); + -webkit-transform-origin: center bottom; + transform-origin: center bottom; + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1); + } +} + +.zoomOutUp { + -webkit-animation-name: zoomOutUp; + animation-name: zoomOutUp; +} + +@-webkit-keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInDown { + from { + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInDown { + -webkit-animation-name: slideInDown; + animation-name: slideInDown; +} + +@-webkit-keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInLeft { + from { + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInLeft { + -webkit-animation-name: slideInLeft; + animation-name: slideInLeft; +} + +@-webkit-keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInRight { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInRight { + -webkit-animation-name: slideInRight; + animation-name: slideInRight; +} + +@-webkit-keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +@keyframes slideInUp { + from { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + visibility: visible; + } + + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} + +.slideInUp { + -webkit-animation-name: slideInUp; + animation-name: slideInUp; +} + +@-webkit-keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +@keyframes slideOutDown { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); + } +} + +.slideOutDown { + -webkit-animation-name: slideOutDown; + animation-name: slideOutDown; +} + +@-webkit-keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +@keyframes slideOutLeft { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } +} + +.slideOutLeft { + -webkit-animation-name: slideOutLeft; + animation-name: slideOutLeft; +} + +@-webkit-keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +@keyframes slideOutRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } +} + +.slideOutRight { + -webkit-animation-name: slideOutRight; + animation-name: slideOutRight; +} + +@-webkit-keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +@keyframes slideOutUp { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + + to { + visibility: hidden; + -webkit-transform: translate3d(0, -100%, 0); + transform: translate3d(0, -100%, 0); + } +} + +.slideOutUp { + -webkit-animation-name: slideOutUp; + animation-name: slideOutUp; +} + +.animated { + -webkit-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.infinite { + -webkit-animation-iteration-count: infinite; + animation-iteration-count: infinite; +} + +.animated.delay-1s { + -webkit-animation-delay: 1s; + animation-delay: 1s; +} + +.animated.delay-2s { + -webkit-animation-delay: 2s; + animation-delay: 2s; +} + +.animated.delay-3s { + -webkit-animation-delay: 3s; + animation-delay: 3s; +} + +.animated.delay-4s { + -webkit-animation-delay: 4s; + animation-delay: 4s; +} + +.animated.delay-5s { + -webkit-animation-delay: 5s; + animation-delay: 5s; +} + +.animated.fast { + -webkit-animation-duration: 800ms; + animation-duration: 800ms; +} + +.animated.faster { + -webkit-animation-duration: 500ms; + animation-duration: 500ms; +} + +.animated.slow { + -webkit-animation-duration: 2s; + animation-duration: 2s; +} + +.animated.slower { + -webkit-animation-duration: 3s; + animation-duration: 3s; +} + +@media (print), (prefers-reduced-motion) { + .animated { + -webkit-animation: unset !important; + animation: unset !important; + -webkit-transition: none !important; + transition: none !important; + } +} diff --git a/public/assets/assetLanding/fonts/fa-brands-400.woff2 b/public/assets/assetLanding/fonts/fa-brands-400.woff2 new file mode 100644 index 0000000..b5a9567 Binary files /dev/null and b/public/assets/assetLanding/fonts/fa-brands-400.woff2 differ diff --git a/public/assets/assetLanding/fonts/fa-regular-400.woff2 b/public/assets/assetLanding/fonts/fa-regular-400.woff2 new file mode 100644 index 0000000..3ef9c3e Binary files /dev/null and b/public/assets/assetLanding/fonts/fa-regular-400.woff2 differ diff --git a/public/assets/assetLanding/fonts/fa-solid-900.woff2 b/public/assets/assetLanding/fonts/fa-solid-900.woff2 new file mode 100644 index 0000000..71b07ce Binary files /dev/null and b/public/assets/assetLanding/fonts/fa-solid-900.woff2 differ diff --git a/public/assets/assetLanding/fonts/ionicons.ttf b/public/assets/assetLanding/fonts/ionicons.ttf new file mode 100644 index 0000000..c4e4632 Binary files /dev/null and b/public/assets/assetLanding/fonts/ionicons.ttf differ diff --git a/public/assets/assetLanding/images/blog/02.jpg b/public/assets/assetLanding/images/blog/02.jpg new file mode 100644 index 0000000..c63aefc Binary files /dev/null and b/public/assets/assetLanding/images/blog/02.jpg differ diff --git a/public/assets/assetLanding/images/blog/03.jpg b/public/assets/assetLanding/images/blog/03.jpg new file mode 100644 index 0000000..57dbd57 Binary files /dev/null and b/public/assets/assetLanding/images/blog/03.jpg differ diff --git a/public/assets/assetLanding/images/blog/04.jpg b/public/assets/assetLanding/images/blog/04.jpg new file mode 100644 index 0000000..add8bad Binary files /dev/null and b/public/assets/assetLanding/images/blog/04.jpg differ diff --git a/public/assets/assetLanding/images/blog/clients/01.jpg b/public/assets/assetLanding/images/blog/clients/01.jpg new file mode 100644 index 0000000..299efdd Binary files /dev/null and b/public/assets/assetLanding/images/blog/clients/01.jpg differ diff --git a/public/assets/assetLanding/images/blog/clients/02.jpg b/public/assets/assetLanding/images/blog/clients/02.jpg new file mode 100644 index 0000000..f4e9dfb Binary files /dev/null and b/public/assets/assetLanding/images/blog/clients/02.jpg differ diff --git a/public/assets/assetLanding/images/blog/clients/03.jpg b/public/assets/assetLanding/images/blog/clients/03.jpg new file mode 100644 index 0000000..3033c1e Binary files /dev/null and b/public/assets/assetLanding/images/blog/clients/03.jpg differ diff --git a/public/assets/assetLanding/images/blog/clients/04.jpg b/public/assets/assetLanding/images/blog/clients/04.jpg new file mode 100644 index 0000000..f6e087e Binary files /dev/null and b/public/assets/assetLanding/images/blog/clients/04.jpg differ diff --git a/public/assets/assetLanding/images/footer/1.jpg b/public/assets/assetLanding/images/footer/1.jpg new file mode 100644 index 0000000..79ce08c Binary files /dev/null and b/public/assets/assetLanding/images/footer/1.jpg differ diff --git a/public/assets/assetLanding/images/loader.gif b/public/assets/assetLanding/images/loader.gif new file mode 100644 index 0000000..88f4732 Binary files /dev/null and b/public/assets/assetLanding/images/loader.gif differ diff --git a/public/assets/assetLanding/images/logo-white.png b/public/assets/assetLanding/images/logo-white.png new file mode 100644 index 0000000..1b99f50 Binary files /dev/null and b/public/assets/assetLanding/images/logo-white.png differ diff --git a/public/assets/assetLanding/images/others/1.png b/public/assets/assetLanding/images/others/1.png new file mode 100644 index 0000000..c3feac9 Binary files /dev/null and b/public/assets/assetLanding/images/others/1.png differ diff --git a/public/assets/assetLanding/images/others/31.png b/public/assets/assetLanding/images/others/31.png new file mode 100644 index 0000000..bacbd56 Binary files /dev/null and b/public/assets/assetLanding/images/others/31.png differ diff --git a/public/assets/assetLanding/images/others/32.png b/public/assets/assetLanding/images/others/32.png new file mode 100644 index 0000000..8cb9fc2 Binary files /dev/null and b/public/assets/assetLanding/images/others/32.png differ diff --git a/public/assets/assetLanding/images/others/33.png b/public/assets/assetLanding/images/others/33.png new file mode 100644 index 0000000..4b00627 Binary files /dev/null and b/public/assets/assetLanding/images/others/33.png differ diff --git a/public/assets/assetLanding/images/team/01.jpg b/public/assets/assetLanding/images/team/01.jpg new file mode 100644 index 0000000..299efdd Binary files /dev/null and b/public/assets/assetLanding/images/team/01.jpg differ diff --git a/public/assets/assetLanding/images/team/02.jpg b/public/assets/assetLanding/images/team/02.jpg new file mode 100644 index 0000000..d90ab2b Binary files /dev/null and b/public/assets/assetLanding/images/team/02.jpg differ diff --git a/public/assets/assetLanding/images/team/03.jpg b/public/assets/assetLanding/images/team/03.jpg new file mode 100644 index 0000000..3033c1e Binary files /dev/null and b/public/assets/assetLanding/images/team/03.jpg differ diff --git a/public/assets/assetLanding/images/team/04.jpg b/public/assets/assetLanding/images/team/04.jpg new file mode 100644 index 0000000..2f043a2 Binary files /dev/null and b/public/assets/assetLanding/images/team/04.jpg differ diff --git a/public/assets/assetLanding/images/testimonials/01.jpg b/public/assets/assetLanding/images/testimonials/01.jpg new file mode 100644 index 0000000..f2edeab Binary files /dev/null and b/public/assets/assetLanding/images/testimonials/01.jpg differ diff --git a/public/assets/assetLanding/images/testimonials/02.jpg b/public/assets/assetLanding/images/testimonials/02.jpg new file mode 100644 index 0000000..165de97 Binary files /dev/null and b/public/assets/assetLanding/images/testimonials/02.jpg differ diff --git a/public/assets/assetLanding/images/testimonials/03.jpg b/public/assets/assetLanding/images/testimonials/03.jpg new file mode 100644 index 0000000..4e7a386 Binary files /dev/null and b/public/assets/assetLanding/images/testimonials/03.jpg differ diff --git a/public/assets/assetLanding/images/testimonials/04.jpg b/public/assets/assetLanding/images/testimonials/04.jpg new file mode 100644 index 0000000..8b58887 Binary files /dev/null and b/public/assets/assetLanding/images/testimonials/04.jpg differ diff --git a/public/assets/assetLanding/images/video/2.png b/public/assets/assetLanding/images/video/2.png new file mode 100644 index 0000000..9a1c9d8 Binary files /dev/null and b/public/assets/assetLanding/images/video/2.png differ diff --git a/public/assets/assetLanding/index-2.html b/public/assets/assetLanding/index-2.html new file mode 100644 index 0000000..8b79a77 --- /dev/null +++ b/public/assets/assetLanding/index-2.html @@ -0,0 +1,2832 @@ + + + + + + + + Markethon - Digital Marketing Agency Responsive HTML5 Template + + + + + + + + + + + + + + +
+
+ loder +
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+ + + +
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
+ +
+
+

+ Best Digital Marketing Solution +

+

+ Progravida nibh vel velit auctor alinean sollicitudin, lorem + quis bibendum auctor, nisi elit consequat ipsum,Lorem + Ipsum.lorem quis bibendum auctor. +

+
    +
  • Simply dummy text of the Lorem Ipsum is printing.
  • +
  • Dummy text of the printing and typesetting industry.
  • +
  • Text of the printing and typesetting industry.
  • +
  • Ipsum has been the industry's standard dummy.
  • +
+
+
+
+
+ + +
+
+
+
+ +
+
+

Why Choose Us

+

+ Progravida nibh vel velit auctor alinean sollicitudin, lorem + quis bibendum auctor, nisi elit consequat ipsum. +

+
    +
  • +
    +
    + +
    +
    +
    + Data Analysis +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
  • +
    +
    + +
    +
    +
    + PPC Marketing +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
  • +
    +
    + +
    +
    +
    + Business Analytics +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
+
+
+
+
+ image +
+
+ + + +
+
+
+
+
+

Features

+

Our Special Features

+
+
+
+
+
+
+
+
+ Data Analysis +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+
+ PPC Marketing +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+
+ Business Analytics +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+ image +
+
+
+
+ +
+
+
+ Social Marketing +
+

+ It is a long established fact that a reader +

+
+
+
+
+ +
+
+
+ Business Analytics +
+

+ It is a long established fact that a reader +

+
+
+
+
+ +
+
+
+ Research +
+

+ It is a long established fact that a reader +

+
+
+
+
+
+
+ image +
+
+ + +
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+

+ Meet the team +

+

Our Best Team

+
+
+
+
+
+
+
+ image +
+
+ +
+
+ Marie Mart +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Kips Leo +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Glen Jax +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Nik Jorden +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ + +
+
+
+
+

Check What's Our Client Say

+

+ Progravida nibh vel velit auctor alinean sollicitudin. +

+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+

Our Pricing

+

Our Popular Pricing Plans

+
+
+
+
+
+ +
+
+
+
+
+
+
Start Up
+

$19.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Professional
+

$29.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Advanced
+

$45.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
+
+
+
+
Start Up
+

$9.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Professional
+

$29.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Advanced
+

$49.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+

Latest Articles

+

Our Stories Post

+
+
+
+
+
+
+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/assets/assetLanding/js/appear.min.js b/public/assets/assetLanding/js/appear.min.js new file mode 100644 index 0000000..3f62806 --- /dev/null +++ b/public/assets/assetLanding/js/appear.min.js @@ -0,0 +1,97 @@ +(function ($) { + $.fn.appear = function (fn, options) { + var settings = $.extend( + { data: undefined, one: true, accX: 0, accY: 0 }, + options + ); + return this.each(function () { + var t = $(this); + t.appeared = false; + if (!fn) { + t.trigger("appear", settings.data); + return; + } + var w = $(window); + var check = function () { + if (!t.is(":visible")) { + t.appeared = false; + return; + } + var a = w.scrollLeft(); + var b = w.scrollTop(); + var o = t.offset(); + var x = o.left; + var y = o.top; + var ax = settings.accX; + var ay = settings.accY; + var th = t.height(); + var wh = w.height(); + var tw = t.width(); + var ww = w.width(); + if ( + y + th + ay >= b && + y <= b + wh + ay && + x + tw + ax >= a && + x <= a + ww + ax + ) { + if (!t.appeared) t.trigger("appear", settings.data); + } else { + t.appeared = false; + } + }; + var modifiedFn = function () { + t.appeared = true; + if (settings.one) { + w.unbind("scroll", check); + var i = $.inArray(check, $.fn.appear.checks); + if (i >= 0) $.fn.appear.checks.splice(i, 1); + } + fn.apply(this, arguments); + }; + if (settings.one) t.one("appear", settings.data, modifiedFn); + else t.bind("appear", settings.data, modifiedFn); + w.scroll(check); + $.fn.appear.checks.push(check); + check(); + }); + }; + $.extend($.fn.appear, { + checks: [], + timeout: null, + checkAll: function () { + var length = $.fn.appear.checks.length; + if (length > 0) while (length--) $.fn.appear.checks[length](); + }, + run: function () { + if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout); + $.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20); + }, + }); + $.each( + [ + "append", + "prepend", + "after", + "before", + "attr", + "removeAttr", + "addClass", + "removeClass", + "toggleClass", + "remove", + "css", + "show", + "hide", + ], + function (i, n) { + var old = $.fn[n]; + if (old) { + $.fn[n] = function () { + var r = old.apply(this, arguments); + $.fn.appear.run(); + return r; + }; + } + } + ); +})(jQuery); diff --git a/public/assets/assetLanding/js/bootstrap.min.js b/public/assets/assetLanding/js/bootstrap.min.js new file mode 100644 index 0000000..3a40e37 --- /dev/null +++ b/public/assets/assetLanding/js/bootstrap.min.js @@ -0,0 +1,2805 @@ +/*! + * Bootstrap v4.2.1 (https://getbootstrap.com/) + * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +!(function (t, e) { + "object" == typeof exports && "undefined" != typeof module + ? e(exports, require("popper.js"), require("jquery")) + : "function" == typeof define && define.amd + ? define(["exports", "popper.js", "jquery"], e) + : e((t.bootstrap = {}), t.Popper, t.jQuery); +})(this, function (t, u, g) { + "use strict"; + function i(t, e) { + for (var n = 0; n < e.length; n++) { + var i = e[n]; + (i.enumerable = i.enumerable || !1), + (i.configurable = !0), + "value" in i && (i.writable = !0), + Object.defineProperty(t, i.key, i); + } + } + function s(t, e, n) { + return e && i(t.prototype, e), n && i(t, n), t; + } + function l(o) { + for (var t = 1; t < arguments.length; t++) { + var r = null != arguments[t] ? arguments[t] : {}, + e = Object.keys(r); + "function" == typeof Object.getOwnPropertySymbols && + (e = e.concat( + Object.getOwnPropertySymbols(r).filter(function (t) { + return Object.getOwnPropertyDescriptor(r, t).enumerable; + }) + )), + e.forEach(function (t) { + var e, n, i; + (e = o), + (i = r[(n = t)]), + n in e + ? Object.defineProperty(e, n, { + value: i, + enumerable: !0, + configurable: !0, + writable: !0, + }) + : (e[n] = i); + }); + } + return o; + } + (u = u && u.hasOwnProperty("default") ? u.default : u), + (g = g && g.hasOwnProperty("default") ? g.default : g); + var e = "transitionend"; + function n(t) { + var e = this, + n = !1; + return ( + g(this).one(_.TRANSITION_END, function () { + n = !0; + }), + setTimeout(function () { + n || _.triggerTransitionEnd(e); + }, t), + this + ); + } + var _ = { + TRANSITION_END: "bsTransitionEnd", + getUID: function (t) { + for (; (t += ~~(1e6 * Math.random())), document.getElementById(t); ); + return t; + }, + getSelectorFromElement: function (t) { + var e = t.getAttribute("data-target"); + if (!e || "#" === e) { + var n = t.getAttribute("href"); + e = n && "#" !== n ? n.trim() : ""; + } + return e && document.querySelector(e) ? e : null; + }, + getTransitionDurationFromElement: function (t) { + if (!t) return 0; + var e = g(t).css("transition-duration"), + n = g(t).css("transition-delay"), + i = parseFloat(e), + o = parseFloat(n); + return i || o + ? ((e = e.split(",")[0]), + (n = n.split(",")[0]), + 1e3 * (parseFloat(e) + parseFloat(n))) + : 0; + }, + reflow: function (t) { + return t.offsetHeight; + }, + triggerTransitionEnd: function (t) { + g(t).trigger(e); + }, + supportsTransitionEnd: function () { + return Boolean(e); + }, + isElement: function (t) { + return (t[0] || t).nodeType; + }, + typeCheckConfig: function (t, e, n) { + for (var i in n) + if (Object.prototype.hasOwnProperty.call(n, i)) { + var o = n[i], + r = e[i], + s = + r && _.isElement(r) + ? "element" + : ((a = r), + {}.toString + .call(a) + .match(/\s([a-z]+)/i)[1] + .toLowerCase()); + if (!new RegExp(o).test(s)) + throw new Error( + t.toUpperCase() + + ': Option "' + + i + + '" provided type "' + + s + + '" but expected type "' + + o + + '".' + ); + } + var a; + }, + findShadowRoot: function (t) { + if (!document.documentElement.attachShadow) return null; + if ("function" != typeof t.getRootNode) + return t instanceof ShadowRoot + ? t + : t.parentNode + ? _.findShadowRoot(t.parentNode) + : null; + var e = t.getRootNode(); + return e instanceof ShadowRoot ? e : null; + }, + }; + (g.fn.emulateTransitionEnd = n), + (g.event.special[_.TRANSITION_END] = { + bindType: e, + delegateType: e, + handle: function (t) { + if (g(t.target).is(this)) + return t.handleObj.handler.apply(this, arguments); + }, + }); + var o = "alert", + r = "bs.alert", + a = "." + r, + c = g.fn[o], + h = { + CLOSE: "close" + a, + CLOSED: "closed" + a, + CLICK_DATA_API: "click" + a + ".data-api", + }, + f = "alert", + d = "fade", + m = "show", + p = (function () { + function i(t) { + this._element = t; + } + var t = i.prototype; + return ( + (t.close = function (t) { + var e = this._element; + t && (e = this._getRootElement(t)), + this._triggerCloseEvent(e).isDefaultPrevented() || + this._removeElement(e); + }), + (t.dispose = function () { + g.removeData(this._element, r), (this._element = null); + }), + (t._getRootElement = function (t) { + var e = _.getSelectorFromElement(t), + n = !1; + return ( + e && (n = document.querySelector(e)), + n || (n = g(t).closest("." + f)[0]), + n + ); + }), + (t._triggerCloseEvent = function (t) { + var e = g.Event(h.CLOSE); + return g(t).trigger(e), e; + }), + (t._removeElement = function (e) { + var n = this; + if ((g(e).removeClass(m), g(e).hasClass(d))) { + var t = _.getTransitionDurationFromElement(e); + g(e) + .one(_.TRANSITION_END, function (t) { + return n._destroyElement(e, t); + }) + .emulateTransitionEnd(t); + } else this._destroyElement(e); + }), + (t._destroyElement = function (t) { + g(t).detach().trigger(h.CLOSED).remove(); + }), + (i._jQueryInterface = function (n) { + return this.each(function () { + var t = g(this), + e = t.data(r); + e || ((e = new i(this)), t.data(r, e)), "close" === n && e[n](this); + }); + }), + (i._handleDismiss = function (e) { + return function (t) { + t && t.preventDefault(), e.close(this); + }; + }), + s(i, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + ]), + i + ); + })(); + g(document).on( + h.CLICK_DATA_API, + '[data-dismiss="alert"]', + p._handleDismiss(new p()) + ), + (g.fn[o] = p._jQueryInterface), + (g.fn[o].Constructor = p), + (g.fn[o].noConflict = function () { + return (g.fn[o] = c), p._jQueryInterface; + }); + var v = "button", + E = "bs.button", + y = "." + E, + C = ".data-api", + T = g.fn[v], + S = "active", + b = "btn", + I = "focus", + D = '[data-toggle^="button"]', + w = '[data-toggle="buttons"]', + A = 'input:not([type="hidden"])', + N = ".active", + O = ".btn", + k = { + CLICK_DATA_API: "click" + y + C, + FOCUS_BLUR_DATA_API: "focus" + y + C + " blur" + y + C, + }, + P = (function () { + function n(t) { + this._element = t; + } + var t = n.prototype; + return ( + (t.toggle = function () { + var t = !0, + e = !0, + n = g(this._element).closest(w)[0]; + if (n) { + var i = this._element.querySelector(A); + if (i) { + if ("radio" === i.type) + if (i.checked && this._element.classList.contains(S)) t = !1; + else { + var o = n.querySelector(N); + o && g(o).removeClass(S); + } + if (t) { + if ( + i.hasAttribute("disabled") || + n.hasAttribute("disabled") || + i.classList.contains("disabled") || + n.classList.contains("disabled") + ) + return; + (i.checked = !this._element.classList.contains(S)), + g(i).trigger("change"); + } + i.focus(), (e = !1); + } + } + e && + this._element.setAttribute( + "aria-pressed", + !this._element.classList.contains(S) + ), + t && g(this._element).toggleClass(S); + }), + (t.dispose = function () { + g.removeData(this._element, E), (this._element = null); + }), + (n._jQueryInterface = function (e) { + return this.each(function () { + var t = g(this).data(E); + t || ((t = new n(this)), g(this).data(E, t)), + "toggle" === e && t[e](); + }); + }), + s(n, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + ]), + n + ); + })(); + g(document) + .on(k.CLICK_DATA_API, D, function (t) { + t.preventDefault(); + var e = t.target; + g(e).hasClass(b) || (e = g(e).closest(O)), + P._jQueryInterface.call(g(e), "toggle"); + }) + .on(k.FOCUS_BLUR_DATA_API, D, function (t) { + var e = g(t.target).closest(O)[0]; + g(e).toggleClass(I, /^focus(in)?$/.test(t.type)); + }), + (g.fn[v] = P._jQueryInterface), + (g.fn[v].Constructor = P), + (g.fn[v].noConflict = function () { + return (g.fn[v] = T), P._jQueryInterface; + }); + var L = "carousel", + j = "bs.carousel", + H = "." + j, + R = ".data-api", + U = g.fn[L], + W = { + interval: 5e3, + keyboard: !0, + slide: !1, + pause: "hover", + wrap: !0, + touch: !0, + }, + x = { + interval: "(number|boolean)", + keyboard: "boolean", + slide: "(boolean|string)", + pause: "(string|boolean)", + wrap: "boolean", + touch: "boolean", + }, + F = "next", + q = "prev", + M = "left", + K = "right", + Q = { + SLIDE: "slide" + H, + SLID: "slid" + H, + KEYDOWN: "keydown" + H, + MOUSEENTER: "mouseenter" + H, + MOUSELEAVE: "mouseleave" + H, + TOUCHSTART: "touchstart" + H, + TOUCHMOVE: "touchmove" + H, + TOUCHEND: "touchend" + H, + POINTERDOWN: "pointerdown" + H, + POINTERUP: "pointerup" + H, + DRAG_START: "dragstart" + H, + LOAD_DATA_API: "load" + H + R, + CLICK_DATA_API: "click" + H + R, + }, + B = "carousel", + V = "active", + Y = "slide", + X = "carousel-item-right", + z = "carousel-item-left", + G = "carousel-item-next", + J = "carousel-item-prev", + Z = "pointer-event", + $ = ".active", + tt = ".active.carousel-item", + et = ".carousel-item", + nt = ".carousel-item img", + it = ".carousel-item-next, .carousel-item-prev", + ot = ".carousel-indicators", + rt = "[data-slide], [data-slide-to]", + st = '[data-ride="carousel"]', + at = { TOUCH: "touch", PEN: "pen" }, + lt = (function () { + function r(t, e) { + (this._items = null), + (this._interval = null), + (this._activeElement = null), + (this._isPaused = !1), + (this._isSliding = !1), + (this.touchTimeout = null), + (this.touchStartX = 0), + (this.touchDeltaX = 0), + (this._config = this._getConfig(e)), + (this._element = t), + (this._indicatorsElement = this._element.querySelector(ot)), + (this._touchSupported = + "ontouchstart" in document.documentElement || + 0 < navigator.maxTouchPoints), + (this._pointerEvent = Boolean( + window.PointerEvent || window.MSPointerEvent + )), + this._addEventListeners(); + } + var t = r.prototype; + return ( + (t.next = function () { + this._isSliding || this._slide(F); + }), + (t.nextWhenVisible = function () { + !document.hidden && + g(this._element).is(":visible") && + "hidden" !== g(this._element).css("visibility") && + this.next(); + }), + (t.prev = function () { + this._isSliding || this._slide(q); + }), + (t.pause = function (t) { + t || (this._isPaused = !0), + this._element.querySelector(it) && + (_.triggerTransitionEnd(this._element), this.cycle(!0)), + clearInterval(this._interval), + (this._interval = null); + }), + (t.cycle = function (t) { + t || (this._isPaused = !1), + this._interval && + (clearInterval(this._interval), (this._interval = null)), + this._config.interval && + !this._isPaused && + (this._interval = setInterval( + (document.visibilityState + ? this.nextWhenVisible + : this.next + ).bind(this), + this._config.interval + )); + }), + (t.to = function (t) { + var e = this; + this._activeElement = this._element.querySelector(tt); + var n = this._getItemIndex(this._activeElement); + if (!(t > this._items.length - 1 || t < 0)) + if (this._isSliding) + g(this._element).one(Q.SLID, function () { + return e.to(t); + }); + else { + if (n === t) return this.pause(), void this.cycle(); + var i = n < t ? F : q; + this._slide(i, this._items[t]); + } + }), + (t.dispose = function () { + g(this._element).off(H), + g.removeData(this._element, j), + (this._items = null), + (this._config = null), + (this._element = null), + (this._interval = null), + (this._isPaused = null), + (this._isSliding = null), + (this._activeElement = null), + (this._indicatorsElement = null); + }), + (t._getConfig = function (t) { + return (t = l({}, W, t)), _.typeCheckConfig(L, t, x), t; + }), + (t._handleSwipe = function () { + var t = Math.abs(this.touchDeltaX); + if (!(t <= 40)) { + var e = t / this.touchDeltaX; + 0 < e && this.prev(), e < 0 && this.next(); + } + }), + (t._addEventListeners = function () { + var e = this; + this._config.keyboard && + g(this._element).on(Q.KEYDOWN, function (t) { + return e._keydown(t); + }), + "hover" === this._config.pause && + g(this._element) + .on(Q.MOUSEENTER, function (t) { + return e.pause(t); + }) + .on(Q.MOUSELEAVE, function (t) { + return e.cycle(t); + }), + this._addTouchEventListeners(); + }), + (t._addTouchEventListeners = function () { + var n = this; + if (this._touchSupported) { + var e = function (t) { + n._pointerEvent && at[t.originalEvent.pointerType.toUpperCase()] + ? (n.touchStartX = t.originalEvent.clientX) + : n._pointerEvent || + (n.touchStartX = t.originalEvent.touches[0].clientX); + }, + i = function (t) { + n._pointerEvent && + at[t.originalEvent.pointerType.toUpperCase()] && + (n.touchDeltaX = t.originalEvent.clientX - n.touchStartX), + n._handleSwipe(), + "hover" === n._config.pause && + (n.pause(), + n.touchTimeout && clearTimeout(n.touchTimeout), + (n.touchTimeout = setTimeout(function (t) { + return n.cycle(t); + }, 500 + n._config.interval))); + }; + g(this._element.querySelectorAll(nt)).on( + Q.DRAG_START, + function (t) { + return t.preventDefault(); + } + ), + this._pointerEvent + ? (g(this._element).on(Q.POINTERDOWN, function (t) { + return e(t); + }), + g(this._element).on(Q.POINTERUP, function (t) { + return i(t); + }), + this._element.classList.add(Z)) + : (g(this._element).on(Q.TOUCHSTART, function (t) { + return e(t); + }), + g(this._element).on(Q.TOUCHMOVE, function (t) { + var e; + (e = t).originalEvent.touches && + 1 < e.originalEvent.touches.length + ? (n.touchDeltaX = 0) + : (n.touchDeltaX = + e.originalEvent.touches[0].clientX - n.touchStartX); + }), + g(this._element).on(Q.TOUCHEND, function (t) { + return i(t); + })); + } + }), + (t._keydown = function (t) { + if (!/input|textarea/i.test(t.target.tagName)) + switch (t.which) { + case 37: + t.preventDefault(), this.prev(); + break; + case 39: + t.preventDefault(), this.next(); + } + }), + (t._getItemIndex = function (t) { + return ( + (this._items = + t && t.parentNode + ? [].slice.call(t.parentNode.querySelectorAll(et)) + : []), + this._items.indexOf(t) + ); + }), + (t._getItemByDirection = function (t, e) { + var n = t === F, + i = t === q, + o = this._getItemIndex(e), + r = this._items.length - 1; + if (((i && 0 === o) || (n && o === r)) && !this._config.wrap) + return e; + var s = (o + (t === q ? -1 : 1)) % this._items.length; + return -1 === s + ? this._items[this._items.length - 1] + : this._items[s]; + }), + (t._triggerSlideEvent = function (t, e) { + var n = this._getItemIndex(t), + i = this._getItemIndex(this._element.querySelector(tt)), + o = g.Event(Q.SLIDE, { + relatedTarget: t, + direction: e, + from: i, + to: n, + }); + return g(this._element).trigger(o), o; + }), + (t._setActiveIndicatorElement = function (t) { + if (this._indicatorsElement) { + var e = [].slice.call(this._indicatorsElement.querySelectorAll($)); + g(e).removeClass(V); + var n = this._indicatorsElement.children[this._getItemIndex(t)]; + n && g(n).addClass(V); + } + }), + (t._slide = function (t, e) { + var n, + i, + o, + r = this, + s = this._element.querySelector(tt), + a = this._getItemIndex(s), + l = e || (s && this._getItemByDirection(t, s)), + c = this._getItemIndex(l), + h = Boolean(this._interval); + if ( + ((o = t === F ? ((n = z), (i = G), M) : ((n = X), (i = J), K)), + l && g(l).hasClass(V)) + ) + this._isSliding = !1; + else if ( + !this._triggerSlideEvent(l, o).isDefaultPrevented() && + s && + l + ) { + (this._isSliding = !0), + h && this.pause(), + this._setActiveIndicatorElement(l); + var u = g.Event(Q.SLID, { + relatedTarget: l, + direction: o, + from: a, + to: c, + }); + if (g(this._element).hasClass(Y)) { + g(l).addClass(i), _.reflow(l), g(s).addClass(n), g(l).addClass(n); + var f = parseInt(l.getAttribute("data-interval"), 10); + this._config.interval = f + ? ((this._config.defaultInterval = + this._config.defaultInterval || this._config.interval), + f) + : this._config.defaultInterval || this._config.interval; + var d = _.getTransitionDurationFromElement(s); + g(s) + .one(_.TRANSITION_END, function () { + g(l) + .removeClass(n + " " + i) + .addClass(V), + g(s).removeClass(V + " " + i + " " + n), + (r._isSliding = !1), + setTimeout(function () { + return g(r._element).trigger(u); + }, 0); + }) + .emulateTransitionEnd(d); + } else + g(s).removeClass(V), + g(l).addClass(V), + (this._isSliding = !1), + g(this._element).trigger(u); + h && this.cycle(); + } + }), + (r._jQueryInterface = function (i) { + return this.each(function () { + var t = g(this).data(j), + e = l({}, W, g(this).data()); + "object" == typeof i && (e = l({}, e, i)); + var n = "string" == typeof i ? i : e.slide; + if ( + (t || ((t = new r(this, e)), g(this).data(j, t)), + "number" == typeof i) + ) + t.to(i); + else if ("string" == typeof n) { + if ("undefined" == typeof t[n]) + throw new TypeError('No method named "' + n + '"'); + t[n](); + } else e.interval && (t.pause(), t.cycle()); + }); + }), + (r._dataApiClickHandler = function (t) { + var e = _.getSelectorFromElement(this); + if (e) { + var n = g(e)[0]; + if (n && g(n).hasClass(B)) { + var i = l({}, g(n).data(), g(this).data()), + o = this.getAttribute("data-slide-to"); + o && (i.interval = !1), + r._jQueryInterface.call(g(n), i), + o && g(n).data(j).to(o), + t.preventDefault(); + } + } + }), + s(r, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return W; + }, + }, + ]), + r + ); + })(); + g(document).on(Q.CLICK_DATA_API, rt, lt._dataApiClickHandler), + g(window).on(Q.LOAD_DATA_API, function () { + for ( + var t = [].slice.call(document.querySelectorAll(st)), + e = 0, + n = t.length; + e < n; + e++ + ) { + var i = g(t[e]); + lt._jQueryInterface.call(i, i.data()); + } + }), + (g.fn[L] = lt._jQueryInterface), + (g.fn[L].Constructor = lt), + (g.fn[L].noConflict = function () { + return (g.fn[L] = U), lt._jQueryInterface; + }); + var ct = "collapse", + ht = "bs.collapse", + ut = "." + ht, + ft = g.fn[ct], + dt = { toggle: !0, parent: "" }, + gt = { toggle: "boolean", parent: "(string|element)" }, + _t = { + SHOW: "show" + ut, + SHOWN: "shown" + ut, + HIDE: "hide" + ut, + HIDDEN: "hidden" + ut, + CLICK_DATA_API: "click" + ut + ".data-api", + }, + mt = "show", + pt = "collapse", + vt = "collapsing", + Et = "collapsed", + yt = "width", + Ct = "height", + Tt = ".show, .collapsing", + St = '[data-toggle="collapse"]', + bt = (function () { + function a(e, t) { + (this._isTransitioning = !1), + (this._element = e), + (this._config = this._getConfig(t)), + (this._triggerArray = [].slice.call( + document.querySelectorAll( + '[data-toggle="collapse"][href="#' + + e.id + + '"],[data-toggle="collapse"][data-target="#' + + e.id + + '"]' + ) + )); + for ( + var n = [].slice.call(document.querySelectorAll(St)), + i = 0, + o = n.length; + i < o; + i++ + ) { + var r = n[i], + s = _.getSelectorFromElement(r), + a = [].slice + .call(document.querySelectorAll(s)) + .filter(function (t) { + return t === e; + }); + null !== s && + 0 < a.length && + ((this._selector = s), this._triggerArray.push(r)); + } + (this._parent = this._config.parent ? this._getParent() : null), + this._config.parent || + this._addAriaAndCollapsedClass(this._element, this._triggerArray), + this._config.toggle && this.toggle(); + } + var t = a.prototype; + return ( + (t.toggle = function () { + g(this._element).hasClass(mt) ? this.hide() : this.show(); + }), + (t.show = function () { + var t, + e, + n = this; + if ( + !this._isTransitioning && + !g(this._element).hasClass(mt) && + (this._parent && + 0 === + (t = [].slice + .call(this._parent.querySelectorAll(Tt)) + .filter(function (t) { + return "string" == typeof n._config.parent + ? t.getAttribute("data-parent") === n._config.parent + : t.classList.contains(pt); + })).length && + (t = null), + !( + t && + (e = g(t).not(this._selector).data(ht)) && + e._isTransitioning + )) + ) { + var i = g.Event(_t.SHOW); + if ((g(this._element).trigger(i), !i.isDefaultPrevented())) { + t && + (a._jQueryInterface.call(g(t).not(this._selector), "hide"), + e || g(t).data(ht, null)); + var o = this._getDimension(); + g(this._element).removeClass(pt).addClass(vt), + (this._element.style[o] = 0), + this._triggerArray.length && + g(this._triggerArray) + .removeClass(Et) + .attr("aria-expanded", !0), + this.setTransitioning(!0); + var r = "scroll" + (o[0].toUpperCase() + o.slice(1)), + s = _.getTransitionDurationFromElement(this._element); + g(this._element) + .one(_.TRANSITION_END, function () { + g(n._element).removeClass(vt).addClass(pt).addClass(mt), + (n._element.style[o] = ""), + n.setTransitioning(!1), + g(n._element).trigger(_t.SHOWN); + }) + .emulateTransitionEnd(s), + (this._element.style[o] = this._element[r] + "px"); + } + } + }), + (t.hide = function () { + var t = this; + if (!this._isTransitioning && g(this._element).hasClass(mt)) { + var e = g.Event(_t.HIDE); + if ((g(this._element).trigger(e), !e.isDefaultPrevented())) { + var n = this._getDimension(); + (this._element.style[n] = + this._element.getBoundingClientRect()[n] + "px"), + _.reflow(this._element), + g(this._element).addClass(vt).removeClass(pt).removeClass(mt); + var i = this._triggerArray.length; + if (0 < i) + for (var o = 0; o < i; o++) { + var r = this._triggerArray[o], + s = _.getSelectorFromElement(r); + if (null !== s) + g([].slice.call(document.querySelectorAll(s))).hasClass( + mt + ) || g(r).addClass(Et).attr("aria-expanded", !1); + } + this.setTransitioning(!0); + this._element.style[n] = ""; + var a = _.getTransitionDurationFromElement(this._element); + g(this._element) + .one(_.TRANSITION_END, function () { + t.setTransitioning(!1), + g(t._element) + .removeClass(vt) + .addClass(pt) + .trigger(_t.HIDDEN); + }) + .emulateTransitionEnd(a); + } + } + }), + (t.setTransitioning = function (t) { + this._isTransitioning = t; + }), + (t.dispose = function () { + g.removeData(this._element, ht), + (this._config = null), + (this._parent = null), + (this._element = null), + (this._triggerArray = null), + (this._isTransitioning = null); + }), + (t._getConfig = function (t) { + return ( + ((t = l({}, dt, t)).toggle = Boolean(t.toggle)), + _.typeCheckConfig(ct, t, gt), + t + ); + }), + (t._getDimension = function () { + return g(this._element).hasClass(yt) ? yt : Ct; + }), + (t._getParent = function () { + var t, + n = this; + _.isElement(this._config.parent) + ? ((t = this._config.parent), + "undefined" != typeof this._config.parent.jquery && + (t = this._config.parent[0])) + : (t = document.querySelector(this._config.parent)); + var e = + '[data-toggle="collapse"][data-parent="' + + this._config.parent + + '"]', + i = [].slice.call(t.querySelectorAll(e)); + return ( + g(i).each(function (t, e) { + n._addAriaAndCollapsedClass(a._getTargetFromElement(e), [e]); + }), + t + ); + }), + (t._addAriaAndCollapsedClass = function (t, e) { + var n = g(t).hasClass(mt); + e.length && g(e).toggleClass(Et, !n).attr("aria-expanded", n); + }), + (a._getTargetFromElement = function (t) { + var e = _.getSelectorFromElement(t); + return e ? document.querySelector(e) : null; + }), + (a._jQueryInterface = function (i) { + return this.each(function () { + var t = g(this), + e = t.data(ht), + n = l({}, dt, t.data(), "object" == typeof i && i ? i : {}); + if ( + (!e && n.toggle && /show|hide/.test(i) && (n.toggle = !1), + e || ((e = new a(this, n)), t.data(ht, e)), + "string" == typeof i) + ) { + if ("undefined" == typeof e[i]) + throw new TypeError('No method named "' + i + '"'); + e[i](); + } + }); + }), + s(a, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return dt; + }, + }, + ]), + a + ); + })(); + g(document).on(_t.CLICK_DATA_API, St, function (t) { + "A" === t.currentTarget.tagName && t.preventDefault(); + var n = g(this), + e = _.getSelectorFromElement(this), + i = [].slice.call(document.querySelectorAll(e)); + g(i).each(function () { + var t = g(this), + e = t.data(ht) ? "toggle" : n.data(); + bt._jQueryInterface.call(t, e); + }); + }), + (g.fn[ct] = bt._jQueryInterface), + (g.fn[ct].Constructor = bt), + (g.fn[ct].noConflict = function () { + return (g.fn[ct] = ft), bt._jQueryInterface; + }); + var It = "dropdown", + Dt = "bs.dropdown", + wt = "." + Dt, + At = ".data-api", + Nt = g.fn[It], + Ot = new RegExp("38|40|27"), + kt = { + HIDE: "hide" + wt, + HIDDEN: "hidden" + wt, + SHOW: "show" + wt, + SHOWN: "shown" + wt, + CLICK: "click" + wt, + CLICK_DATA_API: "click" + wt + At, + KEYDOWN_DATA_API: "keydown" + wt + At, + KEYUP_DATA_API: "keyup" + wt + At, + }, + Pt = "disabled", + Lt = "show", + jt = "dropup", + Ht = "dropright", + Rt = "dropleft", + Ut = "dropdown-menu-right", + Wt = "position-static", + xt = '[data-toggle="dropdown"]', + Ft = ".dropdown form", + qt = ".dropdown-menu", + Mt = ".navbar-nav", + Kt = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", + Qt = "top-start", + Bt = "top-end", + Vt = "bottom-start", + Yt = "bottom-end", + Xt = "right-start", + zt = "left-start", + Gt = { + offset: 0, + flip: !0, + boundary: "scrollParent", + reference: "toggle", + display: "dynamic", + }, + Jt = { + offset: "(number|string|function)", + flip: "boolean", + boundary: "(string|element)", + reference: "(string|element)", + display: "string", + }, + Zt = (function () { + function c(t, e) { + (this._element = t), + (this._popper = null), + (this._config = this._getConfig(e)), + (this._menu = this._getMenuElement()), + (this._inNavbar = this._detectNavbar()), + this._addEventListeners(); + } + var t = c.prototype; + return ( + (t.toggle = function () { + if (!this._element.disabled && !g(this._element).hasClass(Pt)) { + var t = c._getParentFromElement(this._element), + e = g(this._menu).hasClass(Lt); + if ((c._clearMenus(), !e)) { + var n = { relatedTarget: this._element }, + i = g.Event(kt.SHOW, n); + if ((g(t).trigger(i), !i.isDefaultPrevented())) { + if (!this._inNavbar) { + if ("undefined" == typeof u) + throw new TypeError( + "Bootstrap's dropdowns require Popper.js (https://popper.js.org/)" + ); + var o = this._element; + "parent" === this._config.reference + ? (o = t) + : _.isElement(this._config.reference) && + ((o = this._config.reference), + "undefined" != typeof this._config.reference.jquery && + (o = this._config.reference[0])), + "scrollParent" !== this._config.boundary && + g(t).addClass(Wt), + (this._popper = new u( + o, + this._menu, + this._getPopperConfig() + )); + } + "ontouchstart" in document.documentElement && + 0 === g(t).closest(Mt).length && + g(document.body).children().on("mouseover", null, g.noop), + this._element.focus(), + this._element.setAttribute("aria-expanded", !0), + g(this._menu).toggleClass(Lt), + g(t).toggleClass(Lt).trigger(g.Event(kt.SHOWN, n)); + } + } + } + }), + (t.show = function () { + if ( + !( + this._element.disabled || + g(this._element).hasClass(Pt) || + g(this._menu).hasClass(Lt) + ) + ) { + var t = { relatedTarget: this._element }, + e = g.Event(kt.SHOW, t), + n = c._getParentFromElement(this._element); + g(n).trigger(e), + e.isDefaultPrevented() || + (g(this._menu).toggleClass(Lt), + g(n).toggleClass(Lt).trigger(g.Event(kt.SHOWN, t))); + } + }), + (t.hide = function () { + if ( + !this._element.disabled && + !g(this._element).hasClass(Pt) && + g(this._menu).hasClass(Lt) + ) { + var t = { relatedTarget: this._element }, + e = g.Event(kt.HIDE, t), + n = c._getParentFromElement(this._element); + g(n).trigger(e), + e.isDefaultPrevented() || + (g(this._menu).toggleClass(Lt), + g(n).toggleClass(Lt).trigger(g.Event(kt.HIDDEN, t))); + } + }), + (t.dispose = function () { + g.removeData(this._element, Dt), + g(this._element).off(wt), + (this._element = null), + (this._menu = null) !== this._popper && + (this._popper.destroy(), (this._popper = null)); + }), + (t.update = function () { + (this._inNavbar = this._detectNavbar()), + null !== this._popper && this._popper.scheduleUpdate(); + }), + (t._addEventListeners = function () { + var e = this; + g(this._element).on(kt.CLICK, function (t) { + t.preventDefault(), t.stopPropagation(), e.toggle(); + }); + }), + (t._getConfig = function (t) { + return ( + (t = l({}, this.constructor.Default, g(this._element).data(), t)), + _.typeCheckConfig(It, t, this.constructor.DefaultType), + t + ); + }), + (t._getMenuElement = function () { + if (!this._menu) { + var t = c._getParentFromElement(this._element); + t && (this._menu = t.querySelector(qt)); + } + return this._menu; + }), + (t._getPlacement = function () { + var t = g(this._element.parentNode), + e = Vt; + return ( + t.hasClass(jt) + ? ((e = Qt), g(this._menu).hasClass(Ut) && (e = Bt)) + : t.hasClass(Ht) + ? (e = Xt) + : t.hasClass(Rt) + ? (e = zt) + : g(this._menu).hasClass(Ut) && (e = Yt), + e + ); + }), + (t._detectNavbar = function () { + return 0 < g(this._element).closest(".navbar").length; + }), + (t._getPopperConfig = function () { + var e = this, + t = {}; + "function" == typeof this._config.offset + ? (t.fn = function (t) { + return ( + (t.offsets = l( + {}, + t.offsets, + e._config.offset(t.offsets) || {} + )), + t + ); + }) + : (t.offset = this._config.offset); + var n = { + placement: this._getPlacement(), + modifiers: { + offset: t, + flip: { enabled: this._config.flip }, + preventOverflow: { boundariesElement: this._config.boundary }, + }, + }; + return ( + "static" === this._config.display && + (n.modifiers.applyStyle = { enabled: !1 }), + n + ); + }), + (c._jQueryInterface = function (e) { + return this.each(function () { + var t = g(this).data(Dt); + if ( + (t || + ((t = new c(this, "object" == typeof e ? e : null)), + g(this).data(Dt, t)), + "string" == typeof e) + ) { + if ("undefined" == typeof t[e]) + throw new TypeError('No method named "' + e + '"'); + t[e](); + } + }); + }), + (c._clearMenus = function (t) { + if (!t || (3 !== t.which && ("keyup" !== t.type || 9 === t.which))) + for ( + var e = [].slice.call(document.querySelectorAll(xt)), + n = 0, + i = e.length; + n < i; + n++ + ) { + var o = c._getParentFromElement(e[n]), + r = g(e[n]).data(Dt), + s = { relatedTarget: e[n] }; + if ((t && "click" === t.type && (s.clickEvent = t), r)) { + var a = r._menu; + if ( + g(o).hasClass(Lt) && + !( + t && + (("click" === t.type && + /input|textarea/i.test(t.target.tagName)) || + ("keyup" === t.type && 9 === t.which)) && + g.contains(o, t.target) + ) + ) { + var l = g.Event(kt.HIDE, s); + g(o).trigger(l), + l.isDefaultPrevented() || + ("ontouchstart" in document.documentElement && + g(document.body) + .children() + .off("mouseover", null, g.noop), + e[n].setAttribute("aria-expanded", "false"), + g(a).removeClass(Lt), + g(o).removeClass(Lt).trigger(g.Event(kt.HIDDEN, s))); + } + } + } + }), + (c._getParentFromElement = function (t) { + var e, + n = _.getSelectorFromElement(t); + return n && (e = document.querySelector(n)), e || t.parentNode; + }), + (c._dataApiKeydownHandler = function (t) { + if ( + (/input|textarea/i.test(t.target.tagName) + ? !( + 32 === t.which || + (27 !== t.which && + ((40 !== t.which && 38 !== t.which) || + g(t.target).closest(qt).length)) + ) + : Ot.test(t.which)) && + (t.preventDefault(), + t.stopPropagation(), + !this.disabled && !g(this).hasClass(Pt)) + ) { + var e = c._getParentFromElement(this), + n = g(e).hasClass(Lt); + if (n && (!n || (27 !== t.which && 32 !== t.which))) { + var i = [].slice.call(e.querySelectorAll(Kt)); + if (0 !== i.length) { + var o = i.indexOf(t.target); + 38 === t.which && 0 < o && o--, + 40 === t.which && o < i.length - 1 && o++, + o < 0 && (o = 0), + i[o].focus(); + } + } else { + if (27 === t.which) { + var r = e.querySelector(xt); + g(r).trigger("focus"); + } + g(this).trigger("click"); + } + } + }), + s(c, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return Gt; + }, + }, + { + key: "DefaultType", + get: function () { + return Jt; + }, + }, + ]), + c + ); + })(); + g(document) + .on(kt.KEYDOWN_DATA_API, xt, Zt._dataApiKeydownHandler) + .on(kt.KEYDOWN_DATA_API, qt, Zt._dataApiKeydownHandler) + .on(kt.CLICK_DATA_API + " " + kt.KEYUP_DATA_API, Zt._clearMenus) + .on(kt.CLICK_DATA_API, xt, function (t) { + t.preventDefault(), + t.stopPropagation(), + Zt._jQueryInterface.call(g(this), "toggle"); + }) + .on(kt.CLICK_DATA_API, Ft, function (t) { + t.stopPropagation(); + }), + (g.fn[It] = Zt._jQueryInterface), + (g.fn[It].Constructor = Zt), + (g.fn[It].noConflict = function () { + return (g.fn[It] = Nt), Zt._jQueryInterface; + }); + var $t = "modal", + te = "bs.modal", + ee = "." + te, + ne = g.fn[$t], + ie = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, + oe = { + backdrop: "(boolean|string)", + keyboard: "boolean", + focus: "boolean", + show: "boolean", + }, + re = { + HIDE: "hide" + ee, + HIDDEN: "hidden" + ee, + SHOW: "show" + ee, + SHOWN: "shown" + ee, + FOCUSIN: "focusin" + ee, + RESIZE: "resize" + ee, + CLICK_DISMISS: "click.dismiss" + ee, + KEYDOWN_DISMISS: "keydown.dismiss" + ee, + MOUSEUP_DISMISS: "mouseup.dismiss" + ee, + MOUSEDOWN_DISMISS: "mousedown.dismiss" + ee, + CLICK_DATA_API: "click" + ee + ".data-api", + }, + se = "modal-scrollbar-measure", + ae = "modal-backdrop", + le = "modal-open", + ce = "fade", + he = "show", + ue = ".modal-dialog", + fe = '[data-toggle="modal"]', + de = '[data-dismiss="modal"]', + ge = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", + _e = ".sticky-top", + me = (function () { + function o(t, e) { + (this._config = this._getConfig(e)), + (this._element = t), + (this._dialog = t.querySelector(ue)), + (this._backdrop = null), + (this._isShown = !1), + (this._isBodyOverflowing = !1), + (this._ignoreBackdropClick = !1), + (this._isTransitioning = !1), + (this._scrollbarWidth = 0); + } + var t = o.prototype; + return ( + (t.toggle = function (t) { + return this._isShown ? this.hide() : this.show(t); + }), + (t.show = function (t) { + var e = this; + if (!this._isShown && !this._isTransitioning) { + g(this._element).hasClass(ce) && (this._isTransitioning = !0); + var n = g.Event(re.SHOW, { relatedTarget: t }); + g(this._element).trigger(n), + this._isShown || + n.isDefaultPrevented() || + ((this._isShown = !0), + this._checkScrollbar(), + this._setScrollbar(), + this._adjustDialog(), + this._setEscapeEvent(), + this._setResizeEvent(), + g(this._element).on(re.CLICK_DISMISS, de, function (t) { + return e.hide(t); + }), + g(this._dialog).on(re.MOUSEDOWN_DISMISS, function () { + g(e._element).one(re.MOUSEUP_DISMISS, function (t) { + g(t.target).is(e._element) && (e._ignoreBackdropClick = !0); + }); + }), + this._showBackdrop(function () { + return e._showElement(t); + })); + } + }), + (t.hide = function (t) { + var e = this; + if ( + (t && t.preventDefault(), this._isShown && !this._isTransitioning) + ) { + var n = g.Event(re.HIDE); + if ( + (g(this._element).trigger(n), + this._isShown && !n.isDefaultPrevented()) + ) { + this._isShown = !1; + var i = g(this._element).hasClass(ce); + if ( + (i && (this._isTransitioning = !0), + this._setEscapeEvent(), + this._setResizeEvent(), + g(document).off(re.FOCUSIN), + g(this._element).removeClass(he), + g(this._element).off(re.CLICK_DISMISS), + g(this._dialog).off(re.MOUSEDOWN_DISMISS), + i) + ) { + var o = _.getTransitionDurationFromElement(this._element); + g(this._element) + .one(_.TRANSITION_END, function (t) { + return e._hideModal(t); + }) + .emulateTransitionEnd(o); + } else this._hideModal(); + } + } + }), + (t.dispose = function () { + [window, this._element, this._dialog].forEach(function (t) { + return g(t).off(ee); + }), + g(document).off(re.FOCUSIN), + g.removeData(this._element, te), + (this._config = null), + (this._element = null), + (this._dialog = null), + (this._backdrop = null), + (this._isShown = null), + (this._isBodyOverflowing = null), + (this._ignoreBackdropClick = null), + (this._isTransitioning = null), + (this._scrollbarWidth = null); + }), + (t.handleUpdate = function () { + this._adjustDialog(); + }), + (t._getConfig = function (t) { + return (t = l({}, ie, t)), _.typeCheckConfig($t, t, oe), t; + }), + (t._showElement = function (t) { + var e = this, + n = g(this._element).hasClass(ce); + (this._element.parentNode && + this._element.parentNode.nodeType === Node.ELEMENT_NODE) || + document.body.appendChild(this._element), + (this._element.style.display = "block"), + this._element.removeAttribute("aria-hidden"), + this._element.setAttribute("aria-modal", !0), + (this._element.scrollTop = 0), + n && _.reflow(this._element), + g(this._element).addClass(he), + this._config.focus && this._enforceFocus(); + var i = g.Event(re.SHOWN, { relatedTarget: t }), + o = function () { + e._config.focus && e._element.focus(), + (e._isTransitioning = !1), + g(e._element).trigger(i); + }; + if (n) { + var r = _.getTransitionDurationFromElement(this._dialog); + g(this._dialog).one(_.TRANSITION_END, o).emulateTransitionEnd(r); + } else o(); + }), + (t._enforceFocus = function () { + var e = this; + g(document) + .off(re.FOCUSIN) + .on(re.FOCUSIN, function (t) { + document !== t.target && + e._element !== t.target && + 0 === g(e._element).has(t.target).length && + e._element.focus(); + }); + }), + (t._setEscapeEvent = function () { + var e = this; + this._isShown && this._config.keyboard + ? g(this._element).on(re.KEYDOWN_DISMISS, function (t) { + 27 === t.which && (t.preventDefault(), e.hide()); + }) + : this._isShown || g(this._element).off(re.KEYDOWN_DISMISS); + }), + (t._setResizeEvent = function () { + var e = this; + this._isShown + ? g(window).on(re.RESIZE, function (t) { + return e.handleUpdate(t); + }) + : g(window).off(re.RESIZE); + }), + (t._hideModal = function () { + var t = this; + (this._element.style.display = "none"), + this._element.setAttribute("aria-hidden", !0), + this._element.removeAttribute("aria-modal"), + (this._isTransitioning = !1), + this._showBackdrop(function () { + g(document.body).removeClass(le), + t._resetAdjustments(), + t._resetScrollbar(), + g(t._element).trigger(re.HIDDEN); + }); + }), + (t._removeBackdrop = function () { + this._backdrop && + (g(this._backdrop).remove(), (this._backdrop = null)); + }), + (t._showBackdrop = function (t) { + var e = this, + n = g(this._element).hasClass(ce) ? ce : ""; + if (this._isShown && this._config.backdrop) { + if ( + ((this._backdrop = document.createElement("div")), + (this._backdrop.className = ae), + n && this._backdrop.classList.add(n), + g(this._backdrop).appendTo(document.body), + g(this._element).on(re.CLICK_DISMISS, function (t) { + e._ignoreBackdropClick + ? (e._ignoreBackdropClick = !1) + : t.target === t.currentTarget && + ("static" === e._config.backdrop + ? e._element.focus() + : e.hide()); + }), + n && _.reflow(this._backdrop), + g(this._backdrop).addClass(he), + !t) + ) + return; + if (!n) return void t(); + var i = _.getTransitionDurationFromElement(this._backdrop); + g(this._backdrop).one(_.TRANSITION_END, t).emulateTransitionEnd(i); + } else if (!this._isShown && this._backdrop) { + g(this._backdrop).removeClass(he); + var o = function () { + e._removeBackdrop(), t && t(); + }; + if (g(this._element).hasClass(ce)) { + var r = _.getTransitionDurationFromElement(this._backdrop); + g(this._backdrop) + .one(_.TRANSITION_END, o) + .emulateTransitionEnd(r); + } else o(); + } else t && t(); + }), + (t._adjustDialog = function () { + var t = + this._element.scrollHeight > document.documentElement.clientHeight; + !this._isBodyOverflowing && + t && + (this._element.style.paddingLeft = this._scrollbarWidth + "px"), + this._isBodyOverflowing && + !t && + (this._element.style.paddingRight = this._scrollbarWidth + "px"); + }), + (t._resetAdjustments = function () { + (this._element.style.paddingLeft = ""), + (this._element.style.paddingRight = ""); + }), + (t._checkScrollbar = function () { + var t = document.body.getBoundingClientRect(); + (this._isBodyOverflowing = t.left + t.right < window.innerWidth), + (this._scrollbarWidth = this._getScrollbarWidth()); + }), + (t._setScrollbar = function () { + var o = this; + if (this._isBodyOverflowing) { + var t = [].slice.call(document.querySelectorAll(ge)), + e = [].slice.call(document.querySelectorAll(_e)); + g(t).each(function (t, e) { + var n = e.style.paddingRight, + i = g(e).css("padding-right"); + g(e) + .data("padding-right", n) + .css("padding-right", parseFloat(i) + o._scrollbarWidth + "px"); + }), + g(e).each(function (t, e) { + var n = e.style.marginRight, + i = g(e).css("margin-right"); + g(e) + .data("margin-right", n) + .css( + "margin-right", + parseFloat(i) - o._scrollbarWidth + "px" + ); + }); + var n = document.body.style.paddingRight, + i = g(document.body).css("padding-right"); + g(document.body) + .data("padding-right", n) + .css( + "padding-right", + parseFloat(i) + this._scrollbarWidth + "px" + ); + } + g(document.body).addClass(le); + }), + (t._resetScrollbar = function () { + var t = [].slice.call(document.querySelectorAll(ge)); + g(t).each(function (t, e) { + var n = g(e).data("padding-right"); + g(e).removeData("padding-right"), (e.style.paddingRight = n || ""); + }); + var e = [].slice.call(document.querySelectorAll("" + _e)); + g(e).each(function (t, e) { + var n = g(e).data("margin-right"); + "undefined" != typeof n && + g(e).css("margin-right", n).removeData("margin-right"); + }); + var n = g(document.body).data("padding-right"); + g(document.body).removeData("padding-right"), + (document.body.style.paddingRight = n || ""); + }), + (t._getScrollbarWidth = function () { + var t = document.createElement("div"); + (t.className = se), document.body.appendChild(t); + var e = t.getBoundingClientRect().width - t.clientWidth; + return document.body.removeChild(t), e; + }), + (o._jQueryInterface = function (n, i) { + return this.each(function () { + var t = g(this).data(te), + e = l({}, ie, g(this).data(), "object" == typeof n && n ? n : {}); + if ( + (t || ((t = new o(this, e)), g(this).data(te, t)), + "string" == typeof n) + ) { + if ("undefined" == typeof t[n]) + throw new TypeError('No method named "' + n + '"'); + t[n](i); + } else e.show && t.show(i); + }); + }), + s(o, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return ie; + }, + }, + ]), + o + ); + })(); + g(document).on(re.CLICK_DATA_API, fe, function (t) { + var e, + n = this, + i = _.getSelectorFromElement(this); + i && (e = document.querySelector(i)); + var o = g(e).data(te) ? "toggle" : l({}, g(e).data(), g(this).data()); + ("A" !== this.tagName && "AREA" !== this.tagName) || t.preventDefault(); + var r = g(e).one(re.SHOW, function (t) { + t.isDefaultPrevented() || + r.one(re.HIDDEN, function () { + g(n).is(":visible") && n.focus(); + }); + }); + me._jQueryInterface.call(g(e), o, this); + }), + (g.fn[$t] = me._jQueryInterface), + (g.fn[$t].Constructor = me), + (g.fn[$t].noConflict = function () { + return (g.fn[$t] = ne), me._jQueryInterface; + }); + var pe = "tooltip", + ve = "bs.tooltip", + Ee = "." + ve, + ye = g.fn[pe], + Ce = "bs-tooltip", + Te = new RegExp("(^|\\s)" + Ce + "\\S+", "g"), + Se = { + animation: "boolean", + template: "string", + title: "(string|element|function)", + trigger: "string", + delay: "(number|object)", + html: "boolean", + selector: "(string|boolean)", + placement: "(string|function)", + offset: "(number|string)", + container: "(string|element|boolean)", + fallbackPlacement: "(string|array)", + boundary: "(string|element)", + }, + be = { + AUTO: "auto", + TOP: "top", + RIGHT: "right", + BOTTOM: "bottom", + LEFT: "left", + }, + Ie = { + animation: !0, + template: + '', + trigger: "hover focus", + title: "", + delay: 0, + html: !1, + selector: !1, + placement: "top", + offset: 0, + container: !1, + fallbackPlacement: "flip", + boundary: "scrollParent", + }, + De = "show", + we = "out", + Ae = { + HIDE: "hide" + Ee, + HIDDEN: "hidden" + Ee, + SHOW: "show" + Ee, + SHOWN: "shown" + Ee, + INSERTED: "inserted" + Ee, + CLICK: "click" + Ee, + FOCUSIN: "focusin" + Ee, + FOCUSOUT: "focusout" + Ee, + MOUSEENTER: "mouseenter" + Ee, + MOUSELEAVE: "mouseleave" + Ee, + }, + Ne = "fade", + Oe = "show", + ke = ".tooltip-inner", + Pe = ".arrow", + Le = "hover", + je = "focus", + He = "click", + Re = "manual", + Ue = (function () { + function i(t, e) { + if ("undefined" == typeof u) + throw new TypeError( + "Bootstrap's tooltips require Popper.js (https://popper.js.org/)" + ); + (this._isEnabled = !0), + (this._timeout = 0), + (this._hoverState = ""), + (this._activeTrigger = {}), + (this._popper = null), + (this.element = t), + (this.config = this._getConfig(e)), + (this.tip = null), + this._setListeners(); + } + var t = i.prototype; + return ( + (t.enable = function () { + this._isEnabled = !0; + }), + (t.disable = function () { + this._isEnabled = !1; + }), + (t.toggleEnabled = function () { + this._isEnabled = !this._isEnabled; + }), + (t.toggle = function (t) { + if (this._isEnabled) + if (t) { + var e = this.constructor.DATA_KEY, + n = g(t.currentTarget).data(e); + n || + ((n = new this.constructor( + t.currentTarget, + this._getDelegateConfig() + )), + g(t.currentTarget).data(e, n)), + (n._activeTrigger.click = !n._activeTrigger.click), + n._isWithActiveTrigger() + ? n._enter(null, n) + : n._leave(null, n); + } else { + if (g(this.getTipElement()).hasClass(Oe)) + return void this._leave(null, this); + this._enter(null, this); + } + }), + (t.dispose = function () { + clearTimeout(this._timeout), + g.removeData(this.element, this.constructor.DATA_KEY), + g(this.element).off(this.constructor.EVENT_KEY), + g(this.element).closest(".modal").off("hide.bs.modal"), + this.tip && g(this.tip).remove(), + (this._isEnabled = null), + (this._timeout = null), + (this._hoverState = null), + (this._activeTrigger = null) !== this._popper && + this._popper.destroy(), + (this._popper = null), + (this.element = null), + (this.config = null), + (this.tip = null); + }), + (t.show = function () { + var e = this; + if ("none" === g(this.element).css("display")) + throw new Error("Please use show on visible elements"); + var t = g.Event(this.constructor.Event.SHOW); + if (this.isWithContent() && this._isEnabled) { + g(this.element).trigger(t); + var n = _.findShadowRoot(this.element), + i = g.contains( + null !== n ? n : this.element.ownerDocument.documentElement, + this.element + ); + if (t.isDefaultPrevented() || !i) return; + var o = this.getTipElement(), + r = _.getUID(this.constructor.NAME); + o.setAttribute("id", r), + this.element.setAttribute("aria-describedby", r), + this.setContent(), + this.config.animation && g(o).addClass(Ne); + var s = + "function" == typeof this.config.placement + ? this.config.placement.call(this, o, this.element) + : this.config.placement, + a = this._getAttachment(s); + this.addAttachmentClass(a); + var l = this._getContainer(); + g(o).data(this.constructor.DATA_KEY, this), + g.contains( + this.element.ownerDocument.documentElement, + this.tip + ) || g(o).appendTo(l), + g(this.element).trigger(this.constructor.Event.INSERTED), + (this._popper = new u(this.element, o, { + placement: a, + modifiers: { + offset: { offset: this.config.offset }, + flip: { behavior: this.config.fallbackPlacement }, + arrow: { element: Pe }, + preventOverflow: { boundariesElement: this.config.boundary }, + }, + onCreate: function (t) { + t.originalPlacement !== t.placement && + e._handlePopperPlacementChange(t); + }, + onUpdate: function (t) { + return e._handlePopperPlacementChange(t); + }, + })), + g(o).addClass(Oe), + "ontouchstart" in document.documentElement && + g(document.body).children().on("mouseover", null, g.noop); + var c = function () { + e.config.animation && e._fixTransition(); + var t = e._hoverState; + (e._hoverState = null), + g(e.element).trigger(e.constructor.Event.SHOWN), + t === we && e._leave(null, e); + }; + if (g(this.tip).hasClass(Ne)) { + var h = _.getTransitionDurationFromElement(this.tip); + g(this.tip).one(_.TRANSITION_END, c).emulateTransitionEnd(h); + } else c(); + } + }), + (t.hide = function (t) { + var e = this, + n = this.getTipElement(), + i = g.Event(this.constructor.Event.HIDE), + o = function () { + e._hoverState !== De && + n.parentNode && + n.parentNode.removeChild(n), + e._cleanTipClass(), + e.element.removeAttribute("aria-describedby"), + g(e.element).trigger(e.constructor.Event.HIDDEN), + null !== e._popper && e._popper.destroy(), + t && t(); + }; + if ((g(this.element).trigger(i), !i.isDefaultPrevented())) { + if ( + (g(n).removeClass(Oe), + "ontouchstart" in document.documentElement && + g(document.body).children().off("mouseover", null, g.noop), + (this._activeTrigger[He] = !1), + (this._activeTrigger[je] = !1), + (this._activeTrigger[Le] = !1), + g(this.tip).hasClass(Ne)) + ) { + var r = _.getTransitionDurationFromElement(n); + g(n).one(_.TRANSITION_END, o).emulateTransitionEnd(r); + } else o(); + this._hoverState = ""; + } + }), + (t.update = function () { + null !== this._popper && this._popper.scheduleUpdate(); + }), + (t.isWithContent = function () { + return Boolean(this.getTitle()); + }), + (t.addAttachmentClass = function (t) { + g(this.getTipElement()).addClass(Ce + "-" + t); + }), + (t.getTipElement = function () { + return (this.tip = this.tip || g(this.config.template)[0]), this.tip; + }), + (t.setContent = function () { + var t = this.getTipElement(); + this.setElementContent(g(t.querySelectorAll(ke)), this.getTitle()), + g(t).removeClass(Ne + " " + Oe); + }), + (t.setElementContent = function (t, e) { + var n = this.config.html; + "object" == typeof e && (e.nodeType || e.jquery) + ? n + ? g(e).parent().is(t) || t.empty().append(e) + : t.text(g(e).text()) + : t[n ? "html" : "text"](e); + }), + (t.getTitle = function () { + var t = this.element.getAttribute("data-original-title"); + return ( + t || + (t = + "function" == typeof this.config.title + ? this.config.title.call(this.element) + : this.config.title), + t + ); + }), + (t._getContainer = function () { + return !1 === this.config.container + ? document.body + : _.isElement(this.config.container) + ? g(this.config.container) + : g(document).find(this.config.container); + }), + (t._getAttachment = function (t) { + return be[t.toUpperCase()]; + }), + (t._setListeners = function () { + var i = this; + this.config.trigger.split(" ").forEach(function (t) { + if ("click" === t) + g(i.element).on( + i.constructor.Event.CLICK, + i.config.selector, + function (t) { + return i.toggle(t); + } + ); + else if (t !== Re) { + var e = + t === Le + ? i.constructor.Event.MOUSEENTER + : i.constructor.Event.FOCUSIN, + n = + t === Le + ? i.constructor.Event.MOUSELEAVE + : i.constructor.Event.FOCUSOUT; + g(i.element) + .on(e, i.config.selector, function (t) { + return i._enter(t); + }) + .on(n, i.config.selector, function (t) { + return i._leave(t); + }); + } + }), + g(this.element) + .closest(".modal") + .on("hide.bs.modal", function () { + i.element && i.hide(); + }), + this.config.selector + ? (this.config = l({}, this.config, { + trigger: "manual", + selector: "", + })) + : this._fixTitle(); + }), + (t._fixTitle = function () { + var t = typeof this.element.getAttribute("data-original-title"); + (this.element.getAttribute("title") || "string" !== t) && + (this.element.setAttribute( + "data-original-title", + this.element.getAttribute("title") || "" + ), + this.element.setAttribute("title", "")); + }), + (t._enter = function (t, e) { + var n = this.constructor.DATA_KEY; + (e = e || g(t.currentTarget).data(n)) || + ((e = new this.constructor( + t.currentTarget, + this._getDelegateConfig() + )), + g(t.currentTarget).data(n, e)), + t && (e._activeTrigger["focusin" === t.type ? je : Le] = !0), + g(e.getTipElement()).hasClass(Oe) || e._hoverState === De + ? (e._hoverState = De) + : (clearTimeout(e._timeout), + (e._hoverState = De), + e.config.delay && e.config.delay.show + ? (e._timeout = setTimeout(function () { + e._hoverState === De && e.show(); + }, e.config.delay.show)) + : e.show()); + }), + (t._leave = function (t, e) { + var n = this.constructor.DATA_KEY; + (e = e || g(t.currentTarget).data(n)) || + ((e = new this.constructor( + t.currentTarget, + this._getDelegateConfig() + )), + g(t.currentTarget).data(n, e)), + t && (e._activeTrigger["focusout" === t.type ? je : Le] = !1), + e._isWithActiveTrigger() || + (clearTimeout(e._timeout), + (e._hoverState = we), + e.config.delay && e.config.delay.hide + ? (e._timeout = setTimeout(function () { + e._hoverState === we && e.hide(); + }, e.config.delay.hide)) + : e.hide()); + }), + (t._isWithActiveTrigger = function () { + for (var t in this._activeTrigger) + if (this._activeTrigger[t]) return !0; + return !1; + }), + (t._getConfig = function (t) { + return ( + "number" == + typeof (t = l( + {}, + this.constructor.Default, + g(this.element).data(), + "object" == typeof t && t ? t : {} + )).delay && (t.delay = { show: t.delay, hide: t.delay }), + "number" == typeof t.title && (t.title = t.title.toString()), + "number" == typeof t.content && (t.content = t.content.toString()), + _.typeCheckConfig(pe, t, this.constructor.DefaultType), + t + ); + }), + (t._getDelegateConfig = function () { + var t = {}; + if (this.config) + for (var e in this.config) + this.constructor.Default[e] !== this.config[e] && + (t[e] = this.config[e]); + return t; + }), + (t._cleanTipClass = function () { + var t = g(this.getTipElement()), + e = t.attr("class").match(Te); + null !== e && e.length && t.removeClass(e.join("")); + }), + (t._handlePopperPlacementChange = function (t) { + var e = t.instance; + (this.tip = e.popper), + this._cleanTipClass(), + this.addAttachmentClass(this._getAttachment(t.placement)); + }), + (t._fixTransition = function () { + var t = this.getTipElement(), + e = this.config.animation; + null === t.getAttribute("x-placement") && + (g(t).removeClass(Ne), + (this.config.animation = !1), + this.hide(), + this.show(), + (this.config.animation = e)); + }), + (i._jQueryInterface = function (n) { + return this.each(function () { + var t = g(this).data(ve), + e = "object" == typeof n && n; + if ( + (t || !/dispose|hide/.test(n)) && + (t || ((t = new i(this, e)), g(this).data(ve, t)), + "string" == typeof n) + ) { + if ("undefined" == typeof t[n]) + throw new TypeError('No method named "' + n + '"'); + t[n](); + } + }); + }), + s(i, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return Ie; + }, + }, + { + key: "NAME", + get: function () { + return pe; + }, + }, + { + key: "DATA_KEY", + get: function () { + return ve; + }, + }, + { + key: "Event", + get: function () { + return Ae; + }, + }, + { + key: "EVENT_KEY", + get: function () { + return Ee; + }, + }, + { + key: "DefaultType", + get: function () { + return Se; + }, + }, + ]), + i + ); + })(); + (g.fn[pe] = Ue._jQueryInterface), + (g.fn[pe].Constructor = Ue), + (g.fn[pe].noConflict = function () { + return (g.fn[pe] = ye), Ue._jQueryInterface; + }); + var We = "popover", + xe = "bs.popover", + Fe = "." + xe, + qe = g.fn[We], + Me = "bs-popover", + Ke = new RegExp("(^|\\s)" + Me + "\\S+", "g"), + Qe = l({}, Ue.Default, { + placement: "right", + trigger: "click", + content: "", + template: + '', + }), + Be = l({}, Ue.DefaultType, { content: "(string|element|function)" }), + Ve = "fade", + Ye = "show", + Xe = ".popover-header", + ze = ".popover-body", + Ge = { + HIDE: "hide" + Fe, + HIDDEN: "hidden" + Fe, + SHOW: "show" + Fe, + SHOWN: "shown" + Fe, + INSERTED: "inserted" + Fe, + CLICK: "click" + Fe, + FOCUSIN: "focusin" + Fe, + FOCUSOUT: "focusout" + Fe, + MOUSEENTER: "mouseenter" + Fe, + MOUSELEAVE: "mouseleave" + Fe, + }, + Je = (function (t) { + var e, n; + function i() { + return t.apply(this, arguments) || this; + } + (n = t), + ((e = i).prototype = Object.create(n.prototype)), + ((e.prototype.constructor = e).__proto__ = n); + var o = i.prototype; + return ( + (o.isWithContent = function () { + return this.getTitle() || this._getContent(); + }), + (o.addAttachmentClass = function (t) { + g(this.getTipElement()).addClass(Me + "-" + t); + }), + (o.getTipElement = function () { + return (this.tip = this.tip || g(this.config.template)[0]), this.tip; + }), + (o.setContent = function () { + var t = g(this.getTipElement()); + this.setElementContent(t.find(Xe), this.getTitle()); + var e = this._getContent(); + "function" == typeof e && (e = e.call(this.element)), + this.setElementContent(t.find(ze), e), + t.removeClass(Ve + " " + Ye); + }), + (o._getContent = function () { + return ( + this.element.getAttribute("data-content") || this.config.content + ); + }), + (o._cleanTipClass = function () { + var t = g(this.getTipElement()), + e = t.attr("class").match(Ke); + null !== e && 0 < e.length && t.removeClass(e.join("")); + }), + (i._jQueryInterface = function (n) { + return this.each(function () { + var t = g(this).data(xe), + e = "object" == typeof n ? n : null; + if ( + (t || !/dispose|hide/.test(n)) && + (t || ((t = new i(this, e)), g(this).data(xe, t)), + "string" == typeof n) + ) { + if ("undefined" == typeof t[n]) + throw new TypeError('No method named "' + n + '"'); + t[n](); + } + }); + }), + s(i, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return Qe; + }, + }, + { + key: "NAME", + get: function () { + return We; + }, + }, + { + key: "DATA_KEY", + get: function () { + return xe; + }, + }, + { + key: "Event", + get: function () { + return Ge; + }, + }, + { + key: "EVENT_KEY", + get: function () { + return Fe; + }, + }, + { + key: "DefaultType", + get: function () { + return Be; + }, + }, + ]), + i + ); + })(Ue); + (g.fn[We] = Je._jQueryInterface), + (g.fn[We].Constructor = Je), + (g.fn[We].noConflict = function () { + return (g.fn[We] = qe), Je._jQueryInterface; + }); + var Ze = "scrollspy", + $e = "bs.scrollspy", + tn = "." + $e, + en = g.fn[Ze], + nn = { offset: 10, method: "auto", target: "" }, + on = { offset: "number", method: "string", target: "(string|element)" }, + rn = { + ACTIVATE: "activate" + tn, + SCROLL: "scroll" + tn, + LOAD_DATA_API: "load" + tn + ".data-api", + }, + sn = "dropdown-item", + an = "active", + ln = '[data-spy="scroll"]', + cn = ".nav, .list-group", + hn = ".nav-link", + un = ".nav-item", + fn = ".list-group-item", + dn = ".dropdown", + gn = ".dropdown-item", + _n = ".dropdown-toggle", + mn = "offset", + pn = "position", + vn = (function () { + function n(t, e) { + var n = this; + (this._element = t), + (this._scrollElement = "BODY" === t.tagName ? window : t), + (this._config = this._getConfig(e)), + (this._selector = + this._config.target + + " " + + hn + + "," + + this._config.target + + " " + + fn + + "," + + this._config.target + + " " + + gn), + (this._offsets = []), + (this._targets = []), + (this._activeTarget = null), + (this._scrollHeight = 0), + g(this._scrollElement).on(rn.SCROLL, function (t) { + return n._process(t); + }), + this.refresh(), + this._process(); + } + var t = n.prototype; + return ( + (t.refresh = function () { + var e = this, + t = this._scrollElement === this._scrollElement.window ? mn : pn, + o = "auto" === this._config.method ? t : this._config.method, + r = o === pn ? this._getScrollTop() : 0; + (this._offsets = []), + (this._targets = []), + (this._scrollHeight = this._getScrollHeight()), + [].slice + .call(document.querySelectorAll(this._selector)) + .map(function (t) { + var e, + n = _.getSelectorFromElement(t); + if ((n && (e = document.querySelector(n)), e)) { + var i = e.getBoundingClientRect(); + if (i.width || i.height) return [g(e)[o]().top + r, n]; + } + return null; + }) + .filter(function (t) { + return t; + }) + .sort(function (t, e) { + return t[0] - e[0]; + }) + .forEach(function (t) { + e._offsets.push(t[0]), e._targets.push(t[1]); + }); + }), + (t.dispose = function () { + g.removeData(this._element, $e), + g(this._scrollElement).off(tn), + (this._element = null), + (this._scrollElement = null), + (this._config = null), + (this._selector = null), + (this._offsets = null), + (this._targets = null), + (this._activeTarget = null), + (this._scrollHeight = null); + }), + (t._getConfig = function (t) { + if ( + "string" != + typeof (t = l({}, nn, "object" == typeof t && t ? t : {})).target + ) { + var e = g(t.target).attr("id"); + e || ((e = _.getUID(Ze)), g(t.target).attr("id", e)), + (t.target = "#" + e); + } + return _.typeCheckConfig(Ze, t, on), t; + }), + (t._getScrollTop = function () { + return this._scrollElement === window + ? this._scrollElement.pageYOffset + : this._scrollElement.scrollTop; + }), + (t._getScrollHeight = function () { + return ( + this._scrollElement.scrollHeight || + Math.max( + document.body.scrollHeight, + document.documentElement.scrollHeight + ) + ); + }), + (t._getOffsetHeight = function () { + return this._scrollElement === window + ? window.innerHeight + : this._scrollElement.getBoundingClientRect().height; + }), + (t._process = function () { + var t = this._getScrollTop() + this._config.offset, + e = this._getScrollHeight(), + n = this._config.offset + e - this._getOffsetHeight(); + if ((this._scrollHeight !== e && this.refresh(), n <= t)) { + var i = this._targets[this._targets.length - 1]; + this._activeTarget !== i && this._activate(i); + } else { + if ( + this._activeTarget && + t < this._offsets[0] && + 0 < this._offsets[0] + ) + return (this._activeTarget = null), void this._clear(); + for (var o = this._offsets.length; o--; ) { + this._activeTarget !== this._targets[o] && + t >= this._offsets[o] && + ("undefined" == typeof this._offsets[o + 1] || + t < this._offsets[o + 1]) && + this._activate(this._targets[o]); + } + } + }), + (t._activate = function (e) { + (this._activeTarget = e), this._clear(); + var t = this._selector.split(",").map(function (t) { + return ( + t + '[data-target="' + e + '"],' + t + '[href="' + e + '"]' + ); + }), + n = g([].slice.call(document.querySelectorAll(t.join(",")))); + n.hasClass(sn) + ? (n.closest(dn).find(_n).addClass(an), n.addClass(an)) + : (n.addClass(an), + n + .parents(cn) + .prev(hn + ", " + fn) + .addClass(an), + n.parents(cn).prev(un).children(hn).addClass(an)), + g(this._scrollElement).trigger(rn.ACTIVATE, { relatedTarget: e }); + }), + (t._clear = function () { + [].slice + .call(document.querySelectorAll(this._selector)) + .filter(function (t) { + return t.classList.contains(an); + }) + .forEach(function (t) { + return t.classList.remove(an); + }); + }), + (n._jQueryInterface = function (e) { + return this.each(function () { + var t = g(this).data($e); + if ( + (t || + ((t = new n(this, "object" == typeof e && e)), + g(this).data($e, t)), + "string" == typeof e) + ) { + if ("undefined" == typeof t[e]) + throw new TypeError('No method named "' + e + '"'); + t[e](); + } + }); + }), + s(n, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "Default", + get: function () { + return nn; + }, + }, + ]), + n + ); + })(); + g(window).on(rn.LOAD_DATA_API, function () { + for ( + var t = [].slice.call(document.querySelectorAll(ln)), e = t.length; + e--; + + ) { + var n = g(t[e]); + vn._jQueryInterface.call(n, n.data()); + } + }), + (g.fn[Ze] = vn._jQueryInterface), + (g.fn[Ze].Constructor = vn), + (g.fn[Ze].noConflict = function () { + return (g.fn[Ze] = en), vn._jQueryInterface; + }); + var En = "bs.tab", + yn = "." + En, + Cn = g.fn.tab, + Tn = { + HIDE: "hide" + yn, + HIDDEN: "hidden" + yn, + SHOW: "show" + yn, + SHOWN: "shown" + yn, + CLICK_DATA_API: "click" + yn + ".data-api", + }, + Sn = "dropdown-menu", + bn = "active", + In = "disabled", + Dn = "fade", + wn = "show", + An = ".dropdown", + Nn = ".nav, .list-group", + On = ".active", + kn = "> li > .active", + Pn = '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', + Ln = ".dropdown-toggle", + jn = "> .dropdown-menu .active", + Hn = (function () { + function i(t) { + this._element = t; + } + var t = i.prototype; + return ( + (t.show = function () { + var n = this; + if ( + !( + (this._element.parentNode && + this._element.parentNode.nodeType === Node.ELEMENT_NODE && + g(this._element).hasClass(bn)) || + g(this._element).hasClass(In) + ) + ) { + var t, + i, + e = g(this._element).closest(Nn)[0], + o = _.getSelectorFromElement(this._element); + if (e) { + var r = "UL" === e.nodeName || "OL" === e.nodeName ? kn : On; + i = (i = g.makeArray(g(e).find(r)))[i.length - 1]; + } + var s = g.Event(Tn.HIDE, { relatedTarget: this._element }), + a = g.Event(Tn.SHOW, { relatedTarget: i }); + if ( + (i && g(i).trigger(s), + g(this._element).trigger(a), + !a.isDefaultPrevented() && !s.isDefaultPrevented()) + ) { + o && (t = document.querySelector(o)), + this._activate(this._element, e); + var l = function () { + var t = g.Event(Tn.HIDDEN, { relatedTarget: n._element }), + e = g.Event(Tn.SHOWN, { relatedTarget: i }); + g(i).trigger(t), g(n._element).trigger(e); + }; + t ? this._activate(t, t.parentNode, l) : l(); + } + } + }), + (t.dispose = function () { + g.removeData(this._element, En), (this._element = null); + }), + (t._activate = function (t, e, n) { + var i = this, + o = ( + !e || ("UL" !== e.nodeName && "OL" !== e.nodeName) + ? g(e).children(On) + : g(e).find(kn) + )[0], + r = n && o && g(o).hasClass(Dn), + s = function () { + return i._transitionComplete(t, o, n); + }; + if (o && r) { + var a = _.getTransitionDurationFromElement(o); + g(o) + .removeClass(wn) + .one(_.TRANSITION_END, s) + .emulateTransitionEnd(a); + } else s(); + }), + (t._transitionComplete = function (t, e, n) { + if (e) { + g(e).removeClass(bn); + var i = g(e.parentNode).find(jn)[0]; + i && g(i).removeClass(bn), + "tab" === e.getAttribute("role") && + e.setAttribute("aria-selected", !1); + } + if ( + (g(t).addClass(bn), + "tab" === t.getAttribute("role") && + t.setAttribute("aria-selected", !0), + _.reflow(t), + g(t).addClass(wn), + t.parentNode && g(t.parentNode).hasClass(Sn)) + ) { + var o = g(t).closest(An)[0]; + if (o) { + var r = [].slice.call(o.querySelectorAll(Ln)); + g(r).addClass(bn); + } + t.setAttribute("aria-expanded", !0); + } + n && n(); + }), + (i._jQueryInterface = function (n) { + return this.each(function () { + var t = g(this), + e = t.data(En); + if ( + (e || ((e = new i(this)), t.data(En, e)), "string" == typeof n) + ) { + if ("undefined" == typeof e[n]) + throw new TypeError('No method named "' + n + '"'); + e[n](); + } + }); + }), + s(i, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + ]), + i + ); + })(); + g(document).on(Tn.CLICK_DATA_API, Pn, function (t) { + t.preventDefault(), Hn._jQueryInterface.call(g(this), "show"); + }), + (g.fn.tab = Hn._jQueryInterface), + (g.fn.tab.Constructor = Hn), + (g.fn.tab.noConflict = function () { + return (g.fn.tab = Cn), Hn._jQueryInterface; + }); + var Rn = "toast", + Un = "bs.toast", + Wn = "." + Un, + xn = g.fn[Rn], + Fn = { + CLICK_DISMISS: "click.dismiss" + Wn, + HIDE: "hide" + Wn, + HIDDEN: "hidden" + Wn, + SHOW: "show" + Wn, + SHOWN: "shown" + Wn, + }, + qn = "fade", + Mn = "hide", + Kn = "show", + Qn = "showing", + Bn = { animation: "boolean", autohide: "boolean", delay: "number" }, + Vn = { animation: !0, autohide: !0, delay: 500 }, + Yn = '[data-dismiss="toast"]', + Xn = (function () { + function i(t, e) { + (this._element = t), + (this._config = this._getConfig(e)), + (this._timeout = null), + this._setListeners(); + } + var t = i.prototype; + return ( + (t.show = function () { + var t = this; + g(this._element).trigger(Fn.SHOW), + this._config.animation && this._element.classList.add(qn); + var e = function () { + t._element.classList.remove(Qn), + t._element.classList.add(Kn), + g(t._element).trigger(Fn.SHOWN), + t._config.autohide && t.hide(); + }; + if ( + (this._element.classList.remove(Mn), + this._element.classList.add(Qn), + this._config.animation) + ) { + var n = _.getTransitionDurationFromElement(this._element); + g(this._element).one(_.TRANSITION_END, e).emulateTransitionEnd(n); + } else e(); + }), + (t.hide = function (t) { + var e = this; + this._element.classList.contains(Kn) && + (g(this._element).trigger(Fn.HIDE), + t + ? this._close() + : (this._timeout = setTimeout(function () { + e._close(); + }, this._config.delay))); + }), + (t.dispose = function () { + clearTimeout(this._timeout), + (this._timeout = null), + this._element.classList.contains(Kn) && + this._element.classList.remove(Kn), + g(this._element).off(Fn.CLICK_DISMISS), + g.removeData(this._element, Un), + (this._element = null), + (this._config = null); + }), + (t._getConfig = function (t) { + return ( + (t = l( + {}, + Vn, + g(this._element).data(), + "object" == typeof t && t ? t : {} + )), + _.typeCheckConfig(Rn, t, this.constructor.DefaultType), + t + ); + }), + (t._setListeners = function () { + var t = this; + g(this._element).on(Fn.CLICK_DISMISS, Yn, function () { + return t.hide(!0); + }); + }), + (t._close = function () { + var t = this, + e = function () { + t._element.classList.add(Mn), g(t._element).trigger(Fn.HIDDEN); + }; + if ((this._element.classList.remove(Kn), this._config.animation)) { + var n = _.getTransitionDurationFromElement(this._element); + g(this._element).one(_.TRANSITION_END, e).emulateTransitionEnd(n); + } else e(); + }), + (i._jQueryInterface = function (n) { + return this.each(function () { + var t = g(this), + e = t.data(Un); + if ( + (e || + ((e = new i(this, "object" == typeof n && n)), t.data(Un, e)), + "string" == typeof n) + ) { + if ("undefined" == typeof e[n]) + throw new TypeError('No method named "' + n + '"'); + e[n](this); + } + }); + }), + s(i, null, [ + { + key: "VERSION", + get: function () { + return "4.2.1"; + }, + }, + { + key: "DefaultType", + get: function () { + return Bn; + }, + }, + ]), + i + ); + })(); + (g.fn[Rn] = Xn._jQueryInterface), + (g.fn[Rn].Constructor = Xn), + (g.fn[Rn].noConflict = function () { + return (g.fn[Rn] = xn), Xn._jQueryInterface; + }), + (function () { + if ("undefined" == typeof g) + throw new TypeError( + "Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript." + ); + var t = g.fn.jquery.split(" ")[0].split("."); + if ( + (t[0] < 2 && t[1] < 9) || + (1 === t[0] && 9 === t[1] && t[2] < 1) || + 4 <= t[0] + ) + throw new Error( + "Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0" + ); + })(), + (t.Util = _), + (t.Alert = p), + (t.Button = P), + (t.Carousel = lt), + (t.Collapse = bt), + (t.Dropdown = Zt), + (t.Modal = me), + (t.Popover = Je), + (t.Scrollspy = vn), + (t.Tab = Hn), + (t.Toast = Xn), + (t.Tooltip = Ue), + Object.defineProperty(t, "__esModule", { value: !0 }); +}); +//# sourceMappingURL=bootstrap.min.js.map diff --git a/public/assets/assetLanding/js/canvasjs.min.js b/public/assets/assetLanding/js/canvasjs.min.js new file mode 100644 index 0000000..f8fb869 --- /dev/null +++ b/public/assets/assetLanding/js/canvasjs.min.js @@ -0,0 +1,22993 @@ +/* + CanvasJS HTML5 & JavaScript Charts - v2.3.1 GA - https://canvasjs.com/ + Copyright 2018 fenopix + + --------------------- License Information -------------------- + CanvasJS is a commercial product which requires purchase of license. Without a commercial license you can use it for evaluation purposes for upto 30 days. Please refer to the following link for further details. + https://canvasjs.com/license/ + +*/ +/*eslint-disable*/ +/*jshint ignore:start*/ +(function () { + function qa(k, p) { + k.prototype = eb(p.prototype); + k.prototype.constructor = k; + k.base = p.prototype; + } + function eb(k) { + function p() {} + p.prototype = k; + return new p(); + } + function Ya(k, p, D) { + "millisecond" === D + ? k.setMilliseconds(k.getMilliseconds() + 1 * p) + : "second" === D + ? k.setSeconds(k.getSeconds() + 1 * p) + : "minute" === D + ? k.setMinutes(k.getMinutes() + 1 * p) + : "hour" === D + ? k.setHours(k.getHours() + 1 * p) + : "day" === D + ? k.setDate(k.getDate() + 1 * p) + : "week" === D + ? k.setDate(k.getDate() + 7 * p) + : "month" === D + ? k.setMonth(k.getMonth() + 1 * p) + : "year" === D && k.setFullYear(k.getFullYear() + 1 * p); + return k; + } + function $(k, p) { + var D = !1; + 0 > k && ((D = !0), (k *= -1)); + k = "" + k; + for (p = p ? p : 1; k.length < p; ) k = "0" + k; + return D ? "-" + k : k; + } + function Ia(k) { + if (!k) return k; + k = k.replace(/^\s\s*/, ""); + for (var p = /\s/, D = k.length; p.test(k.charAt(--D)); ); + return k.slice(0, D + 1); + } + function Ea(k) { + k.roundRect = function (k, D, r, u, H, F, z, v) { + z && (this.fillStyle = z); + v && (this.strokeStyle = v); + "undefined" === typeof H && (H = 5); + this.lineWidth = F; + this.beginPath(); + this.moveTo(k + H, D); + this.lineTo(k + r - H, D); + this.quadraticCurveTo(k + r, D, k + r, D + H); + this.lineTo(k + r, D + u - H); + this.quadraticCurveTo(k + r, D + u, k + r - H, D + u); + this.lineTo(k + H, D + u); + this.quadraticCurveTo(k, D + u, k, D + u - H); + this.lineTo(k, D + H); + this.quadraticCurveTo(k, D, k + H, D); + this.closePath(); + z && this.fill(); + v && 0 < F && this.stroke(); + }; + } + function Sa(k, p) { + return k - p; + } + function Ta(k, p, D) { + if (k && p && D) { + D = D + "." + p; + var r = "image/" + p; + k = k.toDataURL(r); + var u = !1, + H = document.createElement("a"); + H.download = D; + H.href = k; + if ("undefined" !== typeof Blob && new Blob()) { + for ( + var F = k.replace(/^data:[a-z\/]*;base64,/, ""), + F = atob(F), + z = new ArrayBuffer(F.length), + z = new Uint8Array(z), + v = 0; + v < F.length; + v++ + ) + z[v] = F.charCodeAt(v); + p = new Blob([z.buffer], { type: "image/" + p }); + try { + window.navigator.msSaveBlob(p, D), (u = !0); + } catch (L) { + (H.dataset.downloadurl = [r, H.download, H.href].join(":")), + (H.href = window.URL.createObjectURL(p)); + } + } + if (!u) + try { + (event = document.createEvent("MouseEvents")), + event.initMouseEvent( + "click", + !0, + !1, + window, + 0, + 0, + 0, + 0, + 0, + !1, + !1, + !1, + !1, + 0, + null + ), + H.dispatchEvent + ? H.dispatchEvent(event) + : H.fireEvent && H.fireEvent("onclick"); + } catch (E) { + (p = window.open()), + p.document.write( + "
Please right click on the image and save it to your device
" + ), + p.document.close(); + } + } + } + function N(k) { + var p = ((k & 16711680) >> 16).toString(16), + D = ((k & 65280) >> 8).toString(16); + k = ((k & 255) >> 0).toString(16); + p = 2 > p.length ? "0" + p : p; + D = 2 > D.length ? "0" + D : D; + k = 2 > k.length ? "0" + k : k; + return "#" + p + D + k; + } + function fb(k, p) { + var D = this.length >>> 0, + r = Number(p) || 0, + r = 0 > r ? Math.ceil(r) : Math.floor(r); + for (0 > r && (r += D); r < D; r++) + if (r in this && this[r] === k) return r; + return -1; + } + function u(k) { + return null === k || "undefined" === typeof k; + } + function Fa(k) { + k.indexOf || (k.indexOf = fb); + return k; + } + function gb(k) { + if (U.fSDec) + k[ja("`eeDwdouMhrudods")](ja("e`u`@ohl`uhnoHuds`uhnoDoe"), function () { + U._fTWm && U._fTWm(k); + }); + } + function Za(k, p, D) { + D = D || "normal"; + var r = k + "_" + p + "_" + D, + u = $a[r]; + if (isNaN(u)) { + try { + k = + "position:absolute; left:0px; top:-20000px; padding:0px;margin:0px;border:none;white-space:pre;line-height:normal;font-family:" + + k + + "; font-size:" + + p + + "px; font-weight:" + + D + + ";"; + if (!xa) { + var H = document.body; + xa = document.createElement("span"); + xa.innerHTML = ""; + var F = document.createTextNode("Mpgyi"); + xa.appendChild(F); + H.appendChild(xa); + } + xa.style.display = ""; + xa.setAttribute("style", k); + u = Math.round(xa.offsetHeight); + xa.style.display = "none"; + } catch (z) { + u = Math.ceil(1.1 * p); + } + u = Math.max(u, p); + $a[r] = u; + } + return u; + } + function R(k, p) { + var D = []; + if ( + (D = { + solid: [], + shortDash: [3, 1], + shortDot: [1, 1], + shortDashDot: [3, 1, 1, 1], + shortDashDotDot: [3, 1, 1, 1, 1, 1], + dot: [1, 2], + dash: [4, 2], + dashDot: [4, 2, 1, 2], + longDash: [8, 2], + longDashDot: [8, 2, 1, 2], + longDashDotDot: [8, 2, 1, 2, 1, 2], + }[k || "solid"]) + ) + for (var r = 0; r < D.length; r++) D[r] *= p; + else D = []; + return D; + } + function O(k, p, D, r, u) { + r = r || []; + u = u || !1; + r.push([k, p, D, u]); + return k.addEventListener + ? (k.addEventListener(p, D, u), D) + : k.attachEvent + ? ((r = function (p) { + p = p || window.event; + p.preventDefault = + p.preventDefault || + function () { + p.returnValue = !1; + }; + p.stopPropagation = + p.stopPropagation || + function () { + p.cancelBubble = !0; + }; + D.call(k, p); + }), + k.attachEvent("on" + p, r), + r) + : !1; + } + function ab(k, p, D) { + k *= W; + p *= W; + k = D.getImageData(k, p, 2, 2).data; + p = !0; + for (D = 0; 4 > D; D++) + if ((k[D] !== k[D + 4]) | (k[D] !== k[D + 8]) | (k[D] !== k[D + 12])) { + p = !1; + break; + } + return p ? (k[0] << 16) | (k[1] << 8) | k[2] : 0; + } + function na(k, p, D) { + return k in p ? p[k] : D[k]; + } + function Oa(k, p, D) { + if (r && bb) { + var u = k.getContext("2d"); + Pa = + u.webkitBackingStorePixelRatio || + u.mozBackingStorePixelRatio || + u.msBackingStorePixelRatio || + u.oBackingStorePixelRatio || + u.backingStorePixelRatio || + 1; + W = Ua / Pa; + k.width = p * W; + k.height = D * W; + Ua !== Pa && + ((k.style.width = p + "px"), + (k.style.height = D + "px"), + u.scale(W, W)); + } else (k.width = p), (k.height = D); + } + function hb(k) { + if (!ib) { + var p = !1, + D = !1; + "undefined" === typeof ra.Chart.creditHref + ? ((k.creditHref = ja("iuuqr;..b`ow`rkr/bnl.")), + (k.creditText = ja("B`ow`rKR/bnl"))) + : ((p = k.updateOption("creditText")), + (D = k.updateOption("creditHref"))); + if (k.creditHref && k.creditText) { + k._creditLink || + ((k._creditLink = document.createElement("a")), + k._creditLink.setAttribute("class", "canvasjs-chart-credit"), + k._creditLink.setAttribute("title", "JavaScript Charts"), + k._creditLink.setAttribute( + "style", + "outline:none;margin:0px;position:absolute;right:2px;top:" + + (k.height - 14) + + "px;color:dimgrey;text-decoration:none;font-size:11px;font-family: Calibri, Lucida Grande, Lucida Sans Unicode, Arial, sans-serif" + ), + k._creditLink.setAttribute("tabIndex", -1), + k._creditLink.setAttribute("target", "_blank")); + if (0 === k.renderCount || p || D) + k._creditLink.setAttribute("href", k.creditHref), + (k._creditLink.innerHTML = k.creditText); + k._creditLink && k.creditHref && k.creditText + ? (k._creditLink.parentElement || + k._canvasJSContainer.appendChild(k._creditLink), + (k._creditLink.style.top = k.height - 14 + "px")) + : k._creditLink.parentElement && + k._canvasJSContainer.removeChild(k._creditLink); + } + } + } + function ta(k, p) { + Ja && ((this.canvasCount |= 0), window.console.log(++this.canvasCount)); + var D = document.createElement("canvas"); + D.setAttribute("class", "canvasjs-chart-canvas"); + Oa(D, k, p); + r || + "undefined" === typeof G_vmlCanvasManager || + G_vmlCanvasManager.initElement(D); + return D; + } + function sa(k, p, D) { + for (var r in D) p.style[r] = D[r]; + } + function ua(k, p, D) { + p.getAttribute("state") || + ((p.style.backgroundColor = k.toolbar.backgroundColor), + (p.style.color = k.toolbar.fontColor), + (p.style.border = "none"), + sa(k, p, { + WebkitUserSelect: "none", + MozUserSelect: "none", + msUserSelect: "none", + userSelect: "none", + })); + p.getAttribute("state") !== D && + (p.setAttribute("state", D), + p.setAttribute("type", "button"), + sa(k, p, { + padding: "5px 12px", + cursor: "pointer", + float: "left", + width: "40px", + height: "25px", + outline: "0px", + verticalAlign: "baseline", + lineHeight: "0", + }), + p.setAttribute("title", k._cultureInfo[D + "Text"]), + (p.innerHTML = + "" +
+        k._cultureInfo[D + "Text"] +
+        "")); + } + function Qa() { + for (var k = null, p = 0; p < arguments.length; p++) + (k = arguments[p]), k.style && (k.style.display = "inline"); + } + function va() { + for (var k = null, p = 0; p < arguments.length; p++) + (k = arguments[p]) && k.style && (k.style.display = "none"); + } + function V(k, p, D, r, v) { + this._defaultsKey = k; + this._themeOptionsKey = p; + this._index = r; + this.parent = v; + this._eventListeners = []; + k = {}; + this.theme && u(p) && u(r) + ? (k = u(ya[this.theme]) ? ya.light1 : ya[this.theme]) + : this.parent && + this.parent.themeOptions && + this.parent.themeOptions[p] && + (null === r + ? (k = this.parent.themeOptions[p]) + : 0 < this.parent.themeOptions[p].length && + ((r = Math.min(this.parent.themeOptions[p].length - 1, r)), + (k = this.parent.themeOptions[p][r]))); + this.themeOptions = k; + this.options = D ? D : { _isPlaceholder: !0 }; + this.setOptions(this.options, k); + } + function Ga(k, p, r, u, v) { + "undefined" === typeof v && (v = 0); + this._padding = v; + this._x1 = k; + this._y1 = p; + this._x2 = r; + this._y2 = u; + this._rightOccupied = + this._leftOccupied = + this._bottomOccupied = + this._topOccupied = + this._padding; + } + function ka(k, p) { + ka.base.constructor.call(this, "TextBlock", null, p, null, null); + this.ctx = k; + this._isDirty = !0; + this._wrappedText = null; + this._initialize(); + } + function Va(k, p) { + Va.base.constructor.call(this, "Toolbar", "toolbar", p, null, k); + this.chart = k; + this.canvas = k.canvas; + this.ctx = this.chart.ctx; + this.optionsName = "toolbar"; + } + function Aa(k, p) { + Aa.base.constructor.call(this, "Title", "title", p, null, k); + this.chart = k; + this.canvas = k.canvas; + this.ctx = this.chart.ctx; + this.optionsName = "title"; + if (u(this.options.margin) && k.options.subtitles) + for (var r = k.options.subtitles, za = 0; za < r.length; za++) + if ( + ((u(r[za].horizontalAlign) && "center" === this.horizontalAlign) || + r[za].horizontalAlign === this.horizontalAlign) && + ((u(r[za].verticalAlign) && "top" === this.verticalAlign) || + r[za].verticalAlign === this.verticalAlign) && + !r[za].dockInsidePlotArea === !this.dockInsidePlotArea + ) { + this.margin = 0; + break; + } + "undefined" === typeof this.options.fontSize && + (this.fontSize = this.chart.getAutoFontSize(this.fontSize)); + this.height = this.width = null; + this.bounds = { x1: null, y1: null, x2: null, y2: null }; + } + function Ka(k, p, r) { + Ka.base.constructor.call(this, "Subtitle", "subtitles", p, r, k); + this.chart = k; + this.canvas = k.canvas; + this.ctx = this.chart.ctx; + this.optionsName = "subtitles"; + this.isOptionsInArray = !0; + "undefined" === typeof this.options.fontSize && + (this.fontSize = this.chart.getAutoFontSize(this.fontSize)); + this.height = this.width = null; + this.bounds = { x1: null, y1: null, x2: null, y2: null }; + } + function Wa() { + this.pool = []; + } + function La(k) { + var p; + k && Ma[k] && (p = Ma[k]); + La.base.constructor.call(this, "CultureInfo", null, p, null, null); + } + var Ja = !1, + U = {}, + r = !!document.createElement("canvas").getContext, + ra = { + Chart: { + width: 500, + height: 400, + zoomEnabled: !1, + zoomType: "x", + backgroundColor: "white", + theme: "light1", + animationEnabled: !1, + animationDuration: 1200, + dataPointWidth: null, + dataPointMinWidth: null, + dataPointMaxWidth: null, + colorSet: "colorSet1", + culture: "en", + creditHref: "", + creditText: "CanvasJS", + interactivityEnabled: !0, + exportEnabled: !1, + exportFileName: "Chart", + rangeChanging: null, + rangeChanged: null, + publicProperties: { + title: "readWrite", + subtitles: "readWrite", + toolbar: "readWrite", + toolTip: "readWrite", + legend: "readWrite", + axisX: "readWrite", + axisY: "readWrite", + axisX2: "readWrite", + axisY2: "readWrite", + data: "readWrite", + options: "readWrite", + bounds: "readOnly", + container: "readOnly", + }, + }, + Title: { + padding: 0, + text: null, + verticalAlign: "top", + horizontalAlign: "center", + fontSize: 20, + fontFamily: "Calibri", + fontWeight: "normal", + fontColor: "black", + fontStyle: "normal", + borderThickness: 0, + borderColor: "black", + cornerRadius: 0, + backgroundColor: r ? "transparent" : null, + margin: 5, + wrap: !0, + maxWidth: null, + dockInsidePlotArea: !1, + publicProperties: { + options: "readWrite", + bounds: "readOnly", + chart: "readOnly", + }, + }, + Subtitle: { + padding: 0, + text: null, + verticalAlign: "top", + horizontalAlign: "center", + fontSize: 14, + fontFamily: "Calibri", + fontWeight: "normal", + fontColor: "black", + fontStyle: "normal", + borderThickness: 0, + borderColor: "black", + cornerRadius: 0, + backgroundColor: null, + margin: 2, + wrap: !0, + maxWidth: null, + dockInsidePlotArea: !1, + publicProperties: { + options: "readWrite", + bounds: "readOnly", + chart: "readOnly", + }, + }, + Toolbar: { + backgroundColor: "white", + backgroundColorOnHover: "#2196f3", + borderColor: "#2196f3", + borderThickness: 1, + fontColor: "black", + fontColorOnHover: "white", + publicProperties: { options: "readWrite", chart: "readOnly" }, + }, + Legend: { + name: null, + verticalAlign: "center", + horizontalAlign: "right", + fontSize: 14, + fontFamily: "calibri", + fontWeight: "normal", + fontColor: "black", + fontStyle: "normal", + cursor: null, + itemmouseover: null, + itemmouseout: null, + itemmousemove: null, + itemclick: null, + dockInsidePlotArea: !1, + reversed: !1, + backgroundColor: r ? "transparent" : null, + borderColor: r ? "transparent" : null, + borderThickness: 0, + cornerRadius: 0, + maxWidth: null, + maxHeight: null, + markerMargin: null, + itemMaxWidth: null, + itemWidth: null, + itemWrap: !0, + itemTextFormatter: null, + publicProperties: { + options: "readWrite", + bounds: "readOnly", + chart: "readOnly", + }, + }, + ToolTip: { + enabled: !0, + shared: !1, + animationEnabled: !0, + content: null, + contentFormatter: null, + reversed: !1, + backgroundColor: r ? "rgba(255,255,255,.9)" : "rgb(255,255,255)", + borderColor: null, + borderThickness: 2, + cornerRadius: 5, + fontSize: 14, + fontColor: "black", + fontFamily: "Calibri, Arial, Georgia, serif;", + fontWeight: "normal", + fontStyle: "italic", + publicProperties: { options: "readWrite", chart: "readOnly" }, + }, + Axis: { + minimum: null, + maximum: null, + viewportMinimum: null, + viewportMaximum: null, + interval: null, + intervalType: null, + reversed: !1, + logarithmic: !1, + logarithmBase: 10, + title: null, + titleFontColor: "black", + titleFontSize: 20, + titleFontFamily: "arial", + titleFontWeight: "normal", + titleFontStyle: "normal", + titleWrap: !0, + titleMaxWidth: null, + titleBackgroundColor: r ? "transparent" : null, + titleBorderColor: r ? "transparent" : null, + titleBorderThickness: 0, + titleCornerRadius: 0, + labelAngle: 0, + labelFontFamily: "arial", + labelFontColor: "black", + labelFontSize: 12, + labelFontWeight: "normal", + labelFontStyle: "normal", + labelAutoFit: !0, + labelWrap: !0, + labelMaxWidth: null, + labelFormatter: null, + labelBackgroundColor: r ? "transparent" : null, + labelBorderColor: r ? "transparent" : null, + labelBorderThickness: 0, + labelCornerRadius: 0, + labelPlacement: "outside", + prefix: "", + suffix: "", + includeZero: !0, + tickLength: 5, + tickColor: "black", + tickThickness: 1, + lineColor: "black", + lineThickness: 1, + lineDashType: "solid", + gridColor: "A0A0A0", + gridThickness: 0, + gridDashType: "solid", + interlacedColor: r ? "transparent" : null, + valueFormatString: null, + margin: 2, + publicProperties: { + options: "readWrite", + stripLines: "readWrite", + scaleBreaks: "readWrite", + crosshair: "readWrite", + bounds: "readOnly", + chart: "readOnly", + }, + }, + StripLine: { + value: null, + startValue: null, + endValue: null, + color: "orange", + opacity: null, + thickness: 2, + lineDashType: "solid", + label: "", + labelPlacement: "inside", + labelAlign: "far", + labelWrap: !0, + labelMaxWidth: null, + labelBackgroundColor: null, + labelBorderColor: r ? "transparent" : null, + labelBorderThickness: 0, + labelCornerRadius: 0, + labelFontFamily: "arial", + labelFontColor: "orange", + labelFontSize: 12, + labelFontWeight: "normal", + labelFontStyle: "normal", + labelFormatter: null, + showOnTop: !1, + publicProperties: { + options: "readWrite", + axis: "readOnly", + bounds: "readOnly", + chart: "readOnly", + }, + }, + ScaleBreaks: { + autoCalculate: !1, + collapsibleThreshold: "25%", + maxNumberOfAutoBreaks: 2, + spacing: 8, + type: "straight", + color: "#FFFFFF", + fillOpacity: 0.9, + lineThickness: 2, + lineColor: "#E16E6E", + lineDashType: "solid", + publicProperties: { + options: "readWrite", + customBreaks: "readWrite", + axis: "readOnly", + autoBreaks: "readOnly", + bounds: "readOnly", + chart: "readOnly", + }, + }, + Break: { + startValue: null, + endValue: null, + spacing: 8, + type: "straight", + color: "#FFFFFF", + fillOpacity: 0.9, + lineThickness: 2, + lineColor: "#E16E6E", + lineDashType: "solid", + publicProperties: { + options: "readWrite", + scaleBreaks: "readOnly", + bounds: "readOnly", + chart: "readOnly", + }, + }, + Crosshair: { + enabled: !1, + snapToDataPoint: !1, + color: "grey", + opacity: null, + thickness: 2, + lineDashType: "solid", + label: "", + labelWrap: !0, + labelMaxWidth: null, + labelBackgroundColor: r ? "grey" : null, + labelBorderColor: r ? "grey" : null, + labelBorderThickness: 0, + labelCornerRadius: 0, + labelFontFamily: r + ? "Calibri, Optima, Candara, Verdana, Geneva, sans-serif" + : "calibri", + labelFontSize: 12, + labelFontColor: "#fff", + labelFontWeight: "normal", + labelFontStyle: "normal", + labelFormatter: null, + valueFormatString: null, + publicProperties: { + options: "readWrite", + axis: "readOnly", + bounds: "readOnly", + chart: "readOnly", + }, + }, + DataSeries: { + name: null, + dataPoints: null, + label: "", + bevelEnabled: !1, + highlightEnabled: !0, + cursor: "default", + indexLabel: "", + indexLabelPlacement: "auto", + indexLabelOrientation: "horizontal", + indexLabelFontColor: "black", + indexLabelFontSize: 12, + indexLabelFontStyle: "normal", + indexLabelFontFamily: "Arial", + indexLabelFontWeight: "normal", + indexLabelBackgroundColor: null, + indexLabelLineColor: "gray", + indexLabelLineThickness: 1, + indexLabelLineDashType: "solid", + indexLabelMaxWidth: null, + indexLabelWrap: !0, + indexLabelFormatter: null, + lineThickness: 2, + lineDashType: "solid", + connectNullData: !1, + nullDataLineDashType: "dash", + color: null, + lineColor: null, + risingColor: "white", + fallingColor: "red", + fillOpacity: null, + startAngle: 0, + radius: null, + innerRadius: null, + neckHeight: null, + neckWidth: null, + reversed: !1, + valueRepresents: null, + linkedDataSeriesIndex: null, + whiskerThickness: 2, + whiskerDashType: "solid", + whiskerColor: null, + whiskerLength: null, + stemThickness: 2, + stemColor: null, + stemDashType: "solid", + upperBoxColor: "white", + lowerBoxColor: "white", + type: "column", + xValueType: "number", + axisXType: "primary", + axisYType: "primary", + axisXIndex: 0, + axisYIndex: 0, + xValueFormatString: null, + yValueFormatString: null, + zValueFormatString: null, + percentFormatString: null, + showInLegend: null, + legendMarkerType: null, + legendMarkerColor: null, + legendText: null, + legendMarkerBorderColor: r ? "transparent" : null, + legendMarkerBorderThickness: 0, + markerType: "circle", + markerColor: null, + markerSize: null, + markerBorderColor: r ? "transparent" : null, + markerBorderThickness: 0, + mouseover: null, + mouseout: null, + mousemove: null, + click: null, + toolTipContent: null, + visible: !0, + publicProperties: { + options: "readWrite", + axisX: "readWrite", + axisY: "readWrite", + chart: "readOnly", + }, + }, + TextBlock: { + x: 0, + y: 0, + width: null, + height: null, + maxWidth: null, + maxHeight: null, + padding: 0, + angle: 0, + text: "", + horizontalAlign: "center", + fontSize: 12, + fontFamily: "calibri", + fontWeight: "normal", + fontColor: "black", + fontStyle: "normal", + borderThickness: 0, + borderColor: "black", + cornerRadius: 0, + backgroundColor: null, + textBaseline: "top", + }, + CultureInfo: { + decimalSeparator: ".", + digitGroupSeparator: ",", + zoomText: "Zoom", + panText: "Pan", + resetText: "Reset", + menuText: "More Options", + saveJPGText: "Save as JPEG", + savePNGText: "Save as PNG", + printText: "Print", + days: "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split( + " " + ), + shortDays: "Sun Mon Tue Wed Thu Fri Sat".split(" "), + months: + "January February March April May June July August September October November December".split( + " " + ), + shortMonths: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split( + " " + ), + }, + }, + Ma = { en: {} }, + v = r ? "Trebuchet MS, Helvetica, sans-serif" : "Arial", + Ha = r ? "Impact, Charcoal, sans-serif" : "Arial", + Ba = { + colorSet1: + "#4F81BC #C0504E #9BBB58 #23BFAA #8064A1 #4AACC5 #F79647 #7F6084 #77A033 #33558B #E59566".split( + " " + ), + colorSet2: + "#6D78AD #51CDA0 #DF7970 #4C9CA0 #AE7D99 #C9D45C #5592AD #DF874D #52BCA8 #8E7AA3 #E3CB64 #C77B85 #C39762 #8DD17E #B57952 #FCC26C".split( + " " + ), + colorSet3: + "#8CA1BC #36845C #017E82 #8CB9D0 #708C98 #94838D #F08891 #0366A7 #008276 #EE7757 #E5BA3A #F2990B #03557B #782970".split( + " " + ), + }, + I, + fa, + Q, + ha, + ga; + fa = "#333333"; + Q = "#000000"; + I = "#666666"; + ga = ha = "#000000"; + var X = 20, + E = 14, + Xa = { + colorSet: "colorSet1", + backgroundColor: "#FFFFFF", + title: { + fontFamily: Ha, + fontSize: 32, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + subtitles: [ + { + fontFamily: Ha, + fontSize: E, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + ], + data: [ + { + indexLabelFontFamily: v, + indexLabelFontSize: E, + indexLabelFontColor: fa, + indexLabelFontWeight: "normal", + indexLabelLineThickness: 1, + }, + ], + axisX: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: fa, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisX2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: fa, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisY: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: fa, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisY2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: fa, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + legend: { + fontFamily: v, + fontSize: 14, + fontColor: fa, + fontWeight: "bold", + verticalAlign: "bottom", + horizontalAlign: "center", + }, + toolTip: { + fontFamily: v, + fontSize: 14, + fontStyle: "normal", + cornerRadius: 0, + borderThickness: 1, + }, + }; + Q = fa = "#F5F5F5"; + I = "#FFFFFF"; + ha = "#40BAF1"; + ga = "#F5F5F5"; + var X = 20, + E = 14, + cb = { + colorSet: "colorSet2", + title: { + fontFamily: v, + fontSize: 33, + fontColor: "#3A3A3A", + fontWeight: "bold", + verticalAlign: "top", + margin: 5, + }, + subtitles: [ + { + fontFamily: v, + fontSize: E, + fontColor: "#3A3A3A", + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + ], + data: [ + { + indexLabelFontFamily: v, + indexLabelFontSize: E, + indexLabelFontColor: "#666666", + indexLabelFontWeight: "normal", + indexLabelLineThickness: 1, + }, + ], + axisX: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: "#666666", + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#666666", + labelFontWeight: "normal", + lineThickness: 1, + lineColor: "#BBBBBB", + tickThickness: 1, + tickColor: "#BBBBBB", + gridThickness: 1, + gridColor: "#BBBBBB", + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FFA500", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FFA500", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: "black", + color: "black", + thickness: 1, + lineDashType: "dot", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisX2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: "#666666", + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#666666", + labelFontWeight: "normal", + lineThickness: 1, + lineColor: "#BBBBBB", + tickColor: "#BBBBBB", + tickThickness: 1, + gridThickness: 1, + gridColor: "#BBBBBB", + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FFA500", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FFA500", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: "black", + color: "black", + thickness: 1, + lineDashType: "dot", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisY: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: "#666666", + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#666666", + labelFontWeight: "normal", + lineThickness: 0, + lineColor: "#BBBBBB", + tickColor: "#BBBBBB", + tickThickness: 1, + gridThickness: 1, + gridColor: "#BBBBBB", + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FFA500", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FFA500", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: "black", + color: "black", + thickness: 1, + lineDashType: "dot", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + axisY2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: "#666666", + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#666666", + labelFontWeight: "normal", + lineThickness: 0, + lineColor: "#BBBBBB", + tickColor: "#BBBBBB", + tickThickness: 1, + gridThickness: 1, + gridColor: "#BBBBBB", + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FFA500", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FFA500", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#EEEEEE", + labelFontWeight: "normal", + labelBackgroundColor: "black", + color: "black", + thickness: 1, + lineDashType: "dot", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#BBBBBB", + lineThickness: 1, + lineDashType: "solid", + }, + }, + ], + legend: { + fontFamily: v, + fontSize: 14, + fontColor: "#3A3A3A", + fontWeight: "bold", + verticalAlign: "bottom", + horizontalAlign: "center", + }, + toolTip: { + fontFamily: v, + fontSize: 14, + fontStyle: "normal", + cornerRadius: 0, + borderThickness: 1, + }, + }; + Q = fa = "#F5F5F5"; + I = "#FFFFFF"; + ha = "#40BAF1"; + ga = "#F5F5F5"; + X = 20; + E = 14; + Ha = { + colorSet: "colorSet12", + backgroundColor: "#2A2A2A", + title: { + fontFamily: Ha, + fontSize: 32, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + subtitles: [ + { + fontFamily: Ha, + fontSize: E, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + ], + toolbar: { + backgroundColor: "#666666", + backgroundColorOnHover: "#FF7372", + borderColor: "#FF7372", + borderThickness: 1, + fontColor: "#F5F5F5", + fontColorOnHover: "#F5F5F5", + }, + data: [ + { + indexLabelFontFamily: v, + indexLabelFontSize: E, + indexLabelFontColor: Q, + indexLabelFontWeight: "normal", + indexLabelLineThickness: 1, + }, + ], + axisX: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisX2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisY: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisY2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + legend: { + fontFamily: v, + fontSize: 14, + fontColor: fa, + fontWeight: "bold", + verticalAlign: "bottom", + horizontalAlign: "center", + }, + toolTip: { + fontFamily: v, + fontSize: 14, + fontStyle: "normal", + cornerRadius: 0, + borderThickness: 1, + fontColor: Q, + backgroundColor: "rgba(0, 0, 0, .7)", + }, + }; + I = "#FFFFFF"; + Q = fa = "#FAFAFA"; + ha = "#40BAF1"; + ga = "#F5F5F5"; + var X = 20, + E = 14, + ya = { + light1: Xa, + light2: cb, + dark1: Ha, + dark2: { + colorSet: "colorSet2", + backgroundColor: "#32373A", + title: { + fontFamily: v, + fontSize: 32, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + subtitles: [ + { + fontFamily: v, + fontSize: E, + fontColor: fa, + fontWeight: "normal", + verticalAlign: "top", + margin: 5, + }, + ], + toolbar: { + backgroundColor: "#666666", + backgroundColorOnHover: "#FF7372", + borderColor: "#FF7372", + borderThickness: 1, + fontColor: "#F5F5F5", + fontColorOnHover: "#F5F5F5", + }, + data: [ + { + indexLabelFontFamily: v, + indexLabelFontSize: E, + indexLabelFontColor: Q, + indexLabelFontWeight: "normal", + indexLabelLineThickness: 1, + }, + ], + axisX: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisX2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 1, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 0, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisY: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 0, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + axisY2: [ + { + titleFontFamily: v, + titleFontSize: X, + titleFontColor: Q, + titleFontWeight: "normal", + labelFontFamily: v, + labelFontSize: E, + labelFontColor: Q, + labelFontWeight: "normal", + lineThickness: 0, + lineColor: I, + tickThickness: 1, + tickColor: I, + gridThickness: 1, + gridColor: I, + stripLines: [ + { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#FF7300", + labelFontWeight: "normal", + labelBackgroundColor: null, + color: "#FF7300", + thickness: 1, + }, + ], + crosshair: { + labelFontFamily: v, + labelFontSize: E, + labelFontColor: "#000000", + labelFontWeight: "normal", + labelBackgroundColor: ga, + color: ha, + thickness: 1, + lineDashType: "dash", + }, + scaleBreaks: { + type: "zigzag", + spacing: "2%", + lineColor: "#777777", + lineThickness: 1, + lineDashType: "solid", + color: "#111111", + }, + }, + ], + legend: { + fontFamily: v, + fontSize: 14, + fontColor: fa, + fontWeight: "bold", + verticalAlign: "bottom", + horizontalAlign: "center", + }, + toolTip: { + fontFamily: v, + fontSize: 14, + fontStyle: "normal", + cornerRadius: 0, + borderThickness: 1, + fontColor: Q, + backgroundColor: "rgba(0, 0, 0, .7)", + }, + }, + theme1: Xa, + theme2: cb, + theme3: Xa, + }, + S = { + numberDuration: 1, + yearDuration: 314496e5, + monthDuration: 2592e6, + weekDuration: 6048e5, + dayDuration: 864e5, + hourDuration: 36e5, + minuteDuration: 6e4, + secondDuration: 1e3, + millisecondDuration: 1, + dayOfWeekFromInt: + "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), + }; + (function () { + U.fSDec = function (k) { + for (var p = "", r = 0; r < k.length; r++) + p += String.fromCharCode( + Math.ceil(k.length / 57 / 5) ^ k.charCodeAt(r) + ); + return p; + }; + U.obj = { + trVs: "Ush`m!Wdsrhno", + fntStr: + "qy!B`mhcsh-!Mtbhe`!Fs`oed-!Mtbhe`!R`or!Tohbned-!@sh`m-!r`or,rdshg", + txtBl: "udyuC`rdmhod", + fnt: "gnou", + fSy: "ghmmRuxmd", + fTx: "ghmmUdyu", + grClr: "fsdx", + cntx: "buy", + tp: "unq", + }; + delete ra[U.fSDec("Bi`su")][U.fSDec("bsdehuIsdg")]; + U.pro = { sCH: ra[U.fSDec("Bi`su")][U.fSDec("bsdehuIsdg")] }; + U._fTWm = function (k) { + if ("undefined" === typeof U.pro.sCH && !db) + try { + var p = k[U.fSDec(U.obj.cntx)]; + p[U.fSDec(U.obj.txtBl)] = U.fSDec(U.obj.tp); + p[U.fSDec(U.obj.fnt)] = 11 + U.fSDec(U.obj.fntStr); + p[U.fSDec(U.obj.fSy)] = U.fSDec(U.obj.grClr); + p[U.fSDec(U.obj.fTx)](U.fSDec(U.obj.trVs), 2, k.height - 11 - 2); + } catch (r) {} + }; + })(); + var $a = {}, + xa = null, + kb = function () { + this.ctx.clearRect(0, 0, this.width, this.height); + this.backgroundColor && + ((this.ctx.fillStyle = this.backgroundColor), + this.ctx.fillRect(0, 0, this.width, this.height)); + }, + lb = function (k, p, r) { + p = Math.min(this.width, this.height); + return Math.max( + "theme4" === this.theme ? 0 : 300 <= p ? 12 : 10, + Math.round(p * (k / 400)) + ); + }, + Ca = (function () { + var k = + /D{1,4}|M{1,4}|Y{1,4}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|f{1,3}|t{1,2}|T{1,2}|K|z{1,3}|"[^"]*"|'[^']*'/g, + p = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split( + " " + ), + r = "Sun Mon Tue Wed Thu Fri Sat".split(" "), + u = + "January February March April May June July August September October November December".split( + " " + ), + v = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), + H = + /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g, + F = /[^-+\dA-Z]/g; + return function (z, E, L) { + var R = L ? L.days : p, + I = L ? L.months : u, + N = L ? L.shortDays : r, + O = L ? L.shortMonths : v; + L = ""; + var S = !1; + z = z && z.getTime ? z : z ? new Date(z) : new Date(); + if (isNaN(z)) throw SyntaxError("invalid date"); + "UTC:" === E.slice(0, 4) && ((E = E.slice(4)), (S = !0)); + L = S ? "getUTC" : "get"; + var U = z[L + "Date"](), + V = z[L + "Day"](), + M = z[L + "Month"](), + Q = z[L + "FullYear"](), + a = z[L + "Hours"](), + d = z[L + "Minutes"](), + b = z[L + "Seconds"](), + c = z[L + "Milliseconds"](), + e = S ? 0 : z.getTimezoneOffset(); + return (L = E.replace(k, function (g) { + switch (g) { + case "D": + return U; + case "DD": + return $(U, 2); + case "DDD": + return N[V]; + case "DDDD": + return R[V]; + case "M": + return M + 1; + case "MM": + return $(M + 1, 2); + case "MMM": + return O[M]; + case "MMMM": + return I[M]; + case "Y": + return parseInt(String(Q).slice(-2)); + case "YY": + return $(String(Q).slice(-2), 2); + case "YYY": + return $(String(Q).slice(-3), 3); + case "YYYY": + return $(Q, 4); + case "h": + return a % 12 || 12; + case "hh": + return $(a % 12 || 12, 2); + case "H": + return a; + case "HH": + return $(a, 2); + case "m": + return d; + case "mm": + return $(d, 2); + case "s": + return b; + case "ss": + return $(b, 2); + case "f": + return String(c).slice(0, 1); + case "ff": + return $(String(c).slice(0, 2), 2); + case "fff": + return $(String(c).slice(0, 3), 3); + case "t": + return 12 > a ? "a" : "p"; + case "tt": + return 12 > a ? "am" : "pm"; + case "T": + return 12 > a ? "A" : "P"; + case "TT": + return 12 > a ? "AM" : "PM"; + case "K": + return S + ? "UTC" + : (String(z).match(H) || [""]).pop().replace(F, ""); + case "z": + return (0 < e ? "-" : "+") + Math.floor(Math.abs(e) / 60); + case "zz": + return (0 < e ? "-" : "+") + $(Math.floor(Math.abs(e) / 60), 2); + case "zzz": + return ( + (0 < e ? "-" : "+") + + $(Math.floor(Math.abs(e) / 60), 2) + + $(Math.abs(e) % 60, 2) + ); + default: + return g.slice(1, g.length - 1); + } + })); + }; + })(), + ba = function (k, p, r) { + if (null === k) return ""; + if (!isFinite(k)) return k; + k = Number(k); + var u = 0 > k ? !0 : !1; + u && (k *= -1); + var v = r ? r.decimalSeparator : ".", + H = r ? r.digitGroupSeparator : ",", + F = ""; + p = String(p); + var F = 1, + z = (r = ""), + E = -1, + L = [], + R = [], + I = 0, + N = 0, + S = 0, + O = !1, + U = 0, + z = p.match(/"[^"]*"|'[^']*'|[eE][+-]*[0]+|[,]+[.]|\u2030|./g); + p = null; + for (var Q = 0; z && Q < z.length; Q++) + if (((p = z[Q]), "." === p && 0 > E)) E = Q; + else { + if ("%" === p) F *= 100; + else if ("\u2030" === p) { + F *= 1e3; + continue; + } else if ("," === p[0] && "." === p[p.length - 1]) { + F /= Math.pow(1e3, p.length - 1); + E = Q + p.length - 1; + continue; + } else + ("E" !== p[0] && "e" !== p[0]) || + "0" !== p[p.length - 1] || + (O = !0); + 0 > E + ? (L.push(p), "#" === p || "0" === p ? I++ : "," === p && S++) + : (R.push(p), ("#" !== p && "0" !== p) || N++); + } + O && + ((p = Math.floor(k)), + (z = -Math.floor(Math.log(k) / Math.LN10 + 1)), + (U = 0 === k ? 0 : 0 === p ? -(I + z) : String(p).length - I), + (F /= Math.pow(10, U))); + 0 > E && (E = Q); + F = (k * F).toFixed(N); + p = F.split("."); + F = (p[0] + "").split(""); + k = (p[1] + "").split(""); + F && "0" === F[0] && F.shift(); + for (O = z = Q = N = E = 0; 0 < L.length; ) + if (((p = L.pop()), "#" === p || "0" === p)) + if ((E++, E === I)) { + var M = F, + F = []; + if ("0" === p) + for (p = I - N - (M ? M.length : 0); 0 < p; ) M.unshift("0"), p--; + for (; 0 < M.length; ) + (r = M.pop() + r), + O++, + 0 === O % z && Q === S && 0 < M.length && (r = H + r); + } else + 0 < F.length + ? ((r = F.pop() + r), N++, O++) + : "0" === p && ((r = "0" + r), N++, O++), + 0 === O % z && Q === S && 0 < F.length && (r = H + r); + else + ("E" !== p[0] && "e" !== p[0]) || + "0" !== p[p.length - 1] || + !/[eE][+-]*[0]+/.test(p) + ? "," === p + ? (Q++, (z = O), (O = 0), 0 < F.length && (r = H + r)) + : (r = + 1 < p.length && + (('"' === p[0] && '"' === p[p.length - 1]) || + ("'" === p[0] && "'" === p[p.length - 1])) + ? p.slice(1, p.length - 1) + r + : p + r) + : ((p = + 0 > U + ? p.replace("+", "").replace("-", "") + : p.replace("-", "")), + (r += p.replace(/[0]+/, function (k) { + return $(U, k.length); + }))); + H = ""; + for (L = !1; 0 < R.length; ) + (p = R.shift()), + "#" === p || "0" === p + ? 0 < k.length && 0 !== Number(k.join("")) + ? ((H += k.shift()), (L = !0)) + : "0" === p && ((H += "0"), (L = !0)) + : 1 < p.length && + (('"' === p[0] && '"' === p[p.length - 1]) || + ("'" === p[0] && "'" === p[p.length - 1])) + ? (H += p.slice(1, p.length - 1)) + : ("E" !== p[0] && "e" !== p[0]) || + "0" !== p[p.length - 1] || + !/[eE][+-]*[0]+/.test(p) + ? (H += p) + : ((p = + 0 > U + ? p.replace("+", "").replace("-", "") + : p.replace("-", "")), + (H += p.replace(/[0]+/, function (k) { + return $(U, k.length); + }))); + r += (L ? v : "") + H; + return u ? "-" + r : r; + }, + Ra = function (k) { + var p = 0, + r = 0; + k = k || window.event; + k.offsetX || 0 === k.offsetX + ? ((p = k.offsetX), (r = k.offsetY)) + : k.layerX || 0 == k.layerX + ? ((p = k.layerX), (r = k.layerY)) + : ((p = k.pageX - k.target.offsetLeft), + (r = k.pageY - k.target.offsetTop)); + return { x: p, y: r }; + }, + bb = !0, + Ua = window.devicePixelRatio || 1, + Pa = 1, + W = bb ? Ua / Pa : 1, + ea = function (k, p, r, u, v, H, F, z, E, L, R, N, O) { + "undefined" === typeof O && (O = 1); + F = F || 0; + z = z || "black"; + var I = 15 < u - p && 15 < v - r ? 8 : 0.35 * Math.min(u - p, v - r); + k.beginPath(); + k.moveTo(p, r); + k.save(); + k.fillStyle = H; + k.globalAlpha = O; + k.fillRect(p, r, u - p, v - r); + k.globalAlpha = 1; + 0 < F && + ((O = 0 === F % 2 ? 0 : 0.5), + k.beginPath(), + (k.lineWidth = F), + (k.strokeStyle = z), + k.moveTo(p, r), + k.rect(p - O, r - O, u - p + 2 * O, v - r + 2 * O), + k.stroke()); + k.restore(); + !0 === E && + (k.save(), + k.beginPath(), + k.moveTo(p, r), + k.lineTo(p + I, r + I), + k.lineTo(u - I, r + I), + k.lineTo(u, r), + k.closePath(), + (F = k.createLinearGradient((u + p) / 2, r + I, (u + p) / 2, r)), + F.addColorStop(0, H), + F.addColorStop(1, "rgba(255, 255, 255, .4)"), + (k.fillStyle = F), + k.fill(), + k.restore()); + !0 === L && + (k.save(), + k.beginPath(), + k.moveTo(p, v), + k.lineTo(p + I, v - I), + k.lineTo(u - I, v - I), + k.lineTo(u, v), + k.closePath(), + (F = k.createLinearGradient((u + p) / 2, v - I, (u + p) / 2, v)), + F.addColorStop(0, H), + F.addColorStop(1, "rgba(255, 255, 255, .4)"), + (k.fillStyle = F), + k.fill(), + k.restore()); + !0 === R && + (k.save(), + k.beginPath(), + k.moveTo(p, r), + k.lineTo(p + I, r + I), + k.lineTo(p + I, v - I), + k.lineTo(p, v), + k.closePath(), + (F = k.createLinearGradient(p + I, (v + r) / 2, p, (v + r) / 2)), + F.addColorStop(0, H), + F.addColorStop(1, "rgba(255, 255, 255, 0.1)"), + (k.fillStyle = F), + k.fill(), + k.restore()); + !0 === N && + (k.save(), + k.beginPath(), + k.moveTo(u, r), + k.lineTo(u - I, r + I), + k.lineTo(u - I, v - I), + k.lineTo(u, v), + (F = k.createLinearGradient(u - I, (v + r) / 2, u, (v + r) / 2)), + F.addColorStop(0, H), + F.addColorStop(1, "rgba(255, 255, 255, 0.1)"), + (k.fillStyle = F), + F.addColorStop(0, H), + F.addColorStop(1, "rgba(255, 255, 255, 0.1)"), + (k.fillStyle = F), + k.fill(), + k.closePath(), + k.restore()); + }, + ja = function (k) { + for (var p = "", r = 0; r < k.length; r++) + p += String.fromCharCode( + Math.ceil(k.length / 57 / 5) ^ k.charCodeAt(r) + ); + return p; + }, + db = + window && + window[ja("mnb`uhno")] && + window[ja("mnb`uhno")].href && + window[ja("mnb`uhno")].href.indexOf && + (-1 !== window[ja("mnb`uhno")].href.indexOf(ja("b`ow`rkr/bnl")) || + -1 !== window[ja("mnb`uhno")].href.indexOf(ja("gdonqhy/bnl")) || + -1 !== window[ja("mnb`uhno")].href.indexOf(ja("gheemd"))), + ib = db && -1 === window[ja("mnb`uhno")].href.indexOf(ja("gheemd")), + jb = { + reset: { + image: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAeCAYAAABJ/8wUAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAPjSURBVFhHxVdJaFNRFP1J/jwkP5MxsbaC1WJEglSxOFAXIsFpVRE3ggi1K90obioRRBA33XXnQnciirhQcMCdorgQxBkXWlREkFKsWkv5npvckp/XnzRpKh64kLw733fffe9L/wrL0+mVUdO8uTSZ3MBL/we2qg4rkuSpodCELstXE46ziVkLQ6FQcGOmeSSq6wd4aV50d3drWjj8kQKZJTUc9kxFGenv79dZrDksTSTWWJp2QYtEPiErysyzdX0LsxsCQR8keX8gs6RHIk8ysdgKFg2G53mhuOPsshTlBjKaFo1g7SqLNoShKLdFXT8huQ/paLSbxatYnc2mHMM4hr18Vi8TIvCmXF3vYrW6cF23gGTOk0M1wA4RKvOmq6vLZRVJipvmSWT6tZ6CSEYkco5V50VPT4+D7RwOqi6RiSZm0fJ+vggSqkeoypdsNmuyelNwbXsbgvkWYMtzDWNvWaijoyOBqE+hVK8abcssUeXQ/YfKyi0gFYv1Ipgfoj34fYGTJLOYJA0ODirok32GLN8XhUWCwSes1hIwBg6LydJ/tEeRRapAdUp+wSAiZchtZZWWgAZ+JNpD8peYXQVK9UwUxNpzOK8pq97kURZhYTCKBwPD7h2zK+js7Myi7D8Fod+0TkMI8+EMAngLGc/WtBFWawkFHFnoj/t9KLgGmF0B3QfkxC+EarxkdhnFYlFLY06USqUwL7UMjICHfh/wOc2sCqhpxGbCkLvL7EUDbF73+6DkmVWB6zi7xUDQSLeYvWjAILvm9zEnkJhlbRcDQZcv6Kg2AipyT/Axw6wKlqVSqxDdjF8Izfod13qURdrG/nxehY+xGh+h0CSzKygGvSNQIcc097BI24jb9hax6kj2E7OrMFX1il+ICEf2NrPbhiXLl+fYl+U7zK4iYdsDcyLGf+ofFlkwcN+s10KhmpuYhhtm0hCLVIFL0MDsqNlDIqy9x2CLs1jL6OvrI7vPRbtohXG6eFmsFnHDGAp6n9AgyuVySRZrGvROxRgIfLXhzjrNYnNBUxNX/dMgRWT1mt4XLDovaApD53E9W3ilNX5M55LJHpRtIsgAvciR4WWcgK2Dvb1YqgXevmF8z2zEBTcKG39EfSKsT9EbhVUaI2FZO+oZIqImxol6j66/hcAu4sSN4vc1ZPoKeoE6RGhYL2YYA+ymOSSi0Z0wWntbtkGUWCvfSDXIxONraZ/FY90KUfNTpfC5spnNLgxoYNnR9RO4F8ofXEHOgogCQE99w+fF2Xw+b7O59rEOsyRqGEfpVoaDMQQ1CZrG46bcM6AZ0C/wPqNfHliqejyTySxh9TqQpL+xmbIlkB9SlAAAAABJRU5ErkJggg==", + }, + pan: { + image: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAICSURBVEhLxZbPahNRGMUn/5MpuAiBEAIufQGfzr5E40YptBXajYzudCEuGqS+gGlrFwquDGRTutBdYfydzJ3LzeQmJGZue+Dw/Z17Mnfmu5Pof9Hr9Z61Wq0bWZMKj263O6xWq99wU9lOpzPMKgEhEcRucNOcioOK+0RzBhNvt9tPV4nmVF19+OWhVqt9xXgFXZq+8lCv119UKpUJ7iX2FmvFTKz8RH34YdBsNk8wVtjE4fGYwm8wrrDi3WBG5oKXZGRSS9hGuNFojLTe2lFz5xThWZIktayyiE2FdT3rzXBXz7krKiL8c17wAKFDjCus2AvW+YGZ9y2JF0VFRuMPfI//rsCE/C+s26s4gQu9ul7r4NteKx7H8XOC724xNNGbaNu++IrBqbOV7Tj3FgMRvc/YKOr3+3sE47wgEt/Bl/gaK5cHbNU11vYSXylfpK7XOvjuumPp4Wcoipu30Qsez2uMXYz4lfI+mOmwothY+SLiXJy7mKVpWs3Si0CoOMfeI9Od43Wic+jO+ZVv+crsm9QSNhUW9LXSeoPBYLXopthGuFQgdIxxhY+UDwlt1x5CZ1hX+NTUdt/OIvjKaDSmuOJfaIVNPKX+W18j/PLA2/kR44p5Sd8HbHngT/yTfNRWUXX14ZcL3wmX0+TLf8YO7CGT8yFE5zB3/gney25/OETRP9CtPDFe5jShAAAAAElFTkSuQmCC", + }, + zoom: { + image: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALWSURBVEhLvZZLaBNRFIabyftBIgEfqCCBoCC6MYqiXYiIj4U76U4X7sUHbhQhUBfixhZEUBDB16YuFERaUaQLK7ooCOJj4UKtYEFU0EptShO/A9Ph3js3k8lo/eHnP7n3nP/M3LlzMz1hkUwmNziOcyKRSFyFt+LxeD/c2Wq1Ym7Kv0M2m11Os1OxWGycn1OwZXCGuXfwIhezkd9/jRgNT2L4ldhs1pbkX5OLJe4euVxuGQaPCa3mnUjtJx7BDuKusJTCV6jVVGHTMuYRjxma7yIOhTgFY6jNaAKew2xPKpVay9ganmkvj+M448/MfJdT5K5Gg4HJacRngPFgqVRaRNwW1B4i7yehWfsEDdz1K+A01AoxPIqGAiuwGfkOTY8+1A6u7AyiFTB2Hu0KPIrdiOnzHLWDybeImvy+Wq2mZa5bUHsD0Zpz+KxHdWQymV6kAb1ElqeORgJLvgnRdj1+R1AfzkIvSUjxVjQSarVakrueIPT8+H1F5jSUy+WXiJrUYBVWyVxU4PEU8TzhfaijUqnMIWrjaY492eWRwdKOIqrnIxnXwLLeRLwk2GQzrEMjg0avEbXxkIxr4OoOImpj2QwyFgms1koa/SZUG8s+0iGnEhNfCNXEhzIXBVz0McTzEvJ+70P9oNFtxEzei3aFYrFYxmuSUPWSv9Yi9IMm2xE1We56Mp1OV4nDwqFmBDV9gk9AEh4gZtFHNt8W4kAUCoXF5MorY9Z/kDni9nDv7hc0i2fhgLvTtX8a99PoMPPagTFPxofRzmDJ9yM+AyEmTfgGysYbQcfhDzPPJDmX0c7gDg4gs9BqFIWhm/Nct5H8gtBq1I7UfIbtvmIuoaGQcp+fdpbbSM43eEH5wrwLbXmhm/fU63VHXjcuok7hEByFY/AeHGC8L5/PL3HT5xGH1uYwfPOICGo+CBcU0vwO1BqzUqILDl/z/9VYIMfpddiAc47jDP8BsUpb13wOLRwAAAAASUVORK5CYII=", + }, + menu: { + image: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAeCAYAAABE4bxTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADoSURBVFhH7dc9CsJAFATgRxIIBCwCqZKATX5sbawsY2MvWOtF9AB6AU8gguAJbD2AnZ2VXQT/Ko2TYGCL2OYtYQc+BuYA+1hCtnCVwMm27SGaXpDJIAiCvCkVR05hGOZNN3HkFMdx3nQRR06+76/R1IcFLJlNQEWlmWlBTwJtKLKHynehZqnjOGM0PYWRVXk61C37p7xlZ3Hk5HneCk1dmMH811xGoKLSzDiQwIBZB4ocoPJdqNkDt2yKlueWRVGUtzy3rPwo3sWRU3nLjuLI6OO67oZM00wMw3hrmpZx0XU9syxrR0T0BeMpb9dneSR2AAAAAElFTkSuQmCC", + }, + handle: { + image: + "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAAXNSR0IArs4c6QAAAAZiS0dEANAAzwDP4Z7KegAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB9sHGw0cMqdt1UwAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAaElEQVQoz+3SsRFAQBCF4Z9WJM8KCDVwownl6YXsTmCUsyKGkZzcl7zkz3YLkypgAnreFmDEpHkIwVOMfpdi9CEEN2nGpFdwD03yEqDtOgCaun7sqSTDH32I1pQA2Pb9sZecAxc5r3IAb21d6878xsAAAAAASUVORK5CYII=", + }, + }; + V.prototype.setOptions = function (k, p) { + if (ra[this._defaultsKey]) { + var r = ra[this._defaultsKey], + u; + for (u in r) + "publicProperties" !== u && + r.hasOwnProperty(u) && + (this[u] = k && u in k ? k[u] : p && u in p ? p[u] : r[u]); + } else Ja && window.console && console.log("defaults not set"); + }; + V.prototype.get = function (k) { + var p = ra[this._defaultsKey]; + if ("options" === k) + return this.options && this.options._isPlaceholder ? null : this.options; + if ( + p.hasOwnProperty(k) || + (p.publicProperties && p.publicProperties.hasOwnProperty(k)) + ) + return this[k]; + window.console && + window.console.log( + 'Property "' + k + "\" doesn't exist. Please check for typo." + ); + }; + V.prototype.set = function (k, p, r) { + r = "undefined" === typeof r ? !0 : r; + var u = ra[this._defaultsKey]; + if ("options" === k) this.createUserOptions(p); + else if ( + u.hasOwnProperty(k) || + (u.publicProperties && + u.publicProperties.hasOwnProperty(k) && + "readWrite" === u.publicProperties[k]) + ) + this.options._isPlaceholder && this.createUserOptions(), + (this.options[k] = p); + else { + window.console && + (u.publicProperties && + u.publicProperties.hasOwnProperty(k) && + "readOnly" === u.publicProperties[k] + ? window.console.log('Property "' + k + '" is read-only.') + : window.console.log( + 'Property "' + k + "\" doesn't exist. Please check for typo." + )); + return; + } + r && (this.stockChart || this.chart || this).render(); + }; + V.prototype.addTo = function (k, p, r, u) { + u = "undefined" === typeof u ? !0 : u; + var v = ra[this._defaultsKey]; + v.hasOwnProperty(k) || + (v.publicProperties && + v.publicProperties.hasOwnProperty(k) && + "readWrite" === v.publicProperties[k]) + ? (this.options._isPlaceholder && this.createUserOptions(), + "undefined" === typeof this.options[k] && (this.options[k] = []), + (k = this.options[k]), + (r = "undefined" === typeof r || null === r ? k.length : r), + k.splice(r, 0, p), + u && (this.chart || this).render()) + : window.console && + (v.publicProperties && + v.publicProperties.hasOwnProperty(k) && + "readOnly" === v.publicProperties[k] + ? window.console.log('Property "' + k + '" is read-only.') + : window.console.log( + 'Property "' + k + "\" doesn't exist. Please check for typo." + )); + }; + V.prototype.createUserOptions = function (k) { + if ("undefined" !== typeof k || this.options._isPlaceholder) + if ( + (this.parent.options._isPlaceholder && this.parent.createUserOptions(), + this.isOptionsInArray) + ) { + this.parent.options[this.optionsName] || + (this.parent.options[this.optionsName] = []); + var p = this.parent.options[this.optionsName], + r = p.length; + this.options._isPlaceholder || (Fa(p), (r = p.indexOf(this.options))); + this.options = "undefined" === typeof k ? {} : k; + p[r] = this.options; + } else + (this.options = "undefined" === typeof k ? {} : k), + (k = this.parent.options), + this.optionsName + ? (p = this.optionsName) + : (p = this._defaultsKey) && 0 !== p.length + ? ((r = p.charAt(0).toLowerCase()), + 1 < p.length && (r = r.concat(p.slice(1))), + (p = r)) + : (p = void 0), + (k[p] = this.options); + }; + V.prototype.remove = function (k) { + k = "undefined" === typeof k ? !0 : k; + if (this.isOptionsInArray) { + var p = this.parent.options[this.optionsName]; + Fa(p); + var r = p.indexOf(this.options); + 0 <= r && p.splice(r, 1); + } else delete this.parent.options[this.optionsName]; + k && (this.chart || this).render(); + }; + V.prototype.updateOption = function (k) { + !ra[this._defaultsKey] && + Ja && + window.console && + console.log("defaults not set"); + var p = ra[this._defaultsKey], + r = {}, + v = this[k], + E = this._themeOptionsKey, + H = this._index; + this.theme && u(E) && u(H) + ? (r = u(ya[this.theme]) ? ya.light1 : ya[this.theme]) + : this.parent && + this.parent.themeOptions && + this.parent.themeOptions[E] && + (null === H + ? (r = this.parent.themeOptions[E]) + : 0 < this.parent.themeOptions[E].length && + ((r = Math.min(this.parent.themeOptions[E].length - 1, H)), + (r = this.parent.themeOptions[E][r]))); + this.themeOptions = r; + k in p && + (v = k in this.options ? this.options[k] : r && k in r ? r[k] : p[k]); + if (v === this[k]) return !1; + this[k] = v; + return !0; + }; + V.prototype.trackChanges = function (k) { + if (!this.sessionVariables) throw "Session Variable Store not set"; + this.sessionVariables[k] = this.options[k]; + }; + V.prototype.isBeingTracked = function (k) { + this.options._oldOptions || (this.options._oldOptions = {}); + return this.options._oldOptions[k] ? !0 : !1; + }; + V.prototype.hasOptionChanged = function (k) { + if (!this.sessionVariables) throw "Session Variable Store not set"; + return this.sessionVariables[k] !== this.options[k]; + }; + V.prototype.addEventListener = function (k, p, r) { + k && + p && + ((this._eventListeners[k] = this._eventListeners[k] || []), + this._eventListeners[k].push({ context: r || this, eventHandler: p })); + }; + V.prototype.removeEventListener = function (k, p) { + if (k && p && this._eventListeners[k]) + for (var r = this._eventListeners[k], u = 0; u < r.length; u++) + if (r[u].eventHandler === p) { + r[u].splice(u, 1); + break; + } + }; + V.prototype.removeAllEventListeners = function () { + this._eventListeners = []; + }; + V.prototype.dispatchEvent = function (k, p, r) { + if (k && this._eventListeners[k]) { + p = p || {}; + for (var u = this._eventListeners[k], v = 0; v < u.length; v++) + u[v].eventHandler.call(u[v].context, p); + } + "function" === typeof this[k] && this[k].call(r || this.chart, p); + }; + Ga.prototype.registerSpace = function (k, p) { + "top" === k + ? (this._topOccupied += p.height) + : "bottom" === k + ? (this._bottomOccupied += p.height) + : "left" === k + ? (this._leftOccupied += p.width) + : "right" === k && (this._rightOccupied += p.width); + }; + Ga.prototype.unRegisterSpace = function (k, p) { + "top" === k + ? (this._topOccupied -= p.height) + : "bottom" === k + ? (this._bottomOccupied -= p.height) + : "left" === k + ? (this._leftOccupied -= p.width) + : "right" === k && (this._rightOccupied -= p.width); + }; + Ga.prototype.getFreeSpace = function () { + return { + x1: this._x1 + this._leftOccupied, + y1: this._y1 + this._topOccupied, + x2: this._x2 - this._rightOccupied, + y2: this._y2 - this._bottomOccupied, + width: this._x2 - this._x1 - this._rightOccupied - this._leftOccupied, + height: this._y2 - this._y1 - this._bottomOccupied - this._topOccupied, + }; + }; + Ga.prototype.reset = function () { + this._rightOccupied = + this._leftOccupied = + this._bottomOccupied = + this._topOccupied = + this._padding; + }; + qa(ka, V); + ka.prototype._initialize = function () { + u(this.padding) || "object" !== typeof this.padding + ? (this.topPadding = + this.rightPadding = + this.bottomPadding = + this.leftPadding = + Number(this.padding) | 0) + : ((this.topPadding = u(this.padding.top) + ? 0 + : Number(this.padding.top) | 0), + (this.rightPadding = u(this.padding.right) + ? 0 + : Number(this.padding.right) | 0), + (this.bottomPadding = u(this.padding.bottom) + ? 0 + : Number(this.padding.bottom) | 0), + (this.leftPadding = u(this.padding.left) + ? 0 + : Number(this.padding.left) | 0)); + }; + ka.prototype.render = function (k) { + if (0 !== this.fontSize) { + k && this.ctx.save(); + var p = this.ctx.font; + this.ctx.textBaseline = this.textBaseline; + var r = 0; + this._isDirty && this.measureText(this.ctx); + this.ctx.translate(this.x, this.y + r); + "middle" === this.textBaseline && (r = -this._lineHeight / 2); + this.ctx.font = this._getFontString(); + this.ctx.rotate((Math.PI / 180) * this.angle); + var u = 0, + v = this.topPadding, + H = null; + this.ctx.roundRect || Ea(this.ctx); + ((0 < this.borderThickness && this.borderColor) || + this.backgroundColor) && + this.ctx.roundRect( + 0, + r, + this.width, + this.height, + this.cornerRadius, + this.borderThickness, + this.backgroundColor, + this.borderColor + ); + this.ctx.fillStyle = this.fontColor; + for (r = 0; r < this._wrappedText.lines.length; r++) + (H = this._wrappedText.lines[r]), + "right" === this.horizontalAlign + ? (u = + (this.width - (this.leftPadding + this.rightPadding)) / 2 - + H.width / 2 + + this.leftPadding) + : "left" === this.horizontalAlign + ? (u = this.leftPadding) + : "center" === this.horizontalAlign && + (u = + (this.width - (this.leftPadding + this.rightPadding)) / 2 - + H.width / 2 + + this.leftPadding), + this.ctx.fillText(H.text, u, v), + (v += H.height); + this.ctx.font = p; + k && this.ctx.restore(); + } + }; + ka.prototype.setText = function (k) { + this.text = k; + this._isDirty = !0; + this._wrappedText = null; + }; + ka.prototype.measureText = function () { + this._lineHeight = Za(this.fontFamily, this.fontSize, this.fontWeight); + if (null === this.maxWidth) + throw "Please set maxWidth and height for TextBlock"; + this._wrapText(this.ctx); + this._isDirty = !1; + return { width: this.width, height: this.height }; + }; + ka.prototype._getLineWithWidth = function (k, p, r) { + k = String(k); + if (!k) return { text: "", width: 0 }; + var u = (r = 0), + v = k.length - 1, + H = Infinity; + for (this.ctx.font = this._getFontString(); u <= v; ) { + var H = Math.floor((u + v) / 2), + F = k.substr(0, H + 1); + r = this.ctx.measureText(F).width; + if (r < p) u = H + 1; + else if (r > p) v = H - 1; + else break; + } + r > p && + 1 < F.length && + ((F = F.substr(0, F.length - 1)), (r = this.ctx.measureText(F).width)); + p = !0; + if (F.length === k.length || " " === k[F.length]) p = !1; + p && + ((k = F.split(" ")), + 1 < k.length && k.pop(), + (F = k.join(" ")), + (r = this.ctx.measureText(F).width)); + return { text: F, width: r }; + }; + ka.prototype._wrapText = function () { + var k = new String(Ia(String(this.text))), + p = [], + r = this.ctx.font, + u = 0, + v = 0; + this.ctx.font = this._getFontString(); + if (0 === this.frontSize) v = u = 0; + else + for (; 0 < k.length; ) { + var H = this.maxHeight - (this.topPadding + this.bottomPadding), + F = this._getLineWithWidth( + k, + this.maxWidth - (this.leftPadding + this.rightPadding), + !1 + ); + F.height = this._lineHeight; + p.push(F); + var z = v, + v = Math.max(v, F.width), + u = u + F.height, + k = Ia(k.slice(F.text.length, k.length)); + H && u > H && ((F = p.pop()), (u -= F.height), (v = z)); + } + this._wrappedText = { lines: p, width: v, height: u }; + this.width = v + (this.leftPadding + this.rightPadding); + this.height = u + (this.topPadding + this.bottomPadding); + this.ctx.font = r; + }; + ka.prototype._getFontString = function () { + var k; + k = "" + (this.fontStyle ? this.fontStyle + " " : ""); + k += this.fontWeight ? this.fontWeight + " " : ""; + k += this.fontSize ? this.fontSize + "px " : ""; + var p = this.fontFamily ? this.fontFamily + "" : ""; + !r && + p && + ((p = p.split(",")[0]), + "'" !== p[0] && '"' !== p[0] && (p = "'" + p + "'")); + return (k += p); + }; + qa(Va, V); + qa(Aa, V); + Aa.prototype.setLayout = function () { + if (this.text) { + var k = this.dockInsidePlotArea ? this.chart.plotArea : this.chart, + p = k.layoutManager.getFreeSpace(), + r = p.x1, + v = p.y1, + E = 0, + H = 0, + F = + this.chart._menuButton && + this.chart.exportEnabled && + "top" === this.verticalAlign + ? 22 + : 0, + z, + I; + "top" === this.verticalAlign || "bottom" === this.verticalAlign + ? (null === this.maxWidth && + (this.maxWidth = + p.width - 4 - F * ("center" === this.horizontalAlign ? 2 : 1)), + (H = 0.5 * p.height - this.margin - 2), + (E = 0)) + : "center" === this.verticalAlign && + ("left" === this.horizontalAlign || "right" === this.horizontalAlign + ? (null === this.maxWidth && (this.maxWidth = p.height - 4), + (H = 0.5 * p.width - this.margin - 2)) + : "center" === this.horizontalAlign && + (null === this.maxWidth && (this.maxWidth = p.width - 4), + (H = 0.5 * p.height - 4))); + var L; + u(this.padding) || "number" !== typeof this.padding + ? u(this.padding) || + "object" !== typeof this.padding || + ((L = this.padding.top + ? this.padding.top + : this.padding.bottom + ? this.padding.bottom + : 0), + (L += this.padding.bottom + ? this.padding.bottom + : this.padding.top + ? this.padding.top + : 0), + (L *= 1.25)) + : (L = 2.5 * this.padding); + this.wrap || + (H = Math.min(H, Math.max(1.5 * this.fontSize, this.fontSize + L))); + H = new ka(this.ctx, { + fontSize: this.fontSize, + fontFamily: this.fontFamily, + fontColor: this.fontColor, + fontStyle: this.fontStyle, + fontWeight: this.fontWeight, + horizontalAlign: this.horizontalAlign, + verticalAlign: this.verticalAlign, + borderColor: this.borderColor, + borderThickness: this.borderThickness, + backgroundColor: this.backgroundColor, + maxWidth: this.maxWidth, + maxHeight: H, + cornerRadius: this.cornerRadius, + text: this.text, + padding: this.padding, + textBaseline: "top", + }); + L = H.measureText(); + "top" === this.verticalAlign || "bottom" === this.verticalAlign + ? ("top" === this.verticalAlign + ? ((v = p.y1 + 2), (I = "top")) + : "bottom" === this.verticalAlign && + ((v = p.y2 - 2 - L.height), (I = "bottom")), + "left" === this.horizontalAlign + ? (r = p.x1 + 2) + : "center" === this.horizontalAlign + ? (r = p.x1 + p.width / 2 - L.width / 2) + : "right" === this.horizontalAlign && (r = p.x2 - 2 - L.width - F), + (z = this.horizontalAlign), + (this.width = L.width), + (this.height = L.height)) + : "center" === this.verticalAlign && + ("left" === this.horizontalAlign + ? ((r = p.x1 + 2), + (v = p.y2 - 2 - (this.maxWidth / 2 - L.width / 2)), + (E = -90), + (I = "left"), + (this.width = L.height), + (this.height = L.width)) + : "right" === this.horizontalAlign + ? ((r = p.x2 - 2), + (v = p.y1 + 2 + (this.maxWidth / 2 - L.width / 2)), + (E = 90), + (I = "right"), + (this.width = L.height), + (this.height = L.width)) + : "center" === this.horizontalAlign && + ((v = k.y1 + (k.height / 2 - L.height / 2)), + (r = k.x1 + (k.width / 2 - L.width / 2)), + (I = "center"), + (this.width = L.width), + (this.height = L.height)), + (z = "center")); + H.x = r; + H.y = v; + H.angle = E; + H.horizontalAlign = z; + this._textBlock = H; + k.layoutManager.registerSpace(I, { + width: + this.width + ("left" === I || "right" === I ? this.margin + 2 : 0), + height: + this.height + ("top" === I || "bottom" === I ? this.margin + 2 : 0), + }); + this.bounds = { x1: r, y1: v, x2: r + this.width, y2: v + this.height }; + this.ctx.textBaseline = "top"; + } + }; + Aa.prototype.render = function () { + this._textBlock && this._textBlock.render(!0); + }; + qa(Ka, V); + Ka.prototype.setLayout = Aa.prototype.setLayout; + Ka.prototype.render = Aa.prototype.render; + Wa.prototype.get = function (k, p) { + var r = null; + 0 < this.pool.length + ? ((r = this.pool.pop()), Oa(r, k, p)) + : (r = ta(k, p)); + return r; + }; + Wa.prototype.release = function (k) { + this.pool.push(k); + }; + qa(La, V); + var Na = { + addTheme: function (k, p) { + ya[k] = p; + }, + addColorSet: function (k, p) { + Ba[k] = p; + }, + addCultureInfo: function (k, p) { + Ma[k] = p; + }, + formatNumber: function (k, p, r) { + r = r || "en"; + if (Ma[r]) return ba(k, p || "#,##0.##", new La(r)); + throw "Unknown Culture Name"; + }, + formatDate: function (k, p, r) { + r = r || "en"; + if (Ma[r]) return Ca(k, p || "DD MMM YYYY", new La(r)); + throw "Unknown Culture Name"; + }, + }; + "undefined" !== typeof module && "undefined" !== typeof module.exports + ? (module.exports = Na) + : "function" === typeof define && define.amd + ? define([], function () { + return Na; + }) + : (window.CanvasJS = Na); + Na.Chart = (function () { + function k(a, d) { + return a.x - d.x; + } + function p(a, d) { + d = d || {}; + this.theme = u(d.theme) || u(ya[d.theme]) ? "light1" : d.theme; + p.base.constructor.call(this, "Chart", null, d, null, null); + var b = this; + this._containerId = a; + this._objectsInitialized = !1; + this.overlaidCanvasCtx = this.ctx = null; + this._indexLabels = []; + this._panTimerId = 0; + this._lastTouchEventType = ""; + this._lastTouchData = null; + this.isAnimating = !1; + this.renderCount = 0; + this.disableToolTip = this.animatedRender = !1; + this.canvasPool = new Wa(); + this.allDOMEventHandlers = []; + this.panEnabled = !1; + this._defaultCursor = "default"; + this.plotArea = { + canvas: null, + ctx: null, + x1: 0, + y1: 0, + x2: 0, + y2: 0, + width: 0, + height: 0, + }; + this._dataInRenderedOrder = []; + if ( + (this.container = + "string" === typeof this._containerId + ? document.getElementById(this._containerId) + : this._containerId) + ) { + this.container.innerHTML = ""; + var c = 0, + e = 0, + c = this.options.width + ? this.width + : 0 < this.container.clientWidth + ? this.container.clientWidth + : this.width, + e = this.options.height + ? this.height + : 0 < this.container.clientHeight + ? this.container.clientHeight + : this.height; + this.width = c; + this.height = e; + this.x1 = this.y1 = 0; + this.x2 = this.width; + this.y2 = this.height; + this._selectedColorSet = + "undefined" !== typeof Ba[this.colorSet] + ? Ba[this.colorSet] + : Ba.colorSet1; + this._canvasJSContainer = document.createElement("div"); + this._canvasJSContainer.setAttribute( + "class", + "canvasjs-chart-container" + ); + this._canvasJSContainer.style.position = "relative"; + this._canvasJSContainer.style.textAlign = "left"; + this._canvasJSContainer.style.cursor = "auto"; + r || (this._canvasJSContainer.style.height = "0px"); + this.container.appendChild(this._canvasJSContainer); + this.canvas = ta(c, e); + this._preRenderCanvas = ta(c, e); + this.canvas.style.position = "absolute"; + this.canvas.style.WebkitUserSelect = "none"; + this.canvas.style.MozUserSelect = "none"; + this.canvas.style.msUserSelect = "none"; + this.canvas.style.userSelect = "none"; + this.canvas.getContext && + (this._canvasJSContainer.appendChild(this.canvas), + (this.ctx = this.canvas.getContext("2d")), + (this.ctx.textBaseline = "top"), + Ea(this.ctx), + (this._preRenderCtx = this._preRenderCanvas.getContext("2d")), + (this._preRenderCtx.textBaseline = "top"), + Ea(this._preRenderCtx), + r + ? (this.plotArea.ctx = this.ctx) + : ((this.plotArea.canvas = ta(c, e)), + (this.plotArea.canvas.style.position = "absolute"), + this.plotArea.canvas.setAttribute("class", "plotAreaCanvas"), + this._canvasJSContainer.appendChild(this.plotArea.canvas), + (this.plotArea.ctx = this.plotArea.canvas.getContext("2d"))), + (this.overlaidCanvas = ta(c, e)), + (this.overlaidCanvas.style.position = "absolute"), + (this.overlaidCanvas.style.webkitTapHighlightColor = "transparent"), + (this.overlaidCanvas.style.WebkitUserSelect = "none"), + (this.overlaidCanvas.style.MozUserSelect = "none"), + (this.overlaidCanvas.style.msUserSelect = "none"), + (this.overlaidCanvas.style.userSelect = "none"), + this.overlaidCanvas.getContext && + (this._canvasJSContainer.appendChild(this.overlaidCanvas), + (this.overlaidCanvasCtx = this.overlaidCanvas.getContext("2d")), + (this.overlaidCanvasCtx.textBaseline = "top"), + Ea(this.overlaidCanvasCtx)), + (this._eventManager = new ha(this)), + (this.windowResizeHandler = O( + window, + "resize", + function () { + b._updateSize() && b.render(); + }, + this.allDOMEventHandlers + )), + (this._toolBar = document.createElement("div")), + this._toolBar.setAttribute("class", "canvasjs-chart-toolbar"), + (this._toolBar.style.cssText = + "position: absolute; right: 1px; top: 1px;"), + this._canvasJSContainer.appendChild(this._toolBar), + (this.bounds = { x1: 0, y1: 0, x2: this.width, y2: this.height }), + O( + this.overlaidCanvas, + "click", + function (a) { + b._mouseEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + "mousemove", + function (a) { + b._mouseEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + "mouseup", + function (a) { + b._mouseEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + "mousedown", + function (a) { + b._mouseEventHandler(a); + va(b._dropdownMenu); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + "mouseout", + function (a) { + b._mouseEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + window.navigator.msPointerEnabled ? "MSPointerDown" : "touchstart", + function (a) { + b._touchEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + window.navigator.msPointerEnabled ? "MSPointerMove" : "touchmove", + function (a) { + b._touchEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + window.navigator.msPointerEnabled ? "MSPointerUp" : "touchend", + function (a) { + b._touchEventHandler(a); + }, + this.allDOMEventHandlers + ), + O( + this.overlaidCanvas, + window.navigator.msPointerEnabled + ? "MSPointerCancel" + : "touchcancel", + function (a) { + b._touchEventHandler(a); + }, + this.allDOMEventHandlers + ), + (this.toolTip = new $(this, this.options.toolTip)), + (this.data = null), + (this.axisX = []), + (this.axisX2 = []), + (this.axisY = []), + (this.axisY2 = []), + (this.sessionVariables = { + axisX: [], + axisX2: [], + axisY: [], + axisY2: [], + })); + } else + window.console && + window.console.log( + 'CanvasJS Error: Chart Container with id "' + + this._containerId + + '" was not found' + ); + } + function v(a, d) { + for (var b = [], c, e = 0; e < a.length; e++) + if (0 == e) b.push(a[0]); + else { + var g, m, l; + l = e - 1; + g = 0 === l ? 0 : l - 1; + m = l === a.length - 1 ? l : l + 1; + c = + (Math.abs( + (a[m].x - a[g].x) / + (0 === a[m].x - a[l].x ? 0.01 : a[m].x - a[l].x) + ) * + (d - 1)) / + 2 + + 1; + var w = (a[m].x - a[g].x) / c; + c = (a[m].y - a[g].y) / c; + b[b.length] = + (a[l].x > a[g].x && 0 < w) || (a[l].x < a[g].x && 0 > w) + ? { x: a[l].x + w / 3, y: a[l].y + c / 3 } + : { x: a[l].x, y: a[l].y + c / 9 }; + l = e; + g = 0 === l ? 0 : l - 1; + m = l === a.length - 1 ? l : l + 1; + c = + (Math.abs( + (a[m].x - a[g].x) / + (0 === a[l].x - a[g].x ? 0.01 : a[l].x - a[g].x) + ) * + (d - 1)) / + 2 + + 1; + w = (a[m].x - a[g].x) / c; + c = (a[m].y - a[g].y) / c; + b[b.length] = + (a[l].x > a[g].x && 0 < w) || (a[l].x < a[g].x && 0 > w) + ? { x: a[l].x - w / 3, y: a[l].y - c / 3 } + : { x: a[l].x, y: a[l].y - c / 9 }; + b[b.length] = a[e]; + } + return b; + } + function E(a, d, b, c, e, g, m, l, w, h) { + var s = 0; + h ? ((m.color = g), (l.color = g)) : (h = 1); + s = w ? Math.abs(e - b) : Math.abs(c - d); + s = + 0 < m.trimLength + ? Math.abs((s * m.trimLength) / 100) + : Math.abs(s - m.length); + w ? ((b += s / 2), (e -= s / 2)) : ((d += s / 2), (c -= s / 2)); + var s = 1 === Math.round(m.thickness) % 2 ? 0.5 : 0, + q = 1 === Math.round(l.thickness) % 2 ? 0.5 : 0; + a.save(); + a.globalAlpha = h; + a.strokeStyle = l.color || g; + a.lineWidth = l.thickness || 2; + a.setLineDash && a.setLineDash(R(l.dashType, l.thickness)); + a.beginPath(); + w && 0 < l.thickness + ? (a.moveTo(c - m.thickness / 2, Math.round((b + e) / 2) - q), + a.lineTo(d + m.thickness / 2, Math.round((b + e) / 2) - q)) + : 0 < l.thickness && + (a.moveTo(Math.round((d + c) / 2) - q, b + m.thickness / 2), + a.lineTo(Math.round((d + c) / 2) - q, e - m.thickness / 2)); + a.stroke(); + a.strokeStyle = m.color || g; + a.lineWidth = m.thickness || 2; + a.setLineDash && a.setLineDash(R(m.dashType, m.thickness)); + a.beginPath(); + w && 0 < m.thickness + ? (a.moveTo(c - s, b), + a.lineTo(c - s, e), + a.moveTo(d + s, b), + a.lineTo(d + s, e)) + : 0 < m.thickness && + (a.moveTo(d, b + s), + a.lineTo(c, b + s), + a.moveTo(d, e - s), + a.lineTo(c, e - s)); + a.stroke(); + a.restore(); + } + function I(a, d, b, c, e) { + if (null === a || "undefined" === typeof a) + return "undefined" === typeof b ? d : b; + a = + parseFloat(a.toString()) * + (0 <= a.toString().indexOf("%") ? d / 100 : 1); + "undefined" !== typeof c && + ((a = Math.min(c, a)), + "undefined" !== typeof e && (a = Math.max(e, a))); + return !isNaN(a) && a <= d && 0 <= a + ? a + : "undefined" === typeof b + ? d + : b; + } + function H(a, d) { + H.base.constructor.call(this, "Legend", "legend", d, null, a); + this.chart = a; + this.canvas = a.canvas; + this.ctx = this.chart.ctx; + this.ghostCtx = this.chart._eventManager.ghostCtx; + this.items = []; + this.optionsName = "legend"; + this.height = this.width = 0; + this.orientation = null; + this.dataSeries = []; + this.bounds = { x1: null, y1: null, x2: null, y2: null }; + "undefined" === typeof this.options.fontSize && + (this.fontSize = this.chart.getAutoFontSize(this.fontSize)); + this.lineHeight = Za(this.fontFamily, this.fontSize, this.fontWeight); + this.horizontalSpacing = this.fontSize; + } + function F(a, d, b, c) { + F.base.constructor.call(this, "DataSeries", "data", d, b, a); + this.chart = a; + this.canvas = a.canvas; + this._ctx = a.canvas.ctx; + this.index = b; + this.noDataPointsInPlotArea = 0; + this.id = c; + this.chart._eventManager.objectMap[c] = { + id: c, + objectType: "dataSeries", + dataSeriesIndex: b, + }; + a = d.dataPoints ? d.dataPoints.length : 0; + this.dataPointEOs = []; + for (d = 0; d < a; d++) this.dataPointEOs[d] = {}; + this.dataPointIds = []; + this.plotUnit = []; + this.axisY = this.axisX = null; + this.optionsName = "data"; + this.isOptionsInArray = !0; + null === this.fillOpacity && + (this.type.match(/area/i) + ? (this.fillOpacity = 0.7) + : (this.fillOpacity = 1)); + this.axisPlacement = this.getDefaultAxisPlacement(); + "undefined" === typeof this.options.indexLabelFontSize && + (this.indexLabelFontSize = this.chart.getAutoFontSize( + this.indexLabelFontSize + )); + } + function z(a, d, b, c, e, g) { + z.base.constructor.call(this, "Axis", d, b, c, a); + this.chart = a; + this.canvas = a.canvas; + this.ctx = a.ctx; + this.intervalStartPosition = this.maxHeight = this.maxWidth = 0; + this.labels = []; + this.dataSeries = []; + this._stripLineLabels = this._ticks = this._labels = null; + this.dataInfo = { + min: Infinity, + max: -Infinity, + viewPortMin: Infinity, + viewPortMax: -Infinity, + minDiff: Infinity, + }; + this.isOptionsInArray = !0; + "axisX" === e + ? ("left" === g || "bottom" === g + ? ((this.optionsName = "axisX"), + u(this.chart.sessionVariables.axisX[c]) && + (this.chart.sessionVariables.axisX[c] = {}), + (this.sessionVariables = this.chart.sessionVariables.axisX[c])) + : ((this.optionsName = "axisX2"), + u(this.chart.sessionVariables.axisX2[c]) && + (this.chart.sessionVariables.axisX2[c] = {}), + (this.sessionVariables = this.chart.sessionVariables.axisX2[c])), + this.options.interval || (this.intervalType = null)) + : "left" === g || "bottom" === g + ? ((this.optionsName = "axisY"), + u(this.chart.sessionVariables.axisY[c]) && + (this.chart.sessionVariables.axisY[c] = {}), + (this.sessionVariables = this.chart.sessionVariables.axisY[c])) + : ((this.optionsName = "axisY2"), + u(this.chart.sessionVariables.axisY2[c]) && + (this.chart.sessionVariables.axisY2[c] = {}), + (this.sessionVariables = this.chart.sessionVariables.axisY2[c])); + "undefined" === typeof this.options.titleFontSize && + (this.titleFontSize = this.chart.getAutoFontSize(this.titleFontSize)); + "undefined" === typeof this.options.labelFontSize && + (this.labelFontSize = this.chart.getAutoFontSize(this.labelFontSize)); + this.type = e; + "axisX" !== e || + (b && "undefined" !== typeof b.gridThickness) || + (this.gridThickness = 0); + this._position = g; + this.lineCoordinates = { + x1: null, + y1: null, + x2: null, + y2: null, + width: null, + }; + this.labelAngle = ((this.labelAngle % 360) + 360) % 360; + 90 < this.labelAngle && 270 > this.labelAngle + ? (this.labelAngle -= 180) + : 270 <= this.labelAngle && + 360 >= this.labelAngle && + (this.labelAngle -= 360); + this.options.scaleBreaks && + (this.scaleBreaks = new Q( + this.chart, + this.options.scaleBreaks, + ++this.chart._eventManager.lastObjectId, + this + )); + this.stripLines = []; + if (this.options.stripLines && 0 < this.options.stripLines.length) + for (a = 0; a < this.options.stripLines.length; a++) + this.stripLines.push( + new X( + this.chart, + this.options.stripLines[a], + a, + ++this.chart._eventManager.lastObjectId, + this + ) + ); + this.options.crosshair && + (this.crosshair = new fa(this.chart, this.options.crosshair, this)); + this._titleTextBlock = null; + this.hasOptionChanged("viewportMinimum") && + null === this.viewportMinimum && + ((this.options.viewportMinimum = void 0), + (this.sessionVariables.viewportMinimum = null)); + this.hasOptionChanged("viewportMinimum") || + isNaN(this.sessionVariables.newViewportMinimum) || + null === this.sessionVariables.newViewportMinimum + ? (this.sessionVariables.newViewportMinimum = null) + : (this.viewportMinimum = this.sessionVariables.newViewportMinimum); + this.hasOptionChanged("viewportMaximum") && + null === this.viewportMaximum && + ((this.options.viewportMaximum = void 0), + (this.sessionVariables.viewportMaximum = null)); + this.hasOptionChanged("viewportMaximum") || + isNaN(this.sessionVariables.newViewportMaximum) || + null === this.sessionVariables.newViewportMaximum + ? (this.sessionVariables.newViewportMaximum = null) + : (this.viewportMaximum = this.sessionVariables.newViewportMaximum); + null !== this.minimum && + null !== this.viewportMinimum && + (this.viewportMinimum = Math.max(this.viewportMinimum, this.minimum)); + null !== this.maximum && + null !== this.viewportMaximum && + (this.viewportMaximum = Math.min(this.viewportMaximum, this.maximum)); + this.trackChanges("viewportMinimum"); + this.trackChanges("viewportMaximum"); + } + function Q(a, d, b, c) { + Q.base.constructor.call(this, "ScaleBreaks", "scaleBreaks", d, null, c); + this.id = b; + this.chart = a; + this.ctx = this.chart.ctx; + this.axis = c; + this.optionsName = "scaleBreaks"; + this.isOptionsInArray = !1; + this._appliedBreaks = []; + this.customBreaks = []; + this.autoBreaks = []; + "string" === typeof this.spacing + ? ((this.spacing = parseFloat(this.spacing)), + (this.spacing = isNaN(this.spacing) + ? 8 + : (10 < this.spacing ? 10 : this.spacing) + "%")) + : "number" !== typeof this.spacing && (this.spacing = 8); + this.autoCalculate && + (this.maxNumberOfAutoBreaks = Math.min(this.maxNumberOfAutoBreaks, 5)); + if (this.options.customBreaks && 0 < this.options.customBreaks.length) { + for (a = 0; a < this.options.customBreaks.length; a++) + this.customBreaks.push( + new L( + this.chart, + "customBreaks", + this.options.customBreaks[a], + a, + ++this.chart._eventManager.lastObjectId, + this + ) + ), + "number" === typeof this.customBreaks[a].startValue && + "number" === typeof this.customBreaks[a].endValue && + this.customBreaks[a].endValue !== + this.customBreaks[a].startValue && + this._appliedBreaks.push(this.customBreaks[a]); + this._appliedBreaks.sort(function (a, c) { + return a.startValue - c.startValue; + }); + for (a = 0; a < this._appliedBreaks.length - 1; a++) + this._appliedBreaks[a].endValue >= + this._appliedBreaks[a + 1].startValue && + ((this._appliedBreaks[a].endValue = Math.max( + this._appliedBreaks[a].endValue, + this._appliedBreaks[a + 1].endValue + )), + window.console && + window.console.log( + "CanvasJS Error: Breaks " + + a + + " and " + + (a + 1) + + " are overlapping." + ), + this._appliedBreaks.splice(a, 2), + a--); + } + } + function L(a, d, b, c, e, g) { + L.base.constructor.call(this, "Break", d, b, c, g); + this.id = e; + this.chart = a; + this.ctx = this.chart.ctx; + this.scaleBreaks = g; + this.optionsName = d; + this.isOptionsInArray = !0; + this.type = b.type ? this.type : g.type; + this.fillOpacity = u(b.fillOpacity) ? g.fillOpacity : this.fillOpacity; + this.lineThickness = u(b.lineThickness) + ? g.lineThickness + : this.lineThickness; + this.color = b.color ? this.color : g.color; + this.lineColor = b.lineColor ? this.lineColor : g.lineColor; + this.lineDashType = b.lineDashType ? this.lineDashType : g.lineDashType; + !u(this.startValue) && + this.startValue.getTime && + (this.startValue = this.startValue.getTime()); + !u(this.endValue) && + this.endValue.getTime && + (this.endValue = this.endValue.getTime()); + "number" === typeof this.startValue && + "number" === typeof this.endValue && + this.endValue < this.startValue && + ((a = this.startValue), + (this.startValue = this.endValue), + (this.endValue = a)); + this.spacing = "undefined" === typeof b.spacing ? g.spacing : b.spacing; + "string" === typeof this.options.spacing + ? ((this.spacing = parseFloat(this.spacing)), + (this.spacing = isNaN(this.spacing) + ? 0 + : (10 < this.spacing ? 10 : this.spacing) + "%")) + : "number" !== typeof this.options.spacing && + (this.spacing = g.spacing); + this.size = g.parent.logarithmic ? 1 : 0; + } + function X(a, d, b, c, e) { + X.base.constructor.call(this, "StripLine", "stripLines", d, b, e); + this.id = c; + this.chart = a; + this.ctx = this.chart.ctx; + this.label = this.label; + this.axis = e; + this.optionsName = "stripLines"; + this.isOptionsInArray = !0; + this._thicknessType = "pixel"; + null !== this.startValue && + null !== this.endValue && + ((this.value = e.logarithmic + ? Math.sqrt( + (this.startValue.getTime + ? this.startValue.getTime() + : this.startValue) * + (this.endValue.getTime + ? this.endValue.getTime() + : this.endValue) + ) + : ((this.startValue.getTime + ? this.startValue.getTime() + : this.startValue) + + (this.endValue.getTime + ? this.endValue.getTime() + : this.endValue)) / + 2), + (this._thicknessType = null)); + } + function fa(a, d, b) { + fa.base.constructor.call(this, "Crosshair", "crosshair", d, null, b); + this.chart = a; + this.ctx = this.chart.ctx; + this.axis = b; + this.optionsName = "crosshair"; + this._thicknessType = "pixel"; + } + function $(a, d) { + $.base.constructor.call(this, "ToolTip", "toolTip", d, null, a); + this.chart = a; + this.canvas = a.canvas; + this.ctx = this.chart.ctx; + this.currentDataPointIndex = this.currentSeriesIndex = -1; + this._prevY = this._prevX = NaN; + this.containerTransitionDuration = 0.1; + this.mozContainerTransition = this.getContainerTransition( + this.containerTransitionDuration + ); + this.optionsName = "toolTip"; + this._initialize(); + } + function ha(a) { + this.chart = a; + this.lastObjectId = 0; + this.objectMap = []; + this.rectangularRegionEventSubscriptions = []; + this.previousDataPointEventObject = null; + this.ghostCanvas = ta(this.chart.width, this.chart.height); + this.ghostCtx = this.ghostCanvas.getContext("2d"); + this.mouseoveredObjectMaps = []; + } + function ga(a) { + this.chart = a; + this.ctx = this.chart.plotArea.ctx; + this.animations = []; + this.animationRequestId = null; + } + qa(p, V); + p.prototype.destroy = function () { + var a = this.allDOMEventHandlers; + this._animator && this._animator.cancelAllAnimations(); + this._panTimerId && clearTimeout(this._panTimerId); + for (var d = 0; d < a.length; d++) { + var b = a[d][0], + c = a[d][1], + e = a[d][2], + g = a[d][3], + g = g || !1; + b.removeEventListener + ? b.removeEventListener(c, e, g) + : b.detachEvent && b.detachEvent("on" + c, e); + } + this.allDOMEventHandlers = []; + for ( + this.removeAllEventListeners(); + this._canvasJSContainer && this._canvasJSContainer.hasChildNodes(); + + ) + this._canvasJSContainer.removeChild(this._canvasJSContainer.lastChild); + for (; this.container && this.container.hasChildNodes(); ) + this.container.removeChild(this.container.lastChild); + for (; this._dropdownMenu && this._dropdownMenu.hasChildNodes(); ) + this._dropdownMenu.removeChild(this._dropdownMenu.lastChild); + this.overlaidCanvas = + this.canvas = + this.container = + this._canvasJSContainer = + null; + this._toolBar = + this._dropdownMenu = + this._menuButton = + this._resetButton = + this._zoomButton = + this._breaksCanvas = + this._preRenderCanvas = + this.toolTip.container = + null; + }; + p.prototype._updateOptions = function () { + var a = this; + this.updateOption("width"); + this.updateOption("height"); + this.updateOption("dataPointWidth"); + this.updateOption("dataPointMinWidth"); + this.updateOption("dataPointMaxWidth"); + this.updateOption("interactivityEnabled"); + this.updateOption("theme"); + this.updateOption("colorSet") && + (this._selectedColorSet = + "undefined" !== typeof Ba[this.colorSet] + ? Ba[this.colorSet] + : Ba.colorSet1); + this.updateOption("backgroundColor"); + this.backgroundColor || (this.backgroundColor = "rgba(0,0,0,0)"); + this.updateOption("culture"); + this._cultureInfo = new La(this.options.culture); + this.updateOption("animationEnabled"); + this.animationEnabled = this.animationEnabled && r; + this.updateOption("animationDuration"); + this.updateOption("rangeChanging"); + this.updateOption("rangeChanged"); + this.updateOption("exportEnabled"); + this.updateOption("exportFileName"); + this.updateOption("zoomType"); + if (this.options.zoomEnabled) { + if (!this._zoomButton) { + var d = !1; + va((this._zoomButton = document.createElement("button"))); + ua(this, this._zoomButton, "pan"); + this._toolBar.appendChild(this._zoomButton); + this._zoomButton.style.borderRight = + this.toolbar.borderThickness + + "px solid " + + this.toolbar.borderColor; + O( + this._zoomButton, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ); + O( + this._zoomButton, + "click", + function () { + a.zoomEnabled + ? ((a.zoomEnabled = !1), + (a.panEnabled = !0), + ua(a, a._zoomButton, "zoom")) + : ((a.zoomEnabled = !0), + (a.panEnabled = !1), + ua(a, a._zoomButton, "pan")); + a.render(); + }, + this.allDOMEventHandlers + ); + O( + this._zoomButton, + "mouseover", + function () { + d + ? (d = !1) + : (sa(a, a._zoomButton, { + backgroundColor: a.toolbar.backgroundColorOnHover, + color: a.toolbar.fontColorOnHover, + transition: "0.4s", + WebkitTransition: "0.4s", + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._zoomButton.childNodes[0], { + WebkitFilter: "invert(100%)", + filter: "invert(100%)", + })); + }, + this.allDOMEventHandlers + ); + O( + this._zoomButton, + "mouseout", + function () { + d || + (sa(a, a._zoomButton, { + backgroundColor: a.toolbar.backgroundColor, + color: a.toolbar.fontColor, + transition: "0.4s", + WebkitTransition: "0.4s", + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._zoomButton.childNodes[0], { + WebkitFilter: "invert(0%)", + filter: "invert(0%)", + })); + }, + this.allDOMEventHandlers + ); + } + this._resetButton || + ((d = !1), + va((this._resetButton = document.createElement("button"))), + ua(this, this._resetButton, "reset"), + (this._resetButton.style.borderRight = + (this.exportEnabled ? this.toolbar.borderThickness : 0) + + "px solid " + + this.toolbar.borderColor), + this._toolBar.appendChild(this._resetButton), + O( + this._resetButton, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ), + O( + this._resetButton, + "click", + function () { + a.toolTip.hide(); + a.zoomEnabled || a.panEnabled + ? ((a.zoomEnabled = !0), + (a.panEnabled = !1), + ua(a, a._zoomButton, "pan"), + (a._defaultCursor = "default"), + (a.overlaidCanvas.style.cursor = a._defaultCursor)) + : ((a.zoomEnabled = !1), (a.panEnabled = !1)); + if (a.sessionVariables.axisX) + for (var c = 0; c < a.sessionVariables.axisX.length; c++) + (a.sessionVariables.axisX[c].newViewportMinimum = null), + (a.sessionVariables.axisX[c].newViewportMaximum = null); + if (a.sessionVariables.axisX2) + for (c = 0; c < a.sessionVariables.axisX2.length; c++) + (a.sessionVariables.axisX2[c].newViewportMinimum = null), + (a.sessionVariables.axisX2[c].newViewportMaximum = null); + if (a.sessionVariables.axisY) + for (c = 0; c < a.sessionVariables.axisY.length; c++) + (a.sessionVariables.axisY[c].newViewportMinimum = null), + (a.sessionVariables.axisY[c].newViewportMaximum = null); + if (a.sessionVariables.axisY2) + for (c = 0; c < a.sessionVariables.axisY2.length; c++) + (a.sessionVariables.axisY2[c].newViewportMinimum = null), + (a.sessionVariables.axisY2[c].newViewportMaximum = null); + a.resetOverlayedCanvas(); + va(a._zoomButton, a._resetButton); + a._dispatchRangeEvent("rangeChanging", "reset"); + a.render(); + a._dispatchRangeEvent("rangeChanged", "reset"); + a.syncCharts && a.syncCharts(null, null); + }, + this.allDOMEventHandlers + ), + O( + this._resetButton, + "mouseover", + function () { + d || + (sa(a, a._resetButton, { + backgroundColor: a.toolbar.backgroundColorOnHover, + color: a.toolbar.hoverFfontColorOnHoverontColor, + transition: "0.4s", + WebkitTransition: "0.4s", + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._resetButton.childNodes[0], { + WebkitFilter: "invert(100%)", + filter: "invert(100%)", + })); + }, + this.allDOMEventHandlers + ), + O( + this._resetButton, + "mouseout", + function () { + d || + (sa(a, a._resetButton, { + backgroundColor: a.toolbar.backgroundColor, + color: a.toolbar.fontColor, + transition: "0.4s", + WebkitTransition: "0.4s", + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._resetButton.childNodes[0], { + WebkitFilter: "invert(0%)", + filter: "invert(0%)", + })); + }, + this.allDOMEventHandlers + ), + (this.overlaidCanvas.style.cursor = a._defaultCursor)); + this.zoomEnabled || + this.panEnabled || + (this._zoomButton + ? (a._zoomButton.getAttribute("state") === a._cultureInfo.zoomText + ? ((this.panEnabled = !0), (this.zoomEnabled = !1)) + : ((this.zoomEnabled = !0), (this.panEnabled = !1)), + Qa(a._zoomButton, a._resetButton)) + : ((this.zoomEnabled = !0), (this.panEnabled = !1))); + } else this.panEnabled = this.zoomEnabled = !1; + this._menuButton + ? this.exportEnabled + ? Qa(this._menuButton) + : va(this._menuButton) + : this.exportEnabled && + r && + ((d = !1), + (this._menuButton = document.createElement("button")), + ua(this, this._menuButton, "menu"), + this._toolBar.appendChild(this._menuButton), + O( + this._menuButton, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ), + O( + this._menuButton, + "click", + function () { + "none" !== a._dropdownMenu.style.display || + (a._dropDownCloseTime && + 500 >= + new Date().getTime() - a._dropDownCloseTime.getTime()) || + ((a._dropdownMenu.style.display = "block"), + a._menuButton.blur(), + a._dropdownMenu.focus()); + }, + this.allDOMEventHandlers, + !0 + ), + O( + this._menuButton, + "mouseover", + function () { + d || + (sa(a, a._menuButton, { + backgroundColor: a.toolbar.backgroundColorOnHover, + color: a.toolbar.fontColorOnHover, + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._menuButton.childNodes[0], { + WebkitFilter: "invert(100%)", + filter: "invert(100%)", + })); + }, + this.allDOMEventHandlers, + !0 + ), + O( + this._menuButton, + "mouseout", + function () { + d || + (sa(a, a._menuButton, { + backgroundColor: a.toolbar.backgroundColor, + color: a.toolbar.fontColor, + }), + 0 >= navigator.userAgent.search("MSIE") && + sa(a, a._menuButton.childNodes[0], { + WebkitFilter: "invert(0%)", + filter: "invert(0%)", + })); + }, + this.allDOMEventHandlers, + !0 + )); + if (!this._dropdownMenu && this.exportEnabled && r) { + d = !1; + this._dropdownMenu = document.createElement("div"); + this._dropdownMenu.setAttribute("tabindex", -1); + var b = -1 !== this.theme.indexOf("dark") ? "black" : "#888888"; + this._dropdownMenu.style.cssText = + "position: absolute; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer;right: 0px;top: 25px;min-width: 120px;outline: 0;font-size: 14px; font-family: Arial, Helvetica, sans-serif;padding: 5px 0px 5px 0px;text-align: left;line-height: 10px;background-color:" + + this.toolbar.backgroundColor + + ";box-shadow: 2px 2px 10px " + + b; + a._dropdownMenu.style.display = "none"; + this._toolBar.appendChild(this._dropdownMenu); + O( + this._dropdownMenu, + "blur", + function () { + va(a._dropdownMenu); + a._dropDownCloseTime = new Date(); + }, + this.allDOMEventHandlers, + !0 + ); + b = document.createElement("div"); + b.style.cssText = "padding: 12px 8px 12px 8px"; + b.innerHTML = this._cultureInfo.printText; + b.style.backgroundColor = this.toolbar.backgroundColor; + b.style.color = this.toolbar.fontColor; + this._dropdownMenu.appendChild(b); + O( + b, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ); + O( + b, + "mouseover", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColorOnHover), + (this.style.color = a.toolbar.fontColorOnHover)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "mouseout", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColor), + (this.style.color = a.toolbar.fontColor)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "click", + function () { + a.print(); + va(a._dropdownMenu); + }, + this.allDOMEventHandlers, + !0 + ); + b = document.createElement("div"); + b.style.cssText = "padding: 12px 8px 12px 8px"; + b.innerHTML = this._cultureInfo.saveJPGText; + b.style.backgroundColor = this.toolbar.backgroundColor; + b.style.color = this.toolbar.fontColor; + this._dropdownMenu.appendChild(b); + O( + b, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ); + O( + b, + "mouseover", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColorOnHover), + (this.style.color = a.toolbar.fontColorOnHover)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "mouseout", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColor), + (this.style.color = a.toolbar.fontColor)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "click", + function () { + Ta(a.canvas, "jpeg", a.exportFileName); + va(a._dropdownMenu); + }, + this.allDOMEventHandlers, + !0 + ); + b = document.createElement("div"); + b.style.cssText = "padding: 12px 8px 12px 8px"; + b.innerHTML = this._cultureInfo.savePNGText; + b.style.backgroundColor = this.toolbar.backgroundColor; + b.style.color = this.toolbar.fontColor; + this._dropdownMenu.appendChild(b); + O( + b, + "touchstart", + function (a) { + d = !0; + }, + this.allDOMEventHandlers + ); + O( + b, + "mouseover", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColorOnHover), + (this.style.color = a.toolbar.fontColorOnHover)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "mouseout", + function () { + d || + ((this.style.backgroundColor = a.toolbar.backgroundColor), + (this.style.color = a.toolbar.fontColor)); + }, + this.allDOMEventHandlers, + !0 + ); + O( + b, + "click", + function () { + Ta(a.canvas, "png", a.exportFileName); + va(a._dropdownMenu); + }, + this.allDOMEventHandlers, + !0 + ); + } + "none" !== this._toolBar.style.display && + this._zoomButton && + (this.panEnabled + ? ua(a, a._zoomButton, "zoom") + : ua(a, a._zoomButton, "pan"), + a._resetButton.getAttribute("state") !== a._cultureInfo.resetText && + ua(a, a._resetButton, "reset")); + this.options.toolTip && + this.toolTip.options !== this.options.toolTip && + (this.toolTip.options = this.options.toolTip); + for (var c in this.toolTip.options) + this.toolTip.options.hasOwnProperty(c) && this.toolTip.updateOption(c); + }; + p.prototype._updateSize = function () { + var a; + a = [ + this.canvas, + this._preRenderCanvas, + this.overlaidCanvas, + this._eventManager.ghostCanvas, + ]; + var d = 0, + b = 0; + this.options.width + ? (d = this.width) + : (this.width = d = + 0 < this.container.clientWidth + ? this.container.clientWidth + : this.width); + this.options.height + ? (b = this.height) + : (this.height = b = + 0 < this.container.clientHeight + ? this.container.clientHeight + : this.height); + if (this.canvas.width !== d * W || this.canvas.height !== b * W) { + for (var c = 0; c < a.length; c++) Oa(a[c], d, b); + a = !0; + } else a = !1; + return a; + }; + p.prototype._initialize = function () { + this.isNavigator = + u(this.parent) || + u(this.parent._defaultsKey) || + "Navigator" !== this.parent._defaultsKey + ? !1 + : !0; + this.toolbar = new Va(this, this.options.toolbar); + this._animator + ? this._animator.cancelAllAnimations() + : (this._animator = new ga(this)); + this.removeAllEventListeners(); + this.disableToolTip = !1; + this._axes = []; + this.funnelPyramidClickHandler = this.pieDoughnutClickHandler = null; + this._updateOptions(); + this.animatedRender = + r && this.animationEnabled && 0 === this.renderCount; + this._updateSize(); + this.clearCanvas(); + this.ctx.beginPath(); + this.axisX = []; + this.axisX2 = []; + this.axisY = []; + this.axisY2 = []; + this._indexLabels = []; + this._dataInRenderedOrder = []; + this._events = []; + this._eventManager && this._eventManager.reset(); + this.plotInfo = { axisPlacement: null, plotTypes: [] }; + this.layoutManager = new Ga( + 0, + 0, + this.width, + this.height, + this.isNavigator ? 0 : 2 + ); + this.plotArea.layoutManager && this.plotArea.layoutManager.reset(); + this.data = []; + var a = 0, + d = null; + if (this.options.data) { + for (var b = 0; b < this.options.data.length; b++) + if ( + (a++, + !this.options.data[b].type || + 0 <= p._supportedChartTypes.indexOf(this.options.data[b].type)) + ) { + var c = new F( + this, + this.options.data[b], + a - 1, + ++this._eventManager.lastObjectId + ); + "error" === c.type && + ((c.linkedDataSeriesIndex = u( + this.options.data[b].linkedDataSeriesIndex + ) + ? b - 1 + : this.options.data[b].linkedDataSeriesIndex), + 0 > c.linkedDataSeriesIndex || + c.linkedDataSeriesIndex >= this.options.data.length || + "number" !== typeof c.linkedDataSeriesIndex || + "error" === this.options.data[c.linkedDataSeriesIndex].type) && + (c.linkedDataSeriesIndex = null); + null === c.name && (c.name = "DataSeries " + a); + null === c.color + ? 1 < this.options.data.length + ? ((c._colorSet = [ + this._selectedColorSet[ + c.index % this._selectedColorSet.length + ], + ]), + (c.color = + this._selectedColorSet[ + c.index % this._selectedColorSet.length + ])) + : (c._colorSet = + "line" === c.type || + "stepLine" === c.type || + "spline" === c.type || + "area" === c.type || + "stepArea" === c.type || + "splineArea" === c.type || + "stackedArea" === c.type || + "stackedArea100" === c.type || + "rangeArea" === c.type || + "rangeSplineArea" === c.type || + "candlestick" === c.type || + "ohlc" === c.type || + "waterfall" === c.type || + "boxAndWhisker" === c.type + ? [this._selectedColorSet[0]] + : this._selectedColorSet) + : (c._colorSet = [c.color]); + null === c.markerSize && + ((("line" === c.type || + "stepLine" === c.type || + "spline" === c.type || + 0 <= c.type.toLowerCase().indexOf("area")) && + c.dataPoints && + c.dataPoints.length < this.width / 16) || + "scatter" === c.type) && + (c.markerSize = 8); + ("bubble" !== c.type && "scatter" !== c.type) || + !c.dataPoints || + (c.dataPoints.some + ? c.dataPoints.some(function (a) { + return a.x; + }) && c.dataPoints.sort(k) + : c.dataPoints.sort(k)); + this.data.push(c); + var e = c.axisPlacement, + d = d || e, + g; + "normal" === e + ? "xySwapped" === this.plotInfo.axisPlacement + ? (g = 'You cannot combine "' + c.type + '" with bar chart') + : "none" === this.plotInfo.axisPlacement + ? (g = 'You cannot combine "' + c.type + '" with pie chart') + : null === this.plotInfo.axisPlacement && + (this.plotInfo.axisPlacement = "normal") + : "xySwapped" === e + ? "normal" === this.plotInfo.axisPlacement + ? (g = + 'You cannot combine "' + + c.type + + '" with line, area, column or pie chart') + : "none" === this.plotInfo.axisPlacement + ? (g = 'You cannot combine "' + c.type + '" with pie chart') + : null === this.plotInfo.axisPlacement && + (this.plotInfo.axisPlacement = "xySwapped") + : "none" === e + ? "normal" === this.plotInfo.axisPlacement + ? (g = + 'You cannot combine "' + + c.type + + '" with line, area, column or bar chart') + : "xySwapped" === this.plotInfo.axisPlacement + ? (g = 'You cannot combine "' + c.type + '" with bar chart') + : null === this.plotInfo.axisPlacement && + (this.plotInfo.axisPlacement = "none") + : null === e && + "none" === this.plotInfo.axisPlacement && + (g = 'You cannot combine "' + c.type + '" with pie chart'); + if (g && window.console) { + window.console.log(g); + return; + } + } + for (b = 0; b < this.data.length; b++) { + if ("none" == d && "error" === this.data[b].type && window.console) { + window.console.log( + 'You cannot combine "' + c.type + '" with error chart' + ); + return; + } + "error" === this.data[b].type && + ((this.data[b].axisPlacement = this.plotInfo.axisPlacement = + d || "normal"), + (this.data[b]._linkedSeries = + null === this.data[b].linkedDataSeriesIndex + ? null + : this.data[this.data[b].linkedDataSeriesIndex])); + } + } + this._objectsInitialized = !0; + this._plotAreaElements = []; + }; + p._supportedChartTypes = Fa( + "line stepLine spline column area stepArea splineArea bar bubble scatter stackedColumn stackedColumn100 stackedBar stackedBar100 stackedArea stackedArea100 candlestick ohlc boxAndWhisker rangeColumn error rangeBar rangeArea rangeSplineArea pie doughnut funnel pyramid waterfall".split( + " " + ) + ); + p.prototype.setLayout = function () { + for (var a = this._plotAreaElements, d = 0; d < this.data.length; d++) + if ( + "normal" === this.plotInfo.axisPlacement || + "xySwapped" === this.plotInfo.axisPlacement + ) { + if (!this.data[d].axisYType || "primary" === this.data[d].axisYType) + if (this.options.axisY && 0 < this.options.axisY.length) { + if (!this.axisY.length) + for (var b = 0; b < this.options.axisY.length; b++) + "normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisY[b] = new z( + this, + "axisY", + this.options.axisY[b], + b, + "axisY", + "left" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisY[b] = new z( + this, + "axisY", + this.options.axisY[b], + b, + "axisY", + "bottom" + )) + ); + this.data[d].axisY = + this.axisY[ + 0 <= this.data[d].axisYIndex && + this.data[d].axisYIndex < this.axisY.length + ? this.data[d].axisYIndex + : 0 + ]; + this.axisY[ + 0 <= this.data[d].axisYIndex && + this.data[d].axisYIndex < this.axisY.length + ? this.data[d].axisYIndex + : 0 + ].dataSeries.push(this.data[d]); + } else + this.axisY.length || + ("normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisY[0] = new z( + this, + "axisY", + this.options.axisY, + 0, + "axisY", + "left" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisY[0] = new z( + this, + "axisY", + this.options.axisY, + 0, + "axisY", + "bottom" + )) + )), + (this.data[d].axisY = this.axisY[0]), + this.axisY[0].dataSeries.push(this.data[d]); + if ("secondary" === this.data[d].axisYType) + if (this.options.axisY2 && 0 < this.options.axisY2.length) { + if (!this.axisY2.length) + for (b = 0; b < this.options.axisY2.length; b++) + "normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisY2[b] = new z( + this, + "axisY2", + this.options.axisY2[b], + b, + "axisY", + "right" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisY2[b] = new z( + this, + "axisY2", + this.options.axisY2[b], + b, + "axisY", + "top" + )) + ); + this.data[d].axisY = + this.axisY2[ + 0 <= this.data[d].axisYIndex && + this.data[d].axisYIndex < this.axisY2.length + ? this.data[d].axisYIndex + : 0 + ]; + this.axisY2[ + 0 <= this.data[d].axisYIndex && + this.data[d].axisYIndex < this.axisY2.length + ? this.data[d].axisYIndex + : 0 + ].dataSeries.push(this.data[d]); + } else + this.axisY2.length || + ("normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisY2[0] = new z( + this, + "axisY2", + this.options.axisY2, + 0, + "axisY", + "right" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisY2[0] = new z( + this, + "axisY2", + this.options.axisY2, + 0, + "axisY", + "top" + )) + )), + (this.data[d].axisY = this.axisY2[0]), + this.axisY2[0].dataSeries.push(this.data[d]); + if (!this.data[d].axisXType || "primary" === this.data[d].axisXType) + if (this.options.axisX && 0 < this.options.axisX.length) { + if (!this.axisX.length) + for (b = 0; b < this.options.axisX.length; b++) + "normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisX[b] = new z( + this, + "axisX", + this.options.axisX[b], + b, + "axisX", + "bottom" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisX[b] = new z( + this, + "axisX", + this.options.axisX[b], + b, + "axisX", + "left" + )) + ); + this.data[d].axisX = + this.axisX[ + 0 <= this.data[d].axisXIndex && + this.data[d].axisXIndex < this.axisX.length + ? this.data[d].axisXIndex + : 0 + ]; + this.axisX[ + 0 <= this.data[d].axisXIndex && + this.data[d].axisXIndex < this.axisX.length + ? this.data[d].axisXIndex + : 0 + ].dataSeries.push(this.data[d]); + } else + this.axisX.length || + ("normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisX[0] = new z( + this, + "axisX", + this.options.axisX, + 0, + "axisX", + "bottom" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisX[0] = new z( + this, + "axisX", + this.options.axisX, + 0, + "axisX", + "left" + )) + )), + (this.data[d].axisX = this.axisX[0]), + this.axisX[0].dataSeries.push(this.data[d]); + if ("secondary" === this.data[d].axisXType) + if (this.options.axisX2 && 0 < this.options.axisX2.length) { + if (!this.axisX2.length) + for (b = 0; b < this.options.axisX2.length; b++) + "normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisX2[b] = new z( + this, + "axisX2", + this.options.axisX2[b], + b, + "axisX", + "top" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisX2[b] = new z( + this, + "axisX2", + this.options.axisX2[b], + b, + "axisX", + "right" + )) + ); + this.data[d].axisX = + this.axisX2[ + 0 <= this.data[d].axisXIndex && + this.data[d].axisXIndex < this.axisX2.length + ? this.data[d].axisXIndex + : 0 + ]; + this.axisX2[ + 0 <= this.data[d].axisXIndex && + this.data[d].axisXIndex < this.axisX2.length + ? this.data[d].axisXIndex + : 0 + ].dataSeries.push(this.data[d]); + } else + this.axisX2.length || + ("normal" === this.plotInfo.axisPlacement + ? this._axes.push( + (this.axisX2[0] = new z( + this, + "axisX2", + this.options.axisX2, + 0, + "axisX", + "top" + )) + ) + : "xySwapped" === this.plotInfo.axisPlacement && + this._axes.push( + (this.axisX2[0] = new z( + this, + "axisX2", + this.options.axisX2, + 0, + "axisX", + "right" + )) + )), + (this.data[d].axisX = this.axisX2[0]), + this.axisX2[0].dataSeries.push(this.data[d]); + } + if (this.axisY) { + for (b = 1; b < this.axisY.length; b++) + "undefined" === typeof this.axisY[b].options.gridThickness && + (this.axisY[b].gridThickness = 0); + for (b = 0; b < this.axisY.length - 1; b++) + "undefined" === typeof this.axisY[b].options.margin && + (this.axisY[b].margin = 10); + } + if (this.axisY2) { + for (b = 1; b < this.axisY2.length; b++) + "undefined" === typeof this.axisY2[b].options.gridThickness && + (this.axisY2[b].gridThickness = 0); + for (b = 0; b < this.axisY2.length - 1; b++) + "undefined" === typeof this.axisY2[b].options.margin && + (this.axisY2[b].margin = 10); + } + this.axisY && + 0 < this.axisY.length && + this.axisY2 && + 0 < this.axisY2.length && + (0 < this.axisY[0].gridThickness && + "undefined" === typeof this.axisY2[0].options.gridThickness + ? (this.axisY2[0].gridThickness = 0) + : 0 < this.axisY2[0].gridThickness && + "undefined" === typeof this.axisY[0].options.gridThickness && + (this.axisY[0].gridThickness = 0)); + if (this.axisX) + for (b = 0; b < this.axisX.length; b++) + "undefined" === typeof this.axisX[b].options.gridThickness && + (this.axisX[b].gridThickness = 0); + if (this.axisX2) + for (b = 0; b < this.axisX2.length; b++) + "undefined" === typeof this.axisX2[b].options.gridThickness && + (this.axisX2[b].gridThickness = 0); + this.axisX && + 0 < this.axisX.length && + this.axisX2 && + 0 < this.axisX2.length && + (0 < this.axisX[0].gridThickness && + "undefined" === typeof this.axisX2[0].options.gridThickness + ? (this.axisX2[0].gridThickness = 0) + : 0 < this.axisX2[0].gridThickness && + "undefined" === typeof this.axisX[0].options.gridThickness && + (this.axisX[0].gridThickness = 0)); + b = !1; + if (0 < this._axes.length && (this.zoomEnabled || this.panEnabled)) + for (d = 0; d < this._axes.length; d++) + if ( + null !== this._axes[d].viewportMinimum || + null !== this._axes[d].viewportMaximum + ) { + b = !0; + break; + } + b + ? (Qa(this._zoomButton, this._resetButton), + (this._toolBar.style.border = + this.toolbar.borderThickness + + "px solid " + + this.toolbar.borderColor), + (this._zoomButton.style.borderRight = + this.toolbar.borderThickness + + "px solid " + + this.toolbar.borderColor), + (this._resetButton.style.borderRight = + (this.exportEnabled ? this.toolbar.borderThickness : 0) + + "px solid " + + this.toolbar.borderColor)) + : (va(this._zoomButton, this._resetButton), + (this._toolBar.style.border = + this.toolbar.borderThickness + "px solid transparent"), + this.options.zoomEnabled && + ((this.zoomEnabled = !0), (this.panEnabled = !1))); + gb(this); + this._processData(); + this.options.title && + ((this.title = new Aa(this, this.options.title)), + this.title.dockInsidePlotArea + ? a.push(this.title) + : this.title.setLayout()); + this.subtitles = []; + if (this.options.subtitles) + for (d = 0; d < this.options.subtitles.length; d++) + (b = new Ka(this, this.options.subtitles[d], d)), + this.subtitles.push(b), + b.dockInsidePlotArea ? a.push(b) : b.setLayout(); + this.legend = new H(this, this.options.legend); + for (d = 0; d < this.data.length; d++) + (this.data[d].showInLegend || + "pie" === this.data[d].type || + "doughnut" === this.data[d].type || + "funnel" === this.data[d].type || + "pyramid" === this.data[d].type) && + this.legend.dataSeries.push(this.data[d]); + this.legend.dockInsidePlotArea + ? a.push(this.legend) + : this.legend.setLayout(); + for (d = 0; d < this._axes.length; d++) + if ( + this._axes[d].scaleBreaks && + this._axes[d].scaleBreaks._appliedBreaks.length + ) { + r + ? ((this._breaksCanvas = ta(this.width, this.height, !0)), + (this._breaksCanvasCtx = this._breaksCanvas.getContext("2d"))) + : ((this._breaksCanvas = this.canvas), + (this._breaksCanvasCtx = this.ctx)); + break; + } + this._preRenderCanvas = u(this._preRenderCanvas) + ? ta(this.width, this.height) + : this._preRenderCanvas; + this._preRenderCtx = this._preRenderCanvas.getContext("2d"); + ("normal" !== this.plotInfo.axisPlacement && + "xySwapped" !== this.plotInfo.axisPlacement) || + z.setLayout( + this.axisX, + this.axisX2, + this.axisY, + this.axisY2, + this.plotInfo.axisPlacement, + this.layoutManager.getFreeSpace() + ); + }; + p.prototype.renderElements = function () { + var a = this._plotAreaElements; + this.title && !this.title.dockInsidePlotArea && this.title.render(); + for (var d = 0; d < this.subtitles.length; d++) + this.subtitles[d].dockInsidePlotArea || this.subtitles[d].render(); + this.legend.dockInsidePlotArea || this.legend.render(); + if ( + "normal" === this.plotInfo.axisPlacement || + "xySwapped" === this.plotInfo.axisPlacement + ) + z.render( + this.axisX, + this.axisX2, + this.axisY, + this.axisY2, + this.plotInfo.axisPlacement + ); + else if ("none" === this.plotInfo.axisPlacement) this.preparePlotArea(); + else return; + for (d = 0; d < a.length; d++) a[d].setLayout(), a[d].render(); + var b = []; + if (this.animatedRender) { + var c = ta(this.width, this.height); + c.getContext("2d").drawImage( + this.canvas, + 0, + 0, + this.width, + this.height + ); + } + hb(this); + var a = this.ctx.miterLimit, + e; + this.ctx.miterLimit = 3; + r && + this._breaksCanvas && + (this._preRenderCtx.drawImage( + this.canvas, + 0, + 0, + this.width, + this.height + ), + this._preRenderCtx.drawImage( + this._breaksCanvas, + 0, + 0, + this.width, + this.height + ), + (this._breaksCanvasCtx.globalCompositeOperation = "source-atop"), + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + this._preRenderCtx.clearRect(0, 0, this.width, this.height)); + for (d = 0; d < this.plotInfo.plotTypes.length; d++) + for ( + var g = this.plotInfo.plotTypes[d], m = 0; + m < g.plotUnits.length; + m++ + ) { + var l = g.plotUnits[m], + w = null; + l.targetCanvas = null; + this.animatedRender && + ((l.targetCanvas = ta(this.width, this.height)), + (l.targetCanvasCtx = l.targetCanvas.getContext("2d")), + (e = l.targetCanvasCtx.miterLimit), + (l.targetCanvasCtx.miterLimit = 3)); + "line" === l.type + ? (w = this.renderLine(l)) + : "stepLine" === l.type + ? (w = this.renderStepLine(l)) + : "spline" === l.type + ? (w = this.renderSpline(l)) + : "column" === l.type + ? (w = this.renderColumn(l)) + : "bar" === l.type + ? (w = this.renderBar(l)) + : "area" === l.type + ? (w = this.renderArea(l)) + : "stepArea" === l.type + ? (w = this.renderStepArea(l)) + : "splineArea" === l.type + ? (w = this.renderSplineArea(l)) + : "stackedColumn" === l.type + ? (w = this.renderStackedColumn(l)) + : "stackedColumn100" === l.type + ? (w = this.renderStackedColumn100(l)) + : "stackedBar" === l.type + ? (w = this.renderStackedBar(l)) + : "stackedBar100" === l.type + ? (w = this.renderStackedBar100(l)) + : "stackedArea" === l.type + ? (w = this.renderStackedArea(l)) + : "stackedArea100" === l.type + ? (w = this.renderStackedArea100(l)) + : "bubble" === l.type + ? (w = w = this.renderBubble(l)) + : "scatter" === l.type + ? (w = this.renderScatter(l)) + : "pie" === l.type + ? this.renderPie(l) + : "doughnut" === l.type + ? this.renderPie(l) + : "funnel" === l.type + ? (w = this.renderFunnel(l)) + : "pyramid" === l.type + ? (w = this.renderFunnel(l)) + : "candlestick" === l.type + ? (w = this.renderCandlestick(l)) + : "ohlc" === l.type + ? (w = this.renderCandlestick(l)) + : "rangeColumn" === l.type + ? (w = this.renderRangeColumn(l)) + : "error" === l.type + ? (w = this.renderError(l)) + : "rangeBar" === l.type + ? (w = this.renderRangeBar(l)) + : "rangeArea" === l.type + ? (w = this.renderRangeArea(l)) + : "rangeSplineArea" === l.type + ? (w = this.renderRangeSplineArea(l)) + : "waterfall" === l.type + ? (w = this.renderWaterfall(l)) + : "boxAndWhisker" === l.type && (w = this.renderBoxAndWhisker(l)); + for (var h = 0; h < l.dataSeriesIndexes.length; h++) + this._dataInRenderedOrder.push(this.data[l.dataSeriesIndexes[h]]); + this.animatedRender && + ((l.targetCanvasCtx.miterLimit = e), w && b.push(w)); + } + this.ctx.miterLimit = a; + this.animatedRender && + this._breaksCanvasCtx && + b.push({ + source: this._breaksCanvasCtx, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + startTimePercent: 0.7, + }); + this.animatedRender && + 0 < this._indexLabels.length && + ((e = ta(this.width, this.height).getContext("2d")), + b.push(this.renderIndexLabels(e))); + var s = this; + if (0 < b.length) + (s.disableToolTip = !0), + s._animator.animate( + 200, + s.animationDuration, + function (a) { + s.ctx.clearRect(0, 0, s.width, s.height); + s.ctx.drawImage( + c, + 0, + 0, + Math.floor(s.width * W), + Math.floor(s.height * W), + 0, + 0, + s.width, + s.height + ); + for (var e = 0; e < b.length; e++) + (w = b[e]), + 1 > a && "undefined" !== typeof w.startTimePercent + ? a >= w.startTimePercent && + w.animationCallback( + w.easingFunction( + a - w.startTimePercent, + 0, + 1, + 1 - w.startTimePercent + ), + w + ) + : w.animationCallback(w.easingFunction(a, 0, 1, 1), w); + s.dispatchEvent("dataAnimationIterationEnd", { chart: s }); + }, + function () { + b = []; + for (var a = 0; a < s.plotInfo.plotTypes.length; a++) + for ( + var e = s.plotInfo.plotTypes[a], d = 0; + d < e.plotUnits.length; + d++ + ) + e.plotUnits[d].targetCanvas = null; + c = null; + s.disableToolTip = !1; + } + ); + else { + if (s._breaksCanvas) + if (r) + s.plotArea.ctx.drawImage( + s._breaksCanvas, + 0, + 0, + this.width, + this.height + ); + else for (h = 0; h < s._axes.length; h++) s._axes[h].createMask(); + 0 < s._indexLabels.length && s.renderIndexLabels(); + s.dispatchEvent("dataAnimationIterationEnd", { chart: s }); + } + this.attachPlotAreaEventHandlers(); + this.zoomEnabled || + this.panEnabled || + !this._zoomButton || + "none" === this._zoomButton.style.display || + va(this._zoomButton, this._resetButton); + this.toolTip._updateToolTip(); + this.renderCount++; + Ja && + ((s = this), + setTimeout(function () { + var a = document.getElementById("ghostCanvasCopy"); + a && + (Oa(a, s.width, s.height), + a.getContext("2d").drawImage(s._eventManager.ghostCanvas, 0, 0)); + }, 2e3)); + this._breaksCanvas && + (delete this._breaksCanvas, delete this._breaksCanvasCtx); + for (h = 0; h < this._axes.length; h++) + this._axes[h].maskCanvas && + (delete this._axes[h].maskCanvas, delete this._axes[h].maskCtx); + }; + p.prototype.render = function (a) { + a && (this.options = a); + this._initialize(); + this.setLayout(); + this.renderElements(); + }; + p.prototype.attachPlotAreaEventHandlers = function () { + this.attachEvent({ + context: this, + chart: this, + mousedown: this._plotAreaMouseDown, + mouseup: this._plotAreaMouseUp, + mousemove: this._plotAreaMouseMove, + cursor: this.panEnabled ? "move" : "default", + capture: !0, + bounds: this.plotArea, + }); + }; + p.prototype.categoriseDataSeries = function () { + for (var a = "", d = 0; d < this.data.length; d++) + if ( + ((a = this.data[d]), + a.dataPoints && + 0 !== a.dataPoints.length && + a.visible && + 0 <= p._supportedChartTypes.indexOf(a.type)) + ) { + for ( + var b = null, c = !1, e = null, g = !1, m = 0; + m < this.plotInfo.plotTypes.length; + m++ + ) + if (this.plotInfo.plotTypes[m].type === a.type) { + c = !0; + b = this.plotInfo.plotTypes[m]; + break; + } + c || + ((b = { type: a.type, totalDataSeries: 0, plotUnits: [] }), + this.plotInfo.plotTypes.push(b)); + for (m = 0; m < b.plotUnits.length; m++) + if ( + b.plotUnits[m].axisYType === a.axisYType && + b.plotUnits[m].axisXType === a.axisXType && + b.plotUnits[m].axisYIndex === a.axisYIndex && + b.plotUnits[m].axisXIndex === a.axisXIndex + ) { + g = !0; + e = b.plotUnits[m]; + break; + } + g || + ((e = { + type: a.type, + previousDataSeriesCount: 0, + index: b.plotUnits.length, + plotType: b, + axisXType: a.axisXType, + axisYType: a.axisYType, + axisYIndex: a.axisYIndex, + axisXIndex: a.axisXIndex, + axisY: + "primary" === a.axisYType + ? this.axisY[ + 0 <= a.axisYIndex && a.axisYIndex < this.axisY.length + ? a.axisYIndex + : 0 + ] + : this.axisY2[ + 0 <= a.axisYIndex && a.axisYIndex < this.axisY2.length + ? a.axisYIndex + : 0 + ], + axisX: + "primary" === a.axisXType + ? this.axisX[ + 0 <= a.axisXIndex && a.axisXIndex < this.axisX.length + ? a.axisXIndex + : 0 + ] + : this.axisX2[ + 0 <= a.axisXIndex && a.axisXIndex < this.axisX2.length + ? a.axisXIndex + : 0 + ], + dataSeriesIndexes: [], + yTotals: [], + }), + b.plotUnits.push(e)); + b.totalDataSeries++; + e.dataSeriesIndexes.push(d); + a.plotUnit = e; + } + for (d = 0; d < this.plotInfo.plotTypes.length; d++) + for ( + b = this.plotInfo.plotTypes[d], m = a = 0; + m < b.plotUnits.length; + m++ + ) + (b.plotUnits[m].previousDataSeriesCount = a), + (a += b.plotUnits[m].dataSeriesIndexes.length); + }; + p.prototype.assignIdToDataPoints = function () { + for (var a = 0; a < this.data.length; a++) { + var d = this.data[a]; + if (d.dataPoints) + for (var b = d.dataPoints.length, c = 0; c < b; c++) + d.dataPointIds[c] = ++this._eventManager.lastObjectId; + } + }; + p.prototype._processData = function () { + this.assignIdToDataPoints(); + this.categoriseDataSeries(); + for (var a = 0; a < this.plotInfo.plotTypes.length; a++) + for ( + var d = this.plotInfo.plotTypes[a], b = 0; + b < d.plotUnits.length; + b++ + ) { + var c = d.plotUnits[b]; + "line" === c.type || + "stepLine" === c.type || + "spline" === c.type || + "column" === c.type || + "area" === c.type || + "stepArea" === c.type || + "splineArea" === c.type || + "bar" === c.type || + "bubble" === c.type || + "scatter" === c.type + ? this._processMultiseriesPlotUnit(c) + : "stackedColumn" === c.type || + "stackedBar" === c.type || + "stackedArea" === c.type + ? this._processStackedPlotUnit(c) + : "stackedColumn100" === c.type || + "stackedBar100" === c.type || + "stackedArea100" === c.type + ? this._processStacked100PlotUnit(c) + : "candlestick" === c.type || + "ohlc" === c.type || + "rangeColumn" === c.type || + "rangeBar" === c.type || + "rangeArea" === c.type || + "rangeSplineArea" === c.type || + "error" === c.type || + "boxAndWhisker" === c.type + ? this._processMultiYPlotUnit(c) + : "waterfall" === c.type && this._processSpecificPlotUnit(c); + } + this.calculateAutoBreaks(); + }; + p.prototype._processMultiseriesPlotUnit = function (a) { + if (a.dataSeriesIndexes && !(1 > a.dataSeriesIndexes.length)) + for ( + var d = a.axisY.dataInfo, b = a.axisX.dataInfo, c, e, g = !1, m = 0; + m < a.dataSeriesIndexes.length; + m++ + ) { + var l = this.data[a.dataSeriesIndexes[m]], + w = 0, + h = !1, + s = !1, + q; + if ("normal" === l.axisPlacement || "xySwapped" === l.axisPlacement) + var n = a.axisX.sessionVariables.newViewportMinimum + ? a.axisX.sessionVariables.newViewportMinimum + : this.options.axisX && this.options.axisX.viewportMinimum + ? this.options.axisX.viewportMinimum + : this.options.axisX && this.options.axisX.minimum + ? this.options.axisX.minimum + : a.axisX.logarithmic + ? 0 + : -Infinity, + f = a.axisX.sessionVariables.newViewportMaximum + ? a.axisX.sessionVariables.newViewportMaximum + : this.options.axisX && this.options.axisX.viewportMaximum + ? this.options.axisX.viewportMaximum + : this.options.axisX && this.options.axisX.maximum + ? this.options.axisX.maximum + : Infinity; + if ( + (l.dataPoints[w].x && l.dataPoints[w].x.getTime) || + "dateTime" === l.xValueType + ) + g = !0; + for (w = 0; w < l.dataPoints.length; w++) { + "undefined" === typeof l.dataPoints[w].x && + (l.dataPoints[w].x = w + (a.axisX.logarithmic ? 1 : 0)); + l.dataPoints[w].x.getTime + ? ((g = !0), (c = l.dataPoints[w].x.getTime())) + : (c = l.dataPoints[w].x); + e = l.dataPoints[w].y; + c < b.min && (b.min = c); + c > b.max && (b.max = c); + e < d.min && "number" === typeof e && (d.min = e); + e > d.max && "number" === typeof e && (d.max = e); + if (0 < w) { + if (a.axisX.logarithmic) { + var B = c / l.dataPoints[w - 1].x; + 1 > B && (B = 1 / B); + b.minDiff > B && 1 !== B && (b.minDiff = B); + } else + (B = c - l.dataPoints[w - 1].x), + 0 > B && (B *= -1), + b.minDiff > B && 0 !== B && (b.minDiff = B); + null !== e && + null !== l.dataPoints[w - 1].y && + (a.axisY.logarithmic + ? ((B = e / l.dataPoints[w - 1].y), + 1 > B && (B = 1 / B), + d.minDiff > B && 1 !== B && (d.minDiff = B)) + : ((B = e - l.dataPoints[w - 1].y), + 0 > B && (B *= -1), + d.minDiff > B && 0 !== B && (d.minDiff = B))); + } + if (c < n && !h) null !== e && (q = c); + else { + if (!h && ((h = !0), 0 < w)) { + w -= 2; + continue; + } + if (c > f && !s) s = !0; + else if (c > f && s) continue; + l.dataPoints[w].label && + (a.axisX.labels[c] = l.dataPoints[w].label); + c < b.viewPortMin && (b.viewPortMin = c); + c > b.viewPortMax && (b.viewPortMax = c); + null === e + ? b.viewPortMin === c && q < c && (b.viewPortMin = q) + : (e < d.viewPortMin && + "number" === typeof e && + (d.viewPortMin = e), + e > d.viewPortMax && + "number" === typeof e && + (d.viewPortMax = e)); + } + } + l.axisX.valueType = l.xValueType = g ? "dateTime" : "number"; + } + }; + p.prototype._processStackedPlotUnit = function (a) { + if (a.dataSeriesIndexes && !(1 > a.dataSeriesIndexes.length)) { + for ( + var d = a.axisY.dataInfo, + b = a.axisX.dataInfo, + c, + e, + g = !1, + m = [], + l = [], + w = Infinity, + h = -Infinity, + s = 0; + s < a.dataSeriesIndexes.length; + s++ + ) { + var q = this.data[a.dataSeriesIndexes[s]], + n = 0, + f = !1, + B = !1, + k; + if ("normal" === q.axisPlacement || "xySwapped" === q.axisPlacement) + var p = a.axisX.sessionVariables.newViewportMinimum + ? a.axisX.sessionVariables.newViewportMinimum + : this.options.axisX && this.options.axisX.viewportMinimum + ? this.options.axisX.viewportMinimum + : this.options.axisX && this.options.axisX.minimum + ? this.options.axisX.minimum + : -Infinity, + t = a.axisX.sessionVariables.newViewportMaximum + ? a.axisX.sessionVariables.newViewportMaximum + : this.options.axisX && this.options.axisX.viewportMaximum + ? this.options.axisX.viewportMaximum + : this.options.axisX && this.options.axisX.maximum + ? this.options.axisX.maximum + : Infinity; + if ( + (q.dataPoints[n].x && q.dataPoints[n].x.getTime) || + "dateTime" === q.xValueType + ) + g = !0; + for (n = 0; n < q.dataPoints.length; n++) { + "undefined" === typeof q.dataPoints[n].x && + (q.dataPoints[n].x = n + (a.axisX.logarithmic ? 1 : 0)); + q.dataPoints[n].x.getTime + ? ((g = !0), (c = q.dataPoints[n].x.getTime())) + : (c = q.dataPoints[n].x); + e = u(q.dataPoints[n].y) ? 0 : q.dataPoints[n].y; + c < b.min && (b.min = c); + c > b.max && (b.max = c); + if (0 < n) { + if (a.axisX.logarithmic) { + var r = c / q.dataPoints[n - 1].x; + 1 > r && (r = 1 / r); + b.minDiff > r && 1 !== r && (b.minDiff = r); + } else + (r = c - q.dataPoints[n - 1].x), + 0 > r && (r *= -1), + b.minDiff > r && 0 !== r && (b.minDiff = r); + null !== e && + null !== q.dataPoints[n - 1].y && + (a.axisY.logarithmic + ? 0 < e && + ((r = e / q.dataPoints[n - 1].y), + 1 > r && (r = 1 / r), + d.minDiff > r && 1 !== r && (d.minDiff = r)) + : ((r = e - q.dataPoints[n - 1].y), + 0 > r && (r *= -1), + d.minDiff > r && 0 !== r && (d.minDiff = r))); + } + if (c < p && !f) null !== q.dataPoints[n].y && (k = c); + else { + if (!f && ((f = !0), 0 < n)) { + n -= 2; + continue; + } + if (c > t && !B) B = !0; + else if (c > t && B) continue; + q.dataPoints[n].label && + (a.axisX.labels[c] = q.dataPoints[n].label); + c < b.viewPortMin && (b.viewPortMin = c); + c > b.viewPortMax && (b.viewPortMax = c); + null === q.dataPoints[n].y + ? b.viewPortMin === c && k < c && (b.viewPortMin = k) + : ((a.yTotals[c] = (a.yTotals[c] ? a.yTotals[c] : 0) + e), + 0 <= e + ? m[c] + ? (m[c] += e) + : ((m[c] = e), (w = Math.min(e, w))) + : l[c] + ? (l[c] += e) + : ((l[c] = e), (h = Math.max(e, h)))); + } + } + a.axisY.scaleBreaks && + a.axisY.scaleBreaks.autoCalculate && + 1 <= a.axisY.scaleBreaks.maxNumberOfAutoBreaks && + (d.dataPointYPositiveSums + ? (d.dataPointYPositiveSums.push.apply( + d.dataPointYPositiveSums, + m + ), + d.dataPointYNegativeSums.push.apply( + d.dataPointYPositiveSums, + l + )) + : ((d.dataPointYPositiveSums = m), + (d.dataPointYNegativeSums = l))); + q.axisX.valueType = q.xValueType = g ? "dateTime" : "number"; + } + for (n in m) + m.hasOwnProperty(n) && + !isNaN(n) && + ((a = m[n]), + a < d.min && (d.min = Math.min(a, w)), + a > d.max && (d.max = a), + n < b.viewPortMin || + n > b.viewPortMax || + (a < d.viewPortMin && (d.viewPortMin = Math.min(a, w)), + a > d.viewPortMax && (d.viewPortMax = a))); + for (n in l) + l.hasOwnProperty(n) && + !isNaN(n) && + ((a = l[n]), + a < d.min && (d.min = a), + a > d.max && (d.max = Math.max(a, h)), + n < b.viewPortMin || + n > b.viewPortMax || + (a < d.viewPortMin && (d.viewPortMin = a), + a > d.viewPortMax && (d.viewPortMax = Math.max(a, h)))); + } + }; + p.prototype._processStacked100PlotUnit = function (a) { + if (a.dataSeriesIndexes && !(1 > a.dataSeriesIndexes.length)) { + for ( + var d = a.axisY.dataInfo, + b = a.axisX.dataInfo, + c, + e, + g = !1, + m = !1, + l = !1, + w = [], + h = 0; + h < a.dataSeriesIndexes.length; + h++ + ) { + var s = this.data[a.dataSeriesIndexes[h]], + q = 0, + n = !1, + f = !1, + B; + if ("normal" === s.axisPlacement || "xySwapped" === s.axisPlacement) + var k = a.axisX.sessionVariables.newViewportMinimum + ? a.axisX.sessionVariables.newViewportMinimum + : this.options.axisX && this.options.axisX.viewportMinimum + ? this.options.axisX.viewportMinimum + : this.options.axisX && this.options.axisX.minimum + ? this.options.axisX.minimum + : -Infinity, + r = a.axisX.sessionVariables.newViewportMaximum + ? a.axisX.sessionVariables.newViewportMaximum + : this.options.axisX && this.options.axisX.viewportMaximum + ? this.options.axisX.viewportMaximum + : this.options.axisX && this.options.axisX.maximum + ? this.options.axisX.maximum + : Infinity; + if ( + (s.dataPoints[q].x && s.dataPoints[q].x.getTime) || + "dateTime" === s.xValueType + ) + g = !0; + for (q = 0; q < s.dataPoints.length; q++) { + "undefined" === typeof s.dataPoints[q].x && + (s.dataPoints[q].x = q + (a.axisX.logarithmic ? 1 : 0)); + s.dataPoints[q].x.getTime + ? ((g = !0), (c = s.dataPoints[q].x.getTime())) + : (c = s.dataPoints[q].x); + e = u(s.dataPoints[q].y) ? null : s.dataPoints[q].y; + c < b.min && (b.min = c); + c > b.max && (b.max = c); + if (0 < q) { + if (a.axisX.logarithmic) { + var t = c / s.dataPoints[q - 1].x; + 1 > t && (t = 1 / t); + b.minDiff > t && 1 !== t && (b.minDiff = t); + } else + (t = c - s.dataPoints[q - 1].x), + 0 > t && (t *= -1), + b.minDiff > t && 0 !== t && (b.minDiff = t); + u(e) || + null === s.dataPoints[q - 1].y || + (a.axisY.logarithmic + ? 0 < e && + ((t = e / s.dataPoints[q - 1].y), + 1 > t && (t = 1 / t), + d.minDiff > t && 1 !== t && (d.minDiff = t)) + : ((t = e - s.dataPoints[q - 1].y), + 0 > t && (t *= -1), + d.minDiff > t && 0 !== t && (d.minDiff = t))); + } + if (c < k && !n) null !== e && (B = c); + else { + if (!n && ((n = !0), 0 < q)) { + q -= 2; + continue; + } + if (c > r && !f) f = !0; + else if (c > r && f) continue; + s.dataPoints[q].label && + (a.axisX.labels[c] = s.dataPoints[q].label); + c < b.viewPortMin && (b.viewPortMin = c); + c > b.viewPortMax && (b.viewPortMax = c); + null === e + ? b.viewPortMin === c && B < c && (b.viewPortMin = B) + : ((a.yTotals[c] = (a.yTotals[c] ? a.yTotals[c] : 0) + e), + 0 <= e ? (m = !0) : 0 > e && (l = !0), + (w[c] = w[c] ? w[c] + Math.abs(e) : Math.abs(e))); + } + } + s.axisX.valueType = s.xValueType = g ? "dateTime" : "number"; + } + a.axisY.logarithmic + ? ((d.max = u(d.viewPortMax) + ? 99 * Math.pow(a.axisY.logarithmBase, -0.05) + : Math.max( + d.viewPortMax, + 99 * Math.pow(a.axisY.logarithmBase, -0.05) + )), + (d.min = u(d.viewPortMin) ? 1 : Math.min(d.viewPortMin, 1))) + : m && !l + ? ((d.max = u(d.viewPortMax) ? 99 : Math.max(d.viewPortMax, 99)), + (d.min = u(d.viewPortMin) ? 1 : Math.min(d.viewPortMin, 1))) + : m && l + ? ((d.max = u(d.viewPortMax) ? 99 : Math.max(d.viewPortMax, 99)), + (d.min = u(d.viewPortMin) ? -99 : Math.min(d.viewPortMin, -99))) + : !m && + l && + ((d.max = u(d.viewPortMax) ? -1 : Math.max(d.viewPortMax, -1)), + (d.min = u(d.viewPortMin) ? -99 : Math.min(d.viewPortMin, -99))); + d.viewPortMin = d.min; + d.viewPortMax = d.max; + a.dataPointYSums = w; + } + }; + p.prototype._processMultiYPlotUnit = function (a) { + if (a.dataSeriesIndexes && !(1 > a.dataSeriesIndexes.length)) + for ( + var d = a.axisY.dataInfo, + b = a.axisX.dataInfo, + c, + e, + g, + m, + l = !1, + w = 0; + w < a.dataSeriesIndexes.length; + w++ + ) { + var h = this.data[a.dataSeriesIndexes[w]], + s = 0, + q = !1, + n = !1, + f, + B, + k; + if ("normal" === h.axisPlacement || "xySwapped" === h.axisPlacement) + var r = a.axisX.sessionVariables.newViewportMinimum + ? a.axisX.sessionVariables.newViewportMinimum + : this.options.axisX && this.options.axisX.viewportMinimum + ? this.options.axisX.viewportMinimum + : this.options.axisX && this.options.axisX.minimum + ? this.options.axisX.minimum + : a.axisX.logarithmic + ? 0 + : -Infinity, + t = a.axisX.sessionVariables.newViewportMaximum + ? a.axisX.sessionVariables.newViewportMaximum + : this.options.axisX && this.options.axisX.viewportMaximum + ? this.options.axisX.viewportMaximum + : this.options.axisX && this.options.axisX.maximum + ? this.options.axisX.maximum + : Infinity; + if ( + (h.dataPoints[s].x && h.dataPoints[s].x.getTime) || + "dateTime" === h.xValueType + ) + l = !0; + for (s = 0; s < h.dataPoints.length; s++) { + "undefined" === typeof h.dataPoints[s].x && + (h.dataPoints[s].x = s + (a.axisX.logarithmic ? 1 : 0)); + h.dataPoints[s].x.getTime + ? ((l = !0), (c = h.dataPoints[s].x.getTime())) + : (c = h.dataPoints[s].x); + if ((e = h.dataPoints[s].y) && e.length) { + g = Math.min.apply(null, e); + m = Math.max.apply(null, e); + B = !0; + for (var p = 0; p < e.length; p++) null === e.k && (B = !1); + B && (q || (k = f), (f = c)); + } + c < b.min && (b.min = c); + c > b.max && (b.max = c); + g < d.min && (d.min = g); + m > d.max && (d.max = m); + 0 < s && + (a.axisX.logarithmic + ? ((B = c / h.dataPoints[s - 1].x), + 1 > B && (B = 1 / B), + b.minDiff > B && 1 !== B && (b.minDiff = B)) + : ((B = c - h.dataPoints[s - 1].x), + 0 > B && (B *= -1), + b.minDiff > B && 0 !== B && (b.minDiff = B)), + e && + null !== e[0] && + h.dataPoints[s - 1].y && + null !== h.dataPoints[s - 1].y[0] && + (a.axisY.logarithmic + ? ((B = e[0] / h.dataPoints[s - 1].y[0]), + 1 > B && (B = 1 / B), + d.minDiff > B && 1 !== B && (d.minDiff = B)) + : ((B = e[0] - h.dataPoints[s - 1].y[0]), + 0 > B && (B *= -1), + d.minDiff > B && 0 !== B && (d.minDiff = B)))); + if (!(c < r) || q) { + if (!q && ((q = !0), 0 < s)) { + s -= 2; + f = k; + continue; + } + if (c > t && !n) n = !0; + else if (c > t && n) continue; + h.dataPoints[s].label && + (a.axisX.labels[c] = h.dataPoints[s].label); + c < b.viewPortMin && (b.viewPortMin = c); + c > b.viewPortMax && (b.viewPortMax = c); + if (b.viewPortMin === c && e) + for (p = 0; p < e.length; p++) + if (null === e[p] && f < c) { + b.viewPortMin = f; + break; + } + null === e + ? b.viewPortMin === c && f < c && (b.viewPortMin = f) + : (g < d.viewPortMin && (d.viewPortMin = g), + m > d.viewPortMax && (d.viewPortMax = m)); + } + } + h.axisX.valueType = h.xValueType = l ? "dateTime" : "number"; + } + }; + p.prototype._processSpecificPlotUnit = function (a) { + if ( + "waterfall" === a.type && + a.dataSeriesIndexes && + !(1 > a.dataSeriesIndexes.length) + ) + for ( + var d = a.axisY.dataInfo, b = a.axisX.dataInfo, c, e, g = !1, m = 0; + m < a.dataSeriesIndexes.length; + m++ + ) { + var l = this.data[a.dataSeriesIndexes[m]], + w = 0, + h = !1, + s = !1, + q = (c = 0); + if ("normal" === l.axisPlacement || "xySwapped" === l.axisPlacement) + var n = a.axisX.sessionVariables.newViewportMinimum + ? a.axisX.sessionVariables.newViewportMinimum + : this.options.axisX && this.options.axisX.viewportMinimum + ? this.options.axisX.viewportMinimum + : this.options.axisX && this.options.axisX.minimum + ? this.options.axisX.minimum + : a.axisX.logarithmic + ? 0 + : -Infinity, + f = a.axisX.sessionVariables.newViewportMaximum + ? a.axisX.sessionVariables.newViewportMaximum + : this.options.axisX && this.options.axisX.viewportMaximum + ? this.options.axisX.viewportMaximum + : this.options.axisX && this.options.axisX.maximum + ? this.options.axisX.maximum + : Infinity; + if ( + (l.dataPoints[w].x && l.dataPoints[w].x.getTime) || + "dateTime" === l.xValueType + ) + g = !0; + for (w = 0; w < l.dataPoints.length; w++) + "undefined" !== typeof l.dataPoints[w].isCumulativeSum && + !0 === l.dataPoints[w].isCumulativeSum + ? ((l.dataPointEOs[w].cumulativeSumYStartValue = 0), + (l.dataPointEOs[w].cumulativeSum = + 0 === w ? 0 : l.dataPointEOs[w - 1].cumulativeSum), + (l.dataPoints[w].y = + 0 === w ? 0 : l.dataPointEOs[w - 1].cumulativeSum)) + : "undefined" !== typeof l.dataPoints[w].isIntermediateSum && + !0 === l.dataPoints[w].isIntermediateSum + ? ((l.dataPointEOs[w].cumulativeSumYStartValue = q), + (l.dataPointEOs[w].cumulativeSum = + 0 === w ? 0 : l.dataPointEOs[w - 1].cumulativeSum), + (l.dataPoints[w].y = 0 === w ? 0 : c), + (q = 0 === w ? 0 : l.dataPointEOs[w - 1].cumulativeSum), + (c = 0)) + : ((e = + "number" !== typeof l.dataPoints[w].y + ? 0 + : l.dataPoints[w].y), + (l.dataPointEOs[w].cumulativeSumYStartValue = + 0 === w ? 0 : l.dataPointEOs[w - 1].cumulativeSum), + (l.dataPointEOs[w].cumulativeSum = + 0 === w ? e : l.dataPointEOs[w - 1].cumulativeSum + e), + (c += e)); + for (w = 0; w < l.dataPoints.length; w++) + if ( + ("undefined" === typeof l.dataPoints[w].x && + (l.dataPoints[w].x = w + (a.axisX.logarithmic ? 1 : 0)), + l.dataPoints[w].x.getTime + ? ((g = !0), (c = l.dataPoints[w].x.getTime())) + : (c = l.dataPoints[w].x), + (e = l.dataPoints[w].y), + c < b.min && (b.min = c), + c > b.max && (b.max = c), + l.dataPointEOs[w].cumulativeSum < d.min && + (d.min = l.dataPointEOs[w].cumulativeSum), + l.dataPointEOs[w].cumulativeSum > d.max && + (d.max = l.dataPointEOs[w].cumulativeSum), + 0 < w && + (a.axisX.logarithmic + ? ((q = c / l.dataPoints[w - 1].x), + 1 > q && (q = 1 / q), + b.minDiff > q && 1 !== q && (b.minDiff = q)) + : ((q = c - l.dataPoints[w - 1].x), + 0 > q && (q *= -1), + b.minDiff > q && 0 !== q && (b.minDiff = q)), + null !== e && + null !== l.dataPoints[w - 1].y && + (a.axisY.logarithmic + ? ((e = + l.dataPointEOs[w].cumulativeSum / + l.dataPointEOs[w - 1].cumulativeSum), + 1 > e && (e = 1 / e), + d.minDiff > e && 1 !== e && (d.minDiff = e)) + : ((e = + l.dataPointEOs[w].cumulativeSum - + l.dataPointEOs[w - 1].cumulativeSum), + 0 > e && (e *= -1), + d.minDiff > e && 0 !== e && (d.minDiff = e)))), + !(c < n) || h) + ) { + if (!h && ((h = !0), 0 < w)) { + w -= 2; + continue; + } + if (c > f && !s) s = !0; + else if (c > f && s) continue; + l.dataPoints[w].label && + (a.axisX.labels[c] = l.dataPoints[w].label); + c < b.viewPortMin && (b.viewPortMin = c); + c > b.viewPortMax && (b.viewPortMax = c); + 0 < w && + (l.dataPointEOs[w - 1].cumulativeSum < d.viewPortMin && + (d.viewPortMin = l.dataPointEOs[w - 1].cumulativeSum), + l.dataPointEOs[w - 1].cumulativeSum > d.viewPortMax && + (d.viewPortMax = l.dataPointEOs[w - 1].cumulativeSum)); + l.dataPointEOs[w].cumulativeSum < d.viewPortMin && + (d.viewPortMin = l.dataPointEOs[w].cumulativeSum); + l.dataPointEOs[w].cumulativeSum > d.viewPortMax && + (d.viewPortMax = l.dataPointEOs[w].cumulativeSum); + } + l.axisX.valueType = l.xValueType = g ? "dateTime" : "number"; + } + }; + p.prototype.calculateAutoBreaks = function () { + function a(a, c, b, e) { + if (e) + return ( + (b = Math.pow(Math.min((b * a) / c, c / a), 0.2)), + 1 >= b && (b = Math.pow(1 > a ? 1 / a : Math.min(c / a, a), 0.25)), + { startValue: a * b, endValue: c / b } + ); + b = 0.2 * Math.min(b - c + a, c - a); + 0 >= b && (b = 0.25 * Math.min(c - a, Math.abs(a))); + return { startValue: a + b, endValue: c - b }; + } + function d(a) { + if (a.dataSeriesIndexes && !(1 > a.dataSeriesIndexes.length)) { + var c = + a.axisX.scaleBreaks && + a.axisX.scaleBreaks.autoCalculate && + 1 <= a.axisX.scaleBreaks.maxNumberOfAutoBreaks, + b = + a.axisY.scaleBreaks && + a.axisY.scaleBreaks.autoCalculate && + 1 <= a.axisY.scaleBreaks.maxNumberOfAutoBreaks; + if (c || b) + for ( + var d = a.axisY.dataInfo, + f = a.axisX.dataInfo, + g, + h = f.min, + l = f.max, + m = d.min, + n = d.max, + f = f._dataRanges, + d = d._dataRanges, + q, + w = 0, + s = 0; + s < a.dataSeriesIndexes.length; + s++ + ) { + var k = e.data[a.dataSeriesIndexes[s]]; + if (!(4 > k.dataPoints.length)) + for (w = 0; w < k.dataPoints.length; w++) + if ( + (c && + ((q = + ((l + 1 - h) * + Math.max( + parseFloat( + a.axisX.scaleBreaks.collapsibleThreshold + ) || 10, + 10 + )) / + 100), + (g = k.dataPoints[w].x.getTime + ? k.dataPoints[w].x.getTime() + : k.dataPoints[w].x), + (q = Math.floor((g - h) / q)), + g < f[q].min && (f[q].min = g), + g > f[q].max && (f[q].max = g)), + b) + ) { + var r = + ((n + 1 - m) * + Math.max( + parseFloat( + a.axisY.scaleBreaks.collapsibleThreshold + ) || 10, + 10 + )) / + 100; + if ( + (g = + "waterfall" === a.type + ? k.dataPointEOs[w].cumulativeSum + : k.dataPoints[w].y) && + g.length + ) + for (var p = 0; p < g.length; p++) + (q = Math.floor((g[p] - m) / r)), + g[p] < d[q].min && (d[q].min = g[p]), + g[p] > d[q].max && (d[q].max = g[p]); + else + u(g) || + ((q = Math.floor((g - m) / r)), + g < d[q].min && (d[q].min = g), + g > d[q].max && (d[q].max = g)); + } + } + } + } + function b(a) { + if ( + a.dataSeriesIndexes && + !(1 > a.dataSeriesIndexes.length) && + a.axisX.scaleBreaks && + a.axisX.scaleBreaks.autoCalculate && + 1 <= a.axisX.scaleBreaks.maxNumberOfAutoBreaks + ) + for ( + var c = a.axisX.dataInfo, + b = c.min, + d = c.max, + f = c._dataRanges, + g, + h = 0, + l = 0; + l < a.dataSeriesIndexes.length; + l++ + ) { + var m = e.data[a.dataSeriesIndexes[l]]; + if (!(4 > m.dataPoints.length)) + for (h = 0; h < m.dataPoints.length; h++) + (g = + ((d + 1 - b) * + Math.max( + parseFloat(a.axisX.scaleBreaks.collapsibleThreshold) || + 10, + 10 + )) / + 100), + (c = m.dataPoints[h].x.getTime + ? m.dataPoints[h].x.getTime() + : m.dataPoints[h].x), + (g = Math.floor((c - b) / g)), + c < f[g].min && (f[g].min = c), + c > f[g].max && (f[g].max = c); + } + } + for (var c, e = this, g = !1, m = 0; m < this._axes.length; m++) + if ( + this._axes[m].scaleBreaks && + this._axes[m].scaleBreaks.autoCalculate && + 1 <= this._axes[m].scaleBreaks.maxNumberOfAutoBreaks + ) { + g = !0; + this._axes[m].dataInfo._dataRanges = []; + for ( + var l = 0; + l < + 100 / + Math.max( + parseFloat(this._axes[m].scaleBreaks.collapsibleThreshold) || + 10, + 10 + ); + l++ + ) + this._axes[m].dataInfo._dataRanges.push({ + min: Infinity, + max: -Infinity, + }); + } + if (g) { + for (m = 0; m < this.plotInfo.plotTypes.length; m++) + for ( + g = this.plotInfo.plotTypes[m], l = 0; + l < g.plotUnits.length; + l++ + ) + (c = g.plotUnits[l]), + "line" === c.type || + "stepLine" === c.type || + "spline" === c.type || + "column" === c.type || + "area" === c.type || + "stepArea" === c.type || + "splineArea" === c.type || + "bar" === c.type || + "bubble" === c.type || + "scatter" === c.type || + "candlestick" === c.type || + "ohlc" === c.type || + "rangeColumn" === c.type || + "rangeBar" === c.type || + "rangeArea" === c.type || + "rangeSplineArea" === c.type || + "waterfall" === c.type || + "error" === c.type || + "boxAndWhisker" === c.type + ? d(c) + : 0 <= c.type.indexOf("stacked") && b(c); + for (m = 0; m < this._axes.length; m++) + if (this._axes[m].dataInfo._dataRanges) { + var w = this._axes[m].dataInfo.min; + c = + ((this._axes[m].dataInfo.max + 1 - w) * + Math.max( + parseFloat(this._axes[m].scaleBreaks.collapsibleThreshold) || + 10, + 10 + )) / + 100; + var h = this._axes[m].dataInfo._dataRanges, + s, + q, + g = []; + if (this._axes[m].dataInfo.dataPointYPositiveSums) { + var n = this._axes[m].dataInfo.dataPointYPositiveSums; + s = h; + for (l in n) + if (n.hasOwnProperty(l) && !isNaN(l) && ((q = n[l]), !u(q))) { + var f = Math.floor((q - w) / c); + q < s[f].min && (s[f].min = q); + q > s[f].max && (s[f].max = q); + } + delete this._axes[m].dataInfo.dataPointYPositiveSums; + } + if (this._axes[m].dataInfo.dataPointYNegativeSums) { + n = this._axes[m].dataInfo.dataPointYNegativeSums; + s = h; + for (l in n) + n.hasOwnProperty(l) && + !isNaN(l) && + ((q = -1 * n[l]), + u(q) || + ((f = Math.floor((q - w) / c)), + q < s[f].min && (s[f].min = q), + q > s[f].max && (s[f].max = q))); + delete this._axes[m].dataInfo.dataPointYNegativeSums; + } + for (l = 0; l < h.length - 1; l++) + if (((s = h[l].max), isFinite(s))) + for (; l < h.length - 1; ) + if (((w = h[l + 1].min), isFinite(w))) { + q = w - s; + q > c && g.push({ diff: q, start: s, end: w }); + break; + } else l++; + if (this._axes[m].scaleBreaks.customBreaks) + for ( + l = 0; + l < this._axes[m].scaleBreaks.customBreaks.length; + l++ + ) + for (c = 0; c < g.length; c++) + if ( + (this._axes[m].scaleBreaks.customBreaks[l].startValue <= + g[c].start && + g[c].start <= + this._axes[m].scaleBreaks.customBreaks[l].endValue) || + (this._axes[m].scaleBreaks.customBreaks[l].startValue <= + g[c].start && + g[c].start <= + this._axes[m].scaleBreaks.customBreaks[l].endValue) || + (g[c].start <= + this._axes[m].scaleBreaks.customBreaks[l].startValue && + this._axes[m].scaleBreaks.customBreaks[l].startValue <= + g[c].end) || + (g[c].start <= + this._axes[m].scaleBreaks.customBreaks[l].endValue && + this._axes[m].scaleBreaks.customBreaks[l].endValue <= + g[c].end) + ) + g.splice(c, 1), c--; + g.sort(function (a, c) { + return c.diff - a.diff; + }); + for ( + l = 0; + l < + Math.min( + g.length, + this._axes[m].scaleBreaks.maxNumberOfAutoBreaks + ); + l++ + ) + (c = a( + g[l].start, + g[l].end, + this._axes[m].logarithmic + ? this._axes[m].dataInfo.max / this._axes[m].dataInfo.min + : this._axes[m].dataInfo.max - this._axes[m].dataInfo.min, + this._axes[m].logarithmic + )), + this._axes[m].scaleBreaks.autoBreaks.push( + new L( + this, + "autoBreaks", + c, + l, + ++this._eventManager.lastObjectId, + this._axes[m].scaleBreaks + ) + ), + this._axes[m].scaleBreaks._appliedBreaks.push( + this._axes[m].scaleBreaks.autoBreaks[ + this._axes[m].scaleBreaks.autoBreaks.length - 1 + ] + ); + this._axes[m].scaleBreaks._appliedBreaks.sort(function (a, c) { + return a.startValue - c.startValue; + }); + } + } + }; + p.prototype.getDataPointAtXY = function (a, d, b) { + b = b || !1; + for (var c = [], e = this._dataInRenderedOrder.length - 1; 0 <= e; e--) { + var g = null; + (g = this._dataInRenderedOrder[e].getDataPointAtXY(a, d, b)) && + c.push(g); + } + a = null; + d = !1; + for (b = 0; b < c.length; b++) + if ( + "line" === c[b].dataSeries.type || + "stepLine" === c[b].dataSeries.type || + "area" === c[b].dataSeries.type || + "stepArea" === c[b].dataSeries.type + ) + if ( + ((e = na("markerSize", c[b].dataPoint, c[b].dataSeries) || 8), + c[b].distance <= e / 2) + ) { + d = !0; + break; + } + for (b = 0; b < c.length; b++) + (d && + "line" !== c[b].dataSeries.type && + "stepLine" !== c[b].dataSeries.type && + "area" !== c[b].dataSeries.type && + "stepArea" !== c[b].dataSeries.type) || + (a ? c[b].distance <= a.distance && (a = c[b]) : (a = c[b])); + return a; + }; + p.prototype.getObjectAtXY = function (a, d, b) { + var c = null; + if ((b = this.getDataPointAtXY(a, d, b || !1))) + c = b.dataSeries.dataPointIds[b.dataPointIndex]; + else if (r) c = ab(a, d, this._eventManager.ghostCtx); + else + for (b = 0; b < this.legend.items.length; b++) { + var e = this.legend.items[b]; + a >= e.x1 && a <= e.x2 && d >= e.y1 && d <= e.y2 && (c = e.id); + } + return c; + }; + p.prototype.getAutoFontSize = lb; + p.prototype.resetOverlayedCanvas = function () { + this.overlaidCanvasCtx.clearRect(0, 0, this.width, this.height); + }; + p.prototype.clearCanvas = kb; + p.prototype.attachEvent = function (a) { + this._events.push(a); + }; + p.prototype._touchEventHandler = function (a) { + if (a.changedTouches && this.interactivityEnabled) { + var d = [], + b = a.changedTouches, + c = b ? b[0] : a, + e = null; + switch (a.type) { + case "touchstart": + case "MSPointerDown": + d = ["mousemove", "mousedown"]; + this._lastTouchData = Ra(c); + this._lastTouchData.time = new Date(); + break; + case "touchmove": + case "MSPointerMove": + d = ["mousemove"]; + break; + case "touchend": + case "MSPointerUp": + var g = + this._lastTouchData && this._lastTouchData.time + ? new Date() - this._lastTouchData.time + : 0, + d = + "touchstart" === this._lastTouchEventType || + "MSPointerDown" === this._lastTouchEventType || + 300 > g + ? ["mouseup", "click"] + : ["mouseup"]; + break; + default: + return; + } + if (!(b && 1 < b.length)) { + e = Ra(c); + e.time = new Date(); + try { + var m = e.y - this._lastTouchData.y, + g = e.time - this._lastTouchData.time; + if ( + (1 < Math.abs(m) && this._lastTouchData.scroll) || + (5 < Math.abs(m) && 250 > g) + ) + this._lastTouchData.scroll = !0; + } catch (l) {} + this._lastTouchEventType = a.type; + if (this._lastTouchData.scroll && this.zoomEnabled) + this.isDrag && this.resetOverlayedCanvas(), (this.isDrag = !1); + else + for (b = 0; b < d.length; b++) + if ( + ((e = d[b]), + (m = document.createEvent("MouseEvent")), + m.initMouseEvent( + e, + !0, + !0, + window, + 1, + c.screenX, + c.screenY, + c.clientX, + c.clientY, + !1, + !1, + !1, + !1, + 0, + null + ), + c.target.dispatchEvent(m), + (!u(this._lastTouchData.scroll) && + !this._lastTouchData.scroll) || + (!this._lastTouchData.scroll && 250 < g) || + "click" === e) + ) + a.preventManipulation && a.preventManipulation(), + a.preventDefault && a.preventDefault(); + } + } + }; + p.prototype._dispatchRangeEvent = function (a, d) { + var b = { chart: this }; + b.type = a; + b.trigger = d; + var c = []; + this.axisX && 0 < this.axisX.length && c.push("axisX"); + this.axisX2 && 0 < this.axisX2.length && c.push("axisX2"); + this.axisY && 0 < this.axisY.length && c.push("axisY"); + this.axisY2 && 0 < this.axisY2.length && c.push("axisY2"); + for (var e = 0; e < c.length; e++) + if ((u(b[c[e]]) && (b[c[e]] = []), "axisY" === c[e])) + for (var g = 0; g < this.axisY.length; g++) + b[c[e]].push({ + viewportMinimum: + this[c[e]][g].sessionVariables.newViewportMinimum, + viewportMaximum: + this[c[e]][g].sessionVariables.newViewportMaximum, + }); + else if ("axisY2" === c[e]) + for (g = 0; g < this.axisY2.length; g++) + b[c[e]].push({ + viewportMinimum: + this[c[e]][g].sessionVariables.newViewportMinimum, + viewportMaximum: + this[c[e]][g].sessionVariables.newViewportMaximum, + }); + else if ("axisX" === c[e]) + for (g = 0; g < this.axisX.length; g++) + b[c[e]].push({ + viewportMinimum: + this[c[e]][g].sessionVariables.newViewportMinimum, + viewportMaximum: + this[c[e]][g].sessionVariables.newViewportMaximum, + }); + else if ("axisX2" === c[e]) + for (g = 0; g < this.axisX2.length; g++) + b[c[e]].push({ + viewportMinimum: + this[c[e]][g].sessionVariables.newViewportMinimum, + viewportMaximum: + this[c[e]][g].sessionVariables.newViewportMaximum, + }); + this.dispatchEvent(a, b, this); + }; + p.prototype._mouseEventHandler = function (a) { + "undefined" === typeof a.target && + a.srcElement && + (a.target = a.srcElement); + var d = Ra(a), + b = a.type, + c, + e; + a.which ? (e = 3 == a.which) : a.button && (e = 2 == a.button); + p.capturedEventParam && + ((c = p.capturedEventParam), + "mouseup" === b && + ((p.capturedEventParam = null), + c.chart.overlaidCanvas.releaseCapture + ? c.chart.overlaidCanvas.releaseCapture() + : document.documentElement.removeEventListener( + "mouseup", + c.chart._mouseEventHandler, + !1 + )), + c.hasOwnProperty(b) && + ("mouseup" !== b || c.chart.overlaidCanvas.releaseCapture + ? (a.target !== c.chart.overlaidCanvas && r) || + c[b].call(c.context, d.x, d.y) + : a.target !== c.chart.overlaidCanvas && (c.chart.isDrag = !1))); + if (this.interactivityEnabled) + if (this._ignoreNextEvent) this._ignoreNextEvent = !1; + else if ( + (a.preventManipulation && a.preventManipulation(), + a.preventDefault && a.preventDefault(), + Ja && + window.console && + (window.console.log(b + " --\x3e x: " + d.x + "; y:" + d.y), + e && window.console.log(a.which), + "mouseup" === b && window.console.log("mouseup")), + !e) + ) { + if (!p.capturedEventParam && this._events) { + for (var g = 0; g < this._events.length; g++) + if (this._events[g].hasOwnProperty(b)) + if ( + ((c = this._events[g]), + (e = c.bounds), + d.x >= e.x1 && d.x <= e.x2 && d.y >= e.y1 && d.y <= e.y2) + ) { + c[b].call(c.context, d.x, d.y); + "mousedown" === b && !0 === c.capture + ? ((p.capturedEventParam = c), + this.overlaidCanvas.setCapture + ? this.overlaidCanvas.setCapture() + : document.documentElement.addEventListener( + "mouseup", + this._mouseEventHandler, + !1 + )) + : "mouseup" === b && + (c.chart.overlaidCanvas.releaseCapture + ? c.chart.overlaidCanvas.releaseCapture() + : document.documentElement.removeEventListener( + "mouseup", + this._mouseEventHandler, + !1 + )); + break; + } else c = null; + a.target.style.cursor = + c && c.cursor ? c.cursor : this._defaultCursor; + } + b = this.plotArea; + if (d.x < b.x1 || d.x > b.x2 || d.y < b.y1 || d.y > b.y2) + this.toolTip && this.toolTip.enabled + ? this.toolTip.hide() + : this.resetOverlayedCanvas(); + (this.isDrag && this.zoomEnabled) || + !this._eventManager || + this._eventManager.mouseEventHandler(a); + } + }; + p.prototype._plotAreaMouseDown = function (a, d) { + this.isDrag = !0; + this.dragStartPoint = { x: a, y: d }; + }; + p.prototype._plotAreaMouseUp = function (a, d) { + if ( + ("normal" === this.plotInfo.axisPlacement || + "xySwapped" === this.plotInfo.axisPlacement) && + this.isDrag + ) { + var b = d - this.dragStartPoint.y, + c = a - this.dragStartPoint.x, + e = 0 <= this.zoomType.indexOf("x"), + g = 0 <= this.zoomType.indexOf("y"), + m = !1; + this.resetOverlayedCanvas(); + if ("xySwapped" === this.plotInfo.axisPlacement) + var l = g, + g = e, + e = l; + if (this.panEnabled || this.zoomEnabled) { + if (this.panEnabled) + for (e = g = 0; e < this._axes.length; e++) + (b = this._axes[e]), + b.logarithmic + ? b.viewportMinimum < b.minimum + ? ((g = b.minimum / b.viewportMinimum), + (b.sessionVariables.newViewportMinimum = + b.viewportMinimum * g), + (b.sessionVariables.newViewportMaximum = + b.viewportMaximum * g), + (m = !0)) + : b.viewportMaximum > b.maximum && + ((g = b.viewportMaximum / b.maximum), + (b.sessionVariables.newViewportMinimum = + b.viewportMinimum / g), + (b.sessionVariables.newViewportMaximum = + b.viewportMaximum / g), + (m = !0)) + : b.viewportMinimum < b.minimum + ? ((g = b.minimum - b.viewportMinimum), + (b.sessionVariables.newViewportMinimum = + b.viewportMinimum + g), + (b.sessionVariables.newViewportMaximum = + b.viewportMaximum + g), + (m = !0)) + : b.viewportMaximum > b.maximum && + ((g = b.viewportMaximum - b.maximum), + (b.sessionVariables.newViewportMinimum = + b.viewportMinimum - g), + (b.sessionVariables.newViewportMaximum = + b.viewportMaximum - g), + (m = !0)); + else if ( + (!e || 2 < Math.abs(c)) && + (!g || 2 < Math.abs(b)) && + this.zoomEnabled + ) { + if (!this.dragStartPoint) return; + b = e ? this.dragStartPoint.x : this.plotArea.x1; + c = g ? this.dragStartPoint.y : this.plotArea.y1; + e = e ? a : this.plotArea.x2; + g = g ? d : this.plotArea.y2; + 2 < Math.abs(b - e) && + 2 < Math.abs(c - g) && + this._zoomPanToSelectedRegion(b, c, e, g) && + (m = !0); + } + m && + ((this._ignoreNextEvent = !0), + this._dispatchRangeEvent("rangeChanging", "zoom"), + this.render(), + this._dispatchRangeEvent("rangeChanged", "zoom"), + m && + this.zoomEnabled && + "none" === this._zoomButton.style.display && + (Qa(this._zoomButton, this._resetButton), + ua(this, this._zoomButton, "pan"), + ua(this, this._resetButton, "reset"))); + } + } + this.isDrag = !1; + if ("none" !== this.plotInfo.axisPlacement) { + this.resetOverlayedCanvas(); + if (this.axisX && 0 < this.axisX.length) + for (m = 0; m < this.axisX.length; m++) + this.axisX[m].crosshair && + this.axisX[m].crosshair.enabled && + this.axisX[m].renderCrosshair(a, d); + if (this.axisX2 && 0 < this.axisX2.length) + for (m = 0; m < this.axisX2.length; m++) + this.axisX2[m].crosshair && + this.axisX2[m].crosshair.enabled && + this.axisX2[m].renderCrosshair(a, d); + if (this.axisY && 0 < this.axisY.length) + for (m = 0; m < this.axisY.length; m++) + this.axisY[m].crosshair && + this.axisY[m].crosshair.enabled && + this.axisY[m].renderCrosshair(a, d); + if (this.axisY2 && 0 < this.axisY2.length) + for (m = 0; m < this.axisY2.length; m++) + this.axisY2[m].crosshair && + this.axisY2[m].crosshair.enabled && + this.axisY2[m].renderCrosshair(a, d); + } + }; + p.prototype._plotAreaMouseMove = function (a, d) { + if (this.isDrag && "none" !== this.plotInfo.axisPlacement) { + var b = 0, + c = 0, + e = (b = null), + e = 0 <= this.zoomType.indexOf("x"), + g = 0 <= this.zoomType.indexOf("y"), + m = this; + "xySwapped" === this.plotInfo.axisPlacement && + ((b = g), (g = e), (e = b)); + b = this.dragStartPoint.x - a; + c = this.dragStartPoint.y - d; + 2 < Math.abs(b) && + 8 > Math.abs(b) && + (this.panEnabled || this.zoomEnabled) + ? this.toolTip.hide() + : this.panEnabled || + this.zoomEnabled || + this.toolTip.mouseMoveHandler(a, d); + if ( + (!e || 2 < Math.abs(b) || !g || 2 < Math.abs(c)) && + (this.panEnabled || this.zoomEnabled) + ) + if (this.panEnabled) + (e = { + x1: e ? this.plotArea.x1 + b : this.plotArea.x1, + y1: g ? this.plotArea.y1 + c : this.plotArea.y1, + x2: e ? this.plotArea.x2 + b : this.plotArea.x2, + y2: g ? this.plotArea.y2 + c : this.plotArea.y2, + }), + clearTimeout(m._panTimerId), + (m._panTimerId = setTimeout( + (function (c, b, e, f) { + return function () { + m._zoomPanToSelectedRegion(c, b, e, f, !0) && + (m._dispatchRangeEvent("rangeChanging", "pan"), + m.render(), + m._dispatchRangeEvent("rangeChanged", "pan"), + (m.dragStartPoint.x = a), + (m.dragStartPoint.y = d)); + }; + })(e.x1, e.y1, e.x2, e.y2), + 0 + )); + else if (this.zoomEnabled) { + this.resetOverlayedCanvas(); + b = this.overlaidCanvasCtx.globalAlpha; + this.overlaidCanvasCtx.fillStyle = "#A89896"; + var c = e ? this.dragStartPoint.x : this.plotArea.x1, + l = g ? this.dragStartPoint.y : this.plotArea.y1, + w = e + ? a - this.dragStartPoint.x + : this.plotArea.x2 - this.plotArea.x1, + h = g + ? d - this.dragStartPoint.y + : this.plotArea.y2 - this.plotArea.y1; + this.validateRegion( + c, + l, + e ? a : this.plotArea.x2 - this.plotArea.x1, + g ? d : this.plotArea.y2 - this.plotArea.y1, + "xy" !== this.zoomType + ).isValid && + (this.resetOverlayedCanvas(), + (this.overlaidCanvasCtx.fillStyle = "#99B2B5")); + this.overlaidCanvasCtx.globalAlpha = 0.7; + this.overlaidCanvasCtx.fillRect(c, l, w, h); + this.overlaidCanvasCtx.globalAlpha = b; + } + } else if ( + (this.toolTip.mouseMoveHandler(a, d), + "none" !== this.plotInfo.axisPlacement) + ) { + if (this.axisX && 0 < this.axisX.length) + for (e = 0; e < this.axisX.length; e++) + this.axisX[e].crosshair && + this.axisX[e].crosshair.enabled && + this.axisX[e].renderCrosshair(a, d); + if (this.axisX2 && 0 < this.axisX2.length) + for (e = 0; e < this.axisX2.length; e++) + this.axisX2[e].crosshair && + this.axisX2[e].crosshair.enabled && + this.axisX2[e].renderCrosshair(a, d); + if (this.axisY && 0 < this.axisY.length) + for (e = 0; e < this.axisY.length; e++) + this.axisY[e].crosshair && + this.axisY[e].crosshair.enabled && + this.axisY[e].renderCrosshair(a, d); + if (this.axisY2 && 0 < this.axisY2.length) + for (e = 0; e < this.axisY2.length; e++) + this.axisY2[e].crosshair && + this.axisY2[e].crosshair.enabled && + this.axisY2[e].renderCrosshair(a, d); + } + }; + p.prototype._zoomPanToSelectedRegion = function (a, d, b, c, e) { + a = this.validateRegion(a, d, b, c, e); + d = a.axesWithValidRange; + b = a.axesRanges; + if (a.isValid) + for (c = 0; c < d.length; c++) + (e = b[c]), + d[c].setViewPortRange(e.val1, e.val2), + this.syncCharts && this.syncCharts(e.val1, e.val2); + return a.isValid; + }; + p.prototype.validateRegion = function (a, d, b, c, e) { + e = e || !1; + for ( + var g = 0 <= this.zoomType.indexOf("x"), + m = 0 <= this.zoomType.indexOf("y"), + l = !1, + w = [], + h = [], + s = [], + q = 0; + q < this._axes.length; + q++ + ) + (("axisX" === this._axes[q].type && g) || + ("axisY" === this._axes[q].type && m)) && + h.push(this._axes[q]); + for (m = 0; m < h.length; m++) { + var q = h[m], + g = !1, + n = q.convertPixelToValue({ x: a, y: d }), + f = q.convertPixelToValue({ x: b, y: c }); + if (n > f) + var B = f, + f = n, + n = B; + if (q.scaleBreaks) + for (B = 0; !g && B < q.scaleBreaks._appliedBreaks.length; B++) + g = + q.scaleBreaks._appliedBreaks[B].startValue <= n && + q.scaleBreaks._appliedBreaks[B].endValue >= f; + if (isFinite(q.dataInfo.minDiff)) + if ( + ((B = q.getApparentDifference(n, f, null, !0)), + !( + g || + (!( + this.panEnabled && + q.scaleBreaks && + q.scaleBreaks._appliedBreaks.length + ) && + ((q.logarithmic && B < Math.pow(q.dataInfo.minDiff, 3)) || + (!q.logarithmic && B < 3 * Math.abs(q.dataInfo.minDiff)))) || + n < q.minimum || + f > q.maximum + )) + ) + w.push(q), s.push({ val1: n, val2: f }), (l = !0); + else if (!e) { + l = !1; + break; + } + } + return { isValid: l, axesWithValidRange: w, axesRanges: s }; + }; + p.prototype.preparePlotArea = function () { + var a = this.plotArea; + !r && (0 < a.x1 || 0 < a.y1) && a.ctx.translate(a.x1, a.y1); + if ( + (this.axisX[0] || this.axisX2[0]) && + (this.axisY[0] || this.axisY2[0]) + ) { + var d = this.axisX[0] + ? this.axisX[0].lineCoordinates + : this.axisX2[0].lineCoordinates; + if (this.axisY && 0 < this.axisY.length && this.axisY[0]) { + var b = this.axisY[0]; + a.x1 = d.x1 < d.x2 ? d.x1 : b.lineCoordinates.x1; + a.y1 = d.y1 < b.lineCoordinates.y1 ? d.y1 : b.lineCoordinates.y1; + a.x2 = d.x2 > b.lineCoordinates.x2 ? d.x2 : b.lineCoordinates.x2; + a.y2 = d.y2 > d.y1 ? d.y2 : b.lineCoordinates.y2; + a.width = a.x2 - a.x1; + a.height = a.y2 - a.y1; + } + this.axisY2 && + 0 < this.axisY2.length && + this.axisY2[0] && + ((b = this.axisY2[0]), + (a.x1 = d.x1 < d.x2 ? d.x1 : b.lineCoordinates.x1), + (a.y1 = d.y1 < b.lineCoordinates.y1 ? d.y1 : b.lineCoordinates.y1), + (a.x2 = d.x2 > b.lineCoordinates.x2 ? d.x2 : b.lineCoordinates.x2), + (a.y2 = d.y2 > d.y1 ? d.y2 : b.lineCoordinates.y2), + (a.width = a.x2 - a.x1), + (a.height = a.y2 - a.y1)); + } else + (d = this.layoutManager.getFreeSpace()), + (a.x1 = d.x1), + (a.x2 = d.x2), + (a.y1 = d.y1), + (a.y2 = d.y2), + (a.width = d.width), + (a.height = d.height); + r || + ((a.canvas.width = a.width), + (a.canvas.height = a.height), + (a.canvas.style.left = a.x1 + "px"), + (a.canvas.style.top = a.y1 + "px"), + (0 < a.x1 || 0 < a.y1) && a.ctx.translate(-a.x1, -a.y1)); + a.layoutManager = new Ga(a.x1, a.y1, a.x2, a.y2, 2); + }; + p.prototype.renderIndexLabels = function (a) { + var d = a || this.plotArea.ctx, + b = this.plotArea, + c = 0, + e = 0, + g = 0, + m = 0, + l = (c = m = e = g = 0), + w = 0; + for (a = 0; a < this._indexLabels.length; a++) { + var h = this._indexLabels[a], + s = h.chartType.toLowerCase(), + q, + n, + l = na("indexLabelFontColor", h.dataPoint, h.dataSeries), + w = na("indexLabelFontSize", h.dataPoint, h.dataSeries); + q = na("indexLabelFontFamily", h.dataPoint, h.dataSeries); + n = na("indexLabelFontStyle", h.dataPoint, h.dataSeries); + var m = na("indexLabelFontWeight", h.dataPoint, h.dataSeries), + f = na("indexLabelBackgroundColor", h.dataPoint, h.dataSeries), + e = na("indexLabelMaxWidth", h.dataPoint, h.dataSeries), + g = na("indexLabelWrap", h.dataPoint, h.dataSeries), + B = na("indexLabelLineDashType", h.dataPoint, h.dataSeries), + k = na("indexLabelLineColor", h.dataPoint, h.dataSeries), + p = u(h.dataPoint.indexLabelLineThickness) + ? u(h.dataSeries.options.indexLabelLineThickness) + ? 0 + : h.dataSeries.options.indexLabelLineThickness + : h.dataPoint.indexLabelLineThickness, + c = + 0 < p + ? Math.min( + 10, + ("normal" === this.plotInfo.axisPlacement + ? this.plotArea.height + : this.plotArea.width) << 0 + ) + : 0, + t = { percent: null, total: null }, + C = null; + if ( + 0 <= h.dataSeries.type.indexOf("stacked") || + "pie" === h.dataSeries.type || + "doughnut" === h.dataSeries.type + ) + t = this.getPercentAndTotal(h.dataSeries, h.dataPoint); + if (h.dataSeries.indexLabelFormatter || h.dataPoint.indexLabelFormatter) + C = { + chart: this, + dataSeries: h.dataSeries, + dataPoint: h.dataPoint, + index: h.indexKeyword, + total: t.total, + percent: t.percent, + }; + var x = h.dataPoint.indexLabelFormatter + ? h.dataPoint.indexLabelFormatter(C) + : h.dataPoint.indexLabel + ? this.replaceKeywordsWithValue( + h.dataPoint.indexLabel, + h.dataPoint, + h.dataSeries, + null, + h.indexKeyword + ) + : h.dataSeries.indexLabelFormatter + ? h.dataSeries.indexLabelFormatter(C) + : h.dataSeries.indexLabel + ? this.replaceKeywordsWithValue( + h.dataSeries.indexLabel, + h.dataPoint, + h.dataSeries, + null, + h.indexKeyword + ) + : null; + if (null !== x && "" !== x) { + var t = na("indexLabelPlacement", h.dataPoint, h.dataSeries), + C = na("indexLabelOrientation", h.dataPoint, h.dataSeries), + ma = h.direction, + y = h.dataSeries.axisX, + A = h.dataSeries.axisY, + v = !1, + f = new ka(d, { + x: 0, + y: 0, + maxWidth: e ? e : 0.5 * this.width, + maxHeight: g ? 5 * w : 1.5 * w, + angle: "horizontal" === C ? 0 : -90, + text: x, + padding: 0, + backgroundColor: f, + horizontalAlign: "left", + fontSize: w, + fontFamily: q, + fontWeight: m, + fontColor: l, + fontStyle: n, + textBaseline: "top", + }); + f.measureText(); + h.dataSeries.indexLabelMaxWidth = f.maxWidth; + if ("stackedarea100" === s) { + if ( + h.point.x < b.x1 || + h.point.x > b.x2 || + h.point.y < b.y1 - 1 || + h.point.y > b.y2 + 1 + ) + continue; + } else if ("rangearea" === s || "rangesplinearea" === s) { + if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum || + Math.max.apply(null, h.dataPoint.y) < A.viewportMinimum || + Math.min.apply(null, h.dataPoint.y) > A.viewportMaximum + ) + continue; + } else if ( + 0 <= s.indexOf("line") || + 0 <= s.indexOf("area") || + 0 <= s.indexOf("bubble") || + 0 <= s.indexOf("scatter") + ) { + if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum || + h.dataPoint.y < A.viewportMinimum || + h.dataPoint.y > A.viewportMaximum + ) + continue; + } else if ( + 0 <= s.indexOf("column") || + "waterfall" === s || + ("error" === s && !h.axisSwapped) + ) { + if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum || + h.bounds.y1 > b.y2 || + h.bounds.y2 < b.y1 + ) + continue; + } else if (0 <= s.indexOf("bar") || "error" === s) { + if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum || + h.bounds.x1 > b.x2 || + h.bounds.x2 < b.x1 + ) + continue; + } else if ("candlestick" === s || "ohlc" === s) { + if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum || + Math.max.apply(null, h.dataPoint.y) < A.viewportMinimum || + Math.min.apply(null, h.dataPoint.y) > A.viewportMaximum + ) + continue; + } else if ( + h.dataPoint.x < y.viewportMinimum || + h.dataPoint.x > y.viewportMaximum + ) + continue; + e = m = 2; + "horizontal" === C + ? ((l = f.width), (w = f.height)) + : ((w = f.width), (l = f.height)); + if ("normal" === this.plotInfo.axisPlacement) { + if (0 <= s.indexOf("line") || 0 <= s.indexOf("area")) + (t = "auto"), (m = 4); + else if (0 <= s.indexOf("stacked")) "auto" === t && (t = "inside"); + else if ("bubble" === s || "scatter" === s) t = "inside"; + q = h.point.x - l / 2; + "inside" !== t + ? ((e = b.y1), + (g = b.y2), + 0 < ma + ? ((n = h.point.y - w - m - c), + n < e && + ((n = + "auto" === t + ? Math.max(h.point.y, e) + m + c + : e + m + c), + (v = n + w > h.point.y))) + : ((n = h.point.y + m + c), + n > g - w - m - c && + ((n = + "auto" === t + ? Math.min(h.point.y, g) - w - m - c + : g - w - m - c), + (v = n < h.point.y)))) + : ((e = Math.max(h.bounds.y1, b.y1)), + (g = Math.min(h.bounds.y2, b.y2)), + (c = + 0 <= s.indexOf("range") || "error" === s + ? 0 < ma + ? Math.max(h.bounds.y1, b.y1) + w / 2 + m + : Math.min(h.bounds.y2, b.y2) - w / 2 - m + : (Math.max(h.bounds.y1, b.y1) + + Math.min(h.bounds.y2, b.y2)) / + 2), + 0 < ma + ? ((n = Math.max(h.point.y, c) - w / 2), + n < e && + ("bubble" === s || "scatter" === s) && + (n = Math.max(h.point.y - w - m, b.y1 + m))) + : ((n = Math.min(h.point.y, c) - w / 2), + n > g - w - m && + ("bubble" === s || "scatter" === s) && + (n = Math.min(h.point.y + m, b.y2 - w - m))), + (n = Math.min(n, g - w))); + } else + 0 <= s.indexOf("line") || + 0 <= s.indexOf("area") || + 0 <= s.indexOf("scatter") + ? ((t = "auto"), (e = 4)) + : 0 <= s.indexOf("stacked") + ? "auto" === t && (t = "inside") + : "bubble" === s && (t = "inside"), + (n = h.point.y - w / 2), + "inside" !== t + ? ((m = b.x1), + (g = b.x2), + 0 > ma + ? ((q = h.point.x - l - e - c), + q < m && + ((q = + "auto" === t + ? Math.max(h.point.x, m) + e + c + : m + e + c), + (v = q + l > h.point.x))) + : ((q = h.point.x + e + c), + q > g - l - e - c && + ((q = + "auto" === t + ? Math.min(h.point.x, g) - l - e - c + : g - l - e - c), + (v = q < h.point.x)))) + : ((m = Math.max(h.bounds.x1, b.x1)), + Math.min(h.bounds.x2, b.x2), + (c = + 0 <= s.indexOf("range") || "error" === s + ? 0 > ma + ? Math.max(h.bounds.x1, b.x1) + l / 2 + e + : Math.min(h.bounds.x2, b.x2) - l / 2 - e + : (Math.max(h.bounds.x1, b.x1) + + Math.min(h.bounds.x2, b.x2)) / + 2), + (q = + 0 > ma + ? Math.max(h.point.x, c) - l / 2 + : Math.min(h.point.x, c) - l / 2), + (q = Math.max(q, m))); + "vertical" === C && (n += w); + f.x = q; + f.y = n; + f.render(!0); + p && + "inside" !== t && + ((0 > s.indexOf("bar") && + ("error" !== s || !h.axisSwapped) && + h.point.x > b.x1 && + h.point.x < b.x2) || + !v) && + ((0 > s.indexOf("column") && + ("error" !== s || h.axisSwapped) && + h.point.y > b.y1 && + h.point.y < b.y2) || + !v) && + ((d.lineWidth = p), + (d.strokeStyle = k ? k : "gray"), + d.setLineDash && d.setLineDash(R(B, p)), + d.beginPath(), + d.moveTo(h.point.x, h.point.y), + 0 <= s.indexOf("bar") || ("error" === s && h.axisSwapped) + ? d.lineTo( + q + (0 < h.direction ? 0 : l), + n + ("horizontal" === C ? w : -w) / 2 + ) + : 0 <= s.indexOf("column") || ("error" === s && !h.axisSwapped) + ? d.lineTo( + q + l / 2, + n + + ((0 < h.direction ? w : -w) + + ("horizontal" === C ? w : -w)) / + 2 + ) + : d.lineTo( + q + l / 2, + n + + ((n < h.point.y ? w : -w) + ("horizontal" === C ? w : -w)) / + 2 + ), + d.stroke()); + } + } + d = { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + startTimePercent: 0.7, + }; + for (a = 0; a < this._indexLabels.length; a++) + (h = this._indexLabels[a]), + (f = na("indexLabelBackgroundColor", h.dataPoint, h.dataSeries)), + (h.dataSeries.indexLabelBackgroundColor = u(f) + ? r + ? "transparent" + : null + : f); + return d; + }; + p.prototype.renderLine = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = this._eventManager.ghostCtx; + b.save(); + var e = this.plotArea; + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + for (var g = [], m, l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = a.dataSeriesIndexes[l], + h = this.data[w]; + b.lineWidth = h.lineThickness; + var s = h.dataPoints, + q = "solid"; + if (b.setLineDash) { + var n = R(h.nullDataLineDashType, h.lineThickness), + q = h.lineDashType, + f = R(q, h.lineThickness); + b.setLineDash(f); + } + var B = h.id; + this._eventManager.objectMap[B] = { + objectType: "dataSeries", + dataSeriesIndex: w, + }; + B = N(B); + c.strokeStyle = B; + c.lineWidth = 0 < h.lineThickness ? Math.max(h.lineThickness, 4) : 0; + var B = h._colorSet, + k = + (B = + h.lineColor = + h.options.lineColor ? h.options.lineColor : B[0]); + b.strokeStyle = B; + var p = !0, + t = 0, + C, + x; + b.beginPath(); + if (0 < s.length) { + for (var u = !1, t = 0; t < s.length; t++) + if ( + ((C = s[t].x.getTime ? s[t].x.getTime() : s[t].x), + !( + C < a.axisX.dataInfo.viewPortMin || + (C > a.axisX.dataInfo.viewPortMax && + (!h.connectNullData || !u)) + )) + ) + if ("number" !== typeof s[t].y) + 0 < t && + !(h.connectNullData || u || p) && + (b.stroke(), r && c.stroke()), + (u = !0); + else { + C = a.axisX.convertValueToPixel(C); + x = a.axisY.convertValueToPixel(s[t].y); + var y = h.dataPointIds[t]; + this._eventManager.objectMap[y] = { + id: y, + objectType: "dataPoint", + dataSeriesIndex: w, + dataPointIndex: t, + x1: C, + y1: x, + }; + p || u + ? (!p && h.connectNullData + ? (b.setLineDash && + (h.options.nullDataLineDashType || + (q === h.lineDashType && + h.lineDashType !== h.nullDataLineDashType)) && + (b.stroke(), + b.beginPath(), + b.moveTo(m.x, m.y), + (q = h.nullDataLineDashType), + b.setLineDash(n)), + b.lineTo(C, x), + r && c.lineTo(C, x)) + : (b.beginPath(), + b.moveTo(C, x), + r && (c.beginPath(), c.moveTo(C, x))), + (u = p = !1)) + : (b.lineTo(C, x), + r && c.lineTo(C, x), + 0 == t % 500 && + (b.stroke(), + b.beginPath(), + b.moveTo(C, x), + r && (c.stroke(), c.beginPath(), c.moveTo(C, x)))); + m = { x: C, y: x }; + t < s.length - 1 && + (k !== (s[t].lineColor || B) || + q !== (s[t].lineDashType || h.lineDashType)) && + (b.stroke(), + b.beginPath(), + b.moveTo(C, x), + (k = s[t].lineColor || B), + (b.strokeStyle = k), + b.setLineDash && + (s[t].lineDashType + ? ((q = s[t].lineDashType), + b.setLineDash(R(q, h.lineThickness))) + : ((q = h.lineDashType), b.setLineDash(f)))); + if (0 < s[t].markerSize || 0 < h.markerSize) { + var A = h.getMarkerProperties(t, C, x, b); + g.push(A); + y = N(y); + r && + g.push({ + x: C, + y: x, + ctx: c, + type: A.type, + size: A.size, + color: y, + borderColor: y, + borderThickness: A.borderThickness, + }); + } + (s[t].indexLabel || + h.indexLabel || + s[t].indexLabelFormatter || + h.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "line", + dataPoint: s[t], + dataSeries: h, + point: { x: C, y: x }, + direction: 0 > s[t].y === a.axisY.reversed ? 1 : -1, + color: B, + }); + } + b.stroke(); + r && c.stroke(); + } + } + ia.drawMarkers(g); + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + c.beginPath()); + b.restore(); + b.beginPath(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderStepLine = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = this._eventManager.ghostCtx; + b.save(); + var e = this.plotArea; + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + for (var g = [], m, l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = a.dataSeriesIndexes[l], + h = this.data[w]; + b.lineWidth = h.lineThickness; + var s = h.dataPoints, + q = "solid"; + if (b.setLineDash) { + var n = R(h.nullDataLineDashType, h.lineThickness), + q = h.lineDashType, + f = R(q, h.lineThickness); + b.setLineDash(f); + } + var B = h.id; + this._eventManager.objectMap[B] = { + objectType: "dataSeries", + dataSeriesIndex: w, + }; + B = N(B); + c.strokeStyle = B; + c.lineWidth = 0 < h.lineThickness ? Math.max(h.lineThickness, 4) : 0; + var B = h._colorSet, + k = + (B = + h.lineColor = + h.options.lineColor ? h.options.lineColor : B[0]); + b.strokeStyle = B; + var p = !0, + t = 0, + C, + x; + b.beginPath(); + if (0 < s.length) { + for (var u = !1, t = 0; t < s.length; t++) + if ( + ((C = s[t].getTime ? s[t].x.getTime() : s[t].x), + !( + C < a.axisX.dataInfo.viewPortMin || + (C > a.axisX.dataInfo.viewPortMax && + (!h.connectNullData || !u)) + )) + ) + if ("number" !== typeof s[t].y) + 0 < t && + !(h.connectNullData || u || p) && + (b.stroke(), r && c.stroke()), + (u = !0); + else { + var y = x; + C = a.axisX.convertValueToPixel(C); + x = a.axisY.convertValueToPixel(s[t].y); + var A = h.dataPointIds[t]; + this._eventManager.objectMap[A] = { + id: A, + objectType: "dataPoint", + dataSeriesIndex: w, + dataPointIndex: t, + x1: C, + y1: x, + }; + p || u + ? (!p && h.connectNullData + ? (b.setLineDash && + (h.options.nullDataLineDashType || + (q === h.lineDashType && + h.lineDashType !== h.nullDataLineDashType)) && + (b.stroke(), + b.beginPath(), + b.moveTo(m.x, m.y), + (q = h.nullDataLineDashType), + b.setLineDash(n)), + b.lineTo(C, y), + b.lineTo(C, x), + r && (c.lineTo(C, y), c.lineTo(C, x))) + : (b.beginPath(), + b.moveTo(C, x), + r && (c.beginPath(), c.moveTo(C, x))), + (u = p = !1)) + : (b.lineTo(C, y), + r && c.lineTo(C, y), + b.lineTo(C, x), + r && c.lineTo(C, x), + 0 == t % 500 && + (b.stroke(), + b.beginPath(), + b.moveTo(C, x), + r && (c.stroke(), c.beginPath(), c.moveTo(C, x)))); + m = { x: C, y: x }; + t < s.length - 1 && + (k !== (s[t].lineColor || B) || + q !== (s[t].lineDashType || h.lineDashType)) && + (b.stroke(), + b.beginPath(), + b.moveTo(C, x), + (k = s[t].lineColor || B), + (b.strokeStyle = k), + b.setLineDash && + (s[t].lineDashType + ? ((q = s[t].lineDashType), + b.setLineDash(R(q, h.lineThickness))) + : ((q = h.lineDashType), b.setLineDash(f)))); + if (0 < s[t].markerSize || 0 < h.markerSize) + (y = h.getMarkerProperties(t, C, x, b)), + g.push(y), + (A = N(A)), + r && + g.push({ + x: C, + y: x, + ctx: c, + type: y.type, + size: y.size, + color: A, + borderColor: A, + borderThickness: y.borderThickness, + }); + (s[t].indexLabel || + h.indexLabel || + s[t].indexLabelFormatter || + h.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stepLine", + dataPoint: s[t], + dataSeries: h, + point: { x: C, y: x }, + direction: 0 > s[t].y === a.axisY.reversed ? 1 : -1, + color: B, + }); + } + b.stroke(); + r && c.stroke(); + } + } + ia.drawMarkers(g); + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + c.beginPath()); + b.restore(); + b.beginPath(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderSpline = function (a) { + function d(a) { + a = v(a, 2); + if (0 < a.length) { + c.beginPath(); + r && e.beginPath(); + c.moveTo(a[0].x, a[0].y); + a[0].newStrokeStyle && (c.strokeStyle = a[0].newStrokeStyle); + a[0].newLineDashArray && c.setLineDash(a[0].newLineDashArray); + r && e.moveTo(a[0].x, a[0].y); + for (var b = 0; b < a.length - 3; b += 3) + if ( + (c.bezierCurveTo( + a[b + 1].x, + a[b + 1].y, + a[b + 2].x, + a[b + 2].y, + a[b + 3].x, + a[b + 3].y + ), + r && + e.bezierCurveTo( + a[b + 1].x, + a[b + 1].y, + a[b + 2].x, + a[b + 2].y, + a[b + 3].x, + a[b + 3].y + ), + (0 < b && 0 === b % 3e3) || + a[b + 3].newStrokeStyle || + a[b + 3].newLineDashArray) + ) + c.stroke(), + c.beginPath(), + c.moveTo(a[b + 3].x, a[b + 3].y), + a[b + 3].newStrokeStyle && + (c.strokeStyle = a[b + 3].newStrokeStyle), + a[b + 3].newLineDashArray && + c.setLineDash(a[b + 3].newLineDashArray), + r && + (e.stroke(), e.beginPath(), e.moveTo(a[b + 3].x, a[b + 3].y)); + c.stroke(); + r && e.stroke(); + } + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = this._eventManager.ghostCtx; + c.save(); + var g = this.plotArea; + c.beginPath(); + c.rect(g.x1, g.y1, g.width, g.height); + c.clip(); + for (var m = [], l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = a.dataSeriesIndexes[l], + h = this.data[w]; + c.lineWidth = h.lineThickness; + var s = h.dataPoints, + q = "solid"; + if (c.setLineDash) { + var n = R(h.nullDataLineDashType, h.lineThickness), + q = h.lineDashType, + f = R(q, h.lineThickness); + c.setLineDash(f); + } + var B = h.id; + this._eventManager.objectMap[B] = { + objectType: "dataSeries", + dataSeriesIndex: w, + }; + B = N(B); + e.strokeStyle = B; + e.lineWidth = 0 < h.lineThickness ? Math.max(h.lineThickness, 4) : 0; + var B = h._colorSet, + k = + (B = + h.lineColor = + h.options.lineColor ? h.options.lineColor : B[0]); + c.strokeStyle = B; + var p = 0, + t, + u, + x = []; + c.beginPath(); + if (0 < s.length) + for (u = !1, p = 0; p < s.length; p++) + if ( + ((t = s[p].getTime ? s[p].x.getTime() : s[p].x), + !( + t < a.axisX.dataInfo.viewPortMin || + (t > a.axisX.dataInfo.viewPortMax && + (!h.connectNullData || !u)) + )) + ) + if ("number" !== typeof s[p].y) + 0 < p && + !u && + (h.connectNullData + ? c.setLineDash && + 0 < x.length && + (h.options.nullDataLineDashType || + !s[p - 1].lineDashType) && + ((x[x.length - 1].newLineDashArray = n), + (q = h.nullDataLineDashType)) + : (d(x), (x = []))), + (u = !0); + else { + t = a.axisX.convertValueToPixel(t); + u = a.axisY.convertValueToPixel(s[p].y); + var ma = h.dataPointIds[p]; + this._eventManager.objectMap[ma] = { + id: ma, + objectType: "dataPoint", + dataSeriesIndex: w, + dataPointIndex: p, + x1: t, + y1: u, + }; + x[x.length] = { x: t, y: u }; + p < s.length - 1 && + (k !== (s[p].lineColor || B) || + q !== (s[p].lineDashType || h.lineDashType)) && + ((k = s[p].lineColor || B), + (x[x.length - 1].newStrokeStyle = k), + c.setLineDash && + (s[p].lineDashType + ? ((q = s[p].lineDashType), + (x[x.length - 1].newLineDashArray = R( + q, + h.lineThickness + ))) + : ((q = h.lineDashType), + (x[x.length - 1].newLineDashArray = f)))); + if (0 < s[p].markerSize || 0 < h.markerSize) { + var y = h.getMarkerProperties(p, t, u, c); + m.push(y); + ma = N(ma); + r && + m.push({ + x: t, + y: u, + ctx: e, + type: y.type, + size: y.size, + color: ma, + borderColor: ma, + borderThickness: y.borderThickness, + }); + } + (s[p].indexLabel || + h.indexLabel || + s[p].indexLabelFormatter || + h.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "spline", + dataPoint: s[p], + dataSeries: h, + point: { x: t, y: u }, + direction: 0 > s[p].y === a.axisY.reversed ? 1 : -1, + color: B, + }); + u = !1; + } + d(x); + } + ia.drawMarkers(m); + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(g.x1, g.y1, g.width, g.height), + e.beginPath()); + c.restore(); + c.beginPath(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderColumn = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = 0, + m, + l, + w, + h = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + g = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1, + s = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : Math.min( + 0.15 * this.width, + 0.9 * (this.plotArea.width / a.plotType.totalDataSeries) + ) << 0, + q = a.axisX.dataInfo.minDiff; + isFinite(q) || (q = 0.3 * Math.abs(a.axisX.range)); + q = this.dataPointWidth = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.width * + (a.axisX.logarithmic + ? Math.log(q) / Math.log(a.axisX.range) + : Math.abs(q) / Math.abs(a.axisX.range))) / + a.plotType.totalDataSeries)) << + 0; + this.dataPointMaxWidth && + g > s && + (g = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + s + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + s < g && + (s = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + g + )); + q < g && (q = g); + q > s && (q = s); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (s = 0; s < a.dataSeriesIndexes.length; s++) { + var n = a.dataSeriesIndexes[s], + f = this.data[n], + B = f.dataPoints; + if (0 < B.length) + for ( + var p = 5 < q && f.bevelEnabled ? !0 : !1, g = 0; + g < B.length; + g++ + ) + if ( + (B[g].getTime ? (w = B[g].x.getTime()) : (w = B[g].x), + !( + w < a.axisX.dataInfo.viewPortMin || + w > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof B[g].y) + ) { + m = a.axisX.convertValueToPixel(w); + l = a.axisY.convertValueToPixel(B[g].y); + m = a.axisX.reversed + ? (m + + (a.plotType.totalDataSeries * q) / 2 - + (a.previousDataSeriesCount + s) * q) << + 0 + : (m - + (a.plotType.totalDataSeries * q) / 2 + + (a.previousDataSeriesCount + s) * q) << + 0; + var k = a.axisX.reversed ? (m - q) << 0 : (m + q) << 0, + t; + 0 <= B[g].y ? (t = h) : ((t = l), (l = h)); + l > t && ((c = l), (l = t), (t = c)); + c = B[g].color + ? B[g].color + : f._colorSet[g % f._colorSet.length]; + ea( + b, + m, + l, + k, + t, + c, + 0, + null, + p && 0 <= B[g].y, + 0 > B[g].y && p, + !1, + !1, + f.fillOpacity + ); + c = f.dataPointIds[g]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: n, + dataPointIndex: g, + x1: m, + y1: l, + x2: k, + y2: t, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + m, + l, + k, + t, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (B[g].indexLabel || + f.indexLabel || + B[g].indexLabelFormatter || + f.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "column", + dataPoint: B[g], + dataSeries: f, + point: { + x: m + (k - m) / 2, + y: 0 > B[g].y === a.axisY.reversed ? l : t, + }, + direction: 0 > B[g].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: m, + y1: Math.min(l, t), + x2: k, + y2: Math.max(l, t), + }, + color: c, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.yScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + h < a.axisY.bounds.y1 + ? a.axisY.bounds.y1 + : h > a.axisY.bounds.y2 + ? a.axisY.bounds.y2 + : h, + }; + } + }; + p.prototype.renderStackedColumn = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = [], + m = [], + l = [], + w = [], + h = 0, + s, + q, + n = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + h = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + s = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : (0.15 * this.width) << 0; + var f = a.axisX.dataInfo.minDiff; + isFinite(f) || (f = 0.3 * Math.abs(a.axisX.range)); + f = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.width * + (a.axisX.logarithmic + ? Math.log(f) / Math.log(a.axisX.range) + : Math.abs(f) / Math.abs(a.axisX.range))) / + a.plotType.plotUnits.length)) << + 0; + this.dataPointMaxWidth && + h > s && + (h = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + s + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + s < h && + (s = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + h + )); + f < h && (f = h); + f > s && (f = s); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var B = 0; B < a.dataSeriesIndexes.length; B++) { + var k = a.dataSeriesIndexes[B], + p = this.data[k], + t = p.dataPoints; + if (0 < t.length) { + var u = 5 < f && p.bevelEnabled ? !0 : !1; + b.strokeStyle = "#4572A7 "; + for (h = 0; h < t.length; h++) + if ( + ((c = t[h].x.getTime ? t[h].x.getTime() : t[h].x), + !( + c < a.axisX.dataInfo.viewPortMin || + c > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof t[h].y) + ) { + s = a.axisX.convertValueToPixel(c); + var x = + (s - (a.plotType.plotUnits.length * f) / 2 + a.index * f) << + 0, + v = (x + f) << 0, + y; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 < t[h].y) + ) + (l[c] = t[h].y + (l[c] ? l[c] : 0)), + 0 < l[c] && + ((q = a.axisY.convertValueToPixel(l[c])), + (y = "undefined" !== typeof g[c] ? g[c] : n), + (g[c] = q)); + else if ( + a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 >= t[h].y + ) + (w[c] = t[h].y + (w[c] ? w[c] : 0)), + (y = a.axisY.convertValueToPixel(w[c])), + (q = "undefined" !== typeof m[c] ? m[c] : n), + (m[c] = y); + else if ( + ((q = a.axisY.convertValueToPixel(t[h].y)), 0 <= t[h].y) + ) { + var A = "undefined" !== typeof g[c] ? g[c] : 0; + q -= A; + y = n - A; + g[c] = A + (y - q); + } else + (A = m[c] ? m[c] : 0), + (y = q + A), + (q = n + A), + (m[c] = A + (y - q)); + c = t[h].color + ? t[h].color + : p._colorSet[h % p._colorSet.length]; + ea( + b, + x, + q, + v, + y, + c, + 0, + null, + u && 0 <= t[h].y, + 0 > t[h].y && u, + !1, + !1, + p.fillOpacity + ); + c = p.dataPointIds[h]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: k, + dataPointIndex: h, + x1: x, + y1: q, + x2: v, + y2: y, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + x, + q, + v, + y, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (t[h].indexLabel || + p.indexLabel || + t[h].indexLabelFormatter || + p.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedColumn", + dataPoint: t[h], + dataSeries: p, + point: { x: s, y: 0 <= t[h].y ? q : y }, + direction: 0 > t[h].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: x, + y1: Math.min(q, y), + x2: v, + y2: Math.max(q, y), + }, + color: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.yScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + n < a.axisY.bounds.y1 + ? a.axisY.bounds.y1 + : n > a.axisY.bounds.y2 + ? a.axisY.bounds.y2 + : n, + }; + } + }; + p.prototype.renderStackedColumn100 = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = [], + m = [], + l = [], + w = [], + h = 0, + s, + q, + n = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + h = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + s = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : (0.15 * this.width) << 0; + var f = a.axisX.dataInfo.minDiff; + isFinite(f) || (f = 0.3 * Math.abs(a.axisX.range)); + f = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.width * + (a.axisX.logarithmic + ? Math.log(f) / Math.log(a.axisX.range) + : Math.abs(f) / Math.abs(a.axisX.range))) / + a.plotType.plotUnits.length)) << + 0; + this.dataPointMaxWidth && + h > s && + (h = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + s + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + s < h && + (s = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + h + )); + f < h && (f = h); + f > s && (f = s); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var B = 0; B < a.dataSeriesIndexes.length; B++) { + var p = a.dataSeriesIndexes[B], + k = this.data[p], + t = k.dataPoints; + if (0 < t.length) + for ( + var u = 5 < f && k.bevelEnabled ? !0 : !1, h = 0; + h < t.length; + h++ + ) + if ( + ((c = t[h].x.getTime ? t[h].x.getTime() : t[h].x), + !( + c < a.axisX.dataInfo.viewPortMin || + c > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof t[h].y) + ) { + s = a.axisX.convertValueToPixel(c); + q = + 0 !== a.dataPointYSums[c] + ? 100 * (t[h].y / a.dataPointYSums[c]) + : 0; + var x = + (s - (a.plotType.plotUnits.length * f) / 2 + a.index * f) << + 0, + v = (x + f) << 0, + y; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 < t[h].y) + ) { + l[c] = q + ("undefined" !== typeof l[c] ? l[c] : 0); + if (0 >= l[c]) continue; + q = a.axisY.convertValueToPixel(l[c]); + y = g[c] ? g[c] : n; + g[c] = q; + } else if ( + a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 >= t[h].y + ) + (w[c] = q + ("undefined" !== typeof w[c] ? w[c] : 0)), + (y = a.axisY.convertValueToPixel(w[c])), + (q = m[c] ? m[c] : n), + (m[c] = y); + else if (((q = a.axisY.convertValueToPixel(q)), 0 <= t[h].y)) { + var A = "undefined" !== typeof g[c] ? g[c] : 0; + q -= A; + y = n - A; + a.dataSeriesIndexes.length - 1 === B && + 1 >= Math.abs(e.y1 - q) && + (q = e.y1); + g[c] = A + (y - q); + } else + (A = "undefined" !== typeof m[c] ? m[c] : 0), + (y = q + A), + (q = n + A), + a.dataSeriesIndexes.length - 1 === B && + 1 >= Math.abs(e.y2 - y) && + (y = e.y2), + (m[c] = A + (y - q)); + c = t[h].color + ? t[h].color + : k._colorSet[h % k._colorSet.length]; + ea( + b, + x, + q, + v, + y, + c, + 0, + null, + u && 0 <= t[h].y, + 0 > t[h].y && u, + !1, + !1, + k.fillOpacity + ); + c = k.dataPointIds[h]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: p, + dataPointIndex: h, + x1: x, + y1: q, + x2: v, + y2: y, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + x, + q, + v, + y, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (t[h].indexLabel || + k.indexLabel || + t[h].indexLabelFormatter || + k.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedColumn100", + dataPoint: t[h], + dataSeries: k, + point: { x: s, y: 0 <= t[h].y ? q : y }, + direction: 0 > t[h].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: x, + y1: Math.min(q, y), + x2: v, + y2: Math.max(q, y), + }, + color: c, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.yScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + n < a.axisY.bounds.y1 + ? a.axisY.bounds.y1 + : n > a.axisY.bounds.y2 + ? a.axisY.bounds.y2 + : n, + }; + } + }; + p.prototype.renderBar = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = 0, + m, + l, + w, + h = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + g = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1, + s = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : Math.min( + 0.15 * this.height, + 0.9 * (this.plotArea.height / a.plotType.totalDataSeries) + ) << 0, + q = a.axisX.dataInfo.minDiff; + isFinite(q) || (q = 0.3 * Math.abs(a.axisX.range)); + q = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.height * + (a.axisX.logarithmic + ? Math.log(q) / Math.log(a.axisX.range) + : Math.abs(q) / Math.abs(a.axisX.range))) / + a.plotType.totalDataSeries)) << + 0; + this.dataPointMaxWidth && + g > s && + (g = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + s + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + s < g && + (s = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + g + )); + q < g && (q = g); + q > s && (q = s); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (s = 0; s < a.dataSeriesIndexes.length; s++) { + var n = a.dataSeriesIndexes[s], + f = this.data[n], + B = f.dataPoints; + if (0 < B.length) { + var k = 5 < q && f.bevelEnabled ? !0 : !1; + b.strokeStyle = "#4572A7 "; + for (g = 0; g < B.length; g++) + if ( + (B[g].getTime ? (w = B[g].x.getTime()) : (w = B[g].x), + !( + w < a.axisX.dataInfo.viewPortMin || + w > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof B[g].y) + ) { + l = a.axisX.convertValueToPixel(w); + m = a.axisY.convertValueToPixel(B[g].y); + l = a.axisX.reversed + ? (l + + (a.plotType.totalDataSeries * q) / 2 - + (a.previousDataSeriesCount + s) * q) << + 0 + : (l - + (a.plotType.totalDataSeries * q) / 2 + + (a.previousDataSeriesCount + s) * q) << + 0; + var p = a.axisX.reversed ? (l - q) << 0 : (l + q) << 0, + t; + 0 <= B[g].y ? (t = h) : ((t = m), (m = h)); + c = B[g].color + ? B[g].color + : f._colorSet[g % f._colorSet.length]; + ea(b, t, l, m, p, c, 0, null, k, !1, !1, !1, f.fillOpacity); + c = f.dataPointIds[g]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: n, + dataPointIndex: g, + x1: t, + y1: l, + x2: m, + y2: p, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + t, + l, + m, + p, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (B[g].indexLabel || + f.indexLabel || + B[g].indexLabelFormatter || + f.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "bar", + dataPoint: B[g], + dataSeries: f, + point: { x: 0 <= B[g].y ? m : t, y: l + (p - l) / 2 }, + direction: 0 > B[g].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: Math.min(t, m), + y1: l, + x2: Math.max(t, m), + y2: p, + }, + color: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.xScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + h < a.axisY.bounds.x1 + ? a.axisY.bounds.x1 + : h > a.axisY.bounds.x2 + ? a.axisY.bounds.x2 + : h, + }; + } + }; + p.prototype.renderStackedBar = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = [], + m = [], + l = [], + w = [], + h = 0, + s, + q, + n = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + h = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + q = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : (0.15 * this.height) << 0; + var f = a.axisX.dataInfo.minDiff; + isFinite(f) || (f = 0.3 * Math.abs(a.axisX.range)); + f = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.height * + (a.axisX.logarithmic + ? Math.log(f) / Math.log(a.axisX.range) + : Math.abs(f) / Math.abs(a.axisX.range))) / + a.plotType.plotUnits.length)) << + 0; + this.dataPointMaxWidth && + h > q && + (h = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + q + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + q < h && + (q = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + h + )); + f < h && (f = h); + f > q && (f = q); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var B = 0; B < a.dataSeriesIndexes.length; B++) { + var p = a.dataSeriesIndexes[B], + k = this.data[p], + t = k.dataPoints; + if (0 < t.length) { + var u = 5 < f && k.bevelEnabled ? !0 : !1; + b.strokeStyle = "#4572A7 "; + for (h = 0; h < t.length; h++) + if ( + ((c = t[h].x.getTime ? t[h].x.getTime() : t[h].x), + !( + c < a.axisX.dataInfo.viewPortMin || + c > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof t[h].y) + ) { + q = a.axisX.convertValueToPixel(c); + var x = + (q - (a.plotType.plotUnits.length * f) / 2 + a.index * f) << + 0, + v = (x + f) << 0, + y; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 < t[h].y) + ) + (l[c] = t[h].y + (l[c] ? l[c] : 0)), + 0 < l[c] && + ((y = g[c] ? g[c] : n), + (g[c] = s = a.axisY.convertValueToPixel(l[c]))); + else if ( + a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 >= t[h].y + ) + (w[c] = t[h].y + (w[c] ? w[c] : 0)), + (s = m[c] ? m[c] : n), + (m[c] = y = a.axisY.convertValueToPixel(w[c])); + else if ( + ((s = a.axisY.convertValueToPixel(t[h].y)), 0 <= t[h].y) + ) { + var A = g[c] ? g[c] : 0; + y = n + A; + s += A; + g[c] = A + (s - y); + } else + (A = m[c] ? m[c] : 0), + (y = s - A), + (s = n - A), + (m[c] = A + (s - y)); + c = t[h].color + ? t[h].color + : k._colorSet[h % k._colorSet.length]; + ea(b, y, x, s, v, c, 0, null, u, !1, !1, !1, k.fillOpacity); + c = k.dataPointIds[h]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: p, + dataPointIndex: h, + x1: y, + y1: x, + x2: s, + y2: v, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + y, + x, + s, + v, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (t[h].indexLabel || + k.indexLabel || + t[h].indexLabelFormatter || + k.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedBar", + dataPoint: t[h], + dataSeries: k, + point: { x: 0 <= t[h].y ? s : y, y: q }, + direction: 0 > t[h].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: Math.min(y, s), + y1: x, + x2: Math.max(y, s), + y2: v, + }, + color: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.xScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + n < a.axisY.bounds.x1 + ? a.axisY.bounds.x1 + : n > a.axisY.bounds.x2 + ? a.axisY.bounds.x2 + : n, + }; + } + }; + p.prototype.renderStackedBar100 = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = [], + m = [], + l = [], + w = [], + h = 0, + s, + q, + n = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + h = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + q = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : (0.15 * this.height) << 0; + var f = a.axisX.dataInfo.minDiff; + isFinite(f) || (f = 0.3 * Math.abs(a.axisX.range)); + f = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.height * + (a.axisX.logarithmic + ? Math.log(f) / Math.log(a.axisX.range) + : Math.abs(f) / Math.abs(a.axisX.range))) / + a.plotType.plotUnits.length)) << + 0; + this.dataPointMaxWidth && + h > q && + (h = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + q + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + q < h && + (q = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + h + )); + f < h && (f = h); + f > q && (f = q); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var B = 0; B < a.dataSeriesIndexes.length; B++) { + var k = a.dataSeriesIndexes[B], + p = this.data[k], + t = p.dataPoints; + if (0 < t.length) { + var u = 5 < f && p.bevelEnabled ? !0 : !1; + b.strokeStyle = "#4572A7 "; + for (h = 0; h < t.length; h++) + if ( + ((c = t[h].x.getTime ? t[h].x.getTime() : t[h].x), + !( + c < a.axisX.dataInfo.viewPortMin || + c > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof t[h].y) + ) { + q = a.axisX.convertValueToPixel(c); + var x; + x = + 0 !== a.dataPointYSums[c] + ? 100 * (t[h].y / a.dataPointYSums[c]) + : 0; + var v = + (q - (a.plotType.plotUnits.length * f) / 2 + a.index * f) << + 0, + y = (v + f) << 0; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 < t[h].y) + ) { + l[c] = x + (l[c] ? l[c] : 0); + if (0 >= l[c]) continue; + x = g[c] ? g[c] : n; + g[c] = s = a.axisY.convertValueToPixel(l[c]); + } else if ( + a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length && + 0 >= t[h].y + ) + (w[c] = x + (w[c] ? w[c] : 0)), + (s = m[c] ? m[c] : n), + (m[c] = x = a.axisY.convertValueToPixel(w[c])); + else if (((s = a.axisY.convertValueToPixel(x)), 0 <= t[h].y)) { + var A = g[c] ? g[c] : 0; + x = n + A; + s += A; + a.dataSeriesIndexes.length - 1 === B && + 1 >= Math.abs(e.x2 - s) && + (s = e.x2); + g[c] = A + (s - x); + } else + (A = m[c] ? m[c] : 0), + (x = s - A), + (s = n - A), + a.dataSeriesIndexes.length - 1 === B && + 1 >= Math.abs(e.x1 - x) && + (x = e.x1), + (m[c] = A + (s - x)); + c = t[h].color + ? t[h].color + : p._colorSet[h % p._colorSet.length]; + ea(b, x, v, s, y, c, 0, null, u, !1, !1, !1, p.fillOpacity); + c = p.dataPointIds[h]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: k, + dataPointIndex: h, + x1: x, + y1: v, + x2: s, + y2: y, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + x, + v, + s, + y, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + (t[h].indexLabel || + p.indexLabel || + t[h].indexLabelFormatter || + p.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedBar100", + dataPoint: t[h], + dataSeries: p, + point: { x: 0 <= t[h].y ? s : x, y: q }, + direction: 0 > t[h].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: Math.min(x, s), + y1: v, + x2: Math.max(x, s), + y2: y, + }, + color: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.xScaleAnimation, + easingFunction: M.easing.easeOutQuart, + animationBase: + n < a.axisY.bounds.x1 + ? a.axisY.bounds.x1 + : n > a.axisY.bounds.x2 + ? a.axisY.bounds.x2 + : n, + }; + } + }; + p.prototype.renderArea = function (a) { + var d, b; + function c() { + A && + (0 < B.lineThickness && g.stroke(), + a.axisY.logarithmic || + (0 >= a.axisY.viewportMinimum && 0 <= a.axisY.viewportMaximum) + ? (y = v) + : 0 > a.axisY.viewportMaximum + ? (y = w.y1) + : 0 < a.axisY.viewportMinimum && (y = l.y2), + g.lineTo(t, y), + g.lineTo(A.x, y), + g.closePath(), + (g.globalAlpha = B.fillOpacity), + g.fill(), + (g.globalAlpha = 1), + r && (m.lineTo(t, y), m.lineTo(A.x, y), m.closePath(), m.fill()), + g.beginPath(), + g.moveTo(t, u), + m.beginPath(), + m.moveTo(t, u), + (A = { x: t, y: u })); + } + var e = a.targetCanvasCtx || this.plotArea.ctx, + g = r ? this._preRenderCtx : e; + if (!(0 >= a.dataSeriesIndexes.length)) { + var m = this._eventManager.ghostCtx, + l = a.axisX.lineCoordinates, + w = a.axisY.lineCoordinates, + h = [], + s = this.plotArea, + q; + g.save(); + r && m.save(); + g.beginPath(); + g.rect(s.x1, s.y1, s.width, s.height); + g.clip(); + r && (m.beginPath(), m.rect(s.x1, s.y1, s.width, s.height), m.clip()); + for (var n = 0; n < a.dataSeriesIndexes.length; n++) { + var f = a.dataSeriesIndexes[n], + B = this.data[f], + p = B.dataPoints, + h = B.id; + this._eventManager.objectMap[h] = { + objectType: "dataSeries", + dataSeriesIndex: f, + }; + h = N(h); + m.fillStyle = h; + h = []; + d = !0; + var k = 0, + t, + u, + x, + v = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + y, + A = null; + if (0 < p.length) { + var z = B._colorSet[k % B._colorSet.length], + aa = (B.lineColor = B.options.lineColor || z), + T = aa; + g.fillStyle = z; + g.strokeStyle = aa; + g.lineWidth = B.lineThickness; + b = "solid"; + if (g.setLineDash) { + var Y = R(B.nullDataLineDashType, B.lineThickness); + b = B.lineDashType; + var ca = R(b, B.lineThickness); + g.setLineDash(ca); + } + for (var da = !0; k < p.length; k++) + if ( + ((x = p[k].x.getTime ? p[k].x.getTime() : p[k].x), + !( + x < a.axisX.dataInfo.viewPortMin || + (x > a.axisX.dataInfo.viewPortMax && + (!B.connectNullData || !da)) + )) + ) + if ("number" !== typeof p[k].y) + B.connectNullData || da || d || c(), (da = !0); + else { + t = a.axisX.convertValueToPixel(x); + u = a.axisY.convertValueToPixel(p[k].y); + d || da + ? (!d && B.connectNullData + ? (g.setLineDash && + (B.options.nullDataLineDashType || + (b === B.lineDashType && + B.lineDashType !== B.nullDataLineDashType)) && + ((d = t), + (b = u), + (t = q.x), + (u = q.y), + c(), + g.moveTo(q.x, q.y), + (t = d), + (u = b), + (A = q), + (b = B.nullDataLineDashType), + g.setLineDash(Y)), + g.lineTo(t, u), + r && m.lineTo(t, u)) + : (g.beginPath(), + g.moveTo(t, u), + r && (m.beginPath(), m.moveTo(t, u)), + (A = { x: t, y: u })), + (da = d = !1)) + : (g.lineTo(t, u), + r && m.lineTo(t, u), + 0 == k % 250 && c()); + q = { x: t, y: u }; + k < p.length - 1 && + (T !== (p[k].lineColor || aa) || + b !== (p[k].lineDashType || B.lineDashType)) && + (c(), + (T = p[k].lineColor || aa), + (g.strokeStyle = T), + g.setLineDash && + (p[k].lineDashType + ? ((b = p[k].lineDashType), + g.setLineDash(R(b, B.lineThickness))) + : ((b = B.lineDashType), g.setLineDash(ca)))); + var Z = B.dataPointIds[k]; + this._eventManager.objectMap[Z] = { + id: Z, + objectType: "dataPoint", + dataSeriesIndex: f, + dataPointIndex: k, + x1: t, + y1: u, + }; + 0 !== p[k].markerSize && + (0 < p[k].markerSize || 0 < B.markerSize) && + ((x = B.getMarkerProperties(k, t, u, g)), + h.push(x), + (Z = N(Z)), + r && + h.push({ + x: t, + y: u, + ctx: m, + type: x.type, + size: x.size, + color: Z, + borderColor: Z, + borderThickness: x.borderThickness, + })); + (p[k].indexLabel || + B.indexLabel || + p[k].indexLabelFormatter || + B.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "area", + dataPoint: p[k], + dataSeries: B, + point: { x: t, y: u }, + direction: 0 > p[k].y === a.axisY.reversed ? 1 : -1, + color: z, + }); + } + c(); + ia.drawMarkers(h); + } + } + r && + (e.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (g.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + g.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + g.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + g.clearRect(s.x1, s.y1, s.width, s.height), + this._eventManager.ghostCtx.restore()); + g.restore(); + return { + source: e, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderSplineArea = function (a) { + function d() { + var b = v(x, 2); + if (0 < b.length) { + if (0 < q.lineThickness) { + c.beginPath(); + c.moveTo(b[0].x, b[0].y); + b[0].newStrokeStyle && (c.strokeStyle = b[0].newStrokeStyle); + b[0].newLineDashArray && c.setLineDash(b[0].newLineDashArray); + for (var d = 0; d < b.length - 3; d += 3) + if ( + (c.bezierCurveTo( + b[d + 1].x, + b[d + 1].y, + b[d + 2].x, + b[d + 2].y, + b[d + 3].x, + b[d + 3].y + ), + r && + e.bezierCurveTo( + b[d + 1].x, + b[d + 1].y, + b[d + 2].x, + b[d + 2].y, + b[d + 3].x, + b[d + 3].y + ), + b[d + 3].newStrokeStyle || b[d + 3].newLineDashArray) + ) + c.stroke(), + c.beginPath(), + c.moveTo(b[d + 3].x, b[d + 3].y), + b[d + 3].newStrokeStyle && + (c.strokeStyle = b[d + 3].newStrokeStyle), + b[d + 3].newLineDashArray && + c.setLineDash(b[d + 3].newLineDashArray); + c.stroke(); + } + c.beginPath(); + c.moveTo(b[0].x, b[0].y); + r && (e.beginPath(), e.moveTo(b[0].x, b[0].y)); + for (d = 0; d < b.length - 3; d += 3) + c.bezierCurveTo( + b[d + 1].x, + b[d + 1].y, + b[d + 2].x, + b[d + 2].y, + b[d + 3].x, + b[d + 3].y + ), + r && + e.bezierCurveTo( + b[d + 1].x, + b[d + 1].y, + b[d + 2].x, + b[d + 2].y, + b[d + 3].x, + b[d + 3].y + ); + a.axisY.logarithmic || + (0 >= a.axisY.viewportMinimum && 0 <= a.axisY.viewportMaximum) + ? (t = p) + : 0 > a.axisY.viewportMaximum + ? (t = m.y1) + : 0 < a.axisY.viewportMinimum && (t = g.y2); + u = { x: b[0].x, y: b[0].y }; + c.lineTo(b[b.length - 1].x, t); + c.lineTo(u.x, t); + c.closePath(); + c.globalAlpha = q.fillOpacity; + c.fill(); + c.globalAlpha = 1; + r && + (e.lineTo(b[b.length - 1].x, t), + e.lineTo(u.x, t), + e.closePath(), + e.fill()); + } + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = this._eventManager.ghostCtx, + g = a.axisX.lineCoordinates, + m = a.axisY.lineCoordinates, + l = [], + w = this.plotArea; + c.save(); + r && e.save(); + c.beginPath(); + c.rect(w.x1, w.y1, w.width, w.height); + c.clip(); + r && (e.beginPath(), e.rect(w.x1, w.y1, w.width, w.height), e.clip()); + for (var h = 0; h < a.dataSeriesIndexes.length; h++) { + var s = a.dataSeriesIndexes[h], + q = this.data[s], + n = q.dataPoints, + l = q.id; + this._eventManager.objectMap[l] = { + objectType: "dataSeries", + dataSeriesIndex: s, + }; + l = N(l); + e.fillStyle = l; + var l = [], + f = 0, + B, + k, + p = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + t, + u = null, + x = []; + if (0 < n.length) { + var ma = q._colorSet[f % q._colorSet.length], + y = (q.lineColor = q.options.lineColor || ma), + A = y; + c.fillStyle = ma; + c.strokeStyle = y; + c.lineWidth = q.lineThickness; + var z = "solid"; + if (c.setLineDash) { + var aa = R(q.nullDataLineDashType, q.lineThickness), + z = q.lineDashType, + T = R(z, q.lineThickness); + c.setLineDash(T); + } + for (k = !1; f < n.length; f++) + if ( + ((B = n[f].x.getTime ? n[f].x.getTime() : n[f].x), + !( + B < a.axisX.dataInfo.viewPortMin || + (B > a.axisX.dataInfo.viewPortMax && + (!q.connectNullData || !k)) + )) + ) + if ("number" !== typeof n[f].y) + 0 < f && + !k && + (q.connectNullData + ? c.setLineDash && + 0 < x.length && + (q.options.nullDataLineDashType || + !n[f - 1].lineDashType) && + ((x[x.length - 1].newLineDashArray = aa), + (z = q.nullDataLineDashType)) + : (d(), (x = []))), + (k = !0); + else { + B = a.axisX.convertValueToPixel(B); + k = a.axisY.convertValueToPixel(n[f].y); + var Y = q.dataPointIds[f]; + this._eventManager.objectMap[Y] = { + id: Y, + objectType: "dataPoint", + dataSeriesIndex: s, + dataPointIndex: f, + x1: B, + y1: k, + }; + x[x.length] = { x: B, y: k }; + f < n.length - 1 && + (A !== (n[f].lineColor || y) || + z !== (n[f].lineDashType || q.lineDashType)) && + ((A = n[f].lineColor || y), + (x[x.length - 1].newStrokeStyle = A), + c.setLineDash && + (n[f].lineDashType + ? ((z = n[f].lineDashType), + (x[x.length - 1].newLineDashArray = R( + z, + q.lineThickness + ))) + : ((z = q.lineDashType), + (x[x.length - 1].newLineDashArray = T)))); + if ( + 0 !== n[f].markerSize && + (0 < n[f].markerSize || 0 < q.markerSize) + ) { + var ca = q.getMarkerProperties(f, B, k, c); + l.push(ca); + Y = N(Y); + r && + l.push({ + x: B, + y: k, + ctx: e, + type: ca.type, + size: ca.size, + color: Y, + borderColor: Y, + borderThickness: ca.borderThickness, + }); + } + (n[f].indexLabel || + q.indexLabel || + n[f].indexLabelFormatter || + q.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "splineArea", + dataPoint: n[f], + dataSeries: q, + point: { x: B, y: k }, + direction: 0 > n[f].y === a.axisY.reversed ? 1 : -1, + color: ma, + }); + k = !1; + } + d(); + ia.drawMarkers(l); + } + } + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(w.x1, w.y1, w.width, w.height), + this._eventManager.ghostCtx.restore()); + c.restore(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderStepArea = function (a) { + var d, b; + function c() { + A && + (0 < B.lineThickness && g.stroke(), + a.axisY.logarithmic || + (0 >= a.axisY.viewportMinimum && 0 <= a.axisY.viewportMaximum) + ? (y = v) + : 0 > a.axisY.viewportMaximum + ? (y = w.y1) + : 0 < a.axisY.viewportMinimum && (y = l.y2), + g.lineTo(t, y), + g.lineTo(A.x, y), + g.closePath(), + (g.globalAlpha = B.fillOpacity), + g.fill(), + (g.globalAlpha = 1), + r && (m.lineTo(t, y), m.lineTo(A.x, y), m.closePath(), m.fill()), + g.beginPath(), + g.moveTo(t, u), + m.beginPath(), + m.moveTo(t, u), + (A = { x: t, y: u })); + } + var e = a.targetCanvasCtx || this.plotArea.ctx, + g = r ? this._preRenderCtx : e; + if (!(0 >= a.dataSeriesIndexes.length)) { + var m = this._eventManager.ghostCtx, + l = a.axisX.lineCoordinates, + w = a.axisY.lineCoordinates, + h = [], + s = this.plotArea, + q; + g.save(); + r && m.save(); + g.beginPath(); + g.rect(s.x1, s.y1, s.width, s.height); + g.clip(); + r && (m.beginPath(), m.rect(s.x1, s.y1, s.width, s.height), m.clip()); + for (var n = 0; n < a.dataSeriesIndexes.length; n++) { + var f = a.dataSeriesIndexes[n], + B = this.data[f], + k = B.dataPoints, + h = B.id; + this._eventManager.objectMap[h] = { + objectType: "dataSeries", + dataSeriesIndex: f, + }; + h = N(h); + m.fillStyle = h; + h = []; + d = !0; + var p = 0, + t, + u, + x, + v = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + y, + A = null; + b = !1; + if (0 < k.length) { + var z = B._colorSet[p % B._colorSet.length], + aa = (B.lineColor = B.options.lineColor || z), + T = aa; + g.fillStyle = z; + g.strokeStyle = aa; + g.lineWidth = B.lineThickness; + var Y = "solid"; + if (g.setLineDash) { + var ca = R(B.nullDataLineDashType, B.lineThickness), + Y = B.lineDashType, + da = R(Y, B.lineThickness); + g.setLineDash(da); + } + for (; p < k.length; p++) + if ( + ((x = k[p].x.getTime ? k[p].x.getTime() : k[p].x), + !( + x < a.axisX.dataInfo.viewPortMin || + (x > a.axisX.dataInfo.viewPortMax && + (!B.connectNullData || !b)) + )) + ) { + var Z = u; + "number" !== typeof k[p].y + ? (B.connectNullData || b || d || c(), (b = !0)) + : ((t = a.axisX.convertValueToPixel(x)), + (u = a.axisY.convertValueToPixel(k[p].y)), + d || b + ? (!d && B.connectNullData + ? (g.setLineDash && + (B.options.nullDataLineDashType || + (Y === B.lineDashType && + B.lineDashType !== B.nullDataLineDashType)) && + ((d = t), + (b = u), + (t = q.x), + (u = q.y), + c(), + g.moveTo(q.x, q.y), + (t = d), + (u = b), + (A = q), + (Y = B.nullDataLineDashType), + g.setLineDash(ca)), + g.lineTo(t, Z), + g.lineTo(t, u), + r && (m.lineTo(t, Z), m.lineTo(t, u))) + : (g.beginPath(), + g.moveTo(t, u), + r && (m.beginPath(), m.moveTo(t, u)), + (A = { x: t, y: u })), + (b = d = !1)) + : (g.lineTo(t, Z), + r && m.lineTo(t, Z), + g.lineTo(t, u), + r && m.lineTo(t, u), + 0 == p % 250 && c()), + (q = { x: t, y: u }), + p < k.length - 1 && + (T !== (k[p].lineColor || aa) || + Y !== (k[p].lineDashType || B.lineDashType)) && + (c(), + (T = k[p].lineColor || aa), + (g.strokeStyle = T), + g.setLineDash && + (k[p].lineDashType + ? ((Y = k[p].lineDashType), + g.setLineDash(R(Y, B.lineThickness))) + : ((Y = B.lineDashType), g.setLineDash(da)))), + (x = B.dataPointIds[p]), + (this._eventManager.objectMap[x] = { + id: x, + objectType: "dataPoint", + dataSeriesIndex: f, + dataPointIndex: p, + x1: t, + y1: u, + }), + 0 !== k[p].markerSize && + (0 < k[p].markerSize || 0 < B.markerSize) && + ((Z = B.getMarkerProperties(p, t, u, g)), + h.push(Z), + (x = N(x)), + r && + h.push({ + x: t, + y: u, + ctx: m, + type: Z.type, + size: Z.size, + color: x, + borderColor: x, + borderThickness: Z.borderThickness, + })), + (k[p].indexLabel || + B.indexLabel || + k[p].indexLabelFormatter || + B.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stepArea", + dataPoint: k[p], + dataSeries: B, + point: { x: t, y: u }, + direction: 0 > k[p].y === a.axisY.reversed ? 1 : -1, + color: z, + })); + } + c(); + ia.drawMarkers(h); + } + } + r && + (e.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (g.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + g.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + g.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + g.clearRect(s.x1, s.y1, s.width, s.height), + this._eventManager.ghostCtx.restore()); + g.restore(); + return { + source: e, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderStackedArea = function (a) { + function d() { + if (!(1 > h.length)) { + for (0 < A.lineThickness && c.stroke(); 0 < h.length; ) { + var a = h.pop(); + c.lineTo(a.x, a.y); + r && u.lineTo(a.x, a.y); + } + c.closePath(); + c.globalAlpha = A.fillOpacity; + c.fill(); + c.globalAlpha = 1; + c.beginPath(); + r && (u.closePath(), u.fill(), u.beginPath()); + h = []; + } + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = null, + g = null, + m = [], + l = this.plotArea, + w = [], + h = [], + s = [], + q = [], + n = 0, + f, + k, + p = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + u = this._eventManager.ghostCtx, + t, + C, + x; + r && u.beginPath(); + c.save(); + r && u.save(); + c.beginPath(); + c.rect(l.x1, l.y1, l.width, l.height); + c.clip(); + r && (u.beginPath(), u.rect(l.x1, l.y1, l.width, l.height), u.clip()); + for (var e = [], v = 0; v < a.dataSeriesIndexes.length; v++) { + var y = a.dataSeriesIndexes[v], + A = this.data[y], + z = A.dataPoints; + A.dataPointIndexes = []; + for (n = 0; n < z.length; n++) + (y = z[n].x.getTime ? z[n].x.getTime() : z[n].x), + (A.dataPointIndexes[y] = n), + e[y] || (s.push(y), (e[y] = !0)); + s.sort(Sa); + } + for (v = 0; v < a.dataSeriesIndexes.length; v++) { + y = a.dataSeriesIndexes[v]; + A = this.data[y]; + z = A.dataPoints; + C = !0; + h = []; + n = A.id; + this._eventManager.objectMap[n] = { + objectType: "dataSeries", + dataSeriesIndex: y, + }; + n = N(n); + u.fillStyle = n; + if (0 < s.length) { + var e = A._colorSet[0], + aa = (A.lineColor = A.options.lineColor || e), + T = aa; + c.fillStyle = e; + c.strokeStyle = aa; + c.lineWidth = A.lineThickness; + x = "solid"; + if (c.setLineDash) { + var Y = R(A.nullDataLineDashType, A.lineThickness); + x = A.lineDashType; + var ca = R(x, A.lineThickness); + c.setLineDash(ca); + } + for (var da = !0, n = 0; n < s.length; n++) { + var g = s[n], + Z = null, + Z = + 0 <= A.dataPointIndexes[g] + ? z[A.dataPointIndexes[g]] + : { x: g, y: null }; + if ( + !( + g < a.axisX.dataInfo.viewPortMin || + (g > a.axisX.dataInfo.viewPortMax && + (!A.connectNullData || !da)) + ) + ) + if ("number" !== typeof Z.y) + A.connectNullData || da || C || d(), (da = !0); + else { + f = a.axisX.convertValueToPixel(g); + var oa = w[g] ? w[g] : 0; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length) + ) { + q[g] = Z.y + (q[g] ? q[g] : 0); + if (0 >= q[g] && a.axisY.logarithmic) continue; + k = a.axisY.convertValueToPixel(q[g]); + } else (k = a.axisY.convertValueToPixel(Z.y)), (k -= oa); + h.push({ x: f, y: p - oa }); + w[g] = p - k; + C || da + ? (!C && A.connectNullData + ? (c.setLineDash && + (A.options.nullDataLineDashType || + (x === A.lineDashType && + A.lineDashType !== A.nullDataLineDashType)) && + ((C = h.pop()), + (x = h[h.length - 1]), + d(), + c.moveTo(t.x, t.y), + h.push(x), + h.push(C), + (x = A.nullDataLineDashType), + c.setLineDash(Y)), + c.lineTo(f, k), + r && u.lineTo(f, k)) + : (c.beginPath(), + c.moveTo(f, k), + r && (u.beginPath(), u.moveTo(f, k))), + (da = C = !1)) + : (c.lineTo(f, k), + r && u.lineTo(f, k), + 0 == n % 250 && + (d(), + c.moveTo(f, k), + r && u.moveTo(f, k), + h.push({ x: f, y: p - oa }))); + t = { x: f, y: k }; + n < z.length - 1 && + (T !== (z[n].lineColor || aa) || + x !== (z[n].lineDashType || A.lineDashType)) && + (d(), + c.beginPath(), + c.moveTo(f, k), + h.push({ x: f, y: p - oa }), + (T = z[n].lineColor || aa), + (c.strokeStyle = T), + c.setLineDash && + (z[n].lineDashType + ? ((x = z[n].lineDashType), + c.setLineDash(R(x, A.lineThickness))) + : ((x = A.lineDashType), c.setLineDash(ca)))); + if (0 <= A.dataPointIndexes[g]) { + var la = A.dataPointIds[A.dataPointIndexes[g]]; + this._eventManager.objectMap[la] = { + id: la, + objectType: "dataPoint", + dataSeriesIndex: y, + dataPointIndex: A.dataPointIndexes[g], + x1: f, + y1: k, + }; + } + 0 <= A.dataPointIndexes[g] && + 0 !== Z.markerSize && + (0 < Z.markerSize || 0 < A.markerSize) && + ((oa = A.getMarkerProperties( + A.dataPointIndexes[g], + f, + k, + c + )), + m.push(oa), + (g = N(la)), + r && + m.push({ + x: f, + y: k, + ctx: u, + type: oa.type, + size: oa.size, + color: g, + borderColor: g, + borderThickness: oa.borderThickness, + })); + (Z.indexLabel || + A.indexLabel || + Z.indexLabelFormatter || + A.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedArea", + dataPoint: Z, + dataSeries: A, + point: { x: f, y: k }, + direction: 0 > z[n].y === a.axisY.reversed ? 1 : -1, + color: e, + }); + } + } + d(); + c.moveTo(f, k); + r && u.moveTo(f, k); + } + delete A.dataPointIndexes; + } + ia.drawMarkers(m); + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(l.x1, l.y1, l.width, l.height), + u.restore()); + c.restore(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderStackedArea100 = function (a) { + function d() { + for (0 < A.lineThickness && c.stroke(); 0 < h.length; ) { + var a = h.pop(); + c.lineTo(a.x, a.y); + r && x.lineTo(a.x, a.y); + } + c.closePath(); + c.globalAlpha = A.fillOpacity; + c.fill(); + c.globalAlpha = 1; + c.beginPath(); + r && (x.closePath(), x.fill(), x.beginPath()); + h = []; + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = null, + g = null, + m = this.plotArea, + l = [], + w = [], + h = [], + s = [], + q = [], + n = 0, + f, + k, + p, + u, + t, + C = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + x = this._eventManager.ghostCtx; + c.save(); + r && x.save(); + c.beginPath(); + c.rect(m.x1, m.y1, m.width, m.height); + c.clip(); + r && (x.beginPath(), x.rect(m.x1, m.y1, m.width, m.height), x.clip()); + for (var e = [], v = 0; v < a.dataSeriesIndexes.length; v++) { + var y = a.dataSeriesIndexes[v], + A = this.data[y], + z = A.dataPoints; + A.dataPointIndexes = []; + for (n = 0; n < z.length; n++) + (y = z[n].x.getTime ? z[n].x.getTime() : z[n].x), + (A.dataPointIndexes[y] = n), + e[y] || (s.push(y), (e[y] = !0)); + s.sort(Sa); + } + for (v = 0; v < a.dataSeriesIndexes.length; v++) { + y = a.dataSeriesIndexes[v]; + A = this.data[y]; + z = A.dataPoints; + u = !0; + e = A.id; + this._eventManager.objectMap[e] = { + objectType: "dataSeries", + dataSeriesIndex: y, + }; + e = N(e); + x.fillStyle = e; + h = []; + if (0 < s.length) { + var e = A._colorSet[n % A._colorSet.length], + aa = (A.lineColor = A.options.lineColor || e), + T = aa; + c.fillStyle = e; + c.strokeStyle = aa; + c.lineWidth = A.lineThickness; + t = "solid"; + if (c.setLineDash) { + var Y = R(A.nullDataLineDashType, A.lineThickness); + t = A.lineDashType; + var ca = R(t, A.lineThickness); + c.setLineDash(ca); + } + for (var da = !0, n = 0; n < s.length; n++) { + var g = s[n], + Z = null, + Z = + 0 <= A.dataPointIndexes[g] + ? z[A.dataPointIndexes[g]] + : { x: g, y: null }; + if ( + !( + g < a.axisX.dataInfo.viewPortMin || + (g > a.axisX.dataInfo.viewPortMax && + (!A.connectNullData || !da)) + ) + ) + if ("number" !== typeof Z.y) + A.connectNullData || da || u || d(), (da = !0); + else { + var oa; + oa = + 0 !== a.dataPointYSums[g] + ? 100 * (Z.y / a.dataPointYSums[g]) + : 0; + f = a.axisX.convertValueToPixel(g); + var la = w[g] ? w[g] : 0; + if ( + a.axisY.logarithmic || + (a.axisY.scaleBreaks && + 0 < a.axisY.scaleBreaks._appliedBreaks.length) + ) { + q[g] = oa + (q[g] ? q[g] : 0); + if (0 >= q[g] && a.axisY.logarithmic) continue; + k = a.axisY.convertValueToPixel(q[g]); + } else (k = a.axisY.convertValueToPixel(oa)), (k -= la); + h.push({ x: f, y: C - la }); + w[g] = C - k; + u || da + ? (!u && A.connectNullData + ? (c.setLineDash && + (A.options.nullDataLineDashType || + (t === A.lineDashType && + A.lineDashType !== A.nullDataLineDashType)) && + ((u = h.pop()), + (t = h[h.length - 1]), + d(), + c.moveTo(p.x, p.y), + h.push(t), + h.push(u), + (t = A.nullDataLineDashType), + c.setLineDash(Y)), + c.lineTo(f, k), + r && x.lineTo(f, k)) + : (c.beginPath(), + c.moveTo(f, k), + r && (x.beginPath(), x.moveTo(f, k))), + (da = u = !1)) + : (c.lineTo(f, k), + r && x.lineTo(f, k), + 0 == n % 250 && + (d(), + c.moveTo(f, k), + r && x.moveTo(f, k), + h.push({ x: f, y: C - la }))); + p = { x: f, y: k }; + n < z.length - 1 && + (T !== (z[n].lineColor || aa) || + t !== (z[n].lineDashType || A.lineDashType)) && + (d(), + c.beginPath(), + c.moveTo(f, k), + h.push({ x: f, y: C - la }), + (T = z[n].lineColor || aa), + (c.strokeStyle = T), + c.setLineDash && + (z[n].lineDashType + ? ((t = z[n].lineDashType), + c.setLineDash(R(t, A.lineThickness))) + : ((t = A.lineDashType), c.setLineDash(ca)))); + if (0 <= A.dataPointIndexes[g]) { + var G = A.dataPointIds[A.dataPointIndexes[g]]; + this._eventManager.objectMap[G] = { + id: G, + objectType: "dataPoint", + dataSeriesIndex: y, + dataPointIndex: A.dataPointIndexes[g], + x1: f, + y1: k, + }; + } + 0 <= A.dataPointIndexes[g] && + 0 !== Z.markerSize && + (0 < Z.markerSize || 0 < A.markerSize) && + ((la = A.getMarkerProperties(n, f, k, c)), + l.push(la), + (g = N(G)), + r && + l.push({ + x: f, + y: k, + ctx: x, + type: la.type, + size: la.size, + color: g, + borderColor: g, + borderThickness: la.borderThickness, + })); + (Z.indexLabel || + A.indexLabel || + Z.indexLabelFormatter || + A.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "stackedArea100", + dataPoint: Z, + dataSeries: A, + point: { x: f, y: k }, + direction: 0 > z[n].y === a.axisY.reversed ? 1 : -1, + color: e, + }); + } + } + d(); + c.moveTo(f, k); + r && x.moveTo(f, k); + } + delete A.dataPointIndexes; + } + ia.drawMarkers(l); + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(m.x1, m.y1, m.width, m.height), + x.restore()); + c.restore(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderBubble = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = this.plotArea, + e = 0, + g, + m; + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(c.x1, c.y1, c.width, c.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(c.x1, c.y1, c.width, c.height), + this._eventManager.ghostCtx.clip()); + for ( + var l = -Infinity, w = Infinity, h = 0; + h < a.dataSeriesIndexes.length; + h++ + ) + for ( + var s = a.dataSeriesIndexes[h], + q = this.data[s], + n = q.dataPoints, + f = 0, + e = 0; + e < n.length; + e++ + ) + (g = n[e].getTime ? (g = n[e].x.getTime()) : (g = n[e].x)), + g < a.axisX.dataInfo.viewPortMin || + g > a.axisX.dataInfo.viewPortMax || + "undefined" === typeof n[e].z || + ((f = n[e].z), f > l && (l = f), f < w && (w = f)); + for ( + var k = 25 * Math.PI, + p = Math.max( + Math.pow((0.25 * Math.min(c.height, c.width)) / 2, 2) * Math.PI, + k + ), + h = 0; + h < a.dataSeriesIndexes.length; + h++ + ) + if ( + ((s = a.dataSeriesIndexes[h]), + (q = this.data[s]), + (n = q.dataPoints), + 0 < n.length) + ) + for (b.strokeStyle = "#4572A7 ", e = 0; e < n.length; e++) + if ( + ((g = n[e].getTime ? (g = n[e].x.getTime()) : (g = n[e].x)), + !( + g < a.axisX.dataInfo.viewPortMin || + g > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof n[e].y) + ) { + g = a.axisX.convertValueToPixel(g); + m = a.axisY.convertValueToPixel(n[e].y); + var f = n[e].z, + u = + 2 * + Math.max( + Math.sqrt( + (l === w ? p / 2 : k + ((p - k) / (l - w)) * (f - w)) / + Math.PI + ) << 0, + 1 + ), + f = q.getMarkerProperties(e, b); + f.size = u; + b.globalAlpha = q.fillOpacity; + ia.drawMarker( + g, + m, + b, + f.type, + f.size, + f.color, + f.borderColor, + f.borderThickness + ); + b.globalAlpha = 1; + var t = q.dataPointIds[e]; + this._eventManager.objectMap[t] = { + id: t, + objectType: "dataPoint", + dataSeriesIndex: s, + dataPointIndex: e, + x1: g, + y1: m, + size: u, + }; + u = N(t); + r && + ia.drawMarker( + g, + m, + this._eventManager.ghostCtx, + f.type, + f.size, + u, + u, + f.borderThickness + ); + (n[e].indexLabel || + q.indexLabel || + n[e].indexLabelFormatter || + q.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "bubble", + dataPoint: n[e], + dataSeries: q, + point: { x: g, y: m }, + direction: 1, + bounds: { + x1: g - f.size / 2, + y1: m - f.size / 2, + x2: g + f.size / 2, + y2: m + f.size / 2, + }, + color: null, + }); + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(c.x1, c.y1, c.width, c.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderScatter = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = this.plotArea, + e = 0, + g, + m; + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(c.x1, c.y1, c.width, c.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(c.x1, c.y1, c.width, c.height), + this._eventManager.ghostCtx.clip()); + for (var l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = a.dataSeriesIndexes[l], + h = this.data[w], + s = h.dataPoints; + if (0 < s.length) { + b.strokeStyle = "#4572A7 "; + Math.pow((0.3 * Math.min(c.height, c.width)) / 2, 2); + for (var q = 0, n = 0, e = 0; e < s.length; e++) + if ( + ((g = s[e].getTime ? (g = s[e].x.getTime()) : (g = s[e].x)), + !( + g < a.axisX.dataInfo.viewPortMin || + g > a.axisX.dataInfo.viewPortMax + ) && "number" === typeof s[e].y) + ) { + g = a.axisX.convertValueToPixel(g); + m = a.axisY.convertValueToPixel(s[e].y); + var f = h.getMarkerProperties(e, g, m, b); + b.globalAlpha = h.fillOpacity; + ia.drawMarker( + f.x, + f.y, + f.ctx, + f.type, + f.size, + f.color, + f.borderColor, + f.borderThickness + ); + b.globalAlpha = 1; + (Math.sqrt((q - g) * (q - g) + (n - m) * (n - m)) < + Math.min(f.size, 5) && + s.length > + Math.min(this.plotArea.width, this.plotArea.height)) || + ((q = h.dataPointIds[e]), + (this._eventManager.objectMap[q] = { + id: q, + objectType: "dataPoint", + dataSeriesIndex: w, + dataPointIndex: e, + x1: g, + y1: m, + }), + (q = N(q)), + r && + ia.drawMarker( + f.x, + f.y, + this._eventManager.ghostCtx, + f.type, + f.size, + q, + q, + f.borderThickness + ), + (s[e].indexLabel || + h.indexLabel || + s[e].indexLabelFormatter || + h.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "scatter", + dataPoint: s[e], + dataSeries: h, + point: { x: g, y: m }, + direction: 1, + bounds: { + x1: g - f.size / 2, + y1: m - f.size / 2, + x2: g + f.size / 2, + y2: m + f.size / 2, + }, + color: null, + }), + (q = g), + (n = m)); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(c.x1, c.y1, c.width, c.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderCandlestick = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d, + c = this._eventManager.ghostCtx; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = null, + g = null, + m = this.plotArea, + l = 0, + w, + h, + s, + q, + n, + f, + e = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1, + g = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 0.015 * this.width, + k = a.axisX.dataInfo.minDiff; + isFinite(k) || (k = 0.3 * Math.abs(a.axisX.range)); + k = this.options.dataPointWidth + ? this.dataPointWidth + : (0.7 * + m.width * + (a.axisX.logarithmic + ? Math.log(k) / Math.log(a.axisX.range) + : Math.abs(k) / Math.abs(a.axisX.range))) << + 0; + this.dataPointMaxWidth && + e > g && + (e = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + g + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + g < e && + (g = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + e + )); + k < e && (k = e); + k > g && (k = g); + b.save(); + r && c.save(); + b.beginPath(); + b.rect(m.x1, m.y1, m.width, m.height); + b.clip(); + r && (c.beginPath(), c.rect(m.x1, m.y1, m.width, m.height), c.clip()); + for (var p = 0; p < a.dataSeriesIndexes.length; p++) { + var v = a.dataSeriesIndexes[p], + t = this.data[v], + C = t.dataPoints; + if (0 < C.length) + for ( + var x = 5 < k && t.bevelEnabled ? !0 : !1, l = 0; + l < C.length; + l++ + ) + if ( + (C[l].getTime ? (f = C[l].x.getTime()) : (f = C[l].x), + !( + f < a.axisX.dataInfo.viewPortMin || + f > a.axisX.dataInfo.viewPortMax + ) && + !u(C[l].y) && + C[l].y.length && + "number" === typeof C[l].y[0] && + "number" === typeof C[l].y[1] && + "number" === typeof C[l].y[2] && + "number" === typeof C[l].y[3]) + ) { + w = a.axisX.convertValueToPixel(f); + h = a.axisY.convertValueToPixel(C[l].y[0]); + s = a.axisY.convertValueToPixel(C[l].y[1]); + q = a.axisY.convertValueToPixel(C[l].y[2]); + n = a.axisY.convertValueToPixel(C[l].y[3]); + var z = (w - k / 2) << 0, + y = (z + k) << 0, + g = t.options.fallingColor ? t.fallingColor : t._colorSet[0], + e = C[l].color ? C[l].color : t._colorSet[0], + A = Math.round(Math.max(1, 0.15 * k)), + D = 0 === A % 2 ? 0 : 0.5, + aa = t.dataPointIds[l]; + this._eventManager.objectMap[aa] = { + id: aa, + objectType: "dataPoint", + dataSeriesIndex: v, + dataPointIndex: l, + x1: z, + y1: h, + x2: y, + y2: s, + x3: w, + y3: q, + x4: w, + y4: n, + borderThickness: A, + color: e, + }; + b.strokeStyle = e; + b.beginPath(); + b.lineWidth = A; + c.lineWidth = Math.max(A, 4); + "candlestick" === t.type + ? (b.moveTo(w - D, s), + b.lineTo(w - D, Math.min(h, n)), + b.stroke(), + b.moveTo(w - D, Math.max(h, n)), + b.lineTo(w - D, q), + b.stroke(), + ea( + b, + z, + Math.min(h, n), + y, + Math.max(h, n), + C[l].y[0] <= C[l].y[3] ? t.risingColor : g, + A, + e, + x, + x, + !1, + !1, + t.fillOpacity + ), + r && + ((e = N(aa)), + (c.strokeStyle = e), + c.moveTo(w - D, s), + c.lineTo(w - D, Math.min(h, n)), + c.stroke(), + c.moveTo(w - D, Math.max(h, n)), + c.lineTo(w - D, q), + c.stroke(), + ea( + c, + z, + Math.min(h, n), + y, + Math.max(h, n), + e, + 0, + null, + !1, + !1, + !1, + !1 + ))) + : "ohlc" === t.type && + (b.moveTo(w - D, s), + b.lineTo(w - D, q), + b.stroke(), + b.beginPath(), + b.moveTo(w, h), + b.lineTo(z, h), + b.stroke(), + b.beginPath(), + b.moveTo(w, n), + b.lineTo(y, n), + b.stroke(), + r && + ((e = N(aa)), + (c.strokeStyle = e), + c.moveTo(w - D, s), + c.lineTo(w - D, q), + c.stroke(), + c.beginPath(), + c.moveTo(w, h), + c.lineTo(z, h), + c.stroke(), + c.beginPath(), + c.moveTo(w, n), + c.lineTo(y, n), + c.stroke())); + (C[l].indexLabel || + t.indexLabel || + C[l].indexLabelFormatter || + t.indexLabelFormatter) && + this._indexLabels.push({ + chartType: t.type, + dataPoint: C[l], + dataSeries: t, + point: { x: z + (y - z) / 2, y: a.axisY.reversed ? q : s }, + direction: 1, + bounds: { + x1: z, + y1: Math.min(s, q), + x2: y, + y2: Math.max(s, q), + }, + color: e, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(m.x1, m.y1, m.width, m.height), + c.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderBoxAndWhisker = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d, + c = this._eventManager.ghostCtx; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = null, + g = this.plotArea, + m = 0, + l, + w, + h, + s, + q, + n, + f, + e = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1, + m = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 0.015 * this.width, + k = a.axisX.dataInfo.minDiff; + isFinite(k) || (k = 0.3 * Math.abs(a.axisX.range)); + k = this.options.dataPointWidth + ? this.dataPointWidth + : (0.7 * + g.width * + (a.axisX.logarithmic + ? Math.log(k) / Math.log(a.axisX.range) + : Math.abs(k) / Math.abs(a.axisX.range))) << + 0; + this.dataPointMaxWidth && + e > m && + (e = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + m + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + m < e && + (m = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + e + )); + k < e && (k = e); + k > m && (k = m); + b.save(); + r && c.save(); + b.beginPath(); + b.rect(g.x1, g.y1, g.width, g.height); + b.clip(); + r && (c.beginPath(), c.rect(g.x1, g.y1, g.width, g.height), c.clip()); + for ( + var p = !1, p = !!a.axisY.reversed, v = 0; + v < a.dataSeriesIndexes.length; + v++ + ) { + var t = a.dataSeriesIndexes[v], + C = this.data[t], + x = C.dataPoints; + if (0 < x.length) + for ( + var z = 5 < k && C.bevelEnabled ? !0 : !1, m = 0; + m < x.length; + m++ + ) + if ( + (x[m].getTime ? (f = x[m].x.getTime()) : (f = x[m].x), + !( + f < a.axisX.dataInfo.viewPortMin || + f > a.axisX.dataInfo.viewPortMax + ) && + !u(x[m].y) && + x[m].y.length && + "number" === typeof x[m].y[0] && + "number" === typeof x[m].y[1] && + "number" === typeof x[m].y[2] && + "number" === typeof x[m].y[3] && + "number" === typeof x[m].y[4] && + 5 === x[m].y.length) + ) { + l = a.axisX.convertValueToPixel(f); + w = a.axisY.convertValueToPixel(x[m].y[0]); + h = a.axisY.convertValueToPixel(x[m].y[1]); + s = a.axisY.convertValueToPixel(x[m].y[2]); + q = a.axisY.convertValueToPixel(x[m].y[3]); + n = a.axisY.convertValueToPixel(x[m].y[4]); + var y = (l - k / 2) << 0, + A = (l + k / 2) << 0, + e = x[m].color ? x[m].color : C._colorSet[0], + D = Math.round(Math.max(1, 0.15 * k)), + aa = 0 === D % 2 ? 0 : 0.5, + T = x[m].whiskerColor + ? x[m].whiskerColor + : x[m].color + ? C.whiskerColor + ? C.whiskerColor + : x[m].color + : C.whiskerColor + ? C.whiskerColor + : e, + Y = + "number" === typeof x[m].whiskerThickness + ? x[m].whiskerThickness + : "number" === typeof C.options.whiskerThickness + ? C.whiskerThickness + : D, + ca = x[m].whiskerDashType + ? x[m].whiskerDashType + : C.whiskerDashType, + da = u(x[m].whiskerLength) + ? u(C.options.whiskerLength) + ? k + : C.whiskerLength + : x[m].whiskerLength, + da = + "number" === typeof da + ? 0 >= da + ? 0 + : da >= k + ? k + : da + : "string" === typeof da + ? (parseInt(da) * k) / 100 > k + ? k + : (parseInt(da) * k) / 100 + : k, + Z = 1 === Math.round(Y) % 2 ? 0.5 : 0, + oa = x[m].stemColor + ? x[m].stemColor + : x[m].color + ? C.stemColor + ? C.stemColor + : x[m].color + : C.stemColor + ? C.stemColor + : e, + la = + "number" === typeof x[m].stemThickness + ? x[m].stemThickness + : "number" === typeof C.options.stemThickness + ? C.stemThickness + : D, + G = 1 === Math.round(la) % 2 ? 0.5 : 0, + F = x[m].stemDashType ? x[m].stemDashType : C.stemDashType, + E = x[m].lineColor + ? x[m].lineColor + : x[m].color + ? C.lineColor + ? C.lineColor + : x[m].color + : C.lineColor + ? C.lineColor + : e, + H = + "number" === typeof x[m].lineThickness + ? x[m].lineThickness + : "number" === typeof C.options.lineThickness + ? C.lineThickness + : D, + I = x[m].lineDashType ? x[m].lineDashType : C.lineDashType, + K = 1 === Math.round(H) % 2 ? 0.5 : 0, + L = C.upperBoxColor, + O = C.lowerBoxColor, + Q = u(C.options.fillOpacity) ? 1 : C.fillOpacity, + P = C.dataPointIds[m]; + this._eventManager.objectMap[P] = { + id: P, + objectType: "dataPoint", + dataSeriesIndex: t, + dataPointIndex: m, + x1: y, + y1: w, + x2: A, + y2: h, + x3: l, + y3: s, + x4: l, + y4: q, + y5: n, + borderThickness: D, + color: e, + stemThickness: la, + stemColor: oa, + whiskerThickness: Y, + whiskerLength: da, + whiskerColor: T, + lineThickness: H, + lineColor: E, + }; + b.save(); + 0 < la && + (b.beginPath(), + (b.strokeStyle = oa), + (b.lineWidth = la), + b.setLineDash && b.setLineDash(R(F, la)), + b.moveTo(l - G, h), + b.lineTo(l - G, w), + b.stroke(), + b.moveTo(l - G, q), + b.lineTo(l - G, s), + b.stroke()); + b.restore(); + c.lineWidth = Math.max(D, 4); + b.beginPath(); + ea( + b, + y, + Math.min(n, h), + A, + Math.max(h, n), + O, + 0, + e, + p ? z : !1, + p ? !1 : z, + !1, + !1, + Q + ); + b.beginPath(); + ea( + b, + y, + Math.min(s, n), + A, + Math.max(n, s), + L, + 0, + e, + p ? !1 : z, + p ? z : !1, + !1, + !1, + Q + ); + b.beginPath(); + b.lineWidth = D; + b.strokeStyle = e; + b.rect( + y - aa, + Math.min(h, s) - aa, + A - y + 2 * aa, + Math.max(h, s) - Math.min(h, s) + 2 * aa + ); + b.stroke(); + b.save(); + 0 < H && + (b.beginPath(), + (b.globalAlpha = 1), + b.setLineDash && b.setLineDash(R(I, H)), + (b.strokeStyle = E), + (b.lineWidth = H), + b.moveTo(y, n - K), + b.lineTo(A, n - K), + b.stroke()); + b.restore(); + b.save(); + 0 < Y && + (b.beginPath(), + b.setLineDash && b.setLineDash(R(ca, Y)), + (b.strokeStyle = T), + (b.lineWidth = Y), + b.moveTo((l - da / 2) << 0, q - Z), + b.lineTo((l + da / 2) << 0, q - Z), + b.stroke(), + b.moveTo((l - da / 2) << 0, w + Z), + b.lineTo((l + da / 2) << 0, w + Z), + b.stroke()); + b.restore(); + r && + ((e = N(P)), + (c.strokeStyle = e), + (c.lineWidth = la), + 0 < la && + (c.moveTo(l - aa - G, h), + c.lineTo(l - aa - G, Math.max(w, q)), + c.stroke(), + c.moveTo(l - aa - G, Math.min(w, q)), + c.lineTo(l - aa - G, s), + c.stroke()), + ea( + c, + y, + Math.max(h, s), + A, + Math.min(h, s), + e, + 0, + null, + !1, + !1, + !1, + !1 + ), + 0 < Y && + (c.beginPath(), + (c.lineWidth = Y), + c.moveTo(l + da / 2, q - Z), + c.lineTo(l - da / 2, q - Z), + c.stroke(), + c.moveTo(l + da / 2, w + Z), + c.lineTo(l - da / 2, w + Z), + c.stroke())); + (x[m].indexLabel || + C.indexLabel || + x[m].indexLabelFormatter || + C.indexLabelFormatter) && + this._indexLabels.push({ + chartType: C.type, + dataPoint: x[m], + dataSeries: C, + point: { x: y + (A - y) / 2, y: a.axisY.reversed ? w : q }, + direction: 1, + bounds: { + x1: y, + y1: Math.min(w, q), + x2: A, + y2: Math.max(w, q), + }, + color: e, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(g.x1, g.y1, g.width, g.height), + c.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderRangeColumn = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = 0, + m, + l, + w, + g = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + m = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 0.03 * this.width; + var h = a.axisX.dataInfo.minDiff; + isFinite(h) || (h = 0.3 * Math.abs(a.axisX.range)); + h = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.width * + (a.axisX.logarithmic + ? Math.log(h) / Math.log(a.axisX.range) + : Math.abs(h) / Math.abs(a.axisX.range))) / + a.plotType.totalDataSeries)) << + 0; + this.dataPointMaxWidth && + g > m && + (g = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + m + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + m < g && + (m = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + g + )); + h < g && (h = g); + h > m && (h = m); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var s = 0; s < a.dataSeriesIndexes.length; s++) { + var q = a.dataSeriesIndexes[s], + n = this.data[q], + f = n.dataPoints; + if (0 < f.length) + for ( + var k = 5 < h && n.bevelEnabled ? !0 : !1, g = 0; + g < f.length; + g++ + ) + if ( + (f[g].getTime ? (w = f[g].x.getTime()) : (w = f[g].x), + !( + w < a.axisX.dataInfo.viewPortMin || + w > a.axisX.dataInfo.viewPortMax + ) && + !u(f[g].y) && + f[g].y.length && + "number" === typeof f[g].y[0] && + "number" === typeof f[g].y[1]) + ) { + c = a.axisX.convertValueToPixel(w); + m = a.axisY.convertValueToPixel(f[g].y[0]); + l = a.axisY.convertValueToPixel(f[g].y[1]); + var p = a.axisX.reversed + ? (c + + (a.plotType.totalDataSeries * h) / 2 - + (a.previousDataSeriesCount + s) * h) << + 0 + : (c - + (a.plotType.totalDataSeries * h) / 2 + + (a.previousDataSeriesCount + s) * h) << + 0, + v = a.axisX.reversed ? (p - h) << 0 : (p + h) << 0, + c = f[g].color + ? f[g].color + : n._colorSet[g % n._colorSet.length]; + if (m > l) { + var t = m; + m = l; + l = t; + } + t = n.dataPointIds[g]; + this._eventManager.objectMap[t] = { + id: t, + objectType: "dataPoint", + dataSeriesIndex: q, + dataPointIndex: g, + x1: p, + y1: m, + x2: v, + y2: l, + }; + ea(b, p, m, v, l, c, 0, c, k, k, !1, !1, n.fillOpacity); + c = N(t); + r && + ea( + this._eventManager.ghostCtx, + p, + m, + v, + l, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + if ( + f[g].indexLabel || + n.indexLabel || + f[g].indexLabelFormatter || + n.indexLabelFormatter + ) + this._indexLabels.push({ + chartType: "rangeColumn", + dataPoint: f[g], + dataSeries: n, + indexKeyword: 0, + point: { + x: p + (v - p) / 2, + y: f[g].y[1] >= f[g].y[0] ? l : m, + }, + direction: f[g].y[1] >= f[g].y[0] ? -1 : 1, + bounds: { + x1: p, + y1: Math.min(m, l), + x2: v, + y2: Math.max(m, l), + }, + color: c, + }), + this._indexLabels.push({ + chartType: "rangeColumn", + dataPoint: f[g], + dataSeries: n, + indexKeyword: 1, + point: { + x: p + (v - p) / 2, + y: f[g].y[1] >= f[g].y[0] ? m : l, + }, + direction: f[g].y[1] >= f[g].y[0] ? 1 : -1, + bounds: { + x1: p, + y1: Math.min(m, l), + x2: v, + y2: Math.max(m, l), + }, + color: c, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderError = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d, + c = a.axisY._position + ? "left" === a.axisY._position || "right" === a.axisY._position + ? !1 + : !0 + : !1; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = null, + g = !1, + m = this.plotArea, + l = 0, + w, + h, + s, + q, + n, + f, + k, + p = a.axisX.dataInfo.minDiff; + isFinite(p) || (p = 0.3 * Math.abs(a.axisX.range)); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(m.x1, m.y1, m.width, m.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(m.x1, m.y1, m.width, m.height), + this._eventManager.ghostCtx.clip()); + for (var v = 0, t = 0; t < this.data.length; t++) + !this.data[t].type.match(/(bar|column)/gi) || + !this.data[t].visible || + (this.data[t].type.match(/(stacked)/gi) && v) || + v++; + for (var C = 0; C < a.dataSeriesIndexes.length; C++) { + var x = a.dataSeriesIndexes[C], + z = this.data[x], + y = z.dataPoints, + A = u(z._linkedSeries) + ? !1 + : z._linkedSeries.type.match(/(bar|column)/gi) && + z._linkedSeries.visible + ? !0 + : !1, + D = 0; + if (A) + for (e = z._linkedSeries.id, t = 0; t < e; t++) + !this.data[t].type.match(/(bar|column)/gi) || + !this.data[t].visible || + (this.data[t].type.match(/(stacked)/gi) && D) || + (this.data[t].type.match(/(range)/gi) && (g = !0), D++); + e = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + l = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : c + ? Math.min( + 0.15 * this.height, + 0.9 * (this.plotArea.height / (A ? v : 1)) + ) << 0 + : 0.3 * this.width; + g && + (l = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : c + ? Math.min( + 0.15 * this.height, + 0.9 * (this.plotArea.height / (A ? v : 1)) + ) << 0 + : 0.03 * this.width); + t = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + (((c ? m.height : m.width) * + (a.axisX.logarithmic + ? Math.log(p) / Math.log(a.axisX.range) + : Math.abs(p) / Math.abs(a.axisX.range))) / + (A ? v : 1))) << + 0; + this.dataPointMaxWidth && + e > l && + (e = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + l + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + l < e && + (l = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + e + )); + t < e && (t = e); + t > l && (t = l); + if (0 < y.length) + for (var aa = z._colorSet, l = 0; l < y.length; l++) { + var e = (z.lineColor = z.options.color ? z.options.color : aa[0]), + T = { + color: y[l].whiskerColor + ? y[l].whiskerColor + : y[l].color + ? z.whiskerColor + ? z.whiskerColor + : y[l].color + : z.whiskerColor + ? z.whiskerColor + : e, + thickness: u(y[l].whiskerThickness) + ? z.whiskerThickness + : y[l].whiskerThickness, + dashType: y[l].whiskerDashType + ? y[l].whiskerDashType + : z.whiskerDashType, + length: u(y[l].whiskerLength) + ? u(z.options.whiskerLength) + ? t + : z.options.whiskerLength + : y[l].whiskerLength, + trimLength: u(y[l].whiskerLength) + ? u(z.options.whiskerLength) + ? 50 + : 0 + : 0, + }; + T.length = + "number" === typeof T.length + ? 0 >= T.length + ? 0 + : T.length >= t + ? t + : T.length + : "string" === typeof T.length + ? (parseInt(T.length) * t) / 100 > t + ? t + : (parseInt(T.length) * t) / 100 > t + : t; + T.thickness = + "number" === typeof T.thickness + ? 0 > T.thickness + ? 0 + : Math.round(T.thickness) + : 2; + var Y = { + color: y[l].stemColor + ? y[l].stemColor + : y[l].color + ? z.stemColor + ? z.stemColor + : y[l].color + : z.stemColor + ? z.stemColor + : e, + thickness: y[l].stemThickness + ? y[l].stemThickness + : z.stemThickness, + dashType: y[l].stemDashType + ? y[l].stemDashType + : z.stemDashType, + }; + Y.thickness = + "number" === typeof Y.thickness + ? 0 > Y.thickness + ? 0 + : Math.round(Y.thickness) + : 2; + y[l].getTime ? (k = y[l].x.getTime()) : (k = y[l].x); + if ( + !( + k < a.axisX.dataInfo.viewPortMin || + k > a.axisX.dataInfo.viewPortMax + ) && + !u(y[l].y) && + y[l].y.length && + "number" === typeof y[l].y[0] && + "number" === typeof y[l].y[1] + ) { + var ca = a.axisX.convertValueToPixel(k); + c ? (h = ca) : (w = ca); + ca = a.axisY.convertValueToPixel(y[l].y[0]); + c ? (s = ca) : (n = ca); + ca = a.axisY.convertValueToPixel(y[l].y[1]); + c ? (q = ca) : (f = ca); + c + ? ((n = a.axisX.reversed + ? (h + ((A ? v : 1) * t) / 2 - (A ? D - 1 : 0) * t) << 0 + : (h - ((A ? v : 1) * t) / 2 + (A ? D - 1 : 0) * t) << 0), + (f = a.axisX.reversed ? (n - t) << 0 : (n + t) << 0)) + : ((s = a.axisX.reversed + ? (w + ((A ? v : 1) * t) / 2 - (A ? D - 1 : 0) * t) << 0 + : (w - ((A ? v : 1) * t) / 2 + (A ? D - 1 : 0) * t) << 0), + (q = a.axisX.reversed ? (s - t) << 0 : (s + t) << 0)); + !c && n > f && ((ca = n), (n = f), (f = ca)); + c && s > q && ((ca = s), (s = q), (q = ca)); + ca = z.dataPointIds[l]; + this._eventManager.objectMap[ca] = { + id: ca, + objectType: "dataPoint", + dataSeriesIndex: x, + dataPointIndex: l, + x1: Math.min(s, q), + y1: Math.min(n, f), + x2: Math.max(q, s), + y2: Math.max(f, n), + isXYSwapped: c, + stemProperties: Y, + whiskerProperties: T, + }; + E( + b, + Math.min(s, q), + Math.min(n, f), + Math.max(q, s), + Math.max(f, n), + e, + T, + Y, + c + ); + r && E(this._eventManager.ghostCtx, s, n, q, f, e, T, Y, c); + if ( + y[l].indexLabel || + z.indexLabel || + y[l].indexLabelFormatter || + z.indexLabelFormatter + ) + this._indexLabels.push({ + chartType: "error", + dataPoint: y[l], + dataSeries: z, + indexKeyword: 0, + point: { + x: c ? (y[l].y[1] >= y[l].y[0] ? s : q) : s + (q - s) / 2, + y: c ? n + (f - n) / 2 : y[l].y[1] >= y[l].y[0] ? f : n, + }, + direction: y[l].y[1] >= y[l].y[0] ? -1 : 1, + bounds: { + x1: c ? Math.min(s, q) : s, + y1: c ? n : Math.min(n, f), + x2: c ? Math.max(s, q) : q, + y2: c ? f : Math.max(n, f), + }, + color: e, + axisSwapped: c, + }), + this._indexLabels.push({ + chartType: "error", + dataPoint: y[l], + dataSeries: z, + indexKeyword: 1, + point: { + x: c + ? y[l].y[1] >= y[l].y[0] + ? q + : s + : s + (q - s) / 2, + y: c ? n + (f - n) / 2 : y[l].y[1] >= y[l].y[0] ? n : f, + }, + direction: y[l].y[1] >= y[l].y[0] ? 1 : -1, + bounds: { + x1: c ? Math.min(s, q) : s, + y1: c ? n : Math.min(n, f), + x2: c ? Math.max(s, q) : q, + y2: c ? f : Math.max(n, f), + }, + color: e, + axisSwapped: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(m.x1, m.y1, m.width, m.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderRangeBar = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = null, + e = this.plotArea, + g = 0, + m, + l, + w, + h, + g = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + m = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : Math.min( + 0.15 * this.height, + 0.9 * (this.plotArea.height / a.plotType.totalDataSeries) + ) << 0; + var s = a.axisX.dataInfo.minDiff; + isFinite(s) || (s = 0.3 * Math.abs(a.axisX.range)); + s = this.options.dataPointWidth + ? this.dataPointWidth + : (0.9 * + ((e.height * + (a.axisX.logarithmic + ? Math.log(s) / Math.log(a.axisX.range) + : Math.abs(s) / Math.abs(a.axisX.range))) / + a.plotType.totalDataSeries)) << + 0; + this.dataPointMaxWidth && + g > m && + (g = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + m + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + m < g && + (m = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + g + )); + s < g && (s = g); + s > m && (s = m); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(e.x1, e.y1, e.width, e.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.clip()); + for (var q = 0; q < a.dataSeriesIndexes.length; q++) { + var n = a.dataSeriesIndexes[q], + f = this.data[n], + k = f.dataPoints; + if (0 < k.length) { + var p = 5 < s && f.bevelEnabled ? !0 : !1; + b.strokeStyle = "#4572A7 "; + for (g = 0; g < k.length; g++) + if ( + (k[g].getTime ? (h = k[g].x.getTime()) : (h = k[g].x), + !( + h < a.axisX.dataInfo.viewPortMin || + h > a.axisX.dataInfo.viewPortMax + ) && + !u(k[g].y) && + k[g].y.length && + "number" === typeof k[g].y[0] && + "number" === typeof k[g].y[1]) + ) { + m = a.axisY.convertValueToPixel(k[g].y[0]); + l = a.axisY.convertValueToPixel(k[g].y[1]); + w = a.axisX.convertValueToPixel(h); + w = a.axisX.reversed + ? (w + + (a.plotType.totalDataSeries * s) / 2 - + (a.previousDataSeriesCount + q) * s) << + 0 + : (w - + (a.plotType.totalDataSeries * s) / 2 + + (a.previousDataSeriesCount + q) * s) << + 0; + var v = a.axisX.reversed ? (w - s) << 0 : (w + s) << 0; + m > l && ((c = m), (m = l), (l = c)); + c = k[g].color + ? k[g].color + : f._colorSet[g % f._colorSet.length]; + ea(b, m, w, l, v, c, 0, null, p, !1, !1, !1, f.fillOpacity); + c = f.dataPointIds[g]; + this._eventManager.objectMap[c] = { + id: c, + objectType: "dataPoint", + dataSeriesIndex: n, + dataPointIndex: g, + x1: m, + y1: w, + x2: l, + y2: v, + }; + c = N(c); + r && + ea( + this._eventManager.ghostCtx, + m, + w, + l, + v, + c, + 0, + null, + !1, + !1, + !1, + !1 + ); + if ( + k[g].indexLabel || + f.indexLabel || + k[g].indexLabelFormatter || + f.indexLabelFormatter + ) + this._indexLabels.push({ + chartType: "rangeBar", + dataPoint: k[g], + dataSeries: f, + indexKeyword: 0, + point: { + x: k[g].y[1] >= k[g].y[0] ? m : l, + y: w + (v - w) / 2, + }, + direction: k[g].y[1] >= k[g].y[0] ? -1 : 1, + bounds: { + x1: Math.min(m, l), + y1: w, + x2: Math.max(m, l), + y2: v, + }, + color: c, + }), + this._indexLabels.push({ + chartType: "rangeBar", + dataPoint: k[g], + dataSeries: f, + indexKeyword: 1, + point: { + x: k[g].y[1] >= k[g].y[0] ? l : m, + y: w + (v - w) / 2, + }, + direction: k[g].y[1] >= k[g].y[0] ? 1 : -1, + bounds: { + x1: Math.min(m, l), + y1: w, + x2: Math.max(m, l), + y2: v, + }, + color: c, + }); + } + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(e.x1, e.y1, e.width, e.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + p.prototype.renderRangeArea = function (a) { + function d() { + if (C) { + var a = null; + 0 < s.lineThickness && c.stroke(); + for (var b = w.length - 1; 0 <= b; b--) + (a = w[b]), c.lineTo(a.x, a.y), e.lineTo(a.x, a.y); + c.closePath(); + c.globalAlpha = s.fillOpacity; + c.fill(); + c.globalAlpha = 1; + e.fill(); + if (0 < s.lineThickness) { + c.beginPath(); + c.moveTo(a.x, a.y); + for (b = 0; b < w.length; b++) (a = w[b]), c.lineTo(a.x, a.y); + c.stroke(); + } + c.beginPath(); + c.moveTo(k, p); + e.beginPath(); + e.moveTo(k, p); + C = { x: k, y: p }; + w = []; + w.push({ x: k, y: u }); + } + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = this._eventManager.ghostCtx, + g = [], + m = this.plotArea; + c.save(); + r && e.save(); + c.beginPath(); + c.rect(m.x1, m.y1, m.width, m.height); + c.clip(); + r && (e.beginPath(), e.rect(m.x1, m.y1, m.width, m.height), e.clip()); + for (var l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = [], + h = a.dataSeriesIndexes[l], + s = this.data[h], + q = s.dataPoints, + g = s.id; + this._eventManager.objectMap[g] = { + objectType: "dataSeries", + dataSeriesIndex: h, + }; + g = N(g); + e.fillStyle = g; + var g = [], + n = !0, + f = 0, + k, + p, + u, + t, + C = null; + if (0 < q.length) { + var x = s._colorSet[f % s._colorSet.length], + v = (s.lineColor = s.options.lineColor || x), + y = v; + c.fillStyle = x; + c.strokeStyle = v; + c.lineWidth = s.lineThickness; + var A = "solid"; + if (c.setLineDash) { + var z = R(s.nullDataLineDashType, s.lineThickness), + A = s.lineDashType, + D = R(A, s.lineThickness); + c.setLineDash(D); + } + for (var T = !0; f < q.length; f++) + if ( + ((t = q[f].x.getTime ? q[f].x.getTime() : q[f].x), + !( + t < a.axisX.dataInfo.viewPortMin || + (t > a.axisX.dataInfo.viewPortMax && + (!s.connectNullData || !T)) + )) + ) + if ( + null !== q[f].y && + q[f].y.length && + "number" === typeof q[f].y[0] && + "number" === typeof q[f].y[1] + ) { + k = a.axisX.convertValueToPixel(t); + p = a.axisY.convertValueToPixel(q[f].y[0]); + u = a.axisY.convertValueToPixel(q[f].y[1]); + n || T + ? (s.connectNullData && !n + ? (c.setLineDash && + (s.options.nullDataLineDashType || + (A === s.lineDashType && + s.lineDashType !== s.nullDataLineDashType)) && + ((w[w.length - 1].newLineDashArray = D), + (A = s.nullDataLineDashType), + c.setLineDash(z)), + c.lineTo(k, p), + r && e.lineTo(k, p), + w.push({ x: k, y: u })) + : (c.beginPath(), + c.moveTo(k, p), + (C = { x: k, y: p }), + (w = []), + w.push({ x: k, y: u }), + r && (e.beginPath(), e.moveTo(k, p))), + (T = n = !1)) + : (c.lineTo(k, p), + w.push({ x: k, y: u }), + r && e.lineTo(k, p), + 0 == f % 250 && d()); + t = s.dataPointIds[f]; + this._eventManager.objectMap[t] = { + id: t, + objectType: "dataPoint", + dataSeriesIndex: h, + dataPointIndex: f, + x1: k, + y1: p, + y2: u, + }; + f < q.length - 1 && + (y !== (q[f].lineColor || v) || + A !== (q[f].lineDashType || s.lineDashType)) && + (d(), + (y = q[f].lineColor || v), + (w[w.length - 1].newStrokeStyle = y), + (c.strokeStyle = y), + c.setLineDash && + (q[f].lineDashType + ? ((A = q[f].lineDashType), + (w[w.length - 1].newLineDashArray = R( + A, + s.lineThickness + )), + c.setLineDash(w[w.length - 1].newLineDashArray)) + : ((A = s.lineDashType), + (w[w.length - 1].newLineDashArray = D), + c.setLineDash(D)))); + if ( + 0 !== q[f].markerSize && + (0 < q[f].markerSize || 0 < s.markerSize) + ) { + var Y = s.getMarkerProperties(f, k, u, c); + g.push(Y); + var ca = N(t); + r && + g.push({ + x: k, + y: u, + ctx: e, + type: Y.type, + size: Y.size, + color: ca, + borderColor: ca, + borderThickness: Y.borderThickness, + }); + Y = s.getMarkerProperties(f, k, p, c); + g.push(Y); + ca = N(t); + r && + g.push({ + x: k, + y: p, + ctx: e, + type: Y.type, + size: Y.size, + color: ca, + borderColor: ca, + borderThickness: Y.borderThickness, + }); + } + if ( + q[f].indexLabel || + s.indexLabel || + q[f].indexLabelFormatter || + s.indexLabelFormatter + ) + this._indexLabels.push({ + chartType: "rangeArea", + dataPoint: q[f], + dataSeries: s, + indexKeyword: 0, + point: { x: k, y: p }, + direction: + q[f].y[0] > q[f].y[1] === a.axisY.reversed ? -1 : 1, + color: x, + }), + this._indexLabels.push({ + chartType: "rangeArea", + dataPoint: q[f], + dataSeries: s, + indexKeyword: 1, + point: { x: k, y: u }, + direction: + q[f].y[0] > q[f].y[1] === a.axisY.reversed ? 1 : -1, + color: x, + }); + } else T || n || d(), (T = !0); + d(); + ia.drawMarkers(g); + } + } + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(m.x1, m.y1, m.width, m.height), + this._eventManager.ghostCtx.restore()); + c.restore(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderRangeSplineArea = function (a) { + function d(a, b) { + var d = v(u, 2); + if (0 < d.length) { + if (0 < h.lineThickness) { + c.strokeStyle = b; + c.setLineDash && c.setLineDash(a); + c.beginPath(); + c.moveTo(d[0].x, d[0].y); + for (var f = 0; f < d.length - 3; f += 3) { + if (d[f].newStrokeStyle || d[f].newLineDashArray) + c.stroke(), + c.beginPath(), + c.moveTo(d[f].x, d[f].y), + d[f].newStrokeStyle && (c.strokeStyle = d[f].newStrokeStyle), + d[f].newLineDashArray && c.setLineDash(d[f].newLineDashArray); + c.bezierCurveTo( + d[f + 1].x, + d[f + 1].y, + d[f + 2].x, + d[f + 2].y, + d[f + 3].x, + d[f + 3].y + ); + } + c.stroke(); + } + c.beginPath(); + c.moveTo(d[0].x, d[0].y); + r && (e.beginPath(), e.moveTo(d[0].x, d[0].y)); + for (f = 0; f < d.length - 3; f += 3) + c.bezierCurveTo( + d[f + 1].x, + d[f + 1].y, + d[f + 2].x, + d[f + 2].y, + d[f + 3].x, + d[f + 3].y + ), + r && + e.bezierCurveTo( + d[f + 1].x, + d[f + 1].y, + d[f + 2].x, + d[f + 2].y, + d[f + 3].x, + d[f + 3].y + ); + d = v(z, 2); + c.lineTo(z[z.length - 1].x, z[z.length - 1].y); + for (f = d.length - 1; 2 < f; f -= 3) + c.bezierCurveTo( + d[f - 1].x, + d[f - 1].y, + d[f - 2].x, + d[f - 2].y, + d[f - 3].x, + d[f - 3].y + ), + r && + e.bezierCurveTo( + d[f - 1].x, + d[f - 1].y, + d[f - 2].x, + d[f - 2].y, + d[f - 3].x, + d[f - 3].y + ); + c.closePath(); + c.globalAlpha = h.fillOpacity; + c.fill(); + r && (e.closePath(), e.fill()); + c.globalAlpha = 1; + if (0 < h.lineThickness) { + c.strokeStyle = b; + c.setLineDash && c.setLineDash(a); + c.beginPath(); + c.moveTo(d[0].x, d[0].y); + for (var g = (f = 0); f < d.length - 3; f += 3, g++) { + if (u[g].newStrokeStyle || u[g].newLineDashArray) + c.stroke(), + c.beginPath(), + c.moveTo(d[f].x, d[f].y), + u[g].newStrokeStyle && (c.strokeStyle = u[g].newStrokeStyle), + u[g].newLineDashArray && c.setLineDash(u[g].newLineDashArray); + c.bezierCurveTo( + d[f + 1].x, + d[f + 1].y, + d[f + 2].x, + d[f + 2].y, + d[f + 3].x, + d[f + 3].y + ); + } + c.stroke(); + } + c.beginPath(); + } + } + var b = a.targetCanvasCtx || this.plotArea.ctx, + c = r ? this._preRenderCtx : b; + if (!(0 >= a.dataSeriesIndexes.length)) { + var e = this._eventManager.ghostCtx, + g = [], + m = this.plotArea; + c.save(); + r && e.save(); + c.beginPath(); + c.rect(m.x1, m.y1, m.width, m.height); + c.clip(); + r && (e.beginPath(), e.rect(m.x1, m.y1, m.width, m.height), e.clip()); + for (var l = 0; l < a.dataSeriesIndexes.length; l++) { + var w = a.dataSeriesIndexes[l], + h = this.data[w], + k = h.dataPoints, + g = h.id; + this._eventManager.objectMap[g] = { + objectType: "dataSeries", + dataSeriesIndex: w, + }; + g = N(g); + e.fillStyle = g; + var g = [], + q = 0, + n, + f, + p, + u = [], + z = []; + if (0 < k.length) { + var t = h._colorSet[q % h._colorSet.length], + C = (h.lineColor = h.options.lineColor || t), + x = C; + c.fillStyle = t; + c.lineWidth = h.lineThickness; + var F = "solid", + y; + if (c.setLineDash) { + var A = R(h.nullDataLineDashType, h.lineThickness), + F = h.lineDashType; + y = R(F, h.lineThickness); + } + for (f = !1; q < k.length; q++) + if ( + ((n = k[q].x.getTime ? k[q].x.getTime() : k[q].x), + !( + n < a.axisX.dataInfo.viewPortMin || + (n > a.axisX.dataInfo.viewPortMax && + (!h.connectNullData || !f)) + )) + ) + if ( + null !== k[q].y && + k[q].y.length && + "number" === typeof k[q].y[0] && + "number" === typeof k[q].y[1] + ) { + n = a.axisX.convertValueToPixel(n); + f = a.axisY.convertValueToPixel(k[q].y[0]); + p = a.axisY.convertValueToPixel(k[q].y[1]); + var E = h.dataPointIds[q]; + this._eventManager.objectMap[E] = { + id: E, + objectType: "dataPoint", + dataSeriesIndex: w, + dataPointIndex: q, + x1: n, + y1: f, + y2: p, + }; + u[u.length] = { x: n, y: f }; + z[z.length] = { x: n, y: p }; + q < k.length - 1 && + (x !== (k[q].lineColor || C) || + F !== (k[q].lineDashType || h.lineDashType)) && + ((x = k[q].lineColor || C), + (u[u.length - 1].newStrokeStyle = x), + c.setLineDash && + (k[q].lineDashType + ? ((F = k[q].lineDashType), + (u[u.length - 1].newLineDashArray = R( + F, + h.lineThickness + ))) + : ((F = h.lineDashType), + (u[u.length - 1].newLineDashArray = y)))); + if ( + 0 !== k[q].markerSize && + (0 < k[q].markerSize || 0 < h.markerSize) + ) { + var aa = h.getMarkerProperties(q, n, f, c); + g.push(aa); + var T = N(E); + r && + g.push({ + x: n, + y: f, + ctx: e, + type: aa.type, + size: aa.size, + color: T, + borderColor: T, + borderThickness: aa.borderThickness, + }); + aa = h.getMarkerProperties(q, n, p, c); + g.push(aa); + T = N(E); + r && + g.push({ + x: n, + y: p, + ctx: e, + type: aa.type, + size: aa.size, + color: T, + borderColor: T, + borderThickness: aa.borderThickness, + }); + } + if ( + k[q].indexLabel || + h.indexLabel || + k[q].indexLabelFormatter || + h.indexLabelFormatter + ) + this._indexLabels.push({ + chartType: "rangeSplineArea", + dataPoint: k[q], + dataSeries: h, + indexKeyword: 0, + point: { x: n, y: f }, + direction: k[q].y[0] <= k[q].y[1] ? -1 : 1, + color: t, + }), + this._indexLabels.push({ + chartType: "rangeSplineArea", + dataPoint: k[q], + dataSeries: h, + indexKeyword: 1, + point: { x: n, y: p }, + direction: k[q].y[0] <= k[q].y[1] ? 1 : -1, + color: t, + }); + f = !1; + } else + 0 < q && + !f && + (h.connectNullData + ? c.setLineDash && + 0 < u.length && + (h.options.nullDataLineDashType || + !k[q - 1].lineDashType) && + ((u[u.length - 1].newLineDashArray = A), + (F = h.nullDataLineDashType)) + : (d(y, C), (u = []), (z = []))), + (f = !0); + d(y, C); + ia.drawMarkers(g); + } + } + r && + (b.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (c.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + c.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + c.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + c.clearRect(m.x1, m.y1, m.width, m.height), + this._eventManager.ghostCtx.restore()); + c.restore(); + return { + source: b, + dest: this.plotArea.ctx, + animationCallback: M.xClipAnimation, + easingFunction: M.easing.linear, + animationBase: 0, + }; + } + }; + p.prototype.renderWaterfall = function (a) { + var d = a.targetCanvasCtx || this.plotArea.ctx, + b = r ? this._preRenderCtx : d; + if (!(0 >= a.dataSeriesIndexes.length)) { + var c = this._eventManager.ghostCtx, + e = null, + g = this.plotArea, + m = 0, + l, + k, + h, + s, + q = a.axisY.convertValueToPixel( + a.axisY.logarithmic ? a.axisY.viewportMinimum : 0 + ), + m = this.options.dataPointMinWidth + ? this.dataPointMinWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : 1; + k = this.options.dataPointMaxWidth + ? this.dataPointMaxWidth + : this.options.dataPointWidth + ? this.dataPointWidth + : Math.min( + 0.15 * this.width, + 0.9 * (this.plotArea.width / a.plotType.totalDataSeries) + ) << 0; + var n = a.axisX.dataInfo.minDiff; + isFinite(n) || (n = 0.3 * Math.abs(a.axisX.range)); + n = this.options.dataPointWidth + ? this.dataPointWidth + : (0.6 * + ((g.width * + (a.axisX.logarithmic + ? Math.log(n) / Math.log(a.axisX.range) + : Math.abs(n) / Math.abs(a.axisX.range))) / + a.plotType.totalDataSeries)) << + 0; + this.dataPointMaxWidth && + m > k && + (m = Math.min( + this.options.dataPointWidth ? this.dataPointWidth : Infinity, + k + )); + !this.dataPointMaxWidth && + this.dataPointMinWidth && + k < m && + (k = Math.max( + this.options.dataPointWidth ? this.dataPointWidth : -Infinity, + m + )); + n < m && (n = m); + n > k && (n = k); + b.save(); + r && this._eventManager.ghostCtx.save(); + b.beginPath(); + b.rect(g.x1, g.y1, g.width, g.height); + b.clip(); + r && + (this._eventManager.ghostCtx.beginPath(), + this._eventManager.ghostCtx.rect(g.x1, g.y1, g.width, g.height), + this._eventManager.ghostCtx.clip()); + for (var f = 0; f < a.dataSeriesIndexes.length; f++) { + var p = a.dataSeriesIndexes[f], + u = this.data[p], + v = u.dataPoints, + e = u._colorSet[0]; + u.risingColor = u.options.risingColor ? u.options.risingColor : e; + u.fallingColor = u.options.fallingColor + ? u.options.fallingColor + : "#e40a0a"; + var t = + "number" === typeof u.options.lineThickness + ? Math.round(u.lineThickness) + : 1, + C = 1 === Math.round(t) % 2 ? -0.5 : 0; + if (0 < v.length) + for ( + var x = 5 < n && u.bevelEnabled ? !0 : !1, + z = !1, + y = null, + A = null, + m = 0; + m < v.length; + m++ + ) + if ( + (v[m].getTime ? (s = v[m].x.getTime()) : (s = v[m].x), + "number" !== typeof v[m].y) + ) { + if (0 < m && !z && u.connectNullData) + var D = + u.options.nullDataLineDashType || !v[m - 1].lineDashType + ? u.nullDataLineDashType + : v[m - 1].lineDashType; + z = !0; + } else { + l = a.axisX.convertValueToPixel(s); + k = + 0 === u.dataPointEOs[m].cumulativeSum + ? q + : a.axisY.convertValueToPixel( + u.dataPointEOs[m].cumulativeSum + ); + h = + 0 === u.dataPointEOs[m].cumulativeSumYStartValue + ? q + : a.axisY.convertValueToPixel( + u.dataPointEOs[m].cumulativeSumYStartValue + ); + l = a.axisX.reversed + ? (l + + (a.plotType.totalDataSeries * n) / 2 - + (a.previousDataSeriesCount + f) * n) << + 0 + : (l - + (a.plotType.totalDataSeries * n) / 2 + + (a.previousDataSeriesCount + f) * n) << + 0; + var F = a.axisX.reversed ? (l - n) << 0 : (l + n) << 0; + k > h && ((e = k), (k = h), (h = e)); + a.axisY.reversed && ((e = k), (k = h), (h = e)); + e = u.dataPointIds[m]; + this._eventManager.objectMap[e] = { + id: e, + objectType: "dataPoint", + dataSeriesIndex: p, + dataPointIndex: m, + x1: l, + y1: k, + x2: F, + y2: h, + }; + var T = v[m].color + ? v[m].color + : 0 < v[m].y + ? u.risingColor + : u.fallingColor; + ea(b, l, k, F, h, T, 0, T, x, x, !1, !1, u.fillOpacity); + e = N(e); + r && + ea( + this._eventManager.ghostCtx, + l, + k, + F, + h, + e, + 0, + null, + !1, + !1, + !1, + !1 + ); + var Y, + T = l; + Y = + ("undefined" !== typeof v[m].isIntermediateSum && + !0 === v[m].isIntermediateSum) || + ("undefined" !== typeof v[m].isCumulativeSum && + !0 === v[m].isCumulativeSum) + ? 0 < v[m].y + ? k + : h + : 0 < v[m].y + ? h + : k; + 0 < m && + y && + (!z || u.connectNullData) && + (z && b.setLineDash && b.setLineDash(R(D, t)), + b.beginPath(), + b.moveTo(y, A - C), + b.lineTo(T, Y - C), + 0 < t && b.stroke(), + r && + (c.beginPath(), + c.moveTo(y, A - C), + c.lineTo(T, Y - C), + 0 < t && c.stroke())); + z = !1; + y = F; + A = 0 < v[m].y ? k : h; + T = v[m].lineDashType + ? v[m].lineDashType + : u.options.lineDashType + ? u.options.lineDashType + : "shortDash"; + b.strokeStyle = v[m].lineColor + ? v[m].lineColor + : u.options.lineColor + ? u.options.lineColor + : "#9e9e9e"; + b.lineWidth = t; + b.setLineDash && ((T = R(T, t)), b.setLineDash(T)); + (v[m].indexLabel || + u.indexLabel || + v[m].indexLabelFormatter || + u.indexLabelFormatter) && + this._indexLabels.push({ + chartType: "waterfall", + dataPoint: v[m], + dataSeries: u, + point: { x: l + (F - l) / 2, y: 0 <= v[m].y ? k : h }, + direction: 0 > v[m].y === a.axisY.reversed ? 1 : -1, + bounds: { + x1: l, + y1: Math.min(k, h), + x2: F, + y2: Math.max(k, h), + }, + color: e, + }); + } + } + r && + (d.drawImage(this._preRenderCanvas, 0, 0, this.width, this.height), + (b.globalCompositeOperation = "source-atop"), + a.axisX.maskCanvas && + b.drawImage(a.axisX.maskCanvas, 0, 0, this.width, this.height), + a.axisY.maskCanvas && + b.drawImage(a.axisY.maskCanvas, 0, 0, this.width, this.height), + this._breaksCanvasCtx && + this._breaksCanvasCtx.drawImage( + this._preRenderCanvas, + 0, + 0, + this.width, + this.height + ), + b.clearRect(g.x1, g.y1, g.width, g.height), + this._eventManager.ghostCtx.restore()); + b.restore(); + return { + source: d, + dest: this.plotArea.ctx, + animationCallback: M.fadeInAnimation, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + }; + var ja = function (a, d, b, c, e, g, m, l, k) { + if (!(0 > b)) { + "undefined" === typeof l && (l = 1); + if (!r) { + var h = Number((m % (2 * Math.PI)).toFixed(8)); + Number((g % (2 * Math.PI)).toFixed(8)) === h && (m -= 1e-4); + } + a.save(); + a.globalAlpha = l; + "pie" === e + ? (a.beginPath(), + a.moveTo(d.x, d.y), + a.arc(d.x, d.y, b, g, m, !1), + (a.fillStyle = c), + (a.strokeStyle = "white"), + (a.lineWidth = 2), + a.closePath(), + a.fill()) + : "doughnut" === e && + (a.beginPath(), + a.arc(d.x, d.y, b, g, m, !1), + 0 <= k && a.arc(d.x, d.y, k * b, m, g, !0), + a.closePath(), + (a.fillStyle = c), + (a.strokeStyle = "white"), + (a.lineWidth = 2), + a.fill()); + a.globalAlpha = 1; + a.restore(); + } + }; + p.prototype.renderPie = function (a) { + function d() { + if (h && s) { + for (var a = 0, b = 0, c = 0, e = 0, d = 0; d < s.length; d++) { + var g = s[d], + l = h.dataPointIds[d]; + f[d].id = l; + f[d].objectType = "dataPoint"; + f[d].dataPointIndex = d; + f[d].dataSeriesIndex = 0; + var m = f[d], + q = { percent: null, total: null }, + p = null, + q = k.getPercentAndTotal(h, g); + if (h.indexLabelFormatter || g.indexLabelFormatter) + p = { + chart: k.options, + dataSeries: h, + dataPoint: g, + total: q.total, + percent: q.percent, + }; + q = g.indexLabelFormatter + ? g.indexLabelFormatter(p) + : g.indexLabel + ? k.replaceKeywordsWithValue(g.indexLabel, g, h, d) + : h.indexLabelFormatter + ? h.indexLabelFormatter(p) + : h.indexLabel + ? k.replaceKeywordsWithValue(h.indexLabel, g, h, d) + : g.label + ? g.label + : ""; + k._eventManager.objectMap[l] = m; + m.center = { x: x.x, y: x.y }; + m.y = g.y; + m.radius = A; + m.percentInnerRadius = F; + m.indexLabelText = q; + m.indexLabelPlacement = h.indexLabelPlacement; + m.indexLabelLineColor = g.indexLabelLineColor + ? g.indexLabelLineColor + : h.options.indexLabelLineColor + ? h.options.indexLabelLineColor + : g.color + ? g.color + : h._colorSet[d % h._colorSet.length]; + m.indexLabelLineThickness = u(g.indexLabelLineThickness) + ? h.indexLabelLineThickness + : g.indexLabelLineThickness; + m.indexLabelLineDashType = g.indexLabelLineDashType + ? g.indexLabelLineDashType + : h.indexLabelLineDashType; + m.indexLabelFontColor = g.indexLabelFontColor + ? g.indexLabelFontColor + : h.indexLabelFontColor; + m.indexLabelFontStyle = g.indexLabelFontStyle + ? g.indexLabelFontStyle + : h.indexLabelFontStyle; + m.indexLabelFontWeight = g.indexLabelFontWeight + ? g.indexLabelFontWeight + : h.indexLabelFontWeight; + m.indexLabelFontSize = u(g.indexLabelFontSize) + ? h.indexLabelFontSize + : g.indexLabelFontSize; + m.indexLabelFontFamily = g.indexLabelFontFamily + ? g.indexLabelFontFamily + : h.indexLabelFontFamily; + m.indexLabelBackgroundColor = g.indexLabelBackgroundColor + ? g.indexLabelBackgroundColor + : h.options.indexLabelBackgroundColor + ? h.options.indexLabelBackgroundColor + : h.indexLabelBackgroundColor; + m.indexLabelMaxWidth = g.indexLabelMaxWidth + ? g.indexLabelMaxWidth + : h.indexLabelMaxWidth + ? h.indexLabelMaxWidth + : 0.33 * n.width; + m.indexLabelWrap = + "undefined" !== typeof g.indexLabelWrap + ? g.indexLabelWrap + : h.indexLabelWrap; + m.startAngle = + 0 === d + ? h.startAngle + ? (h.startAngle / 180) * Math.PI + : 0 + : f[d - 1].endAngle; + m.startAngle = (m.startAngle + 2 * Math.PI) % (2 * Math.PI); + m.endAngle = m.startAngle + ((2 * Math.PI) / z) * Math.abs(g.y); + g = (m.endAngle + m.startAngle) / 2; + g = (g + 2 * Math.PI) % (2 * Math.PI); + m.midAngle = g; + if (m.midAngle > Math.PI / 2 - t && m.midAngle < Math.PI / 2 + t) { + if (0 === a || f[c].midAngle > m.midAngle) c = d; + a++; + } else if ( + m.midAngle > (3 * Math.PI) / 2 - t && + m.midAngle < (3 * Math.PI) / 2 + t + ) { + if (0 === b || f[e].midAngle > m.midAngle) e = d; + b++; + } + m.hemisphere = + g > Math.PI / 2 && g <= (3 * Math.PI) / 2 ? "left" : "right"; + m.indexLabelTextBlock = new ka(k.plotArea.ctx, { + fontSize: m.indexLabelFontSize, + fontFamily: m.indexLabelFontFamily, + fontColor: m.indexLabelFontColor, + fontStyle: m.indexLabelFontStyle, + fontWeight: m.indexLabelFontWeight, + horizontalAlign: "left", + backgroundColor: m.indexLabelBackgroundColor, + maxWidth: m.indexLabelMaxWidth, + maxHeight: m.indexLabelWrap + ? 5 * m.indexLabelFontSize + : 1.5 * m.indexLabelFontSize, + text: m.indexLabelText, + padding: 0, + textBaseline: "top", + }); + m.indexLabelTextBlock.measureText(); + } + l = g = 0; + q = !1; + for (d = 0; d < s.length; d++) + (m = f[(c + d) % s.length]), + 1 < a && + m.midAngle > Math.PI / 2 - t && + m.midAngle < Math.PI / 2 + t && + (g <= a / 2 && !q + ? ((m.hemisphere = "right"), g++) + : ((m.hemisphere = "left"), (q = !0))); + q = !1; + for (d = 0; d < s.length; d++) + (m = f[(e + d) % s.length]), + 1 < b && + m.midAngle > (3 * Math.PI) / 2 - t && + m.midAngle < (3 * Math.PI) / 2 + t && + (l <= b / 2 && !q + ? ((m.hemisphere = "left"), l++) + : ((m.hemisphere = "right"), (q = !0))); + } + } + function b(a) { + var b = k.plotArea.ctx; + b.clearRect(n.x1, n.y1, n.width, n.height); + b.fillStyle = k.backgroundColor; + b.fillRect(n.x1, n.y1, n.width, n.height); + for (b = 0; b < s.length; b++) { + var c = f[b].startAngle, + e = f[b].endAngle; + if (e > c) { + var d = 0.07 * A * Math.cos(f[b].midAngle), + g = 0.07 * A * Math.sin(f[b].midAngle), + m = !1; + if (s[b].exploded) { + if ( + 1e-9 < Math.abs(f[b].center.x - (x.x + d)) || + 1e-9 < Math.abs(f[b].center.y - (x.y + g)) + ) + (f[b].center.x = x.x + d * a), + (f[b].center.y = x.y + g * a), + (m = !0); + } else if ( + 0 < Math.abs(f[b].center.x - x.x) || + 0 < Math.abs(f[b].center.y - x.y) + ) + (f[b].center.x = x.x + d * (1 - a)), + (f[b].center.y = x.y + g * (1 - a)), + (m = !0); + m && + ((d = {}), + (d.dataSeries = h), + (d.dataPoint = h.dataPoints[b]), + (d.index = b), + k.toolTip.highlightObjects([d])); + ja( + k.plotArea.ctx, + f[b].center, + f[b].radius, + s[b].color ? s[b].color : h._colorSet[b % h._colorSet.length], + h.type, + c, + e, + h.fillOpacity, + f[b].percentInnerRadius + ); + } + } + a = k.plotArea.ctx; + a.save(); + a.fillStyle = "black"; + a.strokeStyle = "grey"; + a.textBaseline = "middle"; + a.lineJoin = "round"; + for (b = b = 0; b < s.length; b++) + (c = f[b]), + c.indexLabelText && + ((c.indexLabelTextBlock.y -= c.indexLabelTextBlock.height / 2), + (e = 0), + (e = + "left" === c.hemisphere + ? "inside" !== h.indexLabelPlacement + ? -(c.indexLabelTextBlock.width + q) + : -c.indexLabelTextBlock.width / 2 + : "inside" !== h.indexLabelPlacement + ? q + : -c.indexLabelTextBlock.width / 2), + (c.indexLabelTextBlock.x += e), + c.indexLabelTextBlock.render(!0), + (c.indexLabelTextBlock.x -= e), + (c.indexLabelTextBlock.y += c.indexLabelTextBlock.height / 2), + "inside" !== c.indexLabelPlacement && + 0 < c.indexLabelLineThickness && + ((e = c.center.x + A * Math.cos(c.midAngle)), + (d = c.center.y + A * Math.sin(c.midAngle)), + (a.strokeStyle = c.indexLabelLineColor), + (a.lineWidth = c.indexLabelLineThickness), + a.setLineDash && + a.setLineDash( + R(c.indexLabelLineDashType, c.indexLabelLineThickness) + ), + a.beginPath(), + a.moveTo(e, d), + a.lineTo(c.indexLabelTextBlock.x, c.indexLabelTextBlock.y), + a.lineTo( + c.indexLabelTextBlock.x + ("left" === c.hemisphere ? -q : q), + c.indexLabelTextBlock.y + ), + a.stroke()), + (a.lineJoin = "miter")); + a.save(); + } + function c(a, b) { + var c = 0, + c = a.indexLabelTextBlock.y - a.indexLabelTextBlock.height / 2, + e = a.indexLabelTextBlock.y + a.indexLabelTextBlock.height / 2, + d = b.indexLabelTextBlock.y - b.indexLabelTextBlock.height / 2, + f = b.indexLabelTextBlock.y + b.indexLabelTextBlock.height / 2; + return (c = + b.indexLabelTextBlock.y > a.indexLabelTextBlock.y ? d - e : c - f); + } + function e(a) { + for (var b = null, e = 1; e < s.length; e++) + if ( + ((b = (a + e + f.length) % f.length), + f[b].hemisphere !== f[a].hemisphere) + ) { + b = null; + break; + } else if ( + f[b].indexLabelText && + b !== a && + (0 > c(f[b], f[a]) || + ("right" === f[a].hemisphere + ? f[b].indexLabelTextBlock.y >= f[a].indexLabelTextBlock.y + : f[b].indexLabelTextBlock.y <= f[a].indexLabelTextBlock.y)) + ) + break; + else b = null; + return b; + } + function g(a, b, d) { + d = (d || 0) + 1; + if (1e3 < d) return 0; + b = b || 0; + var m = 0, + h = x.y - 1 * r, + l = x.y + 1 * r; + if (0 <= a && a < s.length) { + var n = f[a]; + if ( + (0 > b && n.indexLabelTextBlock.y < h) || + (0 < b && n.indexLabelTextBlock.y > l) + ) + return 0; + var k = 0, + q = 0, + q = (k = k = 0); + 0 > b + ? n.indexLabelTextBlock.y - n.indexLabelTextBlock.height / 2 > h && + n.indexLabelTextBlock.y - n.indexLabelTextBlock.height / 2 + b < + h && + (b = -( + h - + (n.indexLabelTextBlock.y - n.indexLabelTextBlock.height / 2 + b) + )) + : n.indexLabelTextBlock.y + n.indexLabelTextBlock.height / 2 < h && + n.indexLabelTextBlock.y + n.indexLabelTextBlock.height / 2 + b > + l && + (b = + n.indexLabelTextBlock.y + + n.indexLabelTextBlock.height / 2 + + b - + l); + b = n.indexLabelTextBlock.y + b; + h = 0; + h = + "right" === n.hemisphere + ? x.x + Math.sqrt(Math.pow(r, 2) - Math.pow(b - x.y, 2)) + : x.x - Math.sqrt(Math.pow(r, 2) - Math.pow(b - x.y, 2)); + q = x.x + A * Math.cos(n.midAngle); + k = x.y + A * Math.sin(n.midAngle); + k = Math.sqrt(Math.pow(h - q, 2) + Math.pow(b - k, 2)); + q = Math.acos(A / r); + k = Math.acos((r * r + A * A - k * k) / (2 * A * r)); + b = k < q ? b - n.indexLabelTextBlock.y : 0; + h = null; + for (l = 1; l < s.length; l++) + if ( + ((h = (a - l + f.length) % f.length), + f[h].hemisphere !== f[a].hemisphere) + ) { + h = null; + break; + } else if ( + f[h].indexLabelText && + f[h].hemisphere === f[a].hemisphere && + h !== a && + (0 > c(f[h], f[a]) || + ("right" === f[a].hemisphere + ? f[h].indexLabelTextBlock.y <= f[a].indexLabelTextBlock.y + : f[h].indexLabelTextBlock.y >= f[a].indexLabelTextBlock.y)) + ) + break; + else h = null; + q = h; + k = e(a); + l = h = 0; + 0 > b + ? ((l = "right" === n.hemisphere ? q : k), + (m = b), + null !== l && + ((q = -b), + (b = + n.indexLabelTextBlock.y - + n.indexLabelTextBlock.height / 2 - + (f[l].indexLabelTextBlock.y + + f[l].indexLabelTextBlock.height / 2)), + b - q < p && + ((h = -q), + (l = g(l, h, d + 1)), + +l.toFixed(C) > +h.toFixed(C) && + (m = b > p ? -(b - p) : -(q - (l - h)))))) + : 0 < b && + ((l = "right" === n.hemisphere ? k : q), + (m = b), + null !== l && + ((q = b), + (b = + f[l].indexLabelTextBlock.y - + f[l].indexLabelTextBlock.height / 2 - + (n.indexLabelTextBlock.y + n.indexLabelTextBlock.height / 2)), + b - q < p && + ((h = q), + (l = g(l, h, d + 1)), + +l.toFixed(C) < +h.toFixed(C) && + (m = b > p ? b - p : q - (h - l))))); + m && + ((d = n.indexLabelTextBlock.y + m), + (b = 0), + (b = + "right" === n.hemisphere + ? x.x + Math.sqrt(Math.pow(r, 2) - Math.pow(d - x.y, 2)) + : x.x - Math.sqrt(Math.pow(r, 2) - Math.pow(d - x.y, 2))), + n.midAngle > Math.PI / 2 - t && n.midAngle < Math.PI / 2 + t + ? ((h = (a - 1 + f.length) % f.length), + (h = f[h]), + (a = f[(a + 1 + f.length) % f.length]), + "left" === n.hemisphere && + "right" === h.hemisphere && + b > h.indexLabelTextBlock.x + ? (b = h.indexLabelTextBlock.x - 15) + : "right" === n.hemisphere && + "left" === a.hemisphere && + b < a.indexLabelTextBlock.x && + (b = a.indexLabelTextBlock.x + 15)) + : n.midAngle > (3 * Math.PI) / 2 - t && + n.midAngle < (3 * Math.PI) / 2 + t && + ((h = (a - 1 + f.length) % f.length), + (h = f[h]), + (a = f[(a + 1 + f.length) % f.length]), + "right" === n.hemisphere && + "left" === h.hemisphere && + b < h.indexLabelTextBlock.x + ? (b = h.indexLabelTextBlock.x + 15) + : "left" === n.hemisphere && + "right" === a.hemisphere && + b > a.indexLabelTextBlock.x && + (b = a.indexLabelTextBlock.x - 15)), + (n.indexLabelTextBlock.y = d), + (n.indexLabelTextBlock.x = b), + (n.indexLabelAngle = Math.atan2( + n.indexLabelTextBlock.y - x.y, + n.indexLabelTextBlock.x - x.x + ))); + } + return m; + } + function m() { + var a = k.plotArea.ctx; + a.fillStyle = "grey"; + a.strokeStyle = "grey"; + a.font = "16px Arial"; + a.textBaseline = "middle"; + for ( + var b = (a = 0), d = 0, m = !0, b = 0; + 10 > b && (1 > b || 0 < d); + b++ + ) { + if ( + h.radius || + (!h.radius && + "undefined" !== typeof h.innerRadius && + null !== h.innerRadius && + A - d <= D) + ) + m = !1; + m && (A -= d); + d = 0; + if ("inside" !== h.indexLabelPlacement) { + r = A * v; + for (a = 0; a < s.length; a++) { + var l = f[a]; + l.indexLabelTextBlock.x = x.x + r * Math.cos(l.midAngle); + l.indexLabelTextBlock.y = x.y + r * Math.sin(l.midAngle); + l.indexLabelAngle = l.midAngle; + l.radius = A; + l.percentInnerRadius = F; + } + for (var t, u, a = 0; a < s.length; a++) { + var l = f[a], + y = e(a); + if (null !== y) { + t = f[a]; + u = f[y]; + var z = 0, + z = c(t, u) - p; + if (0 > z) { + for (var E = (u = 0), H = 0; H < s.length; H++) + H !== a && + f[H].hemisphere === l.hemisphere && + (f[H].indexLabelTextBlock.y < l.indexLabelTextBlock.y + ? u++ + : E++); + u = (z / (u + E || 1)) * E; + var E = -1 * (z - u), + I = (H = 0); + "right" === l.hemisphere + ? ((H = g(a, u)), + (E = -1 * (z - H)), + (I = g(y, E)), + +I.toFixed(C) < +E.toFixed(C) && + +H.toFixed(C) <= +u.toFixed(C) && + g(a, -(E - I))) + : ((H = g(y, u)), + (E = -1 * (z - H)), + (I = g(a, E)), + +I.toFixed(C) < +E.toFixed(C) && + +H.toFixed(C) <= +u.toFixed(C) && + g(y, -(E - I))); + } + } + } + } else + for (a = 0; a < s.length; a++) + (l = f[a]), + (r = "pie" === h.type ? 0.7 * A : 0.8 * A), + (y = x.x + r * Math.cos(l.midAngle)), + (u = x.y + r * Math.sin(l.midAngle)), + (l.indexLabelTextBlock.x = y), + (l.indexLabelTextBlock.y = u); + for (a = 0; a < s.length; a++) + if ( + ((l = f[a]), + (y = l.indexLabelTextBlock.measureText()), + 0 !== y.height && 0 !== y.width) + ) + (y = y = 0), + "right" === l.hemisphere + ? ((y = + n.x2 - + (l.indexLabelTextBlock.x + + l.indexLabelTextBlock.width + + q)), + (y *= -1)) + : (y = + n.x1 - + (l.indexLabelTextBlock.x - + l.indexLabelTextBlock.width - + q)), + 0 < y && + (!m && + l.indexLabelText && + ((u = + "right" === l.hemisphere + ? n.x2 - l.indexLabelTextBlock.x + : l.indexLabelTextBlock.x - n.x1), + 0.3 * l.indexLabelTextBlock.maxWidth > u + ? (l.indexLabelText = "") + : (l.indexLabelTextBlock.maxWidth = 0.85 * u), + 0.3 * l.indexLabelTextBlock.maxWidth < u && + (l.indexLabelTextBlock.x -= + "right" === l.hemisphere ? 2 : -2)), + Math.abs( + l.indexLabelTextBlock.y - + l.indexLabelTextBlock.height / 2 - + x.y + ) < A || + Math.abs( + l.indexLabelTextBlock.y + + l.indexLabelTextBlock.height / 2 - + x.y + ) < A) && + ((y /= Math.abs(Math.cos(l.indexLabelAngle))), + 9 < y && (y *= 0.3), + y > d && (d = y)), + (y = y = 0), + 0 < l.indexLabelAngle && l.indexLabelAngle < Math.PI + ? ((y = + n.y2 - + (l.indexLabelTextBlock.y + + l.indexLabelTextBlock.height / 2 + + 5)), + (y *= -1)) + : (y = + n.y1 - + (l.indexLabelTextBlock.y - + l.indexLabelTextBlock.height / 2 - + 5)), + 0 < y && + (!m && + l.indexLabelText && + ((u = + 0 < l.indexLabelAngle && l.indexLabelAngle < Math.PI + ? -1 + : 1), + 0 === g(a, y * u) && g(a, 2 * u)), + Math.abs(l.indexLabelTextBlock.x - x.x) < A && + ((y /= Math.abs(Math.sin(l.indexLabelAngle))), + 9 < y && (y *= 0.3), + y > d && (d = y))); + var K = function (a, b, c) { + for ( + var e = [], d = 0; + e.push(f[b]), b !== c; + b = (b + 1 + s.length) % s.length + ); + e.sort(function (a, b) { + return a.y - b.y; + }); + for (b = 0; b < e.length; b++) + if (((c = e[b]), d < 0.7 * a)) + (d += c.indexLabelTextBlock.height), + (c.indexLabelTextBlock.text = ""), + (c.indexLabelText = ""), + c.indexLabelTextBlock.measureText(); + else break; + }; + (function () { + for (var a = -1, b = -1, d = 0, g = !1, l = 0; l < s.length; l++) + if (((g = !1), (t = f[l]), t.indexLabelText)) { + var m = e(l); + if (null !== m) { + var h = f[m]; + z = 0; + z = c(t, h); + var n; + if ((n = 0 > z)) { + n = t.indexLabelTextBlock.x; + var k = + t.indexLabelTextBlock.y - + t.indexLabelTextBlock.height / 2, + w = + t.indexLabelTextBlock.y + + t.indexLabelTextBlock.height / 2, + p = + h.indexLabelTextBlock.y - + h.indexLabelTextBlock.height / 2, + u = h.indexLabelTextBlock.x + h.indexLabelTextBlock.width, + r = + h.indexLabelTextBlock.y + + h.indexLabelTextBlock.height / 2; + n = + t.indexLabelTextBlock.x + t.indexLabelTextBlock.width < + h.indexLabelTextBlock.x - q || + n > u + q || + k > r + q || + w < p - q + ? !1 + : !0; + } + n + ? (0 > a && (a = l), + m !== a && ((b = m), (d += -z)), + 0 === l % Math.max(s.length / 10, 3) && (g = !0)) + : (g = !0); + g && + 0 < d && + 0 <= a && + 0 <= b && + (K(d, a, b), (b = a = -1), (d = 0)); + } + } + 0 < d && K(d, a, b); + })(); + } + } + function l() { + k.plotArea.layoutManager.reset(); + k.title && + (k.title.dockInsidePlotArea || + ("center" === k.title.horizontalAlign && + "center" === k.title.verticalAlign)) && + k.title.render(); + if (k.subtitles) + for (var a = 0; a < k.subtitles.length; a++) { + var b = k.subtitles[a]; + (b.dockInsidePlotArea || + ("center" === b.horizontalAlign && + "center" === b.verticalAlign)) && + b.render(); + } + k.legend && + (k.legend.dockInsidePlotArea || + ("center" === k.legend.horizontalAlign && + "center" === k.legend.verticalAlign)) && + (k.legend.setLayout(), k.legend.render()); + } + var k = this; + if (!(0 >= a.dataSeriesIndexes.length)) { + var h = this.data[a.dataSeriesIndexes[0]], + s = h.dataPoints, + q = 10, + n = this.plotArea, + f = h.dataPointEOs, + p = 2, + r, + v = 1.3, + t = (20 / 180) * Math.PI, + C = 6, + x = { x: (n.x2 + n.x1) / 2, y: (n.y2 + n.y1) / 2 }, + z = 0; + a = !1; + for (var y = 0; y < s.length; y++) + (z += Math.abs(s[y].y)), + !a && + "undefined" !== typeof s[y].indexLabel && + null !== s[y].indexLabel && + 0 < s[y].indexLabel.toString().length && + (a = !0), + !a && + "undefined" !== typeof s[y].label && + null !== s[y].label && + 0 < s[y].label.toString().length && + (a = !0); + if (0 !== z) { + a = + a || + ("undefined" !== typeof h.indexLabel && + null !== h.indexLabel && + 0 < h.indexLabel.toString().length); + var A = + "inside" !== h.indexLabelPlacement && a + ? (0.75 * Math.min(n.width, n.height)) / 2 + : (0.92 * Math.min(n.width, n.height)) / 2; + h.radius && (A = I(h.radius, A)); + var D = + "undefined" !== typeof h.innerRadius && null !== h.innerRadius + ? I(h.innerRadius, A) + : 0.7 * A; + h.radius = A; + "doughnut" === h.type && (h.innerRadius = D); + var F = Math.min(D / A, (A - 1) / A); + this.pieDoughnutClickHandler = function (a) { + k.isAnimating || + (!u(a.dataSeries.explodeOnClick) && + !a.dataSeries.explodeOnClick) || + ((a = a.dataPoint), + (a.exploded = a.exploded ? !1 : !0), + 1 < this.dataPoints.length && + k._animator.animate(0, 500, function (a) { + b(a); + l(); + })); + }; + d(); + m(); + m(); + m(); + m(); + this.disableToolTip = !0; + this._animator.animate( + 0, + this.animatedRender ? this.animationDuration : 0, + function (a) { + var b = k.plotArea.ctx; + b.clearRect(n.x1, n.y1, n.width, n.height); + b.fillStyle = k.backgroundColor; + b.fillRect(n.x1, n.y1, n.width, n.height); + a = f[0].startAngle + 2 * Math.PI * a; + for (b = 0; b < s.length; b++) { + var c = 0 === b ? f[b].startAngle : e, + e = c + (f[b].endAngle - f[b].startAngle), + d = !1; + e > a && ((e = a), (d = !0)); + var g = s[b].color + ? s[b].color + : h._colorSet[b % h._colorSet.length]; + e > c && + ja( + k.plotArea.ctx, + f[b].center, + f[b].radius, + g, + h.type, + c, + e, + h.fillOpacity, + f[b].percentInnerRadius + ); + if (d) break; + } + l(); + }, + function () { + k.disableToolTip = !1; + k._animator.animate(0, k.animatedRender ? 500 : 0, function (a) { + b(a); + l(); + }); + } + ); + } + } + }; + var ra = function (a, d, b, c) { + "undefined" === typeof b && (b = 1); + 0 >= Math.round(d.y4 - d.y1) || + (a.save(), + (a.globalAlpha = b), + a.beginPath(), + a.moveTo(Math.round(d.x1), Math.round(d.y1)), + a.lineTo(Math.round(d.x2), Math.round(d.y2)), + a.lineTo(Math.round(d.x3), Math.round(d.y3)), + a.lineTo(Math.round(d.x4), Math.round(d.y4)), + "undefined" !== d.x5 && + (a.lineTo(Math.round(d.x5), Math.round(d.y5)), + a.lineTo(Math.round(d.x6), Math.round(d.y6))), + a.closePath(), + (a.fillStyle = c ? c : d.color), + a.fill(), + (a.globalAplha = 1), + a.restore()); + }; + p.prototype.renderFunnel = function (a) { + function d() { + for (var a = 0, b = [], c = 0; c < C.length; c++) { + if ("undefined" === typeof C[c].y) return -1; + C[c].y = "number" === typeof C[c].y ? C[c].y : 0; + a += Math.abs(C[c].y); + } + if (0 === a) return -1; + for (c = b[0] = 0; c < C.length; c++) + b.push((Math.abs(C[c].y) * F) / a); + return b; + } + function b() { + var a = $, + b = V, + c = K, + e = ea, + d, + f; + d = O; + f = Z - N; + e = Math.abs(((f - d) * (b - a + (e - c))) / 2); + c = ea - K; + d = f - d; + f = c * (f - Z); + f = Math.abs(f); + f = e + f; + for (var e = [], g = 0, l = 0; l < C.length; l++) { + if ("undefined" === typeof C[l].y) return -1; + C[l].y = "number" === typeof C[l].y ? C[l].y : 0; + g += Math.abs(C[l].y); + } + if (0 === g) return -1; + for ( + var m = (e[0] = 0), h = 0, n, k, b = b - a, m = !1, l = 0; + l < C.length; + l++ + ) + (a = (Math.abs(C[l].y) * f) / g), + m + ? (n = 0 == Number(c.toFixed(3)) ? 0 : a / c) + : ((k = ba * ba * b * b - 4 * Math.abs(ba) * a), + 0 > k + ? ((k = c), + (m = ((b + k) * (d - h)) / 2), + (a -= m), + (n = d - h), + (h += d - h), + (n += 0 == k ? 0 : a / k), + (h += a / k), + (m = !0)) + : ((n = (Math.abs(ba) * b - Math.sqrt(k)) / 2), + (k = b - (2 * n) / Math.abs(ba)), + (h += n), + h > d && + ((h -= n), + (k = c), + (m = ((b + k) * (d - h)) / 2), + (a -= m), + (n = d - h), + (h += d - h), + (n += a / k), + (h += a / k), + (m = !0)), + (b = k))), + e.push(n); + return e; + } + function c() { + if (t && C) { + for ( + var a, + b, + c, + e, + d, + g, + l, + h, + m, + n, + k, + q, + s, + w, + p = [], + B = [], + x = { percent: null, total: null }, + v = null, + y = 0; + y < C.length; + y++ + ) + (w = P[y]), + (w = + "undefined" !== typeof w.x5 + ? (w.y2 + w.y4) / 2 + : (w.y2 + w.y3) / 2), + (w = f(w).x2 + 1), + (p[y] = L - w - S); + w = 0.5 * S; + for (var y = 0, A = C.length - 1; y < C.length || 0 <= A; y++, A--) { + b = t.reversed ? C[A] : C[y]; + a = b.color + ? b.color + : t.reversed + ? t._colorSet[(C.length - 1 - y) % t._colorSet.length] + : t._colorSet[y % t._colorSet.length]; + c = b.indexLabelPlacement || t.indexLabelPlacement || "outside"; + e = + b.indexLabelBackgroundColor || + t.indexLabelBackgroundColor || + (r ? "transparent" : null); + d = b.indexLabelFontColor || t.indexLabelFontColor || "#979797"; + g = u(b.indexLabelFontSize) + ? t.indexLabelFontSize + : b.indexLabelFontSize; + l = b.indexLabelFontStyle || t.indexLabelFontStyle || "normal"; + h = b.indexLabelFontFamily || t.indexLabelFontFamily || "arial"; + m = b.indexLabelFontWeight || t.indexLabelFontWeight || "normal"; + a = b.indexLabelLineColor || t.options.indexLabelLineColor || a; + n = + "number" === typeof b.indexLabelLineThickness + ? b.indexLabelLineThickness + : "number" === typeof t.indexLabelLineThickness + ? t.indexLabelLineThickness + : 2; + k = b.indexLabelLineDashType || t.indexLabelLineDashType || "solid"; + q = + "undefined" !== typeof b.indexLabelWrap + ? b.indexLabelWrap + : "undefined" !== typeof t.indexLabelWrap + ? t.indexLabelWrap + : !0; + s = t.dataPointIds[y]; + z._eventManager.objectMap[s] = { + id: s, + objectType: "dataPoint", + dataPointIndex: y, + dataSeriesIndex: 0, + funnelSection: P[t.reversed ? C.length - 1 - y : y], + }; + "inside" === t.indexLabelPlacement && + ((p[y] = + y !== fa + ? t.reversed + ? P[y].x2 - P[y].x1 + : P[y].x3 - P[y].x4 + : P[y].x3 - P[y].x6), + 20 > p[y] && + ((p[y] = + y !== fa + ? t.reversed + ? P[y].x3 - P[y].x4 + : P[y].x2 - P[y].x1 + : P[y].x2 - P[y].x1), + (p[y] /= 2))); + s = b.indexLabelMaxWidth + ? b.indexLabelMaxWidth + : t.options.indexLabelMaxWidth + ? t.indexLabelMaxWidth + : p[y]; + if (s > p[y] || 0 > s) s = p[y]; + B[y] = "inside" === t.indexLabelPlacement ? P[y].height : !1; + x = z.getPercentAndTotal(t, b); + if (t.indexLabelFormatter || b.indexLabelFormatter) + v = { + chart: z.options, + dataSeries: t, + dataPoint: b, + total: x.total, + percent: x.percent, + }; + b = b.indexLabelFormatter + ? b.indexLabelFormatter(v) + : b.indexLabel + ? z.replaceKeywordsWithValue(b.indexLabel, b, t, y) + : t.indexLabelFormatter + ? t.indexLabelFormatter(v) + : t.indexLabel + ? z.replaceKeywordsWithValue(t.indexLabel, b, t, y) + : b.label + ? b.label + : ""; + 0 >= n && (n = 0); + 1e3 > s && 1e3 - s < w && (s += 1e3 - s); + Q.roundRect || Ea(Q); + c = new ka(Q, { + fontSize: g, + fontFamily: h, + fontColor: d, + fontStyle: l, + fontWeight: m, + horizontalAlign: c, + backgroundColor: e, + maxWidth: s, + maxHeight: !1 === B[y] ? (q ? 4.28571429 * g : 1.5 * g) : B[y], + text: b, + padding: ga, + }); + c.measureText(); + J.push({ + textBlock: c, + id: t.reversed ? A : y, + isDirty: !1, + lineColor: a, + lineThickness: n, + lineDashType: k, + height: c.height < c.maxHeight ? c.height : c.maxHeight, + width: c.width < c.maxWidth ? c.width : c.maxWidth, + }); + } + } + } + function e() { + var a, + b, + c, + e, + d, + f = []; + d = !1; + c = 0; + for ( + var g, + l = L - V - S / 2, + l = t.options.indexLabelMaxWidth + ? t.indexLabelMaxWidth > l + ? l + : t.indexLabelMaxWidth + : l, + h = J.length - 1; + 0 <= h; + h-- + ) { + g = C[J[h].id]; + c = J[h]; + e = c.textBlock; + b = (a = n(h) < P.length ? J[n(h)] : null) ? a.textBlock : null; + c = c.height; + a && e.y + c + ga > b.y && (d = !0); + c = g.indexLabelMaxWidth || l; + if (c > l || 0 > c) c = l; + f.push(c); + } + if (d) + for (h = J.length - 1; 0 <= h; h--) + (a = P[h]), + (J[h].textBlock.maxWidth = f[f.length - (h + 1)]), + J[h].textBlock.measureText(), + (J[h].textBlock.x = L - l), + (c = + J[h].textBlock.height < J[h].textBlock.maxHeight + ? J[h].textBlock.height + : J[h].textBlock.maxHeight), + (d = + J[h].textBlock.width < J[h].textBlock.maxWidth + ? J[h].textBlock.width + : J[h].textBlock.maxWidth), + (J[h].height = c), + (J[h].width = d), + (c = + "undefined" !== typeof a.x5 + ? (a.y2 + a.y4) / 2 + : (a.y2 + a.y3) / 2), + (J[h].textBlock.y = c - J[h].height / 2), + t.reversed + ? (J[h].textBlock.y + J[h].height > pa + D && + (J[h].textBlock.y = pa + D - J[h].height), + J[h].textBlock.y < wa - D && (J[h].textBlock.y = wa - D)) + : (J[h].textBlock.y < pa - D && (J[h].textBlock.y = pa - D), + J[h].textBlock.y + J[h].height > wa + D && + (J[h].textBlock.y = wa + D - J[h].height)); + } + function g() { + var a, b, c, e; + if ("inside" !== t.indexLabelPlacement) + for (var d = 0; d < P.length; d++) + 0 == J[d].textBlock.text.length + ? (J[d].isDirty = !0) + : ((a = P[d]), + (c = + "undefined" !== typeof a.x5 + ? (a.y2 + a.y4) / 2 + : (a.y2 + a.y3) / 2), + (b = t.reversed + ? "undefined" !== typeof a.x5 + ? c > Da + ? f(c).x2 + 1 + : (a.x2 + a.x3) / 2 + 1 + : (a.x2 + a.x3) / 2 + 1 + : "undefined" !== typeof a.x5 + ? c < Da + ? f(c).x2 + 1 + : (a.x4 + a.x3) / 2 + 1 + : (a.x2 + a.x3) / 2 + 1), + (J[d].textBlock.x = b + S), + (J[d].textBlock.y = c - J[d].height / 2), + t.reversed + ? (J[d].textBlock.y + J[d].height > pa + D && + (J[d].textBlock.y = pa + D - J[d].height), + J[d].textBlock.y < wa - D && (J[d].textBlock.y = wa - D)) + : (J[d].textBlock.y < pa - D && (J[d].textBlock.y = pa - D), + J[d].textBlock.y + J[d].height > wa + D && + (J[d].textBlock.y = wa + D - J[d].height))); + else + for (d = 0; d < P.length; d++) + 0 == J[d].textBlock.text.length + ? (J[d].isDirty = !0) + : ((a = P[d]), + (b = a.height), + (c = J[d].height), + (e = J[d].width), + b >= c + ? ((b = + d != fa + ? (a.x4 + a.x3) / 2 - e / 2 + : (a.x5 + a.x4) / 2 - e / 2), + (c = + d != fa + ? (a.y1 + a.y3) / 2 - c / 2 + : (a.y1 + a.y4) / 2 - c / 2), + (J[d].textBlock.x = b), + (J[d].textBlock.y = c)) + : (J[d].isDirty = !0)); + } + function m() { + function a(b, c) { + var d; + if (0 > b || b >= J.length) return 0; + var e, + f = J[b].textBlock; + if (0 > c) { + c *= -1; + e = q(b); + d = l(e, b); + if (d >= c) return (f.y -= c), c; + if (0 == b) return 0 < d && (f.y -= d), d; + d += a(e, -(c - d)); + 0 < d && (f.y -= d); + return d; + } + e = n(b); + d = l(b, e); + if (d >= c) return (f.y += c), c; + if (b == P.length - 1) return 0 < d && (f.y += d), d; + d += a(e, c - d); + 0 < d && (f.y += d); + return d; + } + function b() { + var a, + d, + e, + f, + g = 0, + h; + f = (Z - O + 2 * D) / k; + h = k; + for (var l, m = 1; m < h; m++) { + e = m * f; + for (var s = J.length - 1; 0 <= s; s--) + !J[s].isDirty && + J[s].textBlock.y < e && + J[s].textBlock.y + J[s].height > e && + ((l = n(s)), + !(l >= J.length - 1) && + J[s].textBlock.y + J[s].height + ga > J[l].textBlock.y && + (J[s].textBlock.y = + J[s].textBlock.y + J[s].height - e > e - J[s].textBlock.y + ? e + 1 + : e - J[s].height - 1)); + } + for (l = P.length - 1; 0 < l; l--) + if (!J[l].isDirty) { + e = q(l); + if (0 > e && ((e = 0), J[e].isDirty)) break; + if (J[l].textBlock.y < J[e].textBlock.y + J[e].height) { + d = d || l; + f = l; + for ( + h = 0; + J[f].textBlock.y < J[e].textBlock.y + J[e].height + ga; + + ) { + a = a || J[f].textBlock.y + J[f].height; + h += J[f].height; + h += ga; + f = e; + if (0 >= f) { + f = 0; + h += J[f].height; + break; + } + e = q(f); + if (0 > e) { + f = 0; + h += J[f].height; + break; + } + } + if (f != l) { + g = J[f].textBlock.y; + a -= g; + a = h - a; + g = c(a, d, f); + break; + } + } + } + return g; + } + function c(a, b, d) { + var e = [], + f = 0, + g = 0; + for (a = Math.abs(a); d <= b; d++) e.push(P[d]); + e.sort(function (a, b) { + return a.height - b.height; + }); + for (d = 0; d < e.length; d++) + if (((b = e[d]), f < a)) + g++, + (f += J[b.id].height + ga), + (J[b.id].textBlock.text = ""), + (J[b.id].indexLabelText = ""), + (J[b.id].isDirty = !0), + J[b.id].textBlock.measureText(); + else break; + return g; + } + for (var d, e, f, g, h, m, k = 1, s = 0; s < 2 * k; s++) { + for ( + var w = J.length - 1; + 0 <= w && + !(0 <= q(w) && q(w), + (f = J[w]), + (g = f.textBlock), + (m = (h = n(w) < P.length ? J[n(w)] : null) ? h.textBlock : null), + (d = +f.height.toFixed(6)), + (e = +g.y.toFixed(6)), + !f.isDirty && + h && + e + d + ga > +m.y.toFixed(6) && + ((d = g.y + d + ga - m.y), + (e = a(w, -d)), + e < d && (0 < e && (d -= e), (e = a(n(w), d)), e != d))); + w-- + ); + b(); + } + } + function l(a, b) { + return ( + (b < P.length ? J[b].textBlock.y : t.reversed ? pa + D : wa + D) - + (0 > a + ? t.reversed + ? wa - D + : pa - D + : J[a].textBlock.y + J[a].height + ga) + ); + } + function k(a, b, c) { + var d, + e, + f, + l = [], + m = D, + n = []; + -1 !== b && + (0 <= W.indexOf(b) + ? ((e = W.indexOf(b)), W.splice(e, 1)) + : (W.push(b), + (W = W.sort(function (a, b) { + return a - b; + })))); + if (0 === W.length) l = ia; + else { + e = + (D * + (1 != W.length || (0 != W[0] && W[0] != P.length - 1) ? 2 : 1)) / + h(); + for (var q = 0; q < P.length; q++) { + if (1 == W.length && 0 == W[0]) { + if (0 === q) { + l.push(ia[q]); + d = m; + continue; + } + } else 0 === q && (d = -1 * m); + l.push(ia[q] + d); + if (0 <= W.indexOf(q) || (q < P.length && 0 <= W.indexOf(q + 1))) + d += e; + } + } + f = (function () { + for (var a = [], b = 0; b < P.length; b++) a.push(l[b] - P[b].y1); + return a; + })(); + var w = { + startTime: new Date().getTime(), + duration: c || 500, + easingFunction: function (a, b, c, d) { + return M.easing.easeOutQuart(a, b, c, d); + }, + changeSection: function (a) { + for (var b, c, d = 0; d < P.length; d++) + (b = f[d]), + (c = P[d]), + (b *= a), + "undefined" === typeof n[d] && (n[d] = 0), + 0 > n && (n *= -1), + (c.y1 += b - n[d]), + (c.y2 += b - n[d]), + (c.y3 += b - n[d]), + (c.y4 += b - n[d]), + c.y5 && ((c.y5 += b - n[d]), (c.y6 += b - n[d])), + (n[d] = b); + }, + }; + a._animator.animate( + 0, + c, + function (c) { + var d = a.plotArea.ctx || a.ctx; + ja = !0; + d.clearRect(x.x1, x.y1, x.x2 - x.x1, x.y2 - x.y1); + d.fillStyle = a.backgroundColor; + d.fillRect(x.x1, x.y1, x.width, x.height); + w.changeSection(c, b); + var e = {}; + e.dataSeries = t; + e.dataPoint = t.reversed + ? t.dataPoints[C.length - 1 - b] + : t.dataPoints[b]; + e.index = t.reversed ? C.length - 1 - b : b; + a.toolTip.highlightObjects([e]); + for (e = 0; e < P.length; e++) ra(d, P[e], t.fillOpacity); + v(d); + H && ("inside" !== t.indexLabelPlacement ? s(d) : g(), p(d)); + 1 <= c && (ja = !1); + }, + null, + M.easing.easeOutQuart + ); + } + function h() { + for (var a = 0, b = 0; b < P.length - 1; b++) + (0 <= W.indexOf(b) || 0 <= W.indexOf(b + 1)) && a++; + return a; + } + function s(a) { + for (var b, c, d, e, g = 0; g < P.length; g++) + (e = 1 === J[g].lineThickness % 2 ? 0.5 : 0), + (c = (((P[g].y2 + P[g].y4) / 2) << 0) + e), + (b = f(c).x2 - 1), + (d = J[g].textBlock.x), + (e = ((J[g].textBlock.y + J[g].height / 2) << 0) + e), + J[g].isDirty || + 0 == J[g].lineThickness || + ((a.strokeStyle = J[g].lineColor), + (a.lineWidth = J[g].lineThickness), + a.setLineDash && + a.setLineDash(R(J[g].lineDashType, J[g].lineThickness)), + a.beginPath(), + a.moveTo(b, c), + a.lineTo(d, e), + a.stroke()); + } + function q(a) { + for (a -= 1; -1 <= a && -1 != a && J[a].isDirty; a--); + return a; + } + function n(a) { + for (a += 1; a <= P.length && a != P.length && J[a].isDirty; a++); + return a; + } + function f(a) { + for (var b, c = 0; c < C.length; c++) + if (P[c].y1 < a && P[c].y4 > a) { + b = P[c]; + break; + } + return b + ? ((a = b.y6 + ? a > b.y6 + ? b.x3 + ((b.x4 - b.x3) / (b.y4 - b.y3)) * (a - b.y3) + : b.x2 + ((b.x3 - b.x2) / (b.y3 - b.y2)) * (a - b.y2) + : b.x2 + ((b.x3 - b.x2) / (b.y3 - b.y2)) * (a - b.y2)), + { x1: a, x2: a }) + : -1; + } + function p(a) { + for (var b = 0; b < P.length; b++) + J[b].isDirty || + (a && (J[b].textBlock.ctx = a), J[b].textBlock.render(!0)); + } + function v(a) { + z.plotArea.layoutManager.reset(); + a.roundRect || Ea(a); + z.title && + (z.title.dockInsidePlotArea || + ("center" === z.title.horizontalAlign && + "center" === z.title.verticalAlign)) && + ((z.title.ctx = a), z.title.render()); + if (z.subtitles) + for (var b = 0; b < z.subtitles.length; b++) { + var c = z.subtitles[b]; + if ( + c.dockInsidePlotArea || + ("center" === c.horizontalAlign && "center" === c.verticalAlign) + ) + (z.subtitles.ctx = a), c.render(); + } + z.legend && + (z.legend.dockInsidePlotArea || + ("center" === z.legend.horizontalAlign && + "center" === z.legend.verticalAlign)) && + ((z.legend.ctx = a), z.legend.setLayout(), z.legend.render()); + U.fNg && U.fNg(z); + } + var z = this; + if (!(0 >= a.dataSeriesIndexes.length)) { + for ( + var t = this.data[a.dataSeriesIndexes[0]], + C = t.dataPoints, + x = this.plotArea, + D = 0.025 * x.width, + y = 0.01 * x.width, + A = 0, + F = x.height - 2 * D, + E = Math.min(x.width - 2 * y, 2.8 * x.height), + H = !1, + I = 0; + I < C.length; + I++ + ) + if ( + (!H && + "undefined" !== typeof C[I].indexLabel && + null !== C[I].indexLabel && + 0 < C[I].indexLabel.toString().length && + (H = !0), + !H && + "undefined" !== typeof C[I].label && + null !== C[I].label && + 0 < C[I].label.toString().length && + (H = !0), + (!H && "function" === typeof t.indexLabelFormatter) || + "function" === typeof C[I].indexLabelFormatter) + ) + H = !0; + H = + H || + ("undefined" !== typeof t.indexLabel && + null !== t.indexLabel && + 0 < t.indexLabel.toString().length); + ("inside" !== t.indexLabelPlacement && H) || + (y = (x.width - 0.75 * E) / 2); + var I = x.x1 + y, + L = x.x2 - y, + O = x.y1 + D, + Z = x.y2 - D, + Q = a.targetCanvasCtx || this.plotArea.ctx || this.ctx; + if (0 != t.length && t.dataPoints && t.visible && 0 !== C.length) { + var N, G; + a = (75 * E) / 100; + var S = (30 * (L - a)) / 100; + "funnel" === t.type + ? ((N = u(t.options.neckHeight) ? 0.35 * F : t.neckHeight), + (G = u(t.options.neckWidth) ? 0.25 * a : t.neckWidth), + "string" === typeof N && N.match(/%$/) + ? ((N = parseInt(N)), (N = (N * F) / 100)) + : (N = parseInt(N)), + "string" === typeof G && G.match(/%$/) + ? ((G = parseInt(G)), (G = (G * a) / 100)) + : (G = parseInt(G)), + N > F ? (N = F) : 0 >= N && (N = 0), + G > a ? (G = a - 0.5) : 0 >= G && (G = 0)) + : "pyramid" === t.type && + ((G = N = 0), (t.reversed = t.reversed ? !1 : !0)); + var y = I + a / 2, + $ = I, + V = I + a, + pa = t.reversed ? Z : O, + K = y - G / 2, + ea = y + G / 2, + Da = t.reversed ? O + N : Z - N, + wa = t.reversed ? O : Z; + a = []; + var y = [], + P = [], + E = [], + X = O, + fa, + ba = (Da - pa) / (K - $), + ha = -ba, + I = + "area" === (t.valueRepresents ? t.valueRepresents : "height") + ? b() + : d(); + if (-1 !== I) { + if (t.reversed) + for (E.push(X), G = I.length - 1; 0 < G; G--) + (X += I[G]), E.push(X); + else for (G = 0; G < I.length; G++) (X += I[G]), E.push(X); + if (t.reversed) + for (G = 0; G < I.length; G++) + E[G] < Da + ? (a.push(K), y.push(ea), (fa = G)) + : (a.push((E[G] - pa + ba * $) / ba), + y.push((E[G] - pa + ha * V) / ha)); + else + for (G = 0; G < I.length; G++) + E[G] < Da + ? (a.push((E[G] - pa + ba * $) / ba), + y.push((E[G] - pa + ha * V) / ha), + (fa = G)) + : (a.push(K), y.push(ea)); + for (G = 0; G < I.length - 1; G++) + (X = t.reversed + ? C[C.length - 1 - G].color + ? C[C.length - 1 - G].color + : t._colorSet[(C.length - 1 - G) % t._colorSet.length] + : C[G].color + ? C[G].color + : t._colorSet[G % t._colorSet.length]), + G === fa + ? P.push({ + x1: a[G], + y1: E[G], + x2: y[G], + y2: E[G], + x3: ea, + y3: Da, + x4: y[G + 1], + y4: E[G + 1], + x5: a[G + 1], + y5: E[G + 1], + x6: K, + y6: Da, + id: G, + height: E[G + 1] - E[G], + color: X, + }) + : P.push({ + x1: a[G], + y1: E[G], + x2: y[G], + y2: E[G], + x3: y[G + 1], + y3: E[G + 1], + x4: a[G + 1], + y4: E[G + 1], + id: G, + height: E[G + 1] - E[G], + color: X, + }); + var ga = 2, + J = [], + ja = !1, + W = [], + ia = [], + I = !1; + a = a = 0; + Fa(W); + for (G = 0; G < C.length; G++) + C[G].exploded && + ((I = !0), t.reversed ? W.push(C.length - 1 - G) : W.push(G)); + Q.clearRect(x.x1, x.y1, x.width, x.height); + Q.fillStyle = z.backgroundColor; + Q.fillRect(x.x1, x.y1, x.width, x.height); + if ( + H && + t.visible && + (c(), g(), e(), "inside" !== t.indexLabelPlacement) + ) { + m(); + for (G = 0; G < C.length; G++) + J[G].isDirty || + ((a = J[G].textBlock.x + J[G].width), + (a = (L - a) / 2), + 0 == G && (A = a), + A > a && (A = a)); + for (G = 0; G < P.length; G++) + (P[G].x1 += A), + (P[G].x2 += A), + (P[G].x3 += A), + (P[G].x4 += A), + P[G].x5 && ((P[G].x5 += A), (P[G].x6 += A)), + (J[G].textBlock.x += A); + } + for (G = 0; G < P.length; G++) + (A = P[G]), ra(Q, A, t.fillOpacity), ia.push(A.y1); + v(Q); + H && + t.visible && + ("inside" === t.indexLabelPlacement || z.animationEnabled || s(Q), + z.animationEnabled || p()); + if (!H) + for (G = 0; G < C.length; G++) + (A = t.dataPointIds[G]), + (a = { + id: A, + objectType: "dataPoint", + dataPointIndex: G, + dataSeriesIndex: 0, + funnelSection: P[t.reversed ? C.length - 1 - G : G], + }), + (z._eventManager.objectMap[A] = a); + !z.animationEnabled && I + ? k(z, -1, 0) + : z.animationEnabled && !z.animatedRender && k(z, -1, 0); + this.funnelPyramidClickHandler = function (a) { + var b = -1; + if ( + !ja && + !z.isAnimating && + (u(a.dataSeries.explodeOnClick) || + a.dataSeries.explodeOnClick) && + ((b = t.reversed + ? C.length - 1 - a.dataPointIndex + : a.dataPointIndex), + 0 <= b) + ) { + a = b; + if ("funnel" === t.type || "pyramid" === t.type) + t.reversed + ? (C[C.length - 1 - a].exploded = C[C.length - 1 - a] + .exploded + ? !1 + : !0) + : (C[a].exploded = C[a].exploded ? !1 : !0); + k(z, b, 500); + } + }; + return { + source: Q, + dest: this.plotArea.ctx, + animationCallback: function (a, b) { + M.fadeInAnimation(a, b); + 1 <= a && (k(z, -1, 500), v(z.plotArea.ctx || z.ctx)); + }, + easingFunction: M.easing.easeInQuad, + animationBase: 0, + }; + } + } + } + }; + p.prototype.requestAnimFrame = (function () { + return ( + window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function (a) { + window.setTimeout(a, 1e3 / 60); + } + ); + })(); + p.prototype.cancelRequestAnimFrame = + window.cancelAnimationFrame || + window.webkitCancelRequestAnimationFrame || + window.mozCancelRequestAnimationFrame || + window.oCancelRequestAnimationFrame || + window.msCancelRequestAnimationFrame || + clearTimeout; + p.prototype.set = function (a, d, b) { + b = "undefined" === typeof b ? !0 : b; + "options" === a + ? ((this.options = d), b && this.render()) + : p.base.set.call(this, a, d, b); + }; + p.prototype.exportChart = function (a) { + a = "undefined" === typeof a ? {} : a; + var d = a.format ? a.format : "png", + b = a.fileName ? a.fileName : this.exportFileName; + if (a.toDataURL) return this.canvas.toDataURL("image/" + d); + Ta(this.canvas, d, b); + }; + p.prototype.print = function () { + var a = this.exportChart({ toDataURL: !0 }), + d = document.createElement("iframe"); + d.setAttribute("class", "canvasjs-chart-print-frame"); + d.setAttribute( + "style", + "position:absolute; width:100%; border: 0px; margin: 0px 0px 0px 0px; padding 0px 0px 0px 0px;" + ); + d.style.height = this.height + "px"; + this._canvasJSContainer.appendChild(d); + var b = this, + c = d.contentWindow || d.contentDocument.document || d.contentDocument; + c.document.open(); + c.document.write( + '\n' + ); + c.document.close(); + setTimeout(function () { + c.focus(); + c.print(); + setTimeout(function () { + b._canvasJSContainer.removeChild(d); + }, 1e3); + }, 500); + }; + p.prototype.getPercentAndTotal = function (a, d) { + var b = null, + c = null, + e = null; + if (0 <= a.type.indexOf("stacked")) + (c = 0), + (b = d.x.getTime ? d.x.getTime() : d.x), + b in a.plotUnit.yTotals && + ((c = a.plotUnit.yTotals[b]), + (e = isNaN(d.y) ? 0 : 100 * (d.y / c))); + else if ( + "pie" === a.type || + "doughnut" === a.type || + "funnel" === a.type || + "pyramid" === a.type + ) { + for (b = c = 0; b < a.dataPoints.length; b++) + isNaN(a.dataPoints[b].y) || (c += a.dataPoints[b].y); + e = isNaN(d.y) ? 0 : 100 * (d.y / c); + } + return { percent: e, total: c }; + }; + p.prototype.replaceKeywordsWithValue = function (a, d, b, c, e) { + var g = this; + e = "undefined" === typeof e ? 0 : e; + if ( + (0 <= b.type.indexOf("stacked") || + "pie" === b.type || + "doughnut" === b.type || + "funnel" === b.type || + "pyramid" === b.type) && + (0 <= a.indexOf("#percent") || 0 <= a.indexOf("#total")) + ) { + var m = "#percent", + l = "#total", + k = this.getPercentAndTotal(b, d), + l = isNaN(k.total) ? l : k.total, + m = isNaN(k.percent) ? m : k.percent; + do { + k = ""; + if (b.percentFormatString) k = b.percentFormatString; + else { + var k = "#,##0.", + h = Math.max(Math.ceil(Math.log(1 / Math.abs(m)) / Math.LN10), 2); + if (isNaN(h) || !isFinite(h)) h = 2; + for (var s = 0; s < h; s++) k += "#"; + b.percentFormatString = k; + } + a = a.replace("#percent", ba(m, k, g._cultureInfo)); + a = a.replace( + "#total", + ba( + l, + b.yValueFormatString ? b.yValueFormatString : "#,##0.########", + g._cultureInfo + ) + ); + } while (0 <= a.indexOf("#percent") || 0 <= a.indexOf("#total")); + } + return a.replace(/\{.*?\}|"[^"]*"|'[^']*'/g, function (a) { + if ( + ('"' === a[0] && '"' === a[a.length - 1]) || + ("'" === a[0] && "'" === a[a.length - 1]) + ) + return a.slice(1, a.length - 1); + a = Ia(a.slice(1, a.length - 1)); + a = a.replace("#index", e); + var h = null; + try { + var f = a.match(/(.*?)\s*\[\s*(.*?)\s*\]/); + f && 0 < f.length && ((h = Ia(f[2])), (a = Ia(f[1]))); + } catch (l) {} + f = null; + if ("color" === a) + return "waterfall" === b.type + ? d.color + ? d.color + : 0 < d.y + ? b.risingColor + : b.fallingColor + : "error" === b.type + ? b.color + ? b.color + : b._colorSet[h % b._colorSet.length] + : d.color + ? d.color + : b.color + ? b.color + : b._colorSet[c % b._colorSet.length]; + if (d.hasOwnProperty(a)) f = d; + else if (b.hasOwnProperty(a)) f = b; + else return ""; + f = f[a]; + null !== h && (f = f[h]); + if ("x" === a) + if ( + "dateTime" === b.axisX.valueType || + "dateTime" === b.xValueType || + (d.x && d.x.getTime) + ) { + if ( + g.plotInfo.plotTypes[0].plotUnits[0].axisX && + !g.plotInfo.plotTypes[0].plotUnits[0].axisX.logarithmic + ) + return Ca( + f, + d.xValueFormatString + ? d.xValueFormatString + : b.xValueFormatString + ? b.xValueFormatString + : (b.xValueFormatString = + g.axisX && g.axisX.autoValueFormatString + ? g.axisX.autoValueFormatString + : "DD MMM YY"), + g._cultureInfo + ); + } else + return ba( + f, + d.xValueFormatString + ? d.xValueFormatString + : b.xValueFormatString + ? b.xValueFormatString + : (b.xValueFormatString = "#,##0.########"), + g._cultureInfo + ); + else + return "y" === a + ? ba( + f, + d.yValueFormatString + ? d.yValueFormatString + : b.yValueFormatString + ? b.yValueFormatString + : (b.yValueFormatString = "#,##0.########"), + g._cultureInfo + ) + : "z" === a + ? ba( + f, + d.zValueFormatString + ? d.zValueFormatString + : b.zValueFormatString + ? b.zValueFormatString + : (b.zValueFormatString = "#,##0.########"), + g._cultureInfo + ) + : f; + }); + }; + qa(H, V); + H.prototype.setLayout = function () { + var a = this.dockInsidePlotArea ? this.chart.plotArea : this.chart, + d = a.layoutManager.getFreeSpace(), + b = null, + c = 0, + e = 0, + g = 0, + m = 0, + l = (this.markerMargin = + this.chart.options.legend && + !u(this.chart.options.legend.markerMargin) + ? this.chart.options.legend.markerMargin + : 0.3 * this.fontSize); + this.height = 0; + var k = [], + h = []; + "top" === this.verticalAlign || "bottom" === this.verticalAlign + ? ((this.orientation = "horizontal"), + (b = this.verticalAlign), + (g = this.maxWidth = + null !== this.maxWidth ? this.maxWidth : d.width), + (m = this.maxHeight = + null !== this.maxHeight ? this.maxHeight : 0.5 * d.height)) + : "center" === this.verticalAlign && + ((this.orientation = "vertical"), + (b = this.horizontalAlign), + (g = this.maxWidth = + null !== this.maxWidth ? this.maxWidth : 0.5 * d.width), + (m = this.maxHeight = + null !== this.maxHeight ? this.maxHeight : d.height)); + this.errorMarkerColor = []; + for (var s = 0; s < this.dataSeries.length; s++) { + var q = this.dataSeries[s]; + if (q.dataPoints && q.dataPoints.length) + if ( + "pie" !== q.type && + "doughnut" !== q.type && + "funnel" !== q.type && + "pyramid" !== q.type + ) { + var n = (q.legendMarkerType = q.legendMarkerType + ? q.legendMarkerType + : ("line" !== q.type && + "stepLine" !== q.type && + "spline" !== q.type && + "scatter" !== q.type && + "bubble" !== q.type) || + !q.markerType + ? "error" === q.type && q._linkedSeries + ? q._linkedSeries.legendMarkerType + ? q._linkedSeries.legendMarkerType + : F.getDefaultLegendMarker(q._linkedSeries.type) + : F.getDefaultLegendMarker(q.type) + : q.markerType), + f = q.legendText + ? q.legendText + : this.itemTextFormatter + ? this.itemTextFormatter({ + chart: this.chart, + legend: this.options, + dataSeries: q, + dataPoint: null, + }) + : q.name, + p = (q.legendMarkerColor = q.legendMarkerColor + ? q.legendMarkerColor + : q.markerColor + ? q.markerColor + : "error" === q.type + ? u(q.whiskerColor) + ? q._colorSet[0] + : q.whiskerColor + : q._colorSet[0]), + r = + q.markerSize || + ("line" !== q.type && + "stepLine" !== q.type && + "spline" !== q.type) + ? 0.75 * this.lineHeight + : 0, + v = q.legendMarkerBorderColor + ? q.legendMarkerBorderColor + : q.markerBorderColor, + t = q.legendMarkerBorderThickness + ? q.legendMarkerBorderThickness + : q.markerBorderThickness + ? Math.max(1, Math.round(0.2 * r)) + : 0; + "error" === q.type && this.errorMarkerColor.push(p); + f = this.chart.replaceKeywordsWithValue(f, q.dataPoints[0], q, s); + n = { + markerType: n, + markerColor: p, + text: f, + textBlock: null, + chartType: q.type, + markerSize: r, + lineColor: q._colorSet[0], + dataSeriesIndex: q.index, + dataPointIndex: null, + markerBorderColor: v, + markerBorderThickness: t, + }; + k.push(n); + } else + for (var z = 0; z < q.dataPoints.length; z++) { + var x = q.dataPoints[z], + n = x.legendMarkerType + ? x.legendMarkerType + : q.legendMarkerType + ? q.legendMarkerType + : F.getDefaultLegendMarker(q.type), + f = x.legendText + ? x.legendText + : q.legendText + ? q.legendText + : this.itemTextFormatter + ? this.itemTextFormatter({ + chart: this.chart, + legend: this.options, + dataSeries: q, + dataPoint: x, + }) + : x.name + ? x.name + : "DataPoint: " + (z + 1), + p = x.legendMarkerColor + ? x.legendMarkerColor + : q.legendMarkerColor + ? q.legendMarkerColor + : x.color + ? x.color + : q.color + ? q.color + : q._colorSet[z % q._colorSet.length], + r = 0.75 * this.lineHeight, + v = x.legendMarkerBorderColor + ? x.legendMarkerBorderColor + : q.legendMarkerBorderColor + ? q.legendMarkerBorderColor + : x.markerBorderColor + ? x.markerBorderColor + : q.markerBorderColor, + t = x.legendMarkerBorderThickness + ? x.legendMarkerBorderThickness + : q.legendMarkerBorderThickness + ? q.legendMarkerBorderThickness + : x.markerBorderThickness || q.markerBorderThickness + ? Math.max(1, Math.round(0.2 * r)) + : 0, + f = this.chart.replaceKeywordsWithValue(f, x, q, z), + n = { + markerType: n, + markerColor: p, + text: f, + textBlock: null, + chartType: q.type, + markerSize: r, + dataSeriesIndex: s, + dataPointIndex: z, + markerBorderColor: v, + markerBorderThickness: t, + }; + (x.showInLegend || (q.showInLegend && !1 !== x.showInLegend)) && + k.push(n); + } + } + !0 === this.reversed && k.reverse(); + if (0 < k.length) { + q = null; + p = f = x = z = 0; + x = + null !== this.itemWidth + ? null !== this.itemMaxWidth + ? Math.min(this.itemWidth, this.itemMaxWidth, g) + : (this.itemMaxWidth = Math.min(this.itemWidth, g)) + : null !== this.itemMaxWidth + ? Math.min(this.itemMaxWidth, g) + : (this.itemMaxWidth = g); + r = 0 === r ? 0.75 * this.lineHeight : r; + x -= r + l; + for (s = 0; s < k.length; s++) { + n = k[s]; + v = x; + if ( + "line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ) + v -= 2 * 0.1 * this.lineHeight; + if ( + !( + 0 >= m || + "undefined" === typeof m || + 0 >= v || + "undefined" === typeof v + ) + ) { + if ("horizontal" === this.orientation) { + n.textBlock = new ka(this.ctx, { + x: 0, + y: 0, + maxWidth: v, + maxHeight: this.itemWrap ? m : this.lineHeight, + angle: 0, + text: n.text, + horizontalAlign: "left", + fontSize: this.fontSize, + fontFamily: this.fontFamily, + fontWeight: this.fontWeight, + fontColor: this.fontColor, + fontStyle: this.fontStyle, + textBaseline: "middle", + }); + n.textBlock.measureText(); + null !== this.itemWidth && + (n.textBlock.width = + this.itemWidth - + (r + + l + + ("line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ? 2 * 0.1 * this.lineHeight + : 0))); + if ( + !q || + q.width + + Math.round( + n.textBlock.width + + r + + l + + (0 === q.width ? 0 : this.horizontalSpacing) + + ("line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ? 2 * 0.1 * this.lineHeight + : 0) + ) > + g + ) + (q = { items: [], width: 0 }), + h.push(q), + (this.height += f), + (f = 0); + f = Math.max(f, n.textBlock.height); + } else + (n.textBlock = new ka(this.ctx, { + x: 0, + y: 0, + maxWidth: x, + maxHeight: !0 === this.itemWrap ? m : 1.5 * this.fontSize, + angle: 0, + text: n.text, + horizontalAlign: "left", + fontSize: this.fontSize, + fontFamily: this.fontFamily, + fontWeight: this.fontWeight, + fontColor: this.fontColor, + fontStyle: this.fontStyle, + textBaseline: "middle", + })), + n.textBlock.measureText(), + null !== this.itemWidth && + (n.textBlock.width = + this.itemWidth - + (r + + l + + ("line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ? 2 * 0.1 * this.lineHeight + : 0))), + this.height < m - this.lineHeight + ? ((q = { items: [], width: 0 }), h.push(q)) + : ((q = h[z]), (z = (z + 1) % h.length)), + (this.height += n.textBlock.height); + n.textBlock.x = q.width; + n.textBlock.y = 0; + q.width += Math.round( + n.textBlock.width + + r + + l + + (0 === q.width ? 0 : this.horizontalSpacing) + + ("line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ? 2 * 0.1 * this.lineHeight + : 0) + ); + q.items.push(n); + this.width = Math.max(q.width, this.width); + p = + n.textBlock.width + + (r + + l + + ("line" === n.chartType || + "spline" === n.chartType || + "stepLine" === n.chartType + ? 2 * 0.1 * this.lineHeight + : 0)); + } + } + this.itemWidth = p; + this.height = + !1 === this.itemWrap ? h.length * this.lineHeight : this.height + f; + this.height = Math.min(m, this.height); + this.width = Math.min(g, this.width); + } + "top" === this.verticalAlign + ? ((e = + "left" === this.horizontalAlign + ? d.x1 + : "right" === this.horizontalAlign + ? d.x2 - this.width + : d.x1 + d.width / 2 - this.width / 2), + (c = d.y1)) + : "center" === this.verticalAlign + ? ((e = + "left" === this.horizontalAlign + ? d.x1 + : "right" === this.horizontalAlign + ? d.x2 - this.width + : d.x1 + d.width / 2 - this.width / 2), + (c = d.y1 + d.height / 2 - this.height / 2)) + : "bottom" === this.verticalAlign && + ((e = + "left" === this.horizontalAlign + ? d.x1 + : "right" === this.horizontalAlign + ? d.x2 - this.width + : d.x1 + d.width / 2 - this.width / 2), + (c = d.y2 - this.height)); + this.items = k; + for (s = 0; s < this.items.length; s++) + (n = k[s]), + (n.id = ++this.chart._eventManager.lastObjectId), + (this.chart._eventManager.objectMap[n.id] = { + id: n.id, + objectType: "legendItem", + legendItemIndex: s, + dataSeriesIndex: n.dataSeriesIndex, + dataPointIndex: n.dataPointIndex, + }); + this.markerSize = r; + this.rows = h; + 0 < k.length && + a.layoutManager.registerSpace(b, { + width: this.width + 2 + 2, + height: this.height + 5 + 5, + }); + this.bounds = { x1: e, y1: c, x2: e + this.width, y2: c + this.height }; + }; + H.prototype.render = function () { + var a = this.bounds.x1, + d = this.bounds.y1, + b = this.markerMargin, + c = this.maxWidth, + e = this.maxHeight, + g = this.markerSize, + m = this.rows; + ((0 < this.borderThickness && this.borderColor) || + this.backgroundColor) && + this.ctx.roundRect( + a, + d, + this.width, + this.height, + this.cornerRadius, + this.borderThickness, + this.backgroundColor, + this.borderColor + ); + for (var l = 0, k = 0; k < m.length; k++) { + for (var h = m[k], s = 0, q = 0; q < h.items.length; q++) { + var n = h.items[q], + f = + n.textBlock.x + a + (0 === q ? 0.2 * g : this.horizontalSpacing), + p = d + l, + u = f; + this.chart.data[n.dataSeriesIndex].visible || + (this.ctx.globalAlpha = 0.5); + this.ctx.save(); + this.ctx.beginPath(); + this.ctx.rect(a, d, c, Math.max(e - (e % this.lineHeight), 0)); + this.ctx.clip(); + if ( + "line" === n.chartType || + "stepLine" === n.chartType || + "spline" === n.chartType + ) + (this.ctx.strokeStyle = n.lineColor), + (this.ctx.lineWidth = Math.ceil(this.lineHeight / 8)), + this.ctx.beginPath(), + this.ctx.moveTo( + f - 0.1 * this.lineHeight, + p + this.lineHeight / 2 + ), + this.ctx.lineTo( + f + 0.85 * this.lineHeight, + p + this.lineHeight / 2 + ), + this.ctx.stroke(), + (u -= 0.1 * this.lineHeight); + if ("error" === n.chartType) { + this.ctx.strokeStyle = this.errorMarkerColor[0]; + this.ctx.lineWidth = g / 8; + this.ctx.beginPath(); + var r = f - 0.08 * this.lineHeight + 0.1 * this.lineHeight, + t = p + 0.15 * this.lineHeight, + v = 0.7 * this.lineHeight, + x = v + 0.02 * this.lineHeight; + this.ctx.moveTo(r, t); + this.ctx.lineTo(r + v, t); + this.ctx.stroke(); + this.ctx.beginPath(); + this.ctx.moveTo(r + v / 2, t); + this.ctx.lineTo(r + v / 2, t + x); + this.ctx.stroke(); + this.ctx.beginPath(); + this.ctx.moveTo(r, t + x); + this.ctx.lineTo(r + v, t + x); + this.ctx.stroke(); + this.errorMarkerColor.shift(); + } + ia.drawMarker( + f + g / 2, + p + this.lineHeight / 2, + this.ctx, + n.markerType, + "error" === n.chartType || + "line" === n.chartType || + "spline" === n.chartType + ? n.markerSize / 2 + : n.markerSize, + n.markerColor, + n.markerBorderColor, + n.markerBorderThickness + ); + n.textBlock.x = f + b + g; + if ( + "line" === n.chartType || + "stepLine" === n.chartType || + "spline" === n.chartType + ) + n.textBlock.x += 0.1 * this.lineHeight; + n.textBlock.y = Math.round(p + this.lineHeight / 2); + n.textBlock.render(!0); + this.ctx.restore(); + s = 0 < q ? Math.max(s, n.textBlock.height) : n.textBlock.height; + this.chart.data[n.dataSeriesIndex].visible || + (this.ctx.globalAlpha = 1); + f = N(n.id); + this.ghostCtx.fillStyle = f; + this.ghostCtx.beginPath(); + this.ghostCtx.fillRect( + u, + n.textBlock.y - this.lineHeight / 2, + n.textBlock.x + n.textBlock.width - u, + n.textBlock.height + ); + n.x1 = this.chart._eventManager.objectMap[n.id].x1 = u; + n.y1 = this.chart._eventManager.objectMap[n.id].y1 = + n.textBlock.y - this.lineHeight / 2; + n.x2 = this.chart._eventManager.objectMap[n.id].x2 = + n.textBlock.x + n.textBlock.width; + n.y2 = this.chart._eventManager.objectMap[n.id].y2 = + n.textBlock.y + n.textBlock.height - this.lineHeight / 2; + } + l += s; + } + }; + qa(F, V); + F.prototype.getDefaultAxisPlacement = function () { + var a = this.type; + if ( + "column" === a || + "line" === a || + "stepLine" === a || + "spline" === a || + "area" === a || + "stepArea" === a || + "splineArea" === a || + "stackedColumn" === a || + "stackedLine" === a || + "bubble" === a || + "scatter" === a || + "stackedArea" === a || + "stackedColumn100" === a || + "stackedLine100" === a || + "stackedArea100" === a || + "candlestick" === a || + "ohlc" === a || + "rangeColumn" === a || + "rangeArea" === a || + "rangeSplineArea" === a || + "boxAndWhisker" === a || + "waterfall" === a + ) + return "normal"; + if ( + "bar" === a || + "stackedBar" === a || + "stackedBar100" === a || + "rangeBar" === a + ) + return "xySwapped"; + if ("pie" === a || "doughnut" === a || "funnel" === a || "pyramid" === a) + return "none"; + "error" !== a && window.console.log("Unknown Chart Type: " + a); + return null; + }; + F.getDefaultLegendMarker = function (a) { + if ( + "column" === a || + "stackedColumn" === a || + "stackedLine" === a || + "bar" === a || + "stackedBar" === a || + "stackedBar100" === a || + "bubble" === a || + "scatter" === a || + "stackedColumn100" === a || + "stackedLine100" === a || + "stepArea" === a || + "candlestick" === a || + "ohlc" === a || + "rangeColumn" === a || + "rangeBar" === a || + "rangeArea" === a || + "rangeSplineArea" === a || + "boxAndWhisker" === a || + "waterfall" === a + ) + return "square"; + if ( + "line" === a || + "stepLine" === a || + "spline" === a || + "pie" === a || + "doughnut" === a + ) + return "circle"; + if ( + "area" === a || + "splineArea" === a || + "stackedArea" === a || + "stackedArea100" === a || + "funnel" === a || + "pyramid" === a + ) + return "triangle"; + if ("error" === a) return "none"; + window.console.log("Unknown Chart Type: " + a); + return null; + }; + F.prototype.getDataPointAtX = function (a, d) { + if (!this.dataPoints || 0 === this.dataPoints.length) return null; + var b = { dataPoint: null, distance: Infinity, index: NaN }, + c = null, + e = 0, + g = 0, + m = 1, + l = Infinity, + k = 0, + h = 0, + s = 0; + "none" !== this.chart.plotInfo.axisPlacement && + (this.axisX.logarithmic + ? ((s = Math.log( + this.dataPoints[this.dataPoints.length - 1].x / + this.dataPoints[0].x + )), + (s = + 1 < s + ? Math.min( + Math.max( + (((this.dataPoints.length - 1) / s) * + Math.log(a / this.dataPoints[0].x)) >> + 0, + 0 + ), + this.dataPoints.length + ) + : 0)) + : ((s = + this.dataPoints[this.dataPoints.length - 1].x - + this.dataPoints[0].x), + (s = + 0 < s + ? Math.min( + Math.max( + (((this.dataPoints.length - 1) / s) * + (a - this.dataPoints[0].x)) >> + 0, + 0 + ), + this.dataPoints.length + ) + : 0))); + for (;;) { + g = 0 < m ? s + e : s - e; + if (0 <= g && g < this.dataPoints.length) { + var c = this.dataPoints[g], + q = this.axisX.logarithmic + ? c.x > a + ? c.x / a + : a / c.x + : Math.abs(c.x - a); + q < b.distance && + ((b.dataPoint = c), (b.distance = q), (b.index = g)); + c = q; + c <= l ? (l = c) : 0 < m ? k++ : h++; + if (1e3 < k && 1e3 < h) break; + } else if (0 > s - e && s + e >= this.dataPoints.length) break; + -1 === m ? (e++, (m = 1)) : (m = -1); + } + return d || b.dataPoint.x !== a + ? d && null !== b.dataPoint + ? b + : null + : b; + }; + F.prototype.getDataPointAtXY = function (a, d, b) { + if ( + !this.dataPoints || + 0 === this.dataPoints.length || + a < this.chart.plotArea.x1 || + a > this.chart.plotArea.x2 || + d < this.chart.plotArea.y1 || + d > this.chart.plotArea.y2 + ) + return null; + b = b || !1; + var c = [], + e = 0, + g = 0, + m = 1, + l = !1, + k = Infinity, + h = 0, + s = 0, + q = 0; + if ("none" !== this.chart.plotInfo.axisPlacement) + if ( + ((q = ( + this.chart.axisX[0] ? this.chart.axisX[0] : this.chart.axisX2[0] + ).getXValueAt({ x: a, y: d })), + this.axisX.logarithmic) + ) + var n = Math.log( + this.dataPoints[this.dataPoints.length - 1].x / + this.dataPoints[0].x + ), + q = + 1 < n + ? Math.min( + Math.max( + (((this.dataPoints.length - 1) / n) * + Math.log(q / this.dataPoints[0].x)) >> + 0, + 0 + ), + this.dataPoints.length + ) + : 0; + else + (n = + this.dataPoints[this.dataPoints.length - 1].x - + this.dataPoints[0].x), + (q = + 0 < n + ? Math.min( + Math.max( + (((this.dataPoints.length - 1) / n) * + (q - this.dataPoints[0].x)) >> + 0, + 0 + ), + this.dataPoints.length + ) + : 0); + for (;;) { + g = 0 < m ? q + e : q - e; + if (0 <= g && g < this.dataPoints.length) { + var n = this.chart._eventManager.objectMap[this.dataPointIds[g]], + f = this.dataPoints[g], + p = null; + if (n) { + switch (this.type) { + case "column": + case "stackedColumn": + case "stackedColumn100": + case "bar": + case "stackedBar": + case "stackedBar100": + case "rangeColumn": + case "rangeBar": + case "waterfall": + case "error": + a >= n.x1 && + a <= n.x2 && + d >= n.y1 && + d <= n.y2 && + (c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: Math.min( + Math.abs(n.x1 - a), + Math.abs(n.x2 - a), + Math.abs(n.y1 - d), + Math.abs(n.y2 - d) + ), + }), + (l = !0)); + break; + case "line": + case "stepLine": + case "spline": + case "area": + case "stepArea": + case "stackedArea": + case "stackedArea100": + case "splineArea": + case "scatter": + var u = na("markerSize", f, this) || 4, + r = b ? 20 : u, + p = Math.sqrt(Math.pow(n.x1 - a, 2) + Math.pow(n.y1 - d, 2)); + p <= r && + c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: p, + }); + n = Math.abs(n.x1 - a); + n <= k ? (k = n) : 0 < m ? h++ : s++; + p <= u / 2 && (l = !0); + break; + case "rangeArea": + case "rangeSplineArea": + u = na("markerSize", f, this) || 4; + r = b ? 20 : u; + p = Math.min( + Math.sqrt(Math.pow(n.x1 - a, 2) + Math.pow(n.y1 - d, 2)), + Math.sqrt(Math.pow(n.x1 - a, 2) + Math.pow(n.y2 - d, 2)) + ); + p <= r && + c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: p, + }); + n = Math.abs(n.x1 - a); + n <= k ? (k = n) : 0 < m ? h++ : s++; + p <= u / 2 && (l = !0); + break; + case "bubble": + u = n.size; + p = Math.sqrt(Math.pow(n.x1 - a, 2) + Math.pow(n.y1 - d, 2)); + p <= u / 2 && + (c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: p, + }), + (l = !0)); + break; + case "pie": + case "doughnut": + u = n.center; + r = + "doughnut" === this.type + ? n.percentInnerRadius * n.radius + : 0; + p = Math.sqrt(Math.pow(u.x - a, 2) + Math.pow(u.y - d, 2)); + p < n.radius && + p > r && + ((p = Math.atan2(d - u.y, a - u.x)), + 0 > p && (p += 2 * Math.PI), + (p = Number( + ((((180 * (p / Math.PI)) % 360) + 360) % 360).toFixed(12) + )), + (u = Number( + ( + (((180 * (n.startAngle / Math.PI)) % 360) + 360) % + 360 + ).toFixed(12) + )), + (r = Number( + ( + (((180 * (n.endAngle / Math.PI)) % 360) + 360) % + 360 + ).toFixed(12) + )), + 0 === r && 1 < n.endAngle && (r = 360), + u >= r && 0 !== f.y && ((r += 360), p < u && (p += 360)), + p > u && + p < r && + (c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: 0, + }), + (l = !0))); + break; + case "funnel": + case "pyramid": + p = n.funnelSection; + d > p.y1 && + d < p.y4 && + (p.y6 + ? d > p.y6 + ? ((g = + p.x6 + ((p.x5 - p.x6) / (p.y5 - p.y6)) * (d - p.y6)), + (p = + p.x3 + ((p.x4 - p.x3) / (p.y4 - p.y3)) * (d - p.y3))) + : ((g = + p.x1 + ((p.x6 - p.x1) / (p.y6 - p.y1)) * (d - p.y1)), + (p = + p.x2 + ((p.x3 - p.x2) / (p.y3 - p.y2)) * (d - p.y2))) + : ((g = + p.x1 + ((p.x4 - p.x1) / (p.y4 - p.y1)) * (d - p.y1)), + (p = + p.x2 + ((p.x3 - p.x2) / (p.y3 - p.y2)) * (d - p.y2))), + a > g && + a < p && + (c.push({ + dataPoint: f, + dataPointIndex: n.dataPointIndex, + dataSeries: this, + distance: 0, + }), + (l = !0))); + break; + case "boxAndWhisker": + if ( + (a >= n.x1 - n.borderThickness / 2 && + a <= n.x2 + n.borderThickness / 2 && + d >= n.y4 - n.borderThickness / 2 && + d <= n.y1 + n.borderThickness / 2) || + (Math.abs(n.x2 - a + n.x1 - a) < n.borderThickness && + d >= n.y1 && + d <= n.y4) + ) + c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: Math.min( + Math.abs(n.x1 - a), + Math.abs(n.x2 - a), + Math.abs(n.y2 - d), + Math.abs(n.y3 - d) + ), + }), + (l = !0); + break; + case "candlestick": + if ( + (a >= n.x1 - n.borderThickness / 2 && + a <= n.x2 + n.borderThickness / 2 && + d >= n.y2 - n.borderThickness / 2 && + d <= n.y3 + n.borderThickness / 2) || + (Math.abs(n.x2 - a + n.x1 - a) < n.borderThickness && + d >= n.y1 && + d <= n.y4) + ) + c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: Math.min( + Math.abs(n.x1 - a), + Math.abs(n.x2 - a), + Math.abs(n.y2 - d), + Math.abs(n.y3 - d) + ), + }), + (l = !0); + break; + case "ohlc": + if ( + (Math.abs(n.x2 - a + n.x1 - a) < n.borderThickness && + d >= n.y2 && + d <= n.y3) || + (a >= n.x1 && + a <= (n.x2 + n.x1) / 2 && + d >= n.y1 - n.borderThickness / 2 && + d <= n.y1 + n.borderThickness / 2) || + (a >= (n.x1 + n.x2) / 2 && + a <= n.x2 && + d >= n.y4 - n.borderThickness / 2 && + d <= n.y4 + n.borderThickness / 2) + ) + c.push({ + dataPoint: f, + dataPointIndex: g, + dataSeries: this, + distance: Math.min( + Math.abs(n.x1 - a), + Math.abs(n.x2 - a), + Math.abs(n.y2 - d), + Math.abs(n.y3 - d) + ), + }), + (l = !0); + } + if (l || (1e3 < h && 1e3 < s)) break; + } + } else if (0 > q - e && q + e >= this.dataPoints.length) break; + -1 === m ? (e++, (m = 1)) : (m = -1); + } + a = null; + for (d = 0; d < c.length; d++) + a ? c[d].distance <= a.distance && (a = c[d]) : (a = c[d]); + return a; + }; + F.prototype.getMarkerProperties = function (a, d, b, c) { + var e = this.dataPoints; + return { + x: d, + y: b, + ctx: c, + type: e[a].markerType ? e[a].markerType : this.markerType, + size: e[a].markerSize ? e[a].markerSize : this.markerSize, + color: e[a].markerColor + ? e[a].markerColor + : this.markerColor + ? this.markerColor + : e[a].color + ? e[a].color + : this.color + ? this.color + : this._colorSet[a % this._colorSet.length], + borderColor: e[a].markerBorderColor + ? e[a].markerBorderColor + : this.markerBorderColor + ? this.markerBorderColor + : null, + borderThickness: e[a].markerBorderThickness + ? e[a].markerBorderThickness + : this.markerBorderThickness + ? this.markerBorderThickness + : null, + }; + }; + qa(z, V); + z.prototype.createExtraLabelsForLog = function (a) { + a = (a || 0) + 1; + if (!(5 < a)) { + var d = this.logLabelValues[0] || this.intervalStartPosition; + if ( + Math.log(this.range) / Math.log(d / this.viewportMinimum) < + this.noTicks - 1 + ) { + for ( + var b = z.getNiceNumber( + (d - this.viewportMinimum) / + Math.min( + Math.max(2, this.noTicks - this.logLabelValues.length), + 3 + ), + !0 + ), + c = Math.ceil(this.viewportMinimum / b) * b; + c < d; + c += b + ) + c < this.viewportMinimum || this.logLabelValues.push(c); + this.logLabelValues.sort(Sa); + this.createExtraLabelsForLog(a); + } + } + }; + z.prototype.createLabels = function () { + var a, + d, + b = 0, + c = 0, + e, + g = 0, + m = 0, + c = 0, + c = this.interval, + l = 0, + k, + h = 0.6 * this.chart.height, + p; + a = !1; + var q = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : [], + n = q.length + ? u(this.scaleBreaks.firstBreakIndex) + ? 0 + : this.scaleBreaks.firstBreakIndex + : 0; + if ( + "axisX" !== this.type || + "dateTime" !== this.valueType || + this.logarithmic + ) { + e = this.viewportMaximum; + if (this.labels) { + a = Math.ceil(c); + for ( + var c = Math.ceil(this.intervalStartPosition), f = !1, b = c; + b < this.viewportMaximum; + b += a + ) + if (this.labels[b]) f = !0; + else { + f = !1; + break; + } + f && ((this.interval = a), (this.intervalStartPosition = c)); + } + if (this.logarithmic && !this.equidistantInterval) + for ( + this.logLabelValues || + ((this.logLabelValues = []), this.createExtraLabelsForLog()), + c = 0, + f = n; + c < this.logLabelValues.length; + c++ + ) + if (((b = this.logLabelValues[c]), b < this.viewportMinimum)) c++; + else { + for (; f < q.length && b > q[f].endValue; f++); + a = f < q.length && b >= q[f].startValue && b <= q[f].endValue; + p = b; + a || + ((a = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.options, + value: p, + label: this.labels[p] ? this.labels[p] : null, + }) + : "axisX" === this.type && this.labels[p] + ? this.labels[p] + : ba(p, this.valueFormatString, this.chart._cultureInfo)), + (a = new ka(this.ctx, { + x: 0, + y: 0, + maxWidth: g, + maxHeight: m, + angle: this.labelAngle, + text: this.prefix + a + this.suffix, + backgroundColor: this.labelBackgroundColor, + borderColor: this.labelBorderColor, + borderThickness: this.labelBorderThickness, + cornerRadius: this.labelCornerRadius, + horizontalAlign: "left", + fontSize: this.labelFontSize, + fontFamily: this.labelFontFamily, + fontWeight: this.labelFontWeight, + fontColor: this.labelFontColor, + fontStyle: this.labelFontStyle, + textBaseline: "middle", + borderThickness: 0, + })), + this._labels.push({ + position: p, + textBlock: a, + effectiveHeight: null, + })); + } + f = n; + for ( + b = this.intervalStartPosition; + b <= e; + b = parseFloat( + 1e-12 > this.interval + ? this.logarithmic && this.equidistantInterval + ? b * Math.pow(this.logarithmBase, this.interval) + : b + this.interval + : (this.logarithmic && this.equidistantInterval + ? b * Math.pow(this.logarithmBase, this.interval) + : b + this.interval + ).toFixed(12) + ) + ) { + for (; f < q.length && b > q[f].endValue; f++); + a = f < q.length && b >= q[f].startValue && b <= q[f].endValue; + p = b; + a || + ((a = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.options, + value: p, + label: this.labels[p] ? this.labels[p] : null, + }) + : "axisX" === this.type && this.labels[p] + ? this.labels[p] + : ba(p, this.valueFormatString, this.chart._cultureInfo)), + (a = new ka(this.ctx, { + x: 0, + y: 0, + maxWidth: g, + maxHeight: m, + angle: this.labelAngle, + text: this.prefix + a + this.suffix, + horizontalAlign: "left", + backgroundColor: this.labelBackgroundColor, + borderColor: this.labelBorderColor, + borderThickness: this.labelBorderThickness, + cornerRadius: this.labelCornerRadius, + fontSize: this.labelFontSize, + fontFamily: this.labelFontFamily, + fontWeight: this.labelFontWeight, + fontColor: this.labelFontColor, + fontStyle: this.labelFontStyle, + textBaseline: "middle", + })), + this._labels.push({ + position: p, + textBlock: a, + effectiveHeight: null, + })); + } + } else + for ( + this.intervalStartPosition = this.getLabelStartPoint( + new Date(this.viewportMinimum), + this.intervalType, + this.interval + ), + e = Ya( + new Date(this.viewportMaximum), + this.interval, + this.intervalType + ), + f = n, + b = this.intervalStartPosition; + b < e; + Ya(b, c, this.intervalType) + ) { + for (a = b.getTime(); f < q.length && a > q[f].endValue; f++); + p = a; + a = f < q.length && a >= q[f].startValue && a <= q[f].endValue; + a || + ((a = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.options, + value: new Date(p), + label: this.labels[p] ? this.labels[p] : null, + }) + : "axisX" === this.type && this.labels[p] + ? this.labels[p] + : Ca(p, this.valueFormatString, this.chart._cultureInfo)), + (a = new ka(this.ctx, { + x: 0, + y: 0, + maxWidth: g, + backgroundColor: this.labelBackgroundColor, + borderColor: this.labelBorderColor, + borderThickness: this.labelBorderThickness, + cornerRadius: this.labelCornerRadius, + maxHeight: m, + angle: this.labelAngle, + text: this.prefix + a + this.suffix, + horizontalAlign: "left", + fontSize: this.labelFontSize, + fontFamily: this.labelFontFamily, + fontWeight: this.labelFontWeight, + fontColor: this.labelFontColor, + fontStyle: this.labelFontStyle, + textBaseline: "middle", + })), + this._labels.push({ + position: p, + textBlock: a, + effectiveHeight: null, + breaksLabelType: void 0, + })); + } + if ("bottom" === this._position || "top" === this._position) + (l = + this.logarithmic && + !this.equidistantInterval && + 2 <= this._labels.length + ? (this.lineCoordinates.width * + Math.log( + Math.min( + this._labels[this._labels.length - 1].position / + this._labels[this._labels.length - 2].position, + this._labels[1].position / this._labels[0].position + ) + )) / + Math.log(this.range) + : (this.lineCoordinates.width / + (this.logarithmic && this.equidistantInterval + ? Math.log(this.range) / Math.log(this.logarithmBase) + : Math.abs(this.range))) * + S[this.intervalType + "Duration"] * + this.interval), + (g = + "undefined" === typeof this.options.labelMaxWidth + ? (0.5 * this.chart.width) >> 0 + : this.options.labelMaxWidth), + this.chart.panEnabled || + (m = + "undefined" === typeof this.options.labelWrap || this.labelWrap + ? (0.8 * this.chart.height) >> 0 + : 1.5 * this.labelFontSize); + else if ("left" === this._position || "right" === this._position) + (l = + this.logarithmic && + !this.equidistantInterval && + 2 <= this._labels.length + ? (this.lineCoordinates.height * + Math.log( + Math.min( + this._labels[this._labels.length - 1].position / + this._labels[this._labels.length - 2].position, + this._labels[1].position / this._labels[0].position + ) + )) / + Math.log(this.range) + : (this.lineCoordinates.height / + (this.logarithmic && this.equidistantInterval + ? Math.log(this.range) / Math.log(this.logarithmBase) + : Math.abs(this.range))) * + S[this.intervalType + "Duration"] * + this.interval), + this.chart.panEnabled || + (g = + "undefined" === typeof this.options.labelMaxWidth + ? (0.3 * this.chart.width) >> 0 + : this.options.labelMaxWidth), + (m = + "undefined" === typeof this.options.labelWrap || this.labelWrap + ? (0.3 * this.chart.height) >> 0 + : 1.5 * this.labelFontSize); + for (c = 0; c < this._labels.length; c++) { + a = this._labels[c].textBlock; + a.maxWidth = g; + a.maxHeight = m; + var B = a.measureText(); + k = B.height; + } + e = []; + n = q = 0; + if (this.labelAutoFit || this.options.labelAutoFit) + if ( + (u(this.labelAngle) || + ((this.labelAngle = ((this.labelAngle % 360) + 360) % 360), + 90 < this.labelAngle && 270 > this.labelAngle + ? (this.labelAngle -= 180) + : 270 <= this.labelAngle && + 360 >= this.labelAngle && + (this.labelAngle -= 360)), + "bottom" === this._position || "top" === this._position) + ) + if ( + ((g = (0.9 * l) >> 0), + (n = 0), + !this.chart.panEnabled && 1 <= this._labels.length) + ) { + this.sessionVariables.labelFontSize = this.labelFontSize; + this.sessionVariables.labelMaxWidth = g; + this.sessionVariables.labelMaxHeight = m; + this.sessionVariables.labelAngle = this.labelAngle; + this.sessionVariables.labelWrap = this.labelWrap; + for (b = 0; b < this._labels.length; b++) + if (!this._labels[b].breaksLabelType) { + a = this._labels[b].textBlock; + for (var v, f = a.text.split(" "), c = 0; c < f.length; c++) + (p = f[c]), + (this.ctx.font = + a.fontStyle + + " " + + a.fontWeight + + " " + + a.fontSize + + "px " + + a.fontFamily), + (p = this.ctx.measureText(p)), + p.width > n && ((v = b), (n = p.width)); + } + b = 0; + for ( + b = this.intervalStartPosition < this.viewportMinimum ? 1 : 0; + b < this._labels.length; + b++ + ) + if (!this._labels[b].breaksLabelType) { + a = this._labels[b].textBlock; + B = a.measureText(); + for (f = b + 1; f < this._labels.length; f++) + if (!this._labels[f].breaksLabelType) { + d = this._labels[f].textBlock; + d = d.measureText(); + break; + } + e.push(a.height); + this.sessionVariables.labelMaxHeight = Math.max.apply(Math, e); + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)); + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)); + c = + g * Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)) + + (m - a.fontSize / 2) * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)); + if ( + u(this.options.labelAngle) && + isNaN(this.options.labelAngle) && + 0 !== this.options.labelAngle + ) + if ( + ((this.sessionVariables.labelMaxHeight = + 0 === this.labelAngle + ? m + : Math.min( + (c - + g * + Math.cos( + (Math.PI / 180) * Math.abs(this.labelAngle) + )) / + Math.sin( + (Math.PI / 180) * Math.abs(this.labelAngle) + ), + c + )), + (p = + (h - + (k + a.fontSize / 2) * + Math.cos((Math.PI / 180) * Math.abs(-25))) / + Math.sin((Math.PI / 180) * Math.abs(-25))), + !u(this.options.labelWrap)) + ) + this.labelWrap + ? u(this.options.labelMaxWidth) + ? ((this.sessionVariables.labelMaxWidth = Math.min( + Math.max(g, n), + p + )), + (this.sessionVariables.labelWrap = this.labelWrap), + (B.width + d.width) >> 0 > 2 * g && + (this.sessionVariables.labelAngle = -25)) + : ((this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxWidth = + this.options.labelMaxWidth), + (this.sessionVariables.labelAngle = + this.sessionVariables.labelMaxWidth > g + ? -25 + : this.sessionVariables.labelAngle)) + : u(this.options.labelMaxWidth) + ? ((this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelMaxWidth = g), + (B.width + d.width) >> 0 > 2 * g && + ((this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelMaxWidth = p))) + : ((this.sessionVariables.labelAngle = + this.sessionVariables.labelMaxWidth > g + ? -25 + : this.sessionVariables.labelAngle), + (this.sessionVariables.labelMaxWidth = + this.options.labelMaxWidth), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelWrap = this.labelWrap)); + else { + if (u(this.options.labelWrap)) + if (!u(this.options.labelMaxWidth)) + this.options.labelMaxWidth < g + ? ((this.sessionVariables.labelMaxWidth = + this.options.labelMaxWidth), + (this.sessionVariables.labelMaxHeight = c)) + : ((this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelMaxWidth = + this.options.labelMaxWidth), + (this.sessionVariables.labelMaxHeight = m)); + else if (!u(d)) + if ( + ((c = (B.width + d.width) >> 0), + (f = this.labelFontSize), + n < g) + ) + c - 2 * g > q && + ((q = c - 2 * g), + c >= 2 * g && c < 2.2 * g + ? ((this.sessionVariables.labelMaxWidth = g), + u(this.options.labelFontSize) && + 12 < f && + ((f = Math.floor((12 / 13) * f)), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? f + : this.options.labelFontSize), + (this.sessionVariables.labelAngle = + this.labelAngle)) + : c >= 2.2 * g && c < 2.8 * g + ? ((this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelMaxWidth = p), + (this.sessionVariables.labelFontSize = f)) + : c >= 2.8 * g && c < 3.2 * g + ? ((this.sessionVariables.labelMaxWidth = + Math.max(g, n)), + (this.sessionVariables.labelWrap = !0), + u(this.options.labelFontSize) && + 12 < this.labelFontSize && + ((this.labelFontSize = Math.floor( + (12 / 13) * this.labelFontSize + )), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? f + : this.options.labelFontSize), + (this.sessionVariables.labelAngle = + this.labelAngle)) + : c >= 3.2 * g && c < 3.6 * g + ? ((this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelWrap = !0), + (this.sessionVariables.labelMaxWidth = p), + (this.sessionVariables.labelFontSize = + this.labelFontSize)) + : c > 3.6 * g && c < 5 * g + ? (u(this.options.labelFontSize) && + 12 < f && + ((f = Math.floor((12 / 13) * f)), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? f + : this.options.labelFontSize), + (this.sessionVariables.labelWrap = !0), + (this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelMaxWidth = p)) + : c > 5 * g && + ((this.sessionVariables.labelWrap = !0), + (this.sessionVariables.labelMaxWidth = g), + (this.sessionVariables.labelFontSize = f), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelAngle = + this.labelAngle))); + else if ( + v === b && + ((0 === v && + n + + this._labels[v + 1].textBlock.measureText() + .width - + 2 * g > + q) || + (v === this._labels.length - 1 && + n + + this._labels[v - 1].textBlock.measureText() + .width - + 2 * g > + q) || + (0 < v && + v < this._labels.length - 1 && + n + + this._labels[v + 1].textBlock.measureText() + .width - + 2 * g > + q && + n + + this._labels[v - 1].textBlock.measureText() + .width - + 2 * g > + q)) + ) + (q = + 0 === v + ? n + + this._labels[v + 1].textBlock.measureText() + .width - + 2 * g + : n + + this._labels[v - 1].textBlock.measureText() + .width - + 2 * g), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? f + : this.options.labelFontSize), + (this.sessionVariables.labelWrap = !0), + (this.sessionVariables.labelAngle = -25), + (this.sessionVariables.labelMaxWidth = p); + else if (0 === q) + for ( + this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? f + : this.options.labelFontSize, + this.sessionVariables.labelWrap = !0, + c = 0; + c < this._labels.length; + c++ + ) + (a = this._labels[c].textBlock), + (a.maxWidth = + this.sessionVariables.labelMaxWidth = + Math.min(Math.max(g, n), p)), + (B = a.measureText()), + c < this._labels.length - 1 && + ((f = c + 1), + (d = this._labels[f].textBlock), + (d.maxWidth = + this.sessionVariables.labelMaxWidth = + Math.min(Math.max(g, n), p)), + (d = d.measureText()), + (B.width + d.width) >> 0 > 2 * g && + (this.sessionVariables.labelAngle = -25)); + } + else + ((this.sessionVariables.labelAngle = this.labelAngle), + (this.sessionVariables.labelMaxHeight = + 0 === this.labelAngle + ? m + : Math.min( + (c - + g * + Math.cos( + (Math.PI / 180) * Math.abs(this.labelAngle) + )) / + Math.sin( + (Math.PI / 180) * Math.abs(this.labelAngle) + ), + c + )), + (p = + 0 != this.labelAngle + ? (h - + (k + a.fontSize / 2) * + Math.cos( + (Math.PI / 180) * Math.abs(this.labelAngle) + )) / + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)) + : g), + (this.sessionVariables.labelMaxHeight = m = + this.labelWrap + ? (h - + p * + Math.sin( + (Math.PI / 180) * Math.abs(this.labelAngle) + )) / + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)) + : 1.5 * this.labelFontSize), + u(this.options.labelWrap)) + ? u(this.options.labelWrap) && + (this.labelWrap && !u(this.options.labelMaxWidth) + ? ((this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : p), + (this.sessionVariables.labelMaxHeight = m)) + : ((this.sessionVariables.labelAngle = this.labelAngle), + (this.sessionVariables.labelMaxWidth = p), + (this.sessionVariables.labelMaxHeight = + c < 0.9 * l ? 0.9 * l : c), + (this.sessionVariables.labelWrap = this.labelWrap))) + : (this.options.labelWrap + ? ((this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : p)) + : (u(this.options.labelMaxWidth), + (this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : p), + (this.sessionVariables.labelWrap = this.labelWrap)), + (this.sessionVariables.labelMaxHeight = m)); + } + for (c = 0; c < this._labels.length; c++) + (a = this._labels[c].textBlock), + (a.maxWidth = this.labelMaxWidth = + this.sessionVariables.labelMaxWidth), + (a.fontSize = this.sessionVariables.labelFontSize), + (a.angle = this.labelAngle = this.sessionVariables.labelAngle), + (a.wrap = this.labelWrap = this.sessionVariables.labelWrap), + (a.maxHeight = this.sessionVariables.labelMaxHeight), + a.measureText(); + } else + for (b = 0; b < this._labels.length; b++) + (a = this._labels[b].textBlock), + (a.maxWidth = this.labelMaxWidth = + u(this.options.labelMaxWidth) + ? this.sessionVariables.labelMaxWidth + : this.options.labelMaxWidth), + (a.fontSize = this.labelFontSize = + u(this.options.labelFontSize) + ? this.sessionVariables.labelFontSize + : this.options.labelFontSize), + (a.angle = this.labelAngle = + u(this.options.labelAngle) + ? this.sessionVariables.labelAngle + : this.labelAngle), + (a.wrap = this.labelWrap = + u(this.options.labelWrap) + ? this.sessionVariables.labelWrap + : this.options.labelWrap), + (a.maxHeight = this.sessionVariables.labelMaxHeight), + a.measureText(); + else if ("left" === this._position || "right" === this._position) + if ( + ((g = u(this.options.labelMaxWidth) + ? (0.3 * this.chart.width) >> 0 + : this.options.labelMaxWidth), + (m = + "undefined" === typeof this.options.labelWrap || this.labelWrap + ? (0.3 * this.chart.height) >> 0 + : 1.5 * this.labelFontSize), + !this.chart.panEnabled && 1 <= this._labels.length) + ) { + this.sessionVariables.labelFontSize = this.labelFontSize; + this.sessionVariables.labelMaxWidth = g; + this.sessionVariables.labelMaxHeight = m; + this.sessionVariables.labelAngle = u( + this.sessionVariables.labelAngle + ) + ? 0 + : this.sessionVariables.labelAngle; + this.sessionVariables.labelWrap = this.labelWrap; + for (b = 0; b < this._labels.length; b++) + if (!this._labels[b].breaksLabelType) { + a = this._labels[b].textBlock; + B = a.measureText(); + for (f = b + 1; f < this._labels.length; f++) + if (!this._labels[f].breaksLabelType) { + d = this._labels[f].textBlock; + d = d.measureText(); + break; + } + e.push(a.height); + this.sessionVariables.labelMaxHeight = Math.max.apply(Math, e); + c = + g * Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)) + + (m - a.fontSize / 2) * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)); + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)); + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)); + u(this.options.labelAngle) && + isNaN(this.options.labelAngle) && + 0 !== this.options.labelAngle + ? u(this.options.labelWrap) + ? u(this.options.labelWrap) && + (u(this.options.labelMaxWidth) + ? u(d) || + ((l = (B.height + d.height) >> 0), + l - 2 * m > n && + ((n = l - 2 * m), + l >= 2 * m && l < 2.4 * m + ? (u(this.options.labelFontSize) && + 12 < this.labelFontSize && + ((this.labelFontSize = Math.floor( + (12 / 13) * this.labelFontSize + )), + a.measureText()), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? this.labelFontSize + : this.options.labelFontSize)) + : l >= 2.4 * m && l < 2.8 * m + ? ((this.sessionVariables.labelMaxHeight = c), + (this.sessionVariables.labelFontSize = + this.labelFontSize), + (this.sessionVariables.labelWrap = !0)) + : l >= 2.8 * m && l < 3.2 * m + ? ((this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelWrap = !0), + u(this.options.labelFontSize) && + 12 < this.labelFontSize && + ((this.labelFontSize = Math.floor( + (12 / 13) * this.labelFontSize + )), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? this.labelFontSize + : this.options.labelFontSize), + (this.sessionVariables.labelAngle = u( + this.sessionVariables.labelAngle + ) + ? 0 + : this.sessionVariables.labelAngle)) + : l >= 3.2 * m && l < 3.6 * m + ? ((this.sessionVariables.labelMaxHeight = c), + (this.sessionVariables.labelWrap = !0), + (this.sessionVariables.labelFontSize = + this.labelFontSize)) + : l > 3.6 * m && l < 10 * m + ? (u(this.options.labelFontSize) && + 12 < this.labelFontSize && + ((this.labelFontSize = Math.floor( + (12 / 13) * this.labelFontSize + )), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? this.labelFontSize + : this.options.labelFontSize), + (this.sessionVariables.labelMaxWidth = g), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelAngle = u( + this.sessionVariables.labelAngle + ) + ? 0 + : this.sessionVariables.labelAngle)) + : l > 10 * m && + l < 50 * m && + (u(this.options.labelFontSize) && + 12 < this.labelFontSize && + ((this.labelFontSize = Math.floor( + (12 / 13) * this.labelFontSize + )), + a.measureText()), + (this.sessionVariables.labelFontSize = u( + this.options.labelFontSize + ) + ? this.labelFontSize + : this.options.labelFontSize), + (this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelMaxWidth = g), + (this.sessionVariables.labelAngle = u( + this.sessionVariables.labelAngle + ) + ? 0 + : this.sessionVariables.labelAngle)))) + : ((this.sessionVariables.labelMaxHeight = m), + (this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : this.sessionVariables.labelMaxWidth))) + : ((this.sessionVariables.labelMaxWidth = this.labelWrap + ? this.options.labelMaxWidth + ? this.options.labelMaxWidth + : this.sessionVariables.labelMaxWidth + : this.labelMaxWidth + ? this.options.labelMaxWidth + ? this.options.labelMaxWidth + : this.sessionVariables.labelMaxWidth + : g), + (this.sessionVariables.labelMaxHeight = m)) + : ((this.sessionVariables.labelAngle = this.labelAngle), + (this.sessionVariables.labelMaxWidth = + 0 === this.labelAngle + ? g + : Math.min( + (c - + m * + Math.sin( + (Math.PI / 180) * Math.abs(this.labelAngle) + )) / + Math.cos( + (Math.PI / 180) * Math.abs(this.labelAngle) + ), + m + )), + u(this.options.labelWrap)) + ? u(this.options.labelWrap) && + (this.labelWrap && !u(this.options.labelMaxWidth) + ? ((this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth > + this.options.labelMaxWidth + : this.sessionVariables.labelMaxWidth), + (this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxHeight = c)) + : ((this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : g), + (this.sessionVariables.labelMaxHeight = + 0 === this.labelAngle ? m : c), + u(this.options.labelMaxWidth) && + (this.sessionVariables.labelAngle = this.labelAngle))) + : this.options.labelWrap + ? ((this.sessionVariables.labelMaxHeight = + 0 === this.labelAngle ? m : c), + (this.sessionVariables.labelWrap = this.labelWrap), + (this.sessionVariables.labelMaxWidth = g)) + : ((this.sessionVariables.labelMaxHeight = m), + u(this.options.labelMaxWidth), + (this.sessionVariables.labelMaxWidth = this.options + .labelMaxWidth + ? this.options.labelMaxWidth + : this.sessionVariables.labelMaxWidth), + (this.sessionVariables.labelWrap = this.labelWrap)); + } + for (c = 0; c < this._labels.length; c++) + (a = this._labels[c].textBlock), + (a.maxWidth = this.labelMaxWidth = + this.sessionVariables.labelMaxWidth), + (a.fontSize = this.labelFontSize = + this.sessionVariables.labelFontSize), + (a.angle = this.labelAngle = this.sessionVariables.labelAngle), + (a.wrap = this.labelWrap = this.sessionVariables.labelWrap), + (a.maxHeight = this.sessionVariables.labelMaxHeight), + a.measureText(); + } else + for (b = 0; b < this._labels.length; b++) + (a = this._labels[b].textBlock), + (a.maxWidth = this.labelMaxWidth = + u(this.options.labelMaxWidth) + ? this.sessionVariables.labelMaxWidth + : this.options.labelMaxWidth), + (a.fontSize = this.labelFontSize = + u(this.options.labelFontSize) + ? this.sessionVariables.labelFontSize + : this.options.labelFontSize), + (a.angle = this.labelAngle = + u(this.options.labelAngle) + ? this.sessionVariables.labelAngle + : this.labelAngle), + (a.wrap = this.labelWrap = + u(this.options.labelWrap) + ? this.sessionVariables.labelWrap + : this.options.labelWrap), + (a.maxHeight = this.sessionVariables.labelMaxHeight), + a.measureText(); + for (b = 0; b < this.stripLines.length; b++) { + var g = this.stripLines[b], + z; + if ("outside" === g.labelPlacement) { + m = this.sessionVariables.labelMaxWidth; + if ("bottom" === this._position || "top" === this._position) + z = u(g.options.labelWrap) + ? this.sessionVariables.labelMaxHeight + : g.labelWrap + ? (0.8 * this.chart.height) >> 0 + : 1.5 * this.labelFontSize; + if ("left" === this._position || "right" === this._position) + z = u(g.options.labelWrap) + ? this.sessionVariables.labelMaxHeight + : g.labelWrap + ? (0.8 * this.chart.width) >> 0 + : 1.5 * this.labelFontSize; + u(g.labelBackgroundColor) && (g.labelBackgroundColor = "#EEEEEE"); + } else + (m = + "bottom" === this._position || "top" === this._position + ? (0.9 * this.chart.width) >> 0 + : (0.9 * this.chart.height) >> 0), + (z = + u(g.options.labelWrap) || g.labelWrap + ? "bottom" === this._position || "top" === this._position + ? (0.8 * this.chart.width) >> 0 + : (0.8 * this.chart.height) >> 0 + : 1.5 * this.labelFontSize), + u(g.labelBackgroundColor) && + (u(g.startValue) && 0 !== g.startValue + ? (g.labelBackgroundColor = r ? "transparent" : null) + : (g.labelBackgroundColor = "#EEEEEE")); + a = new ka(this.ctx, { + x: 0, + y: 0, + backgroundColor: g.labelBackgroundColor, + borderColor: g.labelBorderColor, + borderThickness: g.labelBorderThickness, + cornerRadius: g.labelCornerRadius, + maxWidth: g.options.labelMaxWidth ? g.options.labelMaxWidth : m, + maxHeight: z, + angle: this.labelAngle, + text: g.labelFormatter + ? g.labelFormatter({ chart: this.chart, axis: this, stripLine: g }) + : g.label, + horizontalAlign: "left", + fontSize: + "outside" === g.labelPlacement + ? g.options.labelFontSize + ? g.labelFontSize + : this.labelFontSize + : g.labelFontSize, + fontFamily: + "outside" === g.labelPlacement + ? g.options.labelFontFamily + ? g.labelFontFamily + : this.labelFontFamily + : g.labelFontFamily, + fontWeight: + "outside" === g.labelPlacement + ? g.options.labelFontWeight + ? g.labelFontWeight + : this.labelFontWeight + : g.labelFontWeight, + fontColor: g.labelFontColor || g.color, + fontStyle: + "outside" === g.labelPlacement + ? g.options.labelFontStyle + ? g.labelFontStyle + : this.fontWeight + : g.labelFontStyle, + textBaseline: "middle", + }); + this._stripLineLabels.push({ + position: g.value, + textBlock: a, + effectiveHeight: null, + stripLine: g, + }); + } + }; + z.prototype.createLabelsAndCalculateWidth = function () { + var a = 0, + d = 0; + this._labels = []; + this._stripLineLabels = []; + var b = this.chart.isNavigator ? 0 : 5; + if ("left" === this._position || "right" === this._position) { + this.createLabels(); + for (d = 0; d < this._labels.length; d++) { + var c = this._labels[d].textBlock, + e = c.measureText(), + g = 0, + g = + 0 === this.labelAngle + ? e.width + : e.width * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)) + + (e.height - c.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)); + a < g && (a = g); + this._labels[d].effectiveWidth = g; + } + for (d = 0; d < this._stripLineLabels.length; d++) + "outside" === this._stripLineLabels[d].stripLine.labelPlacement && + this._stripLineLabels[d].stripLine.value >= this.viewportMinimum && + this._stripLineLabels[d].stripLine.value <= this.viewportMaximum && + ((c = this._stripLineLabels[d].textBlock), + (e = c.measureText()), + (g = + 0 === this.labelAngle + ? e.width + : e.width * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)) + + (e.height - c.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle))), + a < g && (a = g), + (this._stripLineLabels[d].effectiveWidth = g)); + } + d = this.title ? this._titleTextBlock.measureText().height + 2 : 0; + return (c = + "inside" === this.labelPlacement + ? (c = d + b) + : d + a + this.tickLength + b); + }; + z.prototype.createLabelsAndCalculateHeight = function () { + var a = 0; + this._labels = []; + this._stripLineLabels = []; + var d, + b = 0, + c = this.chart.isNavigator ? 0 : 5; + this.createLabels(); + if ("bottom" === this._position || "top" === this._position) { + for (b = 0; b < this._labels.length; b++) { + d = this._labels[b].textBlock; + var e = d.measureText(), + g = 0, + g = + 0 === this.labelAngle + ? e.height + : e.width * + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)) + + (e.height - d.fontSize / 2) * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle)); + a < g && (a = g); + this._labels[b].effectiveHeight = g; + } + for (b = 0; b < this._stripLineLabels.length; b++) + "outside" === this._stripLineLabels[b].stripLine.labelPlacement && + this._stripLineLabels[b].stripLine.value >= this.viewportMinimum && + this._stripLineLabels[b].stripLine.value <= this.viewportMaximum && + ((d = this._stripLineLabels[b].textBlock), + (e = d.measureText()), + (g = + 0 === this.labelAngle + ? e.height + : e.width * + Math.sin((Math.PI / 180) * Math.abs(this.labelAngle)) + + (e.height - d.fontSize / 2) * + Math.cos((Math.PI / 180) * Math.abs(this.labelAngle))), + a < g && (a = g), + (this._stripLineLabels[b].effectiveHeight = g)); + } + d = this.title ? this._titleTextBlock.measureText().height + 2 : 0; + return (b = + "inside" === this.labelPlacement + ? (b = d + c) + : d + a + this.tickLength + c); + }; + z.setLayout = function (a, d, b, c, e, g) { + var m, + l, + k, + h, + p = a[0] ? a[0].chart : d[0].chart, + q = p.isNavigator ? 0 : 10, + n = p._axes; + if (a && 0 < a.length) + for (var f = 0; f < a.length; f++) + a[f] && a[f].calculateAxisParameters(); + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) d[f].calculateAxisParameters(); + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) b[f].calculateAxisParameters(); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) c[f].calculateAxisParameters(); + for (f = 0; f < n.length; f++) + if (n[f] && n[f].scaleBreaks && n[f].scaleBreaks._appliedBreaks.length) + for ( + var r = n[f].scaleBreaks._appliedBreaks, v = 0; + v < r.length && !(r[v].startValue > n[f].viewportMaximum); + v++ + ) + r[v].endValue < n[f].viewportMinimum || + (u(n[f].scaleBreaks.firstBreakIndex) && + (n[f].scaleBreaks.firstBreakIndex = v), + r[v].startValue >= n[f].viewPortMinimum && + (n[f].scaleBreaks.lastBreakIndex = v)); + for ( + var z = (v = 0), + t = 0, + C = 0, + x = 0, + D = 0, + y = 0, + A, + E, + F = (l = 0), + H, + I, + L, + r = (H = I = L = !1), + f = 0; + f < n.length; + f++ + ) + n[f] && + n[f].title && + (n[f]._titleTextBlock = new ka(n[f].ctx, { + text: n[f].title, + horizontalAlign: "center", + fontSize: n[f].titleFontSize, + fontFamily: n[f].titleFontFamily, + fontWeight: n[f].titleFontWeight, + fontColor: n[f].titleFontColor, + fontStyle: n[f].titleFontStyle, + borderColor: n[f].titleBorderColor, + borderThickness: n[f].titleBorderThickness, + backgroundColor: n[f].titleBackgroundColor, + cornerRadius: n[f].titleCornerRadius, + textBaseline: "top", + })); + for (f = 0; f < n.length; f++) + if (n[f].title) + switch (n[f]._position) { + case "left": + n[f]._titleTextBlock.maxWidth = n[f].titleMaxWidth || g.height; + n[f]._titleTextBlock.maxHeight = n[f].titleWrap + ? 0.8 * g.width + : 1.5 * n[f].titleFontSize; + n[f]._titleTextBlock.angle = -90; + break; + case "right": + n[f]._titleTextBlock.maxWidth = n[f].titleMaxWidth || g.height; + n[f]._titleTextBlock.maxHeight = n[f].titleWrap + ? 0.8 * g.width + : 1.5 * n[f].titleFontSize; + n[f]._titleTextBlock.angle = 90; + break; + default: + (n[f]._titleTextBlock.maxWidth = n[f].titleMaxWidth || g.width), + (n[f]._titleTextBlock.maxHeight = n[f].titleWrap + ? 0.8 * g.height + : 1.5 * n[f].titleFontSize), + (n[f]._titleTextBlock.angle = 0); + } + if ("normal" === e) { + for ( + var C = [], x = [], D = [], y = [], M = [], N = [], O = [], Q = []; + 4 > v; + + ) { + var G = 0, + R = 0, + S = 0, + U = 0, + W = (e = 0), + K = 0, + $ = 0, + V = 0, + X = 0, + P = 0, + ba = 0; + if (b && 0 < b.length) + for (D = [], f = P = 0; f < b.length; f++) + D.push( + Math.ceil(b[f] ? b[f].createLabelsAndCalculateWidth() : 0) + ), + (P += D[f]), + (K += b[f] && !p.isNavigator ? b[f].margin : 0); + else + D.push(Math.ceil(b[0] ? b[0].createLabelsAndCalculateWidth() : 0)); + O.push(D); + if (c && 0 < c.length) + for (y = [], f = ba = 0; f < c.length; f++) + y.push( + Math.ceil(c[f] ? c[f].createLabelsAndCalculateWidth() : 0) + ), + (ba += y[f]), + ($ += c[f] ? c[f].margin : 0); + else + y.push(Math.ceil(c[0] ? c[0].createLabelsAndCalculateWidth() : 0)); + Q.push(y); + m = Math.round(g.x1 + P + K); + k = Math.round( + g.x2 - ba - $ > p.width - q ? p.width - q : g.x2 - ba - $ + ); + if (a && 0 < a.length) + for (C = [], f = V = 0; f < a.length; f++) + a[f] && (a[f].lineCoordinates = {}), + (a[f].lineCoordinates.width = Math.abs(k - m)), + a[f].title && + (a[f]._titleTextBlock.maxWidth = + 0 < a[f].titleMaxWidth && + a[f].titleMaxWidth < a[f].lineCoordinates.width + ? a[f].titleMaxWidth + : a[f].lineCoordinates.width), + C.push( + Math.ceil(a[f] ? a[f].createLabelsAndCalculateHeight() : 0) + ), + (V += C[f]), + (e += a[f] && !p.isNavigator ? a[f].margin : 0); + else + C.push(Math.ceil(a[0] ? a[0].createLabelsAndCalculateHeight() : 0)); + M.push(C); + if (d && 0 < d.length) + for (x = [], f = X = 0; f < d.length; f++) + d[f] && (d[f].lineCoordinates = {}), + (d[f].lineCoordinates.width = Math.abs(k - m)), + d[f].title && + (d[f]._titleTextBlock.maxWidth = + 0 < d[f].titleMaxWidth && + d[f].titleMaxWidth < d[f].lineCoordinates.width + ? d[f].titleMaxWidth + : d[f].lineCoordinates.width), + x.push( + Math.ceil(d[f] ? d[f].createLabelsAndCalculateHeight() : 0) + ), + (X += x[f]), + (W += d[f] && !p.isNavigator ? d[f].margin : 0); + else + x.push(Math.ceil(d[0] ? d[0].createLabelsAndCalculateHeight() : 0)); + N.push(x); + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + a[f] && + ((a[f].lineCoordinates.x1 = m), + (k = Math.round( + g.x2 - ba - $ > p.width - q ? p.width - q : g.x2 - ba - $ + )), + a[f]._labels && + 1 < a[f]._labels.length && + ((l = h = 0), + (h = a[f]._labels[1]), + (l = + "dateTime" === a[f].valueType + ? a[f]._labels[a[f]._labels.length - 2] + : a[f]._labels[a[f]._labels.length - 1]), + (z = + h.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(h.textBlock.angle)) + + (h.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(h.textBlock.angle))), + (t = + l.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(l.textBlock.angle)) + + (l.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(l.textBlock.angle)))), + !a[f] || + !a[f].labelAutoFit || + u(A) || + u(E) || + p.isNavigator || + ((l = 0), + 0 < a[f].labelAngle + ? E + t > k && + (l += 0 < a[f].labelAngle ? E + t - k - ba : 0) + : 0 > a[f].labelAngle + ? A - z < m && + A - z < a[f].viewportMinimum && + (F = + m - + (K + + a[f].tickLength + + D + + A - + z + + a[f].labelFontSize / 2)) + : 0 === a[f].labelAngle && + (E + t > k && (l = E + t / 2 - k - ba), + A - z < m && + A - z < a[f].viewportMinimum && + (F = m - K - a[f].tickLength - D - A + z / 2)), + a[f].viewportMaximum === a[f].maximum && + a[f].viewportMinimum === a[f].minimum && + 0 < a[f].labelAngle && + 0 < l + ? (k -= l) + : a[f].viewportMaximum === a[f].maximum && + a[f].viewportMinimum === a[f].minimum && + 0 > a[f].labelAngle && + 0 < F + ? (m += F) + : a[f].viewportMaximum === a[f].maximum && + a[f].viewportMinimum === a[f].minimum && + 0 === a[f].labelAngle && + (0 < F && (m += F), 0 < l && (k -= l))), + p.panEnabled + ? (V = p.sessionVariables.axisX.height) + : (p.sessionVariables.axisX.height = V), + (l = Math.round(g.y2 - V - e + G)), + (h = Math.round(g.y2)), + (a[f].lineCoordinates.x2 = k), + (a[f].lineCoordinates.width = k - m), + (a[f].lineCoordinates.y1 = l), + (a[f].lineCoordinates.y2 = l), + (a[f].bounds = { + x1: m, + y1: l, + x2: k, + y2: h - (V + e - C[f] - G), + width: k - m, + height: h - l, + })), + (G += C[f] + a[f].margin); + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + (d[f].lineCoordinates.x1 = Math.round(g.x1 + P + K)), + (d[f].lineCoordinates.x2 = Math.round( + g.x2 - ba - $ > p.width - q ? p.width - q : g.x2 - ba - $ + )), + (d[f].lineCoordinates.width = Math.abs(k - m)), + d[f]._labels && + 1 < d[f]._labels.length && + ((h = d[f]._labels[1]), + (l = + "dateTime" === d[f].valueType + ? d[f]._labels[d[f]._labels.length - 2] + : d[f]._labels[d[f]._labels.length - 1]), + (z = + h.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(h.textBlock.angle)) + + (h.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(h.textBlock.angle))), + (t = + l.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(l.textBlock.angle)) + + (l.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(l.textBlock.angle)))), + p.panEnabled + ? (X = p.sessionVariables.axisX2.height) + : (p.sessionVariables.axisX2.height = X), + (l = Math.round(g.y1)), + (h = Math.round(g.y2 + d[f].margin)), + (d[f].lineCoordinates.y1 = l + X + W - R), + (d[f].lineCoordinates.y2 = l), + (d[f].bounds = { + x1: m, + y1: l + (X + W - x[f] - R), + x2: k, + y2: h, + width: k - m, + height: h - l, + }), + (R += x[f] + d[f].margin); + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + (K = p.isNavigator ? 0 : 10), + b[f] && + ((m = Math.round( + a[0] ? a[0].lineCoordinates.x1 : d[0].lineCoordinates.x1 + )), + (K = + b[f]._labels && 0 < b[f]._labels.length + ? b[f]._labels[b[f]._labels.length - 1].textBlock.height / + 2 + : q), + (l = Math.round( + g.y1 + X + W < Math.max(K, q) + ? Math.max(K, q) + : g.y1 + X + W + )), + (k = Math.round( + a[0] ? a[0].lineCoordinates.x1 : d[0].lineCoordinates.x1 + )), + (K = + 0 < a.length + ? 0 + : b[f]._labels && 0 < b[f]._labels.length + ? b[f]._labels[0].textBlock.height / 2 + : q), + (h = Math.round(g.y2 - V - e - K)), + (b[f].lineCoordinates = { + x1: k - S, + y1: l, + x2: k - S, + y2: h, + height: Math.abs(h - l), + }), + (b[f].bounds = { + x1: m - (D[f] + S), + y1: l, + x2: k, + y2: h, + width: k - m, + height: h - l, + }), + b[f].title && + (b[f]._titleTextBlock.maxWidth = + 0 < b[f].titleMaxWidth && + b[f].titleMaxWidth < b[f].lineCoordinates.height + ? b[f].titleMaxWidth + : b[f].lineCoordinates.height), + (S += D[f] + b[f].margin)); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + c[f] && + ((m = Math.round( + a[0] ? a[0].lineCoordinates.x2 : d[0].lineCoordinates.x2 + )), + (k = Math.round(m)), + (K = + c[f]._labels && 0 < c[f]._labels.length + ? c[f]._labels[c[f]._labels.length - 1].textBlock.height / 2 + : 0), + (l = Math.round( + g.y1 + X + W < Math.max(K, q) ? Math.max(K, q) : g.y1 + X + W + )), + (K = + 0 < a.length + ? 0 + : c[f]._labels && 0 < c[f]._labels.length + ? c[f]._labels[0].textBlock.height / 2 + : 0), + (h = Math.round(g.y2 - (V + e + K))), + (c[f].lineCoordinates = { + x1: m + U, + y1: l, + x2: m + U, + y2: h, + height: Math.abs(h - l), + }), + (c[f].bounds = { + x1: m, + y1: l, + x2: k + (y[f] + U), + y2: h, + width: k - m, + height: h - l, + }), + c[f].title && + (c[f]._titleTextBlock.maxWidth = + 0 < c[f].titleMaxWidth && + c[f].titleMaxWidth < c[f].lineCoordinates.height + ? c[f].titleMaxWidth + : c[f].lineCoordinates.height), + (U += y[f] + c[f].margin)); + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + a[f] && + (a[f].calculateValueToPixelConversionParameters(), + a[f].calculateBreaksSizeInValues(), + a[f]._labels && + 1 < a[f]._labels.length && + ((A = + (a[f].logarithmic + ? Math.log( + a[f]._labels[1].position / a[f].viewportMinimum + ) / a[f].conversionParameters.lnLogarithmBase + : a[f]._labels[1].position - a[f].viewportMinimum) * + Math.abs(a[f].conversionParameters.pixelPerUnit) + + a[f].lineCoordinates.x1), + (m = + a[f]._labels[ + a[f]._labels.length - + ("dateTime" === a[f].valueType ? 2 : 1) + ].position), + (m = a[f].getApparentDifference(a[f].viewportMinimum, m)), + (E = a[f].logarithmic + ? (1 < m + ? (Math.log(m) / + a[f].conversionParameters.lnLogarithmBase) * + Math.abs(a[f].conversionParameters.pixelPerUnit) + : 0) + a[f].lineCoordinates.x1 + : (0 < m + ? m * Math.abs(a[f].conversionParameters.pixelPerUnit) + : 0) + a[f].lineCoordinates.x1))); + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + d[f].calculateValueToPixelConversionParameters(), + d[f].calculateBreaksSizeInValues(), + d[f]._labels && + 1 < d[f]._labels.length && + ((A = + (d[f].logarithmic + ? Math.log( + d[f]._labels[1].position / d[f].viewportMinimum + ) / d[f].conversionParameters.lnLogarithmBase + : d[f]._labels[1].position - d[f].viewportMinimum) * + Math.abs(d[f].conversionParameters.pixelPerUnit) + + d[f].lineCoordinates.x1), + (m = + d[f]._labels[ + d[f]._labels.length - + ("dateTime" === d[f].valueType ? 2 : 1) + ].position), + (m = d[f].getApparentDifference(d[f].viewportMinimum, m)), + (E = d[f].logarithmic + ? (1 < m + ? (Math.log(m) / + d[f].conversionParameters.lnLogarithmBase) * + Math.abs(d[f].conversionParameters.pixelPerUnit) + : 0) + d[f].lineCoordinates.x1 + : (0 < m + ? m * Math.abs(d[f].conversionParameters.pixelPerUnit) + : 0) + d[f].lineCoordinates.x1)); + for (f = 0; f < n.length; f++) + "axisY" === n[f].type && + (n[f].calculateValueToPixelConversionParameters(), + n[f].calculateBreaksSizeInValues()); + if (0 < v) { + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + r = M[v - 1][f] === M[v][f] ? !0 : !1; + else r = !0; + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + H = N[v - 1][f] === N[v][f] ? !0 : !1; + else H = !0; + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + I = O[v - 1][f] === O[v][f] ? !0 : !1; + else I = !0; + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + L = Q[v - 1][f] === Q[v][f] ? !0 : !1; + else L = !0; + } + if (r && H && I && L) break; + v++; + } + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + a[f].calculateStripLinesThicknessInValues(), + a[f].calculateBreaksInPixels(); + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + d[f].calculateStripLinesThicknessInValues(), + d[f].calculateBreaksInPixels(); + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + b[f].calculateStripLinesThicknessInValues(), + b[f].calculateBreaksInPixels(); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + c[f].calculateStripLinesThicknessInValues(), + c[f].calculateBreaksInPixels(); + } else { + q = []; + A = []; + F = []; + z = []; + E = []; + t = []; + M = []; + for (N = []; 4 > v; ) { + V = U = R = S = $ = K = W = e = Q = O = G = X = 0; + if (a && 0 < a.length) + for (F = [], f = U = 0; f < a.length; f++) + F.push( + Math.ceil(a[f] ? a[f].createLabelsAndCalculateWidth() : 0) + ), + (U += F[f]), + (e += a[f] && !p.isNavigator ? a[f].margin : 0); + else + F.push(Math.ceil(a[0] ? a[0].createLabelsAndCalculateWidth() : 0)); + M.push(F); + if (d && 0 < d.length) + for (z = [], f = V = 0; f < d.length; f++) + z.push( + Math.ceil(d[f] ? d[f].createLabelsAndCalculateWidth() : 0) + ), + (V += z[f]), + (W += d[f] ? d[f].margin : 0); + else + z.push(Math.ceil(d[0] ? d[0].createLabelsAndCalculateWidth() : 0)); + N.push(z); + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + (b[f].lineCoordinates = {}), + (m = Math.round(g.x1 + U + e)), + (k = Math.round( + g.x2 - V - W > p.width - 10 ? p.width - 10 : g.x2 - V - W + )), + b[f].labelAutoFit && + !u(C) && + (0 < !a.length && + (m = + 0 > b[f].labelAngle + ? Math.max(m, C) + : 0 === b[f].labelAngle + ? Math.max(m, C / 2) + : m), + 0 < !d.length && + (k = + 0 < b[f].labelAngle + ? k - x / 2 + : 0 === b[f].labelAngle + ? k - x / 2 + : k)), + (b[f].lineCoordinates.x1 = m), + (b[f].lineCoordinates.x2 = k), + (b[f].lineCoordinates.width = Math.abs(k - m)), + b[f].title && + (b[f]._titleTextBlock.maxWidth = + 0 < b[f].titleMaxWidth && + b[f].titleMaxWidth < b[f].lineCoordinates.width + ? b[f].titleMaxWidth + : b[f].lineCoordinates.width); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + (c[f].lineCoordinates = {}), + (m = Math.round(g.x1 + U + e)), + (k = Math.round( + g.x2 - V - W > c[f].chart.width - 10 + ? c[f].chart.width - 10 + : g.x2 - V - W + )), + c[f] && + c[f].labelAutoFit && + !u(D) && + (0 < !a.length && + (m = + 0 < c[f].labelAngle + ? Math.max(m, D) + : 0 === c[f].labelAngle + ? Math.max(m, D / 2) + : m), + 0 < !d.length && (k -= y / 2)), + (c[f].lineCoordinates.x1 = m), + (c[f].lineCoordinates.x2 = k), + (c[f].lineCoordinates.width = Math.abs(k - m)), + c[f].title && + (c[f]._titleTextBlock.maxWidth = + 0 < c[f].titleMaxWidth && + c[f].titleMaxWidth < c[f].lineCoordinates.width + ? c[f].titleMaxWidth + : c[f].lineCoordinates.width); + if (b && 0 < b.length) + for (q = [], f = S = 0; f < b.length; f++) + q.push( + Math.ceil(b[f] ? b[f].createLabelsAndCalculateHeight() : 0) + ), + (S += q[f] + b[f].margin), + (K += b[f].margin); + else + q.push(Math.ceil(b[0] ? b[0].createLabelsAndCalculateHeight() : 0)); + E.push(q); + if (c && 0 < c.length) + for (A = [], f = R = 0; f < c.length; f++) + A.push( + Math.ceil(c[f] ? c[f].createLabelsAndCalculateHeight() : 0) + ), + (R += A[f]), + ($ += c[f].margin); + else + A.push(Math.ceil(c[0] ? c[0].createLabelsAndCalculateHeight() : 0)); + t.push(A); + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + 0 < b[f]._labels.length && + ((h = b[f]._labels[0]), + (l = b[f]._labels[b[f]._labels.length - 1]), + (C = + h.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(h.textBlock.angle)) + + (h.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(h.textBlock.angle))), + (x = + l.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(l.textBlock.angle)) + + (l.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(l.textBlock.angle)))); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + c[f] && + 0 < c[f]._labels.length && + ((h = c[f]._labels[0]), + (l = c[f]._labels[c[f]._labels.length - 1]), + (D = + h.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(h.textBlock.angle)) + + (h.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(h.textBlock.angle))), + (y = + l.textBlock.width * + Math.cos((Math.PI / 180) * Math.abs(l.textBlock.angle)) + + (l.textBlock.height - l.textBlock.fontSize / 2) * + Math.sin((Math.PI / 180) * Math.abs(l.textBlock.angle)))); + if (p.panEnabled) + for (f = 0; f < b.length; f++) + q[f] = p.sessionVariables.axisY.height; + else + for (f = 0; f < b.length; f++) + p.sessionVariables.axisY.height = q[f]; + if (b && 0 < b.length) + for (f = b.length - 1; 0 <= f; f--) + (l = Math.round(g.y2)), + (h = Math.round( + g.y2 > b[f].chart.height - 10 ? b[f].chart.height - 10 : g.y2 + )), + (b[f].lineCoordinates.y1 = l - (q[f] + b[f].margin + X)), + (b[f].lineCoordinates.y2 = l - (q[f] + b[f].margin + X)), + (b[f].bounds = { + x1: m, + y1: l - (q[f] + X + b[f].margin), + x2: k, + y2: h - (X + b[f].margin), + width: k - m, + height: q[f], + }), + b[f].title && + (b[f]._titleTextBlock.maxWidth = + 0 < b[f].titleMaxWidth && + b[f].titleMaxWidth < b[f].lineCoordinates.width + ? b[f].titleMaxWidth + : b[f].lineCoordinates.width), + (X += q[f] + b[f].margin); + if (c && 0 < c.length) + for (f = c.length - 1; 0 <= f; f--) + c[f] && + ((l = Math.round(g.y1)), + (h = Math.round(g.y1 + (A[f] + c[f].margin + G))), + (c[f].lineCoordinates.y1 = h), + (c[f].lineCoordinates.y2 = h), + (c[f].bounds = { + x1: m, + y1: l + (c[f].margin + G), + x2: k, + y2: h, + width: k - m, + height: R, + }), + c[f].title && + (c[f]._titleTextBlock.maxWidth = + 0 < c[f].titleMaxWidth && + c[f].titleMaxWidth < c[f].lineCoordinates.width + ? c[f].titleMaxWidth + : c[f].lineCoordinates.width), + (G += A[f] + c[f].margin)); + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) { + K = + a[f]._labels && 0 < a[f]._labels.length + ? a[f]._labels[0].textBlock.fontSize / 2 + : 0; + m = Math.round(g.x1 + e); + l = + c && 0 < c.length + ? Math.round( + c[0] + ? c[0].lineCoordinates.y2 + : g.y1 < Math.max(K, 10) + ? Math.max(K, 10) + : g.y1 + ) + : g.y1 < Math.max(K, 10) + ? Math.max(K, 10) + : g.y1; + k = Math.round(g.x1 + U + e); + h = + b && 0 < b.length + ? Math.round( + b[0] + ? b[0].lineCoordinates.y1 + : g.y2 - S > p.height - Math.max(K, 10) + ? p.height - Math.max(K, 10) + : g.y2 - S + ) + : g.y2 > p.height - Math.max(K, 10) + ? p.height - Math.max(K, 10) + : g.y2; + if (b && 0 < b.length) + for (K = 0; K < b.length; K++) + b[K] && + b[K].labelAutoFit && + ((k = + 0 > b[K].labelAngle + ? Math.max(k, C) + : 0 === b[K].labelAngle + ? Math.max(k, C / 2) + : k), + (m = + 0 > b[K].labelAngle || 0 === b[K].labelAngle + ? k - U + : m)); + if (c && 0 < c.length) + for (K = 0; K < c.length; K++) + c[K] && + c[K].labelAutoFit && + ((k = c[K].lineCoordinates.x1), (m = k - U)); + a[f].lineCoordinates = { + x1: k - O, + y1: l, + x2: k - O, + y2: h, + height: Math.abs(h - l), + }; + a[f].bounds = { + x1: k - (F[f] + O), + y1: l, + x2: k, + y2: h, + width: k - m, + height: h - l, + }; + a[f].title && + (a[f]._titleTextBlock.maxWidth = + 0 < a[f].titleMaxWidth && + a[f].titleMaxWidth < a[f].lineCoordinates.height + ? a[f].titleMaxWidth + : a[f].lineCoordinates.height); + a[f].calculateValueToPixelConversionParameters(); + a[f].calculateBreaksSizeInValues(); + O += F[f] + a[f].margin; + } + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) { + K = + d[f]._labels && 0 < d[f]._labels.length + ? d[f]._labels[0].textBlock.fontSize / 2 + : 0; + m = Math.round(g.x1 - e); + l = + c && 0 < c.length + ? Math.round( + c[0] + ? c[0].lineCoordinates.y2 + : g.y1 < Math.max(K, 10) + ? Math.max(K, 10) + : g.y1 + ) + : g.y1 < Math.max(K, 10) + ? Math.max(K, 10) + : g.y1; + k = Math.round(g.x2 - V - W); + h = + b && 0 < b.length + ? Math.round( + b[0] + ? b[0].lineCoordinates.y1 + : g.y2 - S > p.height - Math.max(K, 10) + ? p.height - Math.max(K, 10) + : g.y2 - S + ) + : g.y2 > p.height - Math.max(K, 10) + ? p.height - Math.max(K, 10) + : g.y2; + if (b && 0 < b.length) + for (K = 0; K < b.length; K++) + b[K] && + b[K].labelAutoFit && + ((k = + 0 > b[K].labelAngle + ? Math.max(k, C) + : 0 === b[K].labelAngle + ? Math.max(k, C / 2) + : k), + (m = + 0 > b[K].labelAngle || 0 === b[K].labelAngle + ? k - V + : m)); + if (c && 0 < c.length) + for (K = 0; K < c.length; K++) + c[K] && + c[K].labelAutoFit && + ((k = c[K].lineCoordinates.x2), (m = k - V)); + d[f].lineCoordinates = { + x1: k + Q, + y1: l, + x2: k + Q, + y2: h, + height: Math.abs(h - l), + }; + d[f].bounds = { + x1: m, + y1: l, + x2: k + z[f] + Q, + y2: h, + width: k - m, + height: h - l, + }; + d[f].title && + (d[f]._titleTextBlock.maxWidth = + 0 < d[f].titleMaxWidth && + d[f].titleMaxWidth < d[f].lineCoordinates.height + ? d[f].titleMaxWidth + : d[f].lineCoordinates.height); + d[f].calculateValueToPixelConversionParameters(); + d[f].calculateBreaksSizeInValues(); + Q += z[f] + d[f].margin; + } + for (f = 0; f < n.length; f++) + "axisY" === n[f].type && + (n[f].calculateValueToPixelConversionParameters(), + n[f].calculateBreaksSizeInValues()); + if (0 < v) { + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + r = M[v - 1][f] === M[v][f] ? !0 : !1; + else r = !0; + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + H = N[v - 1][f] === N[v][f] ? !0 : !1; + else H = !0; + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + I = E[v - 1][f] === E[v][f] ? !0 : !1; + else I = !0; + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + L = t[v - 1][f] === t[v][f] ? !0 : !1; + else L = !0; + } + if (r && H && I && L) break; + v++; + } + if (b && 0 < b.length) + for (f = 0; f < b.length; f++) + b[f].calculateStripLinesThicknessInValues(), + b[f].calculateBreaksInPixels(); + if (c && 0 < c.length) + for (f = 0; f < c.length; f++) + c[f].calculateStripLinesThicknessInValues(), + c[f].calculateBreaksInPixels(); + if (a && 0 < a.length) + for (f = 0; f < a.length; f++) + a[f].calculateStripLinesThicknessInValues(), + a[f].calculateBreaksInPixels(); + if (d && 0 < d.length) + for (f = 0; f < d.length; f++) + d[f].calculateStripLinesThicknessInValues(), + d[f].calculateBreaksInPixels(); + } + }; + z.render = function (a, d, b, c, e) { + var g = a[0] ? a[0].chart : d[0].chart; + e = g.ctx; + var m = g._axes; + g.alignVerticalAxes && g.alignVerticalAxes(); + e.save(); + e.beginPath(); + a[0] && + e.rect(5, a[0].bounds.y1, a[0].chart.width - 10, a[0].bounds.height); + d[0] && + e.rect( + 5, + d[d.length - 1].bounds.y1, + d[0].chart.width - 10, + d[0].bounds.height + ); + e.clip(); + if (a && 0 < a.length) + for (var l = 0; l < a.length; l++) a[l].renderLabelsTicksAndTitle(); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) d[l].renderLabelsTicksAndTitle(); + e.restore(); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) b[l].renderLabelsTicksAndTitle(); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) c[l].renderLabelsTicksAndTitle(); + g.preparePlotArea(); + g = g.plotArea; + e.save(); + e.beginPath(); + e.rect(g.x1, g.y1, Math.abs(g.x2 - g.x1), Math.abs(g.y2 - g.y1)); + e.clip(); + if (a && 0 < a.length) + for (l = 0; l < m.length; l++) + m[l].renderStripLinesOfThicknessType("value"); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) + d[l].renderStripLinesOfThicknessType("value"); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) + b[l].renderStripLinesOfThicknessType("value"); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) + c[l].renderStripLinesOfThicknessType("value"); + if (a && 0 < a.length) + for (l = 0; l < a.length; l++) a[l].renderInterlacedColors(); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) d[l].renderInterlacedColors(); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) b[l].renderInterlacedColors(); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) c[l].renderInterlacedColors(); + e.restore(); + if (a && 0 < a.length) + for (l = 0; l < a.length; l++) + a[l].renderGrid(), + r && (a[l].createMask(), a[l].renderBreaksBackground()); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) + d[l].renderGrid(), + r && (d[l].createMask(), d[l].renderBreaksBackground()); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) + b[l].renderGrid(), + r && (b[l].createMask(), b[l].renderBreaksBackground()); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) + c[l].renderGrid(), + r && (c[l].createMask(), c[l].renderBreaksBackground()); + if (a && 0 < a.length) + for (l = 0; l < a.length; l++) a[l].renderAxisLine(); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) d[l].renderAxisLine(); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) b[l].renderAxisLine(); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) c[l].renderAxisLine(); + if (a && 0 < a.length) + for (l = 0; l < a.length; l++) + a[l].renderStripLinesOfThicknessType("pixel"); + if (d && 0 < d.length) + for (l = 0; l < d.length; l++) + d[l].renderStripLinesOfThicknessType("pixel"); + if (b && 0 < b.length) + for (l = 0; l < b.length; l++) + b[l].renderStripLinesOfThicknessType("pixel"); + if (c && 0 < c.length) + for (l = 0; l < c.length; l++) + c[l].renderStripLinesOfThicknessType("pixel"); + }; + z.prototype.calculateStripLinesThicknessInValues = function () { + for (var a = 0; a < this.stripLines.length; a++) + if ( + null !== this.stripLines[a].startValue && + null !== this.stripLines[a].endValue + ) { + var d = Math.min( + this.stripLines[a].startValue, + this.stripLines[a].endValue + ), + b = Math.max( + this.stripLines[a].startValue, + this.stripLines[a].endValue + ), + d = this.getApparentDifference(d, b); + this.stripLines[a].value = this.logarithmic + ? this.stripLines[a].value * + Math.sqrt( + Math.log( + this.stripLines[a].endValue / this.stripLines[a].startValue + ) / Math.log(d) + ) + : this.stripLines[a].value + + (Math.abs( + this.stripLines[a].endValue - this.stripLines[a].startValue + ) - + d) / + 2; + this.stripLines[a].thickness = d; + this.stripLines[a]._thicknessType = "value"; + } + }; + z.prototype.calculateBreaksSizeInValues = function () { + for ( + var a = + "left" === this._position || "right" === this._position + ? this.lineCoordinates.height || this.chart.height + : this.lineCoordinates.width || this.chart.width, + d = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : [], + b = + this.conversionParameters.pixelPerUnit || + a / + (this.logarithmic + ? this.conversionParameters.maximum / + this.conversionParameters.minimum + : this.conversionParameters.maximum - + this.conversionParameters.minimum), + c = this.scaleBreaks && !u(this.scaleBreaks.options.spacing), + e, + g = 0; + g < d.length; + g++ + ) + (e = c || !u(d[g].options.spacing)), + (d[g].spacing = + I(d[g].spacing, a, 8, e ? 0.1 * a : 8, e ? 0 : 3) << 0), + (d[g].size = 0 > d[g].spacing ? 0 : Math.abs(d[g].spacing / b)), + this.logarithmic && + (d[g].size = Math.pow(this.logarithmBase, d[g].size)); + }; + z.prototype.calculateBreaksInPixels = function () { + if (!(this.scaleBreaks && 0 >= this.scaleBreaks._appliedBreaks.length)) { + var a = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : []; + a.length && + (this.scaleBreaks.firstBreakIndex = this.scaleBreaks.lastBreakIndex = + null); + for ( + var d = 0; + d < a.length && + !(a[d].startValue > this.conversionParameters.maximum); + d++ + ) + a[d].endValue < this.conversionParameters.minimum || + (u(this.scaleBreaks.firstBreakIndex) && + (this.scaleBreaks.firstBreakIndex = d), + a[d].startValue >= this.conversionParameters.minimum && + ((a[d].startPixel = this.convertValueToPixel(a[d].startValue)), + (this.scaleBreaks.lastBreakIndex = d)), + a[d].endValue <= this.conversionParameters.maximum && + (a[d].endPixel = this.convertValueToPixel(a[d].endValue))); + } + }; + z.prototype.renderLabelsTicksAndTitle = function () { + var a = this, + d = !1, + b = 0, + c = 0, + e = 1, + g = 0; + 0 !== this.labelAngle && 360 !== this.labelAngle && (e = 1.2); + if ("undefined" === typeof this.options.interval) { + if ("bottom" === this._position || "top" === this._position) + if ( + this.logarithmic && + !this.equidistantInterval && + this.labelAutoFit + ) { + for ( + var b = [], + e = 0 !== this.labelAngle && 360 !== this.labelAngle ? 1 : 1.2, + m, + l = this.viewportMaximum, + k = this.lineCoordinates.width / Math.log(this.range), + h = this._labels.length - 1; + 0 <= h; + h-- + ) { + q = this._labels[h]; + if (q.position < this.viewportMinimum) break; + q.position > this.viewportMaximum || + !( + h === this._labels.length - 1 || + m < (Math.log(l / q.position) * k) / e + ) || + (b.push(q), + (l = q.position), + (m = + q.textBlock.width * + Math.abs(Math.cos((Math.PI / 180) * this.labelAngle)) + + q.textBlock.height * + Math.abs(Math.sin((Math.PI / 180) * this.labelAngle)))); + } + this._labels = b; + } else { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + ((m = + q.textBlock.width * + Math.abs(Math.cos((Math.PI / 180) * this.labelAngle)) + + q.textBlock.height * + Math.abs(Math.sin((Math.PI / 180) * this.labelAngle))), + (b += m)); + b > this.lineCoordinates.width * e && this.labelAutoFit && (d = !0); + } + if ("left" === this._position || "right" === this._position) + if ( + this.logarithmic && + !this.equidistantInterval && + this.labelAutoFit + ) { + for ( + var b = [], + p, + l = this.viewportMaximum, + k = this.lineCoordinates.height / Math.log(this.range), + h = this._labels.length - 1; + 0 <= h; + h-- + ) { + q = this._labels[h]; + if (q.position < this.viewportMinimum) break; + q.position > this.viewportMaximum || + !( + h === this._labels.length - 1 || + p < Math.log(l / q.position) * k + ) || + (b.push(q), + (l = q.position), + (p = + q.textBlock.height * + Math.abs(Math.cos((Math.PI / 180) * this.labelAngle)) + + q.textBlock.width * + Math.abs(Math.sin((Math.PI / 180) * this.labelAngle)))); + } + this._labels = b; + } else { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + ((p = + q.textBlock.height * + Math.abs(Math.cos((Math.PI / 180) * this.labelAngle)) + + q.textBlock.width * + Math.abs(Math.sin((Math.PI / 180) * this.labelAngle))), + (c += p)); + c > this.lineCoordinates.height * e && + this.labelAutoFit && + (d = !0); + } + } + this.logarithmic && + !this.equidistantInterval && + this.labelAutoFit && + this._labels.sort(function (a, b) { + return a.position - b.position; + }); + var h = 0, + q, + n; + if ("bottom" === this._position) { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + q.position > this.viewportMaximum || + (d && 0 !== g++ % 2 && this.labelAutoFit) || + ((n = this.getPixelCoordinatesOnAxis(q.position)), + this.tickThickness && + "inside" != this.labelPlacement && + ((this.ctx.lineWidth = this.tickThickness), + (this.ctx.strokeStyle = this.tickColor), + (c = + 1 === this.ctx.lineWidth % 2 ? (n.x << 0) + 0.5 : n.x << 0), + this.ctx.beginPath(), + this.ctx.moveTo(c, n.y << 0), + this.ctx.lineTo(c, (n.y + this.tickLength) << 0), + this.ctx.stroke()), + 0 === q.textBlock.angle + ? ((n.x -= q.textBlock.width / 2), + (n.y = + "inside" === this.labelPlacement + ? n.y - (this.tickLength + q.textBlock.fontSize / 2) + : n.y + this.tickLength + q.textBlock.fontSize / 2)) + : ((n.x = + "inside" === this.labelPlacement + ? 0 > this.labelAngle + ? n.x + : n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : n.x - + (0 > this.labelAngle + ? q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : 0)), + (n.y = + "inside" === this.labelPlacement + ? 0 > this.labelAngle + ? n.y - this.tickLength - 5 + : n.y - + this.tickLength - + Math.abs( + q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) + + 5 + ) + : n.y + + this.tickLength + + Math.abs( + 0 > this.labelAngle + ? q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) - + 5 + : 5 + ))), + (q.textBlock.x = n.x), + (q.textBlock.y = n.y)); + "inside" === this.labelPlacement && + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (h = 0; h < a._labels.length; h++) + if ( + ((q = a._labels[h]), + !( + q.position < a.viewportMinimum || + q.position > a.viewportMaximum || + (d && 0 !== g++ % 2 && a.labelAutoFit) + ) && + ((n = a.getPixelCoordinatesOnAxis(q.position)), + a.tickThickness)) + ) { + a.ctx.lineWidth = a.tickThickness; + a.ctx.strokeStyle = a.tickColor; + var b = + 1 === a.ctx.lineWidth % 2 ? (n.x << 0) + 0.5 : n.x << 0; + a.ctx.save(); + a.ctx.beginPath(); + a.ctx.moveTo(b, n.y << 0); + a.ctx.lineTo(b, (n.y - a.tickLength) << 0); + a.ctx.stroke(); + a.ctx.restore(); + } + }, + this + ); + this.title && + (this._titleTextBlock.measureText(), + (this._titleTextBlock.x = + this.lineCoordinates.x1 + + this.lineCoordinates.width / 2 - + this._titleTextBlock.width / 2), + (this._titleTextBlock.y = + this.bounds.y2 - this._titleTextBlock.height - 3), + (this.titleMaxWidth = this._titleTextBlock.maxWidth), + this._titleTextBlock.render(!0)); + } else if ("top" === this._position) { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + q.position > this.viewportMaximum || + (d && 0 !== g++ % 2 && this.labelAutoFit) || + ((n = this.getPixelCoordinatesOnAxis(q.position)), + this.tickThickness && + "inside" != this.labelPlacement && + ((this.ctx.lineWidth = this.tickThickness), + (this.ctx.strokeStyle = this.tickColor), + (c = + 1 === this.ctx.lineWidth % 2 ? (n.x << 0) + 0.5 : n.x << 0), + this.ctx.beginPath(), + this.ctx.moveTo(c, n.y << 0), + this.ctx.lineTo(c, (n.y - this.tickLength) << 0), + this.ctx.stroke()), + 0 === q.textBlock.angle + ? ((n.x -= q.textBlock.width / 2), + (n.y = + "inside" === this.labelPlacement + ? n.y + this.labelFontSize / 2 + this.tickLength + 5 + : n.y - + (this.tickLength + + q.textBlock.height - + q.textBlock.fontSize / 2))) + : ((n.x = + "inside" === this.labelPlacement + ? 0 < this.labelAngle + ? n.x + : n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : n.x + + (q.textBlock.height - + this.tickLength - + this.labelFontSize) * + Math.sin((Math.PI / 180) * this.labelAngle) - + (0 < this.labelAngle + ? q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : 0)), + (n.y = + "inside" === this.labelPlacement + ? 0 < this.labelAngle + ? n.y + this.tickLength + 5 + : n.y - + q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) + + this.tickLength + + 5 + : n.y - + (this.tickLength + + ((q.textBlock.height - q.textBlock.fontSize / 2) * + Math.cos((Math.PI / 180) * this.labelAngle) + + (0 < this.labelAngle + ? q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) + : 0))))), + (q.textBlock.x = n.x), + (q.textBlock.y = n.y)); + "inside" === this.labelPlacement && + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (h = 0; h < a._labels.length; h++) + if ( + ((q = a._labels[h]), + !( + q.position < a.viewportMinimum || + q.position > a.viewportMaximum || + (d && 0 !== g++ % 2 && a.labelAutoFit) + ) && + ((n = a.getPixelCoordinatesOnAxis(q.position)), + a.tickThickness)) + ) { + a.ctx.lineWidth = a.tickThickness; + a.ctx.strokeStyle = a.tickColor; + var b = + 1 === this.ctx.lineWidth % 2 ? (n.x << 0) + 0.5 : n.x << 0; + a.ctx.save(); + a.ctx.beginPath(); + a.ctx.moveTo(b, n.y << 0); + a.ctx.lineTo(b, (n.y + a.tickLength) << 0); + a.ctx.stroke(); + a.ctx.restore(); + } + }, + this + ); + this.title && + (this._titleTextBlock.measureText(), + (this._titleTextBlock.x = + this.lineCoordinates.x1 + + this.lineCoordinates.width / 2 - + this._titleTextBlock.width / 2), + (this._titleTextBlock.y = this.bounds.y1 + 1), + (this.titleMaxWidth = this._titleTextBlock.maxWidth), + this._titleTextBlock.render(!0)); + } else if ("left" === this._position) { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + q.position > this.viewportMaximum || + (d && 0 !== g++ % 2 && this.labelAutoFit) || + ((n = this.getPixelCoordinatesOnAxis(q.position)), + this.tickThickness && + "inside" != this.labelPlacement && + ((this.ctx.lineWidth = this.tickThickness), + (this.ctx.strokeStyle = this.tickColor), + (c = + 1 === this.ctx.lineWidth % 2 ? (n.y << 0) + 0.5 : n.y << 0), + this.ctx.beginPath(), + this.ctx.moveTo(n.x << 0, c), + this.ctx.lineTo((n.x - this.tickLength) << 0, c), + this.ctx.stroke()), + 0 === this.labelAngle + ? ((q.textBlock.y = n.y), + (q.textBlock.x = + "inside" === this.labelPlacement + ? n.x + this.tickLength + 5 + : n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) - + this.tickLength - + 5)) + : ((q.textBlock.y = + "inside" === this.labelPlacement + ? n.y + : n.y - + q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle)), + (q.textBlock.x = + "inside" === this.labelPlacement + ? n.x + this.tickLength + 5 + : 0 < this.labelAngle + ? n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) - + this.tickLength - + 5 + : n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + + (q.textBlock.height - q.textBlock.fontSize / 2 - 5) * + Math.sin((Math.PI / 180) * this.labelAngle) - + this.tickLength))); + "inside" === this.labelPlacement && + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (h = 0; h < a._labels.length; h++) + if ( + ((q = a._labels[h]), + !( + q.position < a.viewportMinimum || + q.position > a.viewportMaximum || + (d && 0 !== g++ % 2 && a.labelAutoFit) + ) && + ((n = a.getPixelCoordinatesOnAxis(q.position)), + a.tickThickness)) + ) { + a.ctx.lineWidth = a.tickThickness; + a.ctx.strokeStyle = a.tickColor; + var b = + 1 === a.ctx.lineWidth % 2 ? (n.y << 0) + 0.5 : n.y << 0; + a.ctx.save(); + a.ctx.beginPath(); + a.ctx.moveTo(n.x << 0, b); + a.ctx.lineTo((n.x + a.tickLength) << 0, b); + a.ctx.stroke(); + a.ctx.restore(); + } + }, + this + ); + this.title && + (this._titleTextBlock.measureText(), + (this._titleTextBlock.x = this.bounds.x1 + 1), + (this._titleTextBlock.y = + this.lineCoordinates.height / 2 + + this._titleTextBlock.width / 2 + + this.lineCoordinates.y1), + (this.titleMaxWidth = this._titleTextBlock.maxWidth), + this._titleTextBlock.render(!0)); + } else if ("right" === this._position) { + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + q.position > this.viewportMaximum || + (d && 0 !== g++ % 2 && this.labelAutoFit) || + ((n = this.getPixelCoordinatesOnAxis(q.position)), + this.tickThickness && + "inside" != this.labelPlacement && + ((this.ctx.lineWidth = this.tickThickness), + (this.ctx.strokeStyle = this.tickColor), + (c = + 1 === this.ctx.lineWidth % 2 ? (n.y << 0) + 0.5 : n.y << 0), + this.ctx.beginPath(), + this.ctx.moveTo(n.x << 0, c), + this.ctx.lineTo((n.x + this.tickLength) << 0, c), + this.ctx.stroke()), + 0 === this.labelAngle + ? ((q.textBlock.y = n.y), + (q.textBlock.x = + "inside" === this.labelPlacement + ? n.x - q.textBlock.width - this.tickLength - 5 + : n.x + this.tickLength + 5)) + : ((q.textBlock.y = + "inside" === this.labelPlacement + ? n.y - + q.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) + : 0 > this.labelAngle + ? n.y + : n.y - + (q.textBlock.height - q.textBlock.fontSize / 2 - 5) * + Math.cos((Math.PI / 180) * this.labelAngle)), + (q.textBlock.x = + "inside" === this.labelPlacement + ? n.x - + q.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) - + this.tickLength - + 5 + : 0 < this.labelAngle + ? n.x + + (q.textBlock.height - q.textBlock.fontSize / 2 - 5) * + Math.sin((Math.PI / 180) * this.labelAngle) + + this.tickLength + : n.x + this.tickLength + 5))); + "inside" === this.labelPlacement && + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (h = 0; h < a._labels.length; h++) + if ( + ((q = a._labels[h]), + !( + q.position < a.viewportMinimum || + q.position > a.viewportMaximum || + (d && 0 !== g++ % 2 && a.labelAutoFit) + ) && + ((n = a.getPixelCoordinatesOnAxis(q.position)), + a.tickThickness)) + ) { + a.ctx.lineWidth = a.tickThickness; + a.ctx.strokeStyle = a.tickColor; + var b = + 1 === a.ctx.lineWidth % 2 ? (n.y << 0) + 0.5 : n.y << 0; + a.ctx.save(); + a.ctx.beginPath(); + a.ctx.moveTo(n.x << 0, b); + a.ctx.lineTo((n.x - a.tickLength) << 0, b); + a.ctx.stroke(); + a.ctx.restore(); + } + }, + this + ); + this.title && + (this._titleTextBlock.measureText(), + (this._titleTextBlock.x = this.bounds.x2 - 1), + (this._titleTextBlock.y = + this.lineCoordinates.height / 2 - + this._titleTextBlock.width / 2 + + this.lineCoordinates.y1), + (this.titleMaxWidth = this._titleTextBlock.maxWidth), + this._titleTextBlock.render(!0)); + } + g = 0; + if ("inside" === this.labelPlacement) + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (h = 0; h < a._labels.length; h++) + (q = a._labels[h]), + q.position < a.viewportMinimum || + q.position > a.viewportMaximum || + (d && 0 !== g++ % 2 && a.labelAutoFit) || + (a.ctx.save(), + a.ctx.beginPath(), + q.textBlock.render(!0), + a.ctx.restore()); + }, + this + ); + else + for (h = 0; h < this._labels.length; h++) + (q = this._labels[h]), + q.position < this.viewportMinimum || + q.position > this.viewportMaximum || + (d && 0 !== g++ % 2 && this.labelAutoFit) || + q.textBlock.render(!0); + }; + z.prototype.renderInterlacedColors = function () { + var a = this.chart.plotArea.ctx, + d, + b, + c = this.chart.plotArea, + e = 0; + d = !0; + if ( + ("bottom" === this._position || "top" === this._position) && + this.interlacedColor + ) + for ( + a.fillStyle = this.interlacedColor, e = 0; + e < this._labels.length; + e++ + ) + d + ? ((d = this.getPixelCoordinatesOnAxis(this._labels[e].position)), + (b = + e + 1 > this._labels.length - 1 + ? this.getPixelCoordinatesOnAxis(this.viewportMaximum) + : this.getPixelCoordinatesOnAxis( + this._labels[e + 1].position + )), + a.fillRect( + Math.min(b.x, d.x), + c.y1, + Math.abs(b.x - d.x), + Math.abs(c.y1 - c.y2) + ), + (d = !1)) + : (d = !0); + else if ( + ("left" === this._position || "right" === this._position) && + this.interlacedColor + ) + for ( + a.fillStyle = this.interlacedColor, e = 0; + e < this._labels.length; + e++ + ) + d + ? ((b = this.getPixelCoordinatesOnAxis(this._labels[e].position)), + (d = + e + 1 > this._labels.length - 1 + ? this.getPixelCoordinatesOnAxis(this.viewportMaximum) + : this.getPixelCoordinatesOnAxis( + this._labels[e + 1].position + )), + a.fillRect( + c.x1, + Math.min(b.y, d.y), + Math.abs(c.x1 - c.x2), + Math.abs(d.y - b.y) + ), + (d = !1)) + : (d = !0); + a.beginPath(); + }; + z.prototype.renderStripLinesOfThicknessType = function (a) { + if (this.stripLines && 0 < this.stripLines.length && a) { + for ( + var d = this, + b, + c = 0, + e = 0, + g = !1, + m = !1, + l = [], + k = [], + m = !1, + c = 0; + c < this.stripLines.length; + c++ + ) { + var h = this.stripLines[c]; + h._thicknessType === a && + (("pixel" === a && + (h.value < this.viewportMinimum || + h.value > this.viewportMaximum || + u(h.value) || + isNaN(this.range))) || + l.push(h)); + } + for (c = 0; c < this._stripLineLabels.length; c++) + if ( + ((h = this.stripLines[c]), + (b = this._stripLineLabels[c]), + !( + b.position < this.viewportMinimum || + b.position > this.viewportMaximum || + isNaN(this.range) + )) + ) { + a = this.getPixelCoordinatesOnAxis(b.position); + if ("outside" === b.stripLine.labelPlacement) + if ( + (h && + ((this.ctx.strokeStyle = h.color), + "pixel" === h._thicknessType && + (this.ctx.lineWidth = h.thickness)), + "bottom" === this._position) + ) { + var p = + 1 === this.ctx.lineWidth % 2 ? (a.x << 0) + 0.5 : a.x << 0; + this.ctx.beginPath(); + this.ctx.moveTo(p, a.y << 0); + this.ctx.lineTo(p, (a.y + this.tickLength) << 0); + this.ctx.stroke(); + 0 === this.labelAngle + ? ((a.x -= b.textBlock.width / 2), + (a.y += this.tickLength + b.textBlock.fontSize / 2)) + : ((a.x -= + 0 > this.labelAngle + ? b.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : 0), + (a.y += + this.tickLength + + Math.abs( + 0 > this.labelAngle + ? b.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) - + 5 + : 5 + ))); + } else + "top" === this._position + ? ((p = + 1 === this.ctx.lineWidth % 2 + ? (a.x << 0) + 0.5 + : a.x << 0), + this.ctx.beginPath(), + this.ctx.moveTo(p, a.y << 0), + this.ctx.lineTo(p, (a.y - this.tickLength) << 0), + this.ctx.stroke(), + 0 === this.labelAngle + ? ((a.x -= b.textBlock.width / 2), + (a.y -= this.tickLength + b.textBlock.height)) + : ((a.x += + (b.textBlock.height - + this.tickLength - + this.labelFontSize / 2) * + Math.sin((Math.PI / 180) * this.labelAngle) - + (0 < this.labelAngle + ? b.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + : 0)), + (a.y -= + this.tickLength + + (b.textBlock.height * + Math.cos((Math.PI / 180) * this.labelAngle) + + (0 < this.labelAngle + ? b.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle) + : 0))))) + : "left" === this._position + ? ((p = + 1 === this.ctx.lineWidth % 2 + ? (a.y << 0) + 0.5 + : a.y << 0), + this.ctx.beginPath(), + this.ctx.moveTo(a.x << 0, p), + this.ctx.lineTo((a.x - this.tickLength) << 0, p), + this.ctx.stroke(), + 0 === this.labelAngle + ? (a.x = + a.x - + b.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) - + this.tickLength - + 5) + : ((a.y -= + b.textBlock.width * + Math.sin((Math.PI / 180) * this.labelAngle)), + (a.x = + 0 < this.labelAngle + ? a.x - + b.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) - + this.tickLength - + 5 + : a.x - + b.textBlock.width * + Math.cos((Math.PI / 180) * this.labelAngle) + + (b.textBlock.height - + b.textBlock.fontSize / 2 - + 5) * + Math.sin((Math.PI / 180) * this.labelAngle) - + this.tickLength))) + : "right" === this._position && + ((p = + 1 === this.ctx.lineWidth % 2 + ? (a.y << 0) + 0.5 + : a.y << 0), + this.ctx.beginPath(), + this.ctx.moveTo(a.x << 0, p), + this.ctx.lineTo((a.x + this.tickLength) << 0, p), + this.ctx.stroke(), + 0 === this.labelAngle + ? (a.x = a.x + this.tickLength + 5) + : ((a.y = + 0 > this.labelAngle + ? a.y + : a.y - + (b.textBlock.height - + b.textBlock.fontSize / 2 - + 5) * + Math.cos((Math.PI / 180) * this.labelAngle)), + (a.x = + 0 < this.labelAngle + ? a.x + + (b.textBlock.height - + b.textBlock.fontSize / 2 - + 5) * + Math.sin((Math.PI / 180) * this.labelAngle) + + this.tickLength + : a.x + this.tickLength + 5))); + else + (b.textBlock.angle = -90), + "bottom" === this._position + ? ((b.textBlock.maxWidth = this.options.stripLines[c] + .labelMaxWidth + ? this.options.stripLines[c].labelMaxWidth + : this.chart.plotArea.height - 3), + b.textBlock.measureText(), + a.x - b.textBlock.height > this.chart.plotArea.x1 + ? u(h.startValue) + ? (a.x -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.x -= + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 + + 3) + : ((b.textBlock.angle = 90), + u(h.startValue) + ? (a.x += + b.textBlock.height - b.textBlock.fontSize / 2) + : (a.x += + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 + + 3)), + (a.y = + -90 === b.textBlock.angle + ? "near" === b.stripLine.labelAlign + ? this.chart.plotArea.y2 - 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.y2 + + this.chart.plotArea.y1 + + b.textBlock.width) / + 2 + : this.chart.plotArea.y1 + b.textBlock.width + 3 + : "near" === b.stripLine.labelAlign + ? this.chart.plotArea.y2 - b.textBlock.width - 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.y2 + + this.chart.plotArea.y1 - + b.textBlock.width) / + 2 + : this.chart.plotArea.y1 + 3)) + : "top" === this._position + ? ((b.textBlock.maxWidth = this.options.stripLines[c] + .labelMaxWidth + ? this.options.stripLines[c].labelMaxWidth + : this.chart.plotArea.height - 3), + b.textBlock.measureText(), + a.x - b.textBlock.height > this.chart.plotArea.x1 + ? u(h.startValue) + ? (a.x -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.x -= + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 + + 3) + : ((b.textBlock.angle = 90), + u(h.startValue) + ? (a.x += + b.textBlock.height - b.textBlock.fontSize / 2) + : (a.x += + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 + + 3)), + (a.y = + -90 === b.textBlock.angle + ? "near" === b.stripLine.labelAlign + ? this.chart.plotArea.y1 + b.textBlock.width + 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.y2 + + this.chart.plotArea.y1 + + b.textBlock.width) / + 2 + : this.chart.plotArea.y2 - 3 + : "near" === b.stripLine.labelAlign + ? this.chart.plotArea.y1 + 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.y2 + + this.chart.plotArea.y1 - + b.textBlock.width) / + 2 + : this.chart.plotArea.y2 - b.textBlock.width - 3)) + : "left" === this._position + ? ((b.textBlock.maxWidth = this.options.stripLines[c] + .labelMaxWidth + ? this.options.stripLines[c].labelMaxWidth + : this.chart.plotArea.width - 3), + (b.textBlock.angle = 0), + b.textBlock.measureText(), + a.y - b.textBlock.height > this.chart.plotArea.y1 + ? u(h.startValue) + ? (a.y -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.y -= + b.textBlock.height / 2 - b.textBlock.fontSize + 3) + : a.y - b.textBlock.height < this.chart.plotArea.y2 + ? (a.y += b.textBlock.fontSize / 2 + 3) + : u(h.startValue) + ? (a.y -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.y -= + b.textBlock.height / 2 - b.textBlock.fontSize + 3), + (a.x = + "near" === b.stripLine.labelAlign + ? this.chart.plotArea.x1 + 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.x2 + this.chart.plotArea.x1) / + 2 - + b.textBlock.width / 2 + : this.chart.plotArea.x2 - b.textBlock.width - 3)) + : "right" === this._position && + ((b.textBlock.maxWidth = this.options.stripLines[c] + .labelMaxWidth + ? this.options.stripLines[c].labelMaxWidth + : this.chart.plotArea.width - 3), + (b.textBlock.angle = 0), + b.textBlock.measureText(), + a.y - +b.textBlock.height > this.chart.plotArea.y1 + ? u(h.startValue) + ? (a.y -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.y -= + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 - + 3) + : a.y - b.textBlock.height < this.chart.plotArea.y2 + ? (a.y += b.textBlock.fontSize / 2 + 3) + : u(h.startValue) + ? (a.y -= b.textBlock.height - b.textBlock.fontSize / 2) + : (a.y -= + b.textBlock.height / 2 - + b.textBlock.fontSize / 2 + + 3), + (a.x = + "near" === b.stripLine.labelAlign + ? this.chart.plotArea.x2 - b.textBlock.width - 3 + : "center" === b.stripLine.labelAlign + ? (this.chart.plotArea.x2 + this.chart.plotArea.x1) / + 2 - + b.textBlock.width / 2 + : this.chart.plotArea.x1 + 3)); + b.textBlock.x = a.x; + b.textBlock.y = a.y; + k.push(b); + } + if (!m) { + m = !1; + this.ctx.save(); + this.ctx.beginPath(); + this.ctx.rect( + this.chart.plotArea.x1, + this.chart.plotArea.y1, + this.chart.plotArea.width, + this.chart.plotArea.height + ); + this.ctx.clip(); + for (c = 0; c < l.length; c++) + (h = l[c]), + h.showOnTop + ? g || + ((g = !0), + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + this.ctx.save(); + this.ctx.beginPath(); + this.ctx.rect( + this.chart.plotArea.x1, + this.chart.plotArea.y1, + this.chart.plotArea.width, + this.chart.plotArea.height + ); + this.ctx.clip(); + for (e = 0; e < l.length; e++) + (h = l[e]), h.showOnTop && h.render(); + this.ctx.restore(); + }, + h + )) + : h.render(); + for (c = 0; c < k.length; c++) + (b = k[c]), + b.stripLine.showOnTop + ? m || + ((m = !0), + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (e = 0; e < k.length; e++) + (b = k[e]), + "inside" === b.stripLine.labelPlacement && + b.stripLine.showOnTop && + (d.ctx.save(), + d.ctx.beginPath(), + d.ctx.rect( + d.chart.plotArea.x1, + d.chart.plotArea.y1, + d.chart.plotArea.width, + d.chart.plotArea.height + ), + d.ctx.clip(), + b.textBlock.render(!0), + d.ctx.restore()); + }, + b.textBlock + )) + : "inside" === b.stripLine.labelPlacement && + b.textBlock.render(!0); + this.ctx.restore(); + m = !0; + } + if (m) + for (m = !1, c = 0; c < k.length; c++) + (b = k[c]), + b.stripLine.showOnTop + ? m || + ((m = !0), + this.chart.addEventListener( + "dataAnimationIterationEnd", + function () { + for (e = 0; e < k.length; e++) + (b = k[e]), + "outside" === b.stripLine.labelPlacement && + b.stripLine.showOnTop && + b.textBlock.render(!0); + }, + b.textBlock + )) + : "outside" === b.stripLine.labelPlacement && + b.textBlock.render(!0); + } + }; + z.prototype.renderBreaksBackground = function () { + this.chart._breaksCanvas && + this.scaleBreaks && + 0 < this.scaleBreaks._appliedBreaks.length && + this.maskCanvas && + (this.chart._breaksCanvasCtx.save(), + this.chart._breaksCanvasCtx.beginPath(), + this.chart._breaksCanvasCtx.rect( + this.chart.plotArea.x1, + this.chart.plotArea.y1, + this.chart.plotArea.width, + this.chart.plotArea.height + ), + this.chart._breaksCanvasCtx.clip(), + this.chart._breaksCanvasCtx.drawImage( + this.maskCanvas, + 0, + 0, + this.chart.width, + this.chart.height + ), + this.chart._breaksCanvasCtx.restore()); + }; + z.prototype.createMask = function () { + if (this.scaleBreaks && 0 < this.scaleBreaks._appliedBreaks.length) { + var a = this.scaleBreaks._appliedBreaks; + r + ? ((this.maskCanvas = ta(this.chart.width, this.chart.height)), + (this.maskCtx = this.maskCanvas.getContext("2d"))) + : ((this.maskCanvas = this.chart.plotArea.canvas), + (this.maskCtx = this.chart.plotArea.ctx)); + this.maskCtx.save(); + this.maskCtx.beginPath(); + this.maskCtx.rect( + this.chart.plotArea.x1, + this.chart.plotArea.y1, + this.chart.plotArea.width, + this.chart.plotArea.height + ); + this.maskCtx.clip(); + for (var d = 0; d < a.length; d++) + a[d].endValue < this.viewportMinimum || + a[d].startValue > this.viewportMaximum || + isNaN(this.range) || + a[d].render(this.maskCtx); + this.maskCtx.restore(); + } + }; + z.prototype.renderCrosshair = function (a, d) { + this.crosshair.render(a, d); + }; + z.prototype.renderGrid = function () { + if (this.gridThickness && 0 < this.gridThickness) { + var a = this.chart.ctx; + a.save(); + var d, + b = this.chart.plotArea; + a.lineWidth = this.gridThickness; + a.strokeStyle = this.gridColor; + a.setLineDash && + a.setLineDash(R(this.gridDashType, this.gridThickness)); + if ("bottom" === this._position || "top" === this._position) + for (c = 0; c < this._labels.length; c++) + this._labels[c].position < this.viewportMinimum || + this._labels[c].position > this.viewportMaximum || + this._labels[c].breaksLabelType || + (a.beginPath(), + (d = this.getPixelCoordinatesOnAxis(this._labels[c].position)), + (d = 1 === a.lineWidth % 2 ? (d.x << 0) + 0.5 : d.x << 0), + a.moveTo(d, b.y1 << 0), + a.lineTo(d, b.y2 << 0), + a.stroke()); + else if ("left" === this._position || "right" === this._position) + for (var c = 0; c < this._labels.length; c++) + this._labels[c].position < this.viewportMinimum || + this._labels[c].position > this.viewportMaximum || + this._labels[c].breaksLabelType || + (a.beginPath(), + (d = this.getPixelCoordinatesOnAxis(this._labels[c].position)), + (d = 1 === a.lineWidth % 2 ? (d.y << 0) + 0.5 : d.y << 0), + a.moveTo(b.x1 << 0, d), + a.lineTo(b.x2 << 0, d), + a.stroke()); + a.restore(); + } + }; + z.prototype.renderAxisLine = function () { + var a = this.chart.ctx, + d = r ? this.chart._preRenderCtx : a, + b = Math.ceil(this.tickThickness / (this.reversed ? -2 : 2)), + c = Math.ceil(this.tickThickness / (this.reversed ? 2 : -2)), + e, + g; + d.save(); + if ("bottom" === this._position || "top" === this._position) { + if (this.lineThickness) { + this.reversed + ? ((e = this.lineCoordinates.x2), (g = this.lineCoordinates.x1)) + : ((e = this.lineCoordinates.x1), (g = this.lineCoordinates.x2)); + d.lineWidth = this.lineThickness; + d.strokeStyle = this.lineColor ? this.lineColor : "black"; + d.setLineDash && + d.setLineDash(R(this.lineDashType, this.lineThickness)); + var m = + 1 === this.lineThickness % 2 + ? (this.lineCoordinates.y1 << 0) + 0.5 + : this.lineCoordinates.y1 << 0; + d.beginPath(); + if (this.scaleBreaks && !u(this.scaleBreaks.firstBreakIndex)) + if (u(this.scaleBreaks.lastBreakIndex)) + e = + this.scaleBreaks._appliedBreaks[ + this.scaleBreaks.firstBreakIndex + ].endPixel + c; + else + for ( + var l = this.scaleBreaks.firstBreakIndex; + l <= this.scaleBreaks.lastBreakIndex; + l++ + ) + d.moveTo(e, m), + d.lineTo( + this.scaleBreaks._appliedBreaks[l].startPixel + b, + m + ), + (e = this.scaleBreaks._appliedBreaks[l].endPixel + c); + e && (d.moveTo(e, m), d.lineTo(g, m)); + d.stroke(); + } + } else if ( + ("left" === this._position || "right" === this._position) && + this.lineThickness + ) { + this.reversed + ? ((e = this.lineCoordinates.y1), (g = this.lineCoordinates.y2)) + : ((e = this.lineCoordinates.y2), (g = this.lineCoordinates.y1)); + d.lineWidth = this.lineThickness; + d.strokeStyle = this.lineColor; + d.setLineDash && + d.setLineDash(R(this.lineDashType, this.lineThickness)); + m = + 1 === this.lineThickness % 2 + ? (this.lineCoordinates.x1 << 0) + 0.5 + : this.lineCoordinates.x1 << 0; + d.beginPath(); + if (this.scaleBreaks && !u(this.scaleBreaks.firstBreakIndex)) + if (u(this.scaleBreaks.lastBreakIndex)) + e = + this.scaleBreaks._appliedBreaks[this.scaleBreaks.firstBreakIndex] + .endPixel + b; + else + for ( + l = this.scaleBreaks.firstBreakIndex; + l <= this.scaleBreaks.lastBreakIndex; + l++ + ) + d.moveTo(m, e), + d.lineTo(m, this.scaleBreaks._appliedBreaks[l].startPixel + c), + (e = this.scaleBreaks._appliedBreaks[l].endPixel + b); + e && (d.moveTo(m, e), d.lineTo(m, g)); + d.stroke(); + } + r && + (a.drawImage( + this.chart._preRenderCanvas, + 0, + 0, + this.chart.width, + this.chart.height + ), + this.chart._breaksCanvasCtx && + this.chart._breaksCanvasCtx.drawImage( + this.chart._preRenderCanvas, + 0, + 0, + this.chart.width, + this.chart.height + ), + d.clearRect(0, 0, this.chart.width, this.chart.height)); + d.restore(); + }; + z.prototype.getPixelCoordinatesOnAxis = function (a) { + var d = {}; + if ("bottom" === this._position || "top" === this._position) + (d.x = this.convertValueToPixel(a)), (d.y = this.lineCoordinates.y1); + if ("left" === this._position || "right" === this._position) + (d.y = this.convertValueToPixel(a)), (d.x = this.lineCoordinates.x2); + return d; + }; + z.prototype.convertPixelToValue = function (a) { + if ("undefined" === typeof a) return null; + var d = 0, + b = 0, + c, + d = !0, + e = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : [], + b = + "number" === typeof a + ? a + : "left" === this._position || "right" === this._position + ? a.y + : a.x; + if (this.logarithmic) { + a = c = Math.pow( + this.logarithmBase, + (b - this.conversionParameters.reference) / + this.conversionParameters.pixelPerUnit + ); + if ( + (b <= this.conversionParameters.reference === + ("left" === this._position || "right" === this._position)) !== + this.reversed + ) + for (b = 0; b < e.length; b++) { + if (!(e[b].endValue < this.conversionParameters.minimum)) + if (d) + if (e[b].startValue < this.conversionParameters.minimum) { + if ( + 1 < e[b].size && + this.conversionParameters.minimum * + Math.pow( + e[b].endValue / e[b].startValue, + Math.log(c) / Math.log(e[b].size) + ) < + e[b].endValue + ) { + a = Math.pow( + e[b].endValue / e[b].startValue, + Math.log(c) / Math.log(e[b].size) + ); + break; + } else + (a *= + e[b].endValue / + this.conversionParameters.minimum / + Math.pow( + e[b].size, + Math.log( + e[b].endValue / this.conversionParameters.minimum + ) / Math.log(e[b].endValue / e[b].startValue) + )), + (c /= Math.pow( + e[b].size, + Math.log( + e[b].endValue / this.conversionParameters.minimum + ) / Math.log(e[b].endValue / e[b].startValue) + )); + d = !1; + } else if ( + c > + e[b].startValue / this.conversionParameters.minimum + ) { + c /= e[b].startValue / this.conversionParameters.minimum; + if (c < e[b].size) { + a *= + Math.pow( + e[b].endValue / e[b].startValue, + 1 === e[b].size ? 1 : Math.log(c) / Math.log(e[b].size) + ) / c; + break; + } else a *= e[b].endValue / e[b].startValue / e[b].size; + c /= e[b].size; + d = !1; + } else break; + else if (c > e[b].startValue / e[b - 1].endValue) { + c /= e[b].startValue / e[b - 1].endValue; + if (c < e[b].size) { + a *= + Math.pow( + e[b].endValue / e[b].startValue, + 1 === e[b].size ? 1 : Math.log(c) / Math.log(e[b].size) + ) / c; + break; + } else a *= e[b].endValue / e[b].startValue / e[b].size; + c /= e[b].size; + } else break; + } + else + for (b = e.length - 1; 0 <= b; b--) + if (!(e[b].startValue > this.conversionParameters.minimum)) + if (d) + if (e[b].endValue > this.conversionParameters.minimum) { + if ( + 1 < e[b].size && + this.conversionParameters.minimum * + Math.pow( + e[b].endValue / e[b].startValue, + Math.log(c) / Math.log(e[b].size) + ) > + e[b].startValue + ) { + a = Math.pow( + e[b].endValue / e[b].startValue, + Math.log(c) / Math.log(e[b].size) + ); + break; + } else + (a *= + (e[b].startValue / this.conversionParameters.minimum) * + Math.pow( + e[b].size, + Math.log( + e[b].startValue / this.conversionParameters.minimum + ) / Math.log(e[b].endValue / e[b].startValue) + ) * + c), + (c *= Math.pow( + e[b].size, + Math.log( + this.conversionParameters.minimum / e[b].startValue + ) / Math.log(e[b].endValue / e[b].startValue) + )); + d = !1; + } else if ( + c < + e[b].endValue / this.conversionParameters.minimum + ) { + c /= e[b].endValue / this.conversionParameters.minimum; + if (c > 1 / e[b].size) { + a *= + Math.pow( + e[b].endValue / e[b].startValue, + 1 >= e[b].size ? 1 : Math.log(c) / Math.log(e[b].size) + ) * c; + break; + } else a /= e[b].endValue / e[b].startValue / e[b].size; + c *= e[b].size; + d = !1; + } else break; + else if (c < e[b].endValue / e[b + 1].startValue) { + c /= e[b].endValue / e[b + 1].startValue; + if (c > 1 / e[b].size) { + a *= + Math.pow( + e[b].endValue / e[b].startValue, + 1 >= e[b].size ? 1 : Math.log(c) / Math.log(e[b].size) + ) * c; + break; + } else a /= e[b].endValue / e[b].startValue / e[b].size; + c *= e[b].size; + } else break; + d = a * this.viewportMinimum; + } else { + a = c = + (b - this.conversionParameters.reference) / + this.conversionParameters.pixelPerUnit; + if ( + (b <= this.conversionParameters.reference === + ("left" === this._position || "right" === this._position)) !== + this.reversed + ) + for (b = 0; b < e.length; b++) { + if (!(e[b].endValue < this.conversionParameters.minimum)) + if (d) + if (e[b].startValue < this.conversionParameters.minimum) { + if ( + e[b].size && + this.conversionParameters.minimum + + (c * (e[b].endValue - e[b].startValue)) / e[b].size < + e[b].endValue + ) { + a = + 0 >= e[b].size + ? 0 + : (c * (e[b].endValue - e[b].startValue)) / e[b].size; + break; + } else + (a += + e[b].endValue - + this.conversionParameters.minimum - + (e[b].size * + (e[b].endValue - this.conversionParameters.minimum)) / + (e[b].endValue - e[b].startValue)), + (c -= + (e[b].size * + (e[b].endValue - this.conversionParameters.minimum)) / + (e[b].endValue - e[b].startValue)); + d = !1; + } else if ( + c > + e[b].startValue - this.conversionParameters.minimum + ) { + c -= e[b].startValue - this.conversionParameters.minimum; + if (c < e[b].size) { + a += + (e[b].endValue - e[b].startValue) * + (0 === e[b].size ? 1 : c / e[b].size) - + c; + break; + } else a += e[b].endValue - e[b].startValue - e[b].size; + c -= e[b].size; + d = !1; + } else break; + else if (c > e[b].startValue - e[b - 1].endValue) { + c -= e[b].startValue - e[b - 1].endValue; + if (c < e[b].size) { + a += + (e[b].endValue - e[b].startValue) * + (0 === e[b].size ? 1 : c / e[b].size) - + c; + break; + } else a += e[b].endValue - e[b].startValue - e[b].size; + c -= e[b].size; + } else break; + } + else + for (b = e.length - 1; 0 <= b; b--) + if (!(e[b].startValue > this.conversionParameters.minimum)) + if (d) + if (e[b].endValue > this.conversionParameters.minimum) + if ( + e[b].size && + this.conversionParameters.minimum + + (c * (e[b].endValue - e[b].startValue)) / e[b].size > + e[b].startValue + ) { + a = + 0 >= e[b].size + ? 0 + : (c * (e[b].endValue - e[b].startValue)) / e[b].size; + break; + } else + (a += + e[b].startValue - + this.conversionParameters.minimum + + (e[b].size * + (this.conversionParameters.minimum - e[b].startValue)) / + (e[b].endValue - e[b].startValue)), + (c += + (e[b].size * + (this.conversionParameters.minimum - + e[b].startValue)) / + (e[b].endValue - e[b].startValue)), + (d = !1); + else if ( + c < + e[b].endValue - this.conversionParameters.minimum + ) { + c -= e[b].endValue - this.conversionParameters.minimum; + if (c > -1 * e[b].size) { + a += + (e[b].endValue - e[b].startValue) * + (0 === e[b].size ? 1 : c / e[b].size) + + c; + break; + } else a -= e[b].endValue - e[b].startValue - e[b].size; + c += e[b].size; + d = !1; + } else break; + else if (c < e[b].endValue - e[b + 1].startValue) { + c -= e[b].endValue - e[b + 1].startValue; + if (c > -1 * e[b].size) { + a += + (e[b].endValue - e[b].startValue) * + (0 === e[b].size ? 1 : c / e[b].size) + + c; + break; + } else a -= e[b].endValue - e[b].startValue - e[b].size; + c += e[b].size; + } else break; + d = this.conversionParameters.minimum + a; + } + return d; + }; + z.prototype.convertValueToPixel = function (a) { + a = this.getApparentDifference(this.conversionParameters.minimum, a, a); + return this.logarithmic + ? (this.conversionParameters.reference + + (this.conversionParameters.pixelPerUnit * + Math.log(a / this.conversionParameters.minimum)) / + this.conversionParameters.lnLogarithmBase + + 0.5) << + 0 + : "axisX" === this.type + ? (this.conversionParameters.reference + + this.conversionParameters.pixelPerUnit * + (a - this.conversionParameters.minimum) + + 0.5) << + 0 + : this.conversionParameters.reference + + this.conversionParameters.pixelPerUnit * + (a - this.conversionParameters.minimum) + + 0.5; + }; + z.prototype.getApparentDifference = function (a, d, b, c) { + var e = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : []; + if (this.logarithmic) { + b = u(b) ? d / a : b; + for (var g = 0; g < e.length && !(d < e[g].startValue); g++) + a > e[g].endValue || + (a <= e[g].startValue && d >= e[g].endValue + ? (b = (b / e[g].endValue) * e[g].startValue * e[g].size) + : a >= e[g].startValue && d >= e[g].endValue + ? (b = + (b / e[g].endValue) * + a * + Math.pow( + e[g].size, + Math.log(e[g].endValue / a) / + Math.log(e[g].endValue / e[g].startValue) + )) + : a <= e[g].startValue && d <= e[g].endValue + ? (b = + (b / d) * + e[g].startValue * + Math.pow( + e[g].size, + Math.log(d / e[g].startValue) / + Math.log(e[g].endValue / e[g].startValue) + )) + : !c && + a > e[g].startValue && + d < e[g].endValue && + (b = + a * + Math.pow( + e[g].size, + Math.log(d / a) / Math.log(e[g].endValue / e[g].startValue) + ))); + } else + for ( + b = u(b) ? Math.abs(d - a) : b, g = 0; + g < e.length && !(d < e[g].startValue); + g++ + ) + a > e[g].endValue || + (a <= e[g].startValue && d >= e[g].endValue + ? (b = b - e[g].endValue + e[g].startValue + e[g].size) + : a > e[g].startValue && d >= e[g].endValue + ? (b = + b - + e[g].endValue + + a + + (e[g].size * (e[g].endValue - a)) / + (e[g].endValue - e[g].startValue)) + : a <= e[g].startValue && d < e[g].endValue + ? (b = + b - + d + + e[g].startValue + + (e[g].size * (d - e[g].startValue)) / + (e[g].endValue - e[g].startValue)) + : !c && + a > e[g].startValue && + d < e[g].endValue && + (b = + a + + (e[g].size * (d - a)) / (e[g].endValue - e[g].startValue))); + return b; + }; + z.prototype.setViewPortRange = function (a, d) { + this.sessionVariables.newViewportMinimum = this.viewportMinimum = + Math.min(a, d); + this.sessionVariables.newViewportMaximum = this.viewportMaximum = + Math.max(a, d); + }; + z.prototype.getXValueAt = function (a) { + if (!a) return null; + var d = null; + "left" === this._position + ? (d = this.convertPixelToValue(a.y)) + : "bottom" === this._position && (d = this.convertPixelToValue(a.x)); + return d; + }; + z.prototype.calculateValueToPixelConversionParameters = function (a) { + a = this.scaleBreaks ? this.scaleBreaks._appliedBreaks : []; + var d = { pixelPerUnit: null, minimum: null, reference: null }, + b = this.lineCoordinates.width, + c = this.lineCoordinates.height, + b = "bottom" === this._position || "top" === this._position ? b : c, + c = Math.abs(this.range); + if (this.logarithmic) + for ( + var e = 0; + e < a.length && !(this.viewportMaximum < a[e].startValue); + e++ + ) + this.viewportMinimum > a[e].endValue || + (this.viewportMinimum >= a[e].startValue && + this.viewportMaximum <= a[e].endValue + ? (b = 0) + : this.viewportMinimum <= a[e].startValue && + this.viewportMaximum >= a[e].endValue + ? ((c = (c / a[e].endValue) * a[e].startValue), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * (1 - parseFloat(a[e].spacing) / 100) + : b - Math.min(a[e].spacing, 0.1 * b))) + : this.viewportMinimum > a[e].startValue && + this.viewportMaximum >= a[e].endValue + ? ((c = (c / a[e].endValue) * this.viewportMinimum), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * + (1 - + ((parseFloat(a[e].spacing) / 100) * + Math.log(a[e].endValue / this.viewportMinimum)) / + Math.log(a[e].endValue / a[e].startValue)) + : b - + (Math.min(a[e].spacing, 0.1 * b) * + Math.log(a[e].endValue / this.viewportMinimum)) / + Math.log(a[e].endValue / a[e].startValue))) + : this.viewportMinimum <= a[e].startValue && + this.viewportMaximum < a[e].endValue && + ((c = (c / this.viewportMaximum) * a[e].startValue), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * + (1 - + ((parseFloat(a[e].spacing) / 100) * + Math.log(this.viewportMaximum / a[e].startValue)) / + Math.log(a[e].endValue / a[e].startValue)) + : b - + (Math.min(a[e].spacing, 0.1 * b) * + Math.log(this.viewportMaximum / a[e].startValue)) / + Math.log(a[e].endValue / a[e].startValue)))); + else + for ( + e = 0; + e < a.length && !(this.viewportMaximum < a[e].startValue); + e++ + ) + this.viewportMinimum > a[e].endValue || + (this.viewportMinimum >= a[e].startValue && + this.viewportMaximum <= a[e].endValue + ? (b = 0) + : this.viewportMinimum <= a[e].startValue && + this.viewportMaximum >= a[e].endValue + ? ((c = c - a[e].endValue + a[e].startValue), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * (1 - parseFloat(a[e].spacing) / 100) + : b - Math.min(a[e].spacing, 0.1 * b))) + : this.viewportMinimum > a[e].startValue && + this.viewportMaximum >= a[e].endValue + ? ((c = c - a[e].endValue + this.viewportMinimum), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * + (1 - + ((parseFloat(a[e].spacing) / 100) * + (a[e].endValue - this.viewportMinimum)) / + (a[e].endValue - a[e].startValue)) + : b - + (Math.min(a[e].spacing, 0.1 * b) * + (a[e].endValue - this.viewportMinimum)) / + (a[e].endValue - a[e].startValue))) + : this.viewportMinimum <= a[e].startValue && + this.viewportMaximum < a[e].endValue && + ((c = c - this.viewportMaximum + a[e].startValue), + (b = + 0 < a[e].spacing.toString().indexOf("%") + ? b * + (1 - + ((parseFloat(a[e].spacing) / 100) * + (this.viewportMaximum - a[e].startValue)) / + (a[e].endValue - a[e].startValue)) + : b - + (Math.min(a[e].spacing, 0.1 * b) * + (this.viewportMaximum - a[e].startValue)) / + (a[e].endValue - a[e].startValue)))); + d.minimum = this.viewportMinimum; + d.maximum = this.viewportMaximum; + d.range = c; + if ("bottom" === this._position || "top" === this._position) + this.logarithmic + ? ((d.lnLogarithmBase = Math.log(this.logarithmBase)), + (d.pixelPerUnit = + ((this.reversed ? -1 : 1) * b * d.lnLogarithmBase) / + Math.log(Math.abs(c)))) + : (d.pixelPerUnit = ((this.reversed ? -1 : 1) * b) / Math.abs(c)), + (d.reference = this.reversed + ? this.lineCoordinates.x2 + : this.lineCoordinates.x1); + if ("left" === this._position || "right" === this._position) + this.logarithmic + ? ((d.lnLogarithmBase = Math.log(this.logarithmBase)), + (d.pixelPerUnit = + ((this.reversed ? 1 : -1) * b * d.lnLogarithmBase) / + Math.log(Math.abs(c)))) + : (d.pixelPerUnit = ((this.reversed ? 1 : -1) * b) / Math.abs(c)), + (d.reference = this.reversed + ? this.lineCoordinates.y1 + : this.lineCoordinates.y2); + this.conversionParameters = d; + }; + z.prototype.calculateAxisParameters = function () { + if (this.logarithmic) this.calculateLogarithmicAxisParameters(); + else { + var a = this.chart.layoutManager.getFreeSpace(), + d = !1, + b = !1; + "bottom" === this._position || "top" === this._position + ? ((this.maxWidth = a.width), (this.maxHeight = a.height)) + : ((this.maxWidth = a.height), (this.maxHeight = a.width)); + var a = + "axisX" === this.type + ? "xySwapped" === this.chart.plotInfo.axisPlacement + ? 62 + : 70 + : "xySwapped" === this.chart.plotInfo.axisPlacement + ? 50 + : 40, + c = 4; + "axisX" === this.type && (c = 600 > this.maxWidth ? 8 : 6); + var a = Math.max(c, Math.floor(this.maxWidth / a)), + e, + g, + m, + c = 0; + !u(this.options.viewportMinimum) && + !u(this.options.viewportMaximum) && + this.options.viewportMinimum >= this.options.viewportMaximum && + (this.viewportMinimum = this.viewportMaximum = null); + if ( + u(this.options.viewportMinimum) && + !u(this.sessionVariables.newViewportMinimum) && + !isNaN(this.sessionVariables.newViewportMinimum) + ) + this.viewportMinimum = this.sessionVariables.newViewportMinimum; + else if (null === this.viewportMinimum || isNaN(this.viewportMinimum)) + this.viewportMinimum = this.minimum; + if ( + u(this.options.viewportMaximum) && + !u(this.sessionVariables.newViewportMaximum) && + !isNaN(this.sessionVariables.newViewportMaximum) + ) + this.viewportMaximum = this.sessionVariables.newViewportMaximum; + else if (null === this.viewportMaximum || isNaN(this.viewportMaximum)) + this.viewportMaximum = this.maximum; + if (this.scaleBreaks) + for (c = 0; c < this.scaleBreaks._appliedBreaks.length; c++) + if ( + ((!u(this.sessionVariables.newViewportMinimum) && + this.sessionVariables.newViewportMinimum >= + this.scaleBreaks._appliedBreaks[c].startValue) || + (!u(this.options.minimum) && + this.options.minimum >= + this.scaleBreaks._appliedBreaks[c].startValue) || + (!u(this.options.viewportMinimum) && + this.viewportMinimum >= + this.scaleBreaks._appliedBreaks[c].startValue)) && + ((!u(this.sessionVariables.newViewportMaximum) && + this.sessionVariables.newViewportMaximum <= + this.scaleBreaks._appliedBreaks[c].endValue) || + (!u(this.options.maximum) && + this.options.maximum <= + this.scaleBreaks._appliedBreaks[c].endValue) || + (!u(this.options.viewportMaximum) && + this.viewportMaximum <= + this.scaleBreaks._appliedBreaks[c].endValue)) + ) { + this.scaleBreaks._appliedBreaks.splice(c, 1); + break; + } + if ("axisX" === this.type) { + if (this.dataSeries && 0 < this.dataSeries.length) + for (e = 0; e < this.dataSeries.length; e++) + "dateTime" === this.dataSeries[e].xValueType && (b = !0); + e = + null !== this.viewportMinimum + ? this.viewportMinimum + : this.dataInfo.viewPortMin; + g = + null !== this.viewportMaximum + ? this.viewportMaximum + : this.dataInfo.viewPortMax; + 0 === g - e && + ((c = + "undefined" === typeof this.options.interval + ? 0.4 + : this.options.interval), + (g += c), + (e -= c)); + Infinity !== this.dataInfo.minDiff + ? (m = this.dataInfo.minDiff) + : 1 < g - e + ? (m = 0.5 * Math.abs(g - e)) + : ((m = 1), b && (d = !0)); + } else + "axisY" === this.type && + ((e = + null !== this.viewportMinimum + ? this.viewportMinimum + : this.dataInfo.viewPortMin), + (g = + null !== this.viewportMaximum + ? this.viewportMaximum + : this.dataInfo.viewPortMax), + isFinite(e) || isFinite(g) + ? isFinite(e) + ? isFinite(g) || (g = e) + : (e = g) + : ((g = + "undefined" === typeof this.options.interval + ? -Infinity + : this.options.interval), + (e = + "undefined" !== typeof this.options.interval || + isFinite(this.dataInfo.minDiff) + ? 0 + : Infinity)), + 0 === e && 0 === g + ? ((g += 9), (e = 0)) + : 0 === g - e + ? ((c = Math.min(Math.abs(0.01 * Math.abs(g)), 5)), + (g += c), + (e -= c)) + : e > g + ? ((c = Math.min( + 0.01 * Math.abs(this.getApparentDifference(g, e, null, !0)), + 5 + )), + 0 <= g ? (e = g - c) : (g = isFinite(e) ? e + c : 0)) + : ((c = Math.min( + 0.01 * Math.abs(this.getApparentDifference(e, g, null, !0)), + 0.05 + )), + 0 !== g && (g += c), + 0 !== e && (e -= c)), + (m = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : 1 < g - e + ? 0.5 * Math.abs(g - e) + : 1), + this.includeZero && + (null === this.viewportMinimum || isNaN(this.viewportMinimum)) && + 0 < e && + (e = 0), + this.includeZero && + (null === this.viewportMaximum || isNaN(this.viewportMaximum)) && + 0 > g && + (g = 0)); + c = this.getApparentDifference( + isNaN(this.viewportMinimum) || null === this.viewportMinimum + ? e + : this.viewportMinimum, + isNaN(this.viewportMaximum) || null === this.viewportMaximum + ? g + : this.viewportMaximum, + null, + !0 + ); + if ("axisX" === this.type && b) { + this.intervalType || + (c / 1 <= a + ? ((this.interval = 1), (this.intervalType = "millisecond")) + : c / 2 <= a + ? ((this.interval = 2), (this.intervalType = "millisecond")) + : c / 5 <= a + ? ((this.interval = 5), (this.intervalType = "millisecond")) + : c / 10 <= a + ? ((this.interval = 10), (this.intervalType = "millisecond")) + : c / 20 <= a + ? ((this.interval = 20), (this.intervalType = "millisecond")) + : c / 50 <= a + ? ((this.interval = 50), (this.intervalType = "millisecond")) + : c / 100 <= a + ? ((this.interval = 100), (this.intervalType = "millisecond")) + : c / 200 <= a + ? ((this.interval = 200), (this.intervalType = "millisecond")) + : c / 250 <= a + ? ((this.interval = 250), (this.intervalType = "millisecond")) + : c / 300 <= a + ? ((this.interval = 300), (this.intervalType = "millisecond")) + : c / 400 <= a + ? ((this.interval = 400), (this.intervalType = "millisecond")) + : c / 500 <= a + ? ((this.interval = 500), (this.intervalType = "millisecond")) + : c / (1 * S.secondDuration) <= a + ? ((this.interval = 1), (this.intervalType = "second")) + : c / (2 * S.secondDuration) <= a + ? ((this.interval = 2), (this.intervalType = "second")) + : c / (5 * S.secondDuration) <= a + ? ((this.interval = 5), (this.intervalType = "second")) + : c / (10 * S.secondDuration) <= a + ? ((this.interval = 10), (this.intervalType = "second")) + : c / (15 * S.secondDuration) <= a + ? ((this.interval = 15), (this.intervalType = "second")) + : c / (20 * S.secondDuration) <= a + ? ((this.interval = 20), (this.intervalType = "second")) + : c / (30 * S.secondDuration) <= a + ? ((this.interval = 30), (this.intervalType = "second")) + : c / (1 * S.minuteDuration) <= a + ? ((this.interval = 1), (this.intervalType = "minute")) + : c / (2 * S.minuteDuration) <= a + ? ((this.interval = 2), (this.intervalType = "minute")) + : c / (5 * S.minuteDuration) <= a + ? ((this.interval = 5), (this.intervalType = "minute")) + : c / (10 * S.minuteDuration) <= a + ? ((this.interval = 10), (this.intervalType = "minute")) + : c / (15 * S.minuteDuration) <= a + ? ((this.interval = 15), (this.intervalType = "minute")) + : c / (20 * S.minuteDuration) <= a + ? ((this.interval = 20), (this.intervalType = "minute")) + : c / (30 * S.minuteDuration) <= a + ? ((this.interval = 30), (this.intervalType = "minute")) + : c / (1 * S.hourDuration) <= a + ? ((this.interval = 1), (this.intervalType = "hour")) + : c / (2 * S.hourDuration) <= a + ? ((this.interval = 2), (this.intervalType = "hour")) + : c / (3 * S.hourDuration) <= a + ? ((this.interval = 3), (this.intervalType = "hour")) + : c / (6 * S.hourDuration) <= a + ? ((this.interval = 6), (this.intervalType = "hour")) + : c / (1 * S.dayDuration) <= a + ? ((this.interval = 1), (this.intervalType = "day")) + : c / (2 * S.dayDuration) <= a + ? ((this.interval = 2), (this.intervalType = "day")) + : c / (4 * S.dayDuration) <= a + ? ((this.interval = 4), (this.intervalType = "day")) + : c / (1 * S.weekDuration) <= a + ? ((this.interval = 1), (this.intervalType = "week")) + : c / (2 * S.weekDuration) <= a + ? ((this.interval = 2), (this.intervalType = "week")) + : c / (3 * S.weekDuration) <= a + ? ((this.interval = 3), (this.intervalType = "week")) + : c / (1 * S.monthDuration) <= a + ? ((this.interval = 1), (this.intervalType = "month")) + : c / (2 * S.monthDuration) <= a + ? ((this.interval = 2), (this.intervalType = "month")) + : c / (3 * S.monthDuration) <= a + ? ((this.interval = 3), (this.intervalType = "month")) + : c / (6 * S.monthDuration) <= a + ? ((this.interval = 6), (this.intervalType = "month")) + : ((this.interval = + c / (1 * S.yearDuration) <= a + ? 1 + : c / (2 * S.yearDuration) <= a + ? 2 + : c / (4 * S.yearDuration) <= a + ? 4 + : Math.floor( + z.getNiceNumber(c / (a - 1), !0) / S.yearDuration + )), + (this.intervalType = "year"))); + if (null === this.viewportMinimum || isNaN(this.viewportMinimum)) + this.viewportMinimum = e - m / 2; + if (null === this.viewportMaximum || isNaN(this.viewportMaximum)) + this.viewportMaximum = g + m / 2; + d + ? (this.autoValueFormatString = "MMM DD YYYY HH:mm") + : "year" === this.intervalType + ? (this.autoValueFormatString = "YYYY") + : "month" === this.intervalType + ? (this.autoValueFormatString = "MMM YYYY") + : "week" === this.intervalType + ? (this.autoValueFormatString = "MMM DD YYYY") + : "day" === this.intervalType + ? (this.autoValueFormatString = "MMM DD YYYY") + : "hour" === this.intervalType + ? (this.autoValueFormatString = "hh:mm TT") + : "minute" === this.intervalType + ? (this.autoValueFormatString = "hh:mm TT") + : "second" === this.intervalType + ? (this.autoValueFormatString = "hh:mm:ss TT") + : "millisecond" === this.intervalType && + (this.autoValueFormatString = "fff'ms'"); + this.valueFormatString || + (this.valueFormatString = this.autoValueFormatString); + } else { + this.intervalType = "number"; + c = z.getNiceNumber(c, !1); + this.interval = + this.options && 0 < this.options.interval + ? this.options.interval + : z.getNiceNumber(c / (a - 1), !0); + if (null === this.viewportMinimum || isNaN(this.viewportMinimum)) + this.viewportMinimum = + "axisX" === this.type + ? e - m / 2 + : Math.floor(e / this.interval) * this.interval; + if (null === this.viewportMaximum || isNaN(this.viewportMaximum)) + this.viewportMaximum = + "axisX" === this.type + ? g + m / 2 + : Math.ceil(g / this.interval) * this.interval; + 0 === this.viewportMaximum && + 0 === this.viewportMinimum && + (0 === this.options.viewportMinimum + ? (this.viewportMaximum += 10) + : 0 === this.options.viewportMaximum && + (this.viewportMinimum -= 10), + this.options && + "undefined" === typeof this.options.interval && + (this.interval = z.getNiceNumber( + (this.viewportMaximum - this.viewportMinimum) / (a - 1), + !0 + ))); + } + if (null === this.minimum || null === this.maximum) + if ( + ("axisX" === this.type + ? ((e = null !== this.minimum ? this.minimum : this.dataInfo.min), + (g = null !== this.maximum ? this.maximum : this.dataInfo.max), + 0 === g - e && + ((c = + "undefined" === typeof this.options.interval + ? 0.4 + : this.options.interval), + (g += c), + (e -= c)), + (m = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : 1 < g - e + ? 0.5 * Math.abs(g - e) + : 1)) + : "axisY" === this.type && + ((e = null !== this.minimum ? this.minimum : this.dataInfo.min), + (g = null !== this.maximum ? this.maximum : this.dataInfo.max), + isFinite(e) || isFinite(g) + ? 0 === e && 0 === g + ? ((g += 9), (e = 0)) + : 0 === g - e + ? ((c = Math.min(Math.abs(0.01 * Math.abs(g)), 5)), + (g += c), + (e -= c)) + : e > g + ? ((c = Math.min( + 0.01 * + Math.abs(this.getApparentDifference(g, e, null, !0)), + 5 + )), + 0 <= g ? (e = g - c) : (g = isFinite(e) ? e + c : 0)) + : ((c = Math.min( + 0.01 * + Math.abs(this.getApparentDifference(e, g, null, !0)), + 0.05 + )), + 0 !== g && (g += c), + 0 !== e && (e -= c)) + : ((g = + "undefined" === typeof this.options.interval + ? -Infinity + : this.options.interval), + (e = + "undefined" !== typeof this.options.interval || + isFinite(this.dataInfo.minDiff) + ? 0 + : Infinity)), + (m = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : 1 < g - e + ? 0.5 * Math.abs(g - e) + : 1), + this.includeZero && + (null === this.minimum || isNaN(this.minimum)) && + 0 < e && + (e = 0), + this.includeZero && + (null === this.maximum || isNaN(this.maximum)) && + 0 > g && + (g = 0)), + Math.abs(this.getApparentDifference(e, g, null, !0)), + "axisX" === this.type && b) + ) { + this.valueType = "dateTime"; + if (null === this.minimum || isNaN(this.minimum)) + this.minimum = e - m / 2; + if (null === this.maximum || isNaN(this.maximum)) + this.maximum = g + m / 2; + } else + (this.intervalType = this.valueType = "number"), + null === this.minimum && + ((this.minimum = + "axisX" === this.type + ? e - m / 2 + : Math.floor(e / this.interval) * this.interval), + (this.minimum = Math.min( + this.minimum, + null === this.sessionVariables.viewportMinimum || + isNaN(this.sessionVariables.viewportMinimum) + ? Infinity + : this.sessionVariables.viewportMinimum + ))), + null === this.maximum && + ((this.maximum = + "axisX" === this.type + ? g + m / 2 + : Math.ceil(g / this.interval) * this.interval), + (this.maximum = Math.max( + this.maximum, + null === this.sessionVariables.viewportMaximum || + isNaN(this.sessionVariables.viewportMaximum) + ? -Infinity + : this.sessionVariables.viewportMaximum + ))), + 0 === this.maximum && + 0 === this.minimum && + (0 === this.options.minimum + ? (this.maximum += 10) + : 0 === this.options.maximum && (this.minimum -= 10)); + u(this.sessionVariables.newViewportMinimum) && + (this.viewportMinimum = Math.max(this.viewportMinimum, this.minimum)); + u(this.sessionVariables.newViewportMaximum) && + (this.viewportMaximum = Math.min(this.viewportMaximum, this.maximum)); + this.range = this.viewportMaximum - this.viewportMinimum; + this.intervalStartPosition = + "axisX" === this.type && b + ? this.getLabelStartPoint( + new Date(this.viewportMinimum), + this.intervalType, + this.interval + ) + : Math.floor( + (this.viewportMinimum + 0.2 * this.interval) / this.interval + ) * this.interval; + this.valueFormatString || + (this.valueFormatString = z.generateValueFormatString(this.range, 2)); + } + }; + z.prototype.calculateLogarithmicAxisParameters = function () { + var a = this.chart.layoutManager.getFreeSpace(), + d = Math.log(this.logarithmBase), + b; + "bottom" === this._position || "top" === this._position + ? ((this.maxWidth = a.width), (this.maxHeight = a.height)) + : ((this.maxWidth = a.height), (this.maxHeight = a.width)); + var a = + "axisX" === this.type + ? 500 > this.maxWidth + ? 7 + : Math.max(7, Math.floor(this.maxWidth / 100)) + : Math.max(Math.floor(this.maxWidth / 50), 3), + c, + e, + g, + m; + m = 1; + if (null === this.viewportMinimum || isNaN(this.viewportMinimum)) + this.viewportMinimum = this.minimum; + if (null === this.viewportMaximum || isNaN(this.viewportMaximum)) + this.viewportMaximum = this.maximum; + if (this.scaleBreaks) + for (m = 0; m < this.scaleBreaks._appliedBreaks.length; m++) + if ( + ((!u(this.sessionVariables.newViewportMinimum) && + this.sessionVariables.newViewportMinimum >= + this.scaleBreaks._appliedBreaks[m].startValue) || + (!u(this.options.minimum) && + this.options.minimum >= + this.scaleBreaks._appliedBreaks[m].startValue) || + (!u(this.options.viewportMinimum) && + this.viewportMinimum >= + this.scaleBreaks._appliedBreaks[m].startValue)) && + ((!u(this.sessionVariables.newViewportMaximum) && + this.sessionVariables.newViewportMaximum <= + this.scaleBreaks._appliedBreaks[m].endValue) || + (!u(this.options.maximum) && + this.options.maximum <= + this.scaleBreaks._appliedBreaks[m].endValue) || + (!u(this.options.viewportMaximum) && + this.viewportMaximum <= + this.scaleBreaks._appliedBreaks[m].endValue)) + ) { + this.scaleBreaks._appliedBreaks.splice(m, 1); + break; + } + "axisX" === this.type + ? ((c = + null !== this.viewportMinimum + ? this.viewportMinimum + : this.dataInfo.viewPortMin), + (e = + null !== this.viewportMaximum + ? this.viewportMaximum + : this.dataInfo.viewPortMax), + 1 === e / c && + ((m = Math.pow( + this.logarithmBase, + "undefined" === typeof this.options.interval + ? 0.4 + : this.options.interval + )), + (e *= m), + (c /= m)), + (g = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : e / c > this.logarithmBase + ? (e / c) * Math.pow(this.logarithmBase, 0.5) + : this.logarithmBase)) + : "axisY" === this.type && + ((c = + null !== this.viewportMinimum + ? this.viewportMinimum + : this.dataInfo.viewPortMin), + (e = + null !== this.viewportMaximum + ? this.viewportMaximum + : this.dataInfo.viewPortMax), + 0 >= c && !isFinite(e) + ? ((e = + "undefined" === typeof this.options.interval + ? 0 + : this.options.interval), + (c = 1)) + : 0 >= c + ? (c = e) + : isFinite(e) || (e = c), + 1 === c && 1 === e + ? ((e *= this.logarithmBase - 1 / this.logarithmBase), (c = 1)) + : 1 === e / c + ? ((m = Math.min( + e * Math.pow(this.logarithmBase, 0.01), + Math.pow(this.logarithmBase, 5) + )), + (e *= m), + (c /= m)) + : c > e + ? ((m = Math.min( + (c / e) * Math.pow(this.logarithmBase, 0.01), + Math.pow(this.logarithmBase, 5) + )), + 1 <= e ? (c = e / m) : (e = c * m)) + : ((m = Math.min( + (e / c) * Math.pow(this.logarithmBase, 0.01), + Math.pow(this.logarithmBase, 0.04) + )), + 1 !== e && (e *= m), + 1 !== c && (c /= m)), + (g = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : e / c > this.logarithmBase + ? (e / c) * Math.pow(this.logarithmBase, 0.5) + : this.logarithmBase), + this.includeZero && + (null === this.viewportMinimum || isNaN(this.viewportMinimum)) && + 1 < c && + (c = 1), + this.includeZero && + (null === this.viewportMaximum || isNaN(this.viewportMaximum)) && + 1 > e && + (e = 1)); + m = + (isNaN(this.viewportMaximum) || null === this.viewportMaximum + ? e + : this.viewportMaximum) / + (isNaN(this.viewportMinimum) || null === this.viewportMinimum + ? c + : this.viewportMinimum); + var l = + (isNaN(this.viewportMaximum) || null === this.viewportMaximum + ? e + : this.viewportMaximum) - + (isNaN(this.viewportMinimum) || null === this.viewportMinimum + ? c + : this.viewportMinimum); + this.intervalType = "number"; + m = Math.pow( + this.logarithmBase, + z.getNiceNumber(Math.abs(Math.log(m) / d), !1) + ); + this.options && 0 < this.options.interval + ? (this.interval = this.options.interval) + : ((this.interval = z.getNiceExponent(Math.log(m) / d / (a - 1), !0)), + (b = z.getNiceNumber(l / (a - 1), !0))); + if (null === this.viewportMinimum || isNaN(this.viewportMinimum)) + this.viewportMinimum = + "axisX" === this.type + ? c / Math.sqrt(g) + : Math.pow( + this.logarithmBase, + this.interval * Math.floor(Math.log(c) / d / this.interval) + ); + if (null === this.viewportMaximum || isNaN(this.viewportMaximum)) + this.viewportMaximum = + "axisX" === this.type + ? e * Math.sqrt(g) + : Math.pow( + this.logarithmBase, + this.interval * Math.ceil(Math.log(e) / d / this.interval) + ); + 1 === this.viewportMaximum && + 1 === this.viewportMinimum && + (1 === this.options.viewportMinimum + ? (this.viewportMaximum *= + this.logarithmBase - 1 / this.logarithmBase) + : 1 === this.options.viewportMaximum && + (this.viewportMinimum /= + this.logarithmBase - 1 / this.logarithmBase), + this.options && + "undefined" === typeof this.options.interval && + ((this.interval = z.getNiceExponent( + Math.ceil(Math.log(m) / d) / (a - 1) + )), + (b = z.getNiceNumber( + (this.viewportMaximum - this.viewportMinimum) / (a - 1), + !0 + )))); + if (null === this.minimum || null === this.maximum) + "axisX" === this.type + ? ((c = null !== this.minimum ? this.minimum : this.dataInfo.min), + (e = null !== this.maximum ? this.maximum : this.dataInfo.max), + 1 === e / c && + ((m = Math.pow( + this.logarithmBase, + "undefined" === typeof this.options.interval + ? 0.4 + : this.options.interval + )), + (e *= m), + (c /= m)), + (g = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : e / c > this.logarithmBase + ? (e / c) * Math.pow(this.logarithmBase, 0.5) + : this.logarithmBase)) + : "axisY" === this.type && + ((c = null !== this.minimum ? this.minimum : this.dataInfo.min), + (e = null !== this.maximum ? this.maximum : this.dataInfo.max), + isFinite(c) || isFinite(e) + ? 1 === c && 1 === e + ? ((e *= this.logarithmBase), (c /= this.logarithmBase)) + : 1 === e / c + ? ((m = Math.pow(this.logarithmBase, this.interval)), + (e *= m), + (c /= m)) + : c > e + ? ((m = Math.min(0.01 * (c / e), 5)), + 1 <= e ? (c = e / m) : (e = c * m)) + : ((m = Math.min( + (e / c) * Math.pow(this.logarithmBase, 0.01), + Math.pow(this.logarithmBase, 0.04) + )), + 1 !== e && (e *= m), + 1 !== c && (c /= m)) + : ((e = + "undefined" === typeof this.options.interval + ? 0 + : this.options.interval), + (c = 1)), + (g = + Infinity !== this.dataInfo.minDiff + ? this.dataInfo.minDiff + : e / c > this.logarithmBase + ? (e / c) * Math.pow(this.logarithmBase, 0.5) + : this.logarithmBase), + this.includeZero && + (null === this.minimum || isNaN(this.minimum)) && + 1 < c && + (c = 1), + this.includeZero && + (null === this.maximum || isNaN(this.maximum)) && + 1 > e && + (e = 1)), + (this.intervalType = "number"), + null === this.minimum && + ((this.minimum = + "axisX" === this.type + ? c / Math.sqrt(g) + : Math.pow( + this.logarithmBase, + this.interval * Math.floor(Math.log(c) / d / this.interval) + )), + (this.minimum = Math.min( + this.minimum, + null === this.sessionVariables.viewportMinimum || + isNaN(this.sessionVariables.viewportMinimum) + ? "undefined" === + typeof this.sessionVariables.newViewportMinimum + ? Infinity + : this.sessionVariables.newViewportMinimum + : this.sessionVariables.viewportMinimum + ))), + null === this.maximum && + ((this.maximum = + "axisX" === this.type + ? e * Math.sqrt(g) + : Math.pow( + this.logarithmBase, + this.interval * Math.ceil(Math.log(e) / d / this.interval) + )), + (this.maximum = Math.max( + this.maximum, + null === this.sessionVariables.viewportMaximum || + isNaN(this.sessionVariables.viewportMaximum) + ? "undefined" === + typeof this.sessionVariables.newViewportMaximum + ? 0 + : this.sessionVariables.newViewportMaximum + : this.sessionVariables.viewportMaximum + ))), + 1 === this.maximum && + 1 === this.minimum && + (1 === this.options.minimum + ? (this.maximum *= this.logarithmBase - 1 / this.logarithmBase) + : 1 === this.options.maximum && + (this.minimum /= this.logarithmBase - 1 / this.logarithmBase)); + this.viewportMinimum = Math.max(this.viewportMinimum, this.minimum); + this.viewportMaximum = Math.min(this.viewportMaximum, this.maximum); + this.viewportMinimum > this.viewportMaximum && + ((!this.options.viewportMinimum && !this.options.minimum) || + this.options.viewportMaximum || + this.options.maximum + ? this.options.viewportMinimum || + this.options.minimum || + (!this.options.viewportMaximum && !this.options.maximum) || + (this.viewportMinimum = this.minimum = + (this.options.viewportMaximum || this.options.maximum) / + Math.pow(this.logarithmBase, 2 * Math.ceil(this.interval))) + : (this.viewportMaximum = this.maximum = + this.options.viewportMinimum || this.options.minimum)); + c = Math.pow( + this.logarithmBase, + Math.floor(Math.log(this.viewportMinimum) / (d * this.interval) + 0.2) * + this.interval + ); + this.range = this.viewportMaximum / this.viewportMinimum; + this.noTicks = a; + if ( + !this.options.interval && + this.range < + Math.pow( + this.logarithmBase, + 8 > this.viewportMaximum || 3 > a ? 2 : 3 + ) + ) { + for ( + d = Math.floor(this.viewportMinimum / b + 0.5) * b; + d < this.viewportMinimum; + + ) + d += b; + this.equidistantInterval = !1; + this.intervalStartPosition = d; + this.interval = b; + } else + this.options.interval || + ((b = Math.ceil(this.interval)), + this.range > this.interval && + ((this.interval = b), + (c = Math.pow( + this.logarithmBase, + Math.floor( + Math.log(this.viewportMinimum) / (d * this.interval) + 0.2 + ) * this.interval + )))), + (this.equidistantInterval = !0), + (this.intervalStartPosition = c); + if ( + !this.valueFormatString && + ((this.valueFormatString = "#,##0.##"), 1 > this.viewportMinimum) + ) { + d = + Math.floor(Math.abs(Math.log(this.viewportMinimum) / Math.LN10)) + 2; + if (isNaN(d) || !isFinite(d)) d = 2; + if (2 < d) for (m = 0; m < d - 2; m++) this.valueFormatString += "#"; + } + }; + z.generateValueFormatString = function (a, d) { + var b = "#,##0.", + c = d; + 1 > a && + ((c += Math.floor(Math.abs(Math.log(a) / Math.LN10))), + isNaN(c) || !isFinite(c)) && + (c = d); + for (var e = 0; e < c; e++) b += "#"; + return b; + }; + z.getNiceExponent = function (a, d) { + var b = Math.floor(Math.log(a) / Math.LN10), + c = a / Math.pow(10, b), + c = 0 > b ? (1 >= c ? 1 : 5 >= c ? 5 : 10) : Math.max(Math.floor(c), 1); + return -20 > b + ? Number(c * Math.pow(10, b)) + : Number((c * Math.pow(10, b)).toFixed(20)); + }; + z.getNiceNumber = function (a, d) { + var b = Math.floor(Math.log(a) / Math.LN10), + c = a / Math.pow(10, b), + c = d + ? 1.5 > c + ? 1 + : 3 > c + ? 2 + : 7 > c + ? 5 + : 10 + : 1 >= c + ? 1 + : 2 >= c + ? 2 + : 5 >= c + ? 5 + : 10; + return -20 > b + ? Number(c * Math.pow(10, b)) + : Number((c * Math.pow(10, b)).toFixed(20)); + }; + z.prototype.getLabelStartPoint = function () { + var a = S[this.intervalType + "Duration"] * this.interval, + a = new Date(Math.floor(this.viewportMinimum / a) * a); + if ("millisecond" !== this.intervalType) + if ("second" === this.intervalType) + 0 < a.getMilliseconds() && + (a.setSeconds(a.getSeconds() + 1), a.setMilliseconds(0)); + else if ("minute" === this.intervalType) { + if (0 < a.getSeconds() || 0 < a.getMilliseconds()) + a.setMinutes(a.getMinutes() + 1), + a.setSeconds(0), + a.setMilliseconds(0); + } else if ("hour" === this.intervalType) { + if ( + 0 < a.getMinutes() || + 0 < a.getSeconds() || + 0 < a.getMilliseconds() + ) + a.setHours(a.getHours() + 1), + a.setMinutes(0), + a.setSeconds(0), + a.setMilliseconds(0); + } else if ("day" === this.intervalType) { + if ( + 0 < a.getHours() || + 0 < a.getMinutes() || + 0 < a.getSeconds() || + 0 < a.getMilliseconds() + ) + a.setDate(a.getDate() + 1), + a.setHours(0), + a.setMinutes(0), + a.setSeconds(0), + a.setMilliseconds(0); + } else if ("week" === this.intervalType) { + if ( + 0 < a.getDay() || + 0 < a.getHours() || + 0 < a.getMinutes() || + 0 < a.getSeconds() || + 0 < a.getMilliseconds() + ) + a.setDate(a.getDate() + (7 - a.getDay())), + a.setHours(0), + a.setMinutes(0), + a.setSeconds(0), + a.setMilliseconds(0); + } else if ("month" === this.intervalType) { + if ( + 1 < a.getDate() || + 0 < a.getHours() || + 0 < a.getMinutes() || + 0 < a.getSeconds() || + 0 < a.getMilliseconds() + ) + a.setMonth(a.getMonth() + 1), + a.setDate(1), + a.setHours(0), + a.setMinutes(0), + a.setSeconds(0), + a.setMilliseconds(0); + } else + "year" === this.intervalType && + (0 < a.getMonth() || + 1 < a.getDate() || + 0 < a.getHours() || + 0 < a.getMinutes() || + 0 < a.getSeconds() || + 0 < a.getMilliseconds()) && + (a.setFullYear(a.getFullYear() + 1), + a.setMonth(0), + a.setDate(1), + a.setHours(0), + a.setMinutes(0), + a.setSeconds(0), + a.setMilliseconds(0)); + return a; + }; + qa(Q, V); + qa(L, V); + L.prototype.createUserOptions = function (a) { + if ("undefined" !== typeof a || this.options._isPlaceholder) { + var d = 0; + this.parent.options._isPlaceholder && this.parent.createUserOptions(); + this.options._isPlaceholder || + (Fa(this.parent[this.optionsName]), + (d = this.parent.options[this.optionsName].indexOf(this.options))); + this.options = "undefined" === typeof a ? {} : a; + this.parent.options[this.optionsName][d] = this.options; + } + }; + L.prototype.render = function (a) { + if ( + 0 !== this.spacing || + (0 !== this.options.lineThickness && + ("undefined" !== typeof this.options.lineThickness || + 0 !== this.parent.lineThickness)) + ) { + var d = this.ctx, + b = this.ctx.globalAlpha; + this.ctx = a || this.ctx; + this.ctx.save(); + this.ctx.beginPath(); + this.ctx.rect( + this.chart.plotArea.x1, + this.chart.plotArea.y1, + this.chart.plotArea.width, + this.chart.plotArea.height + ); + this.ctx.clip(); + var c = this.scaleBreaks.parent.getPixelCoordinatesOnAxis( + this.startValue + ), + e = this.scaleBreaks.parent.getPixelCoordinatesOnAxis(this.endValue); + this.ctx.strokeStyle = this.lineColor; + this.ctx.fillStyle = this.color; + this.ctx.beginPath(); + this.ctx.globalAlpha = 1; + N(this.id); + var g, m, l, k, h, p; + a = Math.max(this.spacing, 3); + var q = Math.max(0, this.lineThickness); + this.ctx.lineWidth = q; + this.ctx.setLineDash && this.ctx.setLineDash(R(this.lineDashType, q)); + if ( + "bottom" === this.scaleBreaks.parent._position || + "top" === this.scaleBreaks.parent._position + ) + if ( + ((c = 1 === q % 2 ? (c.x << 0) + 0.5 : c.x << 0), + (m = 1 === q % 2 ? (e.x << 0) + 0.5 : e.x << 0), + "top" === this.scaleBreaks.parent._position + ? ((e = this.chart.plotArea.y1), + (l = (this.chart.plotArea.y2 + q / 2 + 0.5) << 0)) + : ((e = this.chart.plotArea.y2), + (l = (this.chart.plotArea.y1 - q / 2 + 0.5) << 0), + (a *= -1)), + (this.bounds = { x1: c - q / 2, y1: e, x2: m + q / 2, y2: l }), + this.ctx.moveTo(c, e), + "straight" === this.type || + ("top" === this.scaleBreaks.parent._position && 0 >= a) || + ("bottom" === this.scaleBreaks.parent._position && 0 <= a)) + ) + this.ctx.lineTo(c, l), this.ctx.lineTo(m, l), this.ctx.lineTo(m, e); + else if ("wavy" === this.type) { + k = c; + h = e; + g = 0.5; + p = (l - h) / a / 3; + for (var n = 0; n < p; n++) + this.ctx.bezierCurveTo( + k + g * a, + h + a, + k + g * a, + h + 2 * a, + k, + h + 3 * a + ), + (h += 3 * a), + (g *= -1); + this.ctx.bezierCurveTo( + k + g * a, + h + a, + k + g * a, + h + 2 * a, + k, + h + 3 * a + ); + k = m; + g *= -1; + this.ctx.lineTo(k, h); + for (n = 0; n < p; n++) + this.ctx.bezierCurveTo( + k + g * a, + h - a, + k + g * a, + h - 2 * a, + k, + h - 3 * a + ), + (h -= 3 * a), + (g *= -1); + } else { + if ("zigzag" === this.type) { + g = -1; + h = e + a; + k = c + a; + p = (l - h) / a / 2; + for (n = 0; n < p; n++) + this.ctx.lineTo(k, h), + (k += 2 * g * a), + (h += 2 * a), + (g *= -1); + this.ctx.lineTo(k, h); + k += m - c; + for (n = 0; n < p + 1; n++) + this.ctx.lineTo(k, h), + (k += 2 * g * a), + (h -= 2 * a), + (g *= -1); + this.ctx.lineTo(k + g * a, h + a); + } + } + else if ( + "left" === this.scaleBreaks.parent._position || + "right" === this.scaleBreaks.parent._position + ) + if ( + ((e = 1 === q % 2 ? (e.y << 0) + 0.5 : e.y << 0), + (l = 1 === q % 2 ? (c.y << 0) + 0.5 : c.y << 0), + "left" === this.scaleBreaks.parent._position + ? ((c = this.chart.plotArea.x1), + (m = (this.chart.plotArea.x2 + q / 2 + 0.5) << 0)) + : ((c = this.chart.plotArea.x2), + (m = (this.chart.plotArea.x1 - q / 2 + 0.5) << 0), + (a *= -1)), + (this.bounds = { x1: c, y1: e - q / 2, x2: m, y2: l + q / 2 }), + this.ctx.moveTo(c, e), + "straight" === this.type || + ("left" === this.scaleBreaks.parent._position && 0 >= a) || + ("right" === this.scaleBreaks.parent._position && 0 <= a)) + ) + this.ctx.lineTo(m, e), this.ctx.lineTo(m, l), this.ctx.lineTo(c, l); + else if ("wavy" === this.type) { + k = c; + h = e; + g = 0.5; + p = (m - k) / a / 3; + for (n = 0; n < p; n++) + this.ctx.bezierCurveTo( + k + a, + h + g * a, + k + 2 * a, + h + g * a, + k + 3 * a, + h + ), + (k += 3 * a), + (g *= -1); + this.ctx.bezierCurveTo( + k + a, + h + g * a, + k + 2 * a, + h + g * a, + k + 3 * a, + h + ); + h = l; + g *= -1; + this.ctx.lineTo(k, h); + for (n = 0; n < p; n++) + this.ctx.bezierCurveTo( + k - a, + h + g * a, + k - 2 * a, + h + g * a, + k - 3 * a, + h + ), + (k -= 3 * a), + (g *= -1); + } else if ("zigzag" === this.type) { + g = 1; + h = e - a; + k = c + a; + p = (m - k) / a / 2; + for (n = 0; n < p; n++) + this.ctx.lineTo(k, h), (h += 2 * g * a), (k += 2 * a), (g *= -1); + this.ctx.lineTo(k, h); + h += l - e; + for (n = 0; n < p + 1; n++) + this.ctx.lineTo(k, h), (h += 2 * g * a), (k -= 2 * a), (g *= -1); + this.ctx.lineTo(k + a, h + g * a); + } + 0 < q && this.ctx.stroke(); + this.ctx.closePath(); + this.ctx.globalAlpha = this.fillOpacity; + this.ctx.globalCompositeOperation = "destination-over"; + this.ctx.fill(); + this.ctx.restore(); + this.ctx.globalAlpha = b; + this.ctx = d; + } + }; + qa(X, V); + X.prototype.createUserOptions = function (a) { + if ("undefined" !== typeof a || this.options._isPlaceholder) { + var d = 0; + this.parent.options._isPlaceholder && this.parent.createUserOptions(); + this.options._isPlaceholder || + (Fa(this.parent.stripLines), + (d = this.parent.options.stripLines.indexOf(this.options))); + this.options = "undefined" === typeof a ? {} : a; + this.parent.options.stripLines[d] = this.options; + } + }; + X.prototype.render = function () { + this.ctx.save(); + var a = this.parent.getPixelCoordinatesOnAxis(this.value), + d = Math.abs( + "pixel" === this._thicknessType + ? this.thickness + : this.parent.conversionParameters.pixelPerUnit * this.thickness + ); + if (0 < d) { + var b = null === this.opacity ? 1 : this.opacity; + this.ctx.strokeStyle = this.color; + this.ctx.beginPath(); + var c = this.ctx.globalAlpha; + this.ctx.globalAlpha = b; + N(this.id); + var e, g, m, l; + this.ctx.lineWidth = d; + this.ctx.setLineDash && this.ctx.setLineDash(R(this.lineDashType, d)); + if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) + (e = g = 1 === this.ctx.lineWidth % 2 ? (a.x << 0) + 0.5 : a.x << 0), + (m = this.chart.plotArea.y1), + (l = this.chart.plotArea.y2), + (this.bounds = { x1: e - d / 2, y1: m, x2: g + d / 2, y2: l }); + else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) + (m = l = 1 === this.ctx.lineWidth % 2 ? (a.y << 0) + 0.5 : a.y << 0), + (e = this.chart.plotArea.x1), + (g = this.chart.plotArea.x2), + (this.bounds = { x1: e, y1: m - d / 2, x2: g, y2: l + d / 2 }); + this.ctx.moveTo(e, m); + this.ctx.lineTo(g, l); + this.ctx.stroke(); + this.ctx.globalAlpha = c; + } + this.ctx.restore(); + }; + qa(fa, V); + fa.prototype.render = function (a, d) { + var b, + c, + e, + g, + m = null, + l = (m = null), + k = ""; + if (!this.valueFormatString) + if ("dateTime" === this.parent.valueType) + this.valueFormatString = this.parent.valueFormatString; + else { + var h = 0, + h = + "xySwapped" === this.chart.plotInfo.axisPlacement + ? 50 < this.parent.range + ? 0 + : 500 < this.chart.width && 25 > this.parent.range + ? 2 + : Math.floor( + Math.abs(Math.log(this.parent.range) / Math.LN10) + ) + + (5 > this.parent.range ? 2 : 10 > this.parent.range ? 1 : 0) + : 50 < this.parent.range + ? 0 + : Math.floor( + Math.abs(Math.log(this.parent.range) / Math.LN10) + ) + + (5 > this.parent.range ? 2 : 10 > this.parent.range ? 1 : 0); + this.valueFormatString = z.generateValueFormatString( + this.parent.range, + h + ); + } + var l = null === this.opacity ? 1 : this.opacity, + h = Math.abs( + "pixel" === this._thicknessType + ? this.thickness + : this.parent.conversionParameters.pixelPerUnit * this.thickness + ), + p = this.chart.overlaidCanvasCtx, + q = p.globalAlpha; + p.globalAlpha = l; + p.beginPath(); + p.strokeStyle = this.color; + p.lineWidth = h; + p.save(); + this.labelFontSize = u(this.options.labelFontSize) + ? this.parent.labelFontSize + : this.labelFontSize; + if ("left" === this.parent._position || "right" === this.parent._position) + (this.labelMaxWidth = u(this.options.labelMaxWidth) + ? this.parent.bounds.x2 - this.parent.bounds.x1 + : this.labelMaxWidth), + (this.labelMaxHeight = + u(this.options.labelWrap) || this.labelWrap + ? 3 * this.chart.height + : 2 * this.labelFontSize); + else if ( + "top" === this.parent._position || + "bottom" === this.parent._position + ) + (this.labelMaxWidth = u(this.options.labelMaxWidth) + ? 3 * this.chart.width + : this.labelMaxWidth), + (this.labelMaxHeight = + u(this.options.labelWrap) || this.labelWrap + ? this.parent.bounds.height + : 2 * this.labelFontSize); + 0 < h && p.setLineDash && p.setLineDash(R(this.lineDashType, h)); + l = new ka(p, { + x: 0, + y: 0, + padding: { top: 2, right: 3, bottom: 2, left: 4 }, + backgroundColor: this.labelBackgroundColor, + borderColor: this.labelBorderColor, + borderThickness: this.labelBorderThickness, + cornerRadius: this.labelCornerRadius, + maxWidth: this.labelMaxWidth, + maxHeight: this.labelMaxHeight, + angle: this.labelAngle, + text: k, + horizontalAlign: "left", + fontSize: this.labelFontSize, + fontFamily: this.labelFontFamily, + fontWeight: this.labelFontWeight, + fontColor: this.labelFontColor, + fontStyle: this.labelFontStyle, + textBaseline: "middle", + }); + if (this.snapToDataPoint) { + var n = 0, + m = []; + if ("xySwapped" === this.chart.plotInfo.axisPlacement) { + var f = null; + if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) + n = this.parent.dataSeries[0].axisX.convertPixelToValue({ y: d }); + else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) + n = this.parent.convertPixelToValue({ y: d }); + for (var r = 0; r < this.parent.dataSeries.length; r++) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + ((f.dataSeries = this.parent.dataSeries[r]), + null !== f.dataPoint.y && m.push(f)); + f = null; + if (0 === m.length) return; + m.sort(function (a, b) { + return a.distance - b.distance; + }); + f = Math.abs(a - this.parent.convertValueToPixel(m[0].dataPoint.y)); + r = 0; + if ( + "rangeBar" === m[0].dataSeries.type || + "error" === m[0].dataSeries.type + ) + for ( + var f = Math.abs( + a - this.parent.convertValueToPixel(m[r].dataPoint.y[0]) + ), + v = 0, + n = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y) + )), + v < f && ((f = v), (r = n)); + else if ("stackedBar" === m[0].dataSeries.type) + for ( + var f = Math.abs( + a - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + D = (v = 0), + n = (r = 0); + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (D += m[n].dataPoint.y), + (v = Math.abs(a - this.parent.convertValueToPixel(D))), + v < f && ((f = v), (r = n)); + else if ("stackedBar100" === m[0].dataSeries.type) + for ( + var f = Math.abs( + a - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + t = (D = v = 0), + n = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (D += m[n].dataPoint.y), + (t = m[n].dataPoint.x.getTime + ? m[n].dataPoint.x.getTime() + : m[n].dataPoint.x), + (t = 100 * (D / m[n].dataSeries.plotUnit.dataPointYSums[t])), + (v = Math.abs(a - this.parent.convertValueToPixel(t))), + v < f && ((f = v), (r = n)); + else + for ( + f = Math.abs( + a - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + n = r = v = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (v = Math.abs( + a - this.parent.convertValueToPixel(m[n].dataPoint.y) + )), + v < f && ((f = v), (r = n)); + k = m[r]; + if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) { + b = 0; + if ( + "rangeBar" === this.parent.dataSeries[r].type || + "error" === this.parent.dataSeries[r].type + ) { + f = Math.abs( + a - this.parent.convertValueToPixel(k.dataPoint.y[0]) + ); + for (n = v = 0; n < k.dataPoint.y.length; n++) + (v = Math.abs( + a - this.parent.convertValueToPixel(k.dataPoint.y[n]) + )), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.y[b]) << 0) + + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.y[b]) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y[b], + }) + : u(this.options.label) + ? ba( + k.dataPoint.y[b], + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label; + } else if ("stackedBar" === this.parent.dataSeries[r].type) { + f = Math.abs( + a - this.parent.convertValueToPixel(m[0].dataPoint.y) + ); + D = v = 0; + for (n = r; 0 <= n; n--) + (D += m[n].dataPoint.y), + (v = Math.abs(a - this.parent.convertValueToPixel(D))), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(D) << 0) + 0.5 + : this.parent.convertValueToPixel(D) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y, + }) + : u(this.options.label) + ? ba( + k.dataPoint.y, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label; + } else if ("stackedBar100" === this.parent.dataSeries[r].type) { + f = Math.abs( + a - this.parent.convertValueToPixel(m[0].dataPoint.y) + ); + t = D = v = 0; + for (n = r; 0 <= n; n--) + (D += m[n].dataPoint.y), + (t = m[n].dataPoint.x.getTime + ? m[n].dataPoint.x.getTime() + : m[n].dataPoint.x), + (t = 100 * (D / m[n].dataSeries.plotUnit.dataPointYSums[t])), + (v = Math.abs(a - this.parent.convertValueToPixel(t))), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(t) << 0) + 0.5 + : this.parent.convertValueToPixel(t) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: t, + }) + : u(this.options.label) + ? ba(t, this.valueFormatString, this.chart._cultureInfo) + : this.label; + } else + (m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.y) << 0) + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.y) << 0), + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y, + }) + : u(this.options.label) + ? ba( + k.dataPoint.y, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label); + b = c = m; + e = this.chart.plotArea.y1; + g = this.chart.plotArea.y2; + this.bounds = { x1: b - h / 2, y1: e, x2: c + h / 2, y2: g }; + l.x = b - l.measureText().width / 2; + l.x + l.width > this.chart.bounds.x2 + ? (l.x = this.chart.bounds.x2 - l.width) + : l.x < this.chart.bounds.x1 && (l.x = this.chart.bounds.x1); + l.y = this.parent.lineCoordinates.y2 + l.fontSize / 2 + 2; + } else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) { + e = + g = + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.x) << 0) + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.x) << 0; + b = this.chart.plotArea.x1; + c = this.chart.plotArea.x2; + this.bounds = { x1: b, y1: e - h / 2, x2: c, y2: g + h / 2 }; + t = !1; + if (this.parent.labels) + for ( + m = Math.ceil(this.parent.interval), n = 0; + n < this.parent.viewportMaximum; + n += m + ) + if (this.parent.labels[n]) t = !0; + else { + t = !1; + break; + } + if (t) { + if ("axisX" === this.parent.type) + for ( + n = this.parent.convertPixelToValue({ y: d }), + f = null, + r = 0; + r < this.parent.dataSeries.length; + r++ + ) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? f.dataPoint.label + : this.label); + } else + "dateTime" === this.parent.valueType + ? (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? Ca( + k.dataPoint.x, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label) + : "number" === this.parent.valueType && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? ba( + k.dataPoint.x, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label); + l.y = g + l.fontSize / 2 - l.measureText().height / 2 + 2; + l.y - l.fontSize / 2 < this.chart.bounds.y1 + ? (l.y = this.chart.bounds.y1 + l.fontSize / 2 + 2) + : l.y + l.measureText().height - l.fontSize / 2 > + this.chart.bounds.y2 && + (l.y = + this.chart.bounds.y2 - + l.measureText().height + + l.fontSize / 2); + "left" === this.parent._position + ? (l.x = this.parent.lineCoordinates.x2 - l.measureText().width) + : "right" === this.parent._position && + (l.x = this.parent.lineCoordinates.x2); + } + } else if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) { + n = this.parent.convertPixelToValue({ x: a }); + for (r = 0; r < this.parent.dataSeries.length; r++) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + ((f.dataSeries = this.parent.dataSeries[r]), + null !== f.dataPoint.y && m.push(f)); + if (0 === m.length) return; + m.sort(function (a, b) { + return a.distance - b.distance; + }); + k = m[0]; + b = + c = + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.x) << 0) + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.x) << 0; + e = this.chart.plotArea.y1; + g = this.chart.plotArea.y2; + this.bounds = { x1: b - h / 2, y1: e, x2: c + h / 2, y2: g }; + t = !1; + if (this.parent.labels) + for ( + m = Math.ceil(this.parent.interval), n = 0; + n < this.parent.viewportMaximum; + n += m + ) + if (this.parent.labels[n]) t = !0; + else { + t = !1; + break; + } + if (t) { + if ("axisX" === this.parent.type) + for ( + n = this.parent.convertPixelToValue({ x: a }), f = null, r = 0; + r < this.parent.dataSeries.length; + r++ + ) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? f.dataPoint.label + : this.label); + } else + "dateTime" === this.parent.valueType + ? (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? Ca( + k.dataPoint.x, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label) + : "number" === this.parent.valueType && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.x, + }) + : u(this.options.label) + ? ba( + k.dataPoint.x, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label); + l.x = b - l.measureText().width / 2; + l.x + l.width > this.chart.bounds.x2 && + (l.x = this.chart.bounds.x2 - l.width); + l.x < this.chart.bounds.x1 && (l.x = this.chart.bounds.x1); + "bottom" === this.parent._position + ? (l.y = this.parent.lineCoordinates.y2 + l.fontSize / 2 + 2) + : "top" === this.parent._position && + (l.y = + this.parent.lineCoordinates.y1 - l.height + l.fontSize / 2 + 2); + } else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) { + !u(this.parent.dataSeries) && + 0 < this.parent.dataSeries.length && + (n = this.parent.dataSeries[0].axisX.convertPixelToValue({ x: a })); + for (r = 0; r < this.parent.dataSeries.length; r++) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + ((f.dataSeries = this.parent.dataSeries[r]), + null !== f.dataPoint.y && m.push(f)); + if (0 === m.length) return; + m.sort(function (a, b) { + return a.distance - b.distance; + }); + r = 0; + if ( + "rangeColumn" === m[0].dataSeries.type || + "rangeArea" === m[0].dataSeries.type || + "error" === m[0].dataSeries.type || + "rangeSplineArea" === m[0].dataSeries.type || + "candlestick" === m[0].dataSeries.type || + "ohlc" === m[0].dataSeries.type || + "boxAndWhisker" === m[0].dataSeries.type + ) + for ( + f = Math.abs( + d - this.parent.convertValueToPixel(m[0].dataPoint.y[0]) + ), + n = v = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y) + )), + v < f && ((f = v), (r = n)); + else if ( + "stackedColumn" === m[0].dataSeries.type || + "stackedArea" === m[0].dataSeries.type + ) + for ( + f = Math.abs( + d - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + n = D = v = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (D += m[n].dataPoint.y), + (v = Math.abs(d - this.parent.convertValueToPixel(D))), + v < f && ((f = v), (r = n)); + else if ( + "stackedColumn100" === m[0].dataSeries.type || + "stackedArea100" === m[0].dataSeries.type + ) + for ( + f = Math.abs( + d - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + n = t = D = v = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (D += m[n].dataPoint.y), + (t = m[n].dataPoint.x.getTime + ? m[n].dataPoint.x.getTime() + : m[n].dataPoint.x), + (t = 100 * (D / m[n].dataSeries.plotUnit.dataPointYSums[t])), + (v = Math.abs(d - this.parent.convertValueToPixel(t))), + v < f && ((f = v), (r = n)); + else + for ( + f = Math.abs( + d - this.parent.convertValueToPixel(m[0].dataPoint.y) + ), + n = v = 0; + n < m.length; + n++ + ) + if (m[n].dataPoint.y && m[n].dataPoint.y.length) + for (k = 0; k < m[n].dataPoint.y.length; k++) + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y[k]) + )), + v < f && ((f = v), (r = n)); + else + (v = Math.abs( + d - this.parent.convertValueToPixel(m[n].dataPoint.y) + )), + v < f && ((f = v), (r = n)); + k = m[r]; + b = 0; + if ( + "rangeColumn" === this.parent.dataSeries[r].type || + "rangeArea" === this.parent.dataSeries[r].type || + "error" === this.parent.dataSeries[r].type || + "rangeSplineArea" === this.parent.dataSeries[r].type || + "candlestick" === this.parent.dataSeries[r].type || + "ohlc" === this.parent.dataSeries[r].type || + "boxAndWhisker" === this.parent.dataSeries[r].type + ) { + f = Math.abs(d - this.parent.convertValueToPixel(k.dataPoint.y[0])); + for (n = v = 0; n < k.dataPoint.y.length; n++) + (v = Math.abs( + d - this.parent.convertValueToPixel(k.dataPoint.y[n]) + )), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.y[b]) << 0) + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.y[b]) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y[b], + }) + : u(this.options.label) + ? ba( + k.dataPoint.y[b], + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label; + } else if ( + "stackedColumn" === this.parent.dataSeries[r].type || + "stackedArea" === this.parent.dataSeries[r].type + ) { + f = Math.abs(d - this.parent.convertValueToPixel(m[0].dataPoint.y)); + D = v = 0; + for (n = r; 0 <= n; n--) + (D += m[n].dataPoint.y), + (v = Math.abs(d - this.parent.convertValueToPixel(D))), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(D) << 0) + 0.5 + : this.parent.convertValueToPixel(D) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y, + }) + : u(this.options.label) + ? ba( + k.dataPoint.y, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label; + } else if ( + "stackedColumn100" === this.parent.dataSeries[r].type || + "stackedArea100" === this.parent.dataSeries[r].type + ) { + f = Math.abs(d - this.parent.convertValueToPixel(m[0].dataPoint.y)); + D = v = 0; + for (n = r; 0 <= n; n--) + (D += m[n].dataPoint.y), + (t = m[n].dataPoint.x.getTime + ? m[n].dataPoint.x.getTime() + : m[n].dataPoint.x), + (t = 100 * (D / m[n].dataSeries.plotUnit.dataPointYSums[t])), + (v = Math.abs(d - this.parent.convertValueToPixel(t))), + v < f && ((f = v), (b = n)); + m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(t) << 0) + 0.5 + : this.parent.convertValueToPixel(t) << 0; + l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: t, + }) + : u(this.options.label) + ? ba(t, this.valueFormatString, this.chart._cultureInfo) + : this.label; + } else + "waterfall" === this.parent.dataSeries[r].type + ? ((m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel( + k.dataSeries.dataPointEOs[k.index].cumulativeSum + ) << + 0) + + 0.5 + : this.parent.convertValueToPixel( + k.dataSeries.dataPointEOs[k.index].cumulativeSum + ) << 0), + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataSeries.dataPointEOs[k.index].cumulativeSum, + }) + : u(this.options.label) + ? ba( + k.dataSeries.dataPointEOs[k.index].cumulativeSum, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label)) + : ((m = + 1 === p.lineWidth % 2 + ? (this.parent.convertValueToPixel(k.dataPoint.y) << 0) + + 0.5 + : this.parent.convertValueToPixel(k.dataPoint.y) << 0), + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: k.dataPoint.y, + }) + : u(this.options.label) + ? ba( + k.dataPoint.y, + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label)); + e = g = m; + b = this.chart.plotArea.x1; + c = this.chart.plotArea.x2; + this.bounds = { x1: b, y1: e - h / 2, x2: c, y2: g + h / 2 }; + l.y = g + l.fontSize / 2 - l.measureText().height / 2 + 2; + l.y - l.fontSize / 2 < this.chart.bounds.y1 + ? (l.y = this.chart.bounds.y1 + l.fontSize / 2 + 2) + : l.y + l.measureText().height - l.fontSize / 2 > + this.chart.bounds.y2 && + (l.y = + this.chart.bounds.y2 - l.measureText().height + l.fontSize / 2); + "left" === this.parent._position + ? (l.x = this.parent.lineCoordinates.x2 - l.measureText().width) + : "right" === this.parent._position && + (l.x = this.parent.lineCoordinates.x2); + } + m = null; + ("bottom" === this.parent._position || + "top" === this.parent._position) && + b >= this.parent.convertValueToPixel(this.parent.viewportMinimum) && + c <= this.parent.convertValueToPixel(this.parent.viewportMaximum) && + (0 < h && (p.moveTo(b, e), p.lineTo(c, g), p.stroke()), + p.restore(), + !u(l.text) && + ("number" === typeof l.text.valueOf() || 0 < l.text.length) && + l.render(!0)); + ("left" === this.parent._position || + "right" === this.parent._position) && + g >= this.parent.convertValueToPixel(this.parent.viewportMaximum) && + e <= this.parent.convertValueToPixel(this.parent.viewportMinimum) && + (0 < h && (p.moveTo(b, e), p.lineTo(c, g), p.stroke()), + p.restore(), + !u(l.text) && + ("number" === typeof l.text.valueOf() || 0 < l.text.length) && + l.render(!0)); + } else { + if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) + (b = c = m = 1 === p.lineWidth % 2 ? (a << 0) + 0.5 : a << 0), + (e = this.chart.plotArea.y1), + (g = this.chart.plotArea.y2), + (this.bounds = { x1: b - h / 2, y1: e, x2: c + h / 2, y2: g }); + else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) + (e = g = m = 1 === p.lineWidth % 2 ? (d << 0) + 0.5 : d << 0), + (b = this.chart.plotArea.x1), + (c = this.chart.plotArea.x2), + (this.bounds = { x1: b, y1: e - h / 2, x2: c, y2: g + h / 2 }); + if ("xySwapped" === this.chart.plotInfo.axisPlacement) + if ( + "left" === this.parent._position || + "right" === this.parent._position + ) { + t = !1; + if (this.parent.labels) + for ( + m = Math.ceil(this.parent.interval), n = 0; + n < this.parent.viewportMaximum; + n += m + ) + if (this.parent.labels[n]) t = !0; + else { + t = !1; + break; + } + if (t) { + if ("axisX" === this.parent.type) + for ( + n = this.parent.convertPixelToValue({ y: d }), + f = null, + r = 0; + r < this.parent.dataSeries.length; + r++ + ) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(a), + }) + : u(this.options.label) + ? f.dataPoint.label + : this.label); + } else + "dateTime" === this.parent.valueType + ? (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(d), + }) + : u(this.options.label) + ? Ca( + this.parent.convertPixelToValue(d), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label) + : "number" === this.parent.valueType && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(d), + }) + : u(this.options.label) + ? ba( + this.parent.convertPixelToValue(d), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label); + l.y = d + l.fontSize / 2 - l.measureText().height / 2 + 2; + l.y - l.fontSize / 2 < this.chart.bounds.y1 + ? (l.y = this.chart.bounds.y1 + l.fontSize / 2 + 2) + : l.y + l.measureText().height - l.fontSize / 2 > + this.chart.bounds.y2 && + (l.y = + this.chart.bounds.y2 - + l.measureText().height + + l.fontSize / 2); + "left" === this.parent._position + ? (l.x = this.parent.lineCoordinates.x1 - l.measureText().width) + : "right" === this.parent._position && + (l.x = this.parent.lineCoordinates.x2); + } else { + if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(a), + }) + : u(this.options.label) + ? ba( + this.parent.convertPixelToValue(a), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label), + (l.x = b - l.measureText().width / 2), + l.x + l.width > this.chart.bounds.x2 && + (l.x = this.chart.bounds.x2 - l.width), + l.x < this.chart.bounds.x1 && (l.x = this.chart.bounds.x1), + "bottom" === this.parent._position && + (l.y = this.parent.lineCoordinates.y2 + l.fontSize / 2 + 2), + "top" === this.parent._position && + (l.y = + this.parent.lineCoordinates.y1 - + l.height + + l.fontSize / 2 + + 2); + } + else if ( + "bottom" === this.parent._position || + "top" === this.parent._position + ) { + t = !1; + k = ""; + if (this.parent.labels) + for ( + m = Math.ceil(this.parent.interval), n = 0; + n < this.parent.viewportMaximum; + n += m + ) + if (this.parent.labels[n]) t = !0; + else { + t = !1; + break; + } + if (t) { + if ("axisX" === this.parent.type) + for ( + n = this.parent.convertPixelToValue({ x: a }), f = null, r = 0; + r < this.parent.dataSeries.length; + r++ + ) + (f = this.parent.dataSeries[r].getDataPointAtX(n, !0)) && + 0 <= f.index && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(a), + }) + : u(this.options.label) + ? f.dataPoint.label + : this.label); + } else + "dateTime" === this.parent.valueType + ? (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(a), + }) + : u(this.options.label) + ? Ca( + this.parent.convertPixelToValue(a), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label) + : "number" === this.parent.valueType && + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: + 0 < this.parent.dataSeries.length + ? this.parent.convertPixelToValue(a) + : "", + }) + : u(this.options.label) + ? ba( + this.parent.convertPixelToValue(a), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label); + l.x = b - l.measureText().width / 2; + l.x + l.width > this.chart.bounds.x2 && + (l.x = this.chart.bounds.x2 - l.width); + l.x < this.chart.bounds.x1 && (l.x = this.chart.bounds.x1); + "bottom" === this.parent._position + ? (l.y = this.parent.lineCoordinates.y2 + l.fontSize / 2 + 2) + : "top" === this.parent._position && + (l.y = + this.parent.lineCoordinates.y1 - l.height + l.fontSize / 2 + 2); + } else if ( + "left" === this.parent._position || + "right" === this.parent._position + ) + (l.text = this.labelFormatter + ? this.labelFormatter({ + chart: this.chart, + axis: this.parent.options, + crosshair: this.options, + value: this.parent.convertPixelToValue(d), + }) + : u(this.options.label) + ? ba( + this.parent.convertPixelToValue(d), + this.valueFormatString, + this.chart._cultureInfo + ) + : this.label), + (l.y = d + l.fontSize / 2 - l.measureText().height / 2 + 2), + l.y - l.fontSize / 2 < this.chart.bounds.y1 + ? (l.y = this.chart.bounds.y1 + l.fontSize / 2 + 2) + : l.y + l.measureText().height - l.fontSize / 2 > + this.chart.bounds.y2 && + (l.y = + this.chart.bounds.y2 - + l.measureText().height + + l.fontSize / 2), + "left" === this.parent._position + ? (l.x = this.parent.lineCoordinates.x2 - l.measureText().width) + : "right" === this.parent._position && + (l.x = this.parent.lineCoordinates.x2); + 0 < h && (p.moveTo(b, e), p.lineTo(c, g), p.stroke()); + p.restore(); + !u(l.text) && + ("number" === typeof l.text.valueOf() || 0 < l.text.length) && + l.render(!0); + } + p.globalAlpha = q; + }; + qa($, V); + $.prototype._initialize = function () { + if (this.enabled) { + this.container = document.createElement("div"); + this.container.setAttribute("class", "canvasjs-chart-tooltip"); + this.container.style.position = "absolute"; + this.container.style.height = "auto"; + this.container.style.boxShadow = "1px 1px 2px 2px rgba(0,0,0,0.1)"; + this.container.style.zIndex = "1000"; + this.container.style.pointerEvents = "none"; + this.container.style.display = "none"; + var a; + a = '
new Date().getTime() - this._lastUpdated) || + ((this._lastUpdated = new Date().getTime()), + this.chart.resetOverlayedCanvas(), + this._updateToolTip(a, d)); + }; + $.prototype._updateToolTip = function (a, d, b) { + b = "undefined" === typeof b ? !0 : b; + this.container || this._initialize(); + this.enabled || this.hide(); + if (!this.chart.disableToolTip) { + if ("undefined" === typeof a || "undefined" === typeof d) { + if (isNaN(this._prevX) || isNaN(this._prevY)) return; + a = this._prevX; + d = this._prevY; + } else (this._prevX = a), (this._prevY = d); + var c = null, + e = null, + g = [], + k = 0; + if ( + this.shared && + this.enabled && + "none" !== this.chart.plotInfo.axisPlacement + ) { + if ("xySwapped" === this.chart.plotInfo.axisPlacement) { + var l = []; + if (this.chart.axisX) + for (var p = 0; p < this.chart.axisX.length; p++) { + for ( + var k = this.chart.axisX[p].convertPixelToValue({ y: d }), + h = null, + c = 0; + c < this.chart.axisX[p].dataSeries.length; + c++ + ) + (h = this.chart.axisX[p].dataSeries[c].getDataPointAtX( + k, + b + )) && + 0 <= h.index && + ((h.dataSeries = this.chart.axisX[p].dataSeries[c]), + null !== h.dataPoint.y && l.push(h)); + h = null; + } + if (this.chart.axisX2) + for (p = 0; p < this.chart.axisX2.length; p++) { + k = this.chart.axisX2[p].convertPixelToValue({ y: d }); + h = null; + for (c = 0; c < this.chart.axisX2[p].dataSeries.length; c++) + (h = this.chart.axisX2[p].dataSeries[c].getDataPointAtX( + k, + b + )) && + 0 <= h.index && + ((h.dataSeries = this.chart.axisX2[p].dataSeries[c]), + null !== h.dataPoint.y && l.push(h)); + h = null; + } + } else { + l = []; + if (this.chart.axisX) + for (p = 0; p < this.chart.axisX.length; p++) + for ( + k = this.chart.axisX[p].convertPixelToValue({ x: a }), + h = null, + c = 0; + c < this.chart.axisX[p].dataSeries.length; + c++ + ) + (h = this.chart.axisX[p].dataSeries[c].getDataPointAtX( + k, + b + )) && + 0 <= h.index && + ((h.dataSeries = this.chart.axisX[p].dataSeries[c]), + null !== h.dataPoint.y && l.push(h)); + if (this.chart.axisX2) + for (p = 0; p < this.chart.axisX2.length; p++) + for ( + k = this.chart.axisX2[p].convertPixelToValue({ x: a }), + h = null, + c = 0; + c < this.chart.axisX2[p].dataSeries.length; + c++ + ) + (h = this.chart.axisX2[p].dataSeries[c].getDataPointAtX( + k, + b + )) && + 0 <= h.index && + ((h.dataSeries = this.chart.axisX2[p].dataSeries[c]), + null !== h.dataPoint.y && l.push(h)); + } + if (0 === l.length) return; + l.sort(function (a, b) { + return a.distance - b.distance; + }); + b = l[0]; + for (c = 0; c < l.length; c++) + l[c].dataPoint.x.valueOf() === b.dataPoint.x.valueOf() && + g.push(l[c]); + l = null; + } else { + if ((h = this.chart.getDataPointAtXY(a, d, b))) + (this.currentDataPointIndex = h.dataPointIndex), + (this.currentSeriesIndex = h.dataSeries.index); + else if (r) + if ( + ((h = ab(a, d, this.chart._eventManager.ghostCtx)), + 0 < h && + "undefined" !== typeof this.chart._eventManager.objectMap[h]) + ) { + h = this.chart._eventManager.objectMap[h]; + if ("legendItem" === h.objectType) return; + this.currentSeriesIndex = h.dataSeriesIndex; + this.currentDataPointIndex = + 0 <= h.dataPointIndex ? h.dataPointIndex : -1; + } else this.currentDataPointIndex = -1; + else this.currentDataPointIndex = -1; + if (0 <= this.currentSeriesIndex) { + e = this.chart.data[this.currentSeriesIndex]; + h = {}; + if (0 <= this.currentDataPointIndex) + (c = e.dataPoints[this.currentDataPointIndex]), + (h.dataSeries = e), + (h.dataPoint = c), + (h.index = this.currentDataPointIndex), + (h.distance = Math.abs(c.x - k)), + "waterfall" === e.type && + ((h.cumulativeSumYStartValue = + e.dataPointEOs[ + this.currentDataPointIndex + ].cumulativeSumYStartValue), + (h.cumulativeSum = + e.dataPointEOs[this.currentDataPointIndex].cumulativeSum)); + else { + if ( + !this.enabled || + ("line" !== e.type && + "stepLine" !== e.type && + "spline" !== e.type && + "area" !== e.type && + "stepArea" !== e.type && + "splineArea" !== e.type && + "stackedArea" !== e.type && + "stackedArea100" !== e.type && + "rangeArea" !== e.type && + "rangeSplineArea" !== e.type && + "candlestick" !== e.type && + "ohlc" !== e.type && + "boxAndWhisker" !== e.type) + ) + return; + k = e.axisX.convertPixelToValue({ x: a }); + h = e.getDataPointAtX(k, b); + h.dataSeries = e; + this.currentDataPointIndex = h.index; + c = h.dataPoint; + } + if (!u(h.dataPoint.y)) + if (h.dataSeries.axisY) + if (0 < h.dataPoint.y.length) { + for (c = b = 0; c < h.dataPoint.y.length; c++) + h.dataPoint.y[c] < h.dataSeries.axisY.viewportMinimum + ? b-- + : h.dataPoint.y[c] > h.dataSeries.axisY.viewportMaximum && + b++; + b < h.dataPoint.y.length && + b > -h.dataPoint.y.length && + g.push(h); + } else + "column" === e.type || "bar" === e.type + ? 0 > h.dataPoint.y + ? 0 > h.dataSeries.axisY.viewportMinimum && + h.dataSeries.axisY.viewportMaximum >= h.dataPoint.y && + g.push(h) + : h.dataSeries.axisY.viewportMinimum <= h.dataPoint.y && + 0 <= h.dataSeries.axisY.viewportMaximum && + g.push(h) + : "bubble" === e.type + ? ((b = + this.chart._eventManager.objectMap[ + e.dataPointIds[h.index] + ].size / 2), + h.dataPoint.y >= h.dataSeries.axisY.viewportMinimum - b && + h.dataPoint.y <= + h.dataSeries.axisY.viewportMaximum + b && + g.push(h)) + : "waterfall" === e.type + ? ((b = 0), + h.cumulativeSumYStartValue < + h.dataSeries.axisY.viewportMinimum + ? b-- + : h.cumulativeSumYStartValue > + h.dataSeries.axisY.viewportMaximum && b++, + h.cumulativeSum < h.dataSeries.axisY.viewportMinimum + ? b-- + : h.cumulativeSum > + h.dataSeries.axisY.viewportMaximum && b++, + 2 > b && -2 < b && g.push(h)) + : (0 <= h.dataSeries.type.indexOf("100") || + "stackedColumn" === e.type || + "stackedBar" === e.type || + (h.dataPoint.y >= h.dataSeries.axisY.viewportMinimum && + h.dataPoint.y <= + h.dataSeries.axisY.viewportMaximum)) && + g.push(h); + else g.push(h); + } + } + if (0 < g.length && (this.highlightObjects(g), this.enabled)) + if ( + ((b = ""), + (b = this.getToolTipInnerHTML({ entries: g })), + null !== b) + ) { + this.contentDiv.innerHTML = b; + b = !1; + "none" === this.container.style.display && + ((b = !0), (this.container.style.display = "block")); + try { + (this.contentDiv.style.background = this.backgroundColor + ? this.backgroundColor + : r + ? "rgba(255,255,255,.9)" + : "rgb(255,255,255)"), + (this.borderColor = + "waterfall" === g[0].dataSeries.type + ? (this.contentDiv.style.borderRightColor = + this.contentDiv.style.borderLeftColor = + this.contentDiv.style.borderColor = + this.options.borderColor + ? this.options.borderColor + : g[0].dataPoint.color + ? g[0].dataPoint.color + : 0 < g[0].dataPoint.y + ? g[0].dataSeries.risingColor + : g[0].dataSeries.fallingColor) + : "error" === g[0].dataSeries.type + ? (this.contentDiv.style.borderRightColor = + this.contentDiv.style.borderLeftColor = + this.contentDiv.style.borderColor = + this.options.borderColor + ? this.options.borderColor + : g[0].dataSeries.color + ? g[0].dataSeries.color + : g[0].dataSeries._colorSet[ + e.index % g[0].dataSeries._colorSet.length + ]) + : (this.contentDiv.style.borderRightColor = + this.contentDiv.style.borderLeftColor = + this.contentDiv.style.borderColor = + this.options.borderColor + ? this.options.borderColor + : g[0].dataPoint.color + ? g[0].dataPoint.color + : g[0].dataSeries.color + ? g[0].dataSeries.color + : g[0].dataSeries._colorSet[ + g[0].index % g[0].dataSeries._colorSet.length + ])), + (this.contentDiv.style.borderWidth = + this.borderThickness || 0 === this.borderThickness + ? this.borderThickness + "px" + : "2px"), + (this.contentDiv.style.borderRadius = + this.cornerRadius || 0 === this.cornerRadius + ? this.cornerRadius + "px" + : "5px"), + (this.container.style.borderRadius = + this.contentDiv.style.borderRadius), + (this.contentDiv.style.fontSize = + this.fontSize || 0 === this.fontSize + ? this.fontSize + "px" + : "14px"), + (this.contentDiv.style.color = this.fontColor + ? this.fontColor + : "#000000"), + (this.contentDiv.style.fontFamily = this.fontFamily + ? this.fontFamily + : "Calibri, Arial, Georgia, serif;"), + (this.contentDiv.style.fontWeight = this.fontWeight + ? this.fontWeight + : "normal"), + (this.contentDiv.style.fontStyle = this.fontStyle + ? this.fontStyle + : r + ? "italic" + : "normal"); + } catch (s) {} + "pie" === g[0].dataSeries.type || + "doughnut" === g[0].dataSeries.type || + "funnel" === g[0].dataSeries.type || + "pyramid" === g[0].dataSeries.type || + "bar" === g[0].dataSeries.type || + "rangeBar" === g[0].dataSeries.type || + "stackedBar" === g[0].dataSeries.type || + "stackedBar100" === g[0].dataSeries.type + ? (a = a - 10 - this.container.clientWidth) + : ((a = + (g[0].dataSeries.axisX.convertValueToPixel(g[0].dataPoint.x) - + this.container.clientWidth) << + 0), + (a -= 10)); + 0 > a && (a += this.container.clientWidth + 20); + a + this.container.clientWidth > + Math.max(this.chart.container.clientWidth, this.chart.width) && + (a = Math.max( + 0, + Math.max(this.chart.container.clientWidth, this.chart.width) - + this.container.clientWidth + )); + d = + 1 !== g.length || + this.shared || + ("line" !== g[0].dataSeries.type && + "stepLine" !== g[0].dataSeries.type && + "spline" !== g[0].dataSeries.type && + "area" !== g[0].dataSeries.type && + "stepArea" !== g[0].dataSeries.type && + "splineArea" !== g[0].dataSeries.type) + ? "bar" === g[0].dataSeries.type || + "rangeBar" === g[0].dataSeries.type || + "stackedBar" === g[0].dataSeries.type || + "stackedBar100" === g[0].dataSeries.type + ? g[0].dataSeries.axisX.convertValueToPixel(g[0].dataPoint.x) + : d + : g[0].dataSeries.axisY.convertValueToPixel(g[0].dataPoint.y); + d = -d + 10; + 0 < d + this.container.clientHeight + 5 && + (d -= d + this.container.clientHeight + 5 - 0); + this.fixMozTransitionDelay(a, d); + !this.animationEnabled || b + ? this.disableAnimation() + : (this.enableAnimation(), + (this.container.style.MozTransition = + this.mozContainerTransition)); + this.container.style.left = a + "px"; + this.container.style.bottom = d + "px"; + } else this.hide(!1); + } + }; + $.prototype.highlightObjects = function (a) { + var d = this.chart.overlaidCanvasCtx; + this.chart.resetOverlayedCanvas(); + d.clearRect(0, 0, this.chart.width, this.chart.height); + d.save(); + var b = this.chart.plotArea, + c = 0; + d.beginPath(); + d.rect(b.x1, b.y1, b.x2 - b.x1, b.y2 - b.y1); + d.clip(); + for (b = 0; b < a.length; b++) { + var e = a[b]; + if ( + (e = + this.chart._eventManager.objectMap[ + e.dataSeries.dataPointIds[e.index] + ]) && + e.objectType && + "dataPoint" === e.objectType + ) { + var c = this.chart.data[e.dataSeriesIndex], + g = c.dataPoints[e.dataPointIndex], + k = e.dataPointIndex; + !1 === g.highlightEnabled || + (!0 !== c.highlightEnabled && !0 !== g.highlightEnabled) || + ("line" === c.type || + "stepLine" === c.type || + "spline" === c.type || + "scatter" === c.type || + "area" === c.type || + "stepArea" === c.type || + "splineArea" === c.type || + "stackedArea" === c.type || + "stackedArea100" === c.type || + "rangeArea" === c.type || + "rangeSplineArea" === c.type + ? ((g = c.getMarkerProperties( + k, + e.x1, + e.y1, + this.chart.overlaidCanvasCtx + )), + (g.size = Math.max((1.5 * g.size) << 0, 10)), + (g.borderColor = g.borderColor || "#FFFFFF"), + (g.borderThickness = + g.borderThickness || Math.ceil(0.1 * g.size)), + ia.drawMarkers([g]), + "undefined" !== typeof e.y2 && + ((g = c.getMarkerProperties( + k, + e.x1, + e.y2, + this.chart.overlaidCanvasCtx + )), + (g.size = Math.max((1.5 * g.size) << 0, 10)), + (g.borderColor = g.borderColor || "#FFFFFF"), + (g.borderThickness = + g.borderThickness || Math.ceil(0.1 * g.size)), + ia.drawMarkers([g]))) + : "bubble" === c.type + ? ((g = c.getMarkerProperties( + k, + e.x1, + e.y1, + this.chart.overlaidCanvasCtx + )), + (g.size = e.size), + (g.color = "white"), + (g.borderColor = "white"), + (d.globalAlpha = 0.3), + ia.drawMarkers([g]), + (d.globalAlpha = 1)) + : "column" === c.type || + "stackedColumn" === c.type || + "stackedColumn100" === c.type || + "bar" === c.type || + "rangeBar" === c.type || + "stackedBar" === c.type || + "stackedBar100" === c.type || + "rangeColumn" === c.type || + "waterfall" === c.type + ? ea( + d, + e.x1, + e.y1, + e.x2, + e.y2, + "white", + 0, + null, + !1, + !1, + !1, + !1, + 0.3 + ) + : "pie" === c.type || "doughnut" === c.type + ? ja( + d, + e.center, + e.radius, + "white", + c.type, + e.startAngle, + e.endAngle, + 0.3, + e.percentInnerRadius + ) + : "funnel" === c.type || "pyramid" === c.type + ? ra(d, e.funnelSection, 0.3, "white") + : "candlestick" === c.type + ? ((d.globalAlpha = 1), + (d.strokeStyle = e.color), + (d.lineWidth = 2 * e.borderThickness), + (c = 0 === d.lineWidth % 2 ? 0 : 0.5), + d.beginPath(), + d.moveTo(e.x3 - c, Math.min(e.y2, e.y3)), + d.lineTo(e.x3 - c, Math.min(e.y1, e.y4)), + d.stroke(), + d.beginPath(), + d.moveTo(e.x3 - c, Math.max(e.y1, e.y4)), + d.lineTo(e.x3 - c, Math.max(e.y2, e.y3)), + d.stroke(), + ea( + d, + e.x1, + Math.min(e.y1, e.y4), + e.x2, + Math.max(e.y1, e.y4), + "transparent", + 2 * e.borderThickness, + e.color, + !1, + !1, + !1, + !1 + ), + (d.globalAlpha = 1)) + : "ohlc" === c.type + ? ((d.globalAlpha = 1), + (d.strokeStyle = e.color), + (d.lineWidth = 2 * e.borderThickness), + (c = 0 === d.lineWidth % 2 ? 0 : 0.5), + d.beginPath(), + d.moveTo(e.x3 - c, e.y2), + d.lineTo(e.x3 - c, e.y3), + d.stroke(), + d.beginPath(), + d.moveTo(e.x3, e.y1), + d.lineTo(e.x1, e.y1), + d.stroke(), + d.beginPath(), + d.moveTo(e.x3, e.y4), + d.lineTo(e.x2, e.y4), + d.stroke(), + (d.globalAlpha = 1)) + : "boxAndWhisker" === c.type + ? (d.save(), + (d.globalAlpha = 1), + (d.strokeStyle = e.stemColor), + (d.lineWidth = 2 * e.stemThickness), + 0 < e.stemThickness && + (d.beginPath(), + d.moveTo(e.x3, e.y2 + e.borderThickness / 2), + d.lineTo(e.x3, e.y1 + e.whiskerThickness / 2), + d.stroke(), + d.beginPath(), + d.moveTo(e.x3, e.y4 - e.whiskerThickness / 2), + d.lineTo(e.x3, e.y3 - e.borderThickness / 2), + d.stroke()), + d.beginPath(), + ea( + d, + e.x1 - e.borderThickness / 2, + Math.max( + e.y2 + e.borderThickness / 2, + e.y3 + e.borderThickness / 2 + ), + e.x2 + e.borderThickness / 2, + Math.min( + e.y2 - e.borderThickness / 2, + e.y3 - e.borderThickness / 2 + ), + "transparent", + e.borderThickness, + e.color, + !1, + !1, + !1, + !1 + ), + (d.globalAlpha = 1), + (d.strokeStyle = e.whiskerColor), + (d.lineWidth = 2 * e.whiskerThickness), + 0 < e.whiskerThickness && + (d.beginPath(), + d.moveTo(Math.floor(e.x3 - e.whiskerLength / 2), e.y4), + d.lineTo(Math.ceil(e.x3 + e.whiskerLength / 2), e.y4), + d.stroke(), + d.beginPath(), + d.moveTo(Math.floor(e.x3 - e.whiskerLength / 2), e.y1), + d.lineTo(Math.ceil(e.x3 + e.whiskerLength / 2), e.y1), + d.stroke()), + (d.globalAlpha = 1), + (d.strokeStyle = e.lineColor), + (d.lineWidth = 2 * e.lineThickness), + 0 < e.lineThickness && + (d.beginPath(), + d.moveTo(e.x1, e.y5), + d.lineTo(e.x2, e.y5), + d.stroke()), + d.restore(), + (d.globalAlpha = 1)) + : "error" === c.type && + E( + d, + e.x1, + e.y1, + e.x2, + e.y2, + "white", + e.whiskerProperties, + e.stemProperties, + e.isXYSwapped, + 0.3 + )); + } + } + d.restore(); + d.globalAlpha = 1; + d.beginPath(); + }; + $.prototype.getToolTipInnerHTML = function (a) { + a = a.entries; + for ( + var d = null, b = null, c = null, e = 0, g = "", k = !0, l = 0; + l < a.length; + l++ + ) + if (a[l].dataSeries.toolTipContent || a[l].dataPoint.toolTipContent) { + k = !1; + break; + } + if ( + k && + ((this.content && "function" === typeof this.content) || + this.contentFormatter) + ) + (a = { chart: this.chart, toolTip: this.options, entries: a }), + (d = this.contentFormatter + ? this.contentFormatter(a) + : this.content(a)); + else if (this.shared && "none" !== this.chart.plotInfo.axisPlacement) { + for (var p = null, h = "", l = 0; l < a.length; l++) + (b = a[l].dataSeries), + (c = a[l].dataPoint), + (e = a[l].index), + (g = ""), + 0 === l && + k && + !this.content && + (this.chart.axisX && 0 < this.chart.axisX.length + ? (h += + "undefined" !== typeof this.chart.axisX[0].labels[c.x] + ? this.chart.axisX[0].labels[c.x] + : "{x}") + : this.chart.axisX2 && + 0 < this.chart.axisX2.length && + (h += + "undefined" !== typeof this.chart.axisX2[0].labels[c.x] + ? this.chart.axisX2[0].labels[c.x] + : "{x}"), + (h += "
"), + (h = this.chart.replaceKeywordsWithValue(h, c, b, e))), + null === c.toolTipContent || + ("undefined" === typeof c.toolTipContent && + null === b.options.toolTipContent) || + ("line" === b.type || + "stepLine" === b.type || + "spline" === b.type || + "area" === b.type || + "stepArea" === b.type || + "splineArea" === b.type || + "column" === b.type || + "bar" === b.type || + "scatter" === b.type || + "stackedColumn" === b.type || + "stackedColumn100" === b.type || + "stackedBar" === b.type || + "stackedBar100" === b.type || + "stackedArea" === b.type || + "stackedArea100" === b.type || + "waterfall" === b.type + ? (this.chart.axisX && + 1 < this.chart.axisX.length && + (g += + p != b.axisXIndex + ? b.axisX.title + ? b.axisX.title + "
" + : "X:{axisXIndex}
" + : ""), + (g += c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "{name}:  {y}"), + (p = b.axisXIndex)) + : "bubble" === b.type + ? (this.chart.axisX && + 1 < this.chart.axisX.length && + (g += + p != b.axisXIndex + ? b.axisX.title + ? b.axisX.title + "
" + : "X:{axisXIndex}
" + : ""), + (g += c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "{name}:  {y},   {z}")) + : "rangeColumn" === b.type || + "rangeBar" === b.type || + "rangeArea" === b.type || + "rangeSplineArea" === b.type || + "error" === b.type + ? (this.chart.axisX && + 1 < this.chart.axisX.length && + (g += + p != b.axisXIndex + ? b.axisX.title + ? b.axisX.title + "
" + : "X:{axisXIndex}
" + : ""), + (g += c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "{name}:  {y[0]}, {y[1]}")) + : "candlestick" === b.type || "ohlc" === b.type + ? (this.chart.axisX && + 1 < this.chart.axisX.length && + (g += + p != b.axisXIndex + ? b.axisX.title + ? b.axisX.title + "
" + : "X:{axisXIndex}
" + : ""), + (g += c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "{name}:
Open:   {y[0]}
High:    {y[1]}
Low:   {y[2]}
Close:   {y[3]}")) + : "boxAndWhisker" === b.type && + (this.chart.axisX && + 1 < this.chart.axisX.length && + (g += + p != b.axisXIndex + ? b.axisX.title + ? b.axisX.title + "
" + : "X:{axisXIndex}
" + : ""), + (g += c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "{name}:
Minimum:   {y[0]}
Q1:               {y[1]}
Q2:               {y[4]}
Q3:               {y[2]}
Maximum:  {y[3]}")), + null === d && (d = ""), + !0 === this.reversed + ? ((d = this.chart.replaceKeywordsWithValue(g, c, b, e) + d), + l < a.length - 1 && (d = "
" + d)) + : ((d += this.chart.replaceKeywordsWithValue(g, c, b, e)), + l < a.length - 1 && (d += "
"))); + null !== d && (d = h + d); + } else { + b = a[0].dataSeries; + c = a[0].dataPoint; + e = a[0].index; + if ( + null === c.toolTipContent || + ("undefined" === typeof c.toolTipContent && + null === b.options.toolTipContent) + ) + return null; + "line" === b.type || + "stepLine" === b.type || + "spline" === b.type || + "area" === b.type || + "stepArea" === b.type || + "splineArea" === b.type || + "column" === b.type || + "bar" === b.type || + "scatter" === b.type || + "stackedColumn" === b.type || + "stackedColumn100" === b.type || + "stackedBar" === b.type || + "stackedBar100" === b.type || + "stackedArea" === b.type || + "stackedArea100" === b.type || + "waterfall" === b.type + ? (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.label ? "{label}" : "{x}") + + ":  {y}") + : "bubble" === b.type + ? (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.label ? "{label}" : "{x}") + + ":  {y},   {z}") + : "pie" === b.type || + "doughnut" === b.type || + "funnel" === b.type || + "pyramid" === b.type + ? (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.name + ? "{name}:  " + : c.label + ? "{label}:  " + : "") + + "{y}") + : "rangeColumn" === b.type || + "rangeBar" === b.type || + "rangeArea" === b.type || + "rangeSplineArea" === b.type || + "error" === b.type + ? (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.label ? "{label}" : "{x}") + + " :  {y[0]},  {y[1]}") + : "candlestick" === b.type || "ohlc" === b.type + ? (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.label ? "{label}" : "{x}") + + "
Open:   {y[0]}
High:    {y[1]}
Low:     {y[2]}
Close:   {y[3]}") + : "boxAndWhisker" === b.type && + (g = c.toolTipContent + ? c.toolTipContent + : b.toolTipContent + ? b.toolTipContent + : this.content && "function" !== typeof this.content + ? this.content + : "" + + (c.label ? "{label}" : "{x}") + + "
Minimum:   {y[0]}
Q1:               {y[1]}
Q2:               {y[4]}
Q3:               {y[2]}
Maximum:  {y[3]}"); + null === d && (d = ""); + d += this.chart.replaceKeywordsWithValue(g, c, b, e); + } + return d; + }; + $.prototype.enableAnimation = function () { + if (!this.container.style.WebkitTransition) { + var a = this.getContainerTransition(this.containerTransitionDuration); + this.container.style.WebkitTransition = a; + this.container.style.MsTransition = a; + this.container.style.transition = a; + this.container.style.MozTransition = this.mozContainerTransition; + } + }; + $.prototype.disableAnimation = function () { + this.container.style.WebkitTransition && + ((this.container.style.WebkitTransition = ""), + (this.container.style.MozTransition = ""), + (this.container.style.MsTransition = ""), + (this.container.style.transition = "")); + }; + $.prototype.hide = function (a) { + this.container && + ((this.container.style.display = "none"), + (this.currentSeriesIndex = -1), + (this._prevY = this._prevX = NaN), + ("undefined" === typeof a || a) && this.chart.resetOverlayedCanvas()); + }; + $.prototype.show = function (a, d, b) { + this._updateToolTip(a, d, "undefined" === typeof b ? !1 : b); + }; + $.prototype.fixMozTransitionDelay = function (a, d) { + if (20 < this.chart._eventManager.lastObjectId) + this.mozContainerTransition = this.getContainerTransition(0); + else { + var b = parseFloat(this.container.style.left), + b = isNaN(b) ? 0 : b, + c = parseFloat(this.container.style.bottom), + c = isNaN(c) ? 0 : c; + 10 < Math.sqrt(Math.pow(b - a, 2) + Math.pow(c - d, 2)) + ? (this.mozContainerTransition = this.getContainerTransition(0.1)) + : (this.mozContainerTransition = this.getContainerTransition(0)); + } + }; + $.prototype.getContainerTransition = function (a) { + return "left " + a + "s ease-out 0s, bottom " + a + "s ease-out 0s"; + }; + ha.prototype.reset = function () { + this.lastObjectId = 0; + this.objectMap = []; + this.rectangularRegionEventSubscriptions = []; + this.previousDataPointEventObject = null; + this.eventObjects = []; + r && + (this.ghostCtx.clearRect(0, 0, this.chart.width, this.chart.height), + this.ghostCtx.beginPath()); + }; + ha.prototype.getNewObjectTrackingId = function () { + return ++this.lastObjectId; + }; + ha.prototype.mouseEventHandler = function (a) { + if ("mousemove" === a.type || "click" === a.type) { + var d = [], + b = Ra(a), + c = null; + if ( + (c = this.chart.getObjectAtXY(b.x, b.y, !1)) && + "undefined" !== typeof this.objectMap[c] + ) + if (((c = this.objectMap[c]), "dataPoint" === c.objectType)) { + var e = this.chart.data[c.dataSeriesIndex], + g = e.dataPoints[c.dataPointIndex], + k = c.dataPointIndex; + c.eventParameter = { + x: b.x, + y: b.y, + dataPoint: g, + dataSeries: e.options, + dataPointIndex: k, + dataSeriesIndex: e.index, + chart: this.chart, + }; + c.eventContext = { + context: g, + userContext: g, + mouseover: "mouseover", + mousemove: "mousemove", + mouseout: "mouseout", + click: "click", + }; + d.push(c); + c = this.objectMap[e.id]; + c.eventParameter = { + x: b.x, + y: b.y, + dataPoint: g, + dataSeries: e.options, + dataPointIndex: k, + dataSeriesIndex: e.index, + chart: this.chart, + }; + c.eventContext = { + context: e, + userContext: e.options, + mouseover: "mouseover", + mousemove: "mousemove", + mouseout: "mouseout", + click: "click", + }; + d.push(this.objectMap[e.id]); + } else + "legendItem" === c.objectType && + ((e = this.chart.data[c.dataSeriesIndex]), + (g = + null !== c.dataPointIndex + ? e.dataPoints[c.dataPointIndex] + : null), + (c.eventParameter = { + x: b.x, + y: b.y, + dataSeries: e.options, + dataPoint: g, + dataPointIndex: c.dataPointIndex, + dataSeriesIndex: c.dataSeriesIndex, + chart: this.chart, + }), + (c.eventContext = { + context: this.chart.legend, + userContext: this.chart.legend.options, + mouseover: "itemmouseover", + mousemove: "itemmousemove", + mouseout: "itemmouseout", + click: "itemclick", + }), + d.push(c)); + e = []; + for (b = 0; b < this.mouseoveredObjectMaps.length; b++) { + g = !0; + for (c = 0; c < d.length; c++) + if (d[c].id === this.mouseoveredObjectMaps[b].id) { + g = !1; + break; + } + g + ? this.fireEvent(this.mouseoveredObjectMaps[b], "mouseout", a) + : e.push(this.mouseoveredObjectMaps[b]); + } + this.mouseoveredObjectMaps = e; + for (b = 0; b < d.length; b++) { + e = !1; + for (c = 0; c < this.mouseoveredObjectMaps.length; c++) + if (d[b].id === this.mouseoveredObjectMaps[c].id) { + e = !0; + break; + } + e || + (this.fireEvent(d[b], "mouseover", a), + this.mouseoveredObjectMaps.push(d[b])); + "click" === a.type + ? this.fireEvent(d[b], "click", a) + : "mousemove" === a.type && this.fireEvent(d[b], "mousemove", a); + } + } + }; + ha.prototype.fireEvent = function (a, d, b) { + if (a && d) { + var c = a.eventParameter, + e = a.eventContext, + g = a.eventContext.userContext; + g && e && g[e[d]] && g[e[d]].call(g, c); + "mouseout" !== d + ? g.cursor && + g.cursor !== b.target.style.cursor && + (b.target.style.cursor = g.cursor) + : ((b.target.style.cursor = this.chart._defaultCursor), + delete a.eventParameter, + delete a.eventContext); + "click" === d && + "dataPoint" === a.objectType && + this.chart.pieDoughnutClickHandler && + this.chart.pieDoughnutClickHandler.call( + this.chart.data[a.dataSeriesIndex], + c + ); + "click" === d && + "dataPoint" === a.objectType && + this.chart.funnelPyramidClickHandler && + this.chart.funnelPyramidClickHandler.call( + this.chart.data[a.dataSeriesIndex], + c + ); + } + }; + ga.prototype.animate = function (a, d, b, c, e) { + var g = this; + this.chart.isAnimating = !0; + e = e || M.easing.linear; + b && + this.animations.push({ + startTime: new Date().getTime() + (a ? a : 0), + duration: d, + animationCallback: b, + onComplete: c, + }); + for (a = []; 0 < this.animations.length; ) + if ( + ((d = this.animations.shift()), + (b = new Date().getTime()), + (c = 0), + d.startTime <= b && + ((c = e(Math.min(b - d.startTime, d.duration), 0, 1, d.duration)), + (c = Math.min(c, 1)), + isNaN(c) || !isFinite(c)) && + (c = 1), + 1 > c && a.push(d), + d.animationCallback(c), + 1 <= c && d.onComplete) + ) + d.onComplete(); + this.animations = a; + 0 < this.animations.length + ? (this.animationRequestId = this.chart.requestAnimFrame.call( + window, + function () { + g.animate.call(g); + } + )) + : (this.chart.isAnimating = !1); + }; + ga.prototype.cancelAllAnimations = function () { + this.animations = []; + this.animationRequestId && + this.chart.cancelRequestAnimFrame.call(window, this.animationRequestId); + this.animationRequestId = null; + this.chart.isAnimating = !1; + }; + var M = { + yScaleAnimation: function (a, d) { + if (0 !== a) { + var b = d.dest, + c = d.source.canvas, + e = d.animationBase; + b.drawImage( + c, + 0, + 0, + c.width, + c.height, + 0, + e - e * a, + b.canvas.width / W, + (a * b.canvas.height) / W + ); + } + }, + xScaleAnimation: function (a, d) { + if (0 !== a) { + var b = d.dest, + c = d.source.canvas, + e = d.animationBase; + b.drawImage( + c, + 0, + 0, + c.width, + c.height, + e - e * a, + 0, + (a * b.canvas.width) / W, + b.canvas.height / W + ); + } + }, + xClipAnimation: function (a, d) { + if (0 !== a) { + var b = d.dest, + c = d.source.canvas; + b.save(); + 0 < a && + b.drawImage( + c, + 0, + 0, + c.width * a, + c.height, + 0, + 0, + (c.width * a) / W, + c.height / W + ); + b.restore(); + } + }, + fadeInAnimation: function (a, d) { + if (0 !== a) { + var b = d.dest, + c = d.source.canvas; + b.save(); + b.globalAlpha = a; + b.drawImage( + c, + 0, + 0, + c.width, + c.height, + 0, + 0, + b.canvas.width / W, + b.canvas.height / W + ); + b.restore(); + } + }, + easing: { + linear: function (a, d, b, c) { + return (b * a) / c + d; + }, + easeOutQuad: function (a, d, b, c) { + return -b * (a /= c) * (a - 2) + d; + }, + easeOutQuart: function (a, d, b, c) { + return -b * ((a = a / c - 1) * a * a * a - 1) + d; + }, + easeInQuad: function (a, d, b, c) { + return b * (a /= c) * a + d; + }, + easeInQuart: function (a, d, b, c) { + return b * (a /= c) * a * a * a + d; + }, + }, + }, + ia = { + drawMarker: function (a, d, b, c, e, g, k, l) { + if (b) { + var p = 1; + b.fillStyle = g ? g : "#000000"; + b.strokeStyle = k ? k : "#000000"; + b.lineWidth = l ? l : 0; + b.setLineDash && b.setLineDash(R("solid", l)); + "circle" === c + ? (b.moveTo(a, d), + b.beginPath(), + b.arc(a, d, e / 2, 0, 2 * Math.PI, !1), + g && b.fill(), + l && + (k + ? b.stroke() + : ((p = b.globalAlpha), + (b.globalAlpha = 0.15), + (b.strokeStyle = "black"), + b.stroke(), + (b.globalAlpha = p)))) + : "square" === c + ? (b.beginPath(), + b.rect(a - e / 2, d - e / 2, e, e), + g && b.fill(), + l && + (k + ? b.stroke() + : ((p = b.globalAlpha), + (b.globalAlpha = 0.15), + (b.strokeStyle = "black"), + b.stroke(), + (b.globalAlpha = p)))) + : "triangle" === c + ? (b.beginPath(), + b.moveTo(a - e / 2, d + e / 2), + b.lineTo(a + e / 2, d + e / 2), + b.lineTo(a, d - e / 2), + b.closePath(), + g && b.fill(), + l && + (k + ? b.stroke() + : ((p = b.globalAlpha), + (b.globalAlpha = 0.15), + (b.strokeStyle = "black"), + b.stroke(), + (b.globalAlpha = p))), + b.beginPath()) + : "cross" === c && + ((b.strokeStyle = g), + (b.lineWidth = e / 4), + b.beginPath(), + b.moveTo(a - e / 2, d - e / 2), + b.lineTo(a + e / 2, d + e / 2), + b.stroke(), + b.moveTo(a + e / 2, d - e / 2), + b.lineTo(a - e / 2, d + e / 2), + b.stroke()); + } + }, + drawMarkers: function (a) { + for (var d = 0; d < a.length; d++) { + var b = a[d]; + ia.drawMarker( + b.x, + b.y, + b.ctx, + b.type, + b.size, + b.color, + b.borderColor, + b.borderThickness + ); + } + }, + }; + return p; + })(); + Na.Chart.version = "v2.3.1 GA"; +})(); + +/* + excanvas is used to support IE678 which do not implement HTML5 Canvas Element. You can safely remove the following excanvas code if you don't need to support older browsers. + + Copyright 2006 Google Inc. https://code.google.com/p/explorercanvas/ + Licensed under the Apache License, Version 2.0 +*/ +document.createElement("canvas").getContext || + (function () { + function V() { + return this.context_ || (this.context_ = new C(this)); + } + function W(a, b, c) { + var g = M.call(arguments, 2); + return function () { + return a.apply(b, g.concat(M.call(arguments))); + }; + } + function N(a) { + return String(a).replace(/&/g, "&").replace(/"/g, """); + } + function O(a) { + a.namespaces.g_vml_ || + a.namespaces.add( + "g_vml_", + "urn:schemas-microsoft-com:vml", + "#default#VML" + ); + a.namespaces.g_o_ || + a.namespaces.add( + "g_o_", + "urn:schemas-microsoft-com:office:office", + "#default#VML" + ); + a.styleSheets.ex_canvas_ || + ((a = a.createStyleSheet()), + (a.owningElement.id = "ex_canvas_"), + (a.cssText = + "canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}")); + } + function X(a) { + var b = a.srcElement; + switch (a.propertyName) { + case "width": + b.getContext().clearRect(); + b.style.width = b.attributes.width.nodeValue + "px"; + b.firstChild.style.width = b.clientWidth + "px"; + break; + case "height": + b.getContext().clearRect(), + (b.style.height = b.attributes.height.nodeValue + "px"), + (b.firstChild.style.height = b.clientHeight + "px"); + } + } + function Y(a) { + a = a.srcElement; + a.firstChild && + ((a.firstChild.style.width = a.clientWidth + "px"), + (a.firstChild.style.height = a.clientHeight + "px")); + } + function D() { + return [ + [1, 0, 0], + [0, 1, 0], + [0, 0, 1], + ]; + } + function t(a, b) { + for (var c = D(), g = 0; 3 > g; g++) + for (var e = 0; 3 > e; e++) { + for (var f = 0, d = 0; 3 > d; d++) f += a[g][d] * b[d][e]; + c[g][e] = f; + } + return c; + } + function P(a, b) { + b.fillStyle = a.fillStyle; + b.lineCap = a.lineCap; + b.lineJoin = a.lineJoin; + b.lineWidth = a.lineWidth; + b.miterLimit = a.miterLimit; + b.shadowBlur = a.shadowBlur; + b.shadowColor = a.shadowColor; + b.shadowOffsetX = a.shadowOffsetX; + b.shadowOffsetY = a.shadowOffsetY; + b.strokeStyle = a.strokeStyle; + b.globalAlpha = a.globalAlpha; + b.font = a.font; + b.textAlign = a.textAlign; + b.textBaseline = a.textBaseline; + b.arcScaleX_ = a.arcScaleX_; + b.arcScaleY_ = a.arcScaleY_; + b.lineScale_ = a.lineScale_; + } + function Q(a) { + var b = a.indexOf("(", 3), + c = a.indexOf(")", b + 1), + b = a.substring(b + 1, c).split(","); + if (4 != b.length || "a" != a.charAt(3)) b[3] = 1; + return b; + } + function E(a, b, c) { + return Math.min(c, Math.max(b, a)); + } + function F(a, b, c) { + 0 > c && c++; + 1 < c && c--; + return 1 > 6 * c + ? a + 6 * (b - a) * c + : 1 > 2 * c + ? b + : 2 > 3 * c + ? a + 6 * (b - a) * (2 / 3 - c) + : a; + } + function G(a) { + if (a in H) return H[a]; + var b, + c = 1; + a = String(a); + if ("#" == a.charAt(0)) b = a; + else if (/^rgb/.test(a)) { + c = Q(a); + b = "#"; + for (var g, e = 0; 3 > e; e++) + (g = + -1 != c[e].indexOf("%") + ? Math.floor(255 * (parseFloat(c[e]) / 100)) + : +c[e]), + (b += v[E(g, 0, 255)]); + c = +c[3]; + } else if (/^hsl/.test(a)) { + e = c = Q(a); + b = (parseFloat(e[0]) / 360) % 360; + 0 > b && b++; + g = E(parseFloat(e[1]) / 100, 0, 1); + e = E(parseFloat(e[2]) / 100, 0, 1); + if (0 == g) g = e = b = e; + else { + var f = 0.5 > e ? e * (1 + g) : e + g - e * g, + d = 2 * e - f; + g = F(d, f, b + 1 / 3); + e = F(d, f, b); + b = F(d, f, b - 1 / 3); + } + b = + "#" + + v[Math.floor(255 * g)] + + v[Math.floor(255 * e)] + + v[Math.floor(255 * b)]; + c = c[3]; + } else b = Z[a] || a; + return (H[a] = { color: b, alpha: c }); + } + function C(a) { + this.m_ = D(); + this.mStack_ = []; + this.aStack_ = []; + this.currentPath_ = []; + this.fillStyle = this.strokeStyle = "#000"; + this.lineWidth = 1; + this.lineJoin = "miter"; + this.lineCap = "butt"; + this.miterLimit = 1 * q; + this.globalAlpha = 1; + this.font = "10px sans-serif"; + this.textAlign = "left"; + this.textBaseline = "alphabetic"; + this.canvas = a; + var b = + "width:" + + a.clientWidth + + "px;height:" + + a.clientHeight + + "px;overflow:hidden;position:absolute", + c = a.ownerDocument.createElement("div"); + c.style.cssText = b; + a.appendChild(c); + b = c.cloneNode(!1); + b.style.backgroundColor = "red"; + b.style.filter = "alpha(opacity=0)"; + a.appendChild(b); + this.element_ = c; + this.lineScale_ = this.arcScaleY_ = this.arcScaleX_ = 1; + } + function R(a, b, c, g) { + a.currentPath_.push({ + type: "bezierCurveTo", + cp1x: b.x, + cp1y: b.y, + cp2x: c.x, + cp2y: c.y, + x: g.x, + y: g.y, + }); + a.currentX_ = g.x; + a.currentY_ = g.y; + } + function S(a, b) { + var c = G(a.strokeStyle), + g = c.color, + c = c.alpha * a.globalAlpha, + e = a.lineScale_ * a.lineWidth; + 1 > e && (c *= e); + b.push( + "' + ); + } + function T(a, b, c, g) { + var e = a.fillStyle, + f = a.arcScaleX_, + d = a.arcScaleY_, + k = g.x - c.x, + n = g.y - c.y; + if (e instanceof w) { + var h = 0, + l = (g = 0), + u = 0, + m = 1; + if ("gradient" == e.type_) { + h = e.x1_ / f; + c = e.y1_ / d; + var p = s(a, e.x0_ / f, e.y0_ / d), + h = s(a, h, c), + h = (180 * Math.atan2(h.x - p.x, h.y - p.y)) / Math.PI; + 0 > h && (h += 360); + 1e-6 > h && (h = 0); + } else + (p = s(a, e.x0_, e.y0_)), + (g = (p.x - c.x) / k), + (l = (p.y - c.y) / n), + (k /= f * q), + (n /= d * q), + (m = x.max(k, n)), + (u = (2 * e.r0_) / m), + (m = (2 * e.r1_) / m - u); + f = e.colors_; + f.sort(function (a, b) { + return a.offset - b.offset; + }); + d = f.length; + p = f[0].color; + c = f[d - 1].color; + k = f[0].alpha * a.globalAlpha; + a = f[d - 1].alpha * a.globalAlpha; + for (var n = [], r = 0; r < d; r++) { + var t = f[r]; + n.push(t.offset * m + u + " " + t.color); + } + b.push( + '' + ); + } else + e instanceof I + ? k && + n && + b.push( + "' + ) + : ((e = G(a.fillStyle)), + b.push( + '' + )); + } + function s(a, b, c) { + a = a.m_; + return { + x: q * (b * a[0][0] + c * a[1][0] + a[2][0]) - r, + y: q * (b * a[0][1] + c * a[1][1] + a[2][1]) - r, + }; + } + function z(a, b, c) { + isFinite(b[0][0]) && + isFinite(b[0][1]) && + isFinite(b[1][0]) && + isFinite(b[1][1]) && + isFinite(b[2][0]) && + isFinite(b[2][1]) && + ((a.m_ = b), + c && (a.lineScale_ = aa(ba(b[0][0] * b[1][1] - b[0][1] * b[1][0])))); + } + function w(a) { + this.type_ = a; + this.r1_ = this.y1_ = this.x1_ = this.r0_ = this.y0_ = this.x0_ = 0; + this.colors_ = []; + } + function I(a, b) { + if (!a || 1 != a.nodeType || "IMG" != a.tagName) + throw new A("TYPE_MISMATCH_ERR"); + if ("complete" != a.readyState) throw new A("INVALID_STATE_ERR"); + switch (b) { + case "repeat": + case null: + case "": + this.repetition_ = "repeat"; + break; + case "repeat-x": + case "repeat-y": + case "no-repeat": + this.repetition_ = b; + break; + default: + throw new A("SYNTAX_ERR"); + } + this.src_ = a.src; + this.width_ = a.width; + this.height_ = a.height; + } + function A(a) { + this.code = this[a]; + this.message = a + ": DOM Exception " + this.code; + } + var x = Math, + k = x.round, + J = x.sin, + K = x.cos, + ba = x.abs, + aa = x.sqrt, + q = 10, + r = q / 2; + navigator.userAgent.match(/MSIE ([\d.]+)?/); + var M = Array.prototype.slice; + O(document); + var U = { + init: function (a) { + a = a || document; + a.createElement("canvas"); + a.attachEvent("onreadystatechange", W(this.init_, this, a)); + }, + init_: function (a) { + a = a.getElementsByTagName("canvas"); + for (var b = 0; b < a.length; b++) this.initElement(a[b]); + }, + initElement: function (a) { + if (!a.getContext) { + a.getContext = V; + O(a.ownerDocument); + a.innerHTML = ""; + a.attachEvent("onpropertychange", X); + a.attachEvent("onresize", Y); + var b = a.attributes; + b.width && b.width.specified + ? (a.style.width = b.width.nodeValue + "px") + : (a.width = a.clientWidth); + b.height && b.height.specified + ? (a.style.height = b.height.nodeValue + "px") + : (a.height = a.clientHeight); + } + return a; + }, + }; + U.init(); + for (var v = [], d = 0; 16 > d; d++) + for (var B = 0; 16 > B; B++) + v[16 * d + B] = d.toString(16) + B.toString(16); + var Z = { + aliceblue: "#F0F8FF", + antiquewhite: "#FAEBD7", + aquamarine: "#7FFFD4", + azure: "#F0FFFF", + beige: "#F5F5DC", + bisque: "#FFE4C4", + black: "#000000", + blanchedalmond: "#FFEBCD", + blueviolet: "#8A2BE2", + brown: "#A52A2A", + burlywood: "#DEB887", + cadetblue: "#5F9EA0", + chartreuse: "#7FFF00", + chocolate: "#D2691E", + coral: "#FF7F50", + cornflowerblue: "#6495ED", + cornsilk: "#FFF8DC", + crimson: "#DC143C", + cyan: "#00FFFF", + darkblue: "#00008B", + darkcyan: "#008B8B", + darkgoldenrod: "#B8860B", + darkgray: "#A9A9A9", + darkgreen: "#006400", + darkgrey: "#A9A9A9", + darkkhaki: "#BDB76B", + darkmagenta: "#8B008B", + darkolivegreen: "#556B2F", + darkorange: "#FF8C00", + darkorchid: "#9932CC", + darkred: "#8B0000", + darksalmon: "#E9967A", + darkseagreen: "#8FBC8F", + darkslateblue: "#483D8B", + darkslategray: "#2F4F4F", + darkslategrey: "#2F4F4F", + darkturquoise: "#00CED1", + darkviolet: "#9400D3", + deeppink: "#FF1493", + deepskyblue: "#00BFFF", + dimgray: "#696969", + dimgrey: "#696969", + dodgerblue: "#1E90FF", + firebrick: "#B22222", + floralwhite: "#FFFAF0", + forestgreen: "#228B22", + gainsboro: "#DCDCDC", + ghostwhite: "#F8F8FF", + gold: "#FFD700", + goldenrod: "#DAA520", + grey: "#808080", + greenyellow: "#ADFF2F", + honeydew: "#F0FFF0", + hotpink: "#FF69B4", + indianred: "#CD5C5C", + indigo: "#4B0082", + ivory: "#FFFFF0", + khaki: "#F0E68C", + lavender: "#E6E6FA", + lavenderblush: "#FFF0F5", + lawngreen: "#7CFC00", + lemonchiffon: "#FFFACD", + lightblue: "#ADD8E6", + lightcoral: "#F08080", + lightcyan: "#E0FFFF", + lightgoldenrodyellow: "#FAFAD2", + lightgreen: "#90EE90", + lightgrey: "#D3D3D3", + lightpink: "#FFB6C1", + lightsalmon: "#FFA07A", + lightseagreen: "#20B2AA", + lightskyblue: "#87CEFA", + lightslategray: "#778899", + lightslategrey: "#778899", + lightsteelblue: "#B0C4DE", + lightyellow: "#FFFFE0", + limegreen: "#32CD32", + linen: "#FAF0E6", + magenta: "#FF00FF", + mediumaquamarine: "#66CDAA", + mediumblue: "#0000CD", + mediumorchid: "#BA55D3", + mediumpurple: "#9370DB", + mediumseagreen: "#3CB371", + mediumslateblue: "#7B68EE", + mediumspringgreen: "#00FA9A", + mediumturquoise: "#48D1CC", + mediumvioletred: "#C71585", + midnightblue: "#191970", + mintcream: "#F5FFFA", + mistyrose: "#FFE4E1", + moccasin: "#FFE4B5", + navajowhite: "#FFDEAD", + oldlace: "#FDF5E6", + olivedrab: "#6B8E23", + orange: "#FFA500", + orangered: "#FF4500", + orchid: "#DA70D6", + palegoldenrod: "#EEE8AA", + palegreen: "#98FB98", + paleturquoise: "#AFEEEE", + palevioletred: "#DB7093", + papayawhip: "#FFEFD5", + peachpuff: "#FFDAB9", + peru: "#CD853F", + pink: "#FFC0CB", + plum: "#DDA0DD", + powderblue: "#B0E0E6", + rosybrown: "#BC8F8F", + royalblue: "#4169E1", + saddlebrown: "#8B4513", + salmon: "#FA8072", + sandybrown: "#F4A460", + seagreen: "#2E8B57", + seashell: "#FFF5EE", + sienna: "#A0522D", + skyblue: "#87CEEB", + slateblue: "#6A5ACD", + slategray: "#708090", + slategrey: "#708090", + snow: "#FFFAFA", + springgreen: "#00FF7F", + steelblue: "#4682B4", + tan: "#D2B48C", + thistle: "#D8BFD8", + tomato: "#FF6347", + turquoise: "#40E0D0", + violet: "#EE82EE", + wheat: "#F5DEB3", + whitesmoke: "#F5F5F5", + yellowgreen: "#9ACD32", + }, + H = {}, + L = {}, + $ = { butt: "flat", round: "round" }, + d = C.prototype; + d.clearRect = function () { + this.textMeasureEl_ && + (this.textMeasureEl_.removeNode(!0), (this.textMeasureEl_ = null)); + this.element_.innerHTML = ""; + }; + d.beginPath = function () { + this.currentPath_ = []; + }; + d.moveTo = function (a, b) { + var c = s(this, a, b); + this.currentPath_.push({ type: "moveTo", x: c.x, y: c.y }); + this.currentX_ = c.x; + this.currentY_ = c.y; + }; + d.lineTo = function (a, b) { + var c = s(this, a, b); + this.currentPath_.push({ type: "lineTo", x: c.x, y: c.y }); + this.currentX_ = c.x; + this.currentY_ = c.y; + }; + d.bezierCurveTo = function (a, b, c, g, e, f) { + e = s(this, e, f); + a = s(this, a, b); + c = s(this, c, g); + R(this, a, c, e); + }; + d.quadraticCurveTo = function (a, b, c, g) { + a = s(this, a, b); + c = s(this, c, g); + g = { + x: this.currentX_ + (2 / 3) * (a.x - this.currentX_), + y: this.currentY_ + (2 / 3) * (a.y - this.currentY_), + }; + R( + this, + g, + { + x: g.x + (c.x - this.currentX_) / 3, + y: g.y + (c.y - this.currentY_) / 3, + }, + c + ); + }; + d.arc = function (a, b, c, g, e, f) { + c *= q; + var d = f ? "at" : "wa", + k = a + K(g) * c - r, + n = b + J(g) * c - r; + g = a + K(e) * c - r; + e = b + J(e) * c - r; + k != g || f || (k += 0.125); + a = s(this, a, b); + k = s(this, k, n); + g = s(this, g, e); + this.currentPath_.push({ + type: d, + x: a.x, + y: a.y, + radius: c, + xStart: k.x, + yStart: k.y, + xEnd: g.x, + yEnd: g.y, + }); + }; + d.rect = function (a, b, c, g) { + this.moveTo(a, b); + this.lineTo(a + c, b); + this.lineTo(a + c, b + g); + this.lineTo(a, b + g); + this.closePath(); + }; + d.strokeRect = function (a, b, c, g) { + var e = this.currentPath_; + this.beginPath(); + this.moveTo(a, b); + this.lineTo(a + c, b); + this.lineTo(a + c, b + g); + this.lineTo(a, b + g); + this.closePath(); + this.stroke(); + this.currentPath_ = e; + }; + d.fillRect = function (a, b, c, g) { + var e = this.currentPath_; + this.beginPath(); + this.moveTo(a, b); + this.lineTo(a + c, b); + this.lineTo(a + c, b + g); + this.lineTo(a, b + g); + this.closePath(); + this.fill(); + this.currentPath_ = e; + }; + d.createLinearGradient = function (a, b, c, g) { + var e = new w("gradient"); + e.x0_ = a; + e.y0_ = b; + e.x1_ = c; + e.y1_ = g; + return e; + }; + d.createRadialGradient = function (a, b, c, g, e, f) { + var d = new w("gradientradial"); + d.x0_ = a; + d.y0_ = b; + d.r0_ = c; + d.x1_ = g; + d.y1_ = e; + d.r1_ = f; + return d; + }; + d.drawImage = function (a, b) { + var c, g, e, d, r, y, n, h; + e = a.runtimeStyle.width; + d = a.runtimeStyle.height; + a.runtimeStyle.width = "auto"; + a.runtimeStyle.height = "auto"; + var l = a.width, + u = a.height; + a.runtimeStyle.width = e; + a.runtimeStyle.height = d; + if (3 == arguments.length) + (c = arguments[1]), + (g = arguments[2]), + (r = y = 0), + (n = e = l), + (h = d = u); + else if (5 == arguments.length) + (c = arguments[1]), + (g = arguments[2]), + (e = arguments[3]), + (d = arguments[4]), + (r = y = 0), + (n = l), + (h = u); + else if (9 == arguments.length) + (r = arguments[1]), + (y = arguments[2]), + (n = arguments[3]), + (h = arguments[4]), + (c = arguments[5]), + (g = arguments[6]), + (e = arguments[7]), + (d = arguments[8]); + else throw Error("Invalid number of arguments"); + var m = s(this, c, g), + p = []; + p.push( + " ', + '", + "" + ); + this.element_.insertAdjacentHTML("BeforeEnd", p.join("")); + }; + d.stroke = function (a) { + var b = []; + b.push( + " d.x) d.x = f.x; + if (null == c.y || f.y < c.y) c.y = f.y; + if (null == d.y || f.y > d.y) d.y = f.y; + } + } + b.push(' ">'); + a ? T(this, b, c, d) : S(this, b); + b.push(""); + this.element_.insertAdjacentHTML("beforeEnd", b.join("")); + }; + d.fill = function () { + this.stroke(!0); + }; + d.closePath = function () { + this.currentPath_.push({ type: "close" }); + }; + d.save = function () { + var a = {}; + P(this, a); + this.aStack_.push(a); + this.mStack_.push(this.m_); + this.m_ = t(D(), this.m_); + }; + d.restore = function () { + this.aStack_.length && + (P(this.aStack_.pop(), this), (this.m_ = this.mStack_.pop())); + }; + d.translate = function (a, b) { + z( + this, + t( + [ + [1, 0, 0], + [0, 1, 0], + [a, b, 1], + ], + this.m_ + ), + !1 + ); + }; + d.rotate = function (a) { + var b = K(a); + a = J(a); + z( + this, + t( + [ + [b, a, 0], + [-a, b, 0], + [0, 0, 1], + ], + this.m_ + ), + !1 + ); + }; + d.scale = function (a, b) { + this.arcScaleX_ *= a; + this.arcScaleY_ *= b; + z( + this, + t( + [ + [a, 0, 0], + [0, b, 0], + [0, 0, 1], + ], + this.m_ + ), + !0 + ); + }; + d.transform = function (a, b, c, d, e, f) { + z( + this, + t( + [ + [a, b, 0], + [c, d, 0], + [e, f, 1], + ], + this.m_ + ), + !0 + ); + }; + d.setTransform = function (a, b, c, d, e, f) { + z( + this, + [ + [a, b, 0], + [c, d, 0], + [e, f, 1], + ], + !0 + ); + }; + d.drawText_ = function (a, b, c, d, e) { + var f = this.m_; + d = 0; + var r = 1e3, + t = 0, + n = [], + h; + h = this.font; + if (L[h]) h = L[h]; + else { + var l = document.createElement("div").style; + try { + l.font = h; + } catch (u) {} + h = L[h] = { + style: l.fontStyle || "normal", + variant: l.fontVariant || "normal", + weight: l.fontWeight || "normal", + size: l.fontSize || 10, + family: l.fontFamily || "sans-serif", + }; + } + var l = h, + m = this.element_; + h = {}; + for (var p in l) h[p] = l[p]; + p = parseFloat(m.currentStyle.fontSize); + m = parseFloat(l.size); + "number" == typeof l.size + ? (h.size = l.size) + : -1 != l.size.indexOf("px") + ? (h.size = m) + : -1 != l.size.indexOf("em") + ? (h.size = p * m) + : -1 != l.size.indexOf("%") + ? (h.size = (p / 100) * m) + : -1 != l.size.indexOf("pt") + ? (h.size = m / 0.75) + : (h.size = p); + h.size *= 0.981; + p = + h.style + + " " + + h.variant + + " " + + h.weight + + " " + + h.size + + "px " + + h.family; + m = this.element_.currentStyle; + l = this.textAlign.toLowerCase(); + switch (l) { + case "left": + case "center": + case "right": + break; + case "end": + l = "ltr" == m.direction ? "right" : "left"; + break; + case "start": + l = "rtl" == m.direction ? "right" : "left"; + break; + default: + l = "left"; + } + switch (this.textBaseline) { + case "hanging": + case "top": + t = h.size / 1.75; + break; + case "middle": + break; + default: + case null: + case "alphabetic": + case "ideographic": + case "bottom": + t = -h.size / 2.25; + } + switch (l) { + case "right": + d = 1e3; + r = 0.05; + break; + case "center": + d = r = 500; + } + b = s(this, b + 0, c + t); + n.push( + '' + ); + e ? S(this, n) : T(this, n, { x: -d, y: 0 }, { x: r, y: h.size }); + e = + f[0][0].toFixed(3) + + "," + + f[1][0].toFixed(3) + + "," + + f[0][1].toFixed(3) + + "," + + f[1][1].toFixed(3) + + ",0,0"; + b = k(b.x / q) + "," + k(b.y / q); + n.push( + '', + '', + '' + ); + this.element_.insertAdjacentHTML("beforeEnd", n.join("")); + }; + d.fillText = function (a, b, c, d) { + this.drawText_(a, b, c, d, !1); + }; + d.strokeText = function (a, b, c, d) { + this.drawText_(a, b, c, d, !0); + }; + d.measureText = function (a) { + this.textMeasureEl_ || + (this.element_.insertAdjacentHTML( + "beforeEnd", + '' + ), + (this.textMeasureEl_ = this.element_.lastChild)); + var b = this.element_.ownerDocument; + this.textMeasureEl_.innerHTML = ""; + this.textMeasureEl_.style.font = this.font; + this.textMeasureEl_.appendChild(b.createTextNode(a)); + return { width: this.textMeasureEl_.offsetWidth }; + }; + d.clip = function () {}; + d.arcTo = function () {}; + d.createPattern = function (a, b) { + return new I(a, b); + }; + w.prototype.addColorStop = function (a, b) { + b = G(b); + this.colors_.push({ offset: a, color: b.color, alpha: b.alpha }); + }; + d = A.prototype = Error(); + d.INDEX_SIZE_ERR = 1; + d.DOMSTRING_SIZE_ERR = 2; + d.HIERARCHY_REQUEST_ERR = 3; + d.WRONG_DOCUMENT_ERR = 4; + d.INVALID_CHARACTER_ERR = 5; + d.NO_DATA_ALLOWED_ERR = 6; + d.NO_MODIFICATION_ALLOWED_ERR = 7; + d.NOT_FOUND_ERR = 8; + d.NOT_SUPPORTED_ERR = 9; + d.INUSE_ATTRIBUTE_ERR = 10; + d.INVALID_STATE_ERR = 11; + d.SYNTAX_ERR = 12; + d.INVALID_MODIFICATION_ERR = 13; + d.NAMESPACE_ERR = 14; + d.INVALID_ACCESS_ERR = 15; + d.VALIDATION_ERR = 16; + d.TYPE_MISMATCH_ERR = 17; + G_vmlCanvasManager = U; + CanvasRenderingContext2D = C; + CanvasGradient = w; + CanvasPattern = I; + DOMException = A; + })(); +/*eslint-enable*/ +/*jshint ignore:end*/ diff --git a/public/assets/assetLanding/js/circle-progress.min.js b/public/assets/assetLanding/js/circle-progress.min.js new file mode 100644 index 0000000..4d29891 --- /dev/null +++ b/public/assets/assetLanding/js/circle-progress.min.js @@ -0,0 +1,240 @@ +/** + * jquery-circle-progress - jQuery Plugin to draw animated circular progress bars: + * {@link http://kottenator.github.io/jquery-circle-progress/} + * + * @author Rostyslav Bryzgunov + * @version 1.2.2 + * @licence MIT + * @preserve + */ +!(function (i) { + if ("function" == typeof define && define.amd) define(["jquery"], i); + else if ("object" == typeof module && module.exports) { + var t = require("jquery"); + i(t), (module.exports = t); + } else i(jQuery); +})(function (i) { + function t(i) { + this.init(i); + } + (t.prototype = { + value: 0, + size: 130, + startAngle: -Math.PI, + thickness: "auto", + fill: { gradient: ["#3aeabb", "#fdd250"] }, + emptyFill: "rgba(0, 0, 0, .1)", + animation: { duration: 1200, easing: "circleProgressEasing" }, + animationStartValue: 0, + reverse: !1, + lineCap: "butt", + insertMode: "prepend", + constructor: t, + el: null, + canvas: null, + ctx: null, + radius: 0, + arcFill: null, + lastFrameValue: 0, + init: function (t) { + i.extend(this, t), + (this.radius = this.size / 2), + this.initWidget(), + this.initFill(), + this.draw(), + this.el.trigger("circle-inited"); + }, + initWidget: function () { + this.canvas || + (this.canvas = i("")[ + "prepend" == this.insertMode ? "prependTo" : "appendTo" + ](this.el)[0]); + var t = this.canvas; + if ( + ((t.width = this.size), + (t.height = this.size), + (this.ctx = t.getContext("2d")), + window.devicePixelRatio > 1) + ) { + var e = window.devicePixelRatio; + (t.style.width = t.style.height = this.size + "px"), + (t.width = t.height = this.size * e), + this.ctx.scale(e, e); + } + }, + initFill: function () { + function t() { + var t = i("")[0]; + (t.width = e.size), + (t.height = e.size), + t.getContext("2d").drawImage(g, 0, 0, r, r), + (e.arcFill = e.ctx.createPattern(t, "no-repeat")), + e.drawFrame(e.lastFrameValue); + } + var e = this, + a = this.fill, + n = this.ctx, + r = this.size; + if (!a) throw Error("The fill is not specified!"); + if ( + ("string" == typeof a && (a = { color: a }), + a.color && (this.arcFill = a.color), + a.gradient) + ) { + var s = a.gradient; + if (1 == s.length) this.arcFill = s[0]; + else if (s.length > 1) { + for ( + var l = a.gradientAngle || 0, + o = a.gradientDirection || [ + (r / 2) * (1 - Math.cos(l)), + (r / 2) * (1 + Math.sin(l)), + (r / 2) * (1 + Math.cos(l)), + (r / 2) * (1 - Math.sin(l)), + ], + h = n.createLinearGradient.apply(n, o), + c = 0; + c < s.length; + c++ + ) { + var d = s[c], + u = c / (s.length - 1); + i.isArray(d) && ((u = d[1]), (d = d[0])), h.addColorStop(u, d); + } + this.arcFill = h; + } + } + if (a.image) { + var g; + a.image instanceof Image + ? (g = a.image) + : ((g = new Image()), (g.src = a.image)), + g.complete ? t() : (g.onload = t); + } + }, + draw: function () { + this.animation + ? this.drawAnimated(this.value) + : this.drawFrame(this.value); + }, + drawFrame: function (i) { + (this.lastFrameValue = i), + this.ctx.clearRect(0, 0, this.size, this.size), + this.drawEmptyArc(i), + this.drawArc(i); + }, + drawArc: function (i) { + if (0 !== i) { + var t = this.ctx, + e = this.radius, + a = this.getThickness(), + n = this.startAngle; + t.save(), + t.beginPath(), + this.reverse + ? t.arc(e, e, e - a / 2, n - 2 * Math.PI * i, n) + : t.arc(e, e, e - a / 2, n, n + 2 * Math.PI * i), + (t.lineWidth = a), + (t.lineCap = this.lineCap), + (t.strokeStyle = this.arcFill), + t.stroke(), + t.restore(); + } + }, + drawEmptyArc: function (i) { + var t = this.ctx, + e = this.radius, + a = this.getThickness(), + n = this.startAngle; + i < 1 && + (t.save(), + t.beginPath(), + i <= 0 + ? t.arc(e, e, e - a / 2, 0, 2 * Math.PI) + : this.reverse + ? t.arc(e, e, e - a / 2, n, n - 2 * Math.PI * i) + : t.arc(e, e, e - a / 2, n + 2 * Math.PI * i, n), + (t.lineWidth = a), + (t.strokeStyle = this.emptyFill), + t.stroke(), + t.restore()); + }, + drawAnimated: function (t) { + var e = this, + a = this.el, + n = i(this.canvas); + n.stop(!0, !1), + a.trigger("circle-animation-start"), + n + .css({ animationProgress: 0 }) + .animate( + { animationProgress: 1 }, + i.extend({}, this.animation, { + step: function (i) { + var n = e.animationStartValue * (1 - i) + t * i; + e.drawFrame(n), a.trigger("circle-animation-progress", [i, n]); + }, + }) + ) + .promise() + .always(function () { + a.trigger("circle-animation-end"); + }); + }, + getThickness: function () { + return i.isNumeric(this.thickness) ? this.thickness : this.size / 14; + }, + getValue: function () { + return this.value; + }, + setValue: function (i) { + this.animation && (this.animationStartValue = this.lastFrameValue), + (this.value = i), + this.draw(); + }, + }), + (i.circleProgress = { defaults: t.prototype }), + (i.easing.circleProgressEasing = function (i) { + return i < 0.5 + ? ((i = 2 * i), 0.5 * i * i * i) + : ((i = 2 - 2 * i), 1 - 0.5 * i * i * i); + }), + (i.fn.circleProgress = function (e, a) { + var n = "circle-progress", + r = this.data(n); + if ("widget" == e) { + if (!r) + throw Error( + 'Calling "widget" method on not initialized instance is forbidden' + ); + return r.canvas; + } + if ("value" == e) { + if (!r) + throw Error( + 'Calling "value" method on not initialized instance is forbidden' + ); + if ("undefined" == typeof a) return r.getValue(); + var s = arguments[1]; + return this.each(function () { + i(this).data(n).setValue(s); + }); + } + return this.each(function () { + var a = i(this), + r = a.data(n), + s = i.isPlainObject(e) ? e : {}; + if (r) r.init(s); + else { + var l = i.extend({}, a.data()); + "string" == typeof l.fill && (l.fill = JSON.parse(l.fill)), + "string" == typeof l.animation && + (l.animation = JSON.parse(l.animation)), + (s = i.extend(l, s)), + (s.el = a), + (r = new t(s)), + a.data(n, r); + } + }); + }); +}); diff --git a/public/assets/assetLanding/js/countdown.js b/public/assets/assetLanding/js/countdown.js new file mode 100644 index 0000000..133ee41 --- /dev/null +++ b/public/assets/assetLanding/js/countdown.js @@ -0,0 +1,59 @@ +/************************* +CountDown Clock +*************************/ +!(function (e) { + e.fn.countdown = function (t, n) { + var o = e.extend( + { + date: null, + offset: null, + day: "Day", + days: "Days", + hour: "Hour", + hours: "Hours", + minute: "Minute", + minutes: "Minutes", + second: "Second", + seconds: "Seconds", + }, + t + ); + o.date || e.error("Date is not defined."), + Date.parse(o.date) || + e.error( + "Incorrect date format, it should look like this, 12/24/2012 12:00:00." + ); + var r = this, + i = function () { + var e = new Date(), + t = e.getTime() + 6e4 * e.getTimezoneOffset(); + return new Date(t + 36e5 * o.offset); + }; + var s = setInterval(function () { + var e = new Date(o.date) - i(); + if (e < 0) + return clearInterval(s), void (n && "function" == typeof n && n()); + var t = 36e5, + a = Math.floor(e / 864e5), + d = Math.floor((e % 864e5) / t), + f = Math.floor((e % t) / 6e4), + u = Math.floor((e % 6e4) / 1e3), + l = 1 === a ? o.day : o.days, + c = 1 === d ? o.hour : o.hours, + h = 1 === f ? o.minute : o.minutes, + x = 1 === u ? o.second : o.seconds; + (a = String(a).length >= 2 ? a : "0" + a), + (d = String(d).length >= 2 ? d : "0" + d), + (f = String(f).length >= 2 ? f : "0" + f), + (u = String(u).length >= 2 ? u : "0" + u), + r.find(".days").text(a), + r.find(".hours").text(d), + r.find(".minutes").text(f), + r.find(".seconds").text(u), + r.find(".days_text").text(l), + r.find(".hours_text").text(c), + r.find(".minutes_text").text(h), + r.find(".seconds_text").text(x); + }, 1e3); + }; +})(jQuery); diff --git a/public/assets/assetLanding/js/custom.js b/public/assets/assetLanding/js/custom.js new file mode 100644 index 0000000..f6ea3a9 --- /dev/null +++ b/public/assets/assetLanding/js/custom.js @@ -0,0 +1,431 @@ +/* +Template: Markethon - Digital Marketing Agency Responsive HTML5 Template +Author: iqonicthemes.in +Design and Developed by: iqonicthemes.in +NOTE: This file contains the styling for responsive Template. +*/ + +/*---------------------------------------------- +Index Of Script +------------------------------------------------ + +1.Page Loader +2.Isotope +3.Masonry +4.Progress Bar +5.Pie chart +6.Mega Menu +7.Back To Top +8.Counter +9.Accordion +10.Magnific Popup +11.Wow Animation +12.Owl Carousel +1.Countdown +14.Circle Progressbar +15.Side Menu + +------------------------------------------------ +Index Of Script +----------------------------------------------*/ + +"use strict"; +$(document).ready(function () { + $(window).on("load", function () { + /*------------------------ + 1 Page Loader + --------------------------*/ + jQuery("#load").fadeOut(); + jQuery("#loading").delay(0).fadeOut("slow"); + + $(".navbar a").on("click", function (event) { + if (!$(event.target).closest(".nav-item.dropdown").length) { + $(".navbar-collapse").collapse("hide"); + } + }); + + /*------------------------ + 2 Isotope + --------------------------*/ + $(".isotope").isotope({ + itemSelector: ".iq-grid-item", + }); + + // filter items on button click + $(".isotope-filters").on("click", "button", function () { + var filterValue = $(this).attr("data-filter"); + $(".isotope").isotope({ + resizable: true, + filter: filterValue, + }); + $(".isotope-filters button").removeClass("active"); + $(this).addClass("active"); + }); + + function sticky_relocate() { + var window_top = $(window).scrollTop(); + + if ($(".iq-works").length && $(".iq-features").length) { + var div_top = $(".iq-works").offset().top + 900; + var div_features = $(".iq-features").offset().top - 155; + if (window_top > div_top) { + $(".our-info").addClass("menu-sticky").show(); + if (window_top > div_features) { + $(".our-info").removeClass("menu-sticky").hide(); + } + } else { + $(".our-info").removeClass("menu-sticky").show(); + } + } + } + + $(function () { + $(window).scroll(sticky_relocate); + sticky_relocate(); + }); + + /*------------------------ + 3 Masonry + --------------------------*/ + + var $msnry = $(".iq-masonry-block .iq-masonry"); + if ($msnry) { + var $filter = $(".iq-masonry-block .isotope-filters"); + $msnry.isotope({ + percentPosition: true, + resizable: true, + itemSelector: ".iq-masonry-block .iq-masonry-item", + masonry: { + gutterWidth: 0, + }, + }); + // bind filter button click + $filter.on("click", "button", function () { + var filterValue = $(this).attr("data-filter"); + $msnry.isotope({ + filter: filterValue, + }); + }); + + $filter.each(function (i, buttonGroup) { + var $buttonGroup = $(buttonGroup); + $buttonGroup.on("click", "button", function () { + $buttonGroup.find(".active").removeClass("active"); + $(this).addClass("active"); + }); + }); + } + + /*------------------------ + 4 Progress Bar + --------------------------*/ + $(".iq-progress-bar > span").each(function () { + var $this = $(this); + var width = $(this).data("percent"); + $this.css({ + transition: "width 2s", + }); + setTimeout(function () { + $this.appear(function () { + $this.css("width", width + "%"); + }); + }, 500); + }); + /*----------------- + 5 Pie chart + -----------------*/ + if ($("#chartContainer").length) { + var chart = new CanvasJS.Chart("chartContainer", { + theme: "light2", + animationEnabled: true, + data: [ + { + type: "pie", + indexLabelFontSize: 18, + radius: 80, + indexLabel: "{label} - {y}", + yValueFormatString: '###0.0"%"', + click: explodePie, + dataPoints: [ + { + y: 42, + label: "Data Analysis", + }, + { + y: 21, + label: "Social Media Marketing", + }, + { + y: 24.5, + label: "Business Analysis", + }, + { + y: 9, + label: "Research And Strategy", + }, + ], + }, + ], + }); + chart.render(); + + function explodePie(e) { + for (var i = 0; i < e.dataSeries.dataPoints.length; i++) { + if (i !== e.dataPointIndex) + e.dataSeries.dataPoints[i].exploded = false; + } + } + } + }); + + /*------------------------ + 6 Mega Menu + --------------------------*/ + $("#menu-1").megaMenu({ + // DESKTOP MODE SETTINGS + logo_align: "left", // align the logo left or right. options (left) or (right) + links_align: "left", // align the links left or right. options (left) or (right) + socialBar_align: "left", // align the socialBar left or right. options (left) or (right) + searchBar_align: "right", // align the search bar left or right. options (left) or (right) + trigger: "hover", // show drop down using click or hover. options (hover) or (click) + effect: "fade", // drop down effects. options (fade), (scale), (expand-top), (expand-bottom), (expand-left), (expand-right) + effect_speed: 400, // drop down show speed in milliseconds + sibling: true, // hide the others showing drop downs if this option true. this option works on if the trigger option is "click". options (true) or (false) + outside_click_close: true, // hide the showing drop downs when user click outside the menu. this option works if the trigger option is "click". options (true) or (false) + top_fixed: false, // fixed the menu top of the screen. options (true) or (false) + sticky_header: true, // menu fixed on top when scroll down down. options (true) or (false) + sticky_header_height: 200, // sticky header height top of the screen. activate sticky header when meet the height. option change the height in px value. + menu_position: "horizontal", // change the menu position. options (horizontal), (vertical-left) or (vertical-right) + full_width: true, // make menu full width. options (true) or (false) + // MOBILE MODE SETTINGS + mobile_settings: { + collapse: true, // collapse the menu on click. options (true) or (false) + sibling: true, // hide the others showing drop downs when click on current drop down. options (true) or (false) + scrollBar: true, // enable the scroll bar. options (true) or (false) + scrollBar_height: 400, // scroll bar height in px value. this option works if the scrollBar option true. + top_fixed: false, // fixed menu top of the screen. options (true) or (false) + sticky_header: true, // menu fixed on top when scroll down down. options (true) or (false) + sticky_header_height: 200, // sticky header height top of the screen. activate sticky header when meet the height. option change the height in px value. + }, + }); + + /*------------------------ + 7 Back To Top + --------------------------*/ + $("#back-to-top").fadeOut(); + $(window).on("scroll", function () { + if ($(this).scrollTop() > 250) { + $("#back-to-top").fadeIn(1400); + } else { + $("#back-to-top").fadeOut(400); + } + }); + // scroll body to 0px on click + $("#top").on("click", function () { + $("top").tooltip("hide"); + $("body,html").animate( + { + scrollTop: 0, + }, + 800 + ); + return false; + }); + + /*------------------------ + 8 Counter + --------------------------*/ + $(".counter").counterUp({ + delay: 10, + time: 1000, + }); + + /*------------------------ + 9 Accordion + --------------------------*/ + $(".iq-accordion .iq-ad-block .ad-details").hide(); + $(".iq-accordion .iq-ad-block:first") + .addClass("ad-active") + .children() + .slideDown("slow"); + $(".iq-accordion .iq-ad-block").on("click", function () { + if ($(this).children("div").is(":hidden")) { + $(".iq-accordion .iq-ad-block") + .removeClass("ad-active") + .children("div") + .slideUp("slow"); + $(this).toggleClass("ad-active").children("div").slideDown("slow"); + } + }); + + /*------------------------ + 10 Magnific Popup + --------------------------*/ + $(".popup-gallery").magnificPopup({ + delegate: "a.popup-img", + tLoading: "Loading image #%curr%...", + type: "image", + mainClass: "mfp-img-mobile", + gallery: { + navigateByImgClick: true, + enabled: true, + preload: [0, 1], + }, + image: { + tError: 'The image #%curr% could not be loaded.', + }, + }); + + $(".popup-youtube, .popup-vimeo, .popup-gmaps").magnificPopup({ + type: "iframe", + disableOn: 700, + mainClass: "mfp-fade", + preloader: false, + removalDelay: 160, + fixedContentPos: false, + }); + + /*------------------------ + 11 Wow Animation + --------------------------*/ + new WOW().init(); + + /*------------------------ + 12 Owl Carousel + --------------------------*/ + $(".owl-carousel").each(function () { + var $carousel = $(this); + $carousel.owlCarousel({ + items: $carousel.data("items"), + loop: $carousel.data("loop"), + margin: $carousel.data("margin"), + nav: $carousel.data("nav"), + dots: $carousel.data("dots"), + autoplay: $carousel.data("autoplay"), + autoplayTimeout: $carousel.data("autoplay-timeout"), + navText: [ + '', + '', + ], + responsiveClass: true, + responsive: { + // breakpoint from 0 up + 0: { + items: $carousel.data("items-mobile-sm"), + }, + // breakpoint from 480 up + 480: { + items: $carousel.data("items-mobile"), + }, + // breakpoint from 786 up + 786: { + items: $carousel.data("items-tab"), + }, + // breakpoint from 1023 up + 1023: { + items: $carousel.data("items-laptop"), + }, + 1199: { + items: $carousel.data("items"), + }, + }, + }); + }); + + /*------------------------ + 13 Countdown + --------------------------*/ + $("#countdown").countdown({ + date: "12/31/2024 23:59:59", + day: "Day", + days: "Days", + }); + + /*------------------------ + 14 Circle Progressbar + --------------------------*/ + function animateElements() { + $(".progressbar").each(function () { + var elementPos = $(this).offset().top; + var topOfWindow = $(window).scrollTop(); + var percent = $(this).find(".circle").attr("data-percent"); + var percentage = parseInt(percent, 10) / parseInt(100, 10); + var animate = $(this).data("animate"); + if (elementPos < topOfWindow + $(window).height() - 30 && !animate) { + $(this).data("animate", true); + $(this) + .find(".circle") + .circleProgress({ + startAngle: -Math.PI / 2, + value: percent / 100, + thickness: 9, + fill: { + color: "#1B58B8", + }, + }) + .stop(); + + $(this) + .find(".circle.purple") + .circleProgress({ + fill: { + color: "#6934cb", + }, + }); + $(this) + .find(".circle.light-purple") + .circleProgress({ + fill: { + color: "#7c60d5", + }, + }); + $(this) + .find(".circle.green") + .circleProgress({ + fill: { + color: "#33e2a0", + }, + }); + } + }); + } + + // Show animated elements + animateElements(); + $(window).scroll(animateElements); + + /*------------------------ + About menu + --------------------------*/ + + $(document).ready(function () { + $(".our-info ul.about-us li a").on("click", function () { + var id = $(this).attr("href"); + //alert(id); + $(id).css({ + "padding-top": "250px", + }); + $(".our-info ul.about-us li a.active").removeClass("active"); + $(this).addClass("active"); + }); + }); + + /*------------------------ + 15 Side Menu + --------------------------*/ + + $(function () { + $("body").addClass("js"); + + var $hamburger = $(".hamburger"), + $nav = $("#site-nav"), + $masthead = $("#masthead"); + + $hamburger.click(function () { + $(this).toggleClass("is-active"); + $nav.toggleClass("is-active"); + $masthead.toggleClass("is-active"); + return false; + }); + }); +}); diff --git a/public/assets/assetLanding/js/isotope.pkgd.min.js b/public/assets/assetLanding/js/isotope.pkgd.min.js new file mode 100644 index 0000000..fef409f --- /dev/null +++ b/public/assets/assetLanding/js/isotope.pkgd.min.js @@ -0,0 +1,1817 @@ +/*! + * Isotope PACKAGED v3.0.6 + * + * Licensed GPLv3 for open source use + * or Isotope Commercial License for commercial use + * + * https://isotope.metafizzy.co + * Copyright 2010-2018 Metafizzy + */ + +!(function (t, e) { + "function" == typeof define && define.amd + ? define("jquery-bridget/jquery-bridget", ["jquery"], function (i) { + return e(t, i); + }) + : "object" == typeof module && module.exports + ? (module.exports = e(t, require("jquery"))) + : (t.jQueryBridget = e(t, t.jQuery)); +})(window, function (t, e) { + "use strict"; + function i(i, s, a) { + function u(t, e, o) { + var n, + s = "$()." + i + '("' + e + '")'; + return ( + t.each(function (t, u) { + var h = a.data(u, i); + if (!h) + return void r( + i + " not initialized. Cannot call methods, i.e. " + s + ); + var d = h[e]; + if (!d || "_" == e.charAt(0)) + return void r(s + " is not a valid method"); + var l = d.apply(h, o); + n = void 0 === n ? l : n; + }), + void 0 !== n ? n : t + ); + } + function h(t, e) { + t.each(function (t, o) { + var n = a.data(o, i); + n ? (n.option(e), n._init()) : ((n = new s(o, e)), a.data(o, i, n)); + }); + } + (a = a || e || t.jQuery), + a && + (s.prototype.option || + (s.prototype.option = function (t) { + a.isPlainObject(t) && + (this.options = a.extend(!0, this.options, t)); + }), + (a.fn[i] = function (t) { + if ("string" == typeof t) { + var e = n.call(arguments, 1); + return u(this, t, e); + } + return h(this, t), this; + }), + o(a)); + } + function o(t) { + !t || (t && t.bridget) || (t.bridget = i); + } + var n = Array.prototype.slice, + s = t.console, + r = + "undefined" == typeof s + ? function () {} + : function (t) { + s.error(t); + }; + return o(e || t.jQuery), i; +}), + (function (t, e) { + "function" == typeof define && define.amd + ? define("ev-emitter/ev-emitter", e) + : "object" == typeof module && module.exports + ? (module.exports = e()) + : (t.EvEmitter = e()); + })("undefined" != typeof window ? window : this, function () { + function t() {} + var e = t.prototype; + return ( + (e.on = function (t, e) { + if (t && e) { + var i = (this._events = this._events || {}), + o = (i[t] = i[t] || []); + return o.indexOf(e) == -1 && o.push(e), this; + } + }), + (e.once = function (t, e) { + if (t && e) { + this.on(t, e); + var i = (this._onceEvents = this._onceEvents || {}), + o = (i[t] = i[t] || {}); + return (o[e] = !0), this; + } + }), + (e.off = function (t, e) { + var i = this._events && this._events[t]; + if (i && i.length) { + var o = i.indexOf(e); + return o != -1 && i.splice(o, 1), this; + } + }), + (e.emitEvent = function (t, e) { + var i = this._events && this._events[t]; + if (i && i.length) { + (i = i.slice(0)), (e = e || []); + for ( + var o = this._onceEvents && this._onceEvents[t], n = 0; + n < i.length; + n++ + ) { + var s = i[n], + r = o && o[s]; + r && (this.off(t, s), delete o[s]), s.apply(this, e); + } + return this; + } + }), + (e.allOff = function () { + delete this._events, delete this._onceEvents; + }), + t + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define("get-size/get-size", e) + : "object" == typeof module && module.exports + ? (module.exports = e()) + : (t.getSize = e()); + })(window, function () { + "use strict"; + function t(t) { + var e = parseFloat(t), + i = t.indexOf("%") == -1 && !isNaN(e); + return i && e; + } + function e() {} + function i() { + for ( + var t = { + width: 0, + height: 0, + innerWidth: 0, + innerHeight: 0, + outerWidth: 0, + outerHeight: 0, + }, + e = 0; + e < h; + e++ + ) { + var i = u[e]; + t[i] = 0; + } + return t; + } + function o(t) { + var e = getComputedStyle(t); + return ( + e || + a( + "Style returned " + + e + + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1" + ), + e + ); + } + function n() { + if (!d) { + d = !0; + var e = document.createElement("div"); + (e.style.width = "200px"), + (e.style.padding = "1px 2px 3px 4px"), + (e.style.borderStyle = "solid"), + (e.style.borderWidth = "1px 2px 3px 4px"), + (e.style.boxSizing = "border-box"); + var i = document.body || document.documentElement; + i.appendChild(e); + var n = o(e); + (r = 200 == Math.round(t(n.width))), + (s.isBoxSizeOuter = r), + i.removeChild(e); + } + } + function s(e) { + if ( + (n(), + "string" == typeof e && (e = document.querySelector(e)), + e && "object" == typeof e && e.nodeType) + ) { + var s = o(e); + if ("none" == s.display) return i(); + var a = {}; + (a.width = e.offsetWidth), (a.height = e.offsetHeight); + for ( + var d = (a.isBorderBox = "border-box" == s.boxSizing), l = 0; + l < h; + l++ + ) { + var f = u[l], + c = s[f], + m = parseFloat(c); + a[f] = isNaN(m) ? 0 : m; + } + var p = a.paddingLeft + a.paddingRight, + y = a.paddingTop + a.paddingBottom, + g = a.marginLeft + a.marginRight, + v = a.marginTop + a.marginBottom, + _ = a.borderLeftWidth + a.borderRightWidth, + z = a.borderTopWidth + a.borderBottomWidth, + I = d && r, + x = t(s.width); + x !== !1 && (a.width = x + (I ? 0 : p + _)); + var S = t(s.height); + return ( + S !== !1 && (a.height = S + (I ? 0 : y + z)), + (a.innerWidth = a.width - (p + _)), + (a.innerHeight = a.height - (y + z)), + (a.outerWidth = a.width + g), + (a.outerHeight = a.height + v), + a + ); + } + } + var r, + a = + "undefined" == typeof console + ? e + : function (t) { + console.error(t); + }, + u = [ + "paddingLeft", + "paddingRight", + "paddingTop", + "paddingBottom", + "marginLeft", + "marginRight", + "marginTop", + "marginBottom", + "borderLeftWidth", + "borderRightWidth", + "borderTopWidth", + "borderBottomWidth", + ], + h = u.length, + d = !1; + return s; + }), + (function (t, e) { + "use strict"; + "function" == typeof define && define.amd + ? define("desandro-matches-selector/matches-selector", e) + : "object" == typeof module && module.exports + ? (module.exports = e()) + : (t.matchesSelector = e()); + })(window, function () { + "use strict"; + var t = (function () { + var t = window.Element.prototype; + if (t.matches) return "matches"; + if (t.matchesSelector) return "matchesSelector"; + for (var e = ["webkit", "moz", "ms", "o"], i = 0; i < e.length; i++) { + var o = e[i], + n = o + "MatchesSelector"; + if (t[n]) return n; + } + })(); + return function (e, i) { + return e[t](i); + }; + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + "fizzy-ui-utils/utils", + ["desandro-matches-selector/matches-selector"], + function (i) { + return e(t, i); + } + ) + : "object" == typeof module && module.exports + ? (module.exports = e(t, require("desandro-matches-selector"))) + : (t.fizzyUIUtils = e(t, t.matchesSelector)); + })(window, function (t, e) { + var i = {}; + (i.extend = function (t, e) { + for (var i in e) t[i] = e[i]; + return t; + }), + (i.modulo = function (t, e) { + return ((t % e) + e) % e; + }); + var o = Array.prototype.slice; + (i.makeArray = function (t) { + if (Array.isArray(t)) return t; + if (null === t || void 0 === t) return []; + var e = "object" == typeof t && "number" == typeof t.length; + return e ? o.call(t) : [t]; + }), + (i.removeFrom = function (t, e) { + var i = t.indexOf(e); + i != -1 && t.splice(i, 1); + }), + (i.getParent = function (t, i) { + for (; t.parentNode && t != document.body; ) + if (((t = t.parentNode), e(t, i))) return t; + }), + (i.getQueryElement = function (t) { + return "string" == typeof t ? document.querySelector(t) : t; + }), + (i.handleEvent = function (t) { + var e = "on" + t.type; + this[e] && this[e](t); + }), + (i.filterFindElements = function (t, o) { + t = i.makeArray(t); + var n = []; + return ( + t.forEach(function (t) { + if (t instanceof HTMLElement) { + if (!o) return void n.push(t); + e(t, o) && n.push(t); + for (var i = t.querySelectorAll(o), s = 0; s < i.length; s++) + n.push(i[s]); + } + }), + n + ); + }), + (i.debounceMethod = function (t, e, i) { + i = i || 100; + var o = t.prototype[e], + n = e + "Timeout"; + t.prototype[e] = function () { + var t = this[n]; + clearTimeout(t); + var e = arguments, + s = this; + this[n] = setTimeout(function () { + o.apply(s, e), delete s[n]; + }, i); + }; + }), + (i.docReady = function (t) { + var e = document.readyState; + "complete" == e || "interactive" == e + ? setTimeout(t) + : document.addEventListener("DOMContentLoaded", t); + }), + (i.toDashed = function (t) { + return t + .replace(/(.)([A-Z])/g, function (t, e, i) { + return e + "-" + i; + }) + .toLowerCase(); + }); + var n = t.console; + return ( + (i.htmlInit = function (e, o) { + i.docReady(function () { + var s = i.toDashed(o), + r = "data-" + s, + a = document.querySelectorAll("[" + r + "]"), + u = document.querySelectorAll(".js-" + s), + h = i.makeArray(a).concat(i.makeArray(u)), + d = r + "-options", + l = t.jQuery; + h.forEach(function (t) { + var i, + s = t.getAttribute(r) || t.getAttribute(d); + try { + i = s && JSON.parse(s); + } catch (a) { + return void ( + n && + n.error("Error parsing " + r + " on " + t.className + ": " + a) + ); + } + var u = new e(t, i); + l && l.data(t, o, u); + }); + }); + }), + i + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + "outlayer/item", + ["ev-emitter/ev-emitter", "get-size/get-size"], + e + ) + : "object" == typeof module && module.exports + ? (module.exports = e(require("ev-emitter"), require("get-size"))) + : ((t.Outlayer = {}), (t.Outlayer.Item = e(t.EvEmitter, t.getSize))); + })(window, function (t, e) { + "use strict"; + function i(t) { + for (var e in t) return !1; + return (e = null), !0; + } + function o(t, e) { + t && + ((this.element = t), + (this.layout = e), + (this.position = { x: 0, y: 0 }), + this._create()); + } + function n(t) { + return t.replace(/([A-Z])/g, function (t) { + return "-" + t.toLowerCase(); + }); + } + var s = document.documentElement.style, + r = "string" == typeof s.transition ? "transition" : "WebkitTransition", + a = "string" == typeof s.transform ? "transform" : "WebkitTransform", + u = { + WebkitTransition: "webkitTransitionEnd", + transition: "transitionend", + }[r], + h = { + transform: a, + transition: r, + transitionDuration: r + "Duration", + transitionProperty: r + "Property", + transitionDelay: r + "Delay", + }, + d = (o.prototype = Object.create(t.prototype)); + (d.constructor = o), + (d._create = function () { + (this._transn = { ingProperties: {}, clean: {}, onEnd: {} }), + this.css({ position: "absolute" }); + }), + (d.handleEvent = function (t) { + var e = "on" + t.type; + this[e] && this[e](t); + }), + (d.getSize = function () { + this.size = e(this.element); + }), + (d.css = function (t) { + var e = this.element.style; + for (var i in t) { + var o = h[i] || i; + e[o] = t[i]; + } + }), + (d.getPosition = function () { + var t = getComputedStyle(this.element), + e = this.layout._getOption("originLeft"), + i = this.layout._getOption("originTop"), + o = t[e ? "left" : "right"], + n = t[i ? "top" : "bottom"], + s = parseFloat(o), + r = parseFloat(n), + a = this.layout.size; + o.indexOf("%") != -1 && (s = (s / 100) * a.width), + n.indexOf("%") != -1 && (r = (r / 100) * a.height), + (s = isNaN(s) ? 0 : s), + (r = isNaN(r) ? 0 : r), + (s -= e ? a.paddingLeft : a.paddingRight), + (r -= i ? a.paddingTop : a.paddingBottom), + (this.position.x = s), + (this.position.y = r); + }), + (d.layoutPosition = function () { + var t = this.layout.size, + e = {}, + i = this.layout._getOption("originLeft"), + o = this.layout._getOption("originTop"), + n = i ? "paddingLeft" : "paddingRight", + s = i ? "left" : "right", + r = i ? "right" : "left", + a = this.position.x + t[n]; + (e[s] = this.getXValue(a)), (e[r] = ""); + var u = o ? "paddingTop" : "paddingBottom", + h = o ? "top" : "bottom", + d = o ? "bottom" : "top", + l = this.position.y + t[u]; + (e[h] = this.getYValue(l)), + (e[d] = ""), + this.css(e), + this.emitEvent("layout", [this]); + }), + (d.getXValue = function (t) { + var e = this.layout._getOption("horizontal"); + return this.layout.options.percentPosition && !e + ? (t / this.layout.size.width) * 100 + "%" + : t + "px"; + }), + (d.getYValue = function (t) { + var e = this.layout._getOption("horizontal"); + return this.layout.options.percentPosition && e + ? (t / this.layout.size.height) * 100 + "%" + : t + "px"; + }), + (d._transitionTo = function (t, e) { + this.getPosition(); + var i = this.position.x, + o = this.position.y, + n = t == this.position.x && e == this.position.y; + if ((this.setPosition(t, e), n && !this.isTransitioning)) + return void this.layoutPosition(); + var s = t - i, + r = e - o, + a = {}; + (a.transform = this.getTranslate(s, r)), + this.transition({ + to: a, + onTransitionEnd: { transform: this.layoutPosition }, + isCleaning: !0, + }); + }), + (d.getTranslate = function (t, e) { + var i = this.layout._getOption("originLeft"), + o = this.layout._getOption("originTop"); + return ( + (t = i ? t : -t), + (e = o ? e : -e), + "translate3d(" + t + "px, " + e + "px, 0)" + ); + }), + (d.goTo = function (t, e) { + this.setPosition(t, e), this.layoutPosition(); + }), + (d.moveTo = d._transitionTo), + (d.setPosition = function (t, e) { + (this.position.x = parseFloat(t)), (this.position.y = parseFloat(e)); + }), + (d._nonTransition = function (t) { + this.css(t.to), t.isCleaning && this._removeStyles(t.to); + for (var e in t.onTransitionEnd) t.onTransitionEnd[e].call(this); + }), + (d.transition = function (t) { + if (!parseFloat(this.layout.options.transitionDuration)) + return void this._nonTransition(t); + var e = this._transn; + for (var i in t.onTransitionEnd) e.onEnd[i] = t.onTransitionEnd[i]; + for (i in t.to) + (e.ingProperties[i] = !0), t.isCleaning && (e.clean[i] = !0); + if (t.from) { + this.css(t.from); + var o = this.element.offsetHeight; + o = null; + } + this.enableTransition(t.to), + this.css(t.to), + (this.isTransitioning = !0); + }); + var l = "opacity," + n(a); + (d.enableTransition = function () { + if (!this.isTransitioning) { + var t = this.layout.options.transitionDuration; + (t = "number" == typeof t ? t + "ms" : t), + this.css({ + transitionProperty: l, + transitionDuration: t, + transitionDelay: this.staggerDelay || 0, + }), + this.element.addEventListener(u, this, !1); + } + }), + (d.onwebkitTransitionEnd = function (t) { + this.ontransitionend(t); + }), + (d.onotransitionend = function (t) { + this.ontransitionend(t); + }); + var f = { "-webkit-transform": "transform" }; + (d.ontransitionend = function (t) { + if (t.target === this.element) { + var e = this._transn, + o = f[t.propertyName] || t.propertyName; + if ( + (delete e.ingProperties[o], + i(e.ingProperties) && this.disableTransition(), + o in e.clean && + ((this.element.style[t.propertyName] = ""), delete e.clean[o]), + o in e.onEnd) + ) { + var n = e.onEnd[o]; + n.call(this), delete e.onEnd[o]; + } + this.emitEvent("transitionEnd", [this]); + } + }), + (d.disableTransition = function () { + this.removeTransitionStyles(), + this.element.removeEventListener(u, this, !1), + (this.isTransitioning = !1); + }), + (d._removeStyles = function (t) { + var e = {}; + for (var i in t) e[i] = ""; + this.css(e); + }); + var c = { + transitionProperty: "", + transitionDuration: "", + transitionDelay: "", + }; + return ( + (d.removeTransitionStyles = function () { + this.css(c); + }), + (d.stagger = function (t) { + (t = isNaN(t) ? 0 : t), (this.staggerDelay = t + "ms"); + }), + (d.removeElem = function () { + this.element.parentNode.removeChild(this.element), + this.css({ display: "" }), + this.emitEvent("remove", [this]); + }), + (d.remove = function () { + return r && parseFloat(this.layout.options.transitionDuration) + ? (this.once("transitionEnd", function () { + this.removeElem(); + }), + void this.hide()) + : void this.removeElem(); + }), + (d.reveal = function () { + delete this.isHidden, this.css({ display: "" }); + var t = this.layout.options, + e = {}, + i = this.getHideRevealTransitionEndProperty("visibleStyle"); + (e[i] = this.onRevealTransitionEnd), + this.transition({ + from: t.hiddenStyle, + to: t.visibleStyle, + isCleaning: !0, + onTransitionEnd: e, + }); + }), + (d.onRevealTransitionEnd = function () { + this.isHidden || this.emitEvent("reveal"); + }), + (d.getHideRevealTransitionEndProperty = function (t) { + var e = this.layout.options[t]; + if (e.opacity) return "opacity"; + for (var i in e) return i; + }), + (d.hide = function () { + (this.isHidden = !0), this.css({ display: "" }); + var t = this.layout.options, + e = {}, + i = this.getHideRevealTransitionEndProperty("hiddenStyle"); + (e[i] = this.onHideTransitionEnd), + this.transition({ + from: t.visibleStyle, + to: t.hiddenStyle, + isCleaning: !0, + onTransitionEnd: e, + }); + }), + (d.onHideTransitionEnd = function () { + this.isHidden && + (this.css({ display: "none" }), this.emitEvent("hide")); + }), + (d.destroy = function () { + this.css({ + position: "", + left: "", + right: "", + top: "", + bottom: "", + transition: "", + transform: "", + }); + }), + o + ); + }), + (function (t, e) { + "use strict"; + "function" == typeof define && define.amd + ? define( + "outlayer/outlayer", + [ + "ev-emitter/ev-emitter", + "get-size/get-size", + "fizzy-ui-utils/utils", + "./item", + ], + function (i, o, n, s) { + return e(t, i, o, n, s); + } + ) + : "object" == typeof module && module.exports + ? (module.exports = e( + t, + require("ev-emitter"), + require("get-size"), + require("fizzy-ui-utils"), + require("./item") + )) + : (t.Outlayer = e( + t, + t.EvEmitter, + t.getSize, + t.fizzyUIUtils, + t.Outlayer.Item + )); + })(window, function (t, e, i, o, n) { + "use strict"; + function s(t, e) { + var i = o.getQueryElement(t); + if (!i) + return void ( + u && + u.error( + "Bad element for " + this.constructor.namespace + ": " + (i || t) + ) + ); + (this.element = i), + h && (this.$element = h(this.element)), + (this.options = o.extend({}, this.constructor.defaults)), + this.option(e); + var n = ++l; + (this.element.outlayerGUID = n), (f[n] = this), this._create(); + var s = this._getOption("initLayout"); + s && this.layout(); + } + function r(t) { + function e() { + t.apply(this, arguments); + } + return ( + (e.prototype = Object.create(t.prototype)), + (e.prototype.constructor = e), + e + ); + } + function a(t) { + if ("number" == typeof t) return t; + var e = t.match(/(^\d*\.?\d*)(\w*)/), + i = e && e[1], + o = e && e[2]; + if (!i.length) return 0; + i = parseFloat(i); + var n = m[o] || 1; + return i * n; + } + var u = t.console, + h = t.jQuery, + d = function () {}, + l = 0, + f = {}; + (s.namespace = "outlayer"), + (s.Item = n), + (s.defaults = { + containerStyle: { position: "relative" }, + initLayout: !0, + originLeft: !0, + originTop: !0, + resize: !0, + resizeContainer: !0, + transitionDuration: "0.4s", + hiddenStyle: { opacity: 0, transform: "scale(0.001)" }, + visibleStyle: { opacity: 1, transform: "scale(1)" }, + }); + var c = s.prototype; + o.extend(c, e.prototype), + (c.option = function (t) { + o.extend(this.options, t); + }), + (c._getOption = function (t) { + var e = this.constructor.compatOptions[t]; + return e && void 0 !== this.options[e] + ? this.options[e] + : this.options[t]; + }), + (s.compatOptions = { + initLayout: "isInitLayout", + horizontal: "isHorizontal", + layoutInstant: "isLayoutInstant", + originLeft: "isOriginLeft", + originTop: "isOriginTop", + resize: "isResizeBound", + resizeContainer: "isResizingContainer", + }), + (c._create = function () { + this.reloadItems(), + (this.stamps = []), + this.stamp(this.options.stamp), + o.extend(this.element.style, this.options.containerStyle); + var t = this._getOption("resize"); + t && this.bindResize(); + }), + (c.reloadItems = function () { + this.items = this._itemize(this.element.children); + }), + (c._itemize = function (t) { + for ( + var e = this._filterFindItemElements(t), + i = this.constructor.Item, + o = [], + n = 0; + n < e.length; + n++ + ) { + var s = e[n], + r = new i(s, this); + o.push(r); + } + return o; + }), + (c._filterFindItemElements = function (t) { + return o.filterFindElements(t, this.options.itemSelector); + }), + (c.getItemElements = function () { + return this.items.map(function (t) { + return t.element; + }); + }), + (c.layout = function () { + this._resetLayout(), this._manageStamps(); + var t = this._getOption("layoutInstant"), + e = void 0 !== t ? t : !this._isLayoutInited; + this.layoutItems(this.items, e), (this._isLayoutInited = !0); + }), + (c._init = c.layout), + (c._resetLayout = function () { + this.getSize(); + }), + (c.getSize = function () { + this.size = i(this.element); + }), + (c._getMeasurement = function (t, e) { + var o, + n = this.options[t]; + n + ? ("string" == typeof n + ? (o = this.element.querySelector(n)) + : n instanceof HTMLElement && (o = n), + (this[t] = o ? i(o)[e] : n)) + : (this[t] = 0); + }), + (c.layoutItems = function (t, e) { + (t = this._getItemsForLayout(t)), + this._layoutItems(t, e), + this._postLayout(); + }), + (c._getItemsForLayout = function (t) { + return t.filter(function (t) { + return !t.isIgnored; + }); + }), + (c._layoutItems = function (t, e) { + if ((this._emitCompleteOnItems("layout", t), t && t.length)) { + var i = []; + t.forEach(function (t) { + var o = this._getItemLayoutPosition(t); + (o.item = t), (o.isInstant = e || t.isLayoutInstant), i.push(o); + }, this), + this._processLayoutQueue(i); + } + }), + (c._getItemLayoutPosition = function () { + return { x: 0, y: 0 }; + }), + (c._processLayoutQueue = function (t) { + this.updateStagger(), + t.forEach(function (t, e) { + this._positionItem(t.item, t.x, t.y, t.isInstant, e); + }, this); + }), + (c.updateStagger = function () { + var t = this.options.stagger; + return null === t || void 0 === t + ? void (this.stagger = 0) + : ((this.stagger = a(t)), this.stagger); + }), + (c._positionItem = function (t, e, i, o, n) { + o ? t.goTo(e, i) : (t.stagger(n * this.stagger), t.moveTo(e, i)); + }), + (c._postLayout = function () { + this.resizeContainer(); + }), + (c.resizeContainer = function () { + var t = this._getOption("resizeContainer"); + if (t) { + var e = this._getContainerSize(); + e && + (this._setContainerMeasure(e.width, !0), + this._setContainerMeasure(e.height, !1)); + } + }), + (c._getContainerSize = d), + (c._setContainerMeasure = function (t, e) { + if (void 0 !== t) { + var i = this.size; + i.isBorderBox && + (t += e + ? i.paddingLeft + + i.paddingRight + + i.borderLeftWidth + + i.borderRightWidth + : i.paddingBottom + + i.paddingTop + + i.borderTopWidth + + i.borderBottomWidth), + (t = Math.max(t, 0)), + (this.element.style[e ? "width" : "height"] = t + "px"); + } + }), + (c._emitCompleteOnItems = function (t, e) { + function i() { + n.dispatchEvent(t + "Complete", null, [e]); + } + function o() { + r++, r == s && i(); + } + var n = this, + s = e.length; + if (!e || !s) return void i(); + var r = 0; + e.forEach(function (e) { + e.once(t, o); + }); + }), + (c.dispatchEvent = function (t, e, i) { + var o = e ? [e].concat(i) : i; + if ((this.emitEvent(t, o), h)) + if (((this.$element = this.$element || h(this.element)), e)) { + var n = h.Event(e); + (n.type = t), this.$element.trigger(n, i); + } else this.$element.trigger(t, i); + }), + (c.ignore = function (t) { + var e = this.getItem(t); + e && (e.isIgnored = !0); + }), + (c.unignore = function (t) { + var e = this.getItem(t); + e && delete e.isIgnored; + }), + (c.stamp = function (t) { + (t = this._find(t)), + t && + ((this.stamps = this.stamps.concat(t)), + t.forEach(this.ignore, this)); + }), + (c.unstamp = function (t) { + (t = this._find(t)), + t && + t.forEach(function (t) { + o.removeFrom(this.stamps, t), this.unignore(t); + }, this); + }), + (c._find = function (t) { + if (t) + return ( + "string" == typeof t && (t = this.element.querySelectorAll(t)), + (t = o.makeArray(t)) + ); + }), + (c._manageStamps = function () { + this.stamps && + this.stamps.length && + (this._getBoundingRect(), + this.stamps.forEach(this._manageStamp, this)); + }), + (c._getBoundingRect = function () { + var t = this.element.getBoundingClientRect(), + e = this.size; + this._boundingRect = { + left: t.left + e.paddingLeft + e.borderLeftWidth, + top: t.top + e.paddingTop + e.borderTopWidth, + right: t.right - (e.paddingRight + e.borderRightWidth), + bottom: t.bottom - (e.paddingBottom + e.borderBottomWidth), + }; + }), + (c._manageStamp = d), + (c._getElementOffset = function (t) { + var e = t.getBoundingClientRect(), + o = this._boundingRect, + n = i(t), + s = { + left: e.left - o.left - n.marginLeft, + top: e.top - o.top - n.marginTop, + right: o.right - e.right - n.marginRight, + bottom: o.bottom - e.bottom - n.marginBottom, + }; + return s; + }), + (c.handleEvent = o.handleEvent), + (c.bindResize = function () { + t.addEventListener("resize", this), (this.isResizeBound = !0); + }), + (c.unbindResize = function () { + t.removeEventListener("resize", this), (this.isResizeBound = !1); + }), + (c.onresize = function () { + this.resize(); + }), + o.debounceMethod(s, "onresize", 100), + (c.resize = function () { + this.isResizeBound && this.needsResizeLayout() && this.layout(); + }), + (c.needsResizeLayout = function () { + var t = i(this.element), + e = this.size && t; + return e && t.innerWidth !== this.size.innerWidth; + }), + (c.addItems = function (t) { + var e = this._itemize(t); + return e.length && (this.items = this.items.concat(e)), e; + }), + (c.appended = function (t) { + var e = this.addItems(t); + e.length && (this.layoutItems(e, !0), this.reveal(e)); + }), + (c.prepended = function (t) { + var e = this._itemize(t); + if (e.length) { + var i = this.items.slice(0); + (this.items = e.concat(i)), + this._resetLayout(), + this._manageStamps(), + this.layoutItems(e, !0), + this.reveal(e), + this.layoutItems(i); + } + }), + (c.reveal = function (t) { + if ((this._emitCompleteOnItems("reveal", t), t && t.length)) { + var e = this.updateStagger(); + t.forEach(function (t, i) { + t.stagger(i * e), t.reveal(); + }); + } + }), + (c.hide = function (t) { + if ((this._emitCompleteOnItems("hide", t), t && t.length)) { + var e = this.updateStagger(); + t.forEach(function (t, i) { + t.stagger(i * e), t.hide(); + }); + } + }), + (c.revealItemElements = function (t) { + var e = this.getItems(t); + this.reveal(e); + }), + (c.hideItemElements = function (t) { + var e = this.getItems(t); + this.hide(e); + }), + (c.getItem = function (t) { + for (var e = 0; e < this.items.length; e++) { + var i = this.items[e]; + if (i.element == t) return i; + } + }), + (c.getItems = function (t) { + t = o.makeArray(t); + var e = []; + return ( + t.forEach(function (t) { + var i = this.getItem(t); + i && e.push(i); + }, this), + e + ); + }), + (c.remove = function (t) { + var e = this.getItems(t); + this._emitCompleteOnItems("remove", e), + e && + e.length && + e.forEach(function (t) { + t.remove(), o.removeFrom(this.items, t); + }, this); + }), + (c.destroy = function () { + var t = this.element.style; + (t.height = ""), + (t.position = ""), + (t.width = ""), + this.items.forEach(function (t) { + t.destroy(); + }), + this.unbindResize(); + var e = this.element.outlayerGUID; + delete f[e], + delete this.element.outlayerGUID, + h && h.removeData(this.element, this.constructor.namespace); + }), + (s.data = function (t) { + t = o.getQueryElement(t); + var e = t && t.outlayerGUID; + return e && f[e]; + }), + (s.create = function (t, e) { + var i = r(s); + return ( + (i.defaults = o.extend({}, s.defaults)), + o.extend(i.defaults, e), + (i.compatOptions = o.extend({}, s.compatOptions)), + (i.namespace = t), + (i.data = s.data), + (i.Item = r(n)), + o.htmlInit(i, t), + h && h.bridget && h.bridget(t, i), + i + ); + }); + var m = { ms: 1, s: 1e3 }; + return (s.Item = n), s; + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define("isotope-layout/js/item", ["outlayer/outlayer"], e) + : "object" == typeof module && module.exports + ? (module.exports = e(require("outlayer"))) + : ((t.Isotope = t.Isotope || {}), (t.Isotope.Item = e(t.Outlayer))); + })(window, function (t) { + "use strict"; + function e() { + t.Item.apply(this, arguments); + } + var i = (e.prototype = Object.create(t.Item.prototype)), + o = i._create; + (i._create = function () { + (this.id = this.layout.itemGUID++), o.call(this), (this.sortData = {}); + }), + (i.updateSortData = function () { + if (!this.isIgnored) { + (this.sortData.id = this.id), + (this.sortData["original-order"] = this.id), + (this.sortData.random = Math.random()); + var t = this.layout.options.getSortData, + e = this.layout._sorters; + for (var i in t) { + var o = e[i]; + this.sortData[i] = o(this.element, this); + } + } + }); + var n = i.destroy; + return ( + (i.destroy = function () { + n.apply(this, arguments), this.css({ display: "" }); + }), + e + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + "isotope-layout/js/layout-mode", + ["get-size/get-size", "outlayer/outlayer"], + e + ) + : "object" == typeof module && module.exports + ? (module.exports = e(require("get-size"), require("outlayer"))) + : ((t.Isotope = t.Isotope || {}), + (t.Isotope.LayoutMode = e(t.getSize, t.Outlayer))); + })(window, function (t, e) { + "use strict"; + function i(t) { + (this.isotope = t), + t && + ((this.options = t.options[this.namespace]), + (this.element = t.element), + (this.items = t.filteredItems), + (this.size = t.size)); + } + var o = i.prototype, + n = [ + "_resetLayout", + "_getItemLayoutPosition", + "_manageStamp", + "_getContainerSize", + "_getElementOffset", + "needsResizeLayout", + "_getOption", + ]; + return ( + n.forEach(function (t) { + o[t] = function () { + return e.prototype[t].apply(this.isotope, arguments); + }; + }), + (o.needsVerticalResizeLayout = function () { + var e = t(this.isotope.element), + i = this.isotope.size && e; + return i && e.innerHeight != this.isotope.size.innerHeight; + }), + (o._getMeasurement = function () { + this.isotope._getMeasurement.apply(this, arguments); + }), + (o.getColumnWidth = function () { + this.getSegmentSize("column", "Width"); + }), + (o.getRowHeight = function () { + this.getSegmentSize("row", "Height"); + }), + (o.getSegmentSize = function (t, e) { + var i = t + e, + o = "outer" + e; + if ((this._getMeasurement(i, o), !this[i])) { + var n = this.getFirstItemSize(); + this[i] = (n && n[o]) || this.isotope.size["inner" + e]; + } + }), + (o.getFirstItemSize = function () { + var e = this.isotope.filteredItems[0]; + return e && e.element && t(e.element); + }), + (o.layout = function () { + this.isotope.layout.apply(this.isotope, arguments); + }), + (o.getSize = function () { + this.isotope.getSize(), (this.size = this.isotope.size); + }), + (i.modes = {}), + (i.create = function (t, e) { + function n() { + i.apply(this, arguments); + } + return ( + (n.prototype = Object.create(o)), + (n.prototype.constructor = n), + e && (n.options = e), + (n.prototype.namespace = t), + (i.modes[t] = n), + n + ); + }), + i + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + "masonry-layout/masonry", + ["outlayer/outlayer", "get-size/get-size"], + e + ) + : "object" == typeof module && module.exports + ? (module.exports = e(require("outlayer"), require("get-size"))) + : (t.Masonry = e(t.Outlayer, t.getSize)); + })(window, function (t, e) { + var i = t.create("masonry"); + i.compatOptions.fitWidth = "isFitWidth"; + var o = i.prototype; + return ( + (o._resetLayout = function () { + this.getSize(), + this._getMeasurement("columnWidth", "outerWidth"), + this._getMeasurement("gutter", "outerWidth"), + this.measureColumns(), + (this.colYs = []); + for (var t = 0; t < this.cols; t++) this.colYs.push(0); + (this.maxY = 0), (this.horizontalColIndex = 0); + }), + (o.measureColumns = function () { + if ((this.getContainerWidth(), !this.columnWidth)) { + var t = this.items[0], + i = t && t.element; + this.columnWidth = (i && e(i).outerWidth) || this.containerWidth; + } + var o = (this.columnWidth += this.gutter), + n = this.containerWidth + this.gutter, + s = n / o, + r = o - (n % o), + a = r && r < 1 ? "round" : "floor"; + (s = Math[a](s)), (this.cols = Math.max(s, 1)); + }), + (o.getContainerWidth = function () { + var t = this._getOption("fitWidth"), + i = t ? this.element.parentNode : this.element, + o = e(i); + this.containerWidth = o && o.innerWidth; + }), + (o._getItemLayoutPosition = function (t) { + t.getSize(); + var e = t.size.outerWidth % this.columnWidth, + i = e && e < 1 ? "round" : "ceil", + o = Math[i](t.size.outerWidth / this.columnWidth); + o = Math.min(o, this.cols); + for ( + var n = this.options.horizontalOrder + ? "_getHorizontalColPosition" + : "_getTopColPosition", + s = this[n](o, t), + r = { x: this.columnWidth * s.col, y: s.y }, + a = s.y + t.size.outerHeight, + u = o + s.col, + h = s.col; + h < u; + h++ + ) + this.colYs[h] = a; + return r; + }), + (o._getTopColPosition = function (t) { + var e = this._getTopColGroup(t), + i = Math.min.apply(Math, e); + return { col: e.indexOf(i), y: i }; + }), + (o._getTopColGroup = function (t) { + if (t < 2) return this.colYs; + for (var e = [], i = this.cols + 1 - t, o = 0; o < i; o++) + e[o] = this._getColGroupY(o, t); + return e; + }), + (o._getColGroupY = function (t, e) { + if (e < 2) return this.colYs[t]; + var i = this.colYs.slice(t, t + e); + return Math.max.apply(Math, i); + }), + (o._getHorizontalColPosition = function (t, e) { + var i = this.horizontalColIndex % this.cols, + o = t > 1 && i + t > this.cols; + i = o ? 0 : i; + var n = e.size.outerWidth && e.size.outerHeight; + return ( + (this.horizontalColIndex = n ? i + t : this.horizontalColIndex), + { col: i, y: this._getColGroupY(i, t) } + ); + }), + (o._manageStamp = function (t) { + var i = e(t), + o = this._getElementOffset(t), + n = this._getOption("originLeft"), + s = n ? o.left : o.right, + r = s + i.outerWidth, + a = Math.floor(s / this.columnWidth); + a = Math.max(0, a); + var u = Math.floor(r / this.columnWidth); + (u -= r % this.columnWidth ? 0 : 1), (u = Math.min(this.cols - 1, u)); + for ( + var h = this._getOption("originTop"), + d = (h ? o.top : o.bottom) + i.outerHeight, + l = a; + l <= u; + l++ + ) + this.colYs[l] = Math.max(d, this.colYs[l]); + }), + (o._getContainerSize = function () { + this.maxY = Math.max.apply(Math, this.colYs); + var t = { height: this.maxY }; + return ( + this._getOption("fitWidth") && + (t.width = this._getContainerFitWidth()), + t + ); + }), + (o._getContainerFitWidth = function () { + for (var t = 0, e = this.cols; --e && 0 === this.colYs[e]; ) t++; + return (this.cols - t) * this.columnWidth - this.gutter; + }), + (o.needsResizeLayout = function () { + var t = this.containerWidth; + return this.getContainerWidth(), t != this.containerWidth; + }), + i + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + "isotope-layout/js/layout-modes/masonry", + ["../layout-mode", "masonry-layout/masonry"], + e + ) + : "object" == typeof module && module.exports + ? (module.exports = e( + require("../layout-mode"), + require("masonry-layout") + )) + : e(t.Isotope.LayoutMode, t.Masonry); + })(window, function (t, e) { + "use strict"; + var i = t.create("masonry"), + o = i.prototype, + n = { _getElementOffset: !0, layout: !0, _getMeasurement: !0 }; + for (var s in e.prototype) n[s] || (o[s] = e.prototype[s]); + var r = o.measureColumns; + o.measureColumns = function () { + (this.items = this.isotope.filteredItems), r.call(this); + }; + var a = o._getOption; + return ( + (o._getOption = function (t) { + return "fitWidth" == t + ? void 0 !== this.options.isFitWidth + ? this.options.isFitWidth + : this.options.fitWidth + : a.apply(this.isotope, arguments); + }), + i + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define("isotope-layout/js/layout-modes/fit-rows", ["../layout-mode"], e) + : "object" == typeof exports + ? (module.exports = e(require("../layout-mode"))) + : e(t.Isotope.LayoutMode); + })(window, function (t) { + "use strict"; + var e = t.create("fitRows"), + i = e.prototype; + return ( + (i._resetLayout = function () { + (this.x = 0), + (this.y = 0), + (this.maxY = 0), + this._getMeasurement("gutter", "outerWidth"); + }), + (i._getItemLayoutPosition = function (t) { + t.getSize(); + var e = t.size.outerWidth + this.gutter, + i = this.isotope.size.innerWidth + this.gutter; + 0 !== this.x && e + this.x > i && ((this.x = 0), (this.y = this.maxY)); + var o = { x: this.x, y: this.y }; + return ( + (this.maxY = Math.max(this.maxY, this.y + t.size.outerHeight)), + (this.x += e), + o + ); + }), + (i._getContainerSize = function () { + return { height: this.maxY }; + }), + e + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define("isotope-layout/js/layout-modes/vertical", ["../layout-mode"], e) + : "object" == typeof module && module.exports + ? (module.exports = e(require("../layout-mode"))) + : e(t.Isotope.LayoutMode); + })(window, function (t) { + "use strict"; + var e = t.create("vertical", { horizontalAlignment: 0 }), + i = e.prototype; + return ( + (i._resetLayout = function () { + this.y = 0; + }), + (i._getItemLayoutPosition = function (t) { + t.getSize(); + var e = + (this.isotope.size.innerWidth - t.size.outerWidth) * + this.options.horizontalAlignment, + i = this.y; + return (this.y += t.size.outerHeight), { x: e, y: i }; + }), + (i._getContainerSize = function () { + return { height: this.y }; + }), + e + ); + }), + (function (t, e) { + "function" == typeof define && define.amd + ? define( + [ + "outlayer/outlayer", + "get-size/get-size", + "desandro-matches-selector/matches-selector", + "fizzy-ui-utils/utils", + "isotope-layout/js/item", + "isotope-layout/js/layout-mode", + "isotope-layout/js/layout-modes/masonry", + "isotope-layout/js/layout-modes/fit-rows", + "isotope-layout/js/layout-modes/vertical", + ], + function (i, o, n, s, r, a) { + return e(t, i, o, n, s, r, a); + } + ) + : "object" == typeof module && module.exports + ? (module.exports = e( + t, + require("outlayer"), + require("get-size"), + require("desandro-matches-selector"), + require("fizzy-ui-utils"), + require("isotope-layout/js/item"), + require("isotope-layout/js/layout-mode"), + require("isotope-layout/js/layout-modes/masonry"), + require("isotope-layout/js/layout-modes/fit-rows"), + require("isotope-layout/js/layout-modes/vertical") + )) + : (t.Isotope = e( + t, + t.Outlayer, + t.getSize, + t.matchesSelector, + t.fizzyUIUtils, + t.Isotope.Item, + t.Isotope.LayoutMode + )); + })(window, function (t, e, i, o, n, s, r) { + function a(t, e) { + return function (i, o) { + for (var n = 0; n < t.length; n++) { + var s = t[n], + r = i.sortData[s], + a = o.sortData[s]; + if (r > a || r < a) { + var u = void 0 !== e[s] ? e[s] : e, + h = u ? 1 : -1; + return (r > a ? 1 : -1) * h; + } + } + return 0; + }; + } + var u = t.jQuery, + h = String.prototype.trim + ? function (t) { + return t.trim(); + } + : function (t) { + return t.replace(/^\s+|\s+$/g, ""); + }, + d = e.create("isotope", { + layoutMode: "masonry", + isJQueryFiltering: !0, + sortAscending: !0, + }); + (d.Item = s), (d.LayoutMode = r); + var l = d.prototype; + (l._create = function () { + (this.itemGUID = 0), + (this._sorters = {}), + this._getSorters(), + e.prototype._create.call(this), + (this.modes = {}), + (this.filteredItems = this.items), + (this.sortHistory = ["original-order"]); + for (var t in r.modes) this._initLayoutMode(t); + }), + (l.reloadItems = function () { + (this.itemGUID = 0), e.prototype.reloadItems.call(this); + }), + (l._itemize = function () { + for ( + var t = e.prototype._itemize.apply(this, arguments), i = 0; + i < t.length; + i++ + ) { + var o = t[i]; + o.id = this.itemGUID++; + } + return this._updateItemsSortData(t), t; + }), + (l._initLayoutMode = function (t) { + var e = r.modes[t], + i = this.options[t] || {}; + (this.options[t] = e.options ? n.extend(e.options, i) : i), + (this.modes[t] = new e(this)); + }), + (l.layout = function () { + return !this._isLayoutInited && this._getOption("initLayout") + ? void this.arrange() + : void this._layout(); + }), + (l._layout = function () { + var t = this._getIsInstant(); + this._resetLayout(), + this._manageStamps(), + this.layoutItems(this.filteredItems, t), + (this._isLayoutInited = !0); + }), + (l.arrange = function (t) { + this.option(t), this._getIsInstant(); + var e = this._filter(this.items); + (this.filteredItems = e.matches), + this._bindArrangeComplete(), + this._isInstant + ? this._noTransition(this._hideReveal, [e]) + : this._hideReveal(e), + this._sort(), + this._layout(); + }), + (l._init = l.arrange), + (l._hideReveal = function (t) { + this.reveal(t.needReveal), this.hide(t.needHide); + }), + (l._getIsInstant = function () { + var t = this._getOption("layoutInstant"), + e = void 0 !== t ? t : !this._isLayoutInited; + return (this._isInstant = e), e; + }), + (l._bindArrangeComplete = function () { + function t() { + e && + i && + o && + n.dispatchEvent("arrangeComplete", null, [n.filteredItems]); + } + var e, + i, + o, + n = this; + this.once("layoutComplete", function () { + (e = !0), t(); + }), + this.once("hideComplete", function () { + (i = !0), t(); + }), + this.once("revealComplete", function () { + (o = !0), t(); + }); + }), + (l._filter = function (t) { + var e = this.options.filter; + e = e || "*"; + for ( + var i = [], o = [], n = [], s = this._getFilterTest(e), r = 0; + r < t.length; + r++ + ) { + var a = t[r]; + if (!a.isIgnored) { + var u = s(a); + u && i.push(a), + u && a.isHidden ? o.push(a) : u || a.isHidden || n.push(a); + } + } + return { matches: i, needReveal: o, needHide: n }; + }), + (l._getFilterTest = function (t) { + return u && this.options.isJQueryFiltering + ? function (e) { + return u(e.element).is(t); + } + : "function" == typeof t + ? function (e) { + return t(e.element); + } + : function (e) { + return o(e.element, t); + }; + }), + (l.updateSortData = function (t) { + var e; + t ? ((t = n.makeArray(t)), (e = this.getItems(t))) : (e = this.items), + this._getSorters(), + this._updateItemsSortData(e); + }), + (l._getSorters = function () { + var t = this.options.getSortData; + for (var e in t) { + var i = t[e]; + this._sorters[e] = f(i); + } + }), + (l._updateItemsSortData = function (t) { + for (var e = t && t.length, i = 0; e && i < e; i++) { + var o = t[i]; + o.updateSortData(); + } + }); + var f = (function () { + function t(t) { + if ("string" != typeof t) return t; + var i = h(t).split(" "), + o = i[0], + n = o.match(/^\[(.+)\]$/), + s = n && n[1], + r = e(s, o), + a = d.sortDataParsers[i[1]]; + return (t = a + ? function (t) { + return t && a(r(t)); + } + : function (t) { + return t && r(t); + }); + } + function e(t, e) { + return t + ? function (e) { + return e.getAttribute(t); + } + : function (t) { + var i = t.querySelector(e); + return i && i.textContent; + }; + } + return t; + })(); + (d.sortDataParsers = { + parseInt: function (t) { + return parseInt(t, 10); + }, + parseFloat: function (t) { + return parseFloat(t); + }, + }), + (l._sort = function () { + if (this.options.sortBy) { + var t = n.makeArray(this.options.sortBy); + this._getIsSameSortBy(t) || + (this.sortHistory = t.concat(this.sortHistory)); + var e = a(this.sortHistory, this.options.sortAscending); + this.filteredItems.sort(e); + } + }), + (l._getIsSameSortBy = function (t) { + for (var e = 0; e < t.length; e++) + if (t[e] != this.sortHistory[e]) return !1; + return !0; + }), + (l._mode = function () { + var t = this.options.layoutMode, + e = this.modes[t]; + if (!e) throw new Error("No layout mode: " + t); + return (e.options = this.options[t]), e; + }), + (l._resetLayout = function () { + e.prototype._resetLayout.call(this), this._mode()._resetLayout(); + }), + (l._getItemLayoutPosition = function (t) { + return this._mode()._getItemLayoutPosition(t); + }), + (l._manageStamp = function (t) { + this._mode()._manageStamp(t); + }), + (l._getContainerSize = function () { + return this._mode()._getContainerSize(); + }), + (l.needsResizeLayout = function () { + return this._mode().needsResizeLayout(); + }), + (l.appended = function (t) { + var e = this.addItems(t); + if (e.length) { + var i = this._filterRevealAdded(e); + this.filteredItems = this.filteredItems.concat(i); + } + }), + (l.prepended = function (t) { + var e = this._itemize(t); + if (e.length) { + this._resetLayout(), this._manageStamps(); + var i = this._filterRevealAdded(e); + this.layoutItems(this.filteredItems), + (this.filteredItems = i.concat(this.filteredItems)), + (this.items = e.concat(this.items)); + } + }), + (l._filterRevealAdded = function (t) { + var e = this._filter(t); + return ( + this.hide(e.needHide), + this.reveal(e.matches), + this.layoutItems(e.matches, !0), + e.matches + ); + }), + (l.insert = function (t) { + var e = this.addItems(t); + if (e.length) { + var i, + o, + n = e.length; + for (i = 0; i < n; i++) + (o = e[i]), this.element.appendChild(o.element); + var s = this._filter(e).matches; + for (i = 0; i < n; i++) e[i].isLayoutInstant = !0; + for (this.arrange(), i = 0; i < n; i++) delete e[i].isLayoutInstant; + this.reveal(s); + } + }); + var c = l.remove; + return ( + (l.remove = function (t) { + t = n.makeArray(t); + var e = this.getItems(t); + c.call(this, t); + for (var i = e && e.length, o = 0; i && o < i; o++) { + var s = e[o]; + n.removeFrom(this.filteredItems, s); + } + }), + (l.shuffle = function () { + for (var t = 0; t < this.items.length; t++) { + var e = this.items[t]; + e.sortData.random = Math.random(); + } + (this.options.sortBy = "random"), this._sort(), this._layout(); + }), + (l._noTransition = function (t, e) { + var i = this.options.transitionDuration; + this.options.transitionDuration = 0; + var o = t.apply(this, e); + return (this.options.transitionDuration = i), o; + }), + (l.getFilteredItemElements = function () { + return this.filteredItems.map(function (t) { + return t.element; + }); + }), + d + ); + }); diff --git a/public/assets/assetLanding/js/jquery-min.js b/public/assets/assetLanding/js/jquery-min.js new file mode 100644 index 0000000..b377b73 --- /dev/null +++ b/public/assets/assetLanding/js/jquery-min.js @@ -0,0 +1,5167 @@ +/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!(function (a, b) { + "object" == typeof module && "object" == typeof module.exports + ? (module.exports = a.document + ? b(a, !0) + : function (a) { + if (!a.document) + throw new Error("jQuery requires a window with a document"); + return b(a); + }) + : b(a); +})("undefined" != typeof window ? window : this, function (a, b) { + var c = [], + d = c.slice, + e = c.concat, + f = c.push, + g = c.indexOf, + h = {}, + i = h.toString, + j = h.hasOwnProperty, + k = {}, + l = a.document, + m = "2.1.4", + n = function (a, b) { + return new n.fn.init(a, b); + }, + o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + p = /^-ms-/, + q = /-([\da-z])/gi, + r = function (a, b) { + return b.toUpperCase(); + }; + (n.fn = n.prototype = + { + jquery: m, + constructor: n, + selector: "", + length: 0, + toArray: function () { + return d.call(this); + }, + get: function (a) { + return null != a + ? 0 > a + ? this[a + this.length] + : this[a] + : d.call(this); + }, + pushStack: function (a) { + var b = n.merge(this.constructor(), a); + return (b.prevObject = this), (b.context = this.context), b; + }, + each: function (a, b) { + return n.each(this, a, b); + }, + map: function (a) { + return this.pushStack( + n.map(this, function (b, c) { + return a.call(b, c, b); + }) + ); + }, + slice: function () { + return this.pushStack(d.apply(this, arguments)); + }, + first: function () { + return this.eq(0); + }, + last: function () { + return this.eq(-1); + }, + eq: function (a) { + var b = this.length, + c = +a + (0 > a ? b : 0); + return this.pushStack(c >= 0 && b > c ? [this[c]] : []); + }, + end: function () { + return this.prevObject || this.constructor(null); + }, + push: f, + sort: c.sort, + splice: c.splice, + }), + (n.extend = n.fn.extend = + function () { + var a, + b, + c, + d, + e, + f, + g = arguments[0] || {}, + h = 1, + i = arguments.length, + j = !1; + for ( + "boolean" == typeof g && ((j = g), (g = arguments[h] || {}), h++), + "object" == typeof g || n.isFunction(g) || (g = {}), + h === i && ((g = this), h--); + i > h; + h++ + ) + if (null != (a = arguments[h])) + for (b in a) + (c = g[b]), + (d = a[b]), + g !== d && + (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) + ? (e + ? ((e = !1), (f = c && n.isArray(c) ? c : [])) + : (f = c && n.isPlainObject(c) ? c : {}), + (g[b] = n.extend(j, f, d))) + : void 0 !== d && (g[b] = d)); + return g; + }), + n.extend({ + expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), + isReady: !0, + error: function (a) { + throw new Error(a); + }, + noop: function () {}, + isFunction: function (a) { + return "function" === n.type(a); + }, + isArray: Array.isArray, + isWindow: function (a) { + return null != a && a === a.window; + }, + isNumeric: function (a) { + return !n.isArray(a) && a - parseFloat(a) + 1 >= 0; + }, + isPlainObject: function (a) { + return "object" !== n.type(a) || a.nodeType || n.isWindow(a) + ? !1 + : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") + ? !1 + : !0; + }, + isEmptyObject: function (a) { + var b; + for (b in a) return !1; + return !0; + }, + type: function (a) { + return null == a + ? a + "" + : "object" == typeof a || "function" == typeof a + ? h[i.call(a)] || "object" + : typeof a; + }, + globalEval: function (a) { + var b, + c = eval; + (a = n.trim(a)), + a && + (1 === a.indexOf("use strict") + ? ((b = l.createElement("script")), + (b.text = a), + l.head.appendChild(b).parentNode.removeChild(b)) + : c(a)); + }, + camelCase: function (a) { + return a.replace(p, "ms-").replace(q, r); + }, + nodeName: function (a, b) { + return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase(); + }, + each: function (a, b, c) { + var d, + e = 0, + f = a.length, + g = s(a); + if (c) { + if (g) { + for (; f > e; e++) if (((d = b.apply(a[e], c)), d === !1)) break; + } else for (e in a) if (((d = b.apply(a[e], c)), d === !1)) break; + } else if (g) { + for (; f > e; e++) if (((d = b.call(a[e], e, a[e])), d === !1)) break; + } else for (e in a) if (((d = b.call(a[e], e, a[e])), d === !1)) break; + return a; + }, + trim: function (a) { + return null == a ? "" : (a + "").replace(o, ""); + }, + makeArray: function (a, b) { + var c = b || []; + return ( + null != a && + (s(Object(a)) + ? n.merge(c, "string" == typeof a ? [a] : a) + : f.call(c, a)), + c + ); + }, + inArray: function (a, b, c) { + return null == b ? -1 : g.call(b, a, c); + }, + merge: function (a, b) { + for (var c = +b.length, d = 0, e = a.length; c > d; d++) a[e++] = b[d]; + return (a.length = e), a; + }, + grep: function (a, b, c) { + for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) + (d = !b(a[f], f)), d !== h && e.push(a[f]); + return e; + }, + map: function (a, b, c) { + var d, + f = 0, + g = a.length, + h = s(a), + i = []; + if (h) for (; g > f; f++) (d = b(a[f], f, c)), null != d && i.push(d); + else for (f in a) (d = b(a[f], f, c)), null != d && i.push(d); + return e.apply([], i); + }, + guid: 1, + proxy: function (a, b) { + var c, e, f; + return ( + "string" == typeof b && ((c = a[b]), (b = a), (a = c)), + n.isFunction(a) + ? ((e = d.call(arguments, 2)), + (f = function () { + return a.apply(b || this, e.concat(d.call(arguments))); + }), + (f.guid = a.guid = a.guid || n.guid++), + f) + : void 0 + ); + }, + now: Date.now, + support: k, + }), + n.each( + "Boolean Number String Function Array Date RegExp Object Error".split( + " " + ), + function (a, b) { + h["[object " + b + "]"] = b.toLowerCase(); + } + ); + function s(a) { + var b = "length" in a && a.length, + c = n.type(a); + return "function" === c || n.isWindow(a) + ? !1 + : 1 === a.nodeType && b + ? !0 + : "array" === c || + 0 === b || + ("number" == typeof b && b > 0 && b - 1 in a); + } + var t = (function (a) { + var b, + c, + d, + e, + f, + g, + h, + i, + j, + k, + l, + m, + n, + o, + p, + q, + r, + s, + t, + u = "sizzle" + 1 * new Date(), + v = a.document, + w = 0, + x = 0, + y = ha(), + z = ha(), + A = ha(), + B = function (a, b) { + return a === b && (l = !0), 0; + }, + C = 1 << 31, + D = {}.hasOwnProperty, + E = [], + F = E.pop, + G = E.push, + H = E.push, + I = E.slice, + J = function (a, b) { + for (var c = 0, d = a.length; d > c; c++) if (a[c] === b) return c; + return -1; + }, + K = + "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + L = "[\\x20\\t\\r\\n\\f]", + M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + N = M.replace("w", "w#"), + O = + "\\[" + + L + + "*(" + + M + + ")(?:" + + L + + "*([*^$|!~]?=)" + + L + + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + + N + + "))|)" + + L + + "*\\]", + P = + ":(" + + M + + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + + O + + ")*)|.*)\\)|)", + Q = new RegExp(L + "+", "g"), + R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"), + S = new RegExp("^" + L + "*," + L + "*"), + T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"), + U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"), + V = new RegExp(P), + W = new RegExp("^" + N + "$"), + X = { + ID: new RegExp("^#(" + M + ")"), + CLASS: new RegExp("^\\.(" + M + ")"), + TAG: new RegExp("^(" + M.replace("w", "w*") + ")"), + ATTR: new RegExp("^" + O), + PSEUDO: new RegExp("^" + P), + CHILD: new RegExp( + "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + L + + "*(even|odd|(([+-]|)(\\d*)n|)" + + L + + "*(?:([+-]|)" + + L + + "*(\\d+)|))" + + L + + "*\\)|)", + "i" + ), + bool: new RegExp("^(?:" + K + ")$", "i"), + needsContext: new RegExp( + "^" + + L + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + L + + "*((?:-\\d)?\\d*)" + + L + + "*\\)|)(?=[^-]|$)", + "i" + ), + }, + Y = /^(?:input|select|textarea|button)$/i, + Z = /^h\d$/i, + $ = /^[^{]+\{\s*\[native \w/, + _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + aa = /[+~]/, + ba = /'|\\/g, + ca = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"), + da = function (a, b, c) { + var d = "0x" + b - 65536; + return d !== d || c + ? b + : 0 > d + ? String.fromCharCode(d + 65536) + : String.fromCharCode((d >> 10) | 55296, (1023 & d) | 56320); + }, + ea = function () { + m(); + }; + try { + H.apply((E = I.call(v.childNodes)), v.childNodes), + E[v.childNodes.length].nodeType; + } catch (fa) { + H = { + apply: E.length + ? function (a, b) { + G.apply(a, I.call(b)); + } + : function (a, b) { + var c = a.length, + d = 0; + while ((a[c++] = b[d++])); + a.length = c - 1; + }, + }; + } + function ga(a, b, d, e) { + var f, h, j, k, l, o, r, s, w, x; + if ( + ((b ? b.ownerDocument || b : v) !== n && m(b), + (b = b || n), + (d = d || []), + (k = b.nodeType), + "string" != typeof a || !a || (1 !== k && 9 !== k && 11 !== k)) + ) + return d; + if (!e && p) { + if (11 !== k && (f = _.exec(a))) + if ((j = f[1])) { + if (9 === k) { + if (((h = b.getElementById(j)), !h || !h.parentNode)) return d; + if (h.id === j) return d.push(h), d; + } else if ( + b.ownerDocument && + (h = b.ownerDocument.getElementById(j)) && + t(b, h) && + h.id === j + ) + return d.push(h), d; + } else { + if (f[2]) return H.apply(d, b.getElementsByTagName(a)), d; + if ((j = f[3]) && c.getElementsByClassName) + return H.apply(d, b.getElementsByClassName(j)), d; + } + if (c.qsa && (!q || !q.test(a))) { + if ( + ((s = r = u), + (w = b), + (x = 1 !== k && a), + 1 === k && "object" !== b.nodeName.toLowerCase()) + ) { + (o = g(a)), + (r = b.getAttribute("id")) + ? (s = r.replace(ba, "\\$&")) + : b.setAttribute("id", s), + (s = "[id='" + s + "'] "), + (l = o.length); + while (l--) o[l] = s + ra(o[l]); + (w = (aa.test(a) && pa(b.parentNode)) || b), (x = o.join(",")); + } + if (x) + try { + return H.apply(d, w.querySelectorAll(x)), d; + } catch (y) { + } finally { + r || b.removeAttribute("id"); + } + } + } + return i(a.replace(R, "$1"), b, d, e); + } + function ha() { + var a = []; + function b(c, e) { + return ( + a.push(c + " ") > d.cacheLength && delete b[a.shift()], + (b[c + " "] = e) + ); + } + return b; + } + function ia(a) { + return (a[u] = !0), a; + } + function ja(a) { + var b = n.createElement("div"); + try { + return !!a(b); + } catch (c) { + return !1; + } finally { + b.parentNode && b.parentNode.removeChild(b), (b = null); + } + } + function ka(a, b) { + var c = a.split("|"), + e = a.length; + while (e--) d.attrHandle[c[e]] = b; + } + function la(a, b) { + var c = b && a, + d = + c && + 1 === a.nodeType && + 1 === b.nodeType && + (~b.sourceIndex || C) - (~a.sourceIndex || C); + if (d) return d; + if (c) while ((c = c.nextSibling)) if (c === b) return -1; + return a ? 1 : -1; + } + function ma(a) { + return function (b) { + var c = b.nodeName.toLowerCase(); + return "input" === c && b.type === a; + }; + } + function na(a) { + return function (b) { + var c = b.nodeName.toLowerCase(); + return ("input" === c || "button" === c) && b.type === a; + }; + } + function oa(a) { + return ia(function (b) { + return ( + (b = +b), + ia(function (c, d) { + var e, + f = a([], c.length, b), + g = f.length; + while (g--) c[(e = f[g])] && (c[e] = !(d[e] = c[e])); + }) + ); + }); + } + function pa(a) { + return a && "undefined" != typeof a.getElementsByTagName && a; + } + (c = ga.support = {}), + (f = ga.isXML = + function (a) { + var b = a && (a.ownerDocument || a).documentElement; + return b ? "HTML" !== b.nodeName : !1; + }), + (m = ga.setDocument = + function (a) { + var b, + e, + g = a ? a.ownerDocument || a : v; + return g !== n && 9 === g.nodeType && g.documentElement + ? ((n = g), + (o = g.documentElement), + (e = g.defaultView), + e && + e !== e.top && + (e.addEventListener + ? e.addEventListener("unload", ea, !1) + : e.attachEvent && e.attachEvent("onunload", ea)), + (p = !f(g)), + (c.attributes = ja(function (a) { + return (a.className = "i"), !a.getAttribute("className"); + })), + (c.getElementsByTagName = ja(function (a) { + return ( + a.appendChild(g.createComment("")), + !a.getElementsByTagName("*").length + ); + })), + (c.getElementsByClassName = $.test(g.getElementsByClassName)), + (c.getById = ja(function (a) { + return ( + (o.appendChild(a).id = u), + !g.getElementsByName || !g.getElementsByName(u).length + ); + })), + c.getById + ? ((d.find.ID = function (a, b) { + if ("undefined" != typeof b.getElementById && p) { + var c = b.getElementById(a); + return c && c.parentNode ? [c] : []; + } + }), + (d.filter.ID = function (a) { + var b = a.replace(ca, da); + return function (a) { + return a.getAttribute("id") === b; + }; + })) + : (delete d.find.ID, + (d.filter.ID = function (a) { + var b = a.replace(ca, da); + return function (a) { + var c = + "undefined" != typeof a.getAttributeNode && + a.getAttributeNode("id"); + return c && c.value === b; + }; + })), + (d.find.TAG = c.getElementsByTagName + ? function (a, b) { + return "undefined" != typeof b.getElementsByTagName + ? b.getElementsByTagName(a) + : c.qsa + ? b.querySelectorAll(a) + : void 0; + } + : function (a, b) { + var c, + d = [], + e = 0, + f = b.getElementsByTagName(a); + if ("*" === a) { + while ((c = f[e++])) 1 === c.nodeType && d.push(c); + return d; + } + return f; + }), + (d.find.CLASS = + c.getElementsByClassName && + function (a, b) { + return p ? b.getElementsByClassName(a) : void 0; + }), + (r = []), + (q = []), + (c.qsa = $.test(g.querySelectorAll)) && + (ja(function (a) { + (o.appendChild(a).innerHTML = + ""), + a.querySelectorAll("[msallowcapture^='']").length && + q.push("[*^$]=" + L + "*(?:''|\"\")"), + a.querySelectorAll("[selected]").length || + q.push("\\[" + L + "*(?:value|" + K + ")"), + a.querySelectorAll("[id~=" + u + "-]").length || + q.push("~="), + a.querySelectorAll(":checked").length || q.push(":checked"), + a.querySelectorAll("a#" + u + "+*").length || + q.push(".#.+[+~]"); + }), + ja(function (a) { + var b = g.createElement("input"); + b.setAttribute("type", "hidden"), + a.appendChild(b).setAttribute("name", "D"), + a.querySelectorAll("[name=d]").length && + q.push("name" + L + "*[*^$|!~]?="), + a.querySelectorAll(":enabled").length || + q.push(":enabled", ":disabled"), + a.querySelectorAll("*,:x"), + q.push(",.*:"); + })), + (c.matchesSelector = $.test( + (s = + o.matches || + o.webkitMatchesSelector || + o.mozMatchesSelector || + o.oMatchesSelector || + o.msMatchesSelector) + )) && + ja(function (a) { + (c.disconnectedMatch = s.call(a, "div")), + s.call(a, "[s!='']:x"), + r.push("!=", P); + }), + (q = q.length && new RegExp(q.join("|"))), + (r = r.length && new RegExp(r.join("|"))), + (b = $.test(o.compareDocumentPosition)), + (t = + b || $.test(o.contains) + ? function (a, b) { + var c = 9 === a.nodeType ? a.documentElement : a, + d = b && b.parentNode; + return ( + a === d || + !( + !d || + 1 !== d.nodeType || + !(c.contains + ? c.contains(d) + : a.compareDocumentPosition && + 16 & a.compareDocumentPosition(d)) + ) + ); + } + : function (a, b) { + if (b) while ((b = b.parentNode)) if (b === a) return !0; + return !1; + }), + (B = b + ? function (a, b) { + if (a === b) return (l = !0), 0; + var d = + !a.compareDocumentPosition - !b.compareDocumentPosition; + return d + ? d + : ((d = + (a.ownerDocument || a) === (b.ownerDocument || b) + ? a.compareDocumentPosition(b) + : 1), + 1 & d || + (!c.sortDetached && b.compareDocumentPosition(a) === d) + ? a === g || (a.ownerDocument === v && t(v, a)) + ? -1 + : b === g || (b.ownerDocument === v && t(v, b)) + ? 1 + : k + ? J(k, a) - J(k, b) + : 0 + : 4 & d + ? -1 + : 1); + } + : function (a, b) { + if (a === b) return (l = !0), 0; + var c, + d = 0, + e = a.parentNode, + f = b.parentNode, + h = [a], + i = [b]; + if (!e || !f) + return a === g + ? -1 + : b === g + ? 1 + : e + ? -1 + : f + ? 1 + : k + ? J(k, a) - J(k, b) + : 0; + if (e === f) return la(a, b); + c = a; + while ((c = c.parentNode)) h.unshift(c); + c = b; + while ((c = c.parentNode)) i.unshift(c); + while (h[d] === i[d]) d++; + return d + ? la(h[d], i[d]) + : h[d] === v + ? -1 + : i[d] === v + ? 1 + : 0; + }), + g) + : n; + }), + (ga.matches = function (a, b) { + return ga(a, null, null, b); + }), + (ga.matchesSelector = function (a, b) { + if ( + ((a.ownerDocument || a) !== n && m(a), + (b = b.replace(U, "='$1']")), + !(!c.matchesSelector || !p || (r && r.test(b)) || (q && q.test(b)))) + ) + try { + var d = s.call(a, b); + if ( + d || + c.disconnectedMatch || + (a.document && 11 !== a.document.nodeType) + ) + return d; + } catch (e) {} + return ga(b, n, null, [a]).length > 0; + }), + (ga.contains = function (a, b) { + return (a.ownerDocument || a) !== n && m(a), t(a, b); + }), + (ga.attr = function (a, b) { + (a.ownerDocument || a) !== n && m(a); + var e = d.attrHandle[b.toLowerCase()], + f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0; + return void 0 !== f + ? f + : c.attributes || !p + ? a.getAttribute(b) + : (f = a.getAttributeNode(b)) && f.specified + ? f.value + : null; + }), + (ga.error = function (a) { + throw new Error("Syntax error, unrecognized expression: " + a); + }), + (ga.uniqueSort = function (a) { + var b, + d = [], + e = 0, + f = 0; + if ( + ((l = !c.detectDuplicates), + (k = !c.sortStable && a.slice(0)), + a.sort(B), + l) + ) { + while ((b = a[f++])) b === a[f] && (e = d.push(f)); + while (e--) a.splice(d[e], 1); + } + return (k = null), a; + }), + (e = ga.getText = + function (a) { + var b, + c = "", + d = 0, + f = a.nodeType; + if (f) { + if (1 === f || 9 === f || 11 === f) { + if ("string" == typeof a.textContent) return a.textContent; + for (a = a.firstChild; a; a = a.nextSibling) c += e(a); + } else if (3 === f || 4 === f) return a.nodeValue; + } else while ((b = a[d++])) c += e(b); + return c; + }), + (d = ga.selectors = + { + cacheLength: 50, + createPseudo: ia, + match: X, + attrHandle: {}, + find: {}, + relative: { + ">": { dir: "parentNode", first: !0 }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: !0 }, + "~": { dir: "previousSibling" }, + }, + preFilter: { + ATTR: function (a) { + return ( + (a[1] = a[1].replace(ca, da)), + (a[3] = (a[3] || a[4] || a[5] || "").replace(ca, da)), + "~=" === a[2] && (a[3] = " " + a[3] + " "), + a.slice(0, 4) + ); + }, + CHILD: function (a) { + return ( + (a[1] = a[1].toLowerCase()), + "nth" === a[1].slice(0, 3) + ? (a[3] || ga.error(a[0]), + (a[4] = +(a[4] + ? a[5] + (a[6] || 1) + : 2 * ("even" === a[3] || "odd" === a[3]))), + (a[5] = +(a[7] + a[8] || "odd" === a[3]))) + : a[3] && ga.error(a[0]), + a + ); + }, + PSEUDO: function (a) { + var b, + c = !a[6] && a[2]; + return X.CHILD.test(a[0]) + ? null + : (a[3] + ? (a[2] = a[4] || a[5] || "") + : c && + V.test(c) && + (b = g(c, !0)) && + (b = c.indexOf(")", c.length - b) - c.length) && + ((a[0] = a[0].slice(0, b)), (a[2] = c.slice(0, b))), + a.slice(0, 3)); + }, + }, + filter: { + TAG: function (a) { + var b = a.replace(ca, da).toLowerCase(); + return "*" === a + ? function () { + return !0; + } + : function (a) { + return a.nodeName && a.nodeName.toLowerCase() === b; + }; + }, + CLASS: function (a) { + var b = y[a + " "]; + return ( + b || + ((b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && + y(a, function (a) { + return b.test( + ("string" == typeof a.className && a.className) || + ("undefined" != typeof a.getAttribute && + a.getAttribute("class")) || + "" + ); + })) + ); + }, + ATTR: function (a, b, c) { + return function (d) { + var e = ga.attr(d, a); + return null == e + ? "!=" === b + : b + ? ((e += ""), + "=" === b + ? e === c + : "!=" === b + ? e !== c + : "^=" === b + ? c && 0 === e.indexOf(c) + : "*=" === b + ? c && e.indexOf(c) > -1 + : "$=" === b + ? c && e.slice(-c.length) === c + : "~=" === b + ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 + : "|=" === b + ? e === c || e.slice(0, c.length + 1) === c + "-" + : !1) + : !0; + }; + }, + CHILD: function (a, b, c, d, e) { + var f = "nth" !== a.slice(0, 3), + g = "last" !== a.slice(-4), + h = "of-type" === b; + return 1 === d && 0 === e + ? function (a) { + return !!a.parentNode; + } + : function (b, c, i) { + var j, + k, + l, + m, + n, + o, + p = f !== g ? "nextSibling" : "previousSibling", + q = b.parentNode, + r = h && b.nodeName.toLowerCase(), + s = !i && !h; + if (q) { + if (f) { + while (p) { + l = b; + while ((l = l[p])) + if ( + h + ? l.nodeName.toLowerCase() === r + : 1 === l.nodeType + ) + return !1; + o = p = "only" === a && !o && "nextSibling"; + } + return !0; + } + if (((o = [g ? q.firstChild : q.lastChild]), g && s)) { + (k = q[u] || (q[u] = {})), + (j = k[a] || []), + (n = j[0] === w && j[1]), + (m = j[0] === w && j[2]), + (l = n && q.childNodes[n]); + while ( + (l = (++n && l && l[p]) || (m = n = 0) || o.pop()) + ) + if (1 === l.nodeType && ++m && l === b) { + k[a] = [w, n, m]; + break; + } + } else if ( + s && + (j = (b[u] || (b[u] = {}))[a]) && + j[0] === w + ) + m = j[1]; + else + while ( + (l = (++n && l && l[p]) || (m = n = 0) || o.pop()) + ) + if ( + (h + ? l.nodeName.toLowerCase() === r + : 1 === l.nodeType) && + ++m && + (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b) + ) + break; + return (m -= e), m === d || (m % d === 0 && m / d >= 0); + } + }; + }, + PSEUDO: function (a, b) { + var c, + e = + d.pseudos[a] || + d.setFilters[a.toLowerCase()] || + ga.error("unsupported pseudo: " + a); + return e[u] + ? e(b) + : e.length > 1 + ? ((c = [a, a, "", b]), + d.setFilters.hasOwnProperty(a.toLowerCase()) + ? ia(function (a, c) { + var d, + f = e(a, b), + g = f.length; + while (g--) (d = J(a, f[g])), (a[d] = !(c[d] = f[g])); + }) + : function (a) { + return e(a, 0, c); + }) + : e; + }, + }, + pseudos: { + not: ia(function (a) { + var b = [], + c = [], + d = h(a.replace(R, "$1")); + return d[u] + ? ia(function (a, b, c, e) { + var f, + g = d(a, null, e, []), + h = a.length; + while (h--) (f = g[h]) && (a[h] = !(b[h] = f)); + }) + : function (a, e, f) { + return ( + (b[0] = a), d(b, null, f, c), (b[0] = null), !c.pop() + ); + }; + }), + has: ia(function (a) { + return function (b) { + return ga(a, b).length > 0; + }; + }), + contains: ia(function (a) { + return ( + (a = a.replace(ca, da)), + function (b) { + return (b.textContent || b.innerText || e(b)).indexOf(a) > -1; + } + ); + }), + lang: ia(function (a) { + return ( + W.test(a || "") || ga.error("unsupported lang: " + a), + (a = a.replace(ca, da).toLowerCase()), + function (b) { + var c; + do + if ( + (c = p + ? b.lang + : b.getAttribute("xml:lang") || b.getAttribute("lang")) + ) + return ( + (c = c.toLowerCase()), + c === a || 0 === c.indexOf(a + "-") + ); + while ((b = b.parentNode) && 1 === b.nodeType); + return !1; + } + ); + }), + target: function (b) { + var c = a.location && a.location.hash; + return c && c.slice(1) === b.id; + }, + root: function (a) { + return a === o; + }, + focus: function (a) { + return ( + a === n.activeElement && + (!n.hasFocus || n.hasFocus()) && + !!(a.type || a.href || ~a.tabIndex) + ); + }, + enabled: function (a) { + return a.disabled === !1; + }, + disabled: function (a) { + return a.disabled === !0; + }, + checked: function (a) { + var b = a.nodeName.toLowerCase(); + return ( + ("input" === b && !!a.checked) || + ("option" === b && !!a.selected) + ); + }, + selected: function (a) { + return ( + a.parentNode && a.parentNode.selectedIndex, a.selected === !0 + ); + }, + empty: function (a) { + for (a = a.firstChild; a; a = a.nextSibling) + if (a.nodeType < 6) return !1; + return !0; + }, + parent: function (a) { + return !d.pseudos.empty(a); + }, + header: function (a) { + return Z.test(a.nodeName); + }, + input: function (a) { + return Y.test(a.nodeName); + }, + button: function (a) { + var b = a.nodeName.toLowerCase(); + return ("input" === b && "button" === a.type) || "button" === b; + }, + text: function (a) { + var b; + return ( + "input" === a.nodeName.toLowerCase() && + "text" === a.type && + (null == (b = a.getAttribute("type")) || + "text" === b.toLowerCase()) + ); + }, + first: oa(function () { + return [0]; + }), + last: oa(function (a, b) { + return [b - 1]; + }), + eq: oa(function (a, b, c) { + return [0 > c ? c + b : c]; + }), + even: oa(function (a, b) { + for (var c = 0; b > c; c += 2) a.push(c); + return a; + }), + odd: oa(function (a, b) { + for (var c = 1; b > c; c += 2) a.push(c); + return a; + }), + lt: oa(function (a, b, c) { + for (var d = 0 > c ? c + b : c; --d >= 0; ) a.push(d); + return a; + }), + gt: oa(function (a, b, c) { + for (var d = 0 > c ? c + b : c; ++d < b; ) a.push(d); + return a; + }), + }, + }), + (d.pseudos.nth = d.pseudos.eq); + for (b in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) + d.pseudos[b] = ma(b); + for (b in { submit: !0, reset: !0 }) d.pseudos[b] = na(b); + function qa() {} + (qa.prototype = d.filters = d.pseudos), + (d.setFilters = new qa()), + (g = ga.tokenize = + function (a, b) { + var c, + e, + f, + g, + h, + i, + j, + k = z[a + " "]; + if (k) return b ? 0 : k.slice(0); + (h = a), (i = []), (j = d.preFilter); + while (h) { + (!c || (e = S.exec(h))) && + (e && (h = h.slice(e[0].length) || h), i.push((f = []))), + (c = !1), + (e = T.exec(h)) && + ((c = e.shift()), + f.push({ value: c, type: e[0].replace(R, " ") }), + (h = h.slice(c.length))); + for (g in d.filter) + !(e = X[g].exec(h)) || + (j[g] && !(e = j[g](e))) || + ((c = e.shift()), + f.push({ value: c, type: g, matches: e }), + (h = h.slice(c.length))); + if (!c) break; + } + return b ? h.length : h ? ga.error(a) : z(a, i).slice(0); + }); + function ra(a) { + for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value; + return d; + } + function sa(a, b, c) { + var d = b.dir, + e = c && "parentNode" === d, + f = x++; + return b.first + ? function (b, c, f) { + while ((b = b[d])) if (1 === b.nodeType || e) return a(b, c, f); + } + : function (b, c, g) { + var h, + i, + j = [w, f]; + if (g) { + while ((b = b[d])) + if ((1 === b.nodeType || e) && a(b, c, g)) return !0; + } else + while ((b = b[d])) + if (1 === b.nodeType || e) { + if ( + ((i = b[u] || (b[u] = {})), + (h = i[d]) && h[0] === w && h[1] === f) + ) + return (j[2] = h[2]); + if (((i[d] = j), (j[2] = a(b, c, g)))) return !0; + } + }; + } + function ta(a) { + return a.length > 1 + ? function (b, c, d) { + var e = a.length; + while (e--) if (!a[e](b, c, d)) return !1; + return !0; + } + : a[0]; + } + function ua(a, b, c) { + for (var d = 0, e = b.length; e > d; d++) ga(a, b[d], c); + return c; + } + function va(a, b, c, d, e) { + for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++) + (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h)); + return g; + } + function wa(a, b, c, d, e, f) { + return ( + d && !d[u] && (d = wa(d)), + e && !e[u] && (e = wa(e, f)), + ia(function (f, g, h, i) { + var j, + k, + l, + m = [], + n = [], + o = g.length, + p = f || ua(b || "*", h.nodeType ? [h] : h, []), + q = !a || (!f && b) ? p : va(p, m, a, h, i), + r = c ? (e || (f ? a : o || d) ? [] : g) : q; + if ((c && c(q, r, h, i), d)) { + (j = va(r, n)), d(j, [], h, i), (k = j.length); + while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l)); + } + if (f) { + if (e || a) { + if (e) { + (j = []), (k = r.length); + while (k--) (l = r[k]) && j.push((q[k] = l)); + e(null, (r = []), j, i); + } + k = r.length; + while (k--) + (l = r[k]) && + (j = e ? J(f, l) : m[k]) > -1 && + (f[j] = !(g[j] = l)); + } + } else (r = va(r === g ? r.splice(o, r.length) : r)), e ? e(null, g, r, i) : H.apply(g, r); + }) + ); + } + function xa(a) { + for ( + var b, + c, + e, + f = a.length, + g = d.relative[a[0].type], + h = g || d.relative[" "], + i = g ? 1 : 0, + k = sa( + function (a) { + return a === b; + }, + h, + !0 + ), + l = sa( + function (a) { + return J(b, a) > -1; + }, + h, + !0 + ), + m = [ + function (a, c, d) { + var e = + (!g && (d || c !== j)) || + ((b = c).nodeType ? k(a, c, d) : l(a, c, d)); + return (b = null), e; + }, + ]; + f > i; + i++ + ) + if ((c = d.relative[a[i].type])) m = [sa(ta(m), c)]; + else { + if (((c = d.filter[a[i].type].apply(null, a[i].matches)), c[u])) { + for (e = ++i; f > e; e++) if (d.relative[a[e].type]) break; + return wa( + i > 1 && ta(m), + i > 1 && + ra( + a + .slice(0, i - 1) + .concat({ value: " " === a[i - 2].type ? "*" : "" }) + ).replace(R, "$1"), + c, + e > i && xa(a.slice(i, e)), + f > e && xa((a = a.slice(e))), + f > e && ra(a) + ); + } + m.push(c); + } + return ta(m); + } + function ya(a, b) { + var c = b.length > 0, + e = a.length > 0, + f = function (f, g, h, i, k) { + var l, + m, + o, + p = 0, + q = "0", + r = f && [], + s = [], + t = j, + u = f || (e && d.find.TAG("*", k)), + v = (w += null == t ? 1 : Math.random() || 0.1), + x = u.length; + for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) { + if (e && l) { + m = 0; + while ((o = a[m++])) + if (o(l, g, h)) { + i.push(l); + break; + } + k && (w = v); + } + c && ((l = !o && l) && p--, f && r.push(l)); + } + if (((p += q), c && q !== p)) { + m = 0; + while ((o = b[m++])) o(r, s, g, h); + if (f) { + if (p > 0) while (q--) r[q] || s[q] || (s[q] = F.call(i)); + s = va(s); + } + H.apply(i, s), + k && !f && s.length > 0 && p + b.length > 1 && ga.uniqueSort(i); + } + return k && ((w = v), (j = t)), r; + }; + return c ? ia(f) : f; + } + return ( + (h = ga.compile = + function (a, b) { + var c, + d = [], + e = [], + f = A[a + " "]; + if (!f) { + b || (b = g(a)), (c = b.length); + while (c--) (f = xa(b[c])), f[u] ? d.push(f) : e.push(f); + (f = A(a, ya(e, d))), (f.selector = a); + } + return f; + }), + (i = ga.select = + function (a, b, e, f) { + var i, + j, + k, + l, + m, + n = "function" == typeof a && a, + o = !f && g((a = n.selector || a)); + if (((e = e || []), 1 === o.length)) { + if ( + ((j = o[0] = o[0].slice(0)), + j.length > 2 && + "ID" === (k = j[0]).type && + c.getById && + 9 === b.nodeType && + p && + d.relative[j[1].type]) + ) { + if ( + ((b = (d.find.ID(k.matches[0].replace(ca, da), b) || [])[0]), + !b) + ) + return e; + n && (b = b.parentNode), (a = a.slice(j.shift().value.length)); + } + i = X.needsContext.test(a) ? 0 : j.length; + while (i--) { + if (((k = j[i]), d.relative[(l = k.type)])) break; + if ( + (m = d.find[l]) && + (f = m( + k.matches[0].replace(ca, da), + (aa.test(j[0].type) && pa(b.parentNode)) || b + )) + ) { + if ((j.splice(i, 1), (a = f.length && ra(j)), !a)) + return H.apply(e, f), e; + break; + } + } + } + return ( + (n || h(a, o))(f, b, !p, e, (aa.test(a) && pa(b.parentNode)) || b), + e + ); + }), + (c.sortStable = u.split("").sort(B).join("") === u), + (c.detectDuplicates = !!l), + m(), + (c.sortDetached = ja(function (a) { + return 1 & a.compareDocumentPosition(n.createElement("div")); + })), + ja(function (a) { + return ( + (a.innerHTML = ""), + "#" === a.firstChild.getAttribute("href") + ); + }) || + ka("type|href|height|width", function (a, b, c) { + return c + ? void 0 + : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2); + }), + (c.attributes && + ja(function (a) { + return ( + (a.innerHTML = ""), + a.firstChild.setAttribute("value", ""), + "" === a.firstChild.getAttribute("value") + ); + })) || + ka("value", function (a, b, c) { + return c || "input" !== a.nodeName.toLowerCase() + ? void 0 + : a.defaultValue; + }), + ja(function (a) { + return null == a.getAttribute("disabled"); + }) || + ka(K, function (a, b, c) { + var d; + return c + ? void 0 + : a[b] === !0 + ? b.toLowerCase() + : (d = a.getAttributeNode(b)) && d.specified + ? d.value + : null; + }), + ga + ); + })(a); + (n.find = t), + (n.expr = t.selectors), + (n.expr[":"] = n.expr.pseudos), + (n.unique = t.uniqueSort), + (n.text = t.getText), + (n.isXMLDoc = t.isXML), + (n.contains = t.contains); + var u = n.expr.match.needsContext, + v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + w = /^.[^:#\[\.,]*$/; + function x(a, b, c) { + if (n.isFunction(b)) + return n.grep(a, function (a, d) { + return !!b.call(a, d, a) !== c; + }); + if (b.nodeType) + return n.grep(a, function (a) { + return (a === b) !== c; + }); + if ("string" == typeof b) { + if (w.test(b)) return n.filter(b, a, c); + b = n.filter(b, a); + } + return n.grep(a, function (a) { + return g.call(b, a) >= 0 !== c; + }); + } + (n.filter = function (a, b, c) { + var d = b[0]; + return ( + c && (a = ":not(" + a + ")"), + 1 === b.length && 1 === d.nodeType + ? n.find.matchesSelector(d, a) + ? [d] + : [] + : n.find.matches( + a, + n.grep(b, function (a) { + return 1 === a.nodeType; + }) + ) + ); + }), + n.fn.extend({ + find: function (a) { + var b, + c = this.length, + d = [], + e = this; + if ("string" != typeof a) + return this.pushStack( + n(a).filter(function () { + for (b = 0; c > b; b++) if (n.contains(e[b], this)) return !0; + }) + ); + for (b = 0; c > b; b++) n.find(a, e[b], d); + return ( + (d = this.pushStack(c > 1 ? n.unique(d) : d)), + (d.selector = this.selector ? this.selector + " " + a : a), + d + ); + }, + filter: function (a) { + return this.pushStack(x(this, a || [], !1)); + }, + not: function (a) { + return this.pushStack(x(this, a || [], !0)); + }, + is: function (a) { + return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1) + .length; + }, + }); + var y, + z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + A = (n.fn.init = function (a, b) { + var c, d; + if (!a) return this; + if ("string" == typeof a) { + if ( + ((c = + "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 + ? [null, a, null] + : z.exec(a)), + !c || (!c[1] && b)) + ) + return !b || b.jquery + ? (b || y).find(a) + : this.constructor(b).find(a); + if (c[1]) { + if ( + ((b = b instanceof n ? b[0] : b), + n.merge( + this, + n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0) + ), + v.test(c[1]) && n.isPlainObject(b)) + ) + for (c in b) + n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]); + return this; + } + return ( + (d = l.getElementById(c[2])), + d && d.parentNode && ((this.length = 1), (this[0] = d)), + (this.context = l), + (this.selector = a), + this + ); + } + return a.nodeType + ? ((this.context = this[0] = a), (this.length = 1), this) + : n.isFunction(a) + ? "undefined" != typeof y.ready + ? y.ready(a) + : a(n) + : (void 0 !== a.selector && + ((this.selector = a.selector), (this.context = a.context)), + n.makeArray(a, this)); + }); + (A.prototype = n.fn), (y = n(l)); + var B = /^(?:parents|prev(?:Until|All))/, + C = { children: !0, contents: !0, next: !0, prev: !0 }; + n.extend({ + dir: function (a, b, c) { + var d = [], + e = void 0 !== c; + while ((a = a[b]) && 9 !== a.nodeType) + if (1 === a.nodeType) { + if (e && n(a).is(c)) break; + d.push(a); + } + return d; + }, + sibling: function (a, b) { + for (var c = []; a; a = a.nextSibling) + 1 === a.nodeType && a !== b && c.push(a); + return c; + }, + }), + n.fn.extend({ + has: function (a) { + var b = n(a, this), + c = b.length; + return this.filter(function () { + for (var a = 0; c > a; a++) if (n.contains(this, b[a])) return !0; + }); + }, + closest: function (a, b) { + for ( + var c, + d = 0, + e = this.length, + f = [], + g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; + e > d; + d++ + ) + for (c = this[d]; c && c !== b; c = c.parentNode) + if ( + c.nodeType < 11 && + (g + ? g.index(c) > -1 + : 1 === c.nodeType && n.find.matchesSelector(c, a)) + ) { + f.push(c); + break; + } + return this.pushStack(f.length > 1 ? n.unique(f) : f); + }, + index: function (a) { + return a + ? "string" == typeof a + ? g.call(n(a), this[0]) + : g.call(this, a.jquery ? a[0] : a) + : this[0] && this[0].parentNode + ? this.first().prevAll().length + : -1; + }, + add: function (a, b) { + return this.pushStack(n.unique(n.merge(this.get(), n(a, b)))); + }, + addBack: function (a) { + return this.add( + null == a ? this.prevObject : this.prevObject.filter(a) + ); + }, + }); + function D(a, b) { + while ((a = a[b]) && 1 !== a.nodeType); + return a; + } + n.each( + { + parent: function (a) { + var b = a.parentNode; + return b && 11 !== b.nodeType ? b : null; + }, + parents: function (a) { + return n.dir(a, "parentNode"); + }, + parentsUntil: function (a, b, c) { + return n.dir(a, "parentNode", c); + }, + next: function (a) { + return D(a, "nextSibling"); + }, + prev: function (a) { + return D(a, "previousSibling"); + }, + nextAll: function (a) { + return n.dir(a, "nextSibling"); + }, + prevAll: function (a) { + return n.dir(a, "previousSibling"); + }, + nextUntil: function (a, b, c) { + return n.dir(a, "nextSibling", c); + }, + prevUntil: function (a, b, c) { + return n.dir(a, "previousSibling", c); + }, + siblings: function (a) { + return n.sibling((a.parentNode || {}).firstChild, a); + }, + children: function (a) { + return n.sibling(a.firstChild); + }, + contents: function (a) { + return a.contentDocument || n.merge([], a.childNodes); + }, + }, + function (a, b) { + n.fn[a] = function (c, d) { + var e = n.map(this, b, c); + return ( + "Until" !== a.slice(-5) && (d = c), + d && "string" == typeof d && (e = n.filter(d, e)), + this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()), + this.pushStack(e) + ); + }; + } + ); + var E = /\S+/g, + F = {}; + function G(a) { + var b = (F[a] = {}); + return ( + n.each(a.match(E) || [], function (a, c) { + b[c] = !0; + }), + b + ); + } + (n.Callbacks = function (a) { + a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a); + var b, + c, + d, + e, + f, + g, + h = [], + i = !a.once && [], + j = function (l) { + for ( + b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; + h && f > g; + g++ + ) + if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) { + b = !1; + break; + } + (d = !1), + h && (i ? i.length && j(i.shift()) : b ? (h = []) : k.disable()); + }, + k = { + add: function () { + if (h) { + var c = h.length; + !(function g(b) { + n.each(b, function (b, c) { + var d = n.type(c); + "function" === d + ? (a.unique && k.has(c)) || h.push(c) + : c && c.length && "string" !== d && g(c); + }); + })(arguments), + d ? (f = h.length) : b && ((e = c), j(b)); + } + return this; + }, + remove: function () { + return ( + h && + n.each(arguments, function (a, b) { + var c; + while ((c = n.inArray(b, h, c)) > -1) + h.splice(c, 1), d && (f >= c && f--, g >= c && g--); + }), + this + ); + }, + has: function (a) { + return a ? n.inArray(a, h) > -1 : !(!h || !h.length); + }, + empty: function () { + return (h = []), (f = 0), this; + }, + disable: function () { + return (h = i = b = void 0), this; + }, + disabled: function () { + return !h; + }, + lock: function () { + return (i = void 0), b || k.disable(), this; + }, + locked: function () { + return !i; + }, + fireWith: function (a, b) { + return ( + !h || + (c && !i) || + ((b = b || []), + (b = [a, b.slice ? b.slice() : b]), + d ? i.push(b) : j(b)), + this + ); + }, + fire: function () { + return k.fireWith(this, arguments), this; + }, + fired: function () { + return !!c; + }, + }; + return k; + }), + n.extend({ + Deferred: function (a) { + var b = [ + ["resolve", "done", n.Callbacks("once memory"), "resolved"], + ["reject", "fail", n.Callbacks("once memory"), "rejected"], + ["notify", "progress", n.Callbacks("memory")], + ], + c = "pending", + d = { + state: function () { + return c; + }, + always: function () { + return e.done(arguments).fail(arguments), this; + }, + then: function () { + var a = arguments; + return n + .Deferred(function (c) { + n.each(b, function (b, f) { + var g = n.isFunction(a[b]) && a[b]; + e[f[1]](function () { + var a = g && g.apply(this, arguments); + a && n.isFunction(a.promise) + ? a + .promise() + .done(c.resolve) + .fail(c.reject) + .progress(c.notify) + : c[f[0] + "With"]( + this === d ? c.promise() : this, + g ? [a] : arguments + ); + }); + }), + (a = null); + }) + .promise(); + }, + promise: function (a) { + return null != a ? n.extend(a, d) : d; + }, + }, + e = {}; + return ( + (d.pipe = d.then), + n.each(b, function (a, f) { + var g = f[2], + h = f[3]; + (d[f[1]] = g.add), + h && + g.add( + function () { + c = h; + }, + b[1 ^ a][2].disable, + b[2][2].lock + ), + (e[f[0]] = function () { + return e[f[0] + "With"](this === e ? d : this, arguments), this; + }), + (e[f[0] + "With"] = g.fireWith); + }), + d.promise(e), + a && a.call(e, e), + e + ); + }, + when: function (a) { + var b = 0, + c = d.call(arguments), + e = c.length, + f = 1 !== e || (a && n.isFunction(a.promise)) ? e : 0, + g = 1 === f ? a : n.Deferred(), + h = function (a, b, c) { + return function (e) { + (b[a] = this), + (c[a] = arguments.length > 1 ? d.call(arguments) : e), + c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c); + }; + }, + i, + j, + k; + if (e > 1) + for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) + c[b] && n.isFunction(c[b].promise) + ? c[b] + .promise() + .done(h(b, k, c)) + .fail(g.reject) + .progress(h(b, j, i)) + : --f; + return f || g.resolveWith(k, c), g.promise(); + }, + }); + var H; + (n.fn.ready = function (a) { + return n.ready.promise().done(a), this; + }), + n.extend({ + isReady: !1, + readyWait: 1, + holdReady: function (a) { + a ? n.readyWait++ : n.ready(!0); + }, + ready: function (a) { + (a === !0 ? --n.readyWait : n.isReady) || + ((n.isReady = !0), + (a !== !0 && --n.readyWait > 0) || + (H.resolveWith(l, [n]), + n.fn.triggerHandler && + (n(l).triggerHandler("ready"), n(l).off("ready")))); + }, + }); + function I() { + l.removeEventListener("DOMContentLoaded", I, !1), + a.removeEventListener("load", I, !1), + n.ready(); + } + (n.ready.promise = function (b) { + return ( + H || + ((H = n.Deferred()), + "complete" === l.readyState + ? setTimeout(n.ready) + : (l.addEventListener("DOMContentLoaded", I, !1), + a.addEventListener("load", I, !1))), + H.promise(b) + ); + }), + n.ready.promise(); + var J = (n.access = function (a, b, c, d, e, f, g) { + var h = 0, + i = a.length, + j = null == c; + if ("object" === n.type(c)) { + e = !0; + for (h in c) n.access(a, b, h, c[h], !0, f, g); + } else if ( + void 0 !== d && + ((e = !0), + n.isFunction(d) || (g = !0), + j && + (g + ? (b.call(a, d), (b = null)) + : ((j = b), + (b = function (a, b, c) { + return j.call(n(a), c); + }))), + b) + ) + for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c))); + return e ? a : j ? b.call(a) : i ? b(a[0], c) : f; + }); + n.acceptData = function (a) { + return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType; + }; + function K() { + Object.defineProperty((this.cache = {}), 0, { + get: function () { + return {}; + }, + }), + (this.expando = n.expando + K.uid++); + } + (K.uid = 1), + (K.accepts = n.acceptData), + (K.prototype = { + key: function (a) { + if (!K.accepts(a)) return 0; + var b = {}, + c = a[this.expando]; + if (!c) { + c = K.uid++; + try { + (b[this.expando] = { value: c }), Object.defineProperties(a, b); + } catch (d) { + (b[this.expando] = c), n.extend(a, b); + } + } + return this.cache[c] || (this.cache[c] = {}), c; + }, + set: function (a, b, c) { + var d, + e = this.key(a), + f = this.cache[e]; + if ("string" == typeof b) f[b] = c; + else if (n.isEmptyObject(f)) n.extend(this.cache[e], b); + else for (d in b) f[d] = b[d]; + return f; + }, + get: function (a, b) { + var c = this.cache[this.key(a)]; + return void 0 === b ? c : c[b]; + }, + access: function (a, b, c) { + var d; + return void 0 === b || (b && "string" == typeof b && void 0 === c) + ? ((d = this.get(a, b)), + void 0 !== d ? d : this.get(a, n.camelCase(b))) + : (this.set(a, b, c), void 0 !== c ? c : b); + }, + remove: function (a, b) { + var c, + d, + e, + f = this.key(a), + g = this.cache[f]; + if (void 0 === b) this.cache[f] = {}; + else { + n.isArray(b) + ? (d = b.concat(b.map(n.camelCase))) + : ((e = n.camelCase(b)), + b in g + ? (d = [b, e]) + : ((d = e), (d = d in g ? [d] : d.match(E) || []))), + (c = d.length); + while (c--) delete g[d[c]]; + } + }, + hasData: function (a) { + return !n.isEmptyObject(this.cache[a[this.expando]] || {}); + }, + discard: function (a) { + a[this.expando] && delete this.cache[a[this.expando]]; + }, + }); + var L = new K(), + M = new K(), + N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + O = /([A-Z])/g; + function P(a, b, c) { + var d; + if (void 0 === c && 1 === a.nodeType) + if ( + ((d = "data-" + b.replace(O, "-$1").toLowerCase()), + (c = a.getAttribute(d)), + "string" == typeof c) + ) { + try { + c = + "true" === c + ? !0 + : "false" === c + ? !1 + : "null" === c + ? null + : +c + "" === c + ? +c + : N.test(c) + ? n.parseJSON(c) + : c; + } catch (e) {} + M.set(a, b, c); + } else c = void 0; + return c; + } + n.extend({ + hasData: function (a) { + return M.hasData(a) || L.hasData(a); + }, + data: function (a, b, c) { + return M.access(a, b, c); + }, + removeData: function (a, b) { + M.remove(a, b); + }, + _data: function (a, b, c) { + return L.access(a, b, c); + }, + _removeData: function (a, b) { + L.remove(a, b); + }, + }), + n.fn.extend({ + data: function (a, b) { + var c, + d, + e, + f = this[0], + g = f && f.attributes; + if (void 0 === a) { + if ( + this.length && + ((e = M.get(f)), 1 === f.nodeType && !L.get(f, "hasDataAttrs")) + ) { + c = g.length; + while (c--) + g[c] && + ((d = g[c].name), + 0 === d.indexOf("data-") && + ((d = n.camelCase(d.slice(5))), P(f, d, e[d]))); + L.set(f, "hasDataAttrs", !0); + } + return e; + } + return "object" == typeof a + ? this.each(function () { + M.set(this, a); + }) + : J( + this, + function (b) { + var c, + d = n.camelCase(a); + if (f && void 0 === b) { + if (((c = M.get(f, a)), void 0 !== c)) return c; + if (((c = M.get(f, d)), void 0 !== c)) return c; + if (((c = P(f, d, void 0)), void 0 !== c)) return c; + } else + this.each(function () { + var c = M.get(this, d); + M.set(this, d, b), + -1 !== a.indexOf("-") && + void 0 !== c && + M.set(this, a, b); + }); + }, + null, + b, + arguments.length > 1, + null, + !0 + ); + }, + removeData: function (a) { + return this.each(function () { + M.remove(this, a); + }); + }, + }), + n.extend({ + queue: function (a, b, c) { + var d; + return a + ? ((b = (b || "fx") + "queue"), + (d = L.get(a, b)), + c && + (!d || n.isArray(c) + ? (d = L.access(a, b, n.makeArray(c))) + : d.push(c)), + d || []) + : void 0; + }, + dequeue: function (a, b) { + b = b || "fx"; + var c = n.queue(a, b), + d = c.length, + e = c.shift(), + f = n._queueHooks(a, b), + g = function () { + n.dequeue(a, b); + }; + "inprogress" === e && ((e = c.shift()), d--), + e && + ("fx" === b && c.unshift("inprogress"), + delete f.stop, + e.call(a, g, f)), + !d && f && f.empty.fire(); + }, + _queueHooks: function (a, b) { + var c = b + "queueHooks"; + return ( + L.get(a, c) || + L.access(a, c, { + empty: n.Callbacks("once memory").add(function () { + L.remove(a, [b + "queue", c]); + }), + }) + ); + }, + }), + n.fn.extend({ + queue: function (a, b) { + var c = 2; + return ( + "string" != typeof a && ((b = a), (a = "fx"), c--), + arguments.length < c + ? n.queue(this[0], a) + : void 0 === b + ? this + : this.each(function () { + var c = n.queue(this, a, b); + n._queueHooks(this, a), + "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a); + }) + ); + }, + dequeue: function (a) { + return this.each(function () { + n.dequeue(this, a); + }); + }, + clearQueue: function (a) { + return this.queue(a || "fx", []); + }, + promise: function (a, b) { + var c, + d = 1, + e = n.Deferred(), + f = this, + g = this.length, + h = function () { + --d || e.resolveWith(f, [f]); + }; + "string" != typeof a && ((b = a), (a = void 0)), (a = a || "fx"); + while (g--) + (c = L.get(f[g], a + "queueHooks")), + c && c.empty && (d++, c.empty.add(h)); + return h(), e.promise(b); + }, + }); + var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + R = ["Top", "Right", "Bottom", "Left"], + S = function (a, b) { + return ( + (a = b || a), + "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a) + ); + }, + T = /^(?:checkbox|radio)$/i; + !(function () { + var a = l.createDocumentFragment(), + b = a.appendChild(l.createElement("div")), + c = l.createElement("input"); + c.setAttribute("type", "radio"), + c.setAttribute("checked", "checked"), + c.setAttribute("name", "t"), + b.appendChild(c), + (k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked), + (b.innerHTML = ""), + (k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue); + })(); + var U = "undefined"; + k.focusinBubbles = "onfocusin" in a; + var V = /^key/, + W = /^(?:mouse|pointer|contextmenu)|click/, + X = /^(?:focusinfocus|focusoutblur)$/, + Y = /^([^.]*)(?:\.(.+)|)$/; + function Z() { + return !0; + } + function $() { + return !1; + } + function _() { + try { + return l.activeElement; + } catch (a) {} + } + (n.event = { + global: {}, + add: function (a, b, c, d, e) { + var f, + g, + h, + i, + j, + k, + l, + m, + o, + p, + q, + r = L.get(a); + if (r) { + c.handler && ((f = c), (c = f.handler), (e = f.selector)), + c.guid || (c.guid = n.guid++), + (i = r.events) || (i = r.events = {}), + (g = r.handle) || + (g = r.handle = + function (b) { + return typeof n !== U && n.event.triggered !== b.type + ? n.event.dispatch.apply(a, arguments) + : void 0; + }), + (b = (b || "").match(E) || [""]), + (j = b.length); + while (j--) + (h = Y.exec(b[j]) || []), + (o = q = h[1]), + (p = (h[2] || "").split(".").sort()), + o && + ((l = n.event.special[o] || {}), + (o = (e ? l.delegateType : l.bindType) || o), + (l = n.event.special[o] || {}), + (k = n.extend( + { + type: o, + origType: q, + data: d, + handler: c, + guid: c.guid, + selector: e, + needsContext: e && n.expr.match.needsContext.test(e), + namespace: p.join("."), + }, + f + )), + (m = i[o]) || + ((m = i[o] = []), + (m.delegateCount = 0), + (l.setup && l.setup.call(a, d, p, g) !== !1) || + (a.addEventListener && a.addEventListener(o, g, !1))), + l.add && + (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), + e ? m.splice(m.delegateCount++, 0, k) : m.push(k), + (n.event.global[o] = !0)); + } + }, + remove: function (a, b, c, d, e) { + var f, + g, + h, + i, + j, + k, + l, + m, + o, + p, + q, + r = L.hasData(a) && L.get(a); + if (r && (i = r.events)) { + (b = (b || "").match(E) || [""]), (j = b.length); + while (j--) + if ( + ((h = Y.exec(b[j]) || []), + (o = q = h[1]), + (p = (h[2] || "").split(".").sort()), + o) + ) { + (l = n.event.special[o] || {}), + (o = (d ? l.delegateType : l.bindType) || o), + (m = i[o] || []), + (h = + h[2] && + new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)")), + (g = f = m.length); + while (f--) + (k = m[f]), + (!e && q !== k.origType) || + (c && c.guid !== k.guid) || + (h && !h.test(k.namespace)) || + (d && d !== k.selector && ("**" !== d || !k.selector)) || + (m.splice(f, 1), + k.selector && m.delegateCount--, + l.remove && l.remove.call(a, k)); + g && + !m.length && + ((l.teardown && l.teardown.call(a, p, r.handle) !== !1) || + n.removeEvent(a, o, r.handle), + delete i[o]); + } else for (o in i) n.event.remove(a, o + b[j], c, d, !0); + n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events")); + } + }, + trigger: function (b, c, d, e) { + var f, + g, + h, + i, + k, + m, + o, + p = [d || l], + q = j.call(b, "type") ? b.type : b, + r = j.call(b, "namespace") ? b.namespace.split(".") : []; + if ( + ((g = h = d = d || l), + 3 !== d.nodeType && + 8 !== d.nodeType && + !X.test(q + n.event.triggered) && + (q.indexOf(".") >= 0 && + ((r = q.split(".")), (q = r.shift()), r.sort()), + (k = q.indexOf(":") < 0 && "on" + q), + (b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b)), + (b.isTrigger = e ? 2 : 3), + (b.namespace = r.join(".")), + (b.namespace_re = b.namespace + ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") + : null), + (b.result = void 0), + b.target || (b.target = d), + (c = null == c ? [b] : n.makeArray(c, [b])), + (o = n.event.special[q] || {}), + e || !o.trigger || o.trigger.apply(d, c) !== !1)) + ) { + if (!e && !o.noBubble && !n.isWindow(d)) { + for ( + i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); + g; + g = g.parentNode + ) + p.push(g), (h = g); + h === (d.ownerDocument || l) && + p.push(h.defaultView || h.parentWindow || a); + } + f = 0; + while ((g = p[f++]) && !b.isPropagationStopped()) + (b.type = f > 1 ? i : o.bindType || q), + (m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle")), + m && m.apply(g, c), + (m = k && g[k]), + m && + m.apply && + n.acceptData(g) && + ((b.result = m.apply(g, c)), + b.result === !1 && b.preventDefault()); + return ( + (b.type = q), + e || + b.isDefaultPrevented() || + (o._default && o._default.apply(p.pop(), c) !== !1) || + !n.acceptData(d) || + (k && + n.isFunction(d[q]) && + !n.isWindow(d) && + ((h = d[k]), + h && (d[k] = null), + (n.event.triggered = q), + d[q](), + (n.event.triggered = void 0), + h && (d[k] = h))), + b.result + ); + } + }, + dispatch: function (a) { + a = n.event.fix(a); + var b, + c, + e, + f, + g, + h = [], + i = d.call(arguments), + j = (L.get(this, "events") || {})[a.type] || [], + k = n.event.special[a.type] || {}; + if ( + ((i[0] = a), + (a.delegateTarget = this), + !k.preDispatch || k.preDispatch.call(this, a) !== !1) + ) { + (h = n.event.handlers.call(this, a, j)), (b = 0); + while ((f = h[b++]) && !a.isPropagationStopped()) { + (a.currentTarget = f.elem), (c = 0); + while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped()) + (!a.namespace_re || a.namespace_re.test(g.namespace)) && + ((a.handleObj = g), + (a.data = g.data), + (e = ( + (n.event.special[g.origType] || {}).handle || g.handler + ).apply(f.elem, i)), + void 0 !== e && + (a.result = e) === !1 && + (a.preventDefault(), a.stopPropagation())); + } + return k.postDispatch && k.postDispatch.call(this, a), a.result; + } + }, + handlers: function (a, b) { + var c, + d, + e, + f, + g = [], + h = b.delegateCount, + i = a.target; + if (h && i.nodeType && (!a.button || "click" !== a.type)) + for (; i !== this; i = i.parentNode || this) + if (i.disabled !== !0 || "click" !== a.type) { + for (d = [], c = 0; h > c; c++) + (f = b[c]), + (e = f.selector + " "), + void 0 === d[e] && + (d[e] = f.needsContext + ? n(e, this).index(i) >= 0 + : n.find(e, this, null, [i]).length), + d[e] && d.push(f); + d.length && g.push({ elem: i, handlers: d }); + } + return h < b.length && g.push({ elem: this, handlers: b.slice(h) }), g; + }, + 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 (a, b) { + return ( + null == a.which && + (a.which = null != b.charCode ? b.charCode : b.keyCode), + a + ); + }, + }, + mouseHooks: { + props: + "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split( + " " + ), + filter: function (a, b) { + var c, + d, + e, + f = b.button; + return ( + null == a.pageX && + null != b.clientX && + ((c = a.target.ownerDocument || l), + (d = c.documentElement), + (e = c.body), + (a.pageX = + b.clientX + + ((d && d.scrollLeft) || (e && e.scrollLeft) || 0) - + ((d && d.clientLeft) || (e && e.clientLeft) || 0)), + (a.pageY = + b.clientY + + ((d && d.scrollTop) || (e && e.scrollTop) || 0) - + ((d && d.clientTop) || (e && e.clientTop) || 0))), + a.which || + void 0 === f || + (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), + a + ); + }, + }, + fix: function (a) { + if (a[n.expando]) return a; + var b, + c, + d, + e = a.type, + f = a, + g = this.fixHooks[e]; + g || + (this.fixHooks[e] = g = + W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), + (d = g.props ? this.props.concat(g.props) : this.props), + (a = new n.Event(f)), + (b = d.length); + while (b--) (c = d[b]), (a[c] = f[c]); + return ( + a.target || (a.target = l), + 3 === a.target.nodeType && (a.target = a.target.parentNode), + g.filter ? g.filter(a, f) : a + ); + }, + special: { + load: { noBubble: !0 }, + focus: { + trigger: function () { + return this !== _() && this.focus ? (this.focus(), !1) : void 0; + }, + delegateType: "focusin", + }, + blur: { + trigger: function () { + return this === _() && this.blur ? (this.blur(), !1) : void 0; + }, + delegateType: "focusout", + }, + click: { + trigger: function () { + return "checkbox" === this.type && + this.click && + n.nodeName(this, "input") + ? (this.click(), !1) + : void 0; + }, + _default: function (a) { + return n.nodeName(a.target, "a"); + }, + }, + beforeunload: { + postDispatch: function (a) { + void 0 !== a.result && + a.originalEvent && + (a.originalEvent.returnValue = a.result); + }, + }, + }, + simulate: function (a, b, c, d) { + var e = n.extend(new n.Event(), c, { + type: a, + isSimulated: !0, + originalEvent: {}, + }); + d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), + e.isDefaultPrevented() && c.preventDefault(); + }, + }), + (n.removeEvent = function (a, b, c) { + a.removeEventListener && a.removeEventListener(b, c, !1); + }), + (n.Event = function (a, b) { + return this instanceof n.Event + ? (a && a.type + ? ((this.originalEvent = a), + (this.type = a.type), + (this.isDefaultPrevented = + a.defaultPrevented || + (void 0 === a.defaultPrevented && a.returnValue === !1) + ? Z + : $)) + : (this.type = a), + b && n.extend(this, b), + (this.timeStamp = (a && a.timeStamp) || n.now()), + void (this[n.expando] = !0)) + : new n.Event(a, b); + }), + (n.Event.prototype = { + isDefaultPrevented: $, + isPropagationStopped: $, + isImmediatePropagationStopped: $, + preventDefault: function () { + var a = this.originalEvent; + (this.isDefaultPrevented = Z), + a && a.preventDefault && a.preventDefault(); + }, + stopPropagation: function () { + var a = this.originalEvent; + (this.isPropagationStopped = Z), + a && a.stopPropagation && a.stopPropagation(); + }, + stopImmediatePropagation: function () { + var a = this.originalEvent; + (this.isImmediatePropagationStopped = Z), + a && a.stopImmediatePropagation && a.stopImmediatePropagation(), + this.stopPropagation(); + }, + }), + n.each( + { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout", + }, + function (a, b) { + n.event.special[a] = { + delegateType: b, + bindType: b, + handle: function (a) { + var c, + d = this, + e = a.relatedTarget, + f = a.handleObj; + return ( + (!e || (e !== d && !n.contains(d, e))) && + ((a.type = f.origType), + (c = f.handler.apply(this, arguments)), + (a.type = b)), + c + ); + }, + }; + } + ), + k.focusinBubbles || + n.each({ focus: "focusin", blur: "focusout" }, function (a, b) { + var c = function (a) { + n.event.simulate(b, a.target, n.event.fix(a), !0); + }; + n.event.special[b] = { + setup: function () { + var d = this.ownerDocument || this, + e = L.access(d, b); + e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1); + }, + teardown: function () { + var d = this.ownerDocument || this, + e = L.access(d, b) - 1; + e + ? L.access(d, b, e) + : (d.removeEventListener(a, c, !0), L.remove(d, b)); + }, + }; + }), + n.fn.extend({ + on: function (a, b, c, d, e) { + var f, g; + if ("object" == typeof a) { + "string" != typeof b && ((c = c || b), (b = void 0)); + for (g in a) this.on(g, b, c, a[g], e); + return this; + } + if ( + (null == c && null == d + ? ((d = b), (c = b = void 0)) + : null == d && + ("string" == typeof b + ? ((d = c), (c = void 0)) + : ((d = c), (c = b), (b = void 0))), + d === !1) + ) + d = $; + else if (!d) return this; + return ( + 1 === e && + ((f = d), + (d = function (a) { + return n().off(a), f.apply(this, arguments); + }), + (d.guid = f.guid || (f.guid = n.guid++))), + this.each(function () { + n.event.add(this, a, d, c, b); + }) + ); + }, + one: function (a, b, c, d) { + return this.on(a, b, c, d, 1); + }, + off: function (a, b, c) { + var d, e; + if (a && a.preventDefault && a.handleObj) + return ( + (d = a.handleObj), + n(a.delegateTarget).off( + d.namespace ? d.origType + "." + d.namespace : d.origType, + d.selector, + d.handler + ), + this + ); + if ("object" == typeof a) { + for (e in a) this.off(e, b, a[e]); + return this; + } + return ( + (b === !1 || "function" == typeof b) && ((c = b), (b = void 0)), + c === !1 && (c = $), + this.each(function () { + n.event.remove(this, a, c, b); + }) + ); + }, + trigger: function (a, b) { + return this.each(function () { + n.event.trigger(a, b, this); + }); + }, + triggerHandler: function (a, b) { + var c = this[0]; + return c ? n.event.trigger(a, b, c, !0) : void 0; + }, + }); + var aa = + /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + ba = /<([\w:]+)/, + ca = /<|&#?\w+;/, + da = /<(?:script|style|link)/i, + ea = /checked\s*(?:[^=]|=\s*.checked.)/i, + fa = /^$|\/(?:java|ecma)script/i, + ga = /^true\/(.*)/, + ha = /^\s*\s*$/g, + ia = { + option: [1, ""], + thead: [1, "", "
"], + col: [2, "", "
"], + tr: [2, "", "
"], + td: [3, "", "
"], + _default: [0, "", ""], + }; + (ia.optgroup = ia.option), + (ia.tbody = ia.tfoot = ia.colgroup = ia.caption = ia.thead), + (ia.th = ia.td); + function ja(a, b) { + return n.nodeName(a, "table") && + n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") + ? a.getElementsByTagName("tbody")[0] || + a.appendChild(a.ownerDocument.createElement("tbody")) + : a; + } + function ka(a) { + return (a.type = (null !== a.getAttribute("type")) + "/" + a.type), a; + } + function la(a) { + var b = ga.exec(a.type); + return b ? (a.type = b[1]) : a.removeAttribute("type"), a; + } + function ma(a, b) { + for (var c = 0, d = a.length; d > c; c++) + L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval")); + } + function na(a, b) { + var c, d, e, f, g, h, i, j; + if (1 === b.nodeType) { + if ( + L.hasData(a) && + ((f = L.access(a)), (g = L.set(b, f)), (j = f.events)) + ) { + delete g.handle, (g.events = {}); + for (e in j) + for (c = 0, d = j[e].length; d > c; c++) n.event.add(b, e, j[e][c]); + } + M.hasData(a) && ((h = M.access(a)), (i = n.extend({}, h)), M.set(b, i)); + } + } + function oa(a, b) { + var c = a.getElementsByTagName + ? a.getElementsByTagName(b || "*") + : a.querySelectorAll + ? a.querySelectorAll(b || "*") + : []; + return void 0 === b || (b && n.nodeName(a, b)) ? n.merge([a], c) : c; + } + function pa(a, b) { + var c = b.nodeName.toLowerCase(); + "input" === c && T.test(a.type) + ? (b.checked = a.checked) + : ("input" === c || "textarea" === c) && + (b.defaultValue = a.defaultValue); + } + n.extend({ + clone: function (a, b, c) { + var d, + e, + f, + g, + h = a.cloneNode(!0), + i = n.contains(a.ownerDocument, a); + if ( + !( + k.noCloneChecked || + (1 !== a.nodeType && 11 !== a.nodeType) || + n.isXMLDoc(a) + ) + ) + for (g = oa(h), f = oa(a), d = 0, e = f.length; e > d; d++) + pa(f[d], g[d]); + if (b) + if (c) + for (f = f || oa(a), g = g || oa(h), d = 0, e = f.length; e > d; d++) + na(f[d], g[d]); + else na(a, h); + return ( + (g = oa(h, "script")), g.length > 0 && ma(g, !i && oa(a, "script")), h + ); + }, + buildFragment: function (a, b, c, d) { + for ( + var e, + f, + g, + h, + i, + j, + k = b.createDocumentFragment(), + l = [], + m = 0, + o = a.length; + o > m; + m++ + ) + if (((e = a[m]), e || 0 === e)) + if ("object" === n.type(e)) n.merge(l, e.nodeType ? [e] : e); + else if (ca.test(e)) { + (f = f || k.appendChild(b.createElement("div"))), + (g = (ba.exec(e) || ["", ""])[1].toLowerCase()), + (h = ia[g] || ia._default), + (f.innerHTML = h[1] + e.replace(aa, "<$1>") + h[2]), + (j = h[0]); + while (j--) f = f.lastChild; + n.merge(l, f.childNodes), (f = k.firstChild), (f.textContent = ""); + } else l.push(b.createTextNode(e)); + (k.textContent = ""), (m = 0); + while ((e = l[m++])) + if ( + (!d || -1 === n.inArray(e, d)) && + ((i = n.contains(e.ownerDocument, e)), + (f = oa(k.appendChild(e), "script")), + i && ma(f), + c) + ) { + j = 0; + while ((e = f[j++])) fa.test(e.type || "") && c.push(e); + } + return k; + }, + cleanData: function (a) { + for ( + var b, c, d, e, f = n.event.special, g = 0; + void 0 !== (c = a[g]); + g++ + ) { + if (n.acceptData(c) && ((e = c[L.expando]), e && (b = L.cache[e]))) { + if (b.events) + for (d in b.events) + f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle); + L.cache[e] && delete L.cache[e]; + } + delete M.cache[c[M.expando]]; + } + }, + }), + n.fn.extend({ + text: function (a) { + return J( + this, + function (a) { + return void 0 === a + ? n.text(this) + : this.empty().each(function () { + (1 === this.nodeType || + 11 === this.nodeType || + 9 === this.nodeType) && + (this.textContent = a); + }); + }, + null, + a, + arguments.length + ); + }, + append: function () { + return this.domManip(arguments, function (a) { + if ( + 1 === this.nodeType || + 11 === this.nodeType || + 9 === this.nodeType + ) { + var b = ja(this, a); + b.appendChild(a); + } + }); + }, + prepend: function () { + return this.domManip(arguments, function (a) { + if ( + 1 === this.nodeType || + 11 === this.nodeType || + 9 === this.nodeType + ) { + var b = ja(this, a); + b.insertBefore(a, b.firstChild); + } + }); + }, + before: function () { + return this.domManip(arguments, function (a) { + this.parentNode && this.parentNode.insertBefore(a, this); + }); + }, + after: function () { + return this.domManip(arguments, function (a) { + this.parentNode && this.parentNode.insertBefore(a, this.nextSibling); + }); + }, + remove: function (a, b) { + for ( + var c, d = a ? n.filter(a, this) : this, e = 0; + null != (c = d[e]); + e++ + ) + b || 1 !== c.nodeType || n.cleanData(oa(c)), + c.parentNode && + (b && n.contains(c.ownerDocument, c) && ma(oa(c, "script")), + c.parentNode.removeChild(c)); + return this; + }, + empty: function () { + for (var a, b = 0; null != (a = this[b]); b++) + 1 === a.nodeType && (n.cleanData(oa(a, !1)), (a.textContent = "")); + return this; + }, + clone: function (a, b) { + return ( + (a = null == a ? !1 : a), + (b = null == b ? a : b), + this.map(function () { + return n.clone(this, a, b); + }) + ); + }, + html: function (a) { + return J( + this, + function (a) { + var b = this[0] || {}, + c = 0, + d = this.length; + if (void 0 === a && 1 === b.nodeType) return b.innerHTML; + if ( + "string" == typeof a && + !da.test(a) && + !ia[(ba.exec(a) || ["", ""])[1].toLowerCase()] + ) { + a = a.replace(aa, "<$1>"); + try { + for (; d > c; c++) + (b = this[c] || {}), + 1 === b.nodeType && + (n.cleanData(oa(b, !1)), (b.innerHTML = a)); + b = 0; + } catch (e) {} + } + b && this.empty().append(a); + }, + null, + a, + arguments.length + ); + }, + replaceWith: function () { + var a = arguments[0]; + return ( + this.domManip(arguments, function (b) { + (a = this.parentNode), + n.cleanData(oa(this)), + a && a.replaceChild(b, this); + }), + a && (a.length || a.nodeType) ? this : this.remove() + ); + }, + detach: function (a) { + return this.remove(a, !0); + }, + domManip: function (a, b) { + a = e.apply([], a); + var c, + d, + f, + g, + h, + i, + j = 0, + l = this.length, + m = this, + o = l - 1, + p = a[0], + q = n.isFunction(p); + if (q || (l > 1 && "string" == typeof p && !k.checkClone && ea.test(p))) + return this.each(function (c) { + var d = m.eq(c); + q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b); + }); + if ( + l && + ((c = n.buildFragment(a, this[0].ownerDocument, !1, this)), + (d = c.firstChild), + 1 === c.childNodes.length && (c = d), + d) + ) { + for (f = n.map(oa(c, "script"), ka), g = f.length; l > j; j++) + (h = c), + j !== o && + ((h = n.clone(h, !0, !0)), g && n.merge(f, oa(h, "script"))), + b.call(this[j], h, j); + if (g) + for ( + i = f[f.length - 1].ownerDocument, n.map(f, la), j = 0; + g > j; + j++ + ) + (h = f[j]), + fa.test(h.type || "") && + !L.access(h, "globalEval") && + n.contains(i, h) && + (h.src + ? n._evalUrl && n._evalUrl(h.src) + : n.globalEval(h.textContent.replace(ha, ""))); + } + return this; + }, + }), + n.each( + { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith", + }, + function (a, b) { + n.fn[a] = function (a) { + for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++) + (c = h === g ? this : this.clone(!0)), + n(e[h])[b](c), + f.apply(d, c.get()); + return this.pushStack(d); + }; + } + ); + var qa, + ra = {}; + function sa(b, c) { + var d, + e = n(c.createElement(b)).appendTo(c.body), + f = + a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) + ? d.display + : n.css(e[0], "display"); + return e.detach(), f; + } + function ta(a) { + var b = l, + c = ra[a]; + return ( + c || + ((c = sa(a, b)), + ("none" !== c && c) || + ((qa = ( + qa || n("
', + 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 () { + b.types.push(P), + w("BeforeChange", function (a, b, c) { + b !== c && (b === P ? R() : c === P && R(!0)); + }), + w(h + "." + P, function () { + R(); + }); + }, + getIframe: function (c, d) { + var e = c.src, + f = b.st.iframe; + a.each(f.patterns, function () { + return e.indexOf(this.index) > -1 + ? (this.id && + (e = + "string" == typeof this.id + ? e.substr( + e.lastIndexOf(this.id) + this.id.length, + e.length + ) + : this.id.call(this, e)), + (e = this.src.replace("%id%", e)), + !1) + : void 0; + }); + var g = {}; + return ( + f.srcAction && (g[f.srcAction] = e), + b._parseMarkup(d, g, c), + b.updateStatus("ready"), + d + ); + }, + }, + }); + var S = function (a) { + var c = b.items.length; + return a > c - 1 ? a - c : 0 > a ? c + a : a; + }, + T = function (a, b, c) { + return a.replace(/%curr%/gi, b + 1).replace(/%total%/gi, c); + }; + a.magnificPopup.registerModule("gallery", { + options: { + enabled: !1, + arrowMarkup: + '', + 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 = b.st.gallery, + e = ".mfp-gallery"; + return ( + (b.direction = !0), + c && c.enabled + ? ((f += " mfp-gallery"), + w(m + e, function () { + c.navigateByImgClick && + b.wrap.on("click" + e, ".mfp-img", function () { + return b.items.length > 1 ? (b.next(), !1) : void 0; + }), + d.on("keydown" + e, function (a) { + 37 === a.keyCode ? b.prev() : 39 === a.keyCode && b.next(); + }); + }), + w("UpdateStatus" + e, function (a, c) { + c.text && + (c.text = T(c.text, b.currItem.index, b.items.length)); + }), + w(l + e, function (a, d, e, f) { + var g = b.items.length; + e.counter = g > 1 ? T(c.tCounter, f.index, g) : ""; + }), + w("BuildControls" + e, function () { + if (b.items.length > 1 && c.arrows && !b.arrowLeft) { + var d = c.arrowMarkup, + e = (b.arrowLeft = a( + d.replace(/%title%/gi, c.tPrev).replace(/%dir%/gi, "left") + ).addClass(s)), + f = (b.arrowRight = a( + d + .replace(/%title%/gi, c.tNext) + .replace(/%dir%/gi, "right") + ).addClass(s)); + e.click(function () { + b.prev(); + }), + f.click(function () { + b.next(); + }), + b.container.append(e.add(f)); + } + }), + w(n + e, function () { + b._preloadTimeout && clearTimeout(b._preloadTimeout), + (b._preloadTimeout = setTimeout(function () { + b.preloadNearbyImages(), (b._preloadTimeout = null); + }, 16)); + }), + void w(h + e, function () { + d.off(e), + b.wrap.off("click" + e), + (b.arrowRight = b.arrowLeft = null); + })) + : !1 + ); + }, + next: function () { + (b.direction = !0), (b.index = S(b.index + 1)), b.updateItemHTML(); + }, + prev: function () { + (b.direction = !1), (b.index = S(b.index - 1)), b.updateItemHTML(); + }, + goTo: function (a) { + (b.direction = a >= b.index), (b.index = a), b.updateItemHTML(); + }, + preloadNearbyImages: function () { + var a, + c = b.st.gallery.preload, + d = Math.min(c[0], b.items.length), + e = Math.min(c[1], b.items.length); + for (a = 1; a <= (b.direction ? e : d); a++) + b._preloadItem(b.index + a); + for (a = 1; a <= (b.direction ? d : e); a++) + b._preloadItem(b.index - a); + }, + _preloadItem: function (c) { + if (((c = S(c)), !b.items[c].preloaded)) { + var d = b.items[c]; + d.parsed || (d = b.parseEl(c)), + y("LazyLoad", d), + "image" === d.type && + (d.img = a('') + .on("load.mfploader", function () { + d.hasSize = !0; + }) + .on("error.mfploader", function () { + (d.hasSize = !0), (d.loadError = !0), y("LazyLoadError", d); + }) + .attr("src", d.src)), + (d.preloaded = !0); + } + }, + }, + }); + var U = "retina"; + a.magnificPopup.registerModule(U, { + 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 = b.st.retina, + c = a.ratio; + (c = isNaN(c) ? c() : c), + c > 1 && + (w("ImageHasSize." + U, function (a, b) { + b.img.css({ + "max-width": b.img[0].naturalWidth / c, + width: "100%", + }); + }), + w("ElementParse." + U, function (b, d) { + d.src = a.replaceSrc(d, c); + })); + } + }, + }, + }), + A(); +}); diff --git a/public/assets/assetLanding/js/jquery.scrollme.min.js b/public/assets/assetLanding/js/jquery.scrollme.min.js new file mode 100644 index 0000000..83bc873 --- /dev/null +++ b/public/assets/assetLanding/js/jquery.scrollme.min.js @@ -0,0 +1,318 @@ +// ---------------------------------------------------------------------------------------------------- +// ScrollMe +// A jQuery plugin for adding simple scrolling effects to web pages +// http://scrollme.nckprsn.com +// ---------------------------------------------------------------------------------------------------- +var scrollme = (function (a) { + var d = {}; + var c = a(document); + var b = a(window); + d.body_height = 0; + d.viewport_height = 0; + d.viewport_top = 0; + d.viewport_bottom = 0; + d.viewport_top_previous = -1; + d.elements = []; + d.elements_in_view = []; + d.property_defaults = { + opacity: 1, + translatex: 0, + translatey: 0, + translatez: 0, + rotatex: 0, + rotatey: 0, + rotatez: 0, + scale: 1, + scalex: 1, + scaley: 1, + scalez: 1, + }; + d.scrollme_selector = ".scrollme"; + d.animateme_selector = ".animateme"; + d.update_interval = 10; + d.easing_functions = { + linear: function (e) { + return e; + }, + easeout: function (e) { + return e * e * e; + }, + easein: function (e) { + e = 1 - e; + return 1 - e * e * e; + }, + easeinout: function (e) { + if (e < 0.5) { + return 4 * e * e * e; + } else { + e = 1 - e; + return 1 - 4 * e * e * e; + } + }, + }; + d.init_events = ["ready", "page:load", "page:change"]; + d.init_if = function () { + return true; + }; + d.init = function () { + if (!d.init_if()) { + return false; + } + d.init_elements(); + d.on_resize(); + b.on("resize orientationchange", function () { + d.on_resize(); + }); + b.load(function () { + setTimeout(function () { + d.on_resize(); + }, 100); + }); + setInterval(d.update, d.update_interval); + return true; + }; + d.init_elements = function () { + a(d.scrollme_selector).each(function () { + var e = {}; + e.element = a(this); + var f = []; + a(this) + .find(d.animateme_selector) + .addBack(d.animateme_selector) + .each(function () { + var h = {}; + h.element = a(this); + h.when = h.element.data("when"); + h.from = h.element.data("from"); + h.to = h.element.data("to"); + if (h.element.is("[data-crop]")) { + h.crop = h.element.data("crop"); + } else { + h.crop = true; + } + if (h.element.is("[data-easing]")) { + h.easing = d.easing_functions[h.element.data("easing")]; + } else { + h.easing = d.easing_functions.easeout; + } + var g = {}; + if (h.element.is("[data-opacity]")) { + g.opacity = h.element.data("opacity"); + } + if (h.element.is("[data-translatex]")) { + g.translatex = h.element.data("translatex"); + } + if (h.element.is("[data-translatey]")) { + g.translatey = h.element.data("translatey"); + } + if (h.element.is("[data-translatez]")) { + g.translatez = h.element.data("translatez"); + } + if (h.element.is("[data-rotatex]")) { + g.rotatex = h.element.data("rotatex"); + } + if (h.element.is("[data-rotatey]")) { + g.rotatey = h.element.data("rotatey"); + } + if (h.element.is("[data-rotatez]")) { + g.rotatez = h.element.data("rotatez"); + } + if (h.element.is("[data-scale]")) { + g.scale = h.element.data("scale"); + } + if (h.element.is("[data-scalex]")) { + g.scalex = h.element.data("scalex"); + } + if (h.element.is("[data-scaley]")) { + g.scaley = h.element.data("scaley"); + } + if (h.element.is("[data-scalez]")) { + g.scalez = h.element.data("scalez"); + } + h.properties = g; + f.push(h); + }); + e.effects = f; + d.elements.push(e); + }); + }; + d.update = function () { + window.requestAnimationFrame(function () { + d.update_viewport_position(); + if (d.viewport_top_previous != d.viewport_top) { + d.update_elements_in_view(); + d.animate(); + } + d.viewport_top_previous = d.viewport_top; + }); + }; + d.animate = function () { + var C = d.elements_in_view.length; + for (var A = 0; A < C; A++) { + var h = d.elements_in_view[A]; + var f = h.effects.length; + for (var D = 0; D < f; D++) { + var w = h.effects[D]; + switch (w.when) { + case "view": + case "span": + var r = h.top - d.viewport_height; + var n = h.bottom; + break; + case "exit": + var r = h.bottom - d.viewport_height; + var n = h.bottom; + break; + default: + var r = h.top - d.viewport_height; + var n = h.top; + break; + } + if (w.crop) { + if (r < 0) { + r = 0; + } + if (n > d.body_height - d.viewport_height) { + n = d.body_height - d.viewport_height; + } + } + var g = (d.viewport_top - r) / (n - r); + var x = w.from; + var j = w.to; + var o = j - x; + var k = (g - x) / o; + var v = w.easing(k); + var l = d.animate_value(g, v, x, j, w, "opacity"); + var t = d.animate_value(g, v, x, j, w, "translatey"); + var u = d.animate_value(g, v, x, j, w, "translatex"); + var s = d.animate_value(g, v, x, j, w, "translatez"); + var B = d.animate_value(g, v, x, j, w, "rotatex"); + var z = d.animate_value(g, v, x, j, w, "rotatey"); + var y = d.animate_value(g, v, x, j, w, "rotatez"); + var E = d.animate_value(g, v, x, j, w, "scale"); + var q = d.animate_value(g, v, x, j, w, "scalex"); + var p = d.animate_value(g, v, x, j, w, "scaley"); + var m = d.animate_value(g, v, x, j, w, "scalez"); + if ("scale" in w.properties) { + q = E; + p = E; + m = E; + } + w.element.css({ + opacity: l, + transform: + "translate3d( " + + u + + "px , " + + t + + "px , " + + s + + "px ) rotateX( " + + B + + "deg ) rotateY( " + + z + + "deg ) rotateZ( " + + y + + "deg ) scale3d( " + + q + + " , " + + p + + " , " + + m + + " )", + }); + } + } + }; + d.animate_value = function (i, h, j, k, n, m) { + var g = d.property_defaults[m]; + if (!(m in n.properties)) { + return g; + } + var e = n.properties[m]; + var f = k > j ? true : false; + if (i < j && f) { + return g; + } + if (i > k && f) { + return e; + } + if (i > j && !f) { + return g; + } + if (i < k && !f) { + return e; + } + var l = g + h * (e - g); + switch (m) { + case "opacity": + l = l.toFixed(2); + break; + case "translatex": + l = l.toFixed(0); + break; + case "translatey": + l = l.toFixed(0); + break; + case "translatez": + l = l.toFixed(0); + break; + case "rotatex": + l = l.toFixed(1); + break; + case "rotatey": + l = l.toFixed(1); + break; + case "rotatez": + l = l.toFixed(1); + break; + case "scale": + l = l.toFixed(3); + break; + default: + break; + } + return l; + }; + d.update_viewport_position = function () { + d.viewport_top = b.scrollTop(); + d.viewport_bottom = d.viewport_top + d.viewport_height; + }; + d.update_elements_in_view = function () { + d.elements_in_view = []; + var f = d.elements.length; + for (var e = 0; e < f; e++) { + if ( + d.elements[e].top < d.viewport_bottom && + d.elements[e].bottom > d.viewport_top + ) { + d.elements_in_view.push(d.elements[e]); + } + } + }; + d.on_resize = function () { + d.update_viewport(); + d.update_element_heights(); + d.update_viewport_position(); + d.update_elements_in_view(); + d.animate(); + }; + d.update_viewport = function () { + d.body_height = c.height(); + d.viewport_height = b.height(); + }; + d.update_element_heights = function () { + var g = d.elements.length; + for (var f = 0; f < g; f++) { + var h = d.elements[f].element.outerHeight(); + var e = d.elements[f].element.offset(); + d.elements[f].height = h; + d.elements[f].top = e.top; + d.elements[f].bottom = e.top + h; + } + }; + c.on(d.init_events.join(" "), function () { + d.init(); + }); + return d; +})(jQuery); diff --git a/public/assets/assetLanding/js/mega_menu.min.js b/public/assets/assetLanding/js/mega_menu.min.js new file mode 100644 index 0000000..5e0cf35 --- /dev/null +++ b/public/assets/assetLanding/js/mega_menu.min.js @@ -0,0 +1,280 @@ +!(function (e) { + var o = { + logo_align: "left", + links_align: "left", + socialBar_align: "left", + searchBar_align: "right", + trigger: "hover", + effect: "fade", + effect_speed: 400, + sibling: !0, + outside_click_close: !0, + top_fixed: !1, + sticky_header: !1, + sticky_header_height: 200, + menu_position: "horizontal", + full_width: !0, + mobile_settings: { + collapse: !1, + sibling: !0, + scrollBar: !0, + scrollBar_height: 400, + top_fixed: !1, + sticky_header: !1, + sticky_header_height: 200, + }, + }; + e.fn.megaMenu = function (i) { + return ( + (i = e.extend({}, o, i || {})), + this.each(function () { + var o, + s = e(this), + t = "ul", + n = "li", + a = "a", + r = s.find(".menu-logo"), + l = r.children(n), + d = s.find(".menu-links"), + c = d.children(n), + _ = s.find(".menu-social-bar"), + f = s.find(".menu-search-bar"), + p = ".menu-mobile-collapse-trigger", + u = ".mobileTriggerButton", + g = ".desktopTriggerButton", + h = "active", + m = "activeTrigger", + b = "activeTriggerMobile", + v = ".drop-down-multilevel, .drop-down, .drop-down-tab-bar", + w = "desktopTopFixed", + C = "mobileTopFixed", + k = "menuFullWidth", + y = s.find(".menu-contact-form"), + x = y.find(".nav_form_notification"); + (o = { + contact_form_ajax: function () { + e(y).submit(function (o) { + var i = e(this); + o.preventDefault(); + var s = e(this).serialize(); + i.find("button i.fa").css("display", "inline-block"), + e + .ajax({ type: "POST", url: e(this).attr("action"), data: s }) + .done(function (e) { + x.text(e), + i.find('input[type="text"]').val(""), + i.find('input[type="email"]').val(""), + i.find("textarea").val(""), + i.find("button i.fa").css("display", "none"); + }) + .fail(function (e) { + "" !== e.responseText && x.text("Error"), + i.find("button i.fa").css("display", "none"); + }); + }); + }, + menu_full_width: function () { + i.full_width === !0 && s.addClass(k); + }, + logo_Align: function () { + "right" === i.logo_align && r.addClass("menu-logo-align-right"); + }, + links_Align: function () { + "right" === i.links_align && d.addClass("menu-links-align-right"); + }, + social_bar_Align: function () { + "right" === i.socialBar_align && + _.addClass("menu-social-bar-right"); + }, + search_bar_Align: function () { + "left" === i.searchBar_align && f.addClass("menu-search-bar-left"); + }, + collapse_trigger_button: function () { + if (i.mobile_settings.collapse === !0) { + l.append( + '' + ); + var o = d.add(_); + o.hide(0), + f.addClass(h), + s.find(p).on("click", function () { + return ( + o.is(":hidden") + ? (e(this).addClass(h), o.show(0)) + : (e(this).removeClass(h), o.hide(0)), + !1 + ); + }); + } + }, + switch_effects: function () { + switch (i.effect) { + case "fade": + s.find(v).addClass("effect-fade"); + break; + case "scale": + s.find(v).addClass("effect-scale"); + break; + case "expand-top": + s.find(v).addClass("effect-expand-top"); + break; + case "expand-bottom": + s.find(v).addClass("effect-expand-bottom"); + break; + case "expand-left": + s.find(v).addClass("effect-expand-left"); + break; + case "expand-right": + s.find(v).addClass("effect-expand-right"); + } + }, + transition_delay: function () { + s.find(v).css({ + webkitTransition: "all " + i.effect_speed + "ms ease ", + transition: "all " + i.effect_speed + "ms ease ", + }); + }, + hover_trigger: function () { + "hover" === i.trigger && + (o.transition_delay(), + s.find(v).parents(n).addClass("hoverTrigger"), + o.switch_effects()); + }, + mobile_trigger: function () { + s.find(v).prev(a).append('
'), + s.find(u).on("click", function () { + var o = e(this), + r = o.parents(a), + l = r.next(v); + return ( + l.is(":hidden") + ? (i.mobile_settings.sibling === !0 && + (o + .parents(s) + .siblings(t + "," + n) + .find(v) + .hide(0), + o.parents(s).siblings(n).removeClass(b), + o.parents(s).siblings(t).find(n).removeClass(b)), + r.parent(n).addClass(b), + l.show(0)) + : (r.parent(n).removeClass(b), l.hide(0)), + !1 + ); + }), + s.find("i.fa.fa-indicator").on("click", function () { + return !1; + }); + }, + click_trigger: function () { + "click" === i.trigger && + (s + .find(v) + .prev(a) + .append('
'), + s.find(v).parents(n).addClass("ClickTrigger"), + o.switch_effects(), + o.transition_delay(), + s.find(g).on("click", function (o) { + o.stopPropagation(), o.stopImmediatePropagation(); + var r = e(this), + l = r.parents(a), + d = l.next(v); + d.hasClass(h) + ? (l.parent(n).removeClass(m), d.removeClass(h)) + : (i.sibling === !0 && + (r + .parents(s) + .siblings(t + "," + n) + .find(v) + .removeClass(h), + r.parents(s).siblings(n).removeClass(m), + r.parents(s).siblings(t).find(n).removeClass(m)), + l.parent(n).addClass(m), + d.addClass(h)); + })); + }, + outside_close: function () { + i.outside_click_close === !0 && + "click" === i.trigger && + s.find(v).is(":visible") + ? e(document) + .off("click") + .on("click", function (e) { + s.is(e.target) || + 0 !== s.has(e.target).length || + (s.find(v).removeClass(h), + c.removeClass("activeTrigger")); + }) + : e(document).off("click"); + }, + scroll_bar: function () { + i.mobile_settings.scrollBar === !0 && + d.css({ + maxHeight: i.mobile_settings.scrollBar_height + "px", + overflow: "auto", + }); + }, + top_Fixed: function () { + i.top_fixed === !0 && s.addClass(w), + i.mobile_settings.top_fixed && s.addClass(C); + }, + sticky_Header: function () { + var o = e(window), + t = !0, + n = !0; + s.find(v).is(":hidden") + ? (o.off("scroll"), + i.mobile_settings.sticky_header === !0 && + i.top_fixed === !1 && + o.on("scroll", function () { + o.scrollTop() > i.mobile_settings.sticky_header_height + ? n === !0 && (s.addClass(C), (n = !1)) + : n === !1 && (s.removeClass(C), (n = !0)); + })) + : (o.off("scroll"), + i.sticky_header === !0 && + "horizontal" === i.menu_position && + i.top_fixed === !1 && + o.on("scroll", function () { + o.scrollTop() > i.sticky_header_height + ? t === !0 && + (s.fadeOut(200, function () { + e(this).addClass(w).fadeIn(200); + }), + (t = !1)) + : t === !1 && + (s.fadeOut(200, function () { + e(this).removeClass(w).fadeIn(200); + }), + (t = !0)); + })); + }, + position: function () { + "vertical-left" === i.menu_position + ? s.addClass("vertical-left") + : "vertical-right" === i.menu_position && + s.addClass("vertical-right"); + }, + }), + o.menu_full_width(), + o.logo_Align(), + o.links_Align(), + o.social_bar_Align(), + o.search_bar_Align(), + o.collapse_trigger_button(), + o.hover_trigger(), + o.mobile_trigger(), + o.click_trigger(), + o.scroll_bar(), + o.top_Fixed(), + o.sticky_Header(), + o.position(), + o.contact_form_ajax(), + e(window).resize(function () { + o.outside_close(), o.sticky_Header(); + }); + }) + ); + }; +})(jQuery); diff --git a/public/assets/assetLanding/js/modernizr.js b/public/assets/assetLanding/js/modernizr.js new file mode 100644 index 0000000..465c392 --- /dev/null +++ b/public/assets/assetLanding/js/modernizr.js @@ -0,0 +1,625 @@ +window.Modernizr = (function (e, t, n) { + function r(e) { + b.cssText = e; + } + function o(e, t) { + return r(S.join(e + ";") + (t || "")); + } + function a(e, t) { + return typeof e === t; + } + function i(e, t) { + return !!~("" + e).indexOf(t); + } + function c(e, t) { + for (var r in e) { + var o = e[r]; + if (!i(o, "-") && b[o] !== n) return "pfx" == t ? o : !0; + } + return !1; + } + function s(e, t, r) { + for (var o in e) { + var i = t[e[o]]; + if (i !== n) + return r === !1 ? e[o] : a(i, "function") ? i.bind(r || t) : i; + } + return !1; + } + function u(e, t, n) { + var r = e.charAt(0).toUpperCase() + e.slice(1), + o = (e + " " + k.join(r + " ") + r).split(" "); + return a(t, "string") || a(t, "undefined") + ? c(o, t) + : ((o = (e + " " + T.join(r + " ") + r).split(" ")), s(o, t, n)); + } + function l() { + (p.input = (function (n) { + for (var r = 0, o = n.length; o > r; r++) j[n[r]] = !!(n[r] in E); + return ( + j.list && + (j.list = !(!t.createElement("datalist") || !e.HTMLDataListElement)), + j + ); + })( + "autocomplete autofocus list placeholder max min multiple pattern required step".split( + " " + ) + )), + (p.inputtypes = (function (e) { + for (var r, o, a, i = 0, c = e.length; c > i; i++) + E.setAttribute("type", (o = e[i])), + (r = "text" !== E.type), + r && + ((E.value = x), + (E.style.cssText = "position:absolute;visibility:hidden;"), + /^range$/.test(o) && E.style.WebkitAppearance !== n + ? (g.appendChild(E), + (a = t.defaultView), + (r = + a.getComputedStyle && + "textfield" !== + a.getComputedStyle(E, null).WebkitAppearance && + 0 !== E.offsetHeight), + g.removeChild(E)) + : /^(search|tel)$/.test(o) || + (r = /^(url|email)$/.test(o) + ? E.checkValidity && E.checkValidity() === !1 + : E.value != x)), + (P[e[i]] = !!r); + return P; + })( + "search tel url email datetime date month week time datetime-local number range color".split( + " " + ) + )); + } + var d, + f, + m = "2.8.3", + p = {}, + h = !0, + g = t.documentElement, + v = "modernizr", + y = t.createElement(v), + b = y.style, + E = t.createElement("input"), + x = ":)", + w = {}.toString, + S = " -webkit- -moz- -o- -ms- ".split(" "), + C = "Webkit Moz O ms", + k = C.split(" "), + T = C.toLowerCase().split(" "), + N = { svg: "http://www.w3.org/2000/svg" }, + M = {}, + P = {}, + j = {}, + $ = [], + D = $.slice, + F = function (e, n, r, o) { + var a, + i, + c, + s, + u = t.createElement("div"), + l = t.body, + d = l || t.createElement("body"); + if (parseInt(r, 10)) + for (; r--; ) + (c = t.createElement("div")), + (c.id = o ? o[r] : v + (r + 1)), + u.appendChild(c); + return ( + (a = ["­", '"].join("")), + (u.id = v), + ((l ? u : d).innerHTML += a), + d.appendChild(u), + l || + ((d.style.background = ""), + (d.style.overflow = "hidden"), + (s = g.style.overflow), + (g.style.overflow = "hidden"), + g.appendChild(d)), + (i = n(u, e)), + l + ? u.parentNode.removeChild(u) + : (d.parentNode.removeChild(d), (g.style.overflow = s)), + !!i + ); + }, + z = function (t) { + var n = e.matchMedia || e.msMatchMedia; + if (n) return (n(t) && n(t).matches) || !1; + var r; + return ( + F( + "@media " + t + " { #" + v + " { position: absolute; } }", + function (t) { + r = + "absolute" == + (e.getComputedStyle ? getComputedStyle(t, null) : t.currentStyle) + .position; + } + ), + r + ); + }, + A = (function () { + function e(e, o) { + (o = o || t.createElement(r[e] || "div")), (e = "on" + e); + var i = e in o; + return ( + i || + (o.setAttribute || (o = t.createElement("div")), + o.setAttribute && + o.removeAttribute && + (o.setAttribute(e, ""), + (i = a(o[e], "function")), + a(o[e], "undefined") || (o[e] = n), + o.removeAttribute(e))), + (o = null), + i + ); + } + var r = { + select: "input", + change: "input", + submit: "form", + reset: "form", + error: "img", + load: "img", + abort: "img", + }; + return e; + })(), + L = {}.hasOwnProperty; + (f = + a(L, "undefined") || a(L.call, "undefined") + ? function (e, t) { + return t in e && a(e.constructor.prototype[t], "undefined"); + } + : function (e, t) { + return L.call(e, t); + }), + Function.prototype.bind || + (Function.prototype.bind = function (e) { + var t = this; + if ("function" != typeof t) throw new TypeError(); + var n = D.call(arguments, 1), + r = function () { + if (this instanceof r) { + var o = function () {}; + o.prototype = t.prototype; + var a = new o(), + i = t.apply(a, n.concat(D.call(arguments))); + return Object(i) === i ? i : a; + } + return t.apply(e, n.concat(D.call(arguments))); + }; + return r; + }), + (M.flexbox = function () { + return u("flexWrap"); + }), + (M.flexboxlegacy = function () { + return u("boxDirection"); + }), + (M.canvas = function () { + var e = t.createElement("canvas"); + return !(!e.getContext || !e.getContext("2d")); + }), + (M.canvastext = function () { + return !( + !p.canvas || + !a(t.createElement("canvas").getContext("2d").fillText, "function") + ); + }), + (M.webgl = function () { + return !!e.WebGLRenderingContext; + }), + (M.touch = function () { + var n; + return ( + "ontouchstart" in e || (e.DocumentTouch && t instanceof DocumentTouch) + ? (n = !0) + : F( + [ + "@media (", + S.join("touch-enabled),("), + v, + ")", + "{#modernizr{top:9px;position:absolute}}", + ].join(""), + function (e) { + n = 9 === e.offsetTop; + } + ), + n + ); + }), + (M.geolocation = function () { + return "geolocation" in navigator; + }), + (M.postmessage = function () { + return !!e.postMessage; + }), + (M.websqldatabase = function () { + return !!e.openDatabase; + }), + (M.indexedDB = function () { + return !!u("indexedDB", e); + }), + (M.hashchange = function () { + return A("hashchange", e) && (t.documentMode === n || t.documentMode > 7); + }), + (M.history = function () { + return !(!e.history || !history.pushState); + }), + (M.draganddrop = function () { + var e = t.createElement("div"); + return "draggable" in e || ("ondragstart" in e && "ondrop" in e); + }), + (M.websockets = function () { + return "WebSocket" in e || "MozWebSocket" in e; + }), + (M.rgba = function () { + return ( + r("background-color:rgba(150,255,150,.5)"), i(b.backgroundColor, "rgba") + ); + }), + (M.hsla = function () { + return ( + r("background-color:hsla(120,40%,100%,.5)"), + i(b.backgroundColor, "rgba") || i(b.backgroundColor, "hsla") + ); + }), + (M.multiplebgs = function () { + return ( + r("background:url(https://),url(https://),red url(https://)"), + /(url\s*\(.*?){3}/.test(b.background) + ); + }), + (M.backgroundsize = function () { + return u("backgroundSize"); + }), + (M.borderimage = function () { + return u("borderImage"); + }), + (M.borderradius = function () { + return u("borderRadius"); + }), + (M.boxshadow = function () { + return u("boxShadow"); + }), + (M.textshadow = function () { + return "" === t.createElement("div").style.textShadow; + }), + (M.opacity = function () { + return o("opacity:.55"), /^0.55$/.test(b.opacity); + }), + (M.cssanimations = function () { + return u("animationName"); + }), + (M.csscolumns = function () { + return u("columnCount"); + }), + (M.cssgradients = function () { + var e = "background-image:", + t = "gradient(linear,left top,right bottom,from(#9f9),to(white));", + n = "linear-gradient(left top,#9f9, white);"; + return ( + r( + (e + "-webkit- ".split(" ").join(t + e) + S.join(n + e)).slice( + 0, + -e.length + ) + ), + i(b.backgroundImage, "gradient") + ); + }), + (M.cssreflections = function () { + return u("boxReflect"); + }), + (M.csstransforms = function () { + return !!u("transform"); + }), + (M.csstransforms3d = function () { + var e = !!u("perspective"); + return ( + e && + "webkitPerspective" in g.style && + F( + "@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}", + function (t) { + e = 9 === t.offsetLeft && 3 === t.offsetHeight; + } + ), + e + ); + }), + (M.csstransitions = function () { + return u("transition"); + }), + (M.fontface = function () { + var e; + return ( + F( + '@font-face {font-family:"font";src:url("https://")}', + function (n, r) { + var o = t.getElementById("smodernizr"), + a = o.sheet || o.styleSheet, + i = a + ? a.cssRules && a.cssRules[0] + ? a.cssRules[0].cssText + : a.cssText || "" + : ""; + e = /src/i.test(i) && 0 === i.indexOf(r.split(" ")[0]); + } + ), + e + ); + }), + (M.generatedcontent = function () { + var e; + return ( + F( + [ + "#", + v, + "{font:0/0 a}#", + v, + ':after{content:"', + x, + '";visibility:hidden;font:3px/1 a}', + ].join(""), + function (t) { + e = t.offsetHeight >= 3; + } + ), + e + ); + }), + (M.video = function () { + var e = t.createElement("video"), + n = !1; + try { + (n = !!e.canPlayType) && + ((n = new Boolean(n)), + (n.ogg = e + .canPlayType('video/ogg; codecs="theora"') + .replace(/^no$/, "")), + (n.h264 = e + .canPlayType('video/mp4; codecs="avc1.42E01E"') + .replace(/^no$/, "")), + (n.webm = e + .canPlayType('video/webm; codecs="vp8, vorbis"') + .replace(/^no$/, ""))); + } catch (r) {} + return n; + }), + (M.audio = function () { + var e = t.createElement("audio"), + n = !1; + try { + (n = !!e.canPlayType) && + ((n = new Boolean(n)), + (n.ogg = e + .canPlayType('audio/ogg; codecs="vorbis"') + .replace(/^no$/, "")), + (n.mp3 = e.canPlayType("audio/mpeg;").replace(/^no$/, "")), + (n.wav = e.canPlayType('audio/wav; codecs="1"').replace(/^no$/, "")), + (n.m4a = ( + e.canPlayType("audio/x-m4a;") || e.canPlayType("audio/aac;") + ).replace(/^no$/, ""))); + } catch (r) {} + return n; + }), + (M.localstorage = function () { + try { + return localStorage.setItem(v, v), localStorage.removeItem(v), !0; + } catch (e) { + return !1; + } + }), + (M.sessionstorage = function () { + try { + return sessionStorage.setItem(v, v), sessionStorage.removeItem(v), !0; + } catch (e) { + return !1; + } + }), + (M.webworkers = function () { + return !!e.Worker; + }), + (M.applicationcache = function () { + return !!e.applicationCache; + }), + (M.svg = function () { + return ( + !!t.createElementNS && !!t.createElementNS(N.svg, "svg").createSVGRect + ); + }), + (M.inlinesvg = function () { + var e = t.createElement("div"); + return ( + (e.innerHTML = ""), + (e.firstChild && e.firstChild.namespaceURI) == N.svg + ); + }), + (M.smil = function () { + return ( + !!t.createElementNS && + /SVGAnimate/.test(w.call(t.createElementNS(N.svg, "animate"))) + ); + }), + (M.svgclippaths = function () { + return ( + !!t.createElementNS && + /SVGClipPath/.test(w.call(t.createElementNS(N.svg, "clipPath"))) + ); + }); + for (var H in M) + f(M, H) && + ((d = H.toLowerCase()), (p[d] = M[H]()), $.push((p[d] ? "" : "no-") + d)); + return ( + p.input || l(), + (p.addTest = function (e, t) { + if ("object" == typeof e) for (var r in e) f(e, r) && p.addTest(r, e[r]); + else { + if (((e = e.toLowerCase()), p[e] !== n)) return p; + (t = "function" == typeof t ? t() : t), + "undefined" != typeof h && + h && + (g.className += " " + (t ? "" : "no-") + e), + (p[e] = t); + } + return p; + }), + r(""), + (y = E = null), + (function (e, t) { + function n(e, t) { + var n = e.createElement("p"), + r = e.getElementsByTagName("head")[0] || e.documentElement; + return ( + (n.innerHTML = "x"), + r.insertBefore(n.lastChild, r.firstChild) + ); + } + function r() { + var e = y.elements; + return "string" == typeof e ? e.split(" ") : e; + } + function o(e) { + var t = v[e[h]]; + return t || ((t = {}), g++, (e[h] = g), (v[g] = t)), t; + } + function a(e, n, r) { + if ((n || (n = t), l)) return n.createElement(e); + r || (r = o(n)); + var a; + return ( + (a = r.cache[e] + ? r.cache[e].cloneNode() + : p.test(e) + ? (r.cache[e] = r.createElem(e)).cloneNode() + : r.createElem(e)), + !a.canHaveChildren || m.test(e) || a.tagUrn + ? a + : r.frag.appendChild(a) + ); + } + function i(e, n) { + if ((e || (e = t), l)) return e.createDocumentFragment(); + n = n || o(e); + for ( + var a = n.frag.cloneNode(), i = 0, c = r(), s = c.length; + s > i; + i++ + ) + a.createElement(c[i]); + return a; + } + function c(e, t) { + t.cache || + ((t.cache = {}), + (t.createElem = e.createElement), + (t.createFrag = e.createDocumentFragment), + (t.frag = t.createFrag())), + (e.createElement = function (n) { + return y.shivMethods ? a(n, e, t) : t.createElem(n); + }), + (e.createDocumentFragment = Function( + "h,f", + "return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" + + r() + .join() + .replace(/[\w\-]+/g, function (e) { + return ( + t.createElem(e), t.frag.createElement(e), 'c("' + e + '")' + ); + }) + + ");return n}" + )(y, t.frag)); + } + function s(e) { + e || (e = t); + var r = o(e); + return ( + !y.shivCSS || + u || + r.hasCSS || + (r.hasCSS = !!n( + e, + "article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}" + )), + l || c(e, r), + e + ); + } + var u, + l, + d = "3.7.0", + f = e.html5 || {}, + m = + /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i, + p = + /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i, + h = "_html5shiv", + g = 0, + v = {}; + !(function () { + try { + var e = t.createElement("a"); + (e.innerHTML = ""), + (u = "hidden" in e), + (l = + 1 == e.childNodes.length || + (function () { + t.createElement("a"); + var e = t.createDocumentFragment(); + return ( + "undefined" == typeof e.cloneNode || + "undefined" == typeof e.createDocumentFragment || + "undefined" == typeof e.createElement + ); + })()); + } catch (n) { + (u = !0), (l = !0); + } + })(); + var y = { + elements: + f.elements || + "abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video", + version: d, + shivCSS: f.shivCSS !== !1, + supportsUnknownElements: l, + shivMethods: f.shivMethods !== !1, + type: "default", + shivDocument: s, + createElement: a, + createDocumentFragment: i, + }; + (e.html5 = y), s(t); + })(this, t), + (p._version = m), + (p._prefixes = S), + (p._domPrefixes = T), + (p._cssomPrefixes = k), + (p.mq = z), + (p.hasEvent = A), + (p.testProp = function (e) { + return c([e]); + }), + (p.testAllProps = u), + (p.testStyles = F), + (p.prefixed = function (e, t, n) { + return t ? u(e, t, n) : u(e, "pfx"); + }), + (g.className = + g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + + (h ? " js " + $.join(" ") : "")), + p + ); +})(this, this.document); diff --git a/public/assets/assetLanding/js/owl.carousel.min.js b/public/assets/assetLanding/js/owl.carousel.min.js new file mode 100644 index 0000000..64e2806 --- /dev/null +++ b/public/assets/assetLanding/js/owl.carousel.min.js @@ -0,0 +1,2054 @@ +/** + * Owl Carousel v2.3.4 + * Copyright 2013-2018 David Deutsch + * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE + */ +!(function (a, b, c, d) { + function e(b, c) { + (this.settings = null), + (this.options = a.extend({}, e.Defaults, c)), + (this.$element = a(b)), + (this._handlers = {}), + (this._plugins = {}), + (this._supress = {}), + (this._current = null), + (this._speed = null), + (this._coordinates = []), + (this._breakpoint = null), + (this._width = null), + (this._items = []), + (this._clones = []), + (this._mergers = []), + (this._widths = []), + (this._invalidated = {}), + (this._pipe = []), + (this._drag = { + time: null, + target: null, + pointer: null, + stage: { start: null, current: null }, + direction: null, + }), + (this._states = { + current: {}, + tags: { + initializing: ["busy"], + animating: ["busy"], + dragging: ["interacting"], + }, + }), + a.each( + ["onResize", "onThrottledResize"], + a.proxy(function (b, c) { + this._handlers[c] = a.proxy(this[c], this); + }, this) + ), + a.each( + e.Plugins, + a.proxy(function (a, b) { + this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this); + }, this) + ), + a.each( + e.Workers, + a.proxy(function (b, c) { + this._pipe.push({ filter: c.filter, run: a.proxy(c.run, this) }); + }, this) + ), + this.setup(), + this.initialize(); + } + (e.Defaults = { + items: 3, + loop: !1, + center: !1, + rewind: !1, + checkVisibility: !0, + mouseDrag: !0, + touchDrag: !0, + pullDrag: !0, + freeDrag: !1, + margin: 0, + stagePadding: 0, + merge: !1, + mergeFit: !0, + autoWidth: !1, + startPosition: 0, + rtl: !1, + smartSpeed: 250, + fluidSpeed: !1, + dragEndSpeed: !1, + responsive: {}, + responsiveRefreshRate: 200, + responsiveBaseElement: b, + fallbackEasing: "swing", + slideTransition: "", + info: !1, + nestedItemSelector: !1, + itemElement: "div", + stageElement: "div", + refreshClass: "owl-refresh", + loadedClass: "owl-loaded", + loadingClass: "owl-loading", + rtlClass: "owl-rtl", + responsiveClass: "owl-responsive", + dragClass: "owl-drag", + itemClass: "owl-item", + stageClass: "owl-stage", + stageOuterClass: "owl-stage-outer", + grabClass: "owl-grab", + }), + (e.Width = { Default: "default", Inner: "inner", Outer: "outer" }), + (e.Type = { Event: "event", State: "state" }), + (e.Plugins = {}), + (e.Workers = [ + { + filter: ["width", "settings"], + run: function () { + this._width = this.$element.width(); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + a.current = this._items && this._items[this.relative(this._current)]; + }, + }, + { + filter: ["items", "settings"], + run: function () { + this.$stage.children(".cloned").remove(); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = this.settings.margin || "", + c = !this.settings.autoWidth, + d = this.settings.rtl, + e = { + width: "auto", + "margin-left": d ? b : "", + "margin-right": d ? "" : b, + }; + !c && this.$stage.children().css(e), (a.css = e); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = + (this.width() / this.settings.items).toFixed(3) - + this.settings.margin, + c = null, + d = this._items.length, + e = !this.settings.autoWidth, + f = []; + for (a.items = { merge: !1, width: b }; d--; ) + (c = this._mergers[d]), + (c = + (this.settings.mergeFit && Math.min(c, this.settings.items)) || + c), + (a.items.merge = c > 1 || a.items.merge), + (f[d] = e ? b * c : this._items[d].width()); + this._widths = f; + }, + }, + { + filter: ["items", "settings"], + run: function () { + var b = [], + c = this._items, + d = this.settings, + e = Math.max(2 * d.items, 4), + f = 2 * Math.ceil(c.length / 2), + g = d.loop && c.length ? (d.rewind ? e : Math.max(e, f)) : 0, + h = "", + i = ""; + for (g /= 2; g > 0; ) + b.push(this.normalize(b.length / 2, !0)), + (h += c[b[b.length - 1]][0].outerHTML), + b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), + (i = c[b[b.length - 1]][0].outerHTML + i), + (g -= 1); + (this._clones = b), + a(h).addClass("cloned").appendTo(this.$stage), + a(i).addClass("cloned").prependTo(this.$stage); + }, + }, + { + filter: ["width", "items", "settings"], + run: function () { + for ( + var a = this.settings.rtl ? 1 : -1, + b = this._clones.length + this._items.length, + c = -1, + d = 0, + e = 0, + f = []; + ++c < b; + + ) + (d = f[c - 1] || 0), + (e = this._widths[this.relative(c)] + this.settings.margin), + f.push(d + e * a); + this._coordinates = f; + }, + }, + { + filter: ["width", "items", "settings"], + run: function () { + var a = this.settings.stagePadding, + b = this._coordinates, + c = { + width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a, + "padding-left": a || "", + "padding-right": a || "", + }; + this.$stage.css(c); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + var b = this._coordinates.length, + c = !this.settings.autoWidth, + d = this.$stage.children(); + if (c && a.items.merge) + for (; b--; ) + (a.css.width = this._widths[this.relative(b)]), + d.eq(b).css(a.css); + else c && ((a.css.width = a.items.width), d.css(a.css)); + }, + }, + { + filter: ["items"], + run: function () { + this._coordinates.length < 1 && this.$stage.removeAttr("style"); + }, + }, + { + filter: ["width", "items", "settings"], + run: function (a) { + (a.current = a.current ? this.$stage.children().index(a.current) : 0), + (a.current = Math.max( + this.minimum(), + Math.min(this.maximum(), a.current) + )), + this.reset(a.current); + }, + }, + { + filter: ["position"], + run: function () { + this.animate(this.coordinates(this._current)); + }, + }, + { + filter: ["width", "position", "items", "settings"], + run: function () { + var a, + b, + c, + d, + e = this.settings.rtl ? 1 : -1, + f = 2 * this.settings.stagePadding, + g = this.coordinates(this.current()) + f, + h = g + this.width() * e, + i = []; + for (c = 0, d = this._coordinates.length; c < d; c++) + (a = this._coordinates[c - 1] || 0), + (b = Math.abs(this._coordinates[c]) + f * e), + ((this.op(a, "<=", g) && this.op(a, ">", h)) || + (this.op(b, "<", g) && this.op(b, ">", h))) && + i.push(c); + this.$stage.children(".active").removeClass("active"), + this.$stage + .children(":eq(" + i.join("), :eq(") + ")") + .addClass("active"), + this.$stage.children(".center").removeClass("center"), + this.settings.center && + this.$stage.children().eq(this.current()).addClass("center"); + }, + }, + ]), + (e.prototype.initializeStage = function () { + (this.$stage = this.$element.find("." + this.settings.stageClass)), + this.$stage.length || + (this.$element.addClass(this.options.loadingClass), + (this.$stage = a("<" + this.settings.stageElement + ">", { + class: this.settings.stageClass, + }).wrap(a("
", { class: this.settings.stageOuterClass }))), + this.$element.append(this.$stage.parent())); + }), + (e.prototype.initializeItems = function () { + var b = this.$element.find(".owl-item"); + if (b.length) + return ( + (this._items = b.get().map(function (b) { + return a(b); + })), + (this._mergers = this._items.map(function () { + return 1; + })), + void this.refresh() + ); + this.replace(this.$element.children().not(this.$stage.parent())), + this.isVisible() ? this.refresh() : this.invalidate("width"), + this.$element + .removeClass(this.options.loadingClass) + .addClass(this.options.loadedClass); + }), + (e.prototype.initialize = function () { + if ( + (this.enter("initializing"), + this.trigger("initialize"), + this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), + this.settings.autoWidth && !this.is("pre-loading")) + ) { + var a, b, c; + (a = this.$element.find("img")), + (b = this.settings.nestedItemSelector + ? "." + this.settings.nestedItemSelector + : d), + (c = this.$element.children(b).width()), + a.length && c <= 0 && this.preloadAutoWidthImages(a); + } + this.initializeStage(), + this.initializeItems(), + this.registerEventHandlers(), + this.leave("initializing"), + this.trigger("initialized"); + }), + (e.prototype.isVisible = function () { + return !this.settings.checkVisibility || this.$element.is(":visible"); + }), + (e.prototype.setup = function () { + var b = this.viewport(), + c = this.options.responsive, + d = -1, + e = null; + c + ? (a.each(c, function (a) { + a <= b && a > d && (d = Number(a)); + }), + (e = a.extend({}, this.options, c[d])), + "function" == typeof e.stagePadding && + (e.stagePadding = e.stagePadding()), + delete e.responsive, + e.responsiveClass && + this.$element.attr( + "class", + this.$element + .attr("class") + .replace( + new RegExp( + "(" + this.options.responsiveClass + "-)\\S+\\s", + "g" + ), + "$1" + d + ) + )) + : (e = a.extend({}, this.options)), + this.trigger("change", { property: { name: "settings", value: e } }), + (this._breakpoint = d), + (this.settings = e), + this.invalidate("settings"), + this.trigger("changed", { + property: { name: "settings", value: this.settings }, + }); + }), + (e.prototype.optionsLogic = function () { + this.settings.autoWidth && + ((this.settings.stagePadding = !1), (this.settings.merge = !1)); + }), + (e.prototype.prepare = function (b) { + var c = this.trigger("prepare", { content: b }); + return ( + c.data || + (c.data = a("<" + this.settings.itemElement + "/>") + .addClass(this.options.itemClass) + .append(b)), + this.trigger("prepared", { content: c.data }), + c.data + ); + }), + (e.prototype.update = function () { + for ( + var b = 0, + c = this._pipe.length, + d = a.proxy(function (a) { + return this[a]; + }, this._invalidated), + e = {}; + b < c; + + ) + (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && + this._pipe[b].run(e), + b++; + (this._invalidated = {}), !this.is("valid") && this.enter("valid"); + }), + (e.prototype.width = function (a) { + switch ((a = a || e.Width.Default)) { + case e.Width.Inner: + case e.Width.Outer: + return this._width; + default: + return ( + this._width - 2 * this.settings.stagePadding + this.settings.margin + ); + } + }), + (e.prototype.refresh = function () { + this.enter("refreshing"), + this.trigger("refresh"), + this.setup(), + this.optionsLogic(), + this.$element.addClass(this.options.refreshClass), + this.update(), + this.$element.removeClass(this.options.refreshClass), + this.leave("refreshing"), + this.trigger("refreshed"); + }), + (e.prototype.onThrottledResize = function () { + b.clearTimeout(this.resizeTimer), + (this.resizeTimer = b.setTimeout( + this._handlers.onResize, + this.settings.responsiveRefreshRate + )); + }), + (e.prototype.onResize = function () { + return ( + !!this._items.length && + this._width !== this.$element.width() && + !!this.isVisible() && + (this.enter("resizing"), + this.trigger("resize").isDefaultPrevented() + ? (this.leave("resizing"), !1) + : (this.invalidate("width"), + this.refresh(), + this.leave("resizing"), + void this.trigger("resized"))) + ); + }), + (e.prototype.registerEventHandlers = function () { + a.support.transition && + this.$stage.on( + a.support.transition.end + ".owl.core", + a.proxy(this.onTransitionEnd, this) + ), + !1 !== this.settings.responsive && + this.on(b, "resize", this._handlers.onThrottledResize), + this.settings.mouseDrag && + (this.$element.addClass(this.options.dragClass), + this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), + this.$stage.on( + "dragstart.owl.core selectstart.owl.core", + function () { + return !1; + } + )), + this.settings.touchDrag && + (this.$stage.on( + "touchstart.owl.core", + a.proxy(this.onDragStart, this) + ), + this.$stage.on( + "touchcancel.owl.core", + a.proxy(this.onDragEnd, this) + )); + }), + (e.prototype.onDragStart = function (b) { + var d = null; + 3 !== b.which && + (a.support.transform + ? ((d = this.$stage + .css("transform") + .replace(/.*\(|\)| /g, "") + .split(",")), + (d = { + x: d[16 === d.length ? 12 : 4], + y: d[16 === d.length ? 13 : 5], + })) + : ((d = this.$stage.position()), + (d = { + x: this.settings.rtl + ? d.left + + this.$stage.width() - + this.width() + + this.settings.margin + : d.left, + y: d.top, + })), + this.is("animating") && + (a.support.transform ? this.animate(d.x) : this.$stage.stop(), + this.invalidate("position")), + this.$element.toggleClass( + this.options.grabClass, + "mousedown" === b.type + ), + this.speed(0), + (this._drag.time = new Date().getTime()), + (this._drag.target = a(b.target)), + (this._drag.stage.start = d), + (this._drag.stage.current = d), + (this._drag.pointer = this.pointer(b)), + a(c).on( + "mouseup.owl.core touchend.owl.core", + a.proxy(this.onDragEnd, this) + ), + a(c).one( + "mousemove.owl.core touchmove.owl.core", + a.proxy(function (b) { + var d = this.difference(this._drag.pointer, this.pointer(b)); + a(c).on( + "mousemove.owl.core touchmove.owl.core", + a.proxy(this.onDragMove, this) + ), + (Math.abs(d.x) < Math.abs(d.y) && this.is("valid")) || + (b.preventDefault(), + this.enter("dragging"), + this.trigger("drag")); + }, this) + )); + }), + (e.prototype.onDragMove = function (a) { + var b = null, + c = null, + d = null, + e = this.difference(this._drag.pointer, this.pointer(a)), + f = this.difference(this._drag.stage.start, e); + this.is("dragging") && + (a.preventDefault(), + this.settings.loop + ? ((b = this.coordinates(this.minimum())), + (c = this.coordinates(this.maximum() + 1) - b), + (f.x = ((((f.x - b) % c) + c) % c) + b)) + : ((b = this.settings.rtl + ? this.coordinates(this.maximum()) + : this.coordinates(this.minimum())), + (c = this.settings.rtl + ? this.coordinates(this.minimum()) + : this.coordinates(this.maximum())), + (d = this.settings.pullDrag ? (-1 * e.x) / 5 : 0), + (f.x = Math.max(Math.min(f.x, b + d), c + d))), + (this._drag.stage.current = f), + this.animate(f.x)); + }), + (e.prototype.onDragEnd = function (b) { + var d = this.difference(this._drag.pointer, this.pointer(b)), + e = this._drag.stage.current, + f = (d.x > 0) ^ this.settings.rtl ? "left" : "right"; + a(c).off(".owl.core"), + this.$element.removeClass(this.options.grabClass), + ((0 !== d.x && this.is("dragging")) || !this.is("valid")) && + (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), + this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), + this.invalidate("position"), + this.update(), + (this._drag.direction = f), + (Math.abs(d.x) > 3 || new Date().getTime() - this._drag.time > 300) && + this._drag.target.one("click.owl.core", function () { + return !1; + })), + this.is("dragging") && + (this.leave("dragging"), this.trigger("dragged")); + }), + (e.prototype.closest = function (b, c) { + var e = -1, + f = 30, + g = this.width(), + h = this.coordinates(); + return ( + this.settings.freeDrag || + a.each( + h, + a.proxy(function (a, i) { + return ( + "left" === c && b > i - f && b < i + f + ? (e = a) + : "right" === c && b > i - g - f && b < i - g + f + ? (e = a + 1) + : this.op(b, "<", i) && + this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && + (e = "left" === c ? a + 1 : a), + -1 === e + ); + }, this) + ), + this.settings.loop || + (this.op(b, ">", h[this.minimum()]) + ? (e = b = this.minimum()) + : this.op(b, "<", h[this.maximum()]) && (e = b = this.maximum())), + e + ); + }), + (e.prototype.animate = function (b) { + var c = this.speed() > 0; + this.is("animating") && this.onTransitionEnd(), + c && (this.enter("animating"), this.trigger("translate")), + a.support.transform3d && a.support.transition + ? this.$stage.css({ + transform: "translate3d(" + b + "px,0px,0px)", + transition: + this.speed() / 1e3 + + "s" + + (this.settings.slideTransition + ? " " + this.settings.slideTransition + : ""), + }) + : c + ? this.$stage.animate( + { left: b + "px" }, + this.speed(), + this.settings.fallbackEasing, + a.proxy(this.onTransitionEnd, this) + ) + : this.$stage.css({ left: b + "px" }); + }), + (e.prototype.is = function (a) { + return this._states.current[a] && this._states.current[a] > 0; + }), + (e.prototype.current = function (a) { + if (a === d) return this._current; + if (0 === this._items.length) return d; + if (((a = this.normalize(a)), this._current !== a)) { + var b = this.trigger("change", { + property: { name: "position", value: a }, + }); + b.data !== d && (a = this.normalize(b.data)), + (this._current = a), + this.invalidate("position"), + this.trigger("changed", { + property: { name: "position", value: this._current }, + }); + } + return this._current; + }), + (e.prototype.invalidate = function (b) { + return ( + "string" === a.type(b) && + ((this._invalidated[b] = !0), + this.is("valid") && this.leave("valid")), + a.map(this._invalidated, function (a, b) { + return b; + }) + ); + }), + (e.prototype.reset = function (a) { + (a = this.normalize(a)) !== d && + ((this._speed = 0), + (this._current = a), + this.suppress(["translate", "translated"]), + this.animate(this.coordinates(a)), + this.release(["translate", "translated"])); + }), + (e.prototype.normalize = function (a, b) { + var c = this._items.length, + e = b ? 0 : this._clones.length; + return ( + !this.isNumeric(a) || c < 1 + ? (a = d) + : (a < 0 || a >= c + e) && + (a = ((((a - e / 2) % c) + c) % c) + e / 2), + a + ); + }), + (e.prototype.relative = function (a) { + return (a -= this._clones.length / 2), this.normalize(a, !0); + }), + (e.prototype.maximum = function (a) { + var b, + c, + d, + e = this.settings, + f = this._coordinates.length; + if (e.loop) f = this._clones.length / 2 + this._items.length - 1; + else if (e.autoWidth || e.merge) { + if ((b = this._items.length)) + for ( + c = this._items[--b].width(), d = this.$element.width(); + b-- && !((c += this._items[b].width() + this.settings.margin) > d); + + ); + f = b + 1; + } else + f = e.center ? this._items.length - 1 : this._items.length - e.items; + return a && (f -= this._clones.length / 2), Math.max(f, 0); + }), + (e.prototype.minimum = function (a) { + return a ? 0 : this._clones.length / 2; + }), + (e.prototype.items = function (a) { + return a === d + ? this._items.slice() + : ((a = this.normalize(a, !0)), this._items[a]); + }), + (e.prototype.mergers = function (a) { + return a === d + ? this._mergers.slice() + : ((a = this.normalize(a, !0)), this._mergers[a]); + }), + (e.prototype.clones = function (b) { + var c = this._clones.length / 2, + e = c + this._items.length, + f = function (a) { + return a % 2 == 0 ? e + a / 2 : c - (a + 1) / 2; + }; + return b === d + ? a.map(this._clones, function (a, b) { + return f(b); + }) + : a.map(this._clones, function (a, c) { + return a === b ? f(c) : null; + }); + }), + (e.prototype.speed = function (a) { + return a !== d && (this._speed = a), this._speed; + }), + (e.prototype.coordinates = function (b) { + var c, + e = 1, + f = b - 1; + return b === d + ? a.map( + this._coordinates, + a.proxy(function (a, b) { + return this.coordinates(b); + }, this) + ) + : (this.settings.center + ? (this.settings.rtl && ((e = -1), (f = b + 1)), + (c = this._coordinates[b]), + (c += ((this.width() - c + (this._coordinates[f] || 0)) / 2) * e)) + : (c = this._coordinates[f] || 0), + (c = Math.ceil(c))); + }), + (e.prototype.duration = function (a, b, c) { + return 0 === c + ? 0 + : Math.min(Math.max(Math.abs(b - a), 1), 6) * + Math.abs(c || this.settings.smartSpeed); + }), + (e.prototype.to = function (a, b) { + var c = this.current(), + d = null, + e = a - this.relative(c), + f = (e > 0) - (e < 0), + g = this._items.length, + h = this.minimum(), + i = this.maximum(); + this.settings.loop + ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += -1 * f * g), + (a = c + e), + (d = ((((a - h) % g) + g) % g) + h) !== a && + d - e <= i && + d - e > 0 && + ((c = d - e), (a = d), this.reset(c))) + : this.settings.rewind + ? ((i += 1), (a = ((a % i) + i) % i)) + : (a = Math.max(h, Math.min(i, a))), + this.speed(this.duration(c, a, b)), + this.current(a), + this.isVisible() && this.update(); + }), + (e.prototype.next = function (a) { + (a = a || !1), this.to(this.relative(this.current()) + 1, a); + }), + (e.prototype.prev = function (a) { + (a = a || !1), this.to(this.relative(this.current()) - 1, a); + }), + (e.prototype.onTransitionEnd = function (a) { + if ( + a !== d && + (a.stopPropagation(), + (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0)) + ) + return !1; + this.leave("animating"), this.trigger("translated"); + }), + (e.prototype.viewport = function () { + var d; + return ( + this.options.responsiveBaseElement !== b + ? (d = a(this.options.responsiveBaseElement).width()) + : b.innerWidth + ? (d = b.innerWidth) + : c.documentElement && c.documentElement.clientWidth + ? (d = c.documentElement.clientWidth) + : console.warn("Can not detect viewport width."), + d + ); + }), + (e.prototype.replace = function (b) { + this.$stage.empty(), + (this._items = []), + b && (b = b instanceof jQuery ? b : a(b)), + this.settings.nestedItemSelector && + (b = b.find("." + this.settings.nestedItemSelector)), + b + .filter(function () { + return 1 === this.nodeType; + }) + .each( + a.proxy(function (a, b) { + (b = this.prepare(b)), + this.$stage.append(b), + this._items.push(b), + this._mergers.push( + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + ); + }, this) + ), + this.reset( + this.isNumeric(this.settings.startPosition) + ? this.settings.startPosition + : 0 + ), + this.invalidate("items"); + }), + (e.prototype.add = function (b, c) { + var e = this.relative(this._current); + (c = c === d ? this._items.length : this.normalize(c, !0)), + (b = b instanceof jQuery ? b : a(b)), + this.trigger("add", { content: b, position: c }), + (b = this.prepare(b)), + 0 === this._items.length || c === this._items.length + ? (0 === this._items.length && this.$stage.append(b), + 0 !== this._items.length && this._items[c - 1].after(b), + this._items.push(b), + this._mergers.push( + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + )) + : (this._items[c].before(b), + this._items.splice(c, 0, b), + this._mergers.splice( + c, + 0, + 1 * + b + .find("[data-merge]") + .addBack("[data-merge]") + .attr("data-merge") || 1 + )), + this._items[e] && this.reset(this._items[e].index()), + this.invalidate("items"), + this.trigger("added", { content: b, position: c }); + }), + (e.prototype.remove = function (a) { + (a = this.normalize(a, !0)) !== d && + (this.trigger("remove", { content: this._items[a], position: a }), + this._items[a].remove(), + this._items.splice(a, 1), + this._mergers.splice(a, 1), + this.invalidate("items"), + this.trigger("removed", { content: null, position: a })); + }), + (e.prototype.preloadAutoWidthImages = function (b) { + b.each( + a.proxy(function (b, c) { + this.enter("pre-loading"), + (c = a(c)), + a(new Image()) + .one( + "load", + a.proxy(function (a) { + c.attr("src", a.target.src), + c.css("opacity", 1), + this.leave("pre-loading"), + !this.is("pre-loading") && + !this.is("initializing") && + this.refresh(); + }, this) + ) + .attr( + "src", + c.attr("src") || c.attr("data-src") || c.attr("data-src-retina") + ); + }, this) + ); + }), + (e.prototype.destroy = function () { + this.$element.off(".owl.core"), + this.$stage.off(".owl.core"), + a(c).off(".owl.core"), + !1 !== this.settings.responsive && + (b.clearTimeout(this.resizeTimer), + this.off(b, "resize", this._handlers.onThrottledResize)); + for (var d in this._plugins) this._plugins[d].destroy(); + this.$stage.children(".cloned").remove(), + this.$stage.unwrap(), + this.$stage.children().contents().unwrap(), + this.$stage.children().unwrap(), + this.$stage.remove(), + this.$element + .removeClass(this.options.refreshClass) + .removeClass(this.options.loadingClass) + .removeClass(this.options.loadedClass) + .removeClass(this.options.rtlClass) + .removeClass(this.options.dragClass) + .removeClass(this.options.grabClass) + .attr( + "class", + this.$element + .attr("class") + .replace( + new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), + "" + ) + ) + .removeData("owl.carousel"); + }), + (e.prototype.op = function (a, b, c) { + var d = this.settings.rtl; + switch (b) { + case "<": + return d ? a > c : a < c; + case ">": + return d ? a < c : a > c; + case ">=": + return d ? a <= c : a >= c; + case "<=": + return d ? a >= c : a <= c; + } + }), + (e.prototype.on = function (a, b, c, d) { + a.addEventListener + ? a.addEventListener(b, c, d) + : a.attachEvent && a.attachEvent("on" + b, c); + }), + (e.prototype.off = function (a, b, c, d) { + a.removeEventListener + ? a.removeEventListener(b, c, d) + : a.detachEvent && a.detachEvent("on" + b, c); + }), + (e.prototype.trigger = function (b, c, d, f, g) { + var h = { item: { count: this._items.length, index: this.current() } }, + i = a.camelCase( + a + .grep(["on", b, d], function (a) { + return a; + }) + .join("-") + .toLowerCase() + ), + j = a.Event( + [b, "owl", d || "carousel"].join(".").toLowerCase(), + a.extend({ relatedTarget: this }, h, c) + ); + return ( + this._supress[b] || + (a.each(this._plugins, function (a, b) { + b.onTrigger && b.onTrigger(j); + }), + this.register({ type: e.Type.Event, name: b }), + this.$element.trigger(j), + this.settings && + "function" == typeof this.settings[i] && + this.settings[i].call(this, j)), + j + ); + }), + (e.prototype.enter = function (b) { + a.each( + [b].concat(this._states.tags[b] || []), + a.proxy(function (a, b) { + this._states.current[b] === d && (this._states.current[b] = 0), + this._states.current[b]++; + }, this) + ); + }), + (e.prototype.leave = function (b) { + a.each( + [b].concat(this._states.tags[b] || []), + a.proxy(function (a, b) { + this._states.current[b]--; + }, this) + ); + }), + (e.prototype.register = function (b) { + if (b.type === e.Type.Event) { + if ( + (a.event.special[b.name] || (a.event.special[b.name] = {}), + !a.event.special[b.name].owl) + ) { + var c = a.event.special[b.name]._default; + (a.event.special[b.name]._default = function (a) { + return !c || + !c.apply || + (a.namespace && -1 !== a.namespace.indexOf("owl")) + ? a.namespace && a.namespace.indexOf("owl") > -1 + : c.apply(this, arguments); + }), + (a.event.special[b.name].owl = !0); + } + } else + b.type === e.Type.State && + (this._states.tags[b.name] + ? (this._states.tags[b.name] = this._states.tags[b.name].concat( + b.tags + )) + : (this._states.tags[b.name] = b.tags), + (this._states.tags[b.name] = a.grep( + this._states.tags[b.name], + a.proxy(function (c, d) { + return a.inArray(c, this._states.tags[b.name]) === d; + }, this) + ))); + }), + (e.prototype.suppress = function (b) { + a.each( + b, + a.proxy(function (a, b) { + this._supress[b] = !0; + }, this) + ); + }), + (e.prototype.release = function (b) { + a.each( + b, + a.proxy(function (a, b) { + delete this._supress[b]; + }, this) + ); + }), + (e.prototype.pointer = function (a) { + var c = { x: null, y: null }; + return ( + (a = a.originalEvent || a || b.event), + (a = + a.touches && a.touches.length + ? a.touches[0] + : a.changedTouches && a.changedTouches.length + ? a.changedTouches[0] + : a), + a.pageX + ? ((c.x = a.pageX), (c.y = a.pageY)) + : ((c.x = a.clientX), (c.y = a.clientY)), + c + ); + }), + (e.prototype.isNumeric = function (a) { + return !isNaN(parseFloat(a)); + }), + (e.prototype.difference = function (a, b) { + return { x: a.x - b.x, y: a.y - b.y }; + }), + (a.fn.owlCarousel = function (b) { + var c = Array.prototype.slice.call(arguments, 1); + return this.each(function () { + var d = a(this), + f = d.data("owl.carousel"); + f || + ((f = new e(this, "object" == typeof b && b)), + d.data("owl.carousel", f), + a.each( + [ + "next", + "prev", + "to", + "destroy", + "refresh", + "replace", + "add", + "remove", + ], + function (b, c) { + f.register({ type: e.Type.Event, name: c }), + f.$element.on( + c + ".owl.carousel.core", + a.proxy(function (a) { + a.namespace && + a.relatedTarget !== this && + (this.suppress([c]), + f[c].apply(this, [].slice.call(arguments, 1)), + this.release([c])); + }, f) + ); + } + )), + "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c); + }); + }), + (a.fn.owlCarousel.Constructor = e); +})(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._interval = null), + (this._visible = null), + (this._handlers = { + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && this._core.settings.autoRefresh && this.watch(); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers); + }; + (e.Defaults = { autoRefresh: !0, autoRefreshInterval: 500 }), + (e.prototype.watch = function () { + this._interval || + ((this._visible = this._core.isVisible()), + (this._interval = b.setInterval( + a.proxy(this.refresh, this), + this._core.settings.autoRefreshInterval + ))); + }), + (e.prototype.refresh = function () { + this._core.isVisible() !== this._visible && + ((this._visible = !this._visible), + this._core.$element.toggleClass("owl-hidden", !this._visible), + this._visible && + this._core.invalidate("width") && + this._core.refresh()); + }), + (e.prototype.destroy = function () { + var a, c; + b.clearInterval(this._interval); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (c in Object.getOwnPropertyNames(this)) + "function" != typeof this[c] && (this[c] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._loaded = []), + (this._handlers = { + "initialized.owl.carousel change.owl.carousel resized.owl.carousel": + a.proxy(function (b) { + if ( + b.namespace && + this._core.settings && + this._core.settings.lazyLoad && + ((b.property && "position" == b.property.name) || + "initialized" == b.type) + ) { + var c = this._core.settings, + e = (c.center && Math.ceil(c.items / 2)) || c.items, + f = (c.center && -1 * e) || 0, + g = + (b.property && b.property.value !== d + ? b.property.value + : this._core.current()) + f, + h = this._core.clones().length, + i = a.proxy(function (a, b) { + this.load(b); + }, this); + for ( + c.lazyLoadEager > 0 && + ((e += c.lazyLoadEager), + c.loop && ((g -= c.lazyLoadEager), e++)); + f++ < e; + + ) + this.load(h / 2 + this._core.relative(g)), + h && a.each(this._core.clones(this._core.relative(g)), i), + g++; + } + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers); + }; + (e.Defaults = { lazyLoad: !1, lazyLoadEager: 0 }), + (e.prototype.load = function (c) { + var d = this._core.$stage.children().eq(c), + e = d && d.find(".owl-lazy"); + !e || + a.inArray(d.get(0), this._loaded) > -1 || + (e.each( + a.proxy(function (c, d) { + var e, + f = a(d), + g = + (b.devicePixelRatio > 1 && f.attr("data-src-retina")) || + f.attr("data-src") || + f.attr("data-srcset"); + this._core.trigger("load", { element: f, url: g }, "lazy"), + f.is("img") + ? f + .one( + "load.owl.lazy", + a.proxy(function () { + f.css("opacity", 1), + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this) + ) + .attr("src", g) + : f.is("source") + ? f + .one( + "load.owl.lazy", + a.proxy(function () { + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this) + ) + .attr("srcset", g) + : ((e = new Image()), + (e.onload = a.proxy(function () { + f.css({ + "background-image": 'url("' + g + '")', + opacity: "1", + }), + this._core.trigger( + "loaded", + { element: f, url: g }, + "lazy" + ); + }, this)), + (e.src = g)); + }, this) + ), + this._loaded.push(d.get(0))); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this.handlers) this._core.$element.off(a, this.handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Lazy = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (c) { + (this._core = c), + (this._previousHeight = null), + (this._handlers = { + "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function ( + a + ) { + a.namespace && this._core.settings.autoHeight && this.update(); + }, + this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.autoHeight && + "position" === a.property.name && + this.update(); + }, this), + "loaded.owl.lazy": a.proxy(function (a) { + a.namespace && + this._core.settings.autoHeight && + a.element.closest("." + this._core.settings.itemClass).index() === + this._core.current() && + this.update(); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers), + (this._intervalId = null); + var d = this; + a(b).on("load", function () { + d._core.settings.autoHeight && d.update(); + }), + a(b).resize(function () { + d._core.settings.autoHeight && + (null != d._intervalId && clearTimeout(d._intervalId), + (d._intervalId = setTimeout(function () { + d.update(); + }, 250))); + }); + }; + (e.Defaults = { autoHeight: !1, autoHeightClass: "owl-height" }), + (e.prototype.update = function () { + var b = this._core._current, + c = b + this._core.settings.items, + d = this._core.settings.lazyLoad, + e = this._core.$stage.children().toArray().slice(b, c), + f = [], + g = 0; + a.each(e, function (b, c) { + f.push(a(c).height()); + }), + (g = Math.max.apply(null, f)), + g <= 1 && d && this._previousHeight && (g = this._previousHeight), + (this._previousHeight = g), + this._core.$stage + .parent() + .height(g) + .addClass(this._core.settings.autoHeightClass); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._videos = {}), + (this._playing = null), + (this._handlers = { + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.register({ + type: "state", + name: "playing", + tags: ["interacting"], + }); + }, this), + "resize.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.video && + this.isInFullScreen() && + a.preventDefault(); + }, this), + "refreshed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.is("resizing") && + this._core.$stage.find(".cloned .owl-video-frame").remove(); + }, this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && + "position" === a.property.name && + this._playing && + this.stop(); + }, this), + "prepared.owl.carousel": a.proxy(function (b) { + if (b.namespace) { + var c = a(b.content).find(".owl-video"); + c.length && + (c.css("display", "none"), this.fetch(c, a(b.content))); + } + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this._core.$element.on(this._handlers), + this._core.$element.on( + "click.owl.video", + ".owl-video-play-icon", + a.proxy(function (a) { + this.play(a); + }, this) + ); + }; + (e.Defaults = { video: !1, videoHeight: !1, videoWidth: !1 }), + (e.prototype.fetch = function (a, b) { + var c = (function () { + return a.attr("data-vimeo-id") + ? "vimeo" + : a.attr("data-vzaar-id") + ? "vzaar" + : "youtube"; + })(), + d = + a.attr("data-vimeo-id") || + a.attr("data-youtube-id") || + a.attr("data-vzaar-id"), + e = a.attr("data-width") || this._core.settings.videoWidth, + f = a.attr("data-height") || this._core.settings.videoHeight, + g = a.attr("href"); + if (!g) throw new Error("Missing video URL."); + if ( + ((d = g.match( + /(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/ + )), + d[3].indexOf("youtu") > -1) + ) + c = "youtube"; + else if (d[3].indexOf("vimeo") > -1) c = "vimeo"; + else { + if (!(d[3].indexOf("vzaar") > -1)) + throw new Error("Video URL not supported."); + c = "vzaar"; + } + (d = d[6]), + (this._videos[g] = { type: c, id: d, width: e, height: f }), + b.attr("data-video", g), + this.thumbnail(a, this._videos[g]); + }), + (e.prototype.thumbnail = function (b, c) { + var d, + e, + f, + g = + c.width && c.height + ? "width:" + c.width + "px;height:" + c.height + "px;" + : "", + h = b.find("img"), + i = "src", + j = "", + k = this._core.settings, + l = function (c) { + (e = '
'), + (d = k.lazyLoad + ? a("
", { class: "owl-video-tn " + j, srcType: c }) + : a("
", { + class: "owl-video-tn", + style: "opacity:1;background-image:url(" + c + ")", + })), + b.after(d), + b.after(e); + }; + if ( + (b.wrap(a("
", { class: "owl-video-wrapper", style: g })), + this._core.settings.lazyLoad && ((i = "data-src"), (j = "owl-lazy")), + h.length) + ) + return l(h.attr(i)), h.remove(), !1; + "youtube" === c.type + ? ((f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg"), l(f)) + : "vimeo" === c.type + ? a.ajax({ + type: "GET", + url: "//vimeo.com/api/v2/video/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a[0].thumbnail_large), l(f); + }, + }) + : "vzaar" === c.type && + a.ajax({ + type: "GET", + url: "//vzaar.com/api/videos/" + c.id + ".json", + jsonp: "callback", + dataType: "jsonp", + success: function (a) { + (f = a.framegrab_url), l(f); + }, + }); + }), + (e.prototype.stop = function () { + this._core.trigger("stop", null, "video"), + this._playing.find(".owl-video-frame").remove(), + this._playing.removeClass("owl-video-playing"), + (this._playing = null), + this._core.leave("playing"), + this._core.trigger("stopped", null, "video"); + }), + (e.prototype.play = function (b) { + var c, + d = a(b.target), + e = d.closest("." + this._core.settings.itemClass), + f = this._videos[e.attr("data-video")], + g = f.width || "100%", + h = f.height || this._core.$stage.height(); + this._playing || + (this._core.enter("playing"), + this._core.trigger("play", null, "video"), + (e = this._core.items(this._core.relative(e.index()))), + this._core.reset(e.index()), + (c = a( + '' + )), + c.attr("height", h), + c.attr("width", g), + "youtube" === f.type + ? c.attr( + "src", + "//www.youtube.com/embed/" + + f.id + + "?autoplay=1&rel=0&v=" + + f.id + ) + : "vimeo" === f.type + ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") + : "vzaar" === f.type && + c.attr( + "src", + "//view.vzaar.com/" + f.id + "/player?autoplay=true" + ), + a(c) + .wrap('
') + .insertAfter(e.find(".owl-video")), + (this._playing = e.addClass("owl-video-playing"))); + }), + (e.prototype.isInFullScreen = function () { + var b = + c.fullscreenElement || + c.mozFullScreenElement || + c.webkitFullscreenElement; + return b && a(b).parent().hasClass("owl-video-frame"); + }), + (e.prototype.destroy = function () { + var a, b; + this._core.$element.off("click.owl.video"); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Video = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this.core = b), + (this.core.options = a.extend({}, e.Defaults, this.core.options)), + (this.swapping = !0), + (this.previous = d), + (this.next = d), + (this.handlers = { + "change.owl.carousel": a.proxy(function (a) { + a.namespace && + "position" == a.property.name && + ((this.previous = this.core.current()), + (this.next = a.property.value)); + }, this), + "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": + a.proxy(function (a) { + a.namespace && (this.swapping = "translated" == a.type); + }, this), + "translate.owl.carousel": a.proxy(function (a) { + a.namespace && + this.swapping && + (this.core.options.animateOut || this.core.options.animateIn) && + this.swap(); + }, this), + }), + this.core.$element.on(this.handlers); + }; + (e.Defaults = { animateOut: !1, animateIn: !1 }), + (e.prototype.swap = function () { + if ( + 1 === this.core.settings.items && + a.support.animation && + a.support.transition + ) { + this.core.speed(0); + var b, + c = a.proxy(this.clear, this), + d = this.core.$stage.children().eq(this.previous), + e = this.core.$stage.children().eq(this.next), + f = this.core.settings.animateIn, + g = this.core.settings.animateOut; + this.core.current() !== this.previous && + (g && + ((b = + this.core.coordinates(this.previous) - + this.core.coordinates(this.next)), + d + .one(a.support.animation.end, c) + .css({ left: b + "px" }) + .addClass("animated owl-animated-out") + .addClass(g)), + f && + e + .one(a.support.animation.end, c) + .addClass("animated owl-animated-in") + .addClass(f)); + } + }), + (e.prototype.clear = function (b) { + a(b.target) + .css({ left: "" }) + .removeClass("animated owl-animated-out owl-animated-in") + .removeClass(this.core.settings.animateIn) + .removeClass(this.core.settings.animateOut), + this.core.onTransitionEnd(); + }), + (e.prototype.destroy = function () { + var a, b; + for (a in this.handlers) this.core.$element.off(a, this.handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.Animate = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + var e = function (b) { + (this._core = b), + (this._call = null), + (this._time = 0), + (this._timeout = 0), + (this._paused = !0), + (this._handlers = { + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && "settings" === a.property.name + ? this._core.settings.autoplay + ? this.play() + : this.stop() + : a.namespace && + "position" === a.property.name && + this._paused && + (this._time = 0); + }, this), + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && this._core.settings.autoplay && this.play(); + }, this), + "play.owl.autoplay": a.proxy(function (a, b, c) { + a.namespace && this.play(b, c); + }, this), + "stop.owl.autoplay": a.proxy(function (a) { + a.namespace && this.stop(); + }, this), + "mouseover.owl.autoplay": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.pause(); + }, this), + "mouseleave.owl.autoplay": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.play(); + }, this), + "touchstart.owl.core": a.proxy(function () { + this._core.settings.autoplayHoverPause && + this._core.is("rotating") && + this.pause(); + }, this), + "touchend.owl.core": a.proxy(function () { + this._core.settings.autoplayHoverPause && this.play(); + }, this), + }), + this._core.$element.on(this._handlers), + (this._core.options = a.extend({}, e.Defaults, this._core.options)); + }; + (e.Defaults = { + autoplay: !1, + autoplayTimeout: 5e3, + autoplayHoverPause: !1, + autoplaySpeed: !1, + }), + (e.prototype._next = function (d) { + (this._call = b.setTimeout( + a.proxy(this._next, this, d), + this._timeout * (Math.round(this.read() / this._timeout) + 1) - + this.read() + )), + this._core.is("interacting") || + c.hidden || + this._core.next(d || this._core.settings.autoplaySpeed); + }), + (e.prototype.read = function () { + return new Date().getTime() - this._time; + }), + (e.prototype.play = function (c, d) { + var e; + this._core.is("rotating") || this._core.enter("rotating"), + (c = c || this._core.settings.autoplayTimeout), + (e = Math.min(this._time % (this._timeout || c), c)), + this._paused + ? ((this._time = this.read()), (this._paused = !1)) + : b.clearTimeout(this._call), + (this._time += (this.read() % c) - e), + (this._timeout = c), + (this._call = b.setTimeout(a.proxy(this._next, this, d), c - e)); + }), + (e.prototype.stop = function () { + this._core.is("rotating") && + ((this._time = 0), + (this._paused = !0), + b.clearTimeout(this._call), + this._core.leave("rotating")); + }), + (e.prototype.pause = function () { + this._core.is("rotating") && + !this._paused && + ((this._time = this.read()), + (this._paused = !0), + b.clearTimeout(this._call)); + }), + (e.prototype.destroy = function () { + var a, b; + this.stop(); + for (a in this._handlers) this._core.$element.off(a, this._handlers[a]); + for (b in Object.getOwnPropertyNames(this)) + "function" != typeof this[b] && (this[b] = null); + }), + (a.fn.owlCarousel.Constructor.Plugins.autoplay = e); + })(window.Zepto || window.jQuery, window, document), + (function (a, b, c, d) { + "use strict"; + var e = function (b) { + (this._core = b), + (this._initialized = !1), + (this._pages = []), + (this._controls = {}), + (this._templates = []), + (this.$element = this._core.$element), + (this._overrides = { + next: this._core.next, + prev: this._core.prev, + to: this._core.to, + }), + (this._handlers = { + "prepared.owl.carousel": a.proxy(function (b) { + b.namespace && + this._core.settings.dotsData && + this._templates.push( + '
' + + a(b.content) + .find("[data-dot]") + .addBack("[data-dot]") + .attr("data-dot") + + "
" + ); + }, this), + "added.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.dotsData && + this._templates.splice(a.position, 0, this._templates.pop()); + }, this), + "remove.owl.carousel": a.proxy(function (a) { + a.namespace && + this._core.settings.dotsData && + this._templates.splice(a.position, 1); + }, this), + "changed.owl.carousel": a.proxy(function (a) { + a.namespace && "position" == a.property.name && this.draw(); + }, this), + "initialized.owl.carousel": a.proxy(function (a) { + a.namespace && + !this._initialized && + (this._core.trigger("initialize", null, "navigation"), + this.initialize(), + this.update(), + this.draw(), + (this._initialized = !0), + this._core.trigger("initialized", null, "navigation")); + }, this), + "refreshed.owl.carousel": a.proxy(function (a) { + a.namespace && + this._initialized && + (this._core.trigger("refresh", null, "navigation"), + this.update(), + this.draw(), + this._core.trigger("refreshed", null, "navigation")); + }, this), + }), + (this._core.options = a.extend({}, e.Defaults, this._core.options)), + this.$element.on(this._handlers); + }; + (e.Defaults = { + nav: !1, + navText: [ + '', + '', + ], + navSpeed: !1, + navElement: 'button type="button" role="presentation"', + navContainer: !1, + navContainerClass: "owl-nav", + navClass: ["owl-prev", "owl-next"], + slideBy: 1, + dotClass: "owl-dot", + dotsClass: "owl-dots", + dots: !0, + dotsEach: !1, + dotsData: !1, + dotsSpeed: !1, + dotsContainer: !1, + }), + (e.prototype.initialize = function () { + var b, + c = this._core.settings; + (this._controls.$relative = ( + c.navContainer + ? a(c.navContainer) + : a("
").addClass(c.navContainerClass).appendTo(this.$element) + ).addClass("disabled")), + (this._controls.$previous = a("<" + c.navElement + ">") + .addClass(c.navClass[0]) + .html(c.navText[0]) + .prependTo(this._controls.$relative) + .on( + "click", + a.proxy(function (a) { + this.prev(c.navSpeed); + }, this) + )), + (this._controls.$next = a("<" + c.navElement + ">") + .addClass(c.navClass[1]) + .html(c.navText[1]) + .appendTo(this._controls.$relative) + .on( + "click", + a.proxy(function (a) { + this.next(c.navSpeed); + }, this) + )), + c.dotsData || + (this._templates = [ + a('
'), + "controls" == c && + (w = + w + + '
' + + T + + "
"), + i.data("videomarkup", w), + i.append(w), + ((_ && 1 == i.data("disablevideoonmobile")) || I.isIE(8)) && + i.find(f).remove(), + i.find(f).each(function (e) { + var t, + a = jQuery(this); + a.parent().hasClass("html5vid") || + a.wrap( + '
' + ), + 1 != a.parent().data("metaloaded") && + A( + this, + "loadedmetadata", + (Q((t = i), o), void I.resetVideo(t, o)) + ); + }); + break; + case "youtube": + (m = "https"), + "none" == c && + -1 == + (d = d.replace("controls=1", "controls=0")) + .toLowerCase() + .indexOf("controls") && + (d += "&controls=0"), + (!0 === a.videoinline || + "true" === a.videoinline || + 1 === a.videoinline || + i.hasClass("rs-background-video-layer") || + "on" === i.data("autoplay")) && + (d += "&playsinline=1"); + var k = j(i.data("videostartat")), + x = j(i.data("videoendat")); + -1 != k && (d = d + "&start=" + k), -1 != x && (d = d + "&end=" + x); + var V = d.split("origin=" + m + "://"), + L = ""; + 1 < V.length + ? ((L = V[0] + "origin=" + m + "://"), + self.location.href.match(/www/gi) && + !V[1].match(/www/gi) && + (L += "www."), + (L += V[1])) + : (L = d); + var C = "true" === v || !0 === v ? "allowfullscreen" : ""; + i.data( + "videomarkup", + '' + ); + break; + case "vimeo": + (m = "https"), + i.data( + "videomarkup", + '' + ); + } + var P = _ && "on" == i.data("noposteronmobile"); + if (null != a.videoposter && 2 < a.videoposter.length && !P) + 0 == i.find(".tp-videoposter").length && + i.append( + '
' + ), + 0 == i.find("iframe").length && + i.find(".tp-videoposter").click(function () { + if ((I.playVideo(i, o), _)) { + if (1 == i.data("disablevideoonmobile")) return !1; + punchgs.TweenLite.to(i.find(".tp-videoposter"), 0.3, { + autoAlpha: 0, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(i.find("iframe"), 0.3, { + autoAlpha: 1, + display: "block", + ease: punchgs.Power3.easeInOut, + }); + } + }); + else { + if (_ && 1 == i.data("disablevideoonmobile")) return !1; + 0 != i.find("iframe").length || + ("youtube" != y && "vimeo" != y) || + (i.removeData("vimeoplayer"), + i.append(i.data("videomarkup")), + O(i, o, !1)); + } + "none" != i.data("dottedoverlay") && + null != i.data("dottedoverlay") && + 1 != i.find(".tp-dottedoverlay").length && + i.append( + '
' + ), + i.addClass("HasListener"), + 1 == i.data("bgvideo") && + (i.data("ytid") + ? punchgs.TweenLite.set(i.find("iframe"), { opacity: 0 }) + : punchgs.TweenLite.set(i.find("video, iframe"), { autoAlpha: 0 })); + }, + }); + var A = function (e, t, a) { + e.addEventListener + ? e.addEventListener(t, a, { capture: !1, passive: !0 }) + : e.attachEvent(t, a, { capture: !1, passive: !0 }); + }, + b = function (e, t, a) { + var i = {}; + return (i.video = e), (i.videotype = t), (i.settings = a), i; + }, + w = function (e, t) { + if (1 == t.data("bgvideo") || 1 == t.data("forcecover")) { + 1 === t.data("forcecover") && + t.removeClass("fullscreenvideo").addClass("coverscreenvideo"); + var a = t.data("aspectratio"); + void 0 === a && + a.split(":").length <= 1 && + t.data("aspectratio", "16:9"), + I.prepareCoveredVideo(e, t); + } + }, + O = function (r, o, e) { + var l = r.data(), + t = r.find("iframe"), + a = "iframe" + Math.round(1e5 * Math.random() + 1), + d = l.videoloop, + n = "loopandnoslidestop" != d; + if ( + ((d = "loop" == d || "loopandnoslidestop" == d), + w(o, r), + t.attr("id", a), + e && r.data("startvideonow", !0), + 1 !== r.data("videolistenerexist")) + ) + switch (l.videotype) { + case "youtube": + var s = new YT.Player(a, { + events: { + onStateChange: function (e) { + var t = r.closest(".tp-simpleresponsive"), + a = (l.videorate, r.data("videostart"), k()); + if (e.data == YT.PlayerState.PLAYING) + punchgs.TweenLite.to(r.find(".tp-videoposter"), 0.3, { + autoAlpha: 0, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(r.find("iframe"), 0.3, { + autoAlpha: 1, + display: "block", + ease: punchgs.Power3.easeInOut, + }), + "mute" == r.data("volume") || + I.lastToggleState(r.data("videomutetoggledby")) || + !0 === o.globalmute + ? s.mute() + : (s.unMute(), + s.setVolume(parseInt(r.data("volume"), 0) || 75)), + (o.videoplaying = !0), + x(r, o), + n ? o.c.trigger("stoptimer") : (o.videoplaying = !1), + o.c.trigger( + "revolution.slide.onvideoplay", + b(s, "youtube", r.data()) + ), + I.toggleState(l.videotoggledby); + else { + if (0 == e.data && d) { + var i = j(r.data("videostartat")); + -1 != i && s.seekTo(i), + s.playVideo(), + I.toggleState(l.videotoggledby); + } + a || + (0 != e.data && 2 != e.data) || + !( + ("on" == r.data("showcoveronpause") && + 0 < r.find(".tp-videoposter").length) || + (1 === r.data("bgvideo") && + 0 < r.find(".rs-fullvideo-cover").length) + ) || + (1 === r.data("bgvideo") + ? punchgs.TweenLite.to( + r.find(".rs-fullvideo-cover"), + 0.1, + { + autoAlpha: 1, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + } + ) + : punchgs.TweenLite.to(r.find(".tp-videoposter"), 0.1, { + autoAlpha: 1, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(r.find("iframe"), 0.1, { + autoAlpha: 0, + ease: punchgs.Power3.easeInOut, + })), + -1 != e.data && + 3 != e.data && + ((o.videoplaying = !1), + (o.tonpause = !1), + V(r, o), + t.trigger("starttimer"), + o.c.trigger( + "revolution.slide.onvideostop", + b(s, "youtube", r.data()) + ), + (null != o.currentLayerVideoIsPlaying && + o.currentLayerVideoIsPlaying.attr("id") != + r.attr("id")) || + I.unToggleState(l.videotoggledby)), + 0 == e.data && 1 == r.data("nextslideatend") + ? (T(), + r.data("nextslideatend-triggered", 1), + o.c.revnext(), + V(r, o)) + : (V(r, o), + (o.videoplaying = !1), + t.trigger("starttimer"), + o.c.trigger( + "revolution.slide.onvideostop", + b(s, "youtube", r.data()) + ), + (null != o.currentLayerVideoIsPlaying && + o.currentLayerVideoIsPlaying.attr("id") != + r.attr("id")) || + I.unToggleState(l.videotoggledby)); + } + }, + onReady: function (e) { + var t, + a = I.is_mobile(), + i = r.hasClass("tp-videolayer"); + if (a || I.isSafari11()) { + var o = i && "off" !== r.data("autoplay"); + if (r.hasClass("rs-background-video-layer") || o) + (a && i) || + ((t = !0), + s.setVolume(0), + r.data("volume", "mute"), + s.mute(), + clearTimeout(r.data("mobilevideotimr")), + r.data( + "mobilevideotimr", + setTimeout(function () { + s.playVideo(); + }, 500) + )); + } + t || "mute" != r.data("volume") || (s.setVolume(0), s.mute()); + var d = l.videorate; + r.data("videostart"); + if ( + (r.addClass("rs-apiready"), + null != d && e.target.setPlaybackRate(parseFloat(d)), + r.find(".tp-videoposter").unbind("click"), + r.find(".tp-videoposter").click(function () { + _ || s.playVideo(); + }), + r.data("startvideonow")) + ) { + l.player.playVideo(); + var n = j(r.data("videostartat")); + -1 != n && l.player.seekTo(n); + } + r.data("videolistenerexist", 1); + }, + }, + }); + r.data("player", s); + break; + case "vimeo": + for ( + var i, u = t.attr("src"), p = {}, v = u, c = /([^&=]+)=([^&]*)/g; + (i = c.exec(v)); + + ) + p[decodeURIComponent(i[1])] = decodeURIComponent(i[2]); + u = (u = + null != p.player_id + ? u.replace(p.player_id, a) + : u + "&player_id=" + a).replace(/&api=0|&api=1/g, ""); + var m = I.is_mobile(), + g = r.data("autoplay"), + y = (r.data("volume"), m || I.isSafari11()); + r.hasClass("rs-background-video-layer"); + (g = "on" === g || "true" === g || !0 === g) && + y && + ((u += + "?autoplay=1&autopause=0&muted=1&background=1&playsinline=1"), + r.data({ vimeoplaysinline: !0, volume: "mute" })), + t.attr("src", u); + (s = r.find("iframe")[0]), jQuery("#" + a); + if ( + (r.data("vimeoplayer") + ? (h = r.data("vimeoplayer")) + : ((h = new Vimeo.Player(a)), r.data("vimeoplayer", h)), + h.on("loaded", function (e) { + var t = {}; + h.getVideoWidth().then(function (e) { + (t.width = e), + void 0 !== t.width && + void 0 !== t.height && + (r.data("aspectratio", t.width + ":" + t.height), + r.data("vimeoplayerloaded", !0), + w(o, r)); + }), + h.getVideoHeight().then(function (e) { + (t.height = e), + void 0 !== t.width && + void 0 !== t.height && + (r.data("aspectratio", t.width + ":" + t.height), + r.data("vimeoplayerloaded", !0), + w(o, r)); + }); + }), + r.addClass("rs-apiready"), + h.on("play", function (e) { + r.data("nextslidecalled", 0), + punchgs.TweenLite.to(r.find(".tp-videoposter"), 0.3, { + autoAlpha: 0, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(r.find("iframe"), 0.3, { + autoAlpha: 1, + display: "block", + ease: punchgs.Power3.easeInOut, + }), + o.c.trigger( + "revolution.slide.onvideoplay", + b(h, "vimeo", r.data()) + ), + (o.videoplaying = !0), + x(r, o), + n ? o.c.trigger("stoptimer") : (o.videoplaying = !1), + r.data("vimeoplaysinline") || + ("mute" == r.data("volume") || + I.lastToggleState(r.data("videomutetoggledby")) || + !0 === o.globalmute + ? h.setVolume(0) + : h.setVolume( + parseInt(r.data("volume"), 0) / 100 || 0.75 + ), + I.toggleState(l.videotoggledby)); + }), + h.on("timeupdate", function (e) { + var t = j(r.data("videoendat")); + if ( + (r.data("currenttime", e.seconds), + 0 != t && + Math.abs(t - e.seconds) < 1 && + t > e.seconds && + 1 != r.data("nextslidecalled")) + ) + if (d) { + h.play(); + var a = j(r.data("videostartat")); + -1 != a && h.setCurrentTime(a); + } else + 1 == r.data("nextslideatend") && + (r.data("nextslideatend-triggered", 1), + r.data("nextslidecalled", 1), + o.c.revnext()), + h.pause(); + }), + h.on("ended", function (e) { + V(r, o), + (o.videoplaying = !1), + o.c.trigger("starttimer"), + o.c.trigger( + "revolution.slide.onvideostop", + b(h, "vimeo", r.data()) + ), + 1 == r.data("nextslideatend") && + (r.data("nextslideatend-triggered", 1), o.c.revnext()), + (null != o.currentLayerVideoIsPlaying && + o.currentLayerVideoIsPlaying.attr("id") != r.attr("id")) || + I.unToggleState(l.videotoggledby); + }), + h.on("pause", function (e) { + (("on" == r.data("showcoveronpause") && + 0 < r.find(".tp-videoposter").length) || + (1 === r.data("bgvideo") && + 0 < r.find(".rs-fullvideo-cover").length)) && + (1 === r.data("bgvideo") + ? punchgs.TweenLite.to(r.find(".rs-fullvideo-cover"), 0.1, { + autoAlpha: 1, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }) + : punchgs.TweenLite.to(r.find(".tp-videoposter"), 0.1, { + autoAlpha: 1, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(r.find("iframe"), 0.1, { + autoAlpha: 0, + ease: punchgs.Power3.easeInOut, + })), + (o.videoplaying = !1), + (o.tonpause = !1), + V(r, o), + o.c.trigger("starttimer"), + o.c.trigger( + "revolution.slide.onvideostop", + b(h, "vimeo", r.data()) + ), + (null != o.currentLayerVideoIsPlaying && + o.currentLayerVideoIsPlaying.attr("id") != r.attr("id")) || + I.unToggleState(l.videotoggledby); + }), + r.find(".tp-videoposter").unbind("click"), + r.find(".tp-videoposter").click(function () { + if (!_) return h.play(), !1; + }), + r.data("startvideonow")) + ) + h.play(), + -1 != (f = j(r.data("videostartat"))) && h.setCurrentTime(f); + r.data("videolistenerexist", 1); + } + else { + var f = j(r.data("videostartat")); + switch (l.videotype) { + case "youtube": + e && (l.player.playVideo(), -1 != f && l.player.seekTo()); + break; + case "vimeo": + var h; + if (e) (h = r.data("vimeoplayer")).play(), -1 != f && h.seekTo(f); + } + } + }, + T = function () { + document.exitFullscreen + ? document.exitFullscreen() + : document.mozCancelFullScreen + ? document.mozCancelFullScreen() + : document.webkitExitFullscreen && document.webkitExitFullscreen(); + }, + k = function () { + try { + if (void 0 !== window.fullScreen) return window.fullScreen; + var e = 5; + return ( + jQuery.browser.webkit && + /Apple Computer/.test(navigator.vendor) && + (e = 42), + screen.width == window.innerWidth && + Math.abs(screen.height - window.innerHeight) < e + ); + } catch (e) {} + }, + Q = function (o, d, e) { + if (_ && 1 == o.data("disablevideoonmobile")) return !1; + var n = o.data(), + t = "html5" == n.audio ? "audio" : "video", + a = o.find(t), + r = a[0], + i = a.parent(), + l = n.videoloop, + s = "loopandnoslidestop" != l; + if ( + ((l = "loop" == l || "loopandnoslidestop" == l), + i.data("metaloaded", 1), + 1 != o.data("bgvideo") || + ("none" !== n.videoloop && !1 !== n.videoloop) || + (s = !1), + null == a.attr("control") && + (0 != o.find(".tp-video-play-button").length || + _ || + o.append( + '
 
' + ), + o.find("video, .tp-poster, .tp-video-play-button").click(function () { + o.hasClass("videoisplaying") ? r.pause() : r.play(); + })), + 1 == o.data("forcecover") || + o.hasClass("fullscreenvideo") || + 1 == o.data("bgvideo")) + ) + if (1 == o.data("forcecover") || 1 == o.data("bgvideo")) { + i.addClass("fullcoveredvideo"); + var u = o.data("aspectratio"); + (void 0 !== u && 1 != u.split(":").length) || + o.data("aspectratio", "16:9"), + I.prepareCoveredVideo(d, o); + } else i.addClass("fullscreenvideo"); + var p = o.find(".tp-vid-play-pause")[0], + v = o.find(".tp-vid-mute")[0], + c = o.find(".tp-vid-full-screen")[0], + m = o.find(".tp-seek-bar")[0], + g = o.find(".tp-volume-bar")[0]; + null != p && + A(p, "click", function () { + 1 == r.paused ? r.play() : r.pause(); + }), + null != v && + A(v, "click", function () { + 0 == r.muted + ? ((r.muted = !0), (v.innerHTML = "Unmute")) + : ((r.muted = !1), (v.innerHTML = "Mute")); + }), + null != c && + c && + A(c, "click", function () { + r.requestFullscreen + ? r.requestFullscreen() + : r.mozRequestFullScreen + ? r.mozRequestFullScreen() + : r.webkitRequestFullscreen && r.webkitRequestFullscreen(); + }), + null != m && + (A(m, "change", function () { + var e = r.duration * (m.value / 100); + r.currentTime = e; + }), + A(m, "mousedown", function () { + o.addClass("seekbardragged"), r.pause(); + }), + A(m, "mouseup", function () { + o.removeClass("seekbardragged"), r.play(); + })), + A(r, "canplaythrough", function () { + I.preLoadAudioDone(o, d, "canplaythrough"); + }), + A(r, "canplay", function () { + I.preLoadAudioDone(o, d, "canplay"); + }), + A(r, "progress", function () { + I.preLoadAudioDone(o, d, "progress"); + }), + A(r, "timeupdate", function () { + var e = (100 / r.duration) * r.currentTime, + t = j(o.data("videoendat")), + a = r.currentTime; + if ( + (null != m && (m.value = e), + 0 != t && + -1 != t && + Math.abs(t - a) <= 0.3 && + a < t && + 1 != o.data("nextslidecalled")) + ) + if (l) { + r.play(); + var i = j(o.data("videostartat")); + -1 != i && (r.currentTime = i); + } else + 1 == o.data("nextslideatend") && + (o.data("nextslideatend-triggered", 1), + o.data("nextslidecalled", 1), + (d.just_called_nextslide_at_htmltimer = !0), + d.c.revnext(), + setTimeout(function () { + d.just_called_nextslide_at_htmltimer = !1; + }, 1e3)), + r.pause(); + }), + null != g && + A(g, "change", function () { + r.volume = g.value; + }), + A(r, "play", function () { + o.data("nextslidecalled", 0); + var e = o.data("volume"); + (e = null != e && "mute" != e ? parseFloat(e) / 100 : e), + I.is_mobile() || + I.isSafari11() || + (!0 === d.globalmute ? (r.muted = !0) : (r.muted = !1), + 1 < e && (e /= 100), + "mute" == e ? (r.muted = !0) : null != e && (r.volume = e)), + o.addClass("videoisplaying"); + var t = "html5" == n.audio ? "audio" : "video"; + x(o, d), + s && "audio" != t + ? ((d.videoplaying = !0), + d.c.trigger("stoptimer"), + d.c.trigger("revolution.slide.onvideoplay", b(r, "html5", n))) + : ((d.videoplaying = !1), + "audio" != t && d.c.trigger("starttimer"), + d.c.trigger("revolution.slide.onvideostop", b(r, "html5", n))), + punchgs.TweenLite.to(o.find(".tp-videoposter"), 0.3, { + autoAlpha: 0, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(o.find(t), 0.3, { + autoAlpha: 1, + display: "block", + ease: punchgs.Power3.easeInOut, + }); + var a = o.find(".tp-vid-play-pause")[0], + i = o.find(".tp-vid-mute")[0]; + null != a && (a.innerHTML = "Pause"), + null != i && r.muted && (i.innerHTML = "Unmute"), + I.toggleState(n.videotoggledby); + }), + A(r, "pause", function (e) { + var t = "html5" == n.audio ? "audio" : "video"; + !k() && + 0 < o.find(".tp-videoposter").length && + "on" == o.data("showcoveronpause") && + !o.hasClass("seekbardragged") && + (punchgs.TweenLite.to(o.find(".tp-videoposter"), 0.3, { + autoAlpha: 1, + force3D: "auto", + ease: punchgs.Power3.easeInOut, + }), + punchgs.TweenLite.to(o.find(t), 0.3, { + autoAlpha: 0, + ease: punchgs.Power3.easeInOut, + })), + o.removeClass("videoisplaying"), + (d.videoplaying = !1), + V(o, d), + "audio" != t && d.c.trigger("starttimer"), + d.c.trigger( + "revolution.slide.onvideostop", + b(r, "html5", o.data()) + ); + var a = o.find(".tp-vid-play-pause")[0]; + null != a && (a.innerHTML = "Play"), + (null != d.currentLayerVideoIsPlaying && + d.currentLayerVideoIsPlaying.attr("id") != o.attr("id")) || + I.unToggleState(n.videotoggledby); + }), + A(r, "ended", function () { + T(), + V(o, d), + (d.videoplaying = !1), + V(o, d), + "audio" != t && d.c.trigger("starttimer"), + d.c.trigger( + "revolution.slide.onvideostop", + b(r, "html5", o.data()) + ), + !0 === o.data("nextslideatend") && + 0 < r.currentTime && + (1 == !d.just_called_nextslide_at_htmltimer && + (o.data("nextslideatend-triggered", 1), + d.c.revnext(), + (d.just_called_nextslide_at_htmltimer = !0)), + setTimeout(function () { + d.just_called_nextslide_at_htmltimer = !1; + }, 1500)), + o.removeClass("videoisplaying"); + }); + }, + x = function (e, a) { + null == a.playingvideos && (a.playingvideos = new Array()), + e.data("stopallvideos") && + null != a.playingvideos && + 0 < a.playingvideos.length && + ((a.lastplayedvideos = jQuery.extend(!0, [], a.playingvideos)), + jQuery.each(a.playingvideos, function (e, t) { + I.stopVideo(t, a); + })), + a.playingvideos.push(e), + (a.currentLayerVideoIsPlaying = e); + }, + V = function (e, t) { + null != t.playingvideos && + 0 <= jQuery.inArray(e, t.playingvideos) && + t.playingvideos.splice(jQuery.inArray(e, t.playingvideos), 1); + }; +})(jQuery); diff --git a/public/assets/assetLanding/revslider/js/jquery.themepunch.revolution.min.js b/public/assets/assetLanding/revslider/js/jquery.themepunch.revolution.min.js new file mode 100644 index 0000000..d6451b4 --- /dev/null +++ b/public/assets/assetLanding/revslider/js/jquery.themepunch.revolution.min.js @@ -0,0 +1,2908 @@ +/************************************************************************** + * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider + * @version: 5.4.8 (10.06.2018) + * @requires jQuery v1.7 or later (tested on 1.9) + * @author ThemePunch + **************************************************************************/ +!(function (jQuery, undefined) { + "use strict"; + var version = { + core: "5.4.8", + "revolution.extensions.actions.min.js": "2.1.0", + "revolution.extensions.carousel.min.js": "1.2.1", + "revolution.extensions.kenburn.min.js": "1.3.1", + "revolution.extensions.layeranimation.min.js": "3.6.5", + "revolution.extensions.navigation.min.js": "1.3.5", + "revolution.extensions.parallax.min.js": "2.2.3", + "revolution.extensions.slideanims.min.js": "1.8", + "revolution.extensions.video.min.js": "2.2.2", + }; + jQuery.fn.extend({ + revolution: function (i) { + var e = { + delay: 9e3, + responsiveLevels: 4064, + visibilityLevels: [2048, 1024, 778, 480], + gridwidth: 960, + gridheight: 500, + minHeight: 0, + autoHeight: "off", + sliderType: "standard", + sliderLayout: "auto", + fullScreenAutoWidth: "off", + fullScreenAlignForce: "off", + fullScreenOffsetContainer: "", + fullScreenOffset: "0", + hideCaptionAtLimit: 0, + hideAllCaptionAtLimit: 0, + hideSliderAtLimit: 0, + disableProgressBar: "off", + stopAtSlide: -1, + stopAfterLoops: -1, + shadow: 0, + dottedOverlay: "none", + startDelay: 0, + lazyType: "smart", + spinner: "spinner0", + shuffle: "off", + viewPort: { + enable: !1, + outof: "wait", + visible_area: "60%", + presize: !1, + }, + fallbacks: { + isJoomla: !1, + panZoomDisableOnMobile: "off", + simplifyAll: "on", + nextSlideOnWindowFocus: "off", + disableFocusListener: !0, + ignoreHeightChanges: "off", + ignoreHeightChangesSize: 0, + allowHTML5AutoPlayOnAndroid: !0, + }, + parallax: { + type: "off", + levels: [ + 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, + ], + origo: "enterpoint", + speed: 400, + bgparallax: "off", + opacity: "on", + disable_onmobile: "off", + ddd_shadow: "on", + ddd_bgfreeze: "off", + ddd_overflow: "visible", + ddd_layer_overflow: "visible", + ddd_z_correction: 65, + ddd_path: "mouse", + }, + scrolleffect: { + fade: "off", + blur: "off", + scale: "off", + grayscale: "off", + maxblur: 10, + on_layers: "off", + on_slidebg: "off", + on_static_layers: "off", + on_parallax_layers: "off", + on_parallax_static_layers: "off", + direction: "both", + multiplicator: 1.35, + multiplicator_layers: 0.5, + tilt: 30, + disable_on_mobile: "on", + }, + carousel: { + easing: punchgs.Power3.easeInOut, + speed: 800, + showLayersAllTime: "off", + horizontal_align: "center", + vertical_align: "center", + infinity: "on", + space: 0, + maxVisibleItems: 3, + stretch: "off", + fadeout: "on", + maxRotation: 0, + minScale: 0, + vary_fade: "off", + vary_rotation: "on", + vary_scale: "off", + border_radius: "0px", + padding_top: 0, + padding_bottom: 0, + }, + navigation: { + keyboardNavigation: "off", + keyboard_direction: "horizontal", + mouseScrollNavigation: "off", + onHoverStop: "on", + touch: { + touchenabled: "off", + touchOnDesktop: "off", + swipe_treshold: 75, + swipe_min_touches: 1, + drag_block_vertical: !1, + swipe_direction: "horizontal", + }, + arrows: { + style: "", + enable: !1, + hide_onmobile: !1, + hide_onleave: !0, + hide_delay: 200, + hide_delay_mobile: 1200, + hide_under: 0, + hide_over: 9999, + tmp: "", + rtl: !1, + left: { + h_align: "left", + v_align: "center", + h_offset: 20, + v_offset: 0, + container: "slider", + }, + right: { + h_align: "right", + v_align: "center", + h_offset: 20, + v_offset: 0, + container: "slider", + }, + }, + bullets: { + container: "slider", + rtl: !1, + style: "", + enable: !1, + hide_onmobile: !1, + hide_onleave: !0, + hide_delay: 200, + hide_delay_mobile: 1200, + hide_under: 0, + hide_over: 9999, + direction: "horizontal", + h_align: "left", + v_align: "center", + space: 0, + h_offset: 20, + v_offset: 0, + tmp: '', + }, + thumbnails: { + container: "slider", + rtl: !1, + style: "", + enable: !1, + width: 100, + height: 50, + min_width: 100, + wrapper_padding: 2, + wrapper_color: "#f5f5f5", + wrapper_opacity: 1, + tmp: '', + visibleAmount: 5, + hide_onmobile: !1, + hide_onleave: !0, + hide_delay: 200, + hide_delay_mobile: 1200, + hide_under: 0, + hide_over: 9999, + direction: "horizontal", + span: !1, + position: "inner", + space: 2, + h_align: "left", + v_align: "center", + h_offset: 20, + v_offset: 0, + }, + tabs: { + container: "slider", + rtl: !1, + style: "", + enable: !1, + width: 100, + min_width: 100, + height: 50, + wrapper_padding: 10, + wrapper_color: "#f5f5f5", + wrapper_opacity: 1, + tmp: '', + visibleAmount: 5, + hide_onmobile: !1, + hide_onleave: !0, + hide_delay: 200, + hide_delay_mobile: 1200, + hide_under: 0, + hide_over: 9999, + direction: "horizontal", + span: !1, + space: 0, + position: "inner", + h_align: "left", + v_align: "center", + h_offset: 20, + v_offset: 0, + }, + }, + extensions: "extensions/", + extensions_suffix: ".min.js", + debugMode: !1, + }; + return ( + (i = jQuery.extend(!0, {}, e, i)), + this.each(function () { + var e = jQuery(this); + (i.minHeight = + i.minHeight != undefined ? parseInt(i.minHeight, 0) : i.minHeight), + (i.scrolleffect.on = + "on" === i.scrolleffect.fade || + "on" === i.scrolleffect.scale || + "on" === i.scrolleffect.blur || + "on" === i.scrolleffect.grayscale), + "hero" == i.sliderType && + e.find(">ul>li").each(function (e) { + 0 < e && jQuery(this).remove(); + }), + (i.jsFileLocation = + i.jsFileLocation || + getScriptLocation("themepunch.revolution.min.js")), + (i.jsFileLocation = i.jsFileLocation + i.extensions), + (i.scriptsneeded = getNeededScripts(i, e)), + (i.curWinRange = 0), + (i.rtl = !0), + i.navigation != undefined && + i.navigation.touch != undefined && + (i.navigation.touch.swipe_min_touches = + 5 < i.navigation.touch.swipe_min_touches + ? 1 + : i.navigation.touch.swipe_min_touches), + jQuery(this).on("scriptsloaded", function () { + if (i.modulesfailing) + return ( + e + .html( + '
!! Error at loading Slider Revolution 5.0 Extrensions.' + + i.errorm + + "
" + ) + .show(), + !1 + ); + _R.migration != undefined && (i = _R.migration(e, i)), + (punchgs.force3D = !0), + "on" !== i.simplifyAll && + punchgs.TweenLite.lagSmoothing(1e3, 16), + prepareOptions(e, i), + initSlider(e, i); + }), + (e[0].opt = i), + waitForScripts(e, i); + }) + ); + }, + getRSVersion: function (e) { + if (!0 === e) return jQuery("body").data("tp_rs_version"); + var i = jQuery("body").data("tp_rs_version"), + t = ""; + for (var a in ((t += + "---------------------------------------------------------\n"), + (t += " Currently Loaded Slider Revolution & SR Modules :\n"), + (t += "---------------------------------------------------------\n"), + i)) + t += i[a].alias + ": " + i[a].ver + "\n"; + return (t += + "---------------------------------------------------------\n"); + }, + revremoveslide: function (r) { + return this.each(function () { + var e = jQuery(this), + i = e[0].opt; + if ( + !(r < 0 || r > i.slideamount) && + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + i && + 0 < i.li.length && + (0 < r || r <= i.li.length) + ) { + var t = jQuery(i.li[r]), + a = t.data("index"), + n = !1; + (i.slideamount = i.slideamount - 1), + (i.realslideamount = i.realslideamount - 1), + removeNavWithLiref(".tp-bullet", a, i), + removeNavWithLiref(".tp-tab", a, i), + removeNavWithLiref(".tp-thumb", a, i), + t.hasClass("active-revslide") && (n = !0), + t.remove(), + (i.li = removeArray(i.li, r)), + i.carousel && + i.carousel.slides && + (i.carousel.slides = removeArray(i.carousel.slides, r)), + (i.thumbs = removeArray(i.thumbs, r)), + _R.updateNavIndexes && _R.updateNavIndexes(i), + n && e.revnext(), + punchgs.TweenLite.set(i.li, { minWidth: "99%" }), + punchgs.TweenLite.set(i.li, { minWidth: "100%" }); + } + }); + }, + revaddcallback: function (e) { + return this.each(function () { + this.opt && + (this.opt.callBackArray === undefined && + (this.opt.callBackArray = new Array()), + this.opt.callBackArray.push(e)); + }); + }, + revgetparallaxproc: function () { + return jQuery(this)[0].opt.scrollproc; + }, + revdebugmode: function () { + return this.each(function () { + var e = jQuery(this); + (e[0].opt.debugMode = !0), containerResized(e, e[0].opt); + }); + }, + revscroll: function (i) { + return this.each(function () { + var e = jQuery(this); + jQuery("body,html").animate( + { scrollTop: e.offset().top + e.height() - i + "px" }, + { duration: 400 } + ); + }); + }, + revredraw: function (e) { + return this.each(function () { + var e = jQuery(this); + containerResized(e, e[0].opt); + }); + }, + revkill: function (e) { + var i = this, + t = jQuery(this); + if ( + (punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements), + t != undefined && + 0 < t.length && + 0 < jQuery("body").find("#" + t.attr("id")).length) + ) { + t.data("conthover", 1), + t.data("conthover-changed", 1), + t.trigger("revolution.slide.onpause"); + var a = t.parent().find(".tp-bannertimer"), + n = t[0].opt; + (n.tonpause = !0), t.trigger("stoptimer"); + var r = "resize.revslider-" + t.attr("id"); + jQuery(window).unbind(r), + punchgs.TweenLite.killTweensOf(t.find("*"), !1), + punchgs.TweenLite.killTweensOf(t, !1), + t.unbind("hover, mouseover, mouseenter,mouseleave, resize"); + r = "resize.revslider-" + t.attr("id"); + jQuery(window).off(r), + t.find("*").each(function () { + var e = jQuery(this); + e.unbind( + "on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer" + ), + e.off("on, hover, mouseenter,mouseleave,mouseover, resize"), + e.data("mySplitText", null), + e.data("ctl", null), + e.data("tween") != undefined && e.data("tween").kill(), + e.data("kenburn") != undefined && e.data("kenburn").kill(), + e.data("timeline_out") != undefined && + e.data("timeline_out").kill(), + e.data("timeline") != undefined && e.data("timeline").kill(), + e.remove(), + e.empty(), + (e = null); + }), + punchgs.TweenLite.killTweensOf(t.find("*"), !1), + punchgs.TweenLite.killTweensOf(t, !1), + a.remove(); + try { + t.closest(".forcefullwidth_wrapper_tp_banner").remove(); + } catch (e) {} + try { + t.closest(".rev_slider_wrapper").remove(); + } catch (e) {} + try { + t.remove(); + } catch (e) {} + return ( + t.empty(), + t.html(), + (n = t = null), + delete i.c, + delete i.opt, + delete i.container, + !0 + ); + } + return !1; + }, + revpause: function () { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + (e.data("conthover", 1), + e.data("conthover-changed", 1), + e.trigger("revolution.slide.onpause"), + (e[0].opt.tonpause = !0), + e.trigger("stoptimer")); + }); + }, + revresume: function () { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + (e.data("conthover", 0), + e.data("conthover-changed", 1), + e.trigger("revolution.slide.onresume"), + (e[0].opt.tonpause = !1), + e.trigger("starttimer")); + }); + }, + revstart: function () { + var e = jQuery(this); + if ( + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + e[0].opt !== undefined + ) + return e[0].opt.sliderisrunning + ? (console.log("Slider Is Running Already"), !1) + : (((e[0].opt.c = e)[0].opt.ul = e.find(">ul")), + runSlider(e, e[0].opt), + !0); + }, + revnext: function () { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + _R.callingNewSlide(e, 1); + }); + }, + revprev: function () { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + _R.callingNewSlide(e, -1); + }); + }, + revmaxslide: function () { + return jQuery(this).find(".tp-revslider-mainul >li").length; + }, + revcurrentslide: function () { + var e = jQuery(this); + if ( + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length + ) + return parseInt(e[0].opt.act, 0) + 1; + }, + revlastslide: function () { + return jQuery(this).find(".tp-revslider-mainul >li").length; + }, + revshowslide: function (i) { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + _R.callingNewSlide(e, "to" + (i - 1)); + }); + }, + revcallslidewithid: function (i) { + return this.each(function () { + var e = jQuery(this); + e != undefined && + 0 < e.length && + 0 < jQuery("body").find("#" + e.attr("id")).length && + _R.callingNewSlide(e, i); + }); + }, + }); + var _R = jQuery.fn.revolution; + jQuery.extend(!0, _R, { + getversion: function () { + return version; + }, + compare_version: function (e) { + var i = jQuery("body").data("tp_rs_version"); + return ( + (i = i === undefined ? new Object() : i).Core === undefined && + ((i.Core = new Object()), + (i.Core.alias = "Slider Revolution Core"), + (i.Core.name = "jquery.themepunch.revolution.min.js"), + (i.Core.ver = _R.getversion().core)), + "stop" != e.check && + (_R.getversion().core < e.min_core + ? (e.check === undefined && + (console.log( + "%cSlider Revolution Warning (Core:" + + _R.getversion().core + + ")", + "color:#c0392b;font-weight:bold;" + ), + console.log( + "%c Core is older than expected (" + + e.min_core + + ") from " + + e.alias, + "color:#333" + ), + console.log( + "%c Please update Slider Revolution to the latest version.", + "color:#333" + ), + console.log( + "%c It might be required to purge and clear Server/Client side Caches.", + "color:#333" + )), + (e.check = "stop")) + : _R.getversion()[e.name] != undefined && + e.version < _R.getversion()[e.name] && + (e.check === undefined && + (console.log( + "%cSlider Revolution Warning (Core:" + + _R.getversion().core + + ")", + "color:#c0392b;font-weight:bold;" + ), + console.log( + "%c " + + e.alias + + " (" + + e.version + + ") is older than requiered (" + + _R.getversion()[e.name] + + ")", + "color:#333" + ), + console.log( + "%c Please update Slider Revolution to the latest version.", + "color:#333" + ), + console.log( + "%c It might be required to purge and clear Server/Client side Caches.", + "color:#333" + )), + (e.check = "stop"))), + i[e.alias] === undefined && + ((i[e.alias] = new Object()), + (i[e.alias].alias = e.alias), + (i[e.alias].ver = e.version), + (i[e.alias].name = e.name)), + jQuery("body").data("tp_rs_version", i), + e + ); + }, + currentSlideIndex: function (e) { + var i = e.c.find(".active-revslide").index(); + return (i = -1 == i ? 0 : i); + }, + simp: function (e, i, t) { + var a = Math.abs(e) - Math.floor(Math.abs(e / i)) * i; + return t ? a : e < 0 ? -1 * a : a; + }, + iOSVersion: function () { + var e = !1; + return ( + navigator.userAgent.match(/iPhone/i) || + navigator.userAgent.match(/iPod/i) || + navigator.userAgent.match(/iPad/i) + ? navigator.userAgent.match(/OS 4_\d like Mac OS X/i) && (e = !0) + : (e = !1), + e + ); + }, + isIE: function (e, i) { + var t = jQuery('
').appendTo(jQuery("body")); + t.html( + "\x3c!--[if " + + (i || "") + + " IE " + + (e || "") + + "]> = n.slideamount + ? 0 + : a + : (i = jQuery.isNumeric(i) + ? i + : parseInt(i.split("to")[1], 0)) < 0 + ? 0 + : i > n.slideamount - 1 + ? n.slideamount - 1 + : i), + e + .find(".tp-revslider-slidesli:eq(" + a + ")") + .addClass("next-revslide")) + : i && + e.find(".tp-revslider-slidesli").each(function () { + var e = jQuery(this); + e.data("index") === i && e.addClass("next-revslide"); + }), + (a = e.find(".next-revslide").index()), + e.trigger("revolution.nextslide.waiting"), + (t === a && t === n.last_shown_slide) || (a !== t && -1 != a) + ? swapSlide(e) + : e.find(".next-revslide").removeClass("next-revslide"); + }, + slotSize: function (e, i) { + (i.slotw = Math.ceil(i.width / i.slots)), + "fullscreen" == i.sliderLayout + ? (i.sloth = Math.ceil(jQuery(window).height() / i.slots)) + : (i.sloth = Math.ceil(i.height / i.slots)), + "on" == i.autoHeight && + e !== undefined && + "" !== e && + (i.sloth = Math.ceil(e.height() / i.slots)); + }, + setSize: function (e) { + var i = (e.top_outer || 0) + (e.bottom_outer || 0), + t = parseInt(e.carousel.padding_top || 0, 0), + a = parseInt(e.carousel.padding_bottom || 0, 0), + n = e.gridheight[e.curWinRange], + r = 0, + o = -1 === e.nextSlide || e.nextSlide === undefined ? 0 : e.nextSlide; + if ( + ((e.paddings = + e.paddings === undefined + ? { + top: parseInt(e.c.parent().css("paddingTop"), 0) || 0, + bottom: parseInt(e.c.parent().css("paddingBottom"), 0) || 0, + } + : e.paddings), + e.rowzones && 0 < e.rowzones.length) + ) + for (var s = 0; s < e.rowzones[o].length; s++) + r += e.rowzones[o][s][0].offsetHeight; + if ( + ((n = (n = n < e.minHeight ? e.minHeight : n) < r ? r : n), + "fullwidth" == e.sliderLayout && + "off" == e.autoHeight && + punchgs.TweenLite.set(e.c, { maxHeight: n + "px" }), + e.c.css({ marginTop: t, marginBottom: a }), + (e.width = e.ul.width()), + (e.height = e.ul.height()), + setScale(e), + (e.height = Math.round( + e.gridheight[e.curWinRange] * (e.width / e.gridwidth[e.curWinRange]) + )), + e.height > e.gridheight[e.curWinRange] && + "on" != e.autoHeight && + (e.height = e.gridheight[e.curWinRange]), + "fullscreen" == e.sliderLayout || e.infullscreenmode) + ) { + e.height = e.bw * e.gridheight[e.curWinRange]; + e.c.parent().width(); + var l = jQuery(window).height(); + if (e.fullScreenOffsetContainer != undefined) { + try { + var d = e.fullScreenOffsetContainer.split(","); + d && + jQuery.each(d, function (e, i) { + l = 0 < jQuery(i).length ? l - jQuery(i).outerHeight(!0) : l; + }); + } catch (e) {} + try { + 1 < e.fullScreenOffset.split("%").length && + e.fullScreenOffset != undefined && + 0 < e.fullScreenOffset.length + ? (l -= + (jQuery(window).height() * parseInt(e.fullScreenOffset, 0)) / + 100) + : e.fullScreenOffset != undefined && + 0 < e.fullScreenOffset.length && + (l -= parseInt(e.fullScreenOffset, 0)); + } catch (e) {} + } + (l = l < e.minHeight ? e.minHeight : l), + (l -= i), + e.c.parent().height(l), + e.c.closest(".rev_slider_wrapper").height(l), + e.c.css({ height: "100%" }), + (e.height = l), + e.minHeight != undefined && + e.height < e.minHeight && + (e.height = e.minHeight), + (e.height = parseInt(r, 0) > parseInt(e.height, 0) ? r : e.height); + } else + e.minHeight != undefined && + e.height < e.minHeight && + (e.height = e.minHeight), + (e.height = parseInt(r, 0) > parseInt(e.height, 0) ? r : e.height), + e.c.height(e.height); + var c = { + height: t + a + i + e.height + e.paddings.top + e.paddings.bottom, + }; + e.c + .closest(".forcefullwidth_wrapper_tp_banner") + .find(".tp-fullwidth-forcer") + .css(c), + e.c.closest(".rev_slider_wrapper").css(c), + setScale(e); + }, + enterInViewPort: function (t) { + t.waitForCountDown && (countDown(t.c, t), (t.waitForCountDown = !1)), + t.waitForFirstSlide && + (swapSlide(t.c), + (t.waitForFirstSlide = !1), + setTimeout(function () { + t.c.removeClass("tp-waitforfirststart"); + }, 500)), + ("playing" != t.sliderlaststatus && t.sliderlaststatus != undefined) || + t.c.trigger("starttimer"), + t.lastplayedvideos != undefined && + 0 < t.lastplayedvideos.length && + jQuery.each(t.lastplayedvideos, function (e, i) { + _R.playVideo(i, t); + }); + }, + leaveViewPort: function (t) { + (t.sliderlaststatus = t.sliderstatus), + t.c.trigger("stoptimer"), + t.playingvideos != undefined && + 0 < t.playingvideos.length && + ((t.lastplayedvideos = jQuery.extend(!0, [], t.playingvideos)), + t.playingvideos && + jQuery.each(t.playingvideos, function (e, i) { + (t.leaveViewPortBasedStop = !0), + _R.stopVideo && _R.stopVideo(i, t); + })); + }, + unToggleState: function (e) { + e != undefined && + 0 < e.length && + jQuery.each(e, function (e, i) { + i.removeClass("rs-toggle-content-active"); + }); + }, + toggleState: function (e) { + e != undefined && + 0 < e.length && + jQuery.each(e, function (e, i) { + i.addClass("rs-toggle-content-active"); + }); + }, + swaptoggleState: function (e) { + e != undefined && + 0 < e.length && + jQuery.each(e, function (e, i) { + jQuery(i).hasClass("rs-toggle-content-active") + ? jQuery(i).removeClass("rs-toggle-content-active") + : jQuery(i).addClass("rs-toggle-content-active"); + }); + }, + lastToggleState: function (e) { + var t = 0; + return ( + e != undefined && + 0 < e.length && + jQuery.each(e, function (e, i) { + t = i.hasClass("rs-toggle-content-active"); + }), + t + ); + }, + }); + var _ISM = _R.is_mobile(), + _ANDROID = _R.is_android(), + checkIDS = function (e, i) { + if ( + ((e.anyid = e.anyid === undefined ? [] : e.anyid), + -1 != jQuery.inArray(i.attr("id"), e.anyid)) + ) { + var t = i.attr("id") + "_" + Math.round(9999 * Math.random()); + i.attr("id", t); + } + e.anyid.push(i.attr("id")); + }, + removeArray = function (e, t) { + var a = []; + return ( + jQuery.each(e, function (e, i) { + e != t && a.push(i); + }), + a + ); + }, + removeNavWithLiref = function (e, i, t) { + t.c.find(e).each(function () { + var e = jQuery(this); + e.data("liref") === i && e.remove(); + }); + }, + lAjax = function (i, t) { + return ( + !jQuery("body").data(i) && + (t.filesystem + ? (t.errorm === undefined && + (t.errorm = + "
Local Filesystem Detected !
Put this to your header:"), + console.warn("Local Filesystem detected !"), + (t.errorm = + t.errorm + + '
<script type="text/javascript" src="' + + t.jsFileLocation + + i + + t.extensions_suffix + + '"></script>'), + console.warn( + t.jsFileLocation + + i + + t.extensions_suffix + + " could not be loaded !" + ), + console.warn( + "Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document." + ), + console.log(" "), + !(t.modulesfailing = !0)) + : (jQuery.ajax({ + url: + t.jsFileLocation + + i + + t.extensions_suffix + + "?version=" + + version.core, + dataType: "script", + cache: !0, + error: function (e) { + console.warn("Slider Revolution 5.0 Error !"), + console.error( + "Failure at Loading:" + + i + + t.extensions_suffix + + " on Path:" + + t.jsFileLocation + ), + console.info(e); + }, + }), + void jQuery("body").data(i, !0))) + ); + }, + getNeededScripts = function (t, e) { + var i = new Object(), + a = t.navigation; + return ( + (i.kenburns = !1), + (i.parallax = !1), + (i.carousel = !1), + (i.navigation = !1), + (i.videos = !1), + (i.actions = !1), + (i.layeranim = !1), + (i.migration = !1), + e.data("version") && e.data("version").toString().match(/5./gi) + ? (e.find("img").each(function () { + "on" == jQuery(this).data("kenburns") && (i.kenburns = !0); + }), + ("carousel" == t.sliderType || + "on" == a.keyboardNavigation || + "on" == a.mouseScrollNavigation || + "on" == a.touch.touchenabled || + a.arrows.enable || + a.bullets.enable || + a.thumbnails.enable || + a.tabs.enable) && + (i.navigation = !0), + e + .find(".tp-caption, .tp-static-layer, .rs-background-video-layer") + .each(function () { + var e = jQuery(this); + (e.data("ytid") != undefined || + (0 < e.find("iframe").length && + 0 < + e + .find("iframe") + .attr("src") + .toLowerCase() + .indexOf("youtube"))) && + (i.videos = !0), + (e.data("vimeoid") != undefined || + (0 < e.find("iframe").length && + 0 < + e + .find("iframe") + .attr("src") + .toLowerCase() + .indexOf("vimeo"))) && + (i.videos = !0), + e.data("actions") !== undefined && (i.actions = !0), + (i.layeranim = !0); + }), + e.find("li").each(function () { + jQuery(this).data("link") && + jQuery(this).data("link") != undefined && + ((i.layeranim = !0), (i.actions = !0)); + }), + !i.videos && + (0 < e.find(".rs-background-video-layer").length || + 0 < e.find(".tp-videolayer").length || + 0 < e.find(".tp-audiolayer").length || + 0 < e.find("iframe").length || + 0 < e.find("video").length) && + (i.videos = !0), + "carousel" == t.sliderType && (i.carousel = !0), + ("off" !== t.parallax.type || + t.viewPort.enable || + "true" == t.viewPort.enable || + "true" === t.scrolleffect.on || + t.scrolleffect.on) && + (i.parallax = !0)) + : ((i.kenburns = !0), + (i.parallax = !0), + (i.carousel = !1), + (i.navigation = !0), + (i.videos = !0), + (i.actions = !0), + (i.layeranim = !0), + (i.migration = !0)), + "hero" == t.sliderType && ((i.carousel = !1), (i.navigation = !1)), + window.location.href.match(/file:/gi) && + ((i.filesystem = !0), (t.filesystem = !0)), + i.videos && + void 0 === _R.isVideoPlaying && + lAjax("revolution.extension.video", t), + i.carousel && + void 0 === _R.prepareCarousel && + lAjax("revolution.extension.carousel", t), + i.carousel || + void 0 !== _R.animateSlide || + lAjax("revolution.extension.slideanims", t), + i.actions && + void 0 === _R.checkActions && + lAjax("revolution.extension.actions", t), + i.layeranim && + void 0 === _R.handleStaticLayers && + lAjax("revolution.extension.layeranimation", t), + i.kenburns && + void 0 === _R.stopKenBurn && + lAjax("revolution.extension.kenburn", t), + i.navigation && + void 0 === _R.createNavigation && + lAjax("revolution.extension.navigation", t), + i.migration && + void 0 === _R.migration && + lAjax("revolution.extension.migration", t), + i.parallax && + void 0 === _R.checkForParallax && + lAjax("revolution.extension.parallax", t), + t.addons != undefined && + 0 < t.addons.length && + jQuery.each(t.addons, function (e, i) { + "object" == typeof i && + i.fileprefix != undefined && + lAjax(i.fileprefix, t); + }), + i + ); + }, + waitForScripts = function (e, i) { + var t = !0, + a = i.scriptsneeded; + i.addons != undefined && + 0 < i.addons.length && + jQuery.each(i.addons, function (e, i) { + "object" == typeof i && + i.init != undefined && + _R[i.init] === undefined && + (t = !1); + }), + a.filesystem || + ("undefined" != typeof punchgs && + t && + (!a.kenburns || (a.kenburns && void 0 !== _R.stopKenBurn)) && + (!a.navigation || (a.navigation && void 0 !== _R.createNavigation)) && + (!a.carousel || (a.carousel && void 0 !== _R.prepareCarousel)) && + (!a.videos || (a.videos && void 0 !== _R.resetVideo)) && + (!a.actions || (a.actions && void 0 !== _R.checkActions)) && + (!a.layeranim || (a.layeranim && void 0 !== _R.handleStaticLayers)) && + (!a.migration || (a.migration && void 0 !== _R.migration)) && + (!a.parallax || (a.parallax && void 0 !== _R.checkForParallax)) && + (a.carousel || (!a.carousel && void 0 !== _R.animateSlide))) + ? e.trigger("scriptsloaded") + : setTimeout(function () { + waitForScripts(e, i); + }, 50); + }, + getScriptLocation = function (e) { + var i = new RegExp("themepunch.revolution.min.js", "gi"), + t = ""; + return ( + jQuery("script").each(function () { + var e = jQuery(this).attr("src"); + e && e.match(i) && (t = e); + }), + (t = (t = (t = t.replace( + "jquery.themepunch.revolution.min.js", + "" + )).replace("jquery.themepunch.revolution.js", "")).split("?")[0]) + ); + }, + setCurWinRange = function (e, i) { + var t = 9999, + a = 0, + n = 0, + r = 0, + o = jQuery(window).width(), + s = + i && 9999 == e.responsiveLevels + ? e.visibilityLevels + : e.responsiveLevels; + s && + s.length && + jQuery.each(s, function (e, i) { + o < i && (0 == a || i < a) && ((r = e), (a = t = i)), + i < o && a < i && ((a = i), (n = e)); + }), + a < t && (r = n), + i ? (e.forcedWinRange = r) : (e.curWinRange = r); + }, + prepareOptions = function (e, i) { + (i.carousel.maxVisibleItems = + i.carousel.maxVisibleItems < 1 ? 999 : i.carousel.maxVisibleItems), + (i.carousel.vertical_align = + "top" === i.carousel.vertical_align + ? "0%" + : "bottom" === i.carousel.vertical_align + ? "100%" + : "50%"); + }, + gWiderOut = function (e, i) { + var t = 0; + return ( + e.find(i).each(function () { + var e = jQuery(this); + !e.hasClass("tp-forcenotvisible") && + t < e.outerWidth() && + (t = e.outerWidth()); + }), + t + ); + }, + initSlider = function (container, opt) { + if (container == undefined) return !1; + container.data("aimg") != undefined && + (("enabled" == container.data("aie8") && _R.isIE(8)) || + ("enabled" == container.data("amobile") && _ISM)) && + container.html( + '' + ), + container.find(">ul").addClass("tp-revslider-mainul"), + (opt.c = container), + (opt.ul = container.find(".tp-revslider-mainul")), + opt.ul.find(">li").each(function (e) { + var i = jQuery(this); + "on" == i.data("hideslideonmobile") && _ISM && i.remove(), + (i.data("invisible") || !0 === i.data("invisible")) && + (i.addClass("tp-invisible-slide"), i.appendTo(opt.ul)); + }), + opt.addons != undefined && + 0 < opt.addons.length && + jQuery.each(opt.addons, function (i, obj) { + "object" == typeof obj && + obj.init != undefined && + _R[obj.init](eval(obj.params)); + }), + (opt.cid = container.attr("id")), + opt.ul.css({ visibility: "visible" }), + (opt.slideamount = opt.ul + .find(">li") + .not(".tp-invisible-slide").length), + (opt.realslideamount = opt.ul.find(">li").length), + (opt.slayers = container.find(".tp-static-layers")), + opt.slayers.data("index", "staticlayers"), + 1 != opt.waitForInit && + ((container[0].opt = opt), runSlider(container, opt)); + }, + onFullScreenChange = function () { + jQuery("body").data( + "rs-fullScreenMode", + !jQuery("body").data("rs-fullScreenMode") + ), + jQuery("body").data("rs-fullScreenMode") && + setTimeout(function () { + jQuery(window).trigger("resize"); + }, 200); + }, + runSlider = function (t, x) { + if ( + ((x.sliderisrunning = !0), + x.ul.find(">li").each(function (e) { + jQuery(this).data("originalindex", e); + }), + (x.allli = x.ul.find(">li")), + jQuery.each(x.allli, function (e, i) { + (i = jQuery(i)).data("origindex", i.index()); + }), + (x.li = x.ul.find(">li").not(".tp-invisible-slide")), + "on" == x.shuffle) + ) { + var e = new Object(), + i = x.ul.find(">li:first-child"); + (e.fstransition = i.data("fstransition")), + (e.fsmasterspeed = i.data("fsmasterspeed")), + (e.fsslotamount = i.data("fsslotamount")); + for (var a = 0; a < x.slideamount; a++) { + var n = Math.round(Math.random() * x.slideamount); + x.ul.find(">li:eq(" + n + ")").prependTo(x.ul); + } + var r = x.ul.find(">li:first-child"); + r.data("fstransition", e.fstransition), + r.data("fsmasterspeed", e.fsmasterspeed), + r.data("fsslotamount", e.fsslotamount), + (x.allli = x.ul.find(">li")), + (x.li = x.ul.find(">li").not(".tp-invisible-slide")); + } + if ( + ((x.inli = x.ul.find(">li.tp-invisible-slide")), + (x.thumbs = new Array()), + (x.slots = 4), + (x.act = -1), + (x.firststart = 1), + (x.loadqueue = new Array()), + (x.syncload = 0), + (x.conw = t.width()), + (x.conh = t.height()), + 1 < x.responsiveLevels.length + ? (x.responsiveLevels[0] = 9999) + : (x.responsiveLevels = 9999), + jQuery.each(x.allli, function (e, i) { + var t = (i = jQuery(i)).find(".rev-slidebg") || i.find("img").first(), + a = 0; + i.addClass("tp-revslider-slidesli"), + i.data("index") === undefined && + i.data("index", "rs-" + Math.round(999999 * Math.random())); + var n = new Object(); + (n.params = new Array()), + (n.id = i.data("index")), + (n.src = + i.data("thumb") !== undefined + ? i.data("thumb") + : t.data("lazyload") !== undefined + ? t.data("lazyload") + : t.attr("src")), + i.data("title") !== undefined && + n.params.push({ + from: RegExp("\\{\\{title\\}\\}", "g"), + to: i.data("title"), + }), + i.data("description") !== undefined && + n.params.push({ + from: RegExp("\\{\\{description\\}\\}", "g"), + to: i.data("description"), + }); + for (a = 1; a <= 10; a++) + i.data("param" + a) !== undefined && + n.params.push({ + from: RegExp("\\{\\{param" + a + "\\}\\}", "g"), + to: i.data("param" + a), + }); + if ((x.thumbs.push(n), i.data("link") != undefined)) { + var r = i.data("link"), + o = i.data("target") || "_self", + s = "back" === i.data("slideindex") ? 0 : 60, + l = i.data("linktoslide"), + d = l; + l != undefined && + "next" != l && + "prev" != l && + x.allli.each(function () { + var e = jQuery(this); + e.data("origindex") + 1 == d && (l = e.data("index")); + }), + "slide" != r && (l = "no"); + var c = + ''), + i.append(c); + } + }), + (x.rle = x.responsiveLevels.length || 1), + (x.gridwidth = cArray(x.gridwidth, x.rle)), + (x.gridheight = cArray(x.gridheight, x.rle)), + "on" == x.simplifyAll && + (_R.isIE(8) || _R.iOSVersion()) && + (t.find(".tp-caption").each(function () { + var e = jQuery(this); + e.removeClass("customin customout").addClass("fadein fadeout"), + e.data("splitin", ""), + e.data("speed", 400); + }), + x.allli.each(function () { + var e = jQuery(this); + e.data("transition", "fade"), + e.data("masterspeed", 500), + e.data("slotamount", 1), + (e.find(".rev-slidebg") || e.find(">img").first()).data( + "kenburns", + "off" + ); + })), + (x.desktop = !navigator.userAgent.match( + /(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i + )), + (x.autoHeight = "fullscreen" == x.sliderLayout ? "on" : x.autoHeight), + "fullwidth" == x.sliderLayout && + "off" == x.autoHeight && + t.css({ maxHeight: x.gridheight[x.curWinRange] + "px" }), + "auto" != x.sliderLayout && + 0 == t.closest(".forcefullwidth_wrapper_tp_banner").length && + ("fullscreen" !== x.sliderLayout || "on" != x.fullScreenAutoWidth)) + ) { + var o = t.parent(), + s = o.css("marginBottom"), + l = o.css("marginTop"), + d = t.attr("id") + "_forcefullwidth"; + (s = s === undefined ? 0 : s), + (l = l === undefined ? 0 : l), + o.wrap( + '
' + ), + t + .closest(".forcefullwidth_wrapper_tp_banner") + .append( + '
' + ), + t.parent().css({ marginTop: "0px", marginBottom: "0px" }), + t.parent().css({ position: "absolute" }); + } + if ( + (x.shadow !== undefined && + 0 < x.shadow && + (t.parent().addClass("tp-shadow" + x.shadow), + t.parent().append('
'), + t + .parent() + .find(".tp-shadowcover") + .css({ + backgroundColor: t.parent().css("backgroundColor"), + backgroundImage: t.parent().css("backgroundImage"), + })), + setCurWinRange(x), + setCurWinRange(x, !0), + !t.hasClass("revslider-initialised")) + ) { + t.addClass("revslider-initialised"), + t.addClass("tp-simpleresponsive"), + t.attr("id") == undefined && + t.attr("id", "revslider-" + Math.round(1e3 * Math.random() + 5)), + checkIDS(x, t), + (x.firefox13 = !1), + (x.ie = !jQuery.support.opacity), + (x.ie9 = 9 == document.documentMode), + (x.origcd = x.delay); + var c = jQuery.fn.jquery.split("."), + u = parseFloat(c[0]), + p = parseFloat(c[1]); + parseFloat(c[2] || "0"); + 1 == u && + p < 7 && + t.html( + '
The Current Version of jQuery:' + + c + + "
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
" + ), + 1 < u && (x.ie = !1); + var j = new Object(); + (j.addedyt = 0), + (j.addedvim = 0), + (j.addedvid = 0), + x.scrolleffect.on && (x.scrolleffect.layers = new Array()), + t.find(".tp-caption, .rs-background-video-layer").each(function (e) { + var n = jQuery(this), + i = n.data(), + t = i.autoplayonlyfirsttime, + a = i.autoplay, + r = + (i.videomp4 !== undefined || + i.videowebm !== undefined || + i.videoogv, + n.hasClass("tp-audiolayer")), + o = i.videoloop, + s = !0, + l = !1; + (i.startclasses = n.attr("class")), + (i.isparallaxlayer = 0 <= i.startclasses.indexOf("rs-parallax")), + n.hasClass("tp-static-layer") && + _R.handleStaticLayers && + (_R.handleStaticLayers(n, x), + x.scrolleffect.on && + (("on" === x.scrolleffect.on_parallax_static_layers && + i.isparallaxlayer) || + ("on" === x.scrolleffect.on_static_layers && + !i.isparallaxlayer)) && + (l = !0), + (s = !1)); + var d = + n.data("noposteronmobile") || + n.data("noPosterOnMobile") || + n.data("posteronmobile") || + n.data("posterOnMobile") || + n.data("posterOnMObile"); + n.data("noposteronmobile", d); + var c = 0; + if ( + (n.find("iframe").each(function () { + punchgs.TweenLite.set(jQuery(this), { autoAlpha: 0 }), c++; + }), + 0 < c && n.data("iframes", !0), + n.hasClass("tp-caption")) + ) { + var u = n.hasClass("slidelink") + ? "width:100% !important;height:100% !important;" + : "", + p = n.data(), + f = "", + h = p.type, + g = "row" === h || "column" === h ? "relative" : "absolute", + v = ""; + "row" === h + ? (n.addClass("rev_row").removeClass("tp-resizeme"), + (v = "rev_row_wrap")) + : "column" === h + ? ((f = + p.verticalalign === undefined + ? " vertical-align:bottom;" + : " vertical-align:" + p.verticalalign + ";"), + (v = "rev_column"), + n.addClass("rev_column_inner").removeClass("tp-resizeme"), + n.data("width", "auto"), + punchgs.TweenLite.set(n, { width: "auto" })) + : "group" === h && n.removeClass("tp-resizeme"); + var m = "", + y = ""; + "row" !== h && "group" !== h && "column" !== h + ? ((m = "display:" + n.css("display") + ";"), + 0 < n.closest(".rev_column").length + ? (n.addClass("rev_layer_in_column"), (s = !1)) + : 0 < n.closest(".rev_group").length && + (n.addClass("rev_layer_in_group"), (s = !1))) + : "column" === h && (s = !1), + p.wrapper_class !== undefined && + (v = v + " " + p.wrapper_class), + p.wrapper_id !== undefined && (y = 'id="' + p.wrapper_id + '"'); + var w = ""; + n.hasClass("tp-no-events") && (w = ";pointer-events:none"), + n.wrap( + "
' + ), + s && + x.scrolleffect.on && + (("on" === x.scrolleffect.on_parallax_layers && + i.isparallaxlayer) || + ("on" === x.scrolleffect.on_layers && + !i.isparallaxlayer)) && + x.scrolleffect.layers.push(n.parent()), + l && x.scrolleffect.layers.push(n.parent()), + "column" === h && + (n.append( + '' + ), + n + .closest(".tp-parallax-wrap") + .append( + '
' + )); + var b = n.closest(".tp-loop-wrap"); + jQuery.each( + ["pendulum", "rotate", "slideloop", "pulse", "wave"], + function (e, i) { + var t = n.find(".rs-" + i), + a = t.data() || ""; + "" != a && + (b.data(a), + b.addClass("rs-" + i), + t.children(0).unwrap(), + n.data("loopanimation", "on")); + } + ), + n.attr("id") === undefined && + n.attr( + "id", + "layer-" + Math.round(999999999 * Math.random()) + ), + checkIDS(x, n), + punchgs.TweenLite.set(n, { visibility: "hidden" }); + } + var _ = n.data("actions"); + _ !== undefined && _R.checkActions(n, x, _), + checkHoverDependencies(n, x), + _R.checkVideoApis && (j = _R.checkVideoApis(n, x, j)), + r || + (1 != t && "true" != t && "1sttime" != a) || + "loopandnoslidestop" == o || + n + .closest("li.tp-revslider-slidesli") + .addClass("rs-pause-timer-once"), + r || + (1 != a && "true" != a && "on" != a && "no1sttime" != a) || + "loopandnoslidestop" == o || + n + .closest("li.tp-revslider-slidesli") + .addClass("rs-pause-timer-always"); + }), + t[0].addEventListener( + "mouseenter", + function () { + t.trigger("tp-mouseenter"), (x.overcontainer = !0); + }, + { passive: !0 } + ), + t[0].addEventListener( + "mouseover", + function () { + t.trigger("tp-mouseover"), (x.overcontainer = !0); + }, + { passive: !0 } + ), + t[0].addEventListener( + "mouseleave", + function () { + t.trigger("tp-mouseleft"), (x.overcontainer = !1); + }, + { passive: !0 } + ), + t.find(".tp-caption video").each(function (e) { + var i = jQuery(this); + i.removeClass("video-js vjs-default-skin"), + i.attr("preload", ""), + i.css({ display: "none" }); + }), + "standard" !== x.sliderType && (x.lazyType = "all"), + loadImages(t.find(".tp-static-layers"), x, 0, !0), + waitForCurrentImages(t.find(".tp-static-layers"), x, function () { + t.find(".tp-static-layers img").each(function () { + var e = jQuery(this), + i = + e.data("lazyload") != undefined + ? e.data("lazyload") + : e.attr("src"), + t = getLoadObj(x, i); + e.attr("src", t.src); + }); + }), + (x.rowzones = []), + x.allli.each(function (e) { + var i = jQuery(this); + (x.rowzones[e] = []), + i.find(".rev_row_zone").each(function () { + x.rowzones[e].push(jQuery(this)); + }), + ("all" != x.lazyType && + ("smart" != x.lazyType || + (0 != e && + 1 != e && + e != x.slideamount && + e != x.slideamount - 1))) || + (loadImages(i, x, e), + waitForCurrentImages(i, x, function () {})); + }); + var f = getUrlVars("#")[0]; + if (f.length < 9 && 1 < f.split("slide").length) { + var h = parseInt(f.split("slide")[1], 0); + h < 1 && (h = 1), + h > x.slideamount && (h = x.slideamount), + (x.startWithSlide = h - 1); + } + t.append( + '
' + ), + (x.loader = t.find(".tp-loader")), + 0 === t.find(".tp-bannertimer").length && + t.append( + '' + ), + t.find(".tp-bannertimer").css({ width: "0%" }), + x.ul.css({ display: "block" }), + prepareSlides(t, x), + ("off" !== x.parallax.type || x.scrolleffect.on) && + _R.checkForParallax && + _R.checkForParallax(t, x), + _R.setSize(x), + "hero" !== x.sliderType && + _R.createNavigation && + _R.createNavigation(t, x), + _R.resizeThumbsTabs && _R.resizeThumbsTabs && _R.resizeThumbsTabs(x), + contWidthManager(x); + var g = x.viewPort; + (x.inviewport = !1), + g != undefined && + g.enable && + (jQuery.isNumeric(g.visible_area) || + (-1 !== g.visible_area.indexOf("%") && + (g.visible_area = parseInt(g.visible_area) / 100)), + _R.scrollTicker && _R.scrollTicker(x, t)), + "carousel" === x.sliderType && + _R.prepareCarousel && + (punchgs.TweenLite.set(x.ul, { opacity: 0 }), + _R.prepareCarousel(x, new punchgs.TimelineLite(), undefined, 0), + (x.onlyPreparedSlide = !0)), + setTimeout(function () { + if ( + !g.enable || + (g.enable && x.inviewport) || + (g.enable && !x.inviewport && "wait" == !g.outof) + ) + swapSlide(t); + else if ( + (x.c.addClass("tp-waitforfirststart"), + (x.waitForFirstSlide = !0), + g.presize) + ) { + var e = jQuery(x.li[0]); + loadImages(e, x, 0, !0), + waitForCurrentImages(e.find(".tp-layers"), x, function () { + _R.animateTheCaptions({ slide: e, opt: x, preset: !0 }); + }); + } + _R.manageNavigation && _R.manageNavigation(x), + 1 < x.slideamount && + (!g.enable || (g.enable && x.inviewport) + ? countDown(t, x) + : (x.waitForCountDown = !0)), + setTimeout(function () { + t.trigger("revolution.slide.onloaded"); + }, 100); + }, x.startDelay), + (x.startDelay = 0), + jQuery("body").data("rs-fullScreenMode", !1), + window.addEventListener("fullscreenchange", onFullScreenChange, { + passive: !0, + }), + window.addEventListener("mozfullscreenchange", onFullScreenChange, { + passive: !0, + }), + window.addEventListener( + "webkitfullscreenchange", + onFullScreenChange, + { passive: !0 } + ); + var v = "resize.revslider-" + t.attr("id"); + jQuery(window).on(v, function () { + if (t == undefined) return !1; + 0 != jQuery("body").find(t) && contWidthManager(x); + var e = !1; + if ("fullscreen" == x.sliderLayout) { + var i = jQuery(window).height(); + ("mobile" == x.fallbacks.ignoreHeightChanges && _ISM) || + "always" == x.fallbacks.ignoreHeightChanges + ? ((x.fallbacks.ignoreHeightChangesSize = + x.fallbacks.ignoreHeightChangesSize == undefined + ? 0 + : x.fallbacks.ignoreHeightChangesSize), + (e = + i != x.lastwindowheight && + Math.abs(i - x.lastwindowheight) > + x.fallbacks.ignoreHeightChangesSize)) + : (e = i != x.lastwindowheight); + } + (t.outerWidth(!0) != x.width || t.is(":hidden") || e) && + ((x.lastwindowheight = jQuery(window).height()), + containerResized(t, x)); + }), + hideSliderUnder(t, x), + contWidthManager(x), + x.fallbacks.disableFocusListener || + "true" == x.fallbacks.disableFocusListener || + !0 === x.fallbacks.disableFocusListener || + (t.addClass("rev_redraw_on_blurfocus"), tabBlurringCheck()); + } + }, + cArray = function (e, i) { + if (!jQuery.isArray(e)) { + var t = e; + (e = new Array()).push(t); + } + if (e.length < i) { + t = e[e.length - 1]; + for (var a = 0; a < i - e.length + 2; a++) e.push(t); + } + return e; + }, + checkHoverDependencies = function (e, n) { + var i = e.data(); + ("sliderenter" === i.start || + (i.frames !== undefined && + i.frames[0] != undefined && + "sliderenter" === i.frames[0].delay)) && + (n.layersonhover === undefined && + (n.c.on("tp-mouseenter", function () { + n.layersonhover && + jQuery.each(n.layersonhover, function (e, i) { + var t = + i.data("closestli") || i.closest(".tp-revslider-slidesli"), + a = i.data("staticli") || i.closest(".tp-static-layers"); + i.data("closestli") === undefined && + (i.data("closestli", t), i.data("staticli", a)), + ((0 < t.length && t.hasClass("active-revslide")) || + t.hasClass("processing-revslide") || + 0 < a.length) && + (i.data("animdirection", "in"), + _R.playAnimationFrame && + _R.playAnimationFrame({ + caption: i, + opt: n, + frame: "frame_0", + triggerdirection: "in", + triggerframein: "frame_0", + triggerframeout: "frame_999", + }), + i.data("triggerstate", "on")); + }); + }), + n.c.on("tp-mouseleft", function () { + n.layersonhover && + jQuery.each(n.layersonhover, function (e, i) { + i.data("animdirection", "out"), + i.data("triggered", !0), + i.data("triggerstate", "off"), + _R.stopVideo && _R.stopVideo(i, n), + _R.playAnimationFrame && + _R.playAnimationFrame({ + caption: i, + opt: n, + frame: "frame_999", + triggerdirection: "out", + triggerframein: "frame_0", + triggerframeout: "frame_999", + }); + }); + }), + (n.layersonhover = new Array())), + n.layersonhover.push(e)); + }, + contWidthManager = function (e) { + var i = _R.getHorizontalOffset(e.c, "left"); + if ( + "auto" == e.sliderLayout || + ("fullscreen" === e.sliderLayout && "on" == e.fullScreenAutoWidth) + ) + "fullscreen" == e.sliderLayout && "on" == e.fullScreenAutoWidth + ? punchgs.TweenLite.set(e.ul, { left: 0, width: e.c.width() }) + : punchgs.TweenLite.set(e.ul, { + left: i, + width: e.c.width() - _R.getHorizontalOffset(e.c, "both"), + }); + else { + var t = Math.ceil( + e.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left - i + ); + punchgs.TweenLite.set(e.c.parent(), { + left: 0 - t + "px", + width: jQuery(window).width() - _R.getHorizontalOffset(e.c, "both"), + }); + } + e.slayers && + "fullwidth" != e.sliderLayout && + "fullscreen" != e.sliderLayout && + punchgs.TweenLite.set(e.slayers, { left: i }); + }, + cv = function (e, i) { + return e === undefined ? i : e; + }, + hideSliderUnder = function (e, i, t) { + var a = e.parent(); + jQuery(window).width() < i.hideSliderAtLimit + ? (e.trigger("stoptimer"), + "none" != a.css("display") && a.data("olddisplay", a.css("display")), + a.css({ display: "none" })) + : e.is(":hidden") && + t && + (a.data("olddisplay") != undefined && + "undefined" != a.data("olddisplay") && + "none" != a.data("olddisplay") + ? a.css({ display: a.data("olddisplay") }) + : a.css({ display: "block" }), + e.trigger("restarttimer"), + setTimeout(function () { + containerResized(e, i); + }, 150)), + _R.hideUnHideNav && _R.hideUnHideNav(i); + }, + containerResized = function (e, i) { + if ( + (e.trigger("revolution.slide.beforeredraw"), + 1 == i.infullscreenmode && (i.minHeight = jQuery(window).height()), + setCurWinRange(i), + setCurWinRange(i, !0), + !_R.resizeThumbsTabs || !0 === _R.resizeThumbsTabs(i)) + ) { + if ( + (hideSliderUnder(e, i, !0), + contWidthManager(i), + "carousel" == i.sliderType && _R.prepareCarousel(i, !0), + e === undefined) + ) + return !1; + _R.setSize(i), + (i.conw = i.c.width()), + (i.conh = i.infullscreenmode ? i.minHeight : i.c.height()); + var t = e.find(".active-revslide .slotholder"), + a = e.find(".processing-revslide .slotholder"); + removeSlots(e, i, e, 2), + "standard" === i.sliderType && + (punchgs.TweenLite.set(a.find(".defaultimg"), { opacity: 0 }), + t.find(".defaultimg").css({ opacity: 1 })), + "carousel" === i.sliderType && + i.lastconw != i.conw && + (clearTimeout(i.pcartimer), + (i.pcartimer = setTimeout(function () { + _R.prepareCarousel(i, !0), + "carousel" == i.sliderType && + "on" === i.carousel.showLayersAllTime && + jQuery.each(i.li, function (e) { + _R.animateTheCaptions({ + slide: jQuery(i.li[e]), + opt: i, + recall: !0, + }); + }); + }, 100)), + (i.lastconw = i.conw)), + _R.manageNavigation && _R.manageNavigation(i), + _R.animateTheCaptions && + 0 < e.find(".active-revslide").length && + _R.animateTheCaptions({ + slide: e.find(".active-revslide"), + opt: i, + recall: !0, + }), + "on" == a.data("kenburns") && + _R.startKenBurn( + a, + i, + a.data("kbtl") !== undefined ? a.data("kbtl").progress() : 0 + ), + "on" == t.data("kenburns") && + _R.startKenBurn( + t, + i, + t.data("kbtl") !== undefined ? t.data("kbtl").progress() : 0 + ), + _R.animateTheCaptions && + 0 < e.find(".processing-revslide").length && + _R.animateTheCaptions({ + slide: e.find(".processing-revslide"), + opt: i, + recall: !0, + }), + _R.manageNavigation && _R.manageNavigation(i); + } + e.trigger("revolution.slide.afterdraw"); + }, + setScale = function (e) { + (e.bw = e.width / e.gridwidth[e.curWinRange]), + (e.bh = e.height / e.gridheight[e.curWinRange]), + e.bh > e.bw ? (e.bh = e.bw) : (e.bw = e.bh), + (1 < e.bh || 1 < e.bw) && ((e.bw = 1), (e.bh = 1)); + }, + prepareSlides = function (e, u) { + if ( + (e.find(".tp-caption").each(function () { + var e = jQuery(this); + e.data("transition") !== undefined && + e.addClass(e.data("transition")); + }), + u.ul.css({ + overflow: "hidden", + width: "100%", + height: "100%", + maxHeight: e.parent().css("maxHeight"), + }), + "on" == u.autoHeight && + (u.ul.css({ + overflow: "hidden", + width: "100%", + height: "100%", + maxHeight: "none", + }), + e.css({ maxHeight: "none" }), + e.parent().css({ maxHeight: "none" })), + u.allli.each(function (e) { + var i = jQuery(this), + t = i.data("originalindex"); + ((u.startWithSlide != undefined && t == u.startWithSlide) || + (u.startWithSlide === undefined && 0 == e)) && + i.addClass("next-revslide"), + i.css({ width: "100%", height: "100%", overflow: "hidden" }); + }), + "carousel" === u.sliderType) + ) { + u.ul + .css({ overflow: "visible" }) + .wrap( + '' + ); + var i = + '
'; + u.c.parent().prepend(i), u.c.parent().append(i), _R.prepareCarousel(u); + } + e.parent().css({ overflow: "visible" }), + u.allli.find(">img").each(function (e) { + var i = jQuery(this), + t = i.closest("li"), + a = t.find(".rs-background-video-layer"); + a.addClass("defaultvid").css({ zIndex: 30 }), + i.addClass("defaultimg"), + "on" == u.fallbacks.panZoomDisableOnMobile && + _ISM && + (i.data("kenburns", "off"), i.data("bgfit", "cover")); + var n = t.data("mediafilter"); + (n = "none" === n || n === undefined ? "" : n), + i.wrap( + '
' + ), + a.appendTo(t.find(".slotholder")); + var r = i.data(); + i.closest(".slotholder").data(r), + 0 < a.length && + r.bgparallax != undefined && + (a.data("bgparallax", r.bgparallax), + a.data("showcoveronpause", "on")), + "none" != u.dottedOverlay && + u.dottedOverlay != undefined && + i + .closest(".slotholder") + .append( + '
' + ); + var o = i.attr("src"); + (r.src = o), + (r.bgfit = r.bgfit || "cover"), + (r.bgrepeat = r.bgrepeat || "no-repeat"), + (r.bgposition = r.bgposition || "center center"); + i.closest(".slotholder"); + var s = i.data("bgcolor"), + l = ""; + (l = + s !== undefined && 0 <= s.indexOf("gradient") + ? '"background:' + s + ';width:100%;height:100%;"' + : '"background-color:' + + s + + ";background-repeat:" + + r.bgrepeat + + ";background-image:url(" + + o + + ");background-size:" + + r.bgfit + + ";background-position:" + + r.bgposition + + ';width:100%;height:100%;"'), + i.data("mediafilter", n), + (n = "on" === i.data("kenburns") ? "" : n); + var d = jQuery( + '
' + ); + }), + (u.allslotholder = u.c.find(".slotholder_fadeoutwrap"))); + }, + removeSlots = function (e, i, t, a) { + (i.removePrepare = i.removePrepare + a), + t.find(".slot, .slot-circle-wrapper").each(function () { + jQuery(this).remove(); + }), + (i.transition = 0), + (i.removePrepare = 0); + }, + cutParams = function (e) { + var i = e; + return e != undefined && 0 < e.length && (i = e.split("?")[0]), i; + }, + relativeRedir = function (e) { + return location.pathname.replace(/(.*)\/[^/]*/, "$1/" + e); + }, + abstorel = function (e, i) { + var t = e.split("/"), + a = i.split("/"); + t.pop(); + for (var n = 0; n < a.length; n++) + "." != a[n] && (".." == a[n] ? t.pop() : t.push(a[n])); + return t.join("/"); + }, + imgLoaded = function (l, e, d) { + e.syncload--, + e.loadqueue && + jQuery.each(e.loadqueue, function (e, i) { + var t = i.src.replace(/\.\.\/\.\.\//gi, ""), + a = self.location.href, + n = document.location.origin, + r = a.substring(0, a.length - 1) + "/" + t, + o = n + "/" + t, + s = abstorel(self.location.href, i.src); + (a = a.substring(0, a.length - 1) + t), + (cutParams((n += t)) === cutParams(decodeURIComponent(l.src)) || + cutParams(a) === cutParams(decodeURIComponent(l.src)) || + cutParams(s) === cutParams(decodeURIComponent(l.src)) || + cutParams(o) === cutParams(decodeURIComponent(l.src)) || + cutParams(r) === cutParams(decodeURIComponent(l.src)) || + cutParams(i.src) === cutParams(decodeURIComponent(l.src)) || + cutParams(i.src).replace(/^.*\/\/[^\/]+/, "") === + cutParams(decodeURIComponent(l.src)).replace( + /^.*\/\/[^\/]+/, + "" + ) || + ("file://" === window.location.origin && + cutParams(l.src).match(new RegExp(t)))) && + ((i.progress = d), (i.width = l.width), (i.height = l.height)); + }), + progressImageLoad(e); + }, + progressImageLoad = function (a) { + 3 != a.syncload && + a.loadqueue && + jQuery.each(a.loadqueue, function (e, i) { + if (i.progress.match(/prepared/g) && a.syncload <= 3) { + if ((a.syncload++, "img" == i.type)) { + var t = new Image(); + (t.onload = function () { + imgLoaded(this, a, "loaded"), (i.error = !1); + }), + (t.onerror = function () { + imgLoaded(this, a, "failed"), (i.error = !0); + }), + (t.src = i.src); + } else + jQuery + .get(i.src, function (e) { + (i.innerHTML = new XMLSerializer().serializeToString( + e.documentElement + )), + (i.progress = "loaded"), + a.syncload--, + progressImageLoad(a); + }) + .fail(function () { + (i.progress = "failed"), a.syncload--, progressImageLoad(a); + }); + i.progress = "inload"; + } + }); + }, + addToLoadQueue = function (t, e, i, a, n) { + var r = !1; + if ( + (e.loadqueue && + jQuery.each(e.loadqueue, function (e, i) { + i.src === t && (r = !0); + }), + !r) + ) { + var o = new Object(); + (o.src = t), + (o.starttoload = jQuery.now()), + (o.type = a || "img"), + (o.prio = i), + (o.progress = "prepared"), + (o.static = n), + e.loadqueue.push(o); + } + }, + loadImages = function (e, a, n, r) { + e.find("img,.defaultimg, .tp-svg-layer").each(function () { + var e = jQuery(this), + i = + e.data("lazyload") !== undefined && + "undefined" !== e.data("lazyload") + ? e.data("lazyload") + : e.data("svg_src") != undefined + ? e.data("svg_src") + : e.attr("src"), + t = e.data("svg_src") != undefined ? "svg" : "img"; + e.data("start-to-load", jQuery.now()), addToLoadQueue(i, a, n, t, r); + }), + progressImageLoad(a); + }, + getLoadObj = function (e, t) { + var a = new Object(); + return ( + e.loadqueue && + jQuery.each(e.loadqueue, function (e, i) { + i.src == t && (a = i); + }), + a + ); + }, + waitForCurrentImages = function (o, s, e) { + var l = !1; + o.find("img,.defaultimg, .tp-svg-layer").each(function () { + var e = jQuery(this), + i = + e.data("lazyload") != undefined + ? e.data("lazyload") + : e.data("svg_src") != undefined + ? e.data("svg_src") + : e.attr("src"), + t = getLoadObj(s, i); + if ( + e.data("loaded") === undefined && + t !== undefined && + t.progress && + t.progress.match(/loaded/g) + ) { + if ((e.attr("src", t.src), "img" == t.type)) + if (e.hasClass("defaultimg")) + _R.isIE(8) + ? defimg.attr("src", t.src) + : (-1 == t.src.indexOf("images/transparent.png") && + -1 == t.src.indexOf("assets/transparent.png")) || + e.data("bgcolor") === undefined + ? e.css({ backgroundImage: 'url("' + t.src + '")' }) + : e.data("bgcolor") !== undefined && + e.css({ background: e.data("bgcolor") }), + o.data("owidth", t.width), + o.data("oheight", t.height), + o.find(".slotholder").data("owidth", t.width), + o.find(".slotholder").data("oheight", t.height); + else { + var a = e.data("ww"), + n = e.data("hh"); + e.data("owidth", t.width), + e.data("oheight", t.height), + (a = a == undefined || "auto" == a || "" == a ? t.width : a), + (n = n == undefined || "auto" == n || "" == n ? t.height : n), + !jQuery.isNumeric(a) && 0 < a.indexOf("%") && (n = a), + e.data("ww", a), + e.data("hh", n); + } + else + "svg" == t.type && + "loaded" == t.progress && + (e.append('
'), + e.find(".tp-svg-innercontainer").append(t.innerHTML)); + e.data("loaded", !0); + } + if ( + (t && + t.progress && + t.progress.match(/inprogress|inload|prepared/g) && + (!t.error && jQuery.now() - e.data("start-to-load") < 5e3 + ? (l = !0) + : ((t.progress = "failed"), + t.reported_img || + ((t.reported_img = !0), + console.warn(i + " Could not be loaded !")))), + 1 == s.youtubeapineeded && + (!window.YT || YT.Player == undefined) && + ((l = !0), + 5e3 < jQuery.now() - s.youtubestarttime && 1 != s.youtubewarning)) + ) { + s.youtubewarning = !0; + var r = "YouTube Api Could not be loaded !"; + "https:" === location.protocol && + (r += " Please Check and Renew SSL Certificate !"), + console.error(r), + s.c.append( + '
' + + r + + "
" + ); + } + if ( + 1 == s.vimeoapineeded && + !window.Vimeo && + ((l = !0), + 5e3 < jQuery.now() - s.vimeostarttime && 1 != s.vimeowarning) + ) { + s.vimeowarning = !0; + r = "Vimeo Api Could not be loaded !"; + "https:" === location.protocol && + (r += " Please Check and Renew SSL Certificate !"), + console.error(r), + s.c.append( + '
' + + r + + "
" + ); + } + }), + !_ISM && + s.audioqueue && + 0 < s.audioqueue.length && + jQuery.each(s.audioqueue, function (e, i) { + i.status && + "prepared" === i.status && + jQuery.now() - i.start < i.waittime && + (l = !0); + }), + jQuery.each(s.loadqueue, function (e, i) { + !0 !== i.static || + ("loaded" == i.progress && "failed" !== i.progress) || + ("failed" == i.progress + ? i.reported || + ((i.reported = !0), + console.warn( + "Static Image " + + i.src + + " Could not be loaded in time. Error Exists:" + + i.error + )) + : !i.error && jQuery.now() - i.starttoload < 5e3 + ? (l = !0) + : i.reported || + ((i.reported = !0), + console.warn( + "Static Image " + + i.src + + " Could not be loaded within 5s! Error Exists:" + + i.error + ))); + }), + l + ? punchgs.TweenLite.delayedCall(0.18, waitForCurrentImages, [o, s, e]) + : punchgs.TweenLite.delayedCall(0.18, e); + }, + swapSlide = function (e) { + var i = e[0].opt; + if ( + (clearTimeout(i.waitWithSwapSlide), + 0 < e.find(".processing-revslide").length) + ) + return ( + (i.waitWithSwapSlide = setTimeout(function () { + swapSlide(e); + }, 150)), + !1 + ); + var t = e.find(".active-revslide"), + a = e.find(".next-revslide"), + n = a.find(".defaultimg"); + if ( + ("carousel" !== i.sliderType || + i.carousel.fadein || + (punchgs.TweenLite.to(i.ul, 1, { opacity: 1 }), + (i.carousel.fadein = !0)), + a.index() === t.index() && !0 !== i.onlyPreparedSlide) + ) + return a.removeClass("next-revslide"), !1; + !0 === i.onlyPreparedSlide && + ((i.onlyPreparedSlide = !1), + jQuery(i.li[0]).addClass("processing-revslide")), + a.removeClass("next-revslide").addClass("processing-revslide"), + -1 === a.index() && + "carousel" === i.sliderType && + (a = jQuery(i.li[0])), + a.data( + "slide_on_focus_amount", + a.data("slide_on_focus_amount") + 1 || 1 + ), + "on" == i.stopLoop && + a.index() == i.lastslidetoshow - 1 && + (e.find(".tp-bannertimer").css({ visibility: "hidden" }), + e.trigger("revolution.slide.onstop"), + (i.noloopanymore = 1)), + a.index() === i.slideamount - 1 && + ((i.looptogo = i.looptogo - 1), + i.looptogo <= 0 && (i.stopLoop = "on")), + (i.tonpause = !0), + e.trigger("stoptimer"), + (i.cd = 0), + "off" === i.spinner && + (i.loader !== undefined + ? i.loader.css({ display: "none" }) + : (i.loadertimer = setTimeout(function () { + i.loader !== undefined && i.loader.css({ display: "block" }); + }, 50))), + loadImages(a, i, 1), + _R.preLoadAudio && _R.preLoadAudio(a, i, 1), + waitForCurrentImages(a, i, function () { + a.find(".rs-background-video-layer").each(function () { + var e = jQuery(this); + e.hasClass("HasListener") || + (e.data("bgvideo", 1), + _R.manageVideoLayer && _R.manageVideoLayer(e, i)), + 0 == e.find(".rs-fullvideo-cover").length && + e.append('
'); + }), + swapSlideProgress(n, e); + }); + }, + swapSlideProgress = function (e, i) { + var t = i.find(".active-revslide"), + a = i.find(".processing-revslide"), + n = t.find(".slotholder"), + r = a.find(".slotholder"), + o = i[0].opt; + (o.tonpause = !1), + (o.cd = 0), + clearTimeout(o.loadertimer), + o.loader !== undefined && o.loader.css({ display: "none" }), + _R.setSize(o), + _R.slotSize(e, o), + _R.manageNavigation && _R.manageNavigation(o); + var s = {}; + (s.nextslide = a), + (s.currentslide = t), + i.trigger("revolution.slide.onbeforeswap", s), + (o.transition = 1), + (o.videoplaying = !1), + a.data("delay") != undefined + ? ((o.cd = 0), (o.delay = a.data("delay"))) + : (o.delay = o.origcd), + "true" == a.data("ssop") || !0 === a.data("ssop") + ? (o.ssop = !0) + : (o.ssop = !1), + i.trigger("nulltimer"); + var l = t.index(), + d = a.index(); + (o.sdir = d < l ? 1 : 0), + "arrow" == o.sc_indicator && + (0 == l && d == o.slideamount - 1 && (o.sdir = 1), + l == o.slideamount - 1 && 0 == d && (o.sdir = 0)), + (o.lsdir = o.lsdir === undefined ? o.sdir : o.lsdir), + (o.dirc = o.lsdir != o.sdir), + (o.lsdir = o.sdir), + t.index() != a.index() && + 1 != o.firststart && + _R.removeTheCaptions && + _R.removeTheCaptions(t, o), + a.hasClass("rs-pause-timer-once") || a.hasClass("rs-pause-timer-always") + ? (o.videoplaying = !0) + : i.trigger("restarttimer"), + a.removeClass("rs-pause-timer-once"); + var c; + if ( + ((o.currentSlide = t.index()), + (o.nextSlide = a.index()), + "carousel" == o.sliderType) + ) + (c = new punchgs.TimelineLite()), + _R.prepareCarousel(o, c), + letItFree(i, r, n, a, t, c), + (o.transition = 0), + (o.firststart = 0); + else { + (c = new punchgs.TimelineLite({ + onComplete: function () { + letItFree(i, r, n, a, t, c); + }, + })).add(punchgs.TweenLite.set(r.find(".defaultimg"), { opacity: 0 })), + c.pause(), + _R.animateTheCaptions && + _R.animateTheCaptions({ slide: a, opt: o, preset: !0 }), + 1 == o.firststart && + (punchgs.TweenLite.set(t, { autoAlpha: 0 }), (o.firststart = 0)), + punchgs.TweenLite.set(t, { zIndex: 18 }), + punchgs.TweenLite.set(a, { autoAlpha: 0, zIndex: 20 }), + "prepared" == a.data("differentissplayed") && + (a.data("differentissplayed", "done"), + a.data("transition", a.data("savedtransition")), + a.data("slotamount", a.data("savedslotamount")), + a.data("masterspeed", a.data("savedmasterspeed"))), + a.data("fstransition") != undefined && + "done" != a.data("differentissplayed") && + (a.data("savedtransition", a.data("transition")), + a.data("savedslotamount", a.data("slotamount")), + a.data("savedmasterspeed", a.data("masterspeed")), + a.data("transition", a.data("fstransition")), + a.data("slotamount", a.data("fsslotamount")), + a.data("masterspeed", a.data("fsmasterspeed")), + a.data("differentissplayed", "prepared")), + a.data("transition") == undefined && a.data("transition", "random"), + 0; + var u = + a.data("transition") !== undefined + ? a.data("transition").split(",") + : "fade", + p = a.data("nexttransid") == undefined ? -1 : a.data("nexttransid"); + "on" == a.data("randomtransition") + ? (p = Math.round(Math.random() * u.length)) + : (p += 1), + p == u.length && (p = 0), + a.data("nexttransid", p); + var f = u[p]; + o.ie && + ("boxfade" == f && (f = "boxslide"), + "slotfade-vertical" == f && (f = "slotzoom-vertical"), + "slotfade-horizontal" == f && (f = "slotzoom-horizontal")), + _R.isIE(8) && (f = 11), + (c = _R.animateSlide(0, f, i, a, t, r, n, c)), + "on" == r.data("kenburns") && + (_R.startKenBurn(r, o), + c.add(punchgs.TweenLite.set(r, { autoAlpha: 0 }))), + c.pause(); + } + _R.scrollHandling && + (_R.scrollHandling(o, !0, 0), + c.eventCallback("onUpdate", function () { + _R.scrollHandling(o, !0, 0); + })), + "off" != o.parallax.type && + o.parallax.firstgo == undefined && + _R.scrollHandling && + ((o.parallax.firstgo = !0), + (o.lastscrolltop = -999), + _R.scrollHandling(o, !0, 0), + setTimeout(function () { + (o.lastscrolltop = -999), _R.scrollHandling(o, !0, 0); + }, 210), + setTimeout(function () { + (o.lastscrolltop = -999), _R.scrollHandling(o, !0, 0); + }, 420)), + _R.animateTheCaptions + ? "carousel" === o.sliderType && "on" === o.carousel.showLayersAllTime + ? (jQuery.each(o.li, function (e) { + o.carousel.allLayersStarted + ? _R.animateTheCaptions({ + slide: jQuery(o.li[e]), + opt: o, + recall: !0, + }) + : o.li[e] === a + ? _R.animateTheCaptions({ + slide: jQuery(o.li[e]), + maintimeline: c, + opt: o, + startslideanimat: 0, + }) + : _R.animateTheCaptions({ + slide: jQuery(o.li[e]), + opt: o, + startslideanimat: 0, + }); + }), + (o.carousel.allLayersStarted = !0)) + : _R.animateTheCaptions({ + slide: a, + opt: o, + maintimeline: c, + startslideanimat: 0, + }) + : c != undefined && + setTimeout(function () { + c.resume(); + }, 30), + punchgs.TweenLite.to(a, 0.001, { autoAlpha: 1 }); + }, + letItFree = function (e, i, t, a, n, r) { + var o = e[0].opt; + "carousel" === o.sliderType || + ((o.removePrepare = 0), + punchgs.TweenLite.to(i.find(".defaultimg"), 0.001, { + zIndex: 20, + autoAlpha: 1, + onComplete: function () { + removeSlots(e, o, a, 1); + }, + }), + a.index() != n.index() && + punchgs.TweenLite.to(n, 0.2, { + zIndex: 18, + autoAlpha: 0, + onComplete: function () { + removeSlots(e, o, n, 1); + }, + })), + e.find(".active-revslide").removeClass("active-revslide"), + e + .find(".processing-revslide") + .removeClass("processing-revslide") + .addClass("active-revslide"), + (o.act = a.index()), + o.c.attr("data-slideactive", e.find(".active-revslide").data("index")), + ("scroll" != o.parallax.type && + "scroll+mouse" != o.parallax.type && + "mouse+scroll" != o.parallax.type) || + ((o.lastscrolltop = -999), _R.scrollHandling(o)), + r.clear(), + t.data("kbtl") != undefined && + (t.data("kbtl").reverse(), t.data("kbtl").timeScale(25)), + "on" == i.data("kenburns") && + (i.data("kbtl") != undefined + ? (i.data("kbtl").timeScale(1), i.data("kbtl").play()) + : _R.startKenBurn(i, o)), + a.find(".rs-background-video-layer").each(function (e) { + if (_ISM && !o.fallbacks.allowHTML5AutoPlayOnAndroid) return !1; + var i = jQuery(this); + _R.resetVideo(i, o, !1, !0), + punchgs.TweenLite.fromTo( + i, + 1, + { autoAlpha: 0 }, + { + autoAlpha: 1, + ease: punchgs.Power3.easeInOut, + delay: 0.2, + onComplete: function () { + _R.animcompleted && _R.animcompleted(i, o); + }, + } + ); + }), + n.find(".rs-background-video-layer").each(function (e) { + if (_ISM) return !1; + var i = jQuery(this); + _R.stopVideo && (_R.resetVideo(i, o), _R.stopVideo(i, o)), + punchgs.TweenLite.to(i, 1, { + autoAlpha: 0, + ease: punchgs.Power3.easeInOut, + delay: 0.2, + }); + }); + var s = {}; + if ( + ((s.slideIndex = a.index() + 1), + (s.slideLIIndex = a.index()), + (s.slide = a), + (s.currentslide = a), + (s.prevslide = n), + (o.last_shown_slide = n.index()), + e.trigger("revolution.slide.onchange", s), + e.trigger("revolution.slide.onafterswap", s), + o.startWithSlide !== undefined && + "done" !== o.startWithSlide && + "carousel" === o.sliderType) + ) { + for (var l = o.startWithSlide, d = 0; d <= o.li.length - 1; d++) { + jQuery(o.li[d]).data("originalindex") === o.startWithSlide && (l = d); + } + 0 !== l && _R.callingNewSlide(o.c, l), (o.startWithSlide = "done"); + } + o.duringslidechange = !1; + var c = n.data("slide_on_focus_amount"), + u = n.data("hideafterloop"); + 0 != u && u <= c && o.c.revremoveslide(n.index()); + var p = -1 === o.nextSlide || o.nextSlide === undefined ? 0 : o.nextSlide; + o.rowzones != undefined && + (p = p > o.rowzones.length ? o.rowzones.length : p), + o.rowzones != undefined && + 0 < o.rowzones.length && + o.rowzones[p] != undefined && + 0 <= p && + p <= o.rowzones.length && + 0 < o.rowzones[p].length && + _R.setSize(o); + }, + removeAllListeners = function (e, i) { + e.children().each(function () { + try { + jQuery(this).die("click"); + } catch (e) {} + try { + jQuery(this).die("mouseenter"); + } catch (e) {} + try { + jQuery(this).die("mouseleave"); + } catch (e) {} + try { + jQuery(this).unbind("hover"); + } catch (e) {} + }); + try { + e.die("click", "mouseenter", "mouseleave"); + } catch (e) {} + clearInterval(i.cdint), (e = null); + }, + countDown = function (e, i) { + (i.cd = 0), + (i.loop = 0), + i.stopAfterLoops != undefined && -1 < i.stopAfterLoops + ? (i.looptogo = i.stopAfterLoops) + : (i.looptogo = 9999999), + i.stopAtSlide != undefined && -1 < i.stopAtSlide + ? (i.lastslidetoshow = i.stopAtSlide) + : (i.lastslidetoshow = 999), + (i.stopLoop = "off"), + 0 == i.looptogo && (i.stopLoop = "on"); + var t = e.find(".tp-bannertimer"); + e.on("stoptimer", function () { + var e = jQuery(this).find(".tp-bannertimer"); + e[0].tween.pause(), + "on" == i.disableProgressBar && e.css({ visibility: "hidden" }), + (i.sliderstatus = "paused"), + _R.unToggleState(i.slidertoggledby); + }), + e.on("starttimer", function () { + i.forcepause_viatoggle || + (1 != i.conthover && + 1 != i.videoplaying && + i.width > i.hideSliderAtLimit && + 1 != i.tonpause && + 1 != i.overnav && + 1 != i.ssop && + (1 === i.noloopanymore || + (i.viewPort.enable && !i.inviewport) || + (t.css({ visibility: "visible" }), + t[0].tween.resume(), + (i.sliderstatus = "playing"))), + "on" == i.disableProgressBar && t.css({ visibility: "hidden" }), + _R.toggleState(i.slidertoggledby)); + }), + e.on("restarttimer", function () { + if (!i.forcepause_viatoggle) { + var e = jQuery(this).find(".tp-bannertimer"); + if (i.mouseoncontainer && "on" == i.navigation.onHoverStop && !_ISM) + return !1; + 1 === i.noloopanymore || + (i.viewPort.enable && !i.inviewport) || + 1 == i.ssop || + (e.css({ visibility: "visible" }), + e[0].tween.kill(), + (e[0].tween = punchgs.TweenLite.fromTo( + e, + i.delay / 1e3, + { width: "0%" }, + { + force3D: "auto", + width: "100%", + ease: punchgs.Linear.easeNone, + onComplete: a, + delay: 1, + } + )), + (i.sliderstatus = "playing")), + "on" == i.disableProgressBar && e.css({ visibility: "hidden" }), + _R.toggleState(i.slidertoggledby); + } + }), + e.on("nulltimer", function () { + t[0].tween.kill(), + (t[0].tween = punchgs.TweenLite.fromTo( + t, + i.delay / 1e3, + { width: "0%" }, + { + force3D: "auto", + width: "100%", + ease: punchgs.Linear.easeNone, + onComplete: a, + delay: 1, + } + )), + t[0].tween.pause(0), + "on" == i.disableProgressBar && t.css({ visibility: "hidden" }), + (i.sliderstatus = "paused"); + }); + var a = function () { + 0 == jQuery("body").find(e).length && + (removeAllListeners(e, i), clearInterval(i.cdint)), + e.trigger("revolution.slide.slideatend"), + 1 == e.data("conthover-changed") && + ((i.conthover = e.data("conthover")), + e.data("conthover-changed", 0)), + _R.callingNewSlide(e, 1); + }; + (t[0].tween = punchgs.TweenLite.fromTo( + t, + i.delay / 1e3, + { width: "0%" }, + { + force3D: "auto", + width: "100%", + ease: punchgs.Linear.easeNone, + onComplete: a, + delay: 1, + } + )), + 1 < i.slideamount && (0 != i.stopAfterLoops || 1 != i.stopAtSlide) + ? e.trigger("starttimer") + : ((i.noloopanymore = 1), e.trigger("nulltimer")), + e.on("tp-mouseenter", function () { + (i.mouseoncontainer = !0), + "on" != i.navigation.onHoverStop || + _ISM || + (e.trigger("stoptimer"), e.trigger("revolution.slide.onpause")); + }), + e.on("tp-mouseleft", function () { + (i.mouseoncontainer = !1), + 1 != e.data("conthover") && + "on" == i.navigation.onHoverStop && + ((1 == i.viewPort.enable && i.inviewport) || + 0 == i.viewPort.enable) && + (e.trigger("revolution.slide.onresume"), e.trigger("starttimer")); + }); + }, + vis = (function () { + var i, + t, + e = { + hidden: "visibilitychange", + webkitHidden: "webkitvisibilitychange", + mozHidden: "mozvisibilitychange", + msHidden: "msvisibilitychange", + }; + for (i in e) + if (i in document) { + t = e[i]; + break; + } + return function (e) { + return ( + e && document.addEventListener(t, e, { pasive: !0 }), !document[i] + ); + }; + })(), + restartOnFocus = function () { + jQuery(".rev_redraw_on_blurfocus").each(function () { + var e = jQuery(this)[0].opt; + if (e == undefined || e.c == undefined || 0 === e.c.length) return !1; + 1 != e.windowfocused && + ((e.windowfocused = !0), + punchgs.TweenLite.delayedCall(0.3, function () { + "on" == e.fallbacks.nextSlideOnWindowFocus && e.c.revnext(), + e.c.revredraw(), + "playing" == e.lastsliderstatus && e.c.revresume(); + })); + }); + }, + lastStatBlur = function () { + jQuery(".rev_redraw_on_blurfocus").each(function () { + var e = jQuery(this)[0].opt; + (e.windowfocused = !1), + (e.lastsliderstatus = e.sliderstatus), + e.c.revpause(); + var i = e.c.find(".active-revslide .slotholder"), + t = e.c.find(".processing-revslide .slotholder"); + "on" == t.data("kenburns") && _R.stopKenBurn(t, e), + "on" == i.data("kenburns") && _R.stopKenBurn(i, e); + }); + }, + tabBlurringCheck = function () { + var e = document.documentMode === undefined, + i = window.chrome; + 1 !== jQuery("body").data("revslider_focus_blur_listener") && + (jQuery("body").data("revslider_focus_blur_listener", 1), + e && !i + ? jQuery(window) + .on("focusin", function () { + restartOnFocus(); + }) + .on("focusout", function () { + lastStatBlur(); + }) + : window.addEventListener + ? (window.addEventListener( + "focus", + function (e) { + restartOnFocus(); + }, + { capture: !1, passive: !0 } + ), + window.addEventListener( + "blur", + function (e) { + lastStatBlur(); + }, + { capture: !1, passive: !0 } + )) + : (window.attachEvent("focus", function (e) { + restartOnFocus(); + }), + window.attachEvent("blur", function (e) { + lastStatBlur(); + }))); + }, + getUrlVars = function (e) { + for ( + var i, + t = [], + a = window.location.href + .slice(window.location.href.indexOf(e) + 1) + .split("_"), + n = 0; + n < a.length; + n++ + ) + (a[n] = a[n].replace("%3D", "=")), + (i = a[n].split("=")), + t.push(i[0]), + (t[i[0]] = i[1]); + return t; + }; +})(jQuery); diff --git a/public/assets/assetLanding/revslider/js/jquery.themepunch.tools.min.js b/public/assets/assetLanding/revslider/js/jquery.themepunch.tools.min.js new file mode 100644 index 0000000..b67b2f1 --- /dev/null +++ b/public/assets/assetLanding/revslider/js/jquery.themepunch.tools.min.js @@ -0,0 +1,6936 @@ +/******************************************** + - THEMEPUNCH TOOLS Ver. 1.0 - + Last Update of Tools 08.03.2018 +*********************************************/ + +/* + * @fileOverview TouchSwipe - jQuery Plugin + * @version 1.6.9 + * + * @author Matt Bryson http://www.github.com/mattbryson + * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin + * @see http://labs.skinkers.com/touchSwipe/ + * @see http://plugins.jquery.com/project/touchSwipe + * + * Copyright (c) 2010 Matt Bryson + * Dual licensed under the MIT or GPL Version 2 licenses. + * + */ + +(function (a) { + if (typeof define === "function" && define.amd && define.amd.jQuery) { + define(["jquery"], a); + } else { + a(jQuery); + } +})(function (f) { + var y = "1.6.9", + p = "left", + o = "right", + e = "up", + x = "down", + c = "in", + A = "out", + m = "none", + s = "auto", + l = "swipe", + t = "pinch", + B = "tap", + j = "doubletap", + b = "longtap", + z = "hold", + E = "horizontal", + u = "vertical", + i = "all", + r = 10, + g = "start", + k = "move", + h = "end", + q = "cancel", + a = "ontouchstart" in window, + v = window.navigator.msPointerEnabled && !window.navigator.pointerEnabled, + d = window.navigator.pointerEnabled || window.navigator.msPointerEnabled, + C = "TouchSwipe"; + var n = { + fingers: 1, + threshold: 75, + cancelThreshold: null, + pinchThreshold: 20, + maxTimeThreshold: null, + fingerReleaseThreshold: 250, + longTapThreshold: 500, + doubleTapThreshold: 200, + swipe: null, + swipeLeft: null, + swipeRight: null, + swipeUp: null, + swipeDown: null, + swipeStatus: null, + pinchIn: null, + pinchOut: null, + pinchStatus: null, + click: null, + tap: null, + doubleTap: null, + longTap: null, + hold: null, + triggerOnTouchEnd: true, + triggerOnTouchLeave: false, + allowPageScroll: "auto", + fallbackToMouseEvents: true, + excludedElements: "label, button, input, select, textarea, a, .noSwipe", + preventDefaultEvents: true, + }; + f.fn.swipetp = function (H) { + var G = f(this), + F = G.data(C); + if (F && typeof H === "string") { + if (F[H]) { + return F[H].apply(this, Array.prototype.slice.call(arguments, 1)); + } else { + f.error("Method " + H + " does not exist on jQuery.swipetp"); + } + } else { + if (!F && (typeof H === "object" || !H)) { + return w.apply(this, arguments); + } + } + return G; + }; + f.fn.swipetp.version = y; + f.fn.swipetp.defaults = n; + f.fn.swipetp.phases = { + PHASE_START: g, + PHASE_MOVE: k, + PHASE_END: h, + PHASE_CANCEL: q, + }; + f.fn.swipetp.directions = { + LEFT: p, + RIGHT: o, + UP: e, + DOWN: x, + IN: c, + OUT: A, + }; + f.fn.swipetp.pageScroll = { NONE: m, HORIZONTAL: E, VERTICAL: u, AUTO: s }; + f.fn.swipetp.fingers = { ONE: 1, TWO: 2, THREE: 3, ALL: i }; + function w(F) { + if ( + F && + F.allowPageScroll === undefined && + (F.swipe !== undefined || F.swipeStatus !== undefined) + ) { + F.allowPageScroll = m; + } + if (F.click !== undefined && F.tap === undefined) { + F.tap = F.click; + } + if (!F) { + F = {}; + } + F = f.extend({}, f.fn.swipetp.defaults, F); + return this.each(function () { + var H = f(this); + var G = H.data(C); + if (!G) { + G = new D(this, F); + H.data(C, G); + } + }); + } + function D(a5, aw) { + var aA = a || d || !aw.fallbackToMouseEvents, + K = aA + ? d + ? v + ? "MSPointerDown" + : "pointerdown" + : "touchstart" + : "mousedown", + az = aA + ? d + ? v + ? "MSPointerMove" + : "pointermove" + : "touchmove" + : "mousemove", + V = aA ? (d ? (v ? "MSPointerUp" : "pointerup") : "touchend") : "mouseup", + T = aA ? null : "mouseleave", + aE = d ? (v ? "MSPointerCancel" : "pointercancel") : "touchcancel"; + var ah = 0, + aQ = null, + ac = 0, + a2 = 0, + a0 = 0, + H = 1, + ar = 0, + aK = 0, + N = null; + var aS = f(a5); + var aa = "start"; + var X = 0; + var aR = null; + var U = 0, + a3 = 0, + a6 = 0, + ae = 0, + O = 0; + var aX = null, + ag = null; + try { + aS.bind(K, aO); + aS.bind(aE, ba); + } catch (al) { + f.error("events not supported " + K + "," + aE + " on jQuery.swipetp"); + } + this.enable = function () { + aS.bind(K, aO); + aS.bind(aE, ba); + return aS; + }; + this.disable = function () { + aL(); + return aS; + }; + this.destroy = function () { + aL(); + aS.data(C, null); + aS = null; + }; + this.option = function (bd, bc) { + if (aw[bd] !== undefined) { + if (bc === undefined) { + return aw[bd]; + } else { + aw[bd] = bc; + } + } else { + f.error("Option " + bd + " does not exist on jQuery.swipetp.options"); + } + return null; + }; + function aO(be) { + if (aC()) { + return; + } + if (f(be.target).closest(aw.excludedElements, aS).length > 0) { + return; + } + var bf = be.originalEvent ? be.originalEvent : be; + var bd, + bg = bf.touches, + bc = bg ? bg[0] : bf; + aa = g; + if (bg) { + X = bg.length; + } else { + be.preventDefault(); + } + ah = 0; + aQ = null; + aK = null; + ac = 0; + a2 = 0; + a0 = 0; + H = 1; + ar = 0; + aR = ak(); + N = ab(); + S(); + if (!bg || X === aw.fingers || aw.fingers === i || aY()) { + aj(0, bc); + U = au(); + if (X == 2) { + aj(1, bg[1]); + a2 = a0 = av(aR[0].start, aR[1].start); + } + if (aw.swipeStatus || aw.pinchStatus) { + bd = P(bf, aa); + } + } else { + bd = false; + } + if (bd === false) { + aa = q; + P(bf, aa); + return bd; + } else { + if (aw.hold) { + ag = setTimeout( + f.proxy(function () { + aS.trigger("hold", [bf.target]); + if (aw.hold) { + bd = aw.hold.call(aS, bf, bf.target); + } + }, this), + aw.longTapThreshold + ); + } + ap(true); + } + return null; + } + function a4(bf) { + var bi = bf.originalEvent ? bf.originalEvent : bf; + if (aa === h || aa === q || an()) { + return; + } + var be, + bj = bi.touches, + bd = bj ? bj[0] : bi; + var bg = aI(bd); + a3 = au(); + if (bj) { + X = bj.length; + } + if (aw.hold) { + clearTimeout(ag); + } + aa = k; + if (X == 2) { + if (a2 == 0) { + aj(1, bj[1]); + a2 = a0 = av(aR[0].start, aR[1].start); + } else { + aI(bj[1]); + a0 = av(aR[0].end, aR[1].end); + aK = at(aR[0].end, aR[1].end); + } + H = a8(a2, a0); + ar = Math.abs(a2 - a0); + } + if (X === aw.fingers || aw.fingers === i || !bj || aY()) { + aQ = aM(bg.start, bg.end); + am(bf, aQ); + ah = aT(bg.start, bg.end); + ac = aN(); + aJ(aQ, ah); + if (aw.swipeStatus || aw.pinchStatus) { + be = P(bi, aa); + } + if (!aw.triggerOnTouchEnd || aw.triggerOnTouchLeave) { + var bc = true; + if (aw.triggerOnTouchLeave) { + var bh = aZ(this); + bc = F(bg.end, bh); + } + if (!aw.triggerOnTouchEnd && bc) { + aa = aD(k); + } else { + if (aw.triggerOnTouchLeave && !bc) { + aa = aD(h); + } + } + if (aa == q || aa == h) { + P(bi, aa); + } + } + } else { + aa = q; + P(bi, aa); + } + if (be === false) { + aa = q; + P(bi, aa); + } + } + function M(bc) { + var bd = bc.originalEvent ? bc.originalEvent : bc, + be = bd.touches; + if (be) { + if (be.length) { + G(); + return true; + } + } + if (an()) { + X = ae; + } + a3 = au(); + ac = aN(); + if (bb() || !ao()) { + aa = q; + P(bd, aa); + } else { + if ( + aw.triggerOnTouchEnd || + (aw.triggerOnTouchEnd == false && aa === k) + ) { + bc.preventDefault(); + aa = h; + P(bd, aa); + } else { + if (!aw.triggerOnTouchEnd && a7()) { + aa = h; + aG(bd, aa, B); + } else { + if (aa === k) { + aa = q; + P(bd, aa); + } + } + } + } + ap(false); + return null; + } + function ba() { + X = 0; + a3 = 0; + U = 0; + a2 = 0; + a0 = 0; + H = 1; + S(); + ap(false); + } + function L(bc) { + var bd = bc.originalEvent ? bc.originalEvent : bc; + if (aw.triggerOnTouchLeave) { + aa = aD(h); + P(bd, aa); + } + } + function aL() { + aS.unbind(K, aO); + aS.unbind(aE, ba); + aS.unbind(az, a4); + aS.unbind(V, M); + if (T) { + aS.unbind(T, L); + } + ap(false); + } + function aD(bg) { + var bf = bg; + var be = aB(); + var bd = ao(); + var bc = bb(); + if (!be || bc) { + bf = q; + } else { + if ( + bd && + bg == k && + (!aw.triggerOnTouchEnd || aw.triggerOnTouchLeave) + ) { + bf = h; + } else { + if (!bd && bg == h && aw.triggerOnTouchLeave) { + bf = q; + } + } + } + return bf; + } + function P(be, bc) { + var bd, + bf = be.touches; + if (J() || W() || Q() || aY()) { + if (J() || W()) { + bd = aG(be, bc, l); + } + if ((Q() || aY()) && bd !== false) { + bd = aG(be, bc, t); + } + } else { + if (aH() && bd !== false) { + bd = aG(be, bc, j); + } else { + if (aq() && bd !== false) { + bd = aG(be, bc, b); + } else { + if (ai() && bd !== false) { + bd = aG(be, bc, B); + } + } + } + } + if (bc === q) { + ba(be); + } + if (bc === h) { + if (bf) { + if (!bf.length) { + ba(be); + } + } else { + ba(be); + } + } + return bd; + } + function aG(bf, bc, be) { + var bd; + if (be == l) { + aS.trigger("swipeStatus", [bc, aQ || null, ah || 0, ac || 0, X, aR]); + if (aw.swipeStatus) { + bd = aw.swipeStatus.call( + aS, + bf, + bc, + aQ || null, + ah || 0, + ac || 0, + X, + aR + ); + if (bd === false) { + return false; + } + } + if (bc == h && aW()) { + aS.trigger("swipe", [aQ, ah, ac, X, aR]); + if (aw.swipe) { + bd = aw.swipe.call(aS, bf, aQ, ah, ac, X, aR); + if (bd === false) { + return false; + } + } + switch (aQ) { + case p: + aS.trigger("swipeLeft", [aQ, ah, ac, X, aR]); + if (aw.swipeLeft) { + bd = aw.swipeLeft.call(aS, bf, aQ, ah, ac, X, aR); + } + break; + case o: + aS.trigger("swipeRight", [aQ, ah, ac, X, aR]); + if (aw.swipeRight) { + bd = aw.swipeRight.call(aS, bf, aQ, ah, ac, X, aR); + } + break; + case e: + aS.trigger("swipeUp", [aQ, ah, ac, X, aR]); + if (aw.swipeUp) { + bd = aw.swipeUp.call(aS, bf, aQ, ah, ac, X, aR); + } + break; + case x: + aS.trigger("swipeDown", [aQ, ah, ac, X, aR]); + if (aw.swipeDown) { + bd = aw.swipeDown.call(aS, bf, aQ, ah, ac, X, aR); + } + break; + } + } + } + if (be == t) { + aS.trigger("pinchStatus", [bc, aK || null, ar || 0, ac || 0, X, H, aR]); + if (aw.pinchStatus) { + bd = aw.pinchStatus.call( + aS, + bf, + bc, + aK || null, + ar || 0, + ac || 0, + X, + H, + aR + ); + if (bd === false) { + return false; + } + } + if (bc == h && a9()) { + switch (aK) { + case c: + aS.trigger("pinchIn", [aK || null, ar || 0, ac || 0, X, H, aR]); + if (aw.pinchIn) { + bd = aw.pinchIn.call( + aS, + bf, + aK || null, + ar || 0, + ac || 0, + X, + H, + aR + ); + } + break; + case A: + aS.trigger("pinchOut", [aK || null, ar || 0, ac || 0, X, H, aR]); + if (aw.pinchOut) { + bd = aw.pinchOut.call( + aS, + bf, + aK || null, + ar || 0, + ac || 0, + X, + H, + aR + ); + } + break; + } + } + } + if (be == B) { + if (bc === q || bc === h) { + clearTimeout(aX); + clearTimeout(ag); + if (Z() && !I()) { + O = au(); + aX = setTimeout( + f.proxy(function () { + O = null; + aS.trigger("tap", [bf.target]); + if (aw.tap) { + bd = aw.tap.call(aS, bf, bf.target); + } + }, this), + aw.doubleTapThreshold + ); + } else { + O = null; + aS.trigger("tap", [bf.target]); + if (aw.tap) { + bd = aw.tap.call(aS, bf, bf.target); + } + } + } + } else { + if (be == j) { + if (bc === q || bc === h) { + clearTimeout(aX); + O = null; + aS.trigger("doubletap", [bf.target]); + if (aw.doubleTap) { + bd = aw.doubleTap.call(aS, bf, bf.target); + } + } + } else { + if (be == b) { + if (bc === q || bc === h) { + clearTimeout(aX); + O = null; + aS.trigger("longtap", [bf.target]); + if (aw.longTap) { + bd = aw.longTap.call(aS, bf, bf.target); + } + } + } + } + } + return bd; + } + function ao() { + var bc = true; + if (aw.threshold !== null) { + bc = ah >= aw.threshold; + } + return bc; + } + function bb() { + var bc = false; + if (aw.cancelThreshold !== null && aQ !== null) { + bc = aU(aQ) - ah >= aw.cancelThreshold; + } + return bc; + } + function af() { + if (aw.pinchThreshold !== null) { + return ar >= aw.pinchThreshold; + } + return true; + } + function aB() { + var bc; + if (aw.maxTimeThreshold) { + if (ac >= aw.maxTimeThreshold) { + bc = false; + } else { + bc = true; + } + } else { + bc = true; + } + return bc; + } + function am(bc, bd) { + if (aw.preventDefaultEvents === false) { + return; + } + if (aw.allowPageScroll === m) { + bc.preventDefault(); + } else { + var be = aw.allowPageScroll === s; + switch (bd) { + case p: + if ((aw.swipeLeft && be) || (!be && aw.allowPageScroll != E)) { + bc.preventDefault(); + } + break; + case o: + if ((aw.swipeRight && be) || (!be && aw.allowPageScroll != E)) { + bc.preventDefault(); + } + break; + case e: + if ((aw.swipeUp && be) || (!be && aw.allowPageScroll != u)) { + bc.preventDefault(); + } + break; + case x: + if ((aw.swipeDown && be) || (!be && aw.allowPageScroll != u)) { + bc.preventDefault(); + } + break; + } + } + } + function a9() { + var bd = aP(); + var bc = Y(); + var be = af(); + return bd && bc && be; + } + function aY() { + return !!(aw.pinchStatus || aw.pinchIn || aw.pinchOut); + } + function Q() { + return !!(a9() && aY()); + } + function aW() { + var bf = aB(); + var bh = ao(); + var be = aP(); + var bc = Y(); + var bd = bb(); + var bg = !bd && bc && be && bh && bf; + return bg; + } + function W() { + return !!( + aw.swipe || + aw.swipeStatus || + aw.swipeLeft || + aw.swipeRight || + aw.swipeUp || + aw.swipeDown + ); + } + function J() { + return !!(aW() && W()); + } + function aP() { + return X === aw.fingers || aw.fingers === i || !a; + } + function Y() { + return aR[0].end.x !== 0; + } + function a7() { + return !!aw.tap; + } + function Z() { + return !!aw.doubleTap; + } + function aV() { + return !!aw.longTap; + } + function R() { + if (O == null) { + return false; + } + var bc = au(); + return Z() && bc - O <= aw.doubleTapThreshold; + } + function I() { + return R(); + } + function ay() { + return (X === 1 || !a) && (isNaN(ah) || ah < aw.threshold); + } + function a1() { + return ac > aw.longTapThreshold && ah < r; + } + function ai() { + return !!(ay() && a7()); + } + function aH() { + return !!(R() && Z()); + } + function aq() { + return !!(a1() && aV()); + } + function G() { + a6 = au(); + ae = event.touches.length + 1; + } + function S() { + a6 = 0; + ae = 0; + } + function an() { + var bc = false; + if (a6) { + var bd = au() - a6; + if (bd <= aw.fingerReleaseThreshold) { + bc = true; + } + } + return bc; + } + function aC() { + return !!(aS.data(C + "_intouch") === true); + } + function ap(bc) { + if (bc === true) { + aS.bind(az, a4); + aS.bind(V, M); + if (T) { + aS.bind(T, L); + } + } else { + aS.unbind(az, a4, false); + aS.unbind(V, M, false); + if (T) { + aS.unbind(T, L, false); + } + } + aS.data(C + "_intouch", bc === true); + } + function aj(bd, bc) { + var be = bc.identifier !== undefined ? bc.identifier : 0; + aR[bd].identifier = be; + aR[bd].start.x = aR[bd].end.x = bc.pageX || bc.clientX; + aR[bd].start.y = aR[bd].end.y = bc.pageY || bc.clientY; + return aR[bd]; + } + function aI(bc) { + var be = bc.identifier !== undefined ? bc.identifier : 0; + var bd = ad(be); + bd.end.x = bc.pageX || bc.clientX; + bd.end.y = bc.pageY || bc.clientY; + return bd; + } + function ad(bd) { + for (var bc = 0; bc < aR.length; bc++) { + if (aR[bc].identifier == bd) { + return aR[bc]; + } + } + } + function ak() { + var bc = []; + for (var bd = 0; bd <= 5; bd++) { + bc.push({ start: { x: 0, y: 0 }, end: { x: 0, y: 0 }, identifier: 0 }); + } + return bc; + } + function aJ(bc, bd) { + bd = Math.max(bd, aU(bc)); + N[bc].distance = bd; + } + function aU(bc) { + if (N[bc]) { + return N[bc].distance; + } + return undefined; + } + function ab() { + var bc = {}; + bc[p] = ax(p); + bc[o] = ax(o); + bc[e] = ax(e); + bc[x] = ax(x); + return bc; + } + function ax(bc) { + return { direction: bc, distance: 0 }; + } + function aN() { + return a3 - U; + } + function av(bf, be) { + var bd = Math.abs(bf.x - be.x); + var bc = Math.abs(bf.y - be.y); + return Math.round(Math.sqrt(bd * bd + bc * bc)); + } + function a8(bc, bd) { + var be = (bd / bc) * 1; + return be.toFixed(2); + } + function at() { + if (H < 1) { + return A; + } else { + return c; + } + } + function aT(bd, bc) { + return Math.round( + Math.sqrt(Math.pow(bc.x - bd.x, 2) + Math.pow(bc.y - bd.y, 2)) + ); + } + function aF(bf, bd) { + var bc = bf.x - bd.x; + var bh = bd.y - bf.y; + var be = Math.atan2(bh, bc); + var bg = Math.round((be * 180) / Math.PI); + if (bg < 0) { + bg = 360 - Math.abs(bg); + } + return bg; + } + function aM(bd, bc) { + var be = aF(bd, bc); + if (be <= 45 && be >= 0) { + return p; + } else { + if (be <= 360 && be >= 315) { + return p; + } else { + if (be >= 135 && be <= 225) { + return o; + } else { + if (be > 45 && be < 135) { + return x; + } else { + return e; + } + } + } + } + } + function au() { + var bc = new Date(); + return bc.getTime(); + } + function aZ(bc) { + bc = f(bc); + var be = bc.offset(); + var bd = { + left: be.left, + right: be.left + bc.outerWidth(), + top: be.top, + bottom: be.top + bc.outerHeight(), + }; + return bd; + } + function F(bc, bd) { + return ( + bc.x > bd.left && bc.x < bd.right && bc.y > bd.top && bc.y < bd.bottom + ); + } + } +}); + +if (typeof console === "undefined") { + var console = {}; + console.log = + console.error = + console.info = + console.debug = + console.warn = + console.trace = + console.dir = + console.dirxml = + console.group = + console.groupEnd = + console.time = + console.timeEnd = + console.assert = + console.profile = + console.groupCollapsed = + function () {}; +} + +if (window.tplogs == true) + try { + console.groupCollapsed("ThemePunch GreenSocks Logs"); + } catch (e) {} + +var oldgs = window.GreenSockGlobals; +oldgs_queue = window._gsQueue; + +var punchgs = (window.GreenSockGlobals = {}); + +if (window.tplogs == true) + try { + console.info("Build GreenSock SandBox for ThemePunch Plugins"); + console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin"); + } catch (e) {} + +/* TWEEN LITE */ +/*! + * VERSION: 1.19.1 + * DATE: 2017-01-17 + * UPDATES AND DOCS AT: http://greensock.com + * + * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. + * This work is subject to the terms at http://greensock.com/standard-license or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +!(function (a, b) { + "use strict"; + var c = {}, + d = a.document, + e = (a.GreenSockGlobals = a.GreenSockGlobals || a); + if (!e.TweenLite) { + var f, + g, + h, + i, + j, + k = function (a) { + var b, + c = a.split("."), + d = e; + for (b = 0; b < c.length; b++) d[c[b]] = d = d[c[b]] || {}; + return d; + }, + l = k("com.greensock"), + m = 1e-10, + n = function (a) { + var b, + c = [], + d = a.length; + for (b = 0; b !== d; c.push(a[b++])); + return c; + }, + o = function () {}, + p = (function () { + var a = Object.prototype.toString, + b = a.call([]); + return function (c) { + return ( + null != c && + (c instanceof Array || + ("object" == typeof c && !!c.push && a.call(c) === b)) + ); + }; + })(), + q = {}, + r = function (d, f, g, h) { + (this.sc = q[d] ? q[d].sc : []), + (q[d] = this), + (this.gsClass = null), + (this.func = g); + var i = []; + (this.check = function (j) { + for (var l, m, n, o, p, s = f.length, t = s; --s > -1; ) + (l = q[f[s]] || new r(f[s], [])).gsClass + ? ((i[s] = l.gsClass), t--) + : j && l.sc.push(this); + if (0 === t && g) { + if ( + ((m = ("com.greensock." + d).split(".")), + (n = m.pop()), + (o = k(m.join("."))[n] = this.gsClass = g.apply(g, i)), + h) + ) + if ( + ((e[n] = c[n] = o), + (p = "undefined" != typeof module && module.exports), + !p && "function" == typeof define && define.amd) + ) + define( + (a.GreenSockAMDPath ? a.GreenSockAMDPath + "/" : "") + + d.split(".").pop(), + [], + function () { + return o; + } + ); + else if (p) + if (d === b) { + module.exports = c[b] = o; + for (s in c) o[s] = c[s]; + } else c[b] && (c[b][n] = o); + for (s = 0; s < this.sc.length; s++) this.sc[s].check(); + } + }), + this.check(!0); + }, + s = (a._gsDefine = function (a, b, c, d) { + return new r(a, b, c, d); + }), + t = (l._class = function (a, b, c) { + return ( + (b = b || function () {}), + s( + a, + [], + function () { + return b; + }, + c + ), + b + ); + }); + s.globals = e; + var u = [0, 0, 1, 1], + v = t( + "easing.Ease", + function (a, b, c, d) { + (this._func = a), + (this._type = c || 0), + (this._power = d || 0), + (this._params = b ? u.concat(b) : u); + }, + !0 + ), + w = (v.map = {}), + x = (v.register = function (a, b, c, d) { + for ( + var e, + f, + g, + h, + i = b.split(","), + j = i.length, + k = (c || "easeIn,easeOut,easeInOut").split(","); + --j > -1; + + ) + for ( + f = i[j], + e = d ? t("easing." + f, null, !0) : l.easing[f] || {}, + g = k.length; + --g > -1; + + ) + (h = k[g]), + (w[f + "." + h] = + w[h + f] = + e[h] = + a.getRatio ? a : a[h] || new a()); + }); + for ( + h = v.prototype, + h._calcEnd = !1, + h.getRatio = function (a) { + if (this._func) + return (this._params[0] = a), this._func.apply(null, this._params); + var b = this._type, + c = this._power, + d = 1 === b ? 1 - a : 2 === b ? a : 0.5 > a ? 2 * a : 2 * (1 - a); + return ( + 1 === c + ? (d *= d) + : 2 === c + ? (d *= d * d) + : 3 === c + ? (d *= d * d * d) + : 4 === c && (d *= d * d * d * d), + 1 === b ? 1 - d : 2 === b ? d : 0.5 > a ? d / 2 : 1 - d / 2 + ); + }, + f = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], + g = f.length; + --g > -1; + + ) + (h = f[g] + ",Power" + g), + x(new v(null, null, 1, g), h, "easeOut", !0), + x(new v(null, null, 2, g), h, "easeIn" + (0 === g ? ",easeNone" : "")), + x(new v(null, null, 3, g), h, "easeInOut"); + (w.linear = l.easing.Linear.easeIn), (w.swing = l.easing.Quad.easeInOut); + var y = t("events.EventDispatcher", function (a) { + (this._listeners = {}), (this._eventTarget = a || this); + }); + (h = y.prototype), + (h.addEventListener = function (a, b, c, d, e) { + e = e || 0; + var f, + g, + h = this._listeners[a], + k = 0; + for ( + this !== i || j || i.wake(), + null == h && (this._listeners[a] = h = []), + g = h.length; + --g > -1; + + ) + (f = h[g]), + f.c === b && f.s === c + ? h.splice(g, 1) + : 0 === k && f.pr < e && (k = g + 1); + h.splice(k, 0, { c: b, s: c, up: d, pr: e }); + }), + (h.removeEventListener = function (a, b) { + var c, + d = this._listeners[a]; + if (d) + for (c = d.length; --c > -1; ) + if (d[c].c === b) return void d.splice(c, 1); + }), + (h.dispatchEvent = function (a) { + var b, + c, + d, + e = this._listeners[a]; + if (e) + for ( + b = e.length, b > 1 && (e = e.slice(0)), c = this._eventTarget; + --b > -1; + + ) + (d = e[b]), + d && + (d.up + ? d.c.call(d.s || c, { type: a, target: c }) + : d.c.call(d.s || c)); + }); + var z = a.requestAnimationFrame, + A = a.cancelAnimationFrame, + B = + Date.now || + function () { + return new Date().getTime(); + }, + C = B(); + for (f = ["ms", "moz", "webkit", "o"], g = f.length; --g > -1 && !z; ) + (z = a[f[g] + "RequestAnimationFrame"]), + (A = + a[f[g] + "CancelAnimationFrame"] || + a[f[g] + "CancelRequestAnimationFrame"]); + t("Ticker", function (a, b) { + var c, + e, + f, + g, + h, + k = this, + l = B(), + n = b !== !1 && z ? "auto" : !1, + p = 500, + q = 33, + r = "tick", + s = function (a) { + var b, + d, + i = B() - C; + i > p && (l += i - q), + (C += i), + (k.time = (C - l) / 1e3), + (b = k.time - h), + (!c || b > 0 || a === !0) && + (k.frame++, (h += b + (b >= g ? 0.004 : g - b)), (d = !0)), + a !== !0 && (f = e(s)), + d && k.dispatchEvent(r); + }; + y.call(k), + (k.time = k.frame = 0), + (k.tick = function () { + s(!0); + }), + (k.lagSmoothing = function (a, b) { + (p = a || 1 / m), (q = Math.min(b, p, 0)); + }), + (k.sleep = function () { + null != f && + (n && A ? A(f) : clearTimeout(f), + (e = o), + (f = null), + k === i && (j = !1)); + }), + (k.wake = function (a) { + null !== f + ? k.sleep() + : a + ? (l += -C + (C = B())) + : k.frame > 10 && (C = B() - p + 5), + (e = + 0 === c + ? o + : n && z + ? z + : function (a) { + return setTimeout(a, (1e3 * (h - k.time) + 1) | 0); + }), + k === i && (j = !0), + s(2); + }), + (k.fps = function (a) { + return arguments.length + ? ((c = a), (g = 1 / (c || 60)), (h = this.time + g), void k.wake()) + : c; + }), + (k.useRAF = function (a) { + return arguments.length ? (k.sleep(), (n = a), void k.fps(c)) : n; + }), + k.fps(a), + setTimeout(function () { + "auto" === n && + k.frame < 5 && + "hidden" !== d.visibilityState && + k.useRAF(!1); + }, 1500); + }), + (h = l.Ticker.prototype = new l.events.EventDispatcher()), + (h.constructor = l.Ticker); + var D = t("core.Animation", function (a, b) { + if ( + ((this.vars = b = b || {}), + (this._duration = this._totalDuration = a || 0), + (this._delay = Number(b.delay) || 0), + (this._timeScale = 1), + (this._active = b.immediateRender === !0), + (this.data = b.data), + (this._reversed = b.reversed === !0), + W) + ) { + j || i.wake(); + var c = this.vars.useFrames ? V : W; + c.add(this, c._time), this.vars.paused && this.paused(!0); + } + }); + (i = D.ticker = new l.Ticker()), + (h = D.prototype), + (h._dirty = h._gc = h._initted = h._paused = !1), + (h._totalTime = h._time = 0), + (h._rawPrevTime = -1), + (h._next = h._last = h._onUpdate = h._timeline = h.timeline = null), + (h._paused = !1); + var E = function () { + j && B() - C > 2e3 && i.wake(), setTimeout(E, 2e3); + }; + E(), + (h.play = function (a, b) { + return null != a && this.seek(a, b), this.reversed(!1).paused(!1); + }), + (h.pause = function (a, b) { + return null != a && this.seek(a, b), this.paused(!0); + }), + (h.resume = function (a, b) { + return null != a && this.seek(a, b), this.paused(!1); + }), + (h.seek = function (a, b) { + return this.totalTime(Number(a), b !== !1); + }), + (h.restart = function (a, b) { + return this.reversed(!1) + .paused(!1) + .totalTime(a ? -this._delay : 0, b !== !1, !0); + }), + (h.reverse = function (a, b) { + return ( + null != a && this.seek(a || this.totalDuration(), b), + this.reversed(!0).paused(!1) + ); + }), + (h.render = function (a, b, c) {}), + (h.invalidate = function () { + return ( + (this._time = this._totalTime = 0), + (this._initted = this._gc = !1), + (this._rawPrevTime = -1), + (this._gc || !this.timeline) && this._enabled(!0), + this + ); + }), + (h.isActive = function () { + var a, + b = this._timeline, + c = this._startTime; + return ( + !b || + (!this._gc && + !this._paused && + b.isActive() && + (a = b.rawTime(!0)) >= c && + a < c + this.totalDuration() / this._timeScale) + ); + }), + (h._enabled = function (a, b) { + return ( + j || i.wake(), + (this._gc = !a), + (this._active = this.isActive()), + b !== !0 && + (a && !this.timeline + ? this._timeline.add(this, this._startTime - this._delay) + : !a && this.timeline && this._timeline._remove(this, !0)), + !1 + ); + }), + (h._kill = function (a, b) { + return this._enabled(!1, !1); + }), + (h.kill = function (a, b) { + return this._kill(a, b), this; + }), + (h._uncache = function (a) { + for (var b = a ? this : this.timeline; b; ) + (b._dirty = !0), (b = b.timeline); + return this; + }), + (h._swapSelfInParams = function (a) { + for (var b = a.length, c = a.concat(); --b > -1; ) + "{self}" === a[b] && (c[b] = this); + return c; + }), + (h._callback = function (a) { + var b = this.vars, + c = b[a], + d = b[a + "Params"], + e = b[a + "Scope"] || b.callbackScope || this, + f = d ? d.length : 0; + switch (f) { + case 0: + c.call(e); + break; + case 1: + c.call(e, d[0]); + break; + case 2: + c.call(e, d[0], d[1]); + break; + default: + c.apply(e, d); + } + }), + (h.eventCallback = function (a, b, c, d) { + if ("on" === (a || "").substr(0, 2)) { + var e = this.vars; + if (1 === arguments.length) return e[a]; + null == b + ? delete e[a] + : ((e[a] = b), + (e[a + "Params"] = + p(c) && -1 !== c.join("").indexOf("{self}") + ? this._swapSelfInParams(c) + : c), + (e[a + "Scope"] = d)), + "onUpdate" === a && (this._onUpdate = b); + } + return this; + }), + (h.delay = function (a) { + return arguments.length + ? (this._timeline.smoothChildTiming && + this.startTime(this._startTime + a - this._delay), + (this._delay = a), + this) + : this._delay; + }), + (h.duration = function (a) { + return arguments.length + ? ((this._duration = this._totalDuration = a), + this._uncache(!0), + this._timeline.smoothChildTiming && + this._time > 0 && + this._time < this._duration && + 0 !== a && + this.totalTime(this._totalTime * (a / this._duration), !0), + this) + : ((this._dirty = !1), this._duration); + }), + (h.totalDuration = function (a) { + return ( + (this._dirty = !1), + arguments.length ? this.duration(a) : this._totalDuration + ); + }), + (h.time = function (a, b) { + return arguments.length + ? (this._dirty && this.totalDuration(), + this.totalTime(a > this._duration ? this._duration : a, b)) + : this._time; + }), + (h.totalTime = function (a, b, c) { + if ((j || i.wake(), !arguments.length)) return this._totalTime; + if (this._timeline) { + if ( + (0 > a && !c && (a += this.totalDuration()), + this._timeline.smoothChildTiming) + ) { + this._dirty && this.totalDuration(); + var d = this._totalDuration, + e = this._timeline; + if ( + (a > d && !c && (a = d), + (this._startTime = + (this._paused ? this._pauseTime : e._time) - + (this._reversed ? d - a : a) / this._timeScale), + e._dirty || this._uncache(!1), + e._timeline) + ) + for (; e._timeline; ) + e._timeline._time !== + (e._startTime + e._totalTime) / e._timeScale && + e.totalTime(e._totalTime, !0), + (e = e._timeline); + } + this._gc && this._enabled(!0, !1), + (this._totalTime !== a || 0 === this._duration) && + (J.length && Y(), this.render(a, b, !1), J.length && Y()); + } + return this; + }), + (h.progress = h.totalProgress = + function (a, b) { + var c = this.duration(); + return arguments.length + ? this.totalTime(c * a, b) + : c + ? this._time / c + : this.ratio; + }), + (h.startTime = function (a) { + return arguments.length + ? (a !== this._startTime && + ((this._startTime = a), + this.timeline && + this.timeline._sortChildren && + this.timeline.add(this, a - this._delay)), + this) + : this._startTime; + }), + (h.endTime = function (a) { + return ( + this._startTime + + (0 != a ? this.totalDuration() : this.duration()) / this._timeScale + ); + }), + (h.timeScale = function (a) { + if (!arguments.length) return this._timeScale; + if ( + ((a = a || m), this._timeline && this._timeline.smoothChildTiming) + ) { + var b = this._pauseTime, + c = b || 0 === b ? b : this._timeline.totalTime(); + this._startTime = c - ((c - this._startTime) * this._timeScale) / a; + } + return (this._timeScale = a), this._uncache(!1); + }), + (h.reversed = function (a) { + return arguments.length + ? (a != this._reversed && + ((this._reversed = a), + this.totalTime( + this._timeline && !this._timeline.smoothChildTiming + ? this.totalDuration() - this._totalTime + : this._totalTime, + !0 + )), + this) + : this._reversed; + }), + (h.paused = function (a) { + if (!arguments.length) return this._paused; + var b, + c, + d = this._timeline; + return ( + a != this._paused && + d && + (j || a || i.wake(), + (b = d.rawTime()), + (c = b - this._pauseTime), + !a && + d.smoothChildTiming && + ((this._startTime += c), this._uncache(!1)), + (this._pauseTime = a ? b : null), + (this._paused = a), + (this._active = this.isActive()), + !a && + 0 !== c && + this._initted && + this.duration() && + ((b = d.smoothChildTiming + ? this._totalTime + : (b - this._startTime) / this._timeScale), + this.render(b, b === this._totalTime, !0))), + this._gc && !a && this._enabled(!0, !1), + this + ); + }); + var F = t("core.SimpleTimeline", function (a) { + D.call(this, 0, a), + (this.autoRemoveChildren = this.smoothChildTiming = !0); + }); + (h = F.prototype = new D()), + (h.constructor = F), + (h.kill()._gc = !1), + (h._first = h._last = h._recent = null), + (h._sortChildren = !1), + (h.add = h.insert = + function (a, b, c, d) { + var e, f; + if ( + ((a._startTime = Number(b || 0) + a._delay), + a._paused && + this !== a._timeline && + (a._pauseTime = + a._startTime + (this.rawTime() - a._startTime) / a._timeScale), + a.timeline && a.timeline._remove(a, !0), + (a.timeline = a._timeline = this), + a._gc && a._enabled(!0, !0), + (e = this._last), + this._sortChildren) + ) + for (f = a._startTime; e && e._startTime > f; ) e = e._prev; + return ( + e + ? ((a._next = e._next), (e._next = a)) + : ((a._next = this._first), (this._first = a)), + a._next ? (a._next._prev = a) : (this._last = a), + (a._prev = e), + (this._recent = a), + this._timeline && this._uncache(!0), + this + ); + }), + (h._remove = function (a, b) { + return ( + a.timeline === this && + (b || a._enabled(!1, !0), + a._prev + ? (a._prev._next = a._next) + : this._first === a && (this._first = a._next), + a._next + ? (a._next._prev = a._prev) + : this._last === a && (this._last = a._prev), + (a._next = a._prev = a.timeline = null), + a === this._recent && (this._recent = this._last), + this._timeline && this._uncache(!0)), + this + ); + }), + (h.render = function (a, b, c) { + var d, + e = this._first; + for (this._totalTime = this._time = this._rawPrevTime = a; e; ) + (d = e._next), + (e._active || (a >= e._startTime && !e._paused)) && + (e._reversed + ? e.render( + (e._dirty ? e.totalDuration() : e._totalDuration) - + (a - e._startTime) * e._timeScale, + b, + c + ) + : e.render((a - e._startTime) * e._timeScale, b, c)), + (e = d); + }), + (h.rawTime = function () { + return j || i.wake(), this._totalTime; + }); + var G = t( + "TweenLite", + function (b, c, d) { + if ( + (D.call(this, c, d), (this.render = G.prototype.render), null == b) + ) + throw "Cannot tween a null target."; + this.target = b = "string" != typeof b ? b : G.selector(b) || b; + var e, + f, + g, + h = + b.jquery || + (b.length && + b !== a && + b[0] && + (b[0] === a || (b[0].nodeType && b[0].style && !b.nodeType))), + i = this.vars.overwrite; + if ( + ((this._overwrite = i = + null == i + ? U[G.defaultOverwrite] + : "number" == typeof i + ? i >> 0 + : U[i]), + (h || b instanceof Array || (b.push && p(b))) && + "number" != typeof b[0]) + ) + for ( + this._targets = g = n(b), + this._propLookup = [], + this._siblings = [], + e = 0; + e < g.length; + e++ + ) + (f = g[e]), + f + ? "string" != typeof f + ? f.length && + f !== a && + f[0] && + (f[0] === a || + (f[0].nodeType && f[0].style && !f.nodeType)) + ? (g.splice(e--, 1), (this._targets = g = g.concat(n(f)))) + : ((this._siblings[e] = Z(f, this, !1)), + 1 === i && + this._siblings[e].length > 1 && + _(f, this, null, 1, this._siblings[e])) + : ((f = g[e--] = G.selector(f)), + "string" == typeof f && g.splice(e + 1, 1)) + : g.splice(e--, 1); + else + (this._propLookup = {}), + (this._siblings = Z(b, this, !1)), + 1 === i && + this._siblings.length > 1 && + _(b, this, null, 1, this._siblings); + (this.vars.immediateRender || + (0 === c && + 0 === this._delay && + this.vars.immediateRender !== !1)) && + ((this._time = -m), this.render(Math.min(0, -this._delay))); + }, + !0 + ), + H = function (b) { + return ( + b && + b.length && + b !== a && + b[0] && + (b[0] === a || (b[0].nodeType && b[0].style && !b.nodeType)) + ); + }, + I = function (a, b) { + var c, + d = {}; + for (c in a) + T[c] || + (c in b && + "transform" !== c && + "x" !== c && + "y" !== c && + "width" !== c && + "height" !== c && + "className" !== c && + "border" !== c) || + !(!Q[c] || (Q[c] && Q[c]._autoCSS)) || + ((d[c] = a[c]), delete a[c]); + a.css = d; + }; + (h = G.prototype = new D()), + (h.constructor = G), + (h.kill()._gc = !1), + (h.ratio = 0), + (h._firstPT = h._targets = h._overwrittenProps = h._startAt = null), + (h._notifyPluginsOfEnabled = h._lazy = !1), + (G.version = "1.19.1"), + (G.defaultEase = h._ease = new v(null, null, 1, 1)), + (G.defaultOverwrite = "auto"), + (G.ticker = i), + (G.autoSleep = 120), + (G.lagSmoothing = function (a, b) { + i.lagSmoothing(a, b); + }), + (G.selector = + a.$ || + a.jQuery || + function (b) { + var c = a.$ || a.jQuery; + return c + ? ((G.selector = c), c(b)) + : "undefined" == typeof d + ? b + : d.querySelectorAll + ? d.querySelectorAll(b) + : d.getElementById("#" === b.charAt(0) ? b.substr(1) : b); + }); + var J = [], + K = {}, + L = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi, + M = function (a) { + for (var b, c = this._firstPT, d = 1e-6; c; ) + (b = c.blob + ? 1 === a + ? this.end + : a + ? this.join("") + : this.start + : c.c * a + c.s), + c.m + ? (b = c.m(b, this._target || c.t)) + : d > b && b > -d && !c.blob && (b = 0), + c.f ? (c.fp ? c.t[c.p](c.fp, b) : c.t[c.p](b)) : (c.t[c.p] = b), + (c = c._next); + }, + N = function (a, b, c, d) { + var e, + f, + g, + h, + i, + j, + k, + l = [], + m = 0, + n = "", + o = 0; + for ( + l.start = a, + l.end = b, + a = l[0] = a + "", + b = l[1] = b + "", + c && (c(l), (a = l[0]), (b = l[1])), + l.length = 0, + e = a.match(L) || [], + f = b.match(L) || [], + d && + ((d._next = null), (d.blob = 1), (l._firstPT = l._applyPT = d)), + i = f.length, + h = 0; + i > h; + h++ + ) + (k = f[h]), + (j = b.substr(m, b.indexOf(k, m) - m)), + (n += j || !h ? j : ","), + (m += j.length), + o ? (o = (o + 1) % 5) : "rgba(" === j.substr(-5) && (o = 1), + k === e[h] || e.length <= h + ? (n += k) + : (n && (l.push(n), (n = "")), + (g = parseFloat(e[h])), + l.push(g), + (l._firstPT = { + _next: l._firstPT, + t: l, + p: l.length - 1, + s: g, + c: + ("=" === k.charAt(1) + ? parseInt(k.charAt(0) + "1", 10) * + parseFloat(k.substr(2)) + : parseFloat(k) - g) || 0, + f: 0, + m: o && 4 > o ? Math.round : 0, + })), + (m += k.length); + return (n += b.substr(m)), n && l.push(n), (l.setRatio = M), l; + }, + O = function (a, b, c, d, e, f, g, h, i) { + "function" == typeof d && (d = d(i || 0, a)); + var j, + k = typeof a[b], + l = + "function" !== k + ? "" + : b.indexOf("set") || "function" != typeof a["get" + b.substr(3)] + ? b + : "get" + b.substr(3), + m = "get" !== c ? c : l ? (g ? a[l](g) : a[l]()) : a[b], + n = "string" == typeof d && "=" === d.charAt(1), + o = { + t: a, + p: b, + s: m, + f: "function" === k, + pg: 0, + n: e || b, + m: f ? ("function" == typeof f ? f : Math.round) : 0, + pr: 0, + c: n + ? parseInt(d.charAt(0) + "1", 10) * parseFloat(d.substr(2)) + : parseFloat(d) - m || 0, + }; + return ( + ("number" != typeof m || ("number" != typeof d && !n)) && + (g || + isNaN(m) || + (!n && isNaN(d)) || + "boolean" == typeof m || + "boolean" == typeof d + ? ((o.fp = g), + (j = N(m, n ? o.s + o.c : d, h || G.defaultStringFilter, o)), + (o = { + t: j, + p: "setRatio", + s: 0, + c: 1, + f: 2, + pg: 0, + n: e || b, + pr: 0, + m: 0, + })) + : ((o.s = parseFloat(m)), n || (o.c = parseFloat(d) - o.s || 0))), + o.c + ? ((o._next = this._firstPT) && (o._next._prev = o), + (this._firstPT = o), + o) + : void 0 + ); + }, + P = (G._internals = { + isArray: p, + isSelector: H, + lazyTweens: J, + blobDif: N, + }), + Q = (G._plugins = {}), + R = (P.tweenLookup = {}), + S = 0, + T = (P.reservedProps = { + ease: 1, + delay: 1, + overwrite: 1, + onComplete: 1, + onCompleteParams: 1, + onCompleteScope: 1, + useFrames: 1, + runBackwards: 1, + startAt: 1, + onUpdate: 1, + onUpdateParams: 1, + onUpdateScope: 1, + onStart: 1, + onStartParams: 1, + onStartScope: 1, + onReverseComplete: 1, + onReverseCompleteParams: 1, + onReverseCompleteScope: 1, + onRepeat: 1, + onRepeatParams: 1, + onRepeatScope: 1, + easeParams: 1, + yoyo: 1, + immediateRender: 1, + repeat: 1, + repeatDelay: 1, + data: 1, + paused: 1, + reversed: 1, + autoCSS: 1, + lazy: 1, + onOverwrite: 1, + callbackScope: 1, + stringFilter: 1, + id: 1, + }), + U = { + none: 0, + all: 1, + auto: 2, + concurrent: 3, + allOnStart: 4, + preexisting: 5, + true: 1, + false: 0, + }, + V = (D._rootFramesTimeline = new F()), + W = (D._rootTimeline = new F()), + X = 30, + Y = (P.lazyRender = function () { + var a, + b = J.length; + for (K = {}; --b > -1; ) + (a = J[b]), + a && + a._lazy !== !1 && + (a.render(a._lazy[0], a._lazy[1], !0), (a._lazy = !1)); + J.length = 0; + }); + (W._startTime = i.time), + (V._startTime = i.frame), + (W._active = V._active = !0), + setTimeout(Y, 1), + (D._updateRoot = G.render = + function () { + var a, b, c; + if ( + (J.length && Y(), + W.render((i.time - W._startTime) * W._timeScale, !1, !1), + V.render((i.frame - V._startTime) * V._timeScale, !1, !1), + J.length && Y(), + i.frame >= X) + ) { + X = i.frame + (parseInt(G.autoSleep, 10) || 120); + for (c in R) { + for (b = R[c].tweens, a = b.length; --a > -1; ) + b[a]._gc && b.splice(a, 1); + 0 === b.length && delete R[c]; + } + if ( + ((c = W._first), + (!c || c._paused) && + G.autoSleep && + !V._first && + 1 === i._listeners.tick.length) + ) { + for (; c && c._paused; ) c = c._next; + c || i.sleep(); + } + } + }), + i.addEventListener("tick", D._updateRoot); + var Z = function (a, b, c) { + var d, + e, + f = a._gsTweenID; + if ( + (R[f || (a._gsTweenID = f = "t" + S++)] || + (R[f] = { target: a, tweens: [] }), + b && ((d = R[f].tweens), (d[(e = d.length)] = b), c)) + ) + for (; --e > -1; ) d[e] === b && d.splice(e, 1); + return R[f].tweens; + }, + $ = function (a, b, c, d) { + var e, + f, + g = a.vars.onOverwrite; + return ( + g && (e = g(a, b, c, d)), + (g = G.onOverwrite), + g && (f = g(a, b, c, d)), + e !== !1 && f !== !1 + ); + }, + _ = function (a, b, c, d, e) { + var f, g, h, i; + if (1 === d || d >= 4) { + for (i = e.length, f = 0; i > f; f++) + if ((h = e[f]) !== b) h._gc || (h._kill(null, a, b) && (g = !0)); + else if (5 === d) break; + return g; + } + var j, + k = b._startTime + m, + l = [], + n = 0, + o = 0 === b._duration; + for (f = e.length; --f > -1; ) + (h = e[f]) === b || + h._gc || + h._paused || + (h._timeline !== b._timeline + ? ((j = j || aa(b, 0, o)), 0 === aa(h, j, o) && (l[n++] = h)) + : h._startTime <= k && + h._startTime + h.totalDuration() / h._timeScale > k && + (((o || !h._initted) && k - h._startTime <= 2e-10) || + (l[n++] = h))); + for (f = n; --f > -1; ) + if ( + ((h = l[f]), + 2 === d && h._kill(c, a, b) && (g = !0), + 2 !== d || (!h._firstPT && h._initted)) + ) { + if (2 !== d && !$(h, b)) continue; + h._enabled(!1, !1) && (g = !0); + } + return g; + }, + aa = function (a, b, c) { + for ( + var d = a._timeline, e = d._timeScale, f = a._startTime; + d._timeline; + + ) { + if (((f += d._startTime), (e *= d._timeScale), d._paused)) + return -100; + d = d._timeline; + } + return ( + (f /= e), + f > b + ? f - b + : (c && f === b) || (!a._initted && 2 * m > f - b) + ? m + : (f += a.totalDuration() / a._timeScale / e) > b + m + ? 0 + : f - b - m + ); + }; + (h._init = function () { + var a, + b, + c, + d, + e, + f, + g = this.vars, + h = this._overwrittenProps, + i = this._duration, + j = !!g.immediateRender, + k = g.ease; + if (g.startAt) { + this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), + (e = {}); + for (d in g.startAt) e[d] = g.startAt[d]; + if ( + ((e.overwrite = !1), + (e.immediateRender = !0), + (e.lazy = j && g.lazy !== !1), + (e.startAt = e.delay = null), + (this._startAt = G.to(this.target, 0, e)), + j) + ) + if (this._time > 0) this._startAt = null; + else if (0 !== i) return; + } else if (g.runBackwards && 0 !== i) + if (this._startAt) + this._startAt.render(-1, !0), + this._startAt.kill(), + (this._startAt = null); + else { + 0 !== this._time && (j = !1), (c = {}); + for (d in g) (T[d] && "autoCSS" !== d) || (c[d] = g[d]); + if ( + ((c.overwrite = 0), + (c.data = "isFromStart"), + (c.lazy = j && g.lazy !== !1), + (c.immediateRender = j), + (this._startAt = G.to(this.target, 0, c)), + j) + ) { + if (0 === this._time) return; + } else + this._startAt._init(), + this._startAt._enabled(!1), + this.vars.immediateRender && (this._startAt = null); + } + if ( + ((this._ease = k = + k + ? k instanceof v + ? k + : "function" == typeof k + ? new v(k, g.easeParams) + : w[k] || G.defaultEase + : G.defaultEase), + g.easeParams instanceof Array && + k.config && + (this._ease = k.config.apply(k, g.easeParams)), + (this._easeType = this._ease._type), + (this._easePower = this._ease._power), + (this._firstPT = null), + this._targets) + ) + for (f = this._targets.length, a = 0; f > a; a++) + this._initProps( + this._targets[a], + (this._propLookup[a] = {}), + this._siblings[a], + h ? h[a] : null, + a + ) && (b = !0); + else + b = this._initProps( + this.target, + this._propLookup, + this._siblings, + h, + 0 + ); + if ( + (b && G._onPluginEvent("_onInitAllProps", this), + h && + (this._firstPT || + ("function" != typeof this.target && this._enabled(!1, !1))), + g.runBackwards) + ) + for (c = this._firstPT; c; ) (c.s += c.c), (c.c = -c.c), (c = c._next); + (this._onUpdate = g.onUpdate), (this._initted = !0); + }), + (h._initProps = function (b, c, d, e, f) { + var g, h, i, j, k, l; + if (null == b) return !1; + K[b._gsTweenID] && Y(), + this.vars.css || + (b.style && + b !== a && + b.nodeType && + Q.css && + this.vars.autoCSS !== !1 && + I(this.vars, b)); + for (g in this.vars) + if (((l = this.vars[g]), T[g])) + l && + (l instanceof Array || (l.push && p(l))) && + -1 !== l.join("").indexOf("{self}") && + (this.vars[g] = l = this._swapSelfInParams(l, this)); + else if ( + Q[g] && + (j = new Q[g]())._onInitTween(b, this.vars[g], this, f) + ) { + for ( + this._firstPT = k = + { + _next: this._firstPT, + t: j, + p: "setRatio", + s: 0, + c: 1, + f: 1, + n: g, + pg: 1, + pr: j._priority, + m: 0, + }, + h = j._overwriteProps.length; + --h > -1; + + ) + c[j._overwriteProps[h]] = this._firstPT; + (j._priority || j._onInitAllProps) && (i = !0), + (j._onDisable || j._onEnable) && + (this._notifyPluginsOfEnabled = !0), + k._next && (k._next._prev = k); + } else + c[g] = O.call( + this, + b, + g, + "get", + l, + g, + 0, + null, + this.vars.stringFilter, + f + ); + return e && this._kill(e, b) + ? this._initProps(b, c, d, e, f) + : this._overwrite > 1 && + this._firstPT && + d.length > 1 && + _(b, this, c, this._overwrite, d) + ? (this._kill(c, b), this._initProps(b, c, d, e, f)) + : (this._firstPT && + ((this.vars.lazy !== !1 && this._duration) || + (this.vars.lazy && !this._duration)) && + (K[b._gsTweenID] = !0), + i); + }), + (h.render = function (a, b, c) { + var d, + e, + f, + g, + h = this._time, + i = this._duration, + j = this._rawPrevTime; + if (a >= i - 1e-7 && a >= 0) + (this._totalTime = this._time = i), + (this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), + this._reversed || + ((d = !0), + (e = "onComplete"), + (c = c || this._timeline.autoRemoveChildren)), + 0 === i && + (this._initted || !this.vars.lazy || c) && + (this._startTime === this._timeline._duration && (a = 0), + (0 > j || + (0 >= a && a >= -1e-7) || + (j === m && "isPause" !== this.data)) && + j !== a && + ((c = !0), j > m && (e = "onReverseComplete")), + (this._rawPrevTime = g = !b || a || j === a ? a : m)); + else if (1e-7 > a) + (this._totalTime = this._time = 0), + (this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0), + (0 !== h || (0 === i && j > 0)) && + ((e = "onReverseComplete"), (d = this._reversed)), + 0 > a && + ((this._active = !1), + 0 === i && + (this._initted || !this.vars.lazy || c) && + (j >= 0 && (j !== m || "isPause" !== this.data) && (c = !0), + (this._rawPrevTime = g = !b || a || j === a ? a : m))), + this._initted || (c = !0); + else if (((this._totalTime = this._time = a), this._easeType)) { + var k = a / i, + l = this._easeType, + n = this._easePower; + (1 === l || (3 === l && k >= 0.5)) && (k = 1 - k), + 3 === l && (k *= 2), + 1 === n + ? (k *= k) + : 2 === n + ? (k *= k * k) + : 3 === n + ? (k *= k * k * k) + : 4 === n && (k *= k * k * k * k), + 1 === l + ? (this.ratio = 1 - k) + : 2 === l + ? (this.ratio = k) + : 0.5 > a / i + ? (this.ratio = k / 2) + : (this.ratio = 1 - k / 2); + } else this.ratio = this._ease.getRatio(a / i); + if (this._time !== h || c) { + if (!this._initted) { + if ((this._init(), !this._initted || this._gc)) return; + if ( + !c && + this._firstPT && + ((this.vars.lazy !== !1 && this._duration) || + (this.vars.lazy && !this._duration)) + ) + return ( + (this._time = this._totalTime = h), + (this._rawPrevTime = j), + J.push(this), + void (this._lazy = [a, b]) + ); + this._time && !d + ? (this.ratio = this._ease.getRatio(this._time / i)) + : d && + this._ease._calcEnd && + (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1)); + } + for ( + this._lazy !== !1 && (this._lazy = !1), + this._active || + (!this._paused && + this._time !== h && + a >= 0 && + (this._active = !0)), + 0 === h && + (this._startAt && + (a >= 0 + ? this._startAt.render(a, b, c) + : e || (e = "_dummyGS")), + this.vars.onStart && + (0 !== this._time || 0 === i) && + (b || this._callback("onStart"))), + f = this._firstPT; + f; + + ) + f.f + ? f.t[f.p](f.c * this.ratio + f.s) + : (f.t[f.p] = f.c * this.ratio + f.s), + (f = f._next); + this._onUpdate && + (0 > a && + this._startAt && + a !== -1e-4 && + this._startAt.render(a, b, c), + b || ((this._time !== h || d || c) && this._callback("onUpdate"))), + e && + (!this._gc || c) && + (0 > a && + this._startAt && + !this._onUpdate && + a !== -1e-4 && + this._startAt.render(a, b, c), + d && + (this._timeline.autoRemoveChildren && this._enabled(!1, !1), + (this._active = !1)), + !b && this.vars[e] && this._callback(e), + 0 === i && + this._rawPrevTime === m && + g !== m && + (this._rawPrevTime = 0)); + } + }), + (h._kill = function (a, b, c) { + if ( + ("all" === a && (a = null), + null == a && (null == b || b === this.target)) + ) + return (this._lazy = !1), this._enabled(!1, !1); + b = + "string" != typeof b + ? b || this._targets || this.target + : G.selector(b) || b; + var d, + e, + f, + g, + h, + i, + j, + k, + l, + m = + c && + this._time && + c._startTime === this._startTime && + this._timeline === c._timeline; + if ((p(b) || H(b)) && "number" != typeof b[0]) + for (d = b.length; --d > -1; ) this._kill(a, b[d], c) && (i = !0); + else { + if (this._targets) { + for (d = this._targets.length; --d > -1; ) + if (b === this._targets[d]) { + (h = this._propLookup[d] || {}), + (this._overwrittenProps = this._overwrittenProps || []), + (e = this._overwrittenProps[d] = + a ? this._overwrittenProps[d] || {} : "all"); + break; + } + } else { + if (b !== this.target) return !1; + (h = this._propLookup), + (e = this._overwrittenProps = + a ? this._overwrittenProps || {} : "all"); + } + if (h) { + if ( + ((j = a || h), + (k = + a !== e && + "all" !== e && + a !== h && + ("object" != typeof a || !a._tempKill)), + c && (G.onOverwrite || this.vars.onOverwrite)) + ) { + for (f in j) h[f] && (l || (l = []), l.push(f)); + if ((l || !a) && !$(this, c, b, l)) return !1; + } + for (f in j) + (g = h[f]) && + (m && (g.f ? g.t[g.p](g.s) : (g.t[g.p] = g.s), (i = !0)), + g.pg && g.t._kill(j) && (i = !0), + (g.pg && 0 !== g.t._overwriteProps.length) || + (g._prev + ? (g._prev._next = g._next) + : g === this._firstPT && (this._firstPT = g._next), + g._next && (g._next._prev = g._prev), + (g._next = g._prev = null)), + delete h[f]), + k && (e[f] = 1); + !this._firstPT && this._initted && this._enabled(!1, !1); + } + } + return i; + }), + (h.invalidate = function () { + return ( + this._notifyPluginsOfEnabled && G._onPluginEvent("_onDisable", this), + (this._firstPT = + this._overwrittenProps = + this._startAt = + this._onUpdate = + null), + (this._notifyPluginsOfEnabled = this._active = this._lazy = !1), + (this._propLookup = this._targets ? {} : []), + D.prototype.invalidate.call(this), + this.vars.immediateRender && + ((this._time = -m), this.render(Math.min(0, -this._delay))), + this + ); + }), + (h._enabled = function (a, b) { + if ((j || i.wake(), a && this._gc)) { + var c, + d = this._targets; + if (d) + for (c = d.length; --c > -1; ) + this._siblings[c] = Z(d[c], this, !0); + else this._siblings = Z(this.target, this, !0); + } + return ( + D.prototype._enabled.call(this, a, b), + this._notifyPluginsOfEnabled && this._firstPT + ? G._onPluginEvent(a ? "_onEnable" : "_onDisable", this) + : !1 + ); + }), + (G.to = function (a, b, c) { + return new G(a, b, c); + }), + (G.from = function (a, b, c) { + return ( + (c.runBackwards = !0), + (c.immediateRender = 0 != c.immediateRender), + new G(a, b, c) + ); + }), + (G.fromTo = function (a, b, c, d) { + return ( + (d.startAt = c), + (d.immediateRender = + 0 != d.immediateRender && 0 != c.immediateRender), + new G(a, b, d) + ); + }), + (G.delayedCall = function (a, b, c, d, e) { + return new G(b, 0, { + delay: a, + onComplete: b, + onCompleteParams: c, + callbackScope: d, + onReverseComplete: b, + onReverseCompleteParams: c, + immediateRender: !1, + lazy: !1, + useFrames: e, + overwrite: 0, + }); + }), + (G.set = function (a, b) { + return new G(a, 0, b); + }), + (G.getTweensOf = function (a, b) { + if (null == a) return []; + a = "string" != typeof a ? a : G.selector(a) || a; + var c, d, e, f; + if ((p(a) || H(a)) && "number" != typeof a[0]) { + for (c = a.length, d = []; --c > -1; ) + d = d.concat(G.getTweensOf(a[c], b)); + for (c = d.length; --c > -1; ) + for (f = d[c], e = c; --e > -1; ) f === d[e] && d.splice(c, 1); + } else + for (d = Z(a).concat(), c = d.length; --c > -1; ) + (d[c]._gc || (b && !d[c].isActive())) && d.splice(c, 1); + return d; + }), + (G.killTweensOf = G.killDelayedCallsTo = + function (a, b, c) { + "object" == typeof b && ((c = b), (b = !1)); + for (var d = G.getTweensOf(a, b), e = d.length; --e > -1; ) + d[e]._kill(c, a); + }); + var ba = t( + "plugins.TweenPlugin", + function (a, b) { + (this._overwriteProps = (a || "").split(",")), + (this._propName = this._overwriteProps[0]), + (this._priority = b || 0), + (this._super = ba.prototype); + }, + !0 + ); + if ( + ((h = ba.prototype), + (ba.version = "1.19.0"), + (ba.API = 2), + (h._firstPT = null), + (h._addTween = O), + (h.setRatio = M), + (h._kill = function (a) { + var b, + c = this._overwriteProps, + d = this._firstPT; + if (null != a[this._propName]) this._overwriteProps = []; + else for (b = c.length; --b > -1; ) null != a[c[b]] && c.splice(b, 1); + for (; d; ) + null != a[d.n] && + (d._next && (d._next._prev = d._prev), + d._prev + ? ((d._prev._next = d._next), (d._prev = null)) + : this._firstPT === d && (this._firstPT = d._next)), + (d = d._next); + return !1; + }), + (h._mod = h._roundProps = + function (a) { + for (var b, c = this._firstPT; c; ) + (b = + a[this._propName] || + (null != c.n && a[c.n.split(this._propName + "_").join("")])), + b && + "function" == typeof b && + (2 === c.f ? (c.t._applyPT.m = b) : (c.m = b)), + (c = c._next); + }), + (G._onPluginEvent = function (a, b) { + var c, + d, + e, + f, + g, + h = b._firstPT; + if ("_onInitAllProps" === a) { + for (; h; ) { + for (g = h._next, d = e; d && d.pr > h.pr; ) d = d._next; + (h._prev = d ? d._prev : f) ? (h._prev._next = h) : (e = h), + (h._next = d) ? (d._prev = h) : (f = h), + (h = g); + } + h = b._firstPT = e; + } + for (; h; ) + h.pg && "function" == typeof h.t[a] && h.t[a]() && (c = !0), + (h = h._next); + return c; + }), + (ba.activate = function (a) { + for (var b = a.length; --b > -1; ) + a[b].API === ba.API && (Q[new a[b]()._propName] = a[b]); + return !0; + }), + (s.plugin = function (a) { + if (!(a && a.propName && a.init && a.API)) + throw "illegal plugin definition."; + var b, + c = a.propName, + d = a.priority || 0, + e = a.overwriteProps, + f = { + init: "_onInitTween", + set: "setRatio", + kill: "_kill", + round: "_mod", + mod: "_mod", + initAll: "_onInitAllProps", + }, + g = t( + "plugins." + c.charAt(0).toUpperCase() + c.substr(1) + "Plugin", + function () { + ba.call(this, c, d), (this._overwriteProps = e || []); + }, + a.global === !0 + ), + h = (g.prototype = new ba(c)); + (h.constructor = g), (g.API = a.API); + for (b in f) "function" == typeof a[b] && (h[f[b]] = a[b]); + return (g.version = a.version), ba.activate([g]), g; + }), + (f = a._gsQueue)) + ) { + for (g = 0; g < f.length; g++) f[g](); + for (h in q) + q[h].func || a.console.log("GSAP encountered missing dependency: " + h); + } + j = !1; + } +})( + "undefined" != typeof module && module.exports && "undefined" != typeof global + ? global + : this || window, + "TweenLite" +); +/* TIME LINE LITE */ +/*! + * VERSION: 1.17.0 + * DATE: 2015-05-27 + * UPDATES AND DOCS AT: http://greensock.com + * + * @license Copyright (c) 2008-2015, GreenSock. All rights reserved. + * This work is subject to the terms at http://greensock.com/standard-license or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +var _gsScope = + "undefined" != typeof module && module.exports && "undefined" != typeof global + ? global + : this || window; +(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { + "use strict"; + _gsScope._gsDefine( + "TimelineLite", + ["core.Animation", "core.SimpleTimeline", "TweenLite"], + function (t, e, i) { + var s = function (t) { + e.call(this, t), + (this._labels = {}), + (this.autoRemoveChildren = this.vars.autoRemoveChildren === !0), + (this.smoothChildTiming = this.vars.smoothChildTiming === !0), + (this._sortChildren = !0), + (this._onUpdate = this.vars.onUpdate); + var i, + s, + r = this.vars; + for (s in r) + (i = r[s]), + h(i) && + -1 !== i.join("").indexOf("{self}") && + (r[s] = this._swapSelfInParams(i)); + h(r.tweens) && this.add(r.tweens, 0, r.align, r.stagger); + }, + r = 1e-10, + n = i._internals, + a = (s._internals = {}), + o = n.isSelector, + h = n.isArray, + l = n.lazyTweens, + _ = n.lazyRender, + u = [], + f = _gsScope._gsDefine.globals, + c = function (t) { + var e, + i = {}; + for (e in t) i[e] = t[e]; + return i; + }, + p = (a.pauseCallback = function (t, e, i, s) { + var n, + a = t._timeline, + o = a._totalTime, + h = t._startTime, + l = 0 > t._rawPrevTime || (0 === t._rawPrevTime && a._reversed), + _ = l ? 0 : r, + f = l ? r : 0; + if (e || !this._forcingPlayhead) { + for (a.pause(h), n = t._prev; n && n._startTime === h; ) + (n._rawPrevTime = f), (n = n._prev); + for (n = t._next; n && n._startTime === h; ) + (n._rawPrevTime = _), (n = n._next); + e && e.apply(s || a.vars.callbackScope || a, i || u), + (this._forcingPlayhead || !a._paused) && a.seek(o); + } + }), + m = function (t) { + var e, + i = [], + s = t.length; + for (e = 0; e !== s; i.push(t[e++])); + return i; + }, + d = (s.prototype = new e()); + return ( + (s.version = "1.17.0"), + (d.constructor = s), + (d.kill()._gc = d._forcingPlayhead = !1), + (d.to = function (t, e, s, r) { + var n = (s.repeat && f.TweenMax) || i; + return e ? this.add(new n(t, e, s), r) : this.set(t, s, r); + }), + (d.from = function (t, e, s, r) { + return this.add(((s.repeat && f.TweenMax) || i).from(t, e, s), r); + }), + (d.fromTo = function (t, e, s, r, n) { + var a = (r.repeat && f.TweenMax) || i; + return e ? this.add(a.fromTo(t, e, s, r), n) : this.set(t, r, n); + }), + (d.staggerTo = function (t, e, r, n, a, h, l, _) { + var u, + f = new s({ + onComplete: h, + onCompleteParams: l, + callbackScope: _, + smoothChildTiming: this.smoothChildTiming, + }); + for ( + "string" == typeof t && (t = i.selector(t) || t), + t = t || [], + o(t) && (t = m(t)), + n = n || 0, + 0 > n && ((t = m(t)), t.reverse(), (n *= -1)), + u = 0; + t.length > u; + u++ + ) + r.startAt && (r.startAt = c(r.startAt)), f.to(t[u], e, c(r), u * n); + return this.add(f, a); + }), + (d.staggerFrom = function (t, e, i, s, r, n, a, o) { + return ( + (i.immediateRender = 0 != i.immediateRender), + (i.runBackwards = !0), + this.staggerTo(t, e, i, s, r, n, a, o) + ); + }), + (d.staggerFromTo = function (t, e, i, s, r, n, a, o, h) { + return ( + (s.startAt = i), + (s.immediateRender = + 0 != s.immediateRender && 0 != i.immediateRender), + this.staggerTo(t, e, s, r, n, a, o, h) + ); + }), + (d.call = function (t, e, s, r) { + return this.add(i.delayedCall(0, t, e, s), r); + }), + (d.set = function (t, e, s) { + return ( + (s = this._parseTimeOrLabel(s, 0, !0)), + null == e.immediateRender && + (e.immediateRender = s === this._time && !this._paused), + this.add(new i(t, 0, e), s) + ); + }), + (s.exportRoot = function (t, e) { + (t = t || {}), + null == t.smoothChildTiming && (t.smoothChildTiming = !0); + var r, + n, + a = new s(t), + o = a._timeline; + for ( + null == e && (e = !0), + o._remove(a, !0), + a._startTime = 0, + a._rawPrevTime = a._time = a._totalTime = o._time, + r = o._first; + r; + + ) + (n = r._next), + (e && r instanceof i && r.target === r.vars.onComplete) || + a.add(r, r._startTime - r._delay), + (r = n); + return o.add(a, 0), a; + }), + (d.add = function (r, n, a, o) { + var l, _, u, f, c, p; + if ( + ("number" != typeof n && (n = this._parseTimeOrLabel(n, 0, !0, r)), + !(r instanceof t)) + ) { + if (r instanceof Array || (r && r.push && h(r))) { + for ( + a = a || "normal", o = o || 0, l = n, _ = r.length, u = 0; + _ > u; + u++ + ) + h((f = r[u])) && (f = new s({ tweens: f })), + this.add(f, l), + "string" != typeof f && + "function" != typeof f && + ("sequence" === a + ? (l = f._startTime + f.totalDuration() / f._timeScale) + : "start" === a && (f._startTime -= f.delay())), + (l += o); + return this._uncache(!0); + } + if ("string" == typeof r) return this.addLabel(r, n); + if ("function" != typeof r) + throw ( + "Cannot add " + + r + + " into the timeline; it is not a tween, timeline, function, or string." + ); + r = i.delayedCall(0, r); + } + if ( + (e.prototype.add.call(this, r, n), + (this._gc || this._time === this._duration) && + !this._paused && + this._duration < this.duration()) + ) + for (c = this, p = c.rawTime() > r._startTime; c._timeline; ) + p && c._timeline.smoothChildTiming + ? c.totalTime(c._totalTime, !0) + : c._gc && c._enabled(!0, !1), + (c = c._timeline); + return this; + }), + (d.remove = function (e) { + if (e instanceof t) return this._remove(e, !1); + if (e instanceof Array || (e && e.push && h(e))) { + for (var i = e.length; --i > -1; ) this.remove(e[i]); + return this; + } + return "string" == typeof e + ? this.removeLabel(e) + : this.kill(null, e); + }), + (d._remove = function (t, i) { + e.prototype._remove.call(this, t, i); + var s = this._last; + return ( + s + ? this._time > s._startTime + s._totalDuration / s._timeScale && + ((this._time = this.duration()), + (this._totalTime = this._totalDuration)) + : (this._time = + this._totalTime = + this._duration = + this._totalDuration = + 0), + this + ); + }), + (d.append = function (t, e) { + return this.add(t, this._parseTimeOrLabel(null, e, !0, t)); + }), + (d.insert = d.insertMultiple = + function (t, e, i, s) { + return this.add(t, e || 0, i, s); + }), + (d.appendMultiple = function (t, e, i, s) { + return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, s); + }), + (d.addLabel = function (t, e) { + return (this._labels[t] = this._parseTimeOrLabel(e)), this; + }), + (d.addPause = function (t, e, s, r) { + var n = i.delayedCall(0, p, ["{self}", e, s, r], this); + return (n.data = "isPause"), this.add(n, t); + }), + (d.removeLabel = function (t) { + return delete this._labels[t], this; + }), + (d.getLabelTime = function (t) { + return null != this._labels[t] ? this._labels[t] : -1; + }), + (d._parseTimeOrLabel = function (e, i, s, r) { + var n; + if (r instanceof t && r.timeline === this) this.remove(r); + else if (r && (r instanceof Array || (r.push && h(r)))) + for (n = r.length; --n > -1; ) + r[n] instanceof t && r[n].timeline === this && this.remove(r[n]); + if ("string" == typeof i) + return this._parseTimeOrLabel( + i, + s && "number" == typeof e && null == this._labels[i] + ? e - this.duration() + : 0, + s + ); + if ( + ((i = i || 0), + "string" != typeof e || (!isNaN(e) && null == this._labels[e])) + ) + null == e && (e = this.duration()); + else { + if (((n = e.indexOf("=")), -1 === n)) + return null == this._labels[e] + ? s + ? (this._labels[e] = this.duration() + i) + : i + : this._labels[e] + i; + (i = parseInt(e.charAt(n - 1) + "1", 10) * Number(e.substr(n + 1))), + (e = + n > 1 + ? this._parseTimeOrLabel(e.substr(0, n - 1), 0, s) + : this.duration()); + } + return Number(e) + i; + }), + (d.seek = function (t, e) { + return this.totalTime( + "number" == typeof t ? t : this._parseTimeOrLabel(t), + e !== !1 + ); + }), + (d.stop = function () { + return this.paused(!0); + }), + (d.gotoAndPlay = function (t, e) { + return this.play(t, e); + }), + (d.gotoAndStop = function (t, e) { + return this.pause(t, e); + }), + (d.render = function (t, e, i) { + this._gc && this._enabled(!0, !1); + var s, + n, + a, + o, + h, + u = this._dirty ? this.totalDuration() : this._totalDuration, + f = this._time, + c = this._startTime, + p = this._timeScale, + m = this._paused; + if (t >= u) + (this._totalTime = this._time = u), + this._reversed || + this._hasPausedChild() || + ((n = !0), + (o = "onComplete"), + (h = !!this._timeline.autoRemoveChildren), + 0 === this._duration && + (0 === t || + 0 > this._rawPrevTime || + this._rawPrevTime === r) && + this._rawPrevTime !== t && + this._first && + ((h = !0), + this._rawPrevTime > r && (o = "onReverseComplete"))), + (this._rawPrevTime = + this._duration || !e || t || this._rawPrevTime === t ? t : r), + (t = u + 1e-4); + else if (1e-7 > t) + if ( + ((this._totalTime = this._time = 0), + (0 !== f || + (0 === this._duration && + this._rawPrevTime !== r && + (this._rawPrevTime > 0 || + (0 > t && this._rawPrevTime >= 0)))) && + ((o = "onReverseComplete"), (n = this._reversed)), + 0 > t) + ) + (this._active = !1), + this._timeline.autoRemoveChildren && this._reversed + ? ((h = n = !0), (o = "onReverseComplete")) + : this._rawPrevTime >= 0 && this._first && (h = !0), + (this._rawPrevTime = t); + else { + if ( + ((this._rawPrevTime = + this._duration || !e || t || this._rawPrevTime === t ? t : r), + 0 === t && n) + ) + for (s = this._first; s && 0 === s._startTime; ) + s._duration || (n = !1), (s = s._next); + (t = 0), this._initted || (h = !0); + } + else this._totalTime = this._time = this._rawPrevTime = t; + if ((this._time !== f && this._first) || i || h) { + if ( + (this._initted || (this._initted = !0), + this._active || + (!this._paused && + this._time !== f && + t > 0 && + (this._active = !0)), + 0 === f && + this.vars.onStart && + 0 !== this._time && + (e || this._callback("onStart")), + this._time >= f) + ) + for (s = this._first; s && ((a = s._next), !this._paused || m); ) + (s._active || + (s._startTime <= this._time && !s._paused && !s._gc)) && + (s._reversed + ? s.render( + (s._dirty ? s.totalDuration() : s._totalDuration) - + (t - s._startTime) * s._timeScale, + e, + i + ) + : s.render((t - s._startTime) * s._timeScale, e, i)), + (s = a); + else + for (s = this._last; s && ((a = s._prev), !this._paused || m); ) + (s._active || (f >= s._startTime && !s._paused && !s._gc)) && + (s._reversed + ? s.render( + (s._dirty ? s.totalDuration() : s._totalDuration) - + (t - s._startTime) * s._timeScale, + e, + i + ) + : s.render((t - s._startTime) * s._timeScale, e, i)), + (s = a); + this._onUpdate && + (e || (l.length && _(), this._callback("onUpdate"))), + o && + (this._gc || + ((c === this._startTime || p !== this._timeScale) && + (0 === this._time || u >= this.totalDuration()) && + (n && + (l.length && _(), + this._timeline.autoRemoveChildren && + this._enabled(!1, !1), + (this._active = !1)), + !e && this.vars[o] && this._callback(o)))); + } + }), + (d._hasPausedChild = function () { + for (var t = this._first; t; ) { + if (t._paused || (t instanceof s && t._hasPausedChild())) return !0; + t = t._next; + } + return !1; + }), + (d.getChildren = function (t, e, s, r) { + r = r || -9999999999; + for (var n = [], a = this._first, o = 0; a; ) + r > a._startTime || + (a instanceof i + ? e !== !1 && (n[o++] = a) + : (s !== !1 && (n[o++] = a), + t !== !1 && + ((n = n.concat(a.getChildren(!0, e, s))), (o = n.length)))), + (a = a._next); + return n; + }), + (d.getTweensOf = function (t, e) { + var s, + r, + n = this._gc, + a = [], + o = 0; + for ( + n && this._enabled(!0, !0), s = i.getTweensOf(t), r = s.length; + --r > -1; + + ) + (s[r].timeline === this || (e && this._contains(s[r]))) && + (a[o++] = s[r]); + return n && this._enabled(!1, !0), a; + }), + (d.recent = function () { + return this._recent; + }), + (d._contains = function (t) { + for (var e = t.timeline; e; ) { + if (e === this) return !0; + e = e.timeline; + } + return !1; + }), + (d.shiftChildren = function (t, e, i) { + i = i || 0; + for (var s, r = this._first, n = this._labels; r; ) + r._startTime >= i && (r._startTime += t), (r = r._next); + if (e) for (s in n) n[s] >= i && (n[s] += t); + return this._uncache(!0); + }), + (d._kill = function (t, e) { + if (!t && !e) return this._enabled(!1, !1); + for ( + var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), + s = i.length, + r = !1; + --s > -1; + + ) + i[s]._kill(t, e) && (r = !0); + return r; + }), + (d.clear = function (t) { + var e = this.getChildren(!1, !0, !0), + i = e.length; + for (this._time = this._totalTime = 0; --i > -1; ) + e[i]._enabled(!1, !1); + return t !== !1 && (this._labels = {}), this._uncache(!0); + }), + (d.invalidate = function () { + for (var e = this._first; e; ) e.invalidate(), (e = e._next); + return t.prototype.invalidate.call(this); + }), + (d._enabled = function (t, i) { + if (t === this._gc) + for (var s = this._first; s; ) s._enabled(t, !0), (s = s._next); + return e.prototype._enabled.call(this, t, i); + }), + (d.totalTime = function () { + this._forcingPlayhead = !0; + var e = t.prototype.totalTime.apply(this, arguments); + return (this._forcingPlayhead = !1), e; + }), + (d.duration = function (t) { + return arguments.length + ? (0 !== this.duration() && + 0 !== t && + this.timeScale(this._duration / t), + this) + : (this._dirty && this.totalDuration(), this._duration); + }), + (d.totalDuration = function (t) { + if (!arguments.length) { + if (this._dirty) { + for (var e, i, s = 0, r = this._last, n = 999999999999; r; ) + (e = r._prev), + r._dirty && r.totalDuration(), + r._startTime > n && this._sortChildren && !r._paused + ? this.add(r, r._startTime - r._delay) + : (n = r._startTime), + 0 > r._startTime && + !r._paused && + ((s -= r._startTime), + this._timeline.smoothChildTiming && + (this._startTime += r._startTime / this._timeScale), + this.shiftChildren(-r._startTime, !1, -9999999999), + (n = 0)), + (i = r._startTime + r._totalDuration / r._timeScale), + i > s && (s = i), + (r = e); + (this._duration = this._totalDuration = s), (this._dirty = !1); + } + return this._totalDuration; + } + return ( + 0 !== this.totalDuration() && + 0 !== t && + this.timeScale(this._totalDuration / t), + this + ); + }), + (d.paused = function (e) { + if (!e) + for (var i = this._first, s = this._time; i; ) + i._startTime === s && + "isPause" === i.data && + (i._rawPrevTime = 0), + (i = i._next); + return t.prototype.paused.apply(this, arguments); + }), + (d.usesFrames = function () { + for (var e = this._timeline; e._timeline; ) e = e._timeline; + return e === t._rootFramesTimeline; + }), + (d.rawTime = function () { + return this._paused + ? this._totalTime + : (this._timeline.rawTime() - this._startTime) * this._timeScale; + }), + s + ); + }, + !0 + ); +}), + _gsScope._gsDefine && _gsScope._gsQueue.pop()(), + (function (t) { + "use strict"; + var e = function () { + return (_gsScope.GreenSockGlobals || _gsScope)[t]; + }; + "function" == typeof define && define.amd + ? define(["TweenLite"], e) + : "undefined" != typeof module && + module.exports && + (require("./TweenLite.js"), (module.exports = e())); + })("TimelineLite"); + +/* EASING PLUGIN*/ +/*! + * VERSION: 1.15.5 + * DATE: 2016-07-08 + * UPDATES AND DOCS AT: http://greensock.com + * + * @license Copyright (c) 2008-2016, GreenSock. All rights reserved. + * This work is subject to the terms at http://greensock.com/standard-license or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + **/ +var _gsScope = + "undefined" != typeof module && module.exports && "undefined" != typeof global + ? global + : this || window; +(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { + "use strict"; + _gsScope._gsDefine( + "easing.Back", + ["easing.Ease"], + function (a) { + var b, + c, + d, + e = _gsScope.GreenSockGlobals || _gsScope, + f = e.com.greensock, + g = 2 * Math.PI, + h = Math.PI / 2, + i = f._class, + j = function (b, c) { + var d = i("easing." + b, function () {}, !0), + e = (d.prototype = new a()); + return (e.constructor = d), (e.getRatio = c), d; + }, + k = a.register || function () {}, + l = function (a, b, c, d, e) { + var f = i( + "easing." + a, + { easeOut: new b(), easeIn: new c(), easeInOut: new d() }, + !0 + ); + return k(f, a), f; + }, + m = function (a, b, c) { + (this.t = a), + (this.v = b), + c && + ((this.next = c), + (c.prev = this), + (this.c = c.v - b), + (this.gap = c.t - a)); + }, + n = function (b, c) { + var d = i( + "easing." + b, + function (a) { + (this._p1 = a || 0 === a ? a : 1.70158), + (this._p2 = 1.525 * this._p1); + }, + !0 + ), + e = (d.prototype = new a()); + return ( + (e.constructor = d), + (e.getRatio = c), + (e.config = function (a) { + return new d(a); + }), + d + ); + }, + o = l( + "Back", + n("BackOut", function (a) { + return (a -= 1) * a * ((this._p1 + 1) * a + this._p1) + 1; + }), + n("BackIn", function (a) { + return a * a * ((this._p1 + 1) * a - this._p1); + }), + n("BackInOut", function (a) { + return (a *= 2) < 1 + ? 0.5 * a * a * ((this._p2 + 1) * a - this._p2) + : 0.5 * ((a -= 2) * a * ((this._p2 + 1) * a + this._p2) + 2); + }) + ), + p = i( + "easing.SlowMo", + function (a, b, c) { + (b = b || 0 === b ? b : 0.7), + null == a ? (a = 0.7) : a > 1 && (a = 1), + (this._p = 1 !== a ? b : 0), + (this._p1 = (1 - a) / 2), + (this._p2 = a), + (this._p3 = this._p1 + this._p2), + (this._calcEnd = c === !0); + }, + !0 + ), + q = (p.prototype = new a()); + return ( + (q.constructor = p), + (q.getRatio = function (a) { + var b = a + (0.5 - a) * this._p; + return a < this._p1 + ? this._calcEnd + ? 1 - (a = 1 - a / this._p1) * a + : b - (a = 1 - a / this._p1) * a * a * a * b + : a > this._p3 + ? this._calcEnd + ? 1 - (a = (a - this._p3) / this._p1) * a + : b + (a - b) * (a = (a - this._p3) / this._p1) * a * a * a + : this._calcEnd + ? 1 + : b; + }), + (p.ease = new p(0.7, 0.7)), + (q.config = p.config = + function (a, b, c) { + return new p(a, b, c); + }), + (b = i( + "easing.SteppedEase", + function (a) { + (a = a || 1), (this._p1 = 1 / a), (this._p2 = a + 1); + }, + !0 + )), + (q = b.prototype = new a()), + (q.constructor = b), + (q.getRatio = function (a) { + return ( + 0 > a ? (a = 0) : a >= 1 && (a = 0.999999999), + ((this._p2 * a) >> 0) * this._p1 + ); + }), + (q.config = b.config = + function (a) { + return new b(a); + }), + (c = i( + "easing.RoughEase", + function (b) { + b = b || {}; + for ( + var c, + d, + e, + f, + g, + h, + i = b.taper || "none", + j = [], + k = 0, + l = 0 | (b.points || 20), + n = l, + o = b.randomize !== !1, + p = b.clamp === !0, + q = b.template instanceof a ? b.template : null, + r = "number" == typeof b.strength ? 0.4 * b.strength : 0.4; + --n > -1; + + ) + (c = o ? Math.random() : (1 / l) * n), + (d = q ? q.getRatio(c) : c), + "none" === i + ? (e = r) + : "out" === i + ? ((f = 1 - c), (e = f * f * r)) + : "in" === i + ? (e = c * c * r) + : 0.5 > c + ? ((f = 2 * c), (e = f * f * 0.5 * r)) + : ((f = 2 * (1 - c)), (e = f * f * 0.5 * r)), + o + ? (d += Math.random() * e - 0.5 * e) + : n % 2 + ? (d += 0.5 * e) + : (d -= 0.5 * e), + p && (d > 1 ? (d = 1) : 0 > d && (d = 0)), + (j[k++] = { x: c, y: d }); + for ( + j.sort(function (a, b) { + return a.x - b.x; + }), + h = new m(1, 1, null), + n = l; + --n > -1; + + ) + (g = j[n]), (h = new m(g.x, g.y, h)); + this._prev = new m(0, 0, 0 !== h.t ? h : h.next); + }, + !0 + )), + (q = c.prototype = new a()), + (q.constructor = c), + (q.getRatio = function (a) { + var b = this._prev; + if (a > b.t) { + for (; b.next && a >= b.t; ) b = b.next; + b = b.prev; + } else for (; b.prev && a <= b.t; ) b = b.prev; + return (this._prev = b), b.v + ((a - b.t) / b.gap) * b.c; + }), + (q.config = function (a) { + return new c(a); + }), + (c.ease = new c()), + l( + "Bounce", + j("BounceOut", function (a) { + return 1 / 2.75 > a + ? 7.5625 * a * a + : 2 / 2.75 > a + ? 7.5625 * (a -= 1.5 / 2.75) * a + 0.75 + : 2.5 / 2.75 > a + ? 7.5625 * (a -= 2.25 / 2.75) * a + 0.9375 + : 7.5625 * (a -= 2.625 / 2.75) * a + 0.984375; + }), + j("BounceIn", function (a) { + return (a = 1 - a) < 1 / 2.75 + ? 1 - 7.5625 * a * a + : 2 / 2.75 > a + ? 1 - (7.5625 * (a -= 1.5 / 2.75) * a + 0.75) + : 2.5 / 2.75 > a + ? 1 - (7.5625 * (a -= 2.25 / 2.75) * a + 0.9375) + : 1 - (7.5625 * (a -= 2.625 / 2.75) * a + 0.984375); + }), + j("BounceInOut", function (a) { + var b = 0.5 > a; + return ( + (a = b ? 1 - 2 * a : 2 * a - 1), + (a = + 1 / 2.75 > a + ? 7.5625 * a * a + : 2 / 2.75 > a + ? 7.5625 * (a -= 1.5 / 2.75) * a + 0.75 + : 2.5 / 2.75 > a + ? 7.5625 * (a -= 2.25 / 2.75) * a + 0.9375 + : 7.5625 * (a -= 2.625 / 2.75) * a + 0.984375), + b ? 0.5 * (1 - a) : 0.5 * a + 0.5 + ); + }) + ), + l( + "Circ", + j("CircOut", function (a) { + return Math.sqrt(1 - (a -= 1) * a); + }), + j("CircIn", function (a) { + return -(Math.sqrt(1 - a * a) - 1); + }), + j("CircInOut", function (a) { + return (a *= 2) < 1 + ? -0.5 * (Math.sqrt(1 - a * a) - 1) + : 0.5 * (Math.sqrt(1 - (a -= 2) * a) + 1); + }) + ), + (d = function (b, c, d) { + var e = i( + "easing." + b, + function (a, b) { + (this._p1 = a >= 1 ? a : 1), + (this._p2 = (b || d) / (1 > a ? a : 1)), + (this._p3 = (this._p2 / g) * (Math.asin(1 / this._p1) || 0)), + (this._p2 = g / this._p2); + }, + !0 + ), + f = (e.prototype = new a()); + return ( + (f.constructor = e), + (f.getRatio = c), + (f.config = function (a, b) { + return new e(a, b); + }), + e + ); + }), + l( + "Elastic", + d( + "ElasticOut", + function (a) { + return ( + this._p1 * + Math.pow(2, -10 * a) * + Math.sin((a - this._p3) * this._p2) + + 1 + ); + }, + 0.3 + ), + d( + "ElasticIn", + function (a) { + return -( + this._p1 * + Math.pow(2, 10 * (a -= 1)) * + Math.sin((a - this._p3) * this._p2) + ); + }, + 0.3 + ), + d( + "ElasticInOut", + function (a) { + return (a *= 2) < 1 + ? -0.5 * + (this._p1 * + Math.pow(2, 10 * (a -= 1)) * + Math.sin((a - this._p3) * this._p2)) + : this._p1 * + Math.pow(2, -10 * (a -= 1)) * + Math.sin((a - this._p3) * this._p2) * + 0.5 + + 1; + }, + 0.45 + ) + ), + l( + "Expo", + j("ExpoOut", function (a) { + return 1 - Math.pow(2, -10 * a); + }), + j("ExpoIn", function (a) { + return Math.pow(2, 10 * (a - 1)) - 0.001; + }), + j("ExpoInOut", function (a) { + return (a *= 2) < 1 + ? 0.5 * Math.pow(2, 10 * (a - 1)) + : 0.5 * (2 - Math.pow(2, -10 * (a - 1))); + }) + ), + l( + "Sine", + j("SineOut", function (a) { + return Math.sin(a * h); + }), + j("SineIn", function (a) { + return -Math.cos(a * h) + 1; + }), + j("SineInOut", function (a) { + return -0.5 * (Math.cos(Math.PI * a) - 1); + }) + ), + i( + "easing.EaseLookup", + { + find: function (b) { + return a.map[b]; + }, + }, + !0 + ), + k(e.SlowMo, "SlowMo", "ease,"), + k(c, "RoughEase", "ease,"), + k(b, "SteppedEase", "ease,"), + o + ); + }, + !0 + ); +}), + _gsScope._gsDefine && _gsScope._gsQueue.pop()(), + (function () { + "use strict"; + var a = function () { + return _gsScope.GreenSockGlobals || _gsScope; + }; + "function" == typeof define && define.amd + ? define(["TweenLite"], a) + : "undefined" != typeof module && + module.exports && + (require("../TweenLite.js"), (module.exports = a())); + })(); + +/* CSS PLUGIN */ +/*! + * VERSION: 1.19.1 + * DATE: 2017-01-17 + * UPDATES AND DOCS AT: http://greensock.com + * + * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. + * This work is subject to the terms at http://greensock.com/standard-license or for + * Club GreenSock members, the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +var _gsScope = + "undefined" != typeof module && module.exports && "undefined" != typeof global + ? global + : this || window; +(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () { + "use strict"; + _gsScope._gsDefine( + "plugins.CSSPlugin", + ["plugins.TweenPlugin", "TweenLite"], + function (a, b) { + var c, + d, + e, + f, + g = function () { + a.call(this, "css"), + (this._overwriteProps.length = 0), + (this.setRatio = g.prototype.setRatio); + }, + h = _gsScope._gsDefine.globals, + i = {}, + j = (g.prototype = new a("css")); + (j.constructor = g), + (g.version = "1.19.1"), + (g.API = 2), + (g.defaultTransformPerspective = 0), + (g.defaultSkewType = "compensated"), + (g.defaultSmoothOrigin = !0), + (j = "px"), + (g.suffixMap = { + top: j, + right: j, + bottom: j, + left: j, + width: j, + height: j, + fontSize: j, + padding: j, + margin: j, + perspective: j, + lineHeight: "", + }); + var k, + l, + m, + n, + o, + p, + q, + r, + s = /(?:\-|\.|\b)(\d|\.|e\-)+/g, + t = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, + u = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, + v = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, + w = /(?:\d|\-|\+|=|#|\.)*/g, + x = /opacity *= *([^)]*)/i, + y = /opacity:([^;]*)/i, + z = /alpha\(opacity *=.+?\)/i, + A = /^(rgb|hsl)/, + B = /([A-Z])/g, + C = /-([a-z])/gi, + D = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, + E = function (a, b) { + return b.toUpperCase(); + }, + F = /(?:Left|Right|Width)/i, + G = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, + H = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, + I = /,(?=[^\)]*(?:\(|$))/gi, + J = /[\s,\(]/i, + K = Math.PI / 180, + L = 180 / Math.PI, + M = {}, + N = { style: {} }, + O = _gsScope.document || { + createElement: function () { + return N; + }, + }, + P = function (a, b) { + return O.createElementNS + ? O.createElementNS(b || "http://www.w3.org/1999/xhtml", a) + : O.createElement(a); + }, + Q = P("div"), + R = P("img"), + S = (g._internals = { _specialProps: i }), + T = (_gsScope.navigator || {}).userAgent || "", + U = (function () { + var a = T.indexOf("Android"), + b = P("a"); + return ( + (m = + -1 !== T.indexOf("Safari") && + -1 === T.indexOf("Chrome") && + (-1 === a || parseFloat(T.substr(a + 8, 2)) > 3)), + (o = m && parseFloat(T.substr(T.indexOf("Version/") + 8, 2)) < 6), + (n = -1 !== T.indexOf("Firefox")), + (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T) || + /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T)) && + (p = parseFloat(RegExp.$1)), + b + ? ((b.style.cssText = "top:1px;opacity:.55;"), + /^0.55/.test(b.style.opacity)) + : !1 + ); + })(), + V = function (a) { + return x.test( + "string" == typeof a + ? a + : (a.currentStyle ? a.currentStyle.filter : a.style.filter) || "" + ) + ? parseFloat(RegExp.$1) / 100 + : 1; + }, + W = function (a) { + _gsScope.console && console.log(a); + }, + X = "", + Y = "", + Z = function (a, b) { + b = b || Q; + var c, + d, + e = b.style; + if (void 0 !== e[a]) return a; + for ( + a = a.charAt(0).toUpperCase() + a.substr(1), + c = ["O", "Moz", "ms", "Ms", "Webkit"], + d = 5; + --d > -1 && void 0 === e[c[d] + a]; + + ); + return d >= 0 + ? ((Y = 3 === d ? "ms" : c[d]), + (X = "-" + Y.toLowerCase() + "-"), + Y + a) + : null; + }, + $ = O.defaultView ? O.defaultView.getComputedStyle : function () {}, + _ = (g.getStyle = function (a, b, c, d, e) { + var f; + return U || "opacity" !== b + ? (!d && a.style[b] + ? (f = a.style[b]) + : (c = c || $(a)) + ? (f = + c[b] || + c.getPropertyValue(b) || + c.getPropertyValue(b.replace(B, "-$1").toLowerCase())) + : a.currentStyle && (f = a.currentStyle[b]), + null == e || + (f && "none" !== f && "auto" !== f && "auto auto" !== f) + ? f + : e) + : V(a); + }), + aa = (S.convertToPixels = function (a, c, d, e, f) { + if ("px" === e || !e) return d; + if ("auto" === e || !d) return 0; + var h, + i, + j, + k = F.test(c), + l = a, + m = Q.style, + n = 0 > d, + o = 1 === d; + if ( + (n && (d = -d), + o && (d *= 100), + "%" === e && -1 !== c.indexOf("border")) + ) + h = (d / 100) * (k ? a.clientWidth : a.clientHeight); + else { + if ( + ((m.cssText = + "border:0 solid red;position:" + + _(a, "position") + + ";line-height:0;"), + "%" !== e && l.appendChild && "v" !== e.charAt(0) && "rem" !== e) + ) + m[k ? "borderLeftWidth" : "borderTopWidth"] = d + e; + else { + if ( + ((l = a.parentNode || O.body), + (i = l._gsCache), + (j = b.ticker.frame), + i && k && i.time === j) + ) + return (i.width * d) / 100; + m[k ? "width" : "height"] = d + e; + } + l.appendChild(Q), + (h = parseFloat(Q[k ? "offsetWidth" : "offsetHeight"])), + l.removeChild(Q), + k && + "%" === e && + g.cacheWidths !== !1 && + ((i = l._gsCache = l._gsCache || {}), + (i.time = j), + (i.width = (h / d) * 100)), + 0 !== h || f || (h = aa(a, c, d, e, !0)); + } + return o && (h /= 100), n ? -h : h; + }), + ba = (S.calculateOffset = function (a, b, c) { + if ("absolute" !== _(a, "position", c)) return 0; + var d = "left" === b ? "Left" : "Top", + e = _(a, "margin" + d, c); + return ( + a["offset" + d] - (aa(a, b, parseFloat(e), e.replace(w, "")) || 0) + ); + }), + ca = function (a, b) { + var c, + d, + e, + f = {}; + if ((b = b || $(a, null))) + if ((c = b.length)) + for (; --c > -1; ) + (e = b[c]), + (-1 === e.indexOf("-transform") || Da === e) && + (f[e.replace(C, E)] = b.getPropertyValue(e)); + else + for (c in b) + (-1 === c.indexOf("Transform") || Ca === c) && (f[c] = b[c]); + else if ((b = a.currentStyle || a.style)) + for (c in b) + "string" == typeof c && + void 0 === f[c] && + (f[c.replace(C, E)] = b[c]); + return ( + U || (f.opacity = V(a)), + (d = Ra(a, b, !1)), + (f.rotation = d.rotation), + (f.skewX = d.skewX), + (f.scaleX = d.scaleX), + (f.scaleY = d.scaleY), + (f.x = d.x), + (f.y = d.y), + Fa && + ((f.z = d.z), + (f.rotationX = d.rotationX), + (f.rotationY = d.rotationY), + (f.scaleZ = d.scaleZ)), + f.filters && delete f.filters, + f + ); + }, + da = function (a, b, c, d, e) { + var f, + g, + h, + i = {}, + j = a.style; + for (g in c) + "cssText" !== g && + "length" !== g && + isNaN(g) && + (b[g] !== (f = c[g]) || (e && e[g])) && + -1 === g.indexOf("Origin") && + ("number" == typeof f || "string" == typeof f) && + ((i[g] = + "auto" !== f || ("left" !== g && "top" !== g) + ? ("" !== f && "auto" !== f && "none" !== f) || + "string" != typeof b[g] || + "" === b[g].replace(v, "") + ? f + : 0 + : ba(a, g)), + void 0 !== j[g] && (h = new sa(j, g, j[g], h))); + if (d) for (g in d) "className" !== g && (i[g] = d[g]); + return { difs: i, firstMPT: h }; + }, + ea = { width: ["Left", "Right"], height: ["Top", "Bottom"] }, + fa = ["marginLeft", "marginRight", "marginTop", "marginBottom"], + ga = function (a, b, c) { + if ("svg" === (a.nodeName + "").toLowerCase()) + return (c || $(a))[b] || 0; + if (a.getCTM && Oa(a)) return a.getBBox()[b] || 0; + var d = parseFloat("width" === b ? a.offsetWidth : a.offsetHeight), + e = ea[b], + f = e.length; + for (c = c || $(a, null); --f > -1; ) + (d -= parseFloat(_(a, "padding" + e[f], c, !0)) || 0), + (d -= parseFloat(_(a, "border" + e[f] + "Width", c, !0)) || 0); + return d; + }, + ha = function (a, b) { + if ("contain" === a || "auto" === a || "auto auto" === a) + return a + " "; + (null == a || "" === a) && (a = "0 0"); + var c, + d = a.split(" "), + e = + -1 !== a.indexOf("left") + ? "0%" + : -1 !== a.indexOf("right") + ? "100%" + : d[0], + f = + -1 !== a.indexOf("top") + ? "0%" + : -1 !== a.indexOf("bottom") + ? "100%" + : d[1]; + if (d.length > 3 && !b) { + for ( + d = a.split(", ").join(",").split(","), a = [], c = 0; + c < d.length; + c++ + ) + a.push(ha(d[c])); + return a.join(","); + } + return ( + null == f + ? (f = "center" === e ? "50%" : "0") + : "center" === f && (f = "50%"), + ("center" === e || + (isNaN(parseFloat(e)) && -1 === (e + "").indexOf("="))) && + (e = "50%"), + (a = e + " " + f + (d.length > 2 ? " " + d[2] : "")), + b && + ((b.oxp = -1 !== e.indexOf("%")), + (b.oyp = -1 !== f.indexOf("%")), + (b.oxr = "=" === e.charAt(1)), + (b.oyr = "=" === f.charAt(1)), + (b.ox = parseFloat(e.replace(v, ""))), + (b.oy = parseFloat(f.replace(v, ""))), + (b.v = a)), + b || a + ); + }, + ia = function (a, b) { + return ( + "function" == typeof a && (a = a(r, q)), + "string" == typeof a && "=" === a.charAt(1) + ? parseInt(a.charAt(0) + "1", 10) * parseFloat(a.substr(2)) + : parseFloat(a) - parseFloat(b) || 0 + ); + }, + ja = function (a, b) { + return ( + "function" == typeof a && (a = a(r, q)), + null == a + ? b + : "string" == typeof a && "=" === a.charAt(1) + ? parseInt(a.charAt(0) + "1", 10) * parseFloat(a.substr(2)) + b + : parseFloat(a) || 0 + ); + }, + ka = function (a, b, c, d) { + var e, + f, + g, + h, + i, + j = 1e-6; + return ( + "function" == typeof a && (a = a(r, q)), + null == a + ? (h = b) + : "number" == typeof a + ? (h = a) + : ((e = 360), + (f = a.split("_")), + (i = "=" === a.charAt(1)), + (g = + (i + ? parseInt(a.charAt(0) + "1", 10) * + parseFloat(f[0].substr(2)) + : parseFloat(f[0])) * + (-1 === a.indexOf("rad") ? 1 : L) - + (i ? 0 : b)), + f.length && + (d && (d[c] = b + g), + -1 !== a.indexOf("short") && + ((g %= e), + g !== g % (e / 2) && (g = 0 > g ? g + e : g - e)), + -1 !== a.indexOf("_cw") && 0 > g + ? (g = ((g + 9999999999 * e) % e) - ((g / e) | 0) * e) + : -1 !== a.indexOf("ccw") && + g > 0 && + (g = ((g - 9999999999 * e) % e) - ((g / e) | 0) * e)), + (h = b + g)), + j > h && h > -j && (h = 0), + h + ); + }, + la = { + aqua: [0, 255, 255], + lime: [0, 255, 0], + silver: [192, 192, 192], + black: [0, 0, 0], + maroon: [128, 0, 0], + teal: [0, 128, 128], + blue: [0, 0, 255], + navy: [0, 0, 128], + white: [255, 255, 255], + fuchsia: [255, 0, 255], + olive: [128, 128, 0], + yellow: [255, 255, 0], + orange: [255, 165, 0], + gray: [128, 128, 128], + purple: [128, 0, 128], + green: [0, 128, 0], + red: [255, 0, 0], + pink: [255, 192, 203], + cyan: [0, 255, 255], + transparent: [255, 255, 255, 0], + }, + ma = function (a, b, c) { + return ( + (a = 0 > a ? a + 1 : a > 1 ? a - 1 : a), + (255 * + (1 > 6 * a + ? b + (c - b) * a * 6 + : 0.5 > a + ? c + : 2 > 3 * a + ? b + (c - b) * (2 / 3 - a) * 6 + : b) + + 0.5) | + 0 + ); + }, + na = (g.parseColor = function (a, b) { + var c, d, e, f, g, h, i, j, k, l, m; + if (a) + if ("number" == typeof a) c = [a >> 16, (a >> 8) & 255, 255 & a]; + else { + if ( + ("," === a.charAt(a.length - 1) && + (a = a.substr(0, a.length - 1)), + la[a]) + ) + c = la[a]; + else if ("#" === a.charAt(0)) + 4 === a.length && + ((d = a.charAt(1)), + (e = a.charAt(2)), + (f = a.charAt(3)), + (a = "#" + d + d + e + e + f + f)), + (a = parseInt(a.substr(1), 16)), + (c = [a >> 16, (a >> 8) & 255, 255 & a]); + else if ("hsl" === a.substr(0, 3)) + if (((c = m = a.match(s)), b)) { + if (-1 !== a.indexOf("=")) return a.match(t); + } else + (g = (Number(c[0]) % 360) / 360), + (h = Number(c[1]) / 100), + (i = Number(c[2]) / 100), + (e = 0.5 >= i ? i * (h + 1) : i + h - i * h), + (d = 2 * i - e), + c.length > 3 && (c[3] = Number(a[3])), + (c[0] = ma(g + 1 / 3, d, e)), + (c[1] = ma(g, d, e)), + (c[2] = ma(g - 1 / 3, d, e)); + else c = a.match(s) || la.transparent; + (c[0] = Number(c[0])), + (c[1] = Number(c[1])), + (c[2] = Number(c[2])), + c.length > 3 && (c[3] = Number(c[3])); + } + else c = la.black; + return ( + b && + !m && + ((d = c[0] / 255), + (e = c[1] / 255), + (f = c[2] / 255), + (j = Math.max(d, e, f)), + (k = Math.min(d, e, f)), + (i = (j + k) / 2), + j === k + ? (g = h = 0) + : ((l = j - k), + (h = i > 0.5 ? l / (2 - j - k) : l / (j + k)), + (g = + j === d + ? (e - f) / l + (f > e ? 6 : 0) + : j === e + ? (f - d) / l + 2 + : (d - e) / l + 4), + (g *= 60)), + (c[0] = (g + 0.5) | 0), + (c[1] = (100 * h + 0.5) | 0), + (c[2] = (100 * i + 0.5) | 0)), + c + ); + }), + oa = function (a, b) { + var c, + d, + e, + f = a.match(pa) || [], + g = 0, + h = f.length ? "" : a; + for (c = 0; c < f.length; c++) + (d = f[c]), + (e = a.substr(g, a.indexOf(d, g) - g)), + (g += e.length + d.length), + (d = na(d, b)), + 3 === d.length && d.push(1), + (h += + e + + (b + ? "hsla(" + d[0] + "," + d[1] + "%," + d[2] + "%," + d[3] + : "rgba(" + d.join(",")) + + ")"); + return h + a.substr(g); + }, + pa = + "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b"; + for (j in la) pa += "|" + j + "\\b"; + (pa = new RegExp(pa + ")", "gi")), + (g.colorStringFilter = function (a) { + var b, + c = a[0] + a[1]; + pa.test(c) && + ((b = -1 !== c.indexOf("hsl(") || -1 !== c.indexOf("hsla(")), + (a[0] = oa(a[0], b)), + (a[1] = oa(a[1], b))), + (pa.lastIndex = 0); + }), + b.defaultStringFilter || (b.defaultStringFilter = g.colorStringFilter); + var qa = function (a, b, c, d) { + if (null == a) + return function (a) { + return a; + }; + var e, + f = b ? (a.match(pa) || [""])[0] : "", + g = a.split(f).join("").match(u) || [], + h = a.substr(0, a.indexOf(g[0])), + i = ")" === a.charAt(a.length - 1) ? ")" : "", + j = -1 !== a.indexOf(" ") ? " " : ",", + k = g.length, + l = k > 0 ? g[0].replace(s, "") : ""; + return k + ? (e = b + ? function (a) { + var b, m, n, o; + if ("number" == typeof a) a += l; + else if (d && I.test(a)) { + for ( + o = a.replace(I, "|").split("|"), n = 0; + n < o.length; + n++ + ) + o[n] = e(o[n]); + return o.join(","); + } + if ( + ((b = (a.match(pa) || [f])[0]), + (m = a.split(b).join("").match(u) || []), + (n = m.length), + k > n--) + ) + for (; ++n < k; ) m[n] = c ? m[((n - 1) / 2) | 0] : g[n]; + return ( + h + + m.join(j) + + j + + b + + i + + (-1 !== a.indexOf("inset") ? " inset" : "") + ); + } + : function (a) { + var b, f, m; + if ("number" == typeof a) a += l; + else if (d && I.test(a)) { + for ( + f = a.replace(I, "|").split("|"), m = 0; + m < f.length; + m++ + ) + f[m] = e(f[m]); + return f.join(","); + } + if (((b = a.match(u) || []), (m = b.length), k > m--)) + for (; ++m < k; ) b[m] = c ? b[((m - 1) / 2) | 0] : g[m]; + return h + b.join(j) + i; + }) + : function (a) { + return a; + }; + }, + ra = function (a) { + return ( + (a = a.split(",")), + function (b, c, d, e, f, g, h) { + var i, + j = (c + "").split(" "); + for (h = {}, i = 0; 4 > i; i++) + h[a[i]] = j[i] = j[i] || j[((i - 1) / 2) >> 0]; + return e.parse(b, h, f, g); + } + ); + }, + sa = + ((S._setPluginRatio = function (a) { + this.plugin.setRatio(a); + for ( + var b, + c, + d, + e, + f, + g = this.data, + h = g.proxy, + i = g.firstMPT, + j = 1e-6; + i; + + ) + (b = h[i.v]), + i.r ? (b = Math.round(b)) : j > b && b > -j && (b = 0), + (i.t[i.p] = b), + (i = i._next); + if ( + (g.autoRotate && + (g.autoRotate.rotation = g.mod + ? g.mod(h.rotation, this.t) + : h.rotation), + 1 === a || 0 === a) + ) + for (i = g.firstMPT, f = 1 === a ? "e" : "b"; i; ) { + if (((c = i.t), c.type)) { + if (1 === c.type) { + for (e = c.xs0 + c.s + c.xs1, d = 1; d < c.l; d++) + e += c["xn" + d] + c["xs" + (d + 1)]; + c[f] = e; + } + } else c[f] = c.s + c.xs0; + i = i._next; + } + }), + function (a, b, c, d, e) { + (this.t = a), + (this.p = b), + (this.v = c), + (this.r = e), + d && ((d._prev = this), (this._next = d)); + }), + ta = + ((S._parseToProxy = function (a, b, c, d, e, f) { + var g, + h, + i, + j, + k, + l = d, + m = {}, + n = {}, + o = c._transform, + p = M; + for ( + c._transform = null, + M = b, + d = k = c.parse(a, b, d, e), + M = p, + f && + ((c._transform = o), + l && ((l._prev = null), l._prev && (l._prev._next = null))); + d && d !== l; + + ) { + if ( + d.type <= 1 && + ((h = d.p), + (n[h] = d.s + d.c), + (m[h] = d.s), + f || ((j = new sa(d, "s", h, j, d.r)), (d.c = 0)), + 1 === d.type) + ) + for (g = d.l; --g > 0; ) + (i = "xn" + g), + (h = d.p + "_" + i), + (n[h] = d.data[i]), + (m[h] = d[i]), + f || (j = new sa(d, i, h, j, d.rxp[i])); + d = d._next; + } + return { proxy: m, end: n, firstMPT: j, pt: k }; + }), + (S.CSSPropTween = function (a, b, d, e, g, h, i, j, k, l, m) { + (this.t = a), + (this.p = b), + (this.s = d), + (this.c = e), + (this.n = i || b), + a instanceof ta || f.push(this.n), + (this.r = j), + (this.type = h || 0), + k && ((this.pr = k), (c = !0)), + (this.b = void 0 === l ? d : l), + (this.e = void 0 === m ? d + e : m), + g && ((this._next = g), (g._prev = this)); + })), + ua = function (a, b, c, d, e, f) { + var g = new ta(a, b, c, d - c, e, -1, f); + return (g.b = c), (g.e = g.xs0 = d), g; + }, + va = (g.parseComplex = function (a, b, c, d, e, f, h, i, j, l) { + (c = c || f || ""), + "function" == typeof d && (d = d(r, q)), + (h = new ta(a, b, 0, 0, h, l ? 2 : 1, null, !1, i, c, d)), + (d += ""), + e && + pa.test(d + c) && + ((d = [c, d]), g.colorStringFilter(d), (c = d[0]), (d = d[1])); + var m, + n, + o, + p, + u, + v, + w, + x, + y, + z, + A, + B, + C, + D = c.split(", ").join(",").split(" "), + E = d.split(", ").join(",").split(" "), + F = D.length, + G = k !== !1; + for ( + (-1 !== d.indexOf(",") || -1 !== c.indexOf(",")) && + ((D = D.join(" ").replace(I, ", ").split(" ")), + (E = E.join(" ").replace(I, ", ").split(" ")), + (F = D.length)), + F !== E.length && ((D = (f || "").split(" ")), (F = D.length)), + h.plugin = j, + h.setRatio = l, + pa.lastIndex = 0, + m = 0; + F > m; + m++ + ) + if (((p = D[m]), (u = E[m]), (x = parseFloat(p)), x || 0 === x)) + h.appendXtra( + "", + x, + ia(u, x), + u.replace(t, ""), + G && -1 !== u.indexOf("px"), + !0 + ); + else if (e && pa.test(p)) + (B = u.indexOf(")") + 1), + (B = ")" + (B ? u.substr(B) : "")), + (C = -1 !== u.indexOf("hsl") && U), + (p = na(p, C)), + (u = na(u, C)), + (y = p.length + u.length > 6), + y && !U && 0 === u[3] + ? ((h["xs" + h.l] += h.l ? " transparent" : "transparent"), + (h.e = h.e.split(E[m]).join("transparent"))) + : (U || (y = !1), + C + ? h + .appendXtra( + y ? "hsla(" : "hsl(", + p[0], + ia(u[0], p[0]), + ",", + !1, + !0 + ) + .appendXtra("", p[1], ia(u[1], p[1]), "%,", !1) + .appendXtra( + "", + p[2], + ia(u[2], p[2]), + y ? "%," : "%" + B, + !1 + ) + : h + .appendXtra( + y ? "rgba(" : "rgb(", + p[0], + u[0] - p[0], + ",", + !0, + !0 + ) + .appendXtra("", p[1], u[1] - p[1], ",", !0) + .appendXtra("", p[2], u[2] - p[2], y ? "," : B, !0), + y && + ((p = p.length < 4 ? 1 : p[3]), + h.appendXtra( + "", + p, + (u.length < 4 ? 1 : u[3]) - p, + B, + !1 + ))), + (pa.lastIndex = 0); + else if ((v = p.match(s))) { + if (((w = u.match(t)), !w || w.length !== v.length)) return h; + for (o = 0, n = 0; n < v.length; n++) + (A = v[n]), + (z = p.indexOf(A, o)), + h.appendXtra( + p.substr(o, z - o), + Number(A), + ia(w[n], A), + "", + G && "px" === p.substr(z + A.length, 2), + 0 === n + ), + (o = z + A.length); + h["xs" + h.l] += p.substr(o); + } else h["xs" + h.l] += h.l || h["xs" + h.l] ? " " + u : u; + if (-1 !== d.indexOf("=") && h.data) { + for (B = h.xs0 + h.data.s, m = 1; m < h.l; m++) + B += h["xs" + m] + h.data["xn" + m]; + h.e = B + h["xs" + m]; + } + return h.l || ((h.type = -1), (h.xs0 = h.e)), h.xfirst || h; + }), + wa = 9; + for (j = ta.prototype, j.l = j.pr = 0; --wa > 0; ) + (j["xn" + wa] = 0), (j["xs" + wa] = ""); + (j.xs0 = ""), + (j._next = + j._prev = + j.xfirst = + j.data = + j.plugin = + j.setRatio = + j.rxp = + null), + (j.appendXtra = function (a, b, c, d, e, f) { + var g = this, + h = g.l; + return ( + (g["xs" + h] += f && (h || g["xs" + h]) ? " " + a : a || ""), + c || 0 === h || g.plugin + ? (g.l++, + (g.type = g.setRatio ? 2 : 1), + (g["xs" + g.l] = d || ""), + h > 0 + ? ((g.data["xn" + h] = b + c), + (g.rxp["xn" + h] = e), + (g["xn" + h] = b), + g.plugin || + ((g.xfirst = new ta( + g, + "xn" + h, + b, + c, + g.xfirst || g, + 0, + g.n, + e, + g.pr + )), + (g.xfirst.xs0 = 0)), + g) + : ((g.data = { s: b + c }), + (g.rxp = {}), + (g.s = b), + (g.c = c), + (g.r = e), + g)) + : ((g["xs" + h] += b + (d || "")), g) + ); + }); + var xa = function (a, b) { + (b = b || {}), + (this.p = b.prefix ? Z(a) || a : a), + (i[a] = i[this.p] = this), + (this.format = + b.formatter || + qa(b.defaultValue, b.color, b.collapsible, b.multi)), + b.parser && (this.parse = b.parser), + (this.clrs = b.color), + (this.multi = b.multi), + (this.keyword = b.keyword), + (this.dflt = b.defaultValue), + (this.pr = b.priority || 0); + }, + ya = (S._registerComplexSpecialProp = function (a, b, c) { + "object" != typeof b && (b = { parser: c }); + var d, + e, + f = a.split(","), + g = b.defaultValue; + for (c = c || [g], d = 0; d < f.length; d++) + (b.prefix = 0 === d && b.prefix), + (b.defaultValue = c[d] || g), + (e = new xa(f[d], b)); + }), + za = (S._registerPluginProp = function (a) { + if (!i[a]) { + var b = a.charAt(0).toUpperCase() + a.substr(1) + "Plugin"; + ya(a, { + parser: function (a, c, d, e, f, g, j) { + var k = h.com.greensock.plugins[b]; + return k + ? (k._cssRegister(), i[d].parse(a, c, d, e, f, g, j)) + : (W("Error: " + b + " js file not loaded."), f); + }, + }); + } + }); + (j = xa.prototype), + (j.parseComplex = function (a, b, c, d, e, f) { + var g, + h, + i, + j, + k, + l, + m = this.keyword; + if ( + (this.multi && + (I.test(c) || I.test(b) + ? ((h = b.replace(I, "|").split("|")), + (i = c.replace(I, "|").split("|"))) + : m && ((h = [b]), (i = [c]))), + i) + ) { + for ( + j = i.length > h.length ? i.length : h.length, g = 0; + j > g; + g++ + ) + (b = h[g] = h[g] || this.dflt), + (c = i[g] = i[g] || this.dflt), + m && + ((k = b.indexOf(m)), + (l = c.indexOf(m)), + k !== l && + (-1 === l + ? (h[g] = h[g].split(m).join("")) + : -1 === k && (h[g] += " " + m))); + (b = h.join(", ")), (c = i.join(", ")); + } + return va(a, this.p, b, c, this.clrs, this.dflt, d, this.pr, e, f); + }), + (j.parse = function (a, b, c, d, f, g, h) { + return this.parseComplex( + a.style, + this.format(_(a, this.p, e, !1, this.dflt)), + this.format(b), + f, + g + ); + }), + (g.registerSpecialProp = function (a, b, c) { + ya(a, { + parser: function (a, d, e, f, g, h, i) { + var j = new ta(a, e, 0, 0, g, 2, e, !1, c); + return (j.plugin = h), (j.setRatio = b(a, d, f._tween, e)), j; + }, + priority: c, + }); + }), + (g.useSVGTransformAttr = !0); + var Aa, + Ba = + "scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split( + "," + ), + Ca = Z("transform"), + Da = X + "transform", + Ea = Z("transformOrigin"), + Fa = null !== Z("perspective"), + Ga = (S.Transform = function () { + (this.perspective = parseFloat(g.defaultTransformPerspective) || 0), + (this.force3D = + g.defaultForce3D !== !1 && Fa ? g.defaultForce3D || "auto" : !1); + }), + Ha = _gsScope.SVGElement, + Ia = function (a, b, c) { + var d, + e = O.createElementNS("http://www.w3.org/2000/svg", a), + f = /([a-z])([A-Z])/g; + for (d in c) + e.setAttributeNS(null, d.replace(f, "$1-$2").toLowerCase(), c[d]); + return b.appendChild(e), e; + }, + Ja = O.documentElement || {}, + Ka = (function () { + var a, + b, + c, + d = p || (/Android/i.test(T) && !_gsScope.chrome); + return ( + O.createElementNS && + !d && + ((a = Ia("svg", Ja)), + (b = Ia("rect", a, { width: 100, height: 50, x: 100 })), + (c = b.getBoundingClientRect().width), + (b.style[Ea] = "50% 50%"), + (b.style[Ca] = "scaleX(0.5)"), + (d = c === b.getBoundingClientRect().width && !(n && Fa)), + Ja.removeChild(a)), + d + ); + })(), + La = function (a, b, c, d, e, f) { + var h, + i, + j, + k, + l, + m, + n, + o, + p, + q, + r, + s, + t, + u, + v = a._gsTransform, + w = Qa(a, !0); + v && ((t = v.xOrigin), (u = v.yOrigin)), + (!d || (h = d.split(" ")).length < 2) && + ((n = a.getBBox()), + 0 === n.x && + 0 === n.y && + n.width + n.height === 0 && + (n = { + x: + parseFloat( + a.hasAttribute("x") + ? a.getAttribute("x") + : a.hasAttribute("cx") + ? a.getAttribute("cx") + : 0 + ) || 0, + y: + parseFloat( + a.hasAttribute("y") + ? a.getAttribute("y") + : a.hasAttribute("cy") + ? a.getAttribute("cy") + : 0 + ) || 0, + width: 0, + height: 0, + }), + (b = ha(b).split(" ")), + (h = [ + (-1 !== b[0].indexOf("%") + ? (parseFloat(b[0]) / 100) * n.width + : parseFloat(b[0])) + n.x, + (-1 !== b[1].indexOf("%") + ? (parseFloat(b[1]) / 100) * n.height + : parseFloat(b[1])) + n.y, + ])), + (c.xOrigin = k = parseFloat(h[0])), + (c.yOrigin = l = parseFloat(h[1])), + d && + w !== Pa && + ((m = w[0]), + (n = w[1]), + (o = w[2]), + (p = w[3]), + (q = w[4]), + (r = w[5]), + (s = m * p - n * o), + s && + ((i = k * (p / s) + l * (-o / s) + (o * r - p * q) / s), + (j = k * (-n / s) + l * (m / s) - (m * r - n * q) / s), + (k = c.xOrigin = h[0] = i), + (l = c.yOrigin = h[1] = j))), + v && + (f && ((c.xOffset = v.xOffset), (c.yOffset = v.yOffset), (v = c)), + e || (e !== !1 && g.defaultSmoothOrigin !== !1) + ? ((i = k - t), + (j = l - u), + (v.xOffset += i * w[0] + j * w[2] - i), + (v.yOffset += i * w[1] + j * w[3] - j)) + : (v.xOffset = v.yOffset = 0)), + f || a.setAttribute("data-svg-origin", h.join(" ")); + }, + Ma = function (a) { + var b, + c = P( + "svg", + this.ownerSVGElement.getAttribute("xmlns") || + "http://www.w3.org/2000/svg" + ), + d = this.parentNode, + e = this.nextSibling, + f = this.style.cssText; + if ( + (Ja.appendChild(c), + c.appendChild(this), + (this.style.display = "block"), + a) + ) + try { + (b = this.getBBox()), + (this._originalGetBBox = this.getBBox), + (this.getBBox = Ma); + } catch (g) {} + else this._originalGetBBox && (b = this._originalGetBBox()); + return ( + e ? d.insertBefore(this, e) : d.appendChild(this), + Ja.removeChild(c), + (this.style.cssText = f), + b + ); + }, + Na = function (a) { + try { + return a.getBBox(); + } catch (b) { + return Ma.call(a, !0); + } + }, + Oa = function (a) { + return !( + !(Ha && a.getCTM && Na(a)) || + (a.parentNode && !a.ownerSVGElement) + ); + }, + Pa = [1, 0, 0, 1, 0, 0], + Qa = function (a, b) { + var c, + d, + e, + f, + g, + h, + i = a._gsTransform || new Ga(), + j = 1e5, + k = a.style; + if ( + (Ca + ? (d = _(a, Da, null, !0)) + : a.currentStyle && + ((d = a.currentStyle.filter.match(G)), + (d = + d && 4 === d.length + ? [ + d[0].substr(4), + Number(d[2].substr(4)), + Number(d[1].substr(4)), + d[3].substr(4), + i.x || 0, + i.y || 0, + ].join(",") + : "")), + (c = !d || "none" === d || "matrix(1, 0, 0, 1, 0, 0)" === d), + c && + Ca && + ((h = "none" === $(a).display) || !a.parentNode) && + (h && ((f = k.display), (k.display = "block")), + a.parentNode || ((g = 1), Ja.appendChild(a)), + (d = _(a, Da, null, !0)), + (c = !d || "none" === d || "matrix(1, 0, 0, 1, 0, 0)" === d), + f ? (k.display = f) : h && Va(k, "display"), + g && Ja.removeChild(a)), + (i.svg || (a.getCTM && Oa(a))) && + (c && + -1 !== (k[Ca] + "").indexOf("matrix") && + ((d = k[Ca]), (c = 0)), + (e = a.getAttribute("transform")), + c && + e && + (-1 !== e.indexOf("matrix") + ? ((d = e), (c = 0)) + : -1 !== e.indexOf("translate") && + ((d = + "matrix(1,0,0,1," + + e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",") + + ")"), + (c = 0)))), + c) + ) + return Pa; + for (e = (d || "").match(s) || [], wa = e.length; --wa > -1; ) + (f = Number(e[wa])), + (e[wa] = (g = f - (f |= 0)) + ? ((g * j + (0 > g ? -0.5 : 0.5)) | 0) / j + f + : f); + return b && e.length > 6 ? [e[0], e[1], e[4], e[5], e[12], e[13]] : e; + }, + Ra = (S.getTransform = function (a, c, d, e) { + if (a._gsTransform && d && !e) return a._gsTransform; + var f, + h, + i, + j, + k, + l, + m = d ? a._gsTransform || new Ga() : new Ga(), + n = m.scaleX < 0, + o = 2e-5, + p = 1e5, + q = Fa + ? parseFloat(_(a, Ea, c, !1, "0 0 0").split(" ")[2]) || + m.zOrigin || + 0 + : 0, + r = parseFloat(g.defaultTransformPerspective) || 0; + if ( + ((m.svg = !(!a.getCTM || !Oa(a))), + m.svg && + (La( + a, + _(a, Ea, c, !1, "50% 50%") + "", + m, + a.getAttribute("data-svg-origin") + ), + (Aa = g.useSVGTransformAttr || Ka)), + (f = Qa(a)), + f !== Pa) + ) { + if (16 === f.length) { + var s, + t, + u, + v, + w, + x = f[0], + y = f[1], + z = f[2], + A = f[3], + B = f[4], + C = f[5], + D = f[6], + E = f[7], + F = f[8], + G = f[9], + H = f[10], + I = f[12], + J = f[13], + K = f[14], + M = f[11], + N = Math.atan2(D, H); + m.zOrigin && + ((K = -m.zOrigin), + (I = F * K - f[12]), + (J = G * K - f[13]), + (K = H * K + m.zOrigin - f[14])), + (m.rotationX = N * L), + N && + ((v = Math.cos(-N)), + (w = Math.sin(-N)), + (s = B * v + F * w), + (t = C * v + G * w), + (u = D * v + H * w), + (F = B * -w + F * v), + (G = C * -w + G * v), + (H = D * -w + H * v), + (M = E * -w + M * v), + (B = s), + (C = t), + (D = u)), + (N = Math.atan2(-z, H)), + (m.rotationY = N * L), + N && + ((v = Math.cos(-N)), + (w = Math.sin(-N)), + (s = x * v - F * w), + (t = y * v - G * w), + (u = z * v - H * w), + (G = y * w + G * v), + (H = z * w + H * v), + (M = A * w + M * v), + (x = s), + (y = t), + (z = u)), + (N = Math.atan2(y, x)), + (m.rotation = N * L), + N && + ((v = Math.cos(-N)), + (w = Math.sin(-N)), + (x = x * v + B * w), + (t = y * v + C * w), + (C = y * -w + C * v), + (D = z * -w + D * v), + (y = t)), + m.rotationX && + Math.abs(m.rotationX) + Math.abs(m.rotation) > 359.9 && + ((m.rotationX = m.rotation = 0), + (m.rotationY = 180 - m.rotationY)), + (m.scaleX = ((Math.sqrt(x * x + y * y) * p + 0.5) | 0) / p), + (m.scaleY = ((Math.sqrt(C * C + G * G) * p + 0.5) | 0) / p), + (m.scaleZ = ((Math.sqrt(D * D + H * H) * p + 0.5) | 0) / p), + m.rotationX || m.rotationY + ? (m.skewX = 0) + : ((m.skewX = + B || C + ? Math.atan2(B, C) * L + m.rotation + : m.skewX || 0), + Math.abs(m.skewX) > 90 && + Math.abs(m.skewX) < 270 && + (n + ? ((m.scaleX *= -1), + (m.skewX += m.rotation <= 0 ? 180 : -180), + (m.rotation += m.rotation <= 0 ? 180 : -180)) + : ((m.scaleY *= -1), + (m.skewX += m.skewX <= 0 ? 180 : -180)))), + (m.perspective = M ? 1 / (0 > M ? -M : M) : 0), + (m.x = I), + (m.y = J), + (m.z = K), + m.svg && + ((m.x -= m.xOrigin - (m.xOrigin * x - m.yOrigin * B)), + (m.y -= m.yOrigin - (m.yOrigin * y - m.xOrigin * C))); + } else if ( + !Fa || + e || + !f.length || + m.x !== f[4] || + m.y !== f[5] || + (!m.rotationX && !m.rotationY) + ) { + var O = f.length >= 6, + P = O ? f[0] : 1, + Q = f[1] || 0, + R = f[2] || 0, + S = O ? f[3] : 1; + (m.x = f[4] || 0), + (m.y = f[5] || 0), + (i = Math.sqrt(P * P + Q * Q)), + (j = Math.sqrt(S * S + R * R)), + (k = P || Q ? Math.atan2(Q, P) * L : m.rotation || 0), + (l = R || S ? Math.atan2(R, S) * L + k : m.skewX || 0), + Math.abs(l) > 90 && + Math.abs(l) < 270 && + (n + ? ((i *= -1), + (l += 0 >= k ? 180 : -180), + (k += 0 >= k ? 180 : -180)) + : ((j *= -1), (l += 0 >= l ? 180 : -180))), + (m.scaleX = i), + (m.scaleY = j), + (m.rotation = k), + (m.skewX = l), + Fa && + ((m.rotationX = m.rotationY = m.z = 0), + (m.perspective = r), + (m.scaleZ = 1)), + m.svg && + ((m.x -= m.xOrigin - (m.xOrigin * P + m.yOrigin * R)), + (m.y -= m.yOrigin - (m.xOrigin * Q + m.yOrigin * S))); + } + m.zOrigin = q; + for (h in m) m[h] < o && m[h] > -o && (m[h] = 0); + } + return ( + d && + ((a._gsTransform = m), + m.svg && + (Aa && a.style[Ca] + ? b.delayedCall(0.001, function () { + Va(a.style, Ca); + }) + : !Aa && + a.getAttribute("transform") && + b.delayedCall(0.001, function () { + a.removeAttribute("transform"); + }))), + m + ); + }), + Sa = function (a) { + var b, + c, + d = this.data, + e = -d.rotation * K, + f = e + d.skewX * K, + g = 1e5, + h = ((Math.cos(e) * d.scaleX * g) | 0) / g, + i = ((Math.sin(e) * d.scaleX * g) | 0) / g, + j = ((Math.sin(f) * -d.scaleY * g) | 0) / g, + k = ((Math.cos(f) * d.scaleY * g) | 0) / g, + l = this.t.style, + m = this.t.currentStyle; + if (m) { + (c = i), (i = -j), (j = -c), (b = m.filter), (l.filter = ""); + var n, + o, + q = this.t.offsetWidth, + r = this.t.offsetHeight, + s = "absolute" !== m.position, + t = + "progid:DXImageTransform.Microsoft.Matrix(M11=" + + h + + ", M12=" + + i + + ", M21=" + + j + + ", M22=" + + k, + u = d.x + (q * d.xPercent) / 100, + v = d.y + (r * d.yPercent) / 100; + if ( + (null != d.ox && + ((n = (d.oxp ? q * d.ox * 0.01 : d.ox) - q / 2), + (o = (d.oyp ? r * d.oy * 0.01 : d.oy) - r / 2), + (u += n - (n * h + o * i)), + (v += o - (n * j + o * k))), + s + ? ((n = q / 2), + (o = r / 2), + (t += + ", Dx=" + + (n - (n * h + o * i) + u) + + ", Dy=" + + (o - (n * j + o * k) + v) + + ")")) + : (t += ", sizingMethod='auto expand')"), + -1 !== b.indexOf("DXImageTransform.Microsoft.Matrix(") + ? (l.filter = b.replace(H, t)) + : (l.filter = t + " " + b), + (0 === a || 1 === a) && + 1 === h && + 0 === i && + 0 === j && + 1 === k && + ((s && -1 === t.indexOf("Dx=0, Dy=0")) || + (x.test(b) && 100 !== parseFloat(RegExp.$1)) || + (-1 === b.indexOf(b.indexOf("Alpha")) && + l.removeAttribute("filter"))), + !s) + ) { + var y, + z, + A, + B = 8 > p ? 1 : -1; + for ( + n = d.ieOffsetX || 0, + o = d.ieOffsetY || 0, + d.ieOffsetX = Math.round( + (q - ((0 > h ? -h : h) * q + (0 > i ? -i : i) * r)) / 2 + u + ), + d.ieOffsetY = Math.round( + (r - ((0 > k ? -k : k) * r + (0 > j ? -j : j) * q)) / 2 + v + ), + wa = 0; + 4 > wa; + wa++ + ) + (z = fa[wa]), + (y = m[z]), + (c = + -1 !== y.indexOf("px") + ? parseFloat(y) + : aa(this.t, z, parseFloat(y), y.replace(w, "")) || 0), + (A = + c !== d[z] + ? 2 > wa + ? -d.ieOffsetX + : -d.ieOffsetY + : 2 > wa + ? n - d.ieOffsetX + : o - d.ieOffsetY), + (l[z] = + (d[z] = Math.round( + c - A * (0 === wa || 2 === wa ? 1 : B) + )) + "px"); + } + } + }, + Ta = + (S.set3DTransformRatio = + S.setTransformRatio = + function (a) { + var b, + c, + d, + e, + f, + g, + h, + i, + j, + k, + l, + m, + o, + p, + q, + r, + s, + t, + u, + v, + w, + x, + y, + z = this.data, + A = this.t.style, + B = z.rotation, + C = z.rotationX, + D = z.rotationY, + E = z.scaleX, + F = z.scaleY, + G = z.scaleZ, + H = z.x, + I = z.y, + J = z.z, + L = z.svg, + M = z.perspective, + N = z.force3D, + O = z.skewY, + P = z.skewX; + if ( + (O && ((P += O), (B += O)), + ((((1 === a || 0 === a) && + "auto" === N && + (this.tween._totalTime === this.tween._totalDuration || + !this.tween._totalTime)) || + !N) && + !J && + !M && + !D && + !C && + 1 === G) || + (Aa && L) || + !Fa) + ) + return void (B || P || L + ? ((B *= K), + (x = P * K), + (y = 1e5), + (c = Math.cos(B) * E), + (f = Math.sin(B) * E), + (d = Math.sin(B - x) * -F), + (g = Math.cos(B - x) * F), + x && + "simple" === z.skewType && + ((b = Math.tan(x - O * K)), + (b = Math.sqrt(1 + b * b)), + (d *= b), + (g *= b), + O && + ((b = Math.tan(O * K)), + (b = Math.sqrt(1 + b * b)), + (c *= b), + (f *= b))), + L && + ((H += + z.xOrigin - + (z.xOrigin * c + z.yOrigin * d) + + z.xOffset), + (I += + z.yOrigin - + (z.xOrigin * f + z.yOrigin * g) + + z.yOffset), + Aa && + (z.xPercent || z.yPercent) && + ((q = this.t.getBBox()), + (H += 0.01 * z.xPercent * q.width), + (I += 0.01 * z.yPercent * q.height)), + (q = 1e-6), + q > H && H > -q && (H = 0), + q > I && I > -q && (I = 0)), + (u = + ((c * y) | 0) / y + + "," + + ((f * y) | 0) / y + + "," + + ((d * y) | 0) / y + + "," + + ((g * y) | 0) / y + + "," + + H + + "," + + I + + ")"), + L && Aa + ? this.t.setAttribute("transform", "matrix(" + u) + : (A[Ca] = + (z.xPercent || z.yPercent + ? "translate(" + + z.xPercent + + "%," + + z.yPercent + + "%) matrix(" + : "matrix(") + u)) + : (A[Ca] = + (z.xPercent || z.yPercent + ? "translate(" + + z.xPercent + + "%," + + z.yPercent + + "%) matrix(" + : "matrix(") + + E + + ",0,0," + + F + + "," + + H + + "," + + I + + ")")); + if ( + (n && + ((q = 1e-4), + q > E && E > -q && (E = G = 2e-5), + q > F && F > -q && (F = G = 2e-5), + !M || z.z || z.rotationX || z.rotationY || (M = 0)), + B || P) + ) + (B *= K), + (r = c = Math.cos(B)), + (s = f = Math.sin(B)), + P && + ((B -= P * K), + (r = Math.cos(B)), + (s = Math.sin(B)), + "simple" === z.skewType && + ((b = Math.tan((P - O) * K)), + (b = Math.sqrt(1 + b * b)), + (r *= b), + (s *= b), + z.skewY && + ((b = Math.tan(O * K)), + (b = Math.sqrt(1 + b * b)), + (c *= b), + (f *= b)))), + (d = -s), + (g = r); + else { + if (!(D || C || 1 !== G || M || L)) + return void (A[Ca] = + (z.xPercent || z.yPercent + ? "translate(" + + z.xPercent + + "%," + + z.yPercent + + "%) translate3d(" + : "translate3d(") + + H + + "px," + + I + + "px," + + J + + "px)" + + (1 !== E || 1 !== F ? " scale(" + E + "," + F + ")" : "")); + (c = g = 1), (d = f = 0); + } + (k = 1), + (e = h = i = j = l = m = 0), + (o = M ? -1 / M : 0), + (p = z.zOrigin), + (q = 1e-6), + (v = ","), + (w = "0"), + (B = D * K), + B && + ((r = Math.cos(B)), + (s = Math.sin(B)), + (i = -s), + (l = o * -s), + (e = c * s), + (h = f * s), + (k = r), + (o *= r), + (c *= r), + (f *= r)), + (B = C * K), + B && + ((r = Math.cos(B)), + (s = Math.sin(B)), + (b = d * r + e * s), + (t = g * r + h * s), + (j = k * s), + (m = o * s), + (e = d * -s + e * r), + (h = g * -s + h * r), + (k *= r), + (o *= r), + (d = b), + (g = t)), + 1 !== G && ((e *= G), (h *= G), (k *= G), (o *= G)), + 1 !== F && ((d *= F), (g *= F), (j *= F), (m *= F)), + 1 !== E && ((c *= E), (f *= E), (i *= E), (l *= E)), + (p || L) && + (p && ((H += e * -p), (I += h * -p), (J += k * -p + p)), + L && + ((H += + z.xOrigin - (z.xOrigin * c + z.yOrigin * d) + z.xOffset), + (I += + z.yOrigin - (z.xOrigin * f + z.yOrigin * g) + z.yOffset)), + q > H && H > -q && (H = w), + q > I && I > -q && (I = w), + q > J && J > -q && (J = 0)), + (u = + z.xPercent || z.yPercent + ? "translate(" + + z.xPercent + + "%," + + z.yPercent + + "%) matrix3d(" + : "matrix3d("), + (u += + (q > c && c > -q ? w : c) + + v + + (q > f && f > -q ? w : f) + + v + + (q > i && i > -q ? w : i)), + (u += + v + + (q > l && l > -q ? w : l) + + v + + (q > d && d > -q ? w : d) + + v + + (q > g && g > -q ? w : g)), + C || D || 1 !== G + ? ((u += + v + + (q > j && j > -q ? w : j) + + v + + (q > m && m > -q ? w : m) + + v + + (q > e && e > -q ? w : e)), + (u += + v + + (q > h && h > -q ? w : h) + + v + + (q > k && k > -q ? w : k) + + v + + (q > o && o > -q ? w : o) + + v)) + : (u += ",0,0,0,0,1,0,"), + (u += H + v + I + v + J + v + (M ? 1 + -J / M : 1) + ")"), + (A[Ca] = u); + }); + (j = Ga.prototype), + (j.x = + j.y = + j.z = + j.skewX = + j.skewY = + j.rotation = + j.rotationX = + j.rotationY = + j.zOrigin = + j.xPercent = + j.yPercent = + j.xOffset = + j.yOffset = + 0), + (j.scaleX = j.scaleY = j.scaleZ = 1), + ya( + "transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin", + { + parser: function (a, b, c, d, f, h, i) { + if (d._lastParsedTransform === i) return f; + d._lastParsedTransform = i; + var j, + k = i.scale && "function" == typeof i.scale ? i.scale : 0; + "function" == typeof i[c] && ((j = i[c]), (i[c] = b)), + k && (i.scale = k(r, a)); + var l, + m, + n, + o, + p, + s, + t, + u, + v, + w = a._gsTransform, + x = a.style, + y = 1e-6, + z = Ba.length, + A = i, + B = {}, + C = "transformOrigin", + D = Ra(a, e, !0, A.parseTransform), + E = + A.transform && + ("function" == typeof A.transform + ? A.transform(r, q) + : A.transform); + if (((d._transform = D), E && "string" == typeof E && Ca)) + (m = Q.style), + (m[Ca] = E), + (m.display = "block"), + (m.position = "absolute"), + O.body.appendChild(Q), + (l = Ra(Q, null, !1)), + D.svg && + ((s = D.xOrigin), + (t = D.yOrigin), + (l.x -= D.xOffset), + (l.y -= D.yOffset), + (A.transformOrigin || A.svgOrigin) && + ((E = {}), + La( + a, + ha(A.transformOrigin), + E, + A.svgOrigin, + A.smoothOrigin, + !0 + ), + (s = E.xOrigin), + (t = E.yOrigin), + (l.x -= E.xOffset - D.xOffset), + (l.y -= E.yOffset - D.yOffset)), + (s || t) && + ((u = Qa(Q, !0)), + (l.x -= s - (s * u[0] + t * u[2])), + (l.y -= t - (s * u[1] + t * u[3])))), + O.body.removeChild(Q), + l.perspective || (l.perspective = D.perspective), + null != A.xPercent && + (l.xPercent = ja(A.xPercent, D.xPercent)), + null != A.yPercent && + (l.yPercent = ja(A.yPercent, D.yPercent)); + else if ("object" == typeof A) { + if ( + ((l = { + scaleX: ja(null != A.scaleX ? A.scaleX : A.scale, D.scaleX), + scaleY: ja(null != A.scaleY ? A.scaleY : A.scale, D.scaleY), + scaleZ: ja(A.scaleZ, D.scaleZ), + x: ja(A.x, D.x), + y: ja(A.y, D.y), + z: ja(A.z, D.z), + xPercent: ja(A.xPercent, D.xPercent), + yPercent: ja(A.yPercent, D.yPercent), + perspective: ja(A.transformPerspective, D.perspective), + }), + (p = A.directionalRotation), + null != p) + ) + if ("object" == typeof p) for (m in p) A[m] = p[m]; + else A.rotation = p; + "string" == typeof A.x && + -1 !== A.x.indexOf("%") && + ((l.x = 0), (l.xPercent = ja(A.x, D.xPercent))), + "string" == typeof A.y && + -1 !== A.y.indexOf("%") && + ((l.y = 0), (l.yPercent = ja(A.y, D.yPercent))), + (l.rotation = ka( + "rotation" in A + ? A.rotation + : "shortRotation" in A + ? A.shortRotation + "_short" + : "rotationZ" in A + ? A.rotationZ + : D.rotation, + D.rotation, + "rotation", + B + )), + Fa && + ((l.rotationX = ka( + "rotationX" in A + ? A.rotationX + : "shortRotationX" in A + ? A.shortRotationX + "_short" + : D.rotationX || 0, + D.rotationX, + "rotationX", + B + )), + (l.rotationY = ka( + "rotationY" in A + ? A.rotationY + : "shortRotationY" in A + ? A.shortRotationY + "_short" + : D.rotationY || 0, + D.rotationY, + "rotationY", + B + ))), + (l.skewX = ka(A.skewX, D.skewX)), + (l.skewY = ka(A.skewY, D.skewY)); + } + for ( + Fa && null != A.force3D && ((D.force3D = A.force3D), (o = !0)), + D.skewType = A.skewType || D.skewType || g.defaultSkewType, + n = + D.force3D || + D.z || + D.rotationX || + D.rotationY || + l.z || + l.rotationX || + l.rotationY || + l.perspective, + n || null == A.scale || (l.scaleZ = 1); + --z > -1; + + ) + (v = Ba[z]), + (E = l[v] - D[v]), + (E > y || -y > E || null != A[v] || null != M[v]) && + ((o = !0), + (f = new ta(D, v, D[v], E, f)), + v in B && (f.e = B[v]), + (f.xs0 = 0), + (f.plugin = h), + d._overwriteProps.push(f.n)); + return ( + (E = A.transformOrigin), + D.svg && + (E || A.svgOrigin) && + ((s = D.xOffset), + (t = D.yOffset), + La(a, ha(E), l, A.svgOrigin, A.smoothOrigin), + (f = ua(D, "xOrigin", (w ? D : l).xOrigin, l.xOrigin, f, C)), + (f = ua(D, "yOrigin", (w ? D : l).yOrigin, l.yOrigin, f, C)), + (s !== D.xOffset || t !== D.yOffset) && + ((f = ua(D, "xOffset", w ? s : D.xOffset, D.xOffset, f, C)), + (f = ua(D, "yOffset", w ? t : D.yOffset, D.yOffset, f, C))), + (E = "0px 0px")), + (E || (Fa && n && D.zOrigin)) && + (Ca + ? ((o = !0), + (v = Ea), + (E = (E || _(a, v, e, !1, "50% 50%")) + ""), + (f = new ta(x, v, 0, 0, f, -1, C)), + (f.b = x[v]), + (f.plugin = h), + Fa + ? ((m = D.zOrigin), + (E = E.split(" ")), + (D.zOrigin = + (E.length > 2 && (0 === m || "0px" !== E[2]) + ? parseFloat(E[2]) + : m) || 0), + (f.xs0 = f.e = E[0] + " " + (E[1] || "50%") + " 0px"), + (f = new ta(D, "zOrigin", 0, 0, f, -1, f.n)), + (f.b = m), + (f.xs0 = f.e = D.zOrigin)) + : (f.xs0 = f.e = E)) + : ha(E + "", D)), + o && + (d._transformType = + (D.svg && Aa) || (!n && 3 !== this._transformType) ? 2 : 3), + j && (i[c] = j), + k && (i.scale = k), + f + ); + }, + prefix: !0, + } + ), + ya("boxShadow", { + defaultValue: "0px 0px 0px 0px #999", + prefix: !0, + color: !0, + multi: !0, + keyword: "inset", + }), + ya("borderRadius", { + defaultValue: "0px", + parser: function (a, b, c, f, g, h) { + b = this.format(b); + var i, + j, + k, + l, + m, + n, + o, + p, + q, + r, + s, + t, + u, + v, + w, + x, + y = [ + "borderTopLeftRadius", + "borderTopRightRadius", + "borderBottomRightRadius", + "borderBottomLeftRadius", + ], + z = a.style; + for ( + q = parseFloat(a.offsetWidth), + r = parseFloat(a.offsetHeight), + i = b.split(" "), + j = 0; + j < y.length; + j++ + ) + this.p.indexOf("border") && (y[j] = Z(y[j])), + (m = l = _(a, y[j], e, !1, "0px")), + -1 !== m.indexOf(" ") && + ((l = m.split(" ")), (m = l[0]), (l = l[1])), + (n = k = i[j]), + (o = parseFloat(m)), + (t = m.substr((o + "").length)), + (u = "=" === n.charAt(1)), + u + ? ((p = parseInt(n.charAt(0) + "1", 10)), + (n = n.substr(2)), + (p *= parseFloat(n)), + (s = n.substr((p + "").length - (0 > p ? 1 : 0)) || "")) + : ((p = parseFloat(n)), (s = n.substr((p + "").length))), + "" === s && (s = d[c] || t), + s !== t && + ((v = aa(a, "borderLeft", o, t)), + (w = aa(a, "borderTop", o, t)), + "%" === s + ? ((m = (v / q) * 100 + "%"), (l = (w / r) * 100 + "%")) + : "em" === s + ? ((x = aa(a, "borderLeft", 1, "em")), + (m = v / x + "em"), + (l = w / x + "em")) + : ((m = v + "px"), (l = w + "px")), + u && + ((n = parseFloat(m) + p + s), (k = parseFloat(l) + p + s))), + (g = va(z, y[j], m + " " + l, n + " " + k, !1, "0px", g)); + return g; + }, + prefix: !0, + formatter: qa("0px 0px 0px 0px", !1, !0), + }), + ya( + "borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius", + { + defaultValue: "0px", + parser: function (a, b, c, d, f, g) { + return va( + a.style, + c, + this.format(_(a, c, e, !1, "0px 0px")), + this.format(b), + !1, + "0px", + f + ); + }, + prefix: !0, + formatter: qa("0px 0px", !1, !0), + } + ), + ya("backgroundPosition", { + defaultValue: "0 0", + parser: function (a, b, c, d, f, g) { + var h, + i, + j, + k, + l, + m, + n = "background-position", + o = e || $(a, null), + q = this.format( + (o + ? p + ? o.getPropertyValue(n + "-x") + + " " + + o.getPropertyValue(n + "-y") + : o.getPropertyValue(n) + : a.currentStyle.backgroundPositionX + + " " + + a.currentStyle.backgroundPositionY) || "0 0" + ), + r = this.format(b); + if ( + (-1 !== q.indexOf("%")) != (-1 !== r.indexOf("%")) && + r.split(",").length < 2 && + ((m = _(a, "backgroundImage").replace(D, "")), m && "none" !== m) + ) { + for ( + h = q.split(" "), + i = r.split(" "), + R.setAttribute("src", m), + j = 2; + --j > -1; + + ) + (q = h[j]), + (k = -1 !== q.indexOf("%")), + k !== (-1 !== i[j].indexOf("%")) && + ((l = + 0 === j + ? a.offsetWidth - R.width + : a.offsetHeight - R.height), + (h[j] = k + ? (parseFloat(q) / 100) * l + "px" + : (parseFloat(q) / l) * 100 + "%")); + q = h.join(" "); + } + return this.parseComplex(a.style, q, r, f, g); + }, + formatter: ha, + }), + ya("backgroundSize", { + defaultValue: "0 0", + formatter: function (a) { + return (a += ""), ha(-1 === a.indexOf(" ") ? a + " " + a : a); + }, + }), + ya("perspective", { defaultValue: "0px", prefix: !0 }), + ya("perspectiveOrigin", { defaultValue: "50% 50%", prefix: !0 }), + ya("transformStyle", { prefix: !0 }), + ya("backfaceVisibility", { prefix: !0 }), + ya("userSelect", { prefix: !0 }), + ya("margin", { + parser: ra("marginTop,marginRight,marginBottom,marginLeft"), + }), + ya("padding", { + parser: ra("paddingTop,paddingRight,paddingBottom,paddingLeft"), + }), + ya("clip", { + defaultValue: "rect(0px,0px,0px,0px)", + parser: function (a, b, c, d, f, g) { + var h, i, j; + return ( + 9 > p + ? ((i = a.currentStyle), + (j = 8 > p ? " " : ","), + (h = + "rect(" + + i.clipTop + + j + + i.clipRight + + j + + i.clipBottom + + j + + i.clipLeft + + ")"), + (b = this.format(b).split(",").join(j))) + : ((h = this.format(_(a, this.p, e, !1, this.dflt))), + (b = this.format(b))), + this.parseComplex(a.style, h, b, f, g) + ); + }, + }), + ya("textShadow", { + defaultValue: "0px 0px 0px #999", + color: !0, + multi: !0, + }), + ya("autoRound,strictUnits", { + parser: function (a, b, c, d, e) { + return e; + }, + }), + ya("border", { + defaultValue: "0px solid #000", + parser: function (a, b, c, d, f, g) { + var h = _(a, "borderTopWidth", e, !1, "0px"), + i = this.format(b).split(" "), + j = i[0].replace(w, ""); + return ( + "px" !== j && + (h = parseFloat(h) / aa(a, "borderTopWidth", 1, j) + j), + this.parseComplex( + a.style, + this.format( + h + + " " + + _(a, "borderTopStyle", e, !1, "solid") + + " " + + _(a, "borderTopColor", e, !1, "#000") + ), + i.join(" "), + f, + g + ) + ); + }, + color: !0, + formatter: function (a) { + var b = a.split(" "); + return ( + b[0] + + " " + + (b[1] || "solid") + + " " + + (a.match(pa) || ["#000"])[0] + ); + }, + }), + ya("borderWidth", { + parser: ra( + "borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth" + ), + }), + ya("float,cssFloat,styleFloat", { + parser: function (a, b, c, d, e, f) { + var g = a.style, + h = "cssFloat" in g ? "cssFloat" : "styleFloat"; + return new ta(g, h, 0, 0, e, -1, c, !1, 0, g[h], b); + }, + }); + var Ua = function (a) { + var b, + c = this.t, + d = c.filter || _(this.data, "filter") || "", + e = (this.s + this.c * a) | 0; + 100 === e && + (-1 === d.indexOf("atrix(") && + -1 === d.indexOf("radient(") && + -1 === d.indexOf("oader(") + ? (c.removeAttribute("filter"), (b = !_(this.data, "filter"))) + : ((c.filter = d.replace(z, "")), (b = !0))), + b || + (this.xn1 && (c.filter = d = d || "alpha(opacity=" + e + ")"), + -1 === d.indexOf("pacity") + ? (0 === e && this.xn1) || + (c.filter = d + " alpha(opacity=" + e + ")") + : (c.filter = d.replace(x, "opacity=" + e))); + }; + ya("opacity,alpha,autoAlpha", { + defaultValue: "1", + parser: function (a, b, c, d, f, g) { + var h = parseFloat(_(a, "opacity", e, !1, "1")), + i = a.style, + j = "autoAlpha" === c; + return ( + "string" == typeof b && + "=" === b.charAt(1) && + (b = + ("-" === b.charAt(0) ? -1 : 1) * parseFloat(b.substr(2)) + h), + j && + 1 === h && + "hidden" === _(a, "visibility", e) && + 0 !== b && + (h = 0), + U + ? (f = new ta(i, "opacity", h, b - h, f)) + : ((f = new ta(i, "opacity", 100 * h, 100 * (b - h), f)), + (f.xn1 = j ? 1 : 0), + (i.zoom = 1), + (f.type = 2), + (f.b = "alpha(opacity=" + f.s + ")"), + (f.e = "alpha(opacity=" + (f.s + f.c) + ")"), + (f.data = a), + (f.plugin = g), + (f.setRatio = Ua)), + j && + ((f = new ta( + i, + "visibility", + 0, + 0, + f, + -1, + null, + !1, + 0, + 0 !== h ? "inherit" : "hidden", + 0 === b ? "hidden" : "inherit" + )), + (f.xs0 = "inherit"), + d._overwriteProps.push(f.n), + d._overwriteProps.push(c)), + f + ); + }, + }); + var Va = function (a, b) { + b && + (a.removeProperty + ? (("ms" === b.substr(0, 2) || "webkit" === b.substr(0, 6)) && + (b = "-" + b), + a.removeProperty(b.replace(B, "-$1").toLowerCase())) + : a.removeAttribute(b)); + }, + Wa = function (a) { + if (((this.t._gsClassPT = this), 1 === a || 0 === a)) { + this.t.setAttribute("class", 0 === a ? this.b : this.e); + for (var b = this.data, c = this.t.style; b; ) + b.v ? (c[b.p] = b.v) : Va(c, b.p), (b = b._next); + 1 === a && this.t._gsClassPT === this && (this.t._gsClassPT = null); + } else + this.t.getAttribute("class") !== this.e && + this.t.setAttribute("class", this.e); + }; + ya("className", { + parser: function (a, b, d, f, g, h, i) { + var j, + k, + l, + m, + n, + o = a.getAttribute("class") || "", + p = a.style.cssText; + if ( + ((g = f._classNamePT = new ta(a, d, 0, 0, g, 2)), + (g.setRatio = Wa), + (g.pr = -11), + (c = !0), + (g.b = o), + (k = ca(a, e)), + (l = a._gsClassPT)) + ) { + for (m = {}, n = l.data; n; ) (m[n.p] = 1), (n = n._next); + l.setRatio(1); + } + return ( + (a._gsClassPT = g), + (g.e = + "=" !== b.charAt(1) + ? b + : o.replace( + new RegExp("(?:\\s|^)" + b.substr(2) + "(?![\\w-])"), + "" + ) + ("+" === b.charAt(0) ? " " + b.substr(2) : "")), + a.setAttribute("class", g.e), + (j = da(a, k, ca(a), i, m)), + a.setAttribute("class", o), + (g.data = j.firstMPT), + (a.style.cssText = p), + (g = g.xfirst = f.parse(a, j.difs, g, h)) + ); + }, + }); + var Xa = function (a) { + if ( + (1 === a || 0 === a) && + this.data._totalTime === this.data._totalDuration && + "isFromStart" !== this.data.data + ) { + var b, + c, + d, + e, + f, + g = this.t.style, + h = i.transform.parse; + if ("all" === this.e) (g.cssText = ""), (e = !0); + else + for ( + b = this.e.split(" ").join("").split(","), d = b.length; + --d > -1; + + ) + (c = b[d]), + i[c] && + (i[c].parse === h + ? (e = !0) + : (c = "transformOrigin" === c ? Ea : i[c].p)), + Va(g, c); + e && + (Va(g, Ca), + (f = this.t._gsTransform), + f && + (f.svg && + (this.t.removeAttribute("data-svg-origin"), + this.t.removeAttribute("transform")), + delete this.t._gsTransform)); + } + }; + for ( + ya("clearProps", { + parser: function (a, b, d, e, f) { + return ( + (f = new ta(a, d, 0, 0, f, 2)), + (f.setRatio = Xa), + (f.e = b), + (f.pr = -10), + (f.data = e._tween), + (c = !0), + f + ); + }, + }), + j = "bezier,throwProps,physicsProps,physics2D".split(","), + wa = j.length; + wa--; + + ) + za(j[wa]); + (j = g.prototype), + (j._firstPT = j._lastParsedTransform = j._transform = null), + (j._onInitTween = function (a, b, h, j) { + if (!a.nodeType) return !1; + (this._target = q = a), + (this._tween = h), + (this._vars = b), + (r = j), + (k = b.autoRound), + (c = !1), + (d = b.suffixMap || g.suffixMap), + (e = $(a, "")), + (f = this._overwriteProps); + var n, + p, + s, + t, + u, + v, + w, + x, + z, + A = a.style; + if ( + (l && + "" === A.zIndex && + ((n = _(a, "zIndex", e)), + ("auto" === n || "" === n) && this._addLazySet(A, "zIndex", 0)), + "string" == typeof b && + ((t = A.cssText), + (n = ca(a, e)), + (A.cssText = t + ";" + b), + (n = da(a, n, ca(a)).difs), + !U && y.test(b) && (n.opacity = parseFloat(RegExp.$1)), + (b = n), + (A.cssText = t)), + b.className + ? (this._firstPT = p = + i.className.parse( + a, + b.className, + "className", + this, + null, + null, + b + )) + : (this._firstPT = p = this.parse(a, b, null)), + this._transformType) + ) { + for ( + z = 3 === this._transformType, + Ca + ? m && + ((l = !0), + "" === A.zIndex && + ((w = _(a, "zIndex", e)), + ("auto" === w || "" === w) && + this._addLazySet(A, "zIndex", 0)), + o && + this._addLazySet( + A, + "WebkitBackfaceVisibility", + this._vars.WebkitBackfaceVisibility || + (z ? "visible" : "hidden") + )) + : (A.zoom = 1), + s = p; + s && s._next; + + ) + s = s._next; + (x = new ta(a, "transform", 0, 0, null, 2)), + this._linkCSSP(x, null, s), + (x.setRatio = Ca ? Ta : Sa), + (x.data = this._transform || Ra(a, e, !0)), + (x.tween = h), + (x.pr = -1), + f.pop(); + } + if (c) { + for (; p; ) { + for (v = p._next, s = t; s && s.pr > p.pr; ) s = s._next; + (p._prev = s ? s._prev : u) ? (p._prev._next = p) : (t = p), + (p._next = s) ? (s._prev = p) : (u = p), + (p = v); + } + this._firstPT = t; + } + return !0; + }), + (j.parse = function (a, b, c, f) { + var g, + h, + j, + l, + m, + n, + o, + p, + s, + t, + u = a.style; + for (g in b) + (n = b[g]), + "function" == typeof n && (n = n(r, q)), + (h = i[g]), + h + ? (c = h.parse(a, n, g, this, c, f, b)) + : ((m = _(a, g, e) + ""), + (s = "string" == typeof n), + "color" === g || + "fill" === g || + "stroke" === g || + -1 !== g.indexOf("Color") || + (s && A.test(n)) + ? (s || + ((n = na(n)), + (n = + (n.length > 3 ? "rgba(" : "rgb(") + + n.join(",") + + ")")), + (c = va(u, g, m, n, !0, "transparent", c, 0, f))) + : s && J.test(n) + ? (c = va(u, g, m, n, !0, null, c, 0, f)) + : ((j = parseFloat(m)), + (o = j || 0 === j ? m.substr((j + "").length) : ""), + ("" === m || "auto" === m) && + ("width" === g || "height" === g + ? ((j = ga(a, g, e)), (o = "px")) + : "left" === g || "top" === g + ? ((j = ba(a, g, e)), (o = "px")) + : ((j = "opacity" !== g ? 0 : 1), (o = ""))), + (t = s && "=" === n.charAt(1)), + t + ? ((l = parseInt(n.charAt(0) + "1", 10)), + (n = n.substr(2)), + (l *= parseFloat(n)), + (p = n.replace(w, ""))) + : ((l = parseFloat(n)), + (p = s ? n.replace(w, "") : "")), + "" === p && (p = g in d ? d[g] : o), + (n = l || 0 === l ? (t ? l + j : l) + p : b[g]), + o !== p && + "" !== p && + (l || 0 === l) && + j && + ((j = aa(a, g, j, o)), + "%" === p + ? ((j /= aa(a, g, 100, "%") / 100), + b.strictUnits !== !0 && (m = j + "%")) + : "em" === p || + "rem" === p || + "vw" === p || + "vh" === p + ? (j /= aa(a, g, 1, p)) + : "px" !== p && ((l = aa(a, g, l, p)), (p = "px")), + t && (l || 0 === l) && (n = l + j + p)), + t && (l += j), + (!j && 0 !== j) || (!l && 0 !== l) + ? void 0 !== u[g] && + (n || (n + "" != "NaN" && null != n)) + ? ((c = new ta( + u, + g, + l || j || 0, + 0, + c, + -1, + g, + !1, + 0, + m, + n + )), + (c.xs0 = + "none" !== n || + ("display" !== g && -1 === g.indexOf("Style")) + ? n + : m)) + : W("invalid " + g + " tween value: " + b[g]) + : ((c = new ta( + u, + g, + j, + l - j, + c, + 0, + g, + k !== !1 && ("px" === p || "zIndex" === g), + 0, + m, + n + )), + (c.xs0 = p)))), + f && c && !c.plugin && (c.plugin = f); + return c; + }), + (j.setRatio = function (a) { + var b, + c, + d, + e = this._firstPT, + f = 1e-6; + if ( + 1 !== a || + (this._tween._time !== this._tween._duration && + 0 !== this._tween._time) + ) + if ( + a || + (this._tween._time !== this._tween._duration && + 0 !== this._tween._time) || + this._tween._rawPrevTime === -1e-6 + ) + for (; e; ) { + if ( + ((b = e.c * a + e.s), + e.r ? (b = Math.round(b)) : f > b && b > -f && (b = 0), + e.type) + ) + if (1 === e.type) + if (((d = e.l), 2 === d)) + e.t[e.p] = e.xs0 + b + e.xs1 + e.xn1 + e.xs2; + else if (3 === d) + e.t[e.p] = + e.xs0 + b + e.xs1 + e.xn1 + e.xs2 + e.xn2 + e.xs3; + else if (4 === d) + e.t[e.p] = + e.xs0 + + b + + e.xs1 + + e.xn1 + + e.xs2 + + e.xn2 + + e.xs3 + + e.xn3 + + e.xs4; + else if (5 === d) + e.t[e.p] = + e.xs0 + + b + + e.xs1 + + e.xn1 + + e.xs2 + + e.xn2 + + e.xs3 + + e.xn3 + + e.xs4 + + e.xn4 + + e.xs5; + else { + for (c = e.xs0 + b + e.xs1, d = 1; d < e.l; d++) + c += e["xn" + d] + e["xs" + (d + 1)]; + e.t[e.p] = c; + } + else + -1 === e.type + ? (e.t[e.p] = e.xs0) + : e.setRatio && e.setRatio(a); + else e.t[e.p] = b + e.xs0; + e = e._next; + } + else + for (; e; ) + 2 !== e.type ? (e.t[e.p] = e.b) : e.setRatio(a), (e = e._next); + else + for (; e; ) { + if (2 !== e.type) + if (e.r && -1 !== e.type) + if (((b = Math.round(e.s + e.c)), e.type)) { + if (1 === e.type) { + for (d = e.l, c = e.xs0 + b + e.xs1, d = 1; d < e.l; d++) + c += e["xn" + d] + e["xs" + (d + 1)]; + e.t[e.p] = c; + } + } else e.t[e.p] = b + e.xs0; + else e.t[e.p] = e.e; + else e.setRatio(a); + e = e._next; + } + }), + (j._enableTransforms = function (a) { + (this._transform = this._transform || Ra(this._target, e, !0)), + (this._transformType = + (this._transform.svg && Aa) || (!a && 3 !== this._transformType) + ? 2 + : 3); + }); + var Ya = function (a) { + (this.t[this.p] = this.e), + this.data._linkCSSP(this, this._next, null, !0); + }; + (j._addLazySet = function (a, b, c) { + var d = (this._firstPT = new ta(a, b, 0, 0, this._firstPT, 2)); + (d.e = c), (d.setRatio = Ya), (d.data = this); + }), + (j._linkCSSP = function (a, b, c, d) { + return ( + a && + (b && (b._prev = a), + a._next && (a._next._prev = a._prev), + a._prev + ? (a._prev._next = a._next) + : this._firstPT === a && ((this._firstPT = a._next), (d = !0)), + c + ? (c._next = a) + : d || null !== this._firstPT || (this._firstPT = a), + (a._next = b), + (a._prev = c)), + a + ); + }), + (j._mod = function (a) { + for (var b = this._firstPT; b; ) + "function" == typeof a[b.p] && a[b.p] === Math.round && (b.r = 1), + (b = b._next); + }), + (j._kill = function (b) { + var c, + d, + e, + f = b; + if (b.autoAlpha || b.alpha) { + f = {}; + for (d in b) f[d] = b[d]; + (f.opacity = 1), f.autoAlpha && (f.visibility = 1); + } + for ( + b.className && + (c = this._classNamePT) && + ((e = c.xfirst), + e && e._prev + ? this._linkCSSP(e._prev, c._next, e._prev._prev) + : e === this._firstPT && (this._firstPT = c._next), + c._next && this._linkCSSP(c._next, c._next._next, e._prev), + (this._classNamePT = null)), + c = this._firstPT; + c; + + ) + c.plugin && + c.plugin !== d && + c.plugin._kill && + (c.plugin._kill(b), (d = c.plugin)), + (c = c._next); + return a.prototype._kill.call(this, f); + }); + var Za = function (a, b, c) { + var d, e, f, g; + if (a.slice) for (e = a.length; --e > -1; ) Za(a[e], b, c); + else + for (d = a.childNodes, e = d.length; --e > -1; ) + (f = d[e]), + (g = f.type), + f.style && (b.push(ca(f)), c && c.push(f)), + (1 !== g && 9 !== g && 11 !== g) || + !f.childNodes.length || + Za(f, b, c); + }; + return ( + (g.cascadeTo = function (a, c, d) { + var e, + f, + g, + h, + i = b.to(a, c, d), + j = [i], + k = [], + l = [], + m = [], + n = b._internals.reservedProps; + for ( + a = i._targets || i.target, + Za(a, k, m), + i.render(c, !0, !0), + Za(a, l), + i.render(0, !0, !0), + i._enabled(!0), + e = m.length; + --e > -1; + + ) + if (((f = da(m[e], k[e], l[e])), f.firstMPT)) { + f = f.difs; + for (g in d) n[g] && (f[g] = d[g]); + h = {}; + for (g in f) h[g] = k[e][g]; + j.push(b.fromTo(m[e], c, h, f)); + } + return j; + }), + a.activate([g]), + g + ); + }, + !0 + ); +}), + _gsScope._gsDefine && _gsScope._gsQueue.pop()(), + (function (a) { + "use strict"; + var b = function () { + return (_gsScope.GreenSockGlobals || _gsScope)[a]; + }; + "function" == typeof define && define.amd + ? define(["TweenLite"], b) + : "undefined" != typeof module && + module.exports && + (require("../TweenLite.js"), (module.exports = b())); + })("CSSPlugin"); + +/* SPLIT TEXT UTIL */ +/*! + * VERSION: 0.5.6 + * DATE: 2017-01-17 + * UPDATES AND DOCS AT: http://greensock.com + * + * @license Copyright (c) 2008-2017, GreenSock. All rights reserved. + * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use + * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details. + * This work is subject to the software agreement that was issued with your membership. + * + * @author: Jack Doyle, jack@greensock.com + */ +var _gsScope = + "undefined" != typeof module && module.exports && "undefined" != typeof global + ? global + : this || window; +!(function (a) { + "use strict"; + var b = a.GreenSockGlobals || a, + c = function (a) { + var c, + d = a.split("."), + e = b; + for (c = 0; c < d.length; c++) e[d[c]] = e = e[d[c]] || {}; + return e; + }, + d = c("com.greensock.utils"), + e = function (a) { + var b = a.nodeType, + c = ""; + if (1 === b || 9 === b || 11 === b) { + if ("string" == typeof a.textContent) return a.textContent; + for (a = a.firstChild; a; a = a.nextSibling) c += e(a); + } else if (3 === b || 4 === b) return a.nodeValue; + return c; + }, + f = document, + g = f.defaultView ? f.defaultView.getComputedStyle : function () {}, + h = /([A-Z])/g, + i = function (a, b, c, d) { + var e; + return ( + (c = c || g(a, null)) + ? ((a = c.getPropertyValue(b.replace(h, "-$1").toLowerCase())), + (e = a || c.length ? a : c[b])) + : a.currentStyle && ((c = a.currentStyle), (e = c[b])), + d ? e : parseInt(e, 10) || 0 + ); + }, + j = function (a) { + return a.length && + a[0] && + ((a[0].nodeType && a[0].style && !a.nodeType) || + (a[0].length && a[0][0])) + ? !0 + : !1; + }, + k = function (a) { + var b, + c, + d, + e = [], + f = a.length; + for (b = 0; f > b; b++) + if (((c = a[b]), j(c))) + for (d = c.length, d = 0; d < c.length; d++) e.push(c[d]); + else e.push(c); + return e; + }, + l = /(?:\r|\n|\t\t)/g, + m = /(?:\s\s+)/g, + n = 55296, + o = 56319, + p = 56320, + q = 127462, + r = 127487, + s = 127995, + t = 127999, + u = function (a) { + return ((a.charCodeAt(0) - n) << 10) + (a.charCodeAt(1) - p) + 65536; + }, + v = f.all && !f.addEventListener, + w = + " style='position:relative;display:inline-block;" + + (v ? "*display:inline;*zoom:1;'" : "'"), + x = function (a, b) { + a = a || ""; + var c = -1 !== a.indexOf("++"), + d = 1; + return ( + c && (a = a.split("++").join("")), + function () { + return ( + "<" + b + w + (a ? " class='" + a + (c ? d++ : "") + "'>" : ">") + ); + } + ); + }, + y = + (d.SplitText = + b.SplitText = + function (a, b) { + if (("string" == typeof a && (a = y.selector(a)), !a)) + throw "cannot split a null element."; + (this.elements = j(a) ? k(a) : [a]), + (this.chars = []), + (this.words = []), + (this.lines = []), + (this._originals = []), + (this.vars = b || {}), + this.split(b); + }), + z = function (a, b, c) { + var d = a.nodeType; + if (1 === d || 9 === d || 11 === d) + for (a = a.firstChild; a; a = a.nextSibling) z(a, b, c); + else (3 === d || 4 === d) && (a.nodeValue = a.nodeValue.split(b).join(c)); + }, + A = function (a, b) { + for (var c = b.length; --c > -1; ) a.push(b[c]); + }, + B = function (a) { + var b, + c = [], + d = a.length; + for (b = 0; b !== d; c.push(a[b++])); + return c; + }, + C = function (a, b, c) { + for (var d; a && a !== b; ) { + if ((d = a._next || a.nextSibling)) + return d.textContent.charAt(0) === c; + a = a.parentNode || a._parent; + } + return !1; + }, + D = function (a) { + var b, + c, + d = B(a.childNodes), + e = d.length; + for (b = 0; e > b; b++) + (c = d[b]), + c._isSplit + ? D(c) + : (b && 3 === c.previousSibling.nodeType + ? (c.previousSibling.nodeValue += + 3 === c.nodeType ? c.nodeValue : c.firstChild.nodeValue) + : 3 !== c.nodeType && a.insertBefore(c.firstChild, c), + a.removeChild(c)); + }, + E = function (a, b, c, d, e, h, j) { + var k, + l, + m, + n, + o, + p, + q, + r, + s, + t, + u, + v, + w = g(a), + x = i(a, "paddingLeft", w), + y = -999, + B = i(a, "borderBottomWidth", w) + i(a, "borderTopWidth", w), + E = i(a, "borderLeftWidth", w) + i(a, "borderRightWidth", w), + F = i(a, "paddingTop", w) + i(a, "paddingBottom", w), + G = i(a, "paddingLeft", w) + i(a, "paddingRight", w), + H = 0.2 * i(a, "fontSize"), + I = i(a, "textAlign", w, !0), + J = [], + K = [], + L = [], + M = b.wordDelimiter || " ", + N = b.span ? "span" : "div", + O = b.type || b.split || "chars,words,lines", + P = e && -1 !== O.indexOf("lines") ? [] : null, + Q = -1 !== O.indexOf("words"), + R = -1 !== O.indexOf("chars"), + S = "absolute" === b.position || b.absolute === !0, + T = b.linesClass, + U = -1 !== (T || "").indexOf("++"), + V = []; + for ( + P && + 1 === a.children.length && + a.children[0]._isSplit && + (a = a.children[0]), + U && (T = T.split("++").join("")), + l = a.getElementsByTagName("*"), + m = l.length, + o = [], + k = 0; + m > k; + k++ + ) + o[k] = l[k]; + if (P || S) + for (k = 0; m > k; k++) + (n = o[k]), + (p = n.parentNode === a), + (p || S || (R && !Q)) && + ((v = n.offsetTop), + P && + p && + Math.abs(v - y) > H && + "BR" !== n.nodeName && + ((q = []), P.push(q), (y = v)), + S && + ((n._x = n.offsetLeft), + (n._y = v), + (n._w = n.offsetWidth), + (n._h = n.offsetHeight)), + P && + (((n._isSplit && p) || + (!R && p) || + (Q && p) || + (!Q && + n.parentNode.parentNode === a && + !n.parentNode._isSplit)) && + (q.push(n), (n._x -= x), C(n, a, M) && (n._wordEnd = !0)), + "BR" === n.nodeName && + n.nextSibling && + "BR" === n.nextSibling.nodeName && + P.push([]))); + for (k = 0; m > k; k++) + (n = o[k]), + (p = n.parentNode === a), + "BR" !== n.nodeName + ? (S && + ((s = n.style), + Q || + p || + ((n._x += n.parentNode._x), (n._y += n.parentNode._y)), + (s.left = n._x + "px"), + (s.top = n._y + "px"), + (s.position = "absolute"), + (s.display = "block"), + (s.width = n._w + 1 + "px"), + (s.height = n._h + "px")), + !Q && R + ? n._isSplit + ? ((n._next = n.nextSibling), n.parentNode.appendChild(n)) + : n.parentNode._isSplit + ? ((n._parent = n.parentNode), + !n.previousSibling && + n.firstChild && + (n.firstChild._isFirst = !0), + n.nextSibling && + " " === n.nextSibling.textContent && + !n.nextSibling.nextSibling && + V.push(n.nextSibling), + (n._next = + n.nextSibling && n.nextSibling._isFirst + ? null + : n.nextSibling), + n.parentNode.removeChild(n), + o.splice(k--, 1), + m--) + : p || + ((v = !n.nextSibling && C(n.parentNode, a, M)), + n.parentNode._parent && n.parentNode._parent.appendChild(n), + v && n.parentNode.appendChild(f.createTextNode(" ")), + b.span && (n.style.display = "inline"), + J.push(n)) + : n.parentNode._isSplit && !n._isSplit && "" !== n.innerHTML + ? K.push(n) + : R && + !n._isSplit && + (b.span && (n.style.display = "inline"), J.push(n))) + : P || S + ? (n.parentNode && n.parentNode.removeChild(n), + o.splice(k--, 1), + m--) + : Q || a.appendChild(n); + for (k = V.length; --k > -1; ) V[k].parentNode.removeChild(V[k]); + if (P) { + for ( + S && + ((t = f.createElement(N)), + a.appendChild(t), + (u = t.offsetWidth + "px"), + (v = t.offsetParent === a ? 0 : a.offsetLeft), + a.removeChild(t)), + s = a.style.cssText, + a.style.cssText = "display:none;"; + a.firstChild; + + ) + a.removeChild(a.firstChild); + for (r = " " === M && (!S || (!Q && !R)), k = 0; k < P.length; k++) { + for ( + q = P[k], + t = f.createElement(N), + t.style.cssText = + "display:block;text-align:" + + I + + ";position:" + + (S ? "absolute;" : "relative;"), + T && (t.className = T + (U ? k + 1 : "")), + L.push(t), + m = q.length, + l = 0; + m > l; + l++ + ) + "BR" !== q[l].nodeName && + ((n = q[l]), + t.appendChild(n), + r && n._wordEnd && t.appendChild(f.createTextNode(" ")), + S && + (0 === l && + ((t.style.top = n._y + "px"), (t.style.left = x + v + "px")), + (n.style.top = "0px"), + v && (n.style.left = n._x - v + "px"))); + 0 === m + ? (t.innerHTML = " ") + : Q || R || (D(t), z(t, String.fromCharCode(160), " ")), + S && ((t.style.width = u), (t.style.height = n._h + "px")), + a.appendChild(t); + } + a.style.cssText = s; + } + S && + (j > a.clientHeight && + ((a.style.height = j - F + "px"), + a.clientHeight < j && (a.style.height = j + B + "px")), + h > a.clientWidth && + ((a.style.width = h - G + "px"), + a.clientWidth < h && (a.style.width = h + E + "px"))), + A(c, J), + A(d, K), + A(e, L); + }, + F = function (a, b, c, d) { + var g, + h, + i, + j, + k, + p, + v, + w, + x, + y = b.span ? "span" : "div", + A = b.type || b.split || "chars,words,lines", + B = (-1 !== A.indexOf("words"), -1 !== A.indexOf("chars")), + C = "absolute" === b.position || b.absolute === !0, + D = b.wordDelimiter || " ", + E = " " !== D ? "" : C ? "­ " : " ", + F = b.span ? "" : "
", + G = !0, + H = f.createElement("div"), + I = a.parentNode; + for ( + I.insertBefore(H, a), + H.textContent = a.nodeValue, + I.removeChild(a), + a = H, + g = e(a), + v = -1 !== g.indexOf("<"), + b.reduceWhiteSpace !== !1 && (g = g.replace(m, " ").replace(l, "")), + v && (g = g.split("<").join("{{LT}}")), + k = g.length, + h = (" " === g.charAt(0) ? E : "") + c(), + i = 0; + k > i; + i++ + ) + if (((p = g.charAt(i)), p === D && g.charAt(i - 1) !== D && i)) { + for (h += G ? F : "", G = !1; g.charAt(i + 1) === D; ) (h += E), i++; + i === k - 1 + ? (h += E) + : ")" !== g.charAt(i + 1) && ((h += E + c()), (G = !0)); + } else + "{" === p && "{{LT}}" === g.substr(i, 6) + ? ((h += B ? d() + "{{LT}}" : "{{LT}}"), (i += 5)) + : (p.charCodeAt(0) >= n && p.charCodeAt(0) <= o) || + (g.charCodeAt(i + 1) >= 65024 && g.charCodeAt(i + 1) <= 65039) + ? ((w = u(g.substr(i, 2))), + (x = u(g.substr(i + 2, 2))), + (j = + (w >= q && r >= w && x >= q && r >= x) || (x >= s && t >= x) + ? 4 + : 2), + (h += + B && " " !== p + ? d() + g.substr(i, j) + "" + : g.substr(i, j)), + (i += j - 1)) + : (h += B && " " !== p ? d() + p + "" : p); + (a.outerHTML = h + (G ? F : "")), v && z(I, "{{LT}}", "<"); + }, + G = function (a, b, c, d) { + var e, + f, + g = B(a.childNodes), + h = g.length, + j = "absolute" === b.position || b.absolute === !0; + if (3 !== a.nodeType || h > 1) { + for (b.absolute = !1, e = 0; h > e; e++) + (f = g[e]), + (3 !== f.nodeType || /\S+/.test(f.nodeValue)) && + (j && + 3 !== f.nodeType && + "inline" === i(f, "display", null, !0) && + ((f.style.display = "inline-block"), + (f.style.position = "relative")), + (f._isSplit = !0), + G(f, b, c, d)); + return (b.absolute = j), void (a._isSplit = !0); + } + F(a, b, c, d); + }, + H = y.prototype; + (H.split = function (a) { + this.isSplit && this.revert(), + (this.vars = a = a || this.vars), + (this._originals.length = + this.chars.length = + this.words.length = + this.lines.length = + 0); + for ( + var b, + c, + d, + e = this.elements.length, + f = a.span ? "span" : "div", + g = + ("absolute" === a.position || a.absolute === !0, x(a.wordsClass, f)), + h = x(a.charsClass, f); + --e > -1; + + ) + (d = this.elements[e]), + (this._originals[e] = d.innerHTML), + (b = d.clientHeight), + (c = d.clientWidth), + G(d, a, g, h), + E(d, a, this.chars, this.words, this.lines, c, b); + return ( + this.chars.reverse(), + this.words.reverse(), + this.lines.reverse(), + (this.isSplit = !0), + this + ); + }), + (H.revert = function () { + if (!this._originals) throw "revert() call wasn't scoped properly."; + for (var a = this._originals.length; --a > -1; ) + this.elements[a].innerHTML = this._originals[a]; + return ( + (this.chars = []), + (this.words = []), + (this.lines = []), + (this.isSplit = !1), + this + ); + }), + (y.selector = + a.$ || + a.jQuery || + function (b) { + var c = a.$ || a.jQuery; + return c + ? ((y.selector = c), c(b)) + : "undefined" == typeof document + ? b + : document.querySelectorAll + ? document.querySelectorAll(b) + : document.getElementById("#" === b.charAt(0) ? b.substr(1) : b); + }), + (y.version = "0.5.6"); +})(_gsScope), + (function (a) { + "use strict"; + var b = function () { + return (_gsScope.GreenSockGlobals || _gsScope)[a]; + }; + "function" == typeof define && define.amd + ? define([], b) + : "undefined" != typeof module && + module.exports && + (module.exports = b()); + })("SplitText"); + +try { + window.GreenSockGlobals = null; + window._gsQueue = null; + window._gsDefine = null; + + delete window.GreenSockGlobals; + delete window._gsQueue; + delete window._gsDefine; +} catch (e) {} + +try { + window.GreenSockGlobals = oldgs; + window._gsQueue = oldgs_queue; +} catch (e) {} + +if (window.tplogs == true) + try { + console.groupEnd(); + } catch (e) {} + +(function (e, t) { + e.waitForImages = { + hasImageProperties: [ + "backgroundImage", + "listStyleImage", + "borderImage", + "borderCornerImage", + ], + }; + e.expr[":"].uncached = function (t) { + var n = document.createElement("img"); + n.src = t.src; + return e(t).is('img[src!=""]') && !n.complete; + }; + e.fn.waitForImages = function (t, n, r) { + if (e.isPlainObject(arguments[0])) { + n = t.each; + r = t.waitForAll; + t = t.finished; + } + t = t || e.noop; + n = n || e.noop; + r = !!r; + if (!e.isFunction(t) || !e.isFunction(n)) { + throw new TypeError("An invalid callback was supplied."); + } + return this.each(function () { + var i = e(this), + s = []; + if (r) { + var o = e.waitForImages.hasImageProperties || [], + u = /url\((['"]?)(.*?)\1\)/g; + i.find("*").each(function () { + var t = e(this); + if (t.is("img:uncached")) { + s.push({ src: t.attr("src"), element: t[0] }); + } + e.each(o, function (e, n) { + var r = t.css(n); + if (!r) { + return true; + } + var i; + while ((i = u.exec(r))) { + s.push({ src: i[2], element: t[0] }); + } + }); + }); + } else { + i.find("img:uncached").each(function () { + s.push({ src: this.src, element: this }); + }); + } + var f = s.length, + l = 0; + if (f == 0) { + t.call(i[0]); + } + e.each(s, function (r, s) { + var o = new Image(); + e(o).bind("load error", function (e) { + l++; + n.call(s.element, l, f, e.type == "load"); + if (l == f) { + t.call(i[0]); + return false; + } + }); + o.src = s.src; + }); + }); + }; +})(jQuery); diff --git a/resources/views/landing.blade.php b/resources/views/landing.blade.php new file mode 100644 index 0000000..af760f4 --- /dev/null +++ b/resources/views/landing.blade.php @@ -0,0 +1,2832 @@ + + + + + + + + Markethon - Digital Marketing Agency Responsive HTML5 Template + + + + + + + + + + + + + + +
+
+ loder +
+
+ + +
+
+
+
+
+ +
+
+ +
+
+
+
+ + + +
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
+ +
+
+

+ Best Digital Marketing Solution +

+

+ Progravida nibh vel velit auctor alinean sollicitudin, lorem + quis bibendum auctor, nisi elit consequat ipsum,Lorem + Ipsum.lorem quis bibendum auctor. +

+
    +
  • Simply dummy text of the Lorem Ipsum is printing.
  • +
  • Dummy text of the printing and typesetting industry.
  • +
  • Text of the printing and typesetting industry.
  • +
  • Ipsum has been the industry's standard dummy.
  • +
+
+
+
+
+ + +
+
+
+
+ +
+
+

Why Choose Us

+

+ Progravida nibh vel velit auctor alinean sollicitudin, lorem + quis bibendum auctor, nisi elit consequat ipsum. +

+
    +
  • +
    +
    + +
    +
    +
    + Data Analysis +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
  • +
    +
    + +
    +
    +
    + PPC Marketing +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
  • +
    +
    + +
    +
    +
    + Business Analytics +
    +

    + Progravida nibh vel velit auctor alinean sollicitudin, + lorem quis bibendum auctor +

    +
    +
    +
  • +
+
+
+
+
+ image +
+
+ + + +
+
+
+
+
+

Features

+

Our Special Features

+
+
+
+
+
+
+
+
+ Data Analysis +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+
+ PPC Marketing +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+
+ Business Analytics +
+

+ It is a long established fact that a reader +

+
+
+ +
+
+
+
+ image +
+
+
+
+ +
+
+
+ Social Marketing +
+

+ It is a long established fact that a reader +

+
+
+
+
+ +
+
+
+ Business Analytics +
+

+ It is a long established fact that a reader +

+
+
+
+
+ +
+
+
+ Research +
+

+ It is a long established fact that a reader +

+
+
+
+
+
+
+ image +
+
+ + +
+
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+

+ Meet the team +

+

Our Best Team

+
+
+
+
+
+
+
+ image +
+
+ +
+
+ Marie Mart +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Kips Leo +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Glen Jax +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ image +
+
+ +
+
+ Nik Jorden +
+ Web Designer +
+
+
+

+ Progravida nibh vel velit auctor alinean sollicitudin nisi + elit consequat ipsum. +

+
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+
+
+
+
+
+ + +
+
+
+
+

Check What's Our Client Say

+

+ Progravida nibh vel velit auctor alinean sollicitudin. +

+
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+

Our Pricing

+

Our Popular Pricing Plans

+
+
+
+
+
+ +
+
+
+
+
+
+
Start Up
+

$19.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Professional
+

$29.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Advanced
+

$45.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
+
+
+
+
Start Up
+

$9.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Professional
+

$29.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
Advanced
+

$49.99

+
+
    +
  • + Email Marketing +
  • +
  • + Content Marketing +
  • +
  • + Voice Optimize +
  • +
  • + SEO Consulting +
  • +
  • + Video Marketing +
  • +
  • + Advertising +
  • +
+ +
Purchase
+
Purchase
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+

Latest Articles

+

Our Stories Post

+
+
+
+
+
+
+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/routes/web.php b/routes/web.php index f78ab61..1063603 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2,14 +2,14 @@ use Illuminate\Support\Facades\Route; use App\Http\Controllers\CurasController; +use App\Http\Controllers\KmeansController; use App\Http\Controllers\KlasterController; use App\Http\Controllers\CuranmorController; -use App\Http\Controllers\curasKmeansController; -use App\Http\Controllers\hasilIterasiController; use App\Http\Controllers\KecamatanController; +use App\Http\Controllers\hasilIterasiController; Route::get('/', function () { - return view('admin.login'); + return view('landing'); }); Route::get('/dashboard', function () { @@ -29,5 +29,6 @@ Route::resource('/curas', CurasController::class); Route::resource('/curanmor', CuranmorController::class) ->parameters(['data-curanmor' => 'curanmor']); Route::resource('/klaster', KlasterController::class) ->parameters(['data-klaster' => 'klaster']); -Route::get('/hitung-kmeans', [curasKmeansController::class, 'hitungKMeans']); +Route::get('/kmeans-curas', [KmeansController::class, 'KMeansCuras']); +Route::get('/kmeans-curanmor', [KmeansController::class, 'KMeansCuranmor']); Route::get('/iterasiCuras', [hasilIterasiController::class, 'iterasiCuras']);